github.com/verrazzano/verrazzano-monitoring-operator@v0.0.30/pkg/client/informers/externalversions/vmcontroller/interface.go (about)

     1  // Copyright (c) 2020, 2022, Oracle and/or its affiliates.
     2  // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  // Code generated by informer-gen. DO NOT EDIT.
     5  
     6  package vmcontroller
     7  
     8  import (
     9  	internalinterfaces "github.com/verrazzano/verrazzano-monitoring-operator/pkg/client/informers/externalversions/internalinterfaces"
    10  	v1 "github.com/verrazzano/verrazzano-monitoring-operator/pkg/client/informers/externalversions/vmcontroller/v1"
    11  )
    12  
    13  // Interface provides access to each of this group's versions.
    14  type Interface interface {
    15  	// V1 provides access to shared informers for resources in V1.
    16  	V1() v1.Interface
    17  }
    18  
    19  type group struct {
    20  	factory          internalinterfaces.SharedInformerFactory
    21  	namespace        string
    22  	tweakListOptions internalinterfaces.TweakListOptionsFunc
    23  }
    24  
    25  // New returns a new Interface.
    26  func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
    27  	return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
    28  }
    29  
    30  // V1 returns a new v1.Interface.
    31  func (g *group) V1() v1.Interface {
    32  	return v1.New(g.factory, g.namespace, g.tweakListOptions)
    33  }