k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/pkg/generated/informers/externalversions/apps.kubermatic/interface.go (about)

     1  // Code generated by informer-gen. DO NOT EDIT.
     2  
     3  package apps
     4  
     5  import (
     6  	v1 "k8c.io/api/v3/pkg/generated/informers/externalversions/apps.kubermatic/v1"
     7  	internalinterfaces "k8c.io/api/v3/pkg/generated/informers/externalversions/internalinterfaces"
     8  )
     9  
    10  // Interface provides access to each of this group's versions.
    11  type Interface interface {
    12  	// V1 provides access to shared informers for resources in V1.
    13  	V1() v1.Interface
    14  }
    15  
    16  type group struct {
    17  	factory          internalinterfaces.SharedInformerFactory
    18  	namespace        string
    19  	tweakListOptions internalinterfaces.TweakListOptionsFunc
    20  }
    21  
    22  // New returns a new Interface.
    23  func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
    24  	return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
    25  }
    26  
    27  // V1 returns a new v1.Interface.
    28  func (g *group) V1() v1.Interface {
    29  	return v1.New(g.factory, g.namespace, g.tweakListOptions)
    30  }