github.com/nginxinc/kubernetes-ingress@v1.12.5/pkg/client/informers/externalversions/configuration/v1alpha1/interface.go (about)

     1  // Code generated by informer-gen. DO NOT EDIT.
     2  
     3  package v1alpha1
     4  
     5  import (
     6  	internalinterfaces "github.com/nginxinc/kubernetes-ingress/pkg/client/informers/externalversions/internalinterfaces"
     7  )
     8  
     9  // Interface provides access to all the informers in this group version.
    10  type Interface interface {
    11  	// GlobalConfigurations returns a GlobalConfigurationInformer.
    12  	GlobalConfigurations() GlobalConfigurationInformer
    13  	// TransportServers returns a TransportServerInformer.
    14  	TransportServers() TransportServerInformer
    15  }
    16  
    17  type version struct {
    18  	factory          internalinterfaces.SharedInformerFactory
    19  	namespace        string
    20  	tweakListOptions internalinterfaces.TweakListOptionsFunc
    21  }
    22  
    23  // New returns a new Interface.
    24  func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
    25  	return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
    26  }
    27  
    28  // GlobalConfigurations returns a GlobalConfigurationInformer.
    29  func (v *version) GlobalConfigurations() GlobalConfigurationInformer {
    30  	return &globalConfigurationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    31  }
    32  
    33  // TransportServers returns a TransportServerInformer.
    34  func (v *version) TransportServers() TransportServerInformer {
    35  	return &transportServerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    36  }