github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/pkg/client/informers/externalversions/apps/v1alpha1/interface.go (about)

     1  /*
     2  Copyright (C) 2022-2023 ApeCloud Co., Ltd
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  // Code generated by informer-gen. DO NOT EDIT.
    18  
    19  package v1alpha1
    20  
    21  import (
    22  	internalinterfaces "github.com/1aal/kubeblocks/pkg/client/informers/externalversions/internalinterfaces"
    23  )
    24  
    25  // Interface provides access to all the informers in this group version.
    26  type Interface interface {
    27  	// BackupPolicyTemplates returns a BackupPolicyTemplateInformer.
    28  	BackupPolicyTemplates() BackupPolicyTemplateInformer
    29  	// Clusters returns a ClusterInformer.
    30  	Clusters() ClusterInformer
    31  	// ClusterDefinitions returns a ClusterDefinitionInformer.
    32  	ClusterDefinitions() ClusterDefinitionInformer
    33  	// ClusterVersions returns a ClusterVersionInformer.
    34  	ClusterVersions() ClusterVersionInformer
    35  	// ComponentClassDefinitions returns a ComponentClassDefinitionInformer.
    36  	ComponentClassDefinitions() ComponentClassDefinitionInformer
    37  	// ComponentResourceConstraints returns a ComponentResourceConstraintInformer.
    38  	ComponentResourceConstraints() ComponentResourceConstraintInformer
    39  	// ConfigConstraints returns a ConfigConstraintInformer.
    40  	ConfigConstraints() ConfigConstraintInformer
    41  	// OpsRequests returns a OpsRequestInformer.
    42  	OpsRequests() OpsRequestInformer
    43  	// ServiceDescriptors returns a ServiceDescriptorInformer.
    44  	ServiceDescriptors() ServiceDescriptorInformer
    45  }
    46  
    47  type version struct {
    48  	factory          internalinterfaces.SharedInformerFactory
    49  	namespace        string
    50  	tweakListOptions internalinterfaces.TweakListOptionsFunc
    51  }
    52  
    53  // New returns a new Interface.
    54  func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
    55  	return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
    56  }
    57  
    58  // BackupPolicyTemplates returns a BackupPolicyTemplateInformer.
    59  func (v *version) BackupPolicyTemplates() BackupPolicyTemplateInformer {
    60  	return &backupPolicyTemplateInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
    61  }
    62  
    63  // Clusters returns a ClusterInformer.
    64  func (v *version) Clusters() ClusterInformer {
    65  	return &clusterInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    66  }
    67  
    68  // ClusterDefinitions returns a ClusterDefinitionInformer.
    69  func (v *version) ClusterDefinitions() ClusterDefinitionInformer {
    70  	return &clusterDefinitionInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
    71  }
    72  
    73  // ClusterVersions returns a ClusterVersionInformer.
    74  func (v *version) ClusterVersions() ClusterVersionInformer {
    75  	return &clusterVersionInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
    76  }
    77  
    78  // ComponentClassDefinitions returns a ComponentClassDefinitionInformer.
    79  func (v *version) ComponentClassDefinitions() ComponentClassDefinitionInformer {
    80  	return &componentClassDefinitionInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
    81  }
    82  
    83  // ComponentResourceConstraints returns a ComponentResourceConstraintInformer.
    84  func (v *version) ComponentResourceConstraints() ComponentResourceConstraintInformer {
    85  	return &componentResourceConstraintInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
    86  }
    87  
    88  // ConfigConstraints returns a ConfigConstraintInformer.
    89  func (v *version) ConfigConstraints() ConfigConstraintInformer {
    90  	return &configConstraintInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
    91  }
    92  
    93  // OpsRequests returns a OpsRequestInformer.
    94  func (v *version) OpsRequests() OpsRequestInformer {
    95  	return &opsRequestInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    96  }
    97  
    98  // ServiceDescriptors returns a ServiceDescriptorInformer.
    99  func (v *version) ServiceDescriptors() ServiceDescriptorInformer {
   100  	return &serviceDescriptorInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
   101  }