Documentation ¶
Index ¶
- func NewCasbinModelInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewCasbinPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredCasbinModelInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredCasbinPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type CasbinModelInformer
- type CasbinPolicyInformer
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCasbinModelInformer ¶
func NewCasbinModelInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewCasbinModelInformer constructs a new informer for CasbinModel type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewCasbinPolicyInformer ¶
func NewCasbinPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewCasbinPolicyInformer constructs a new informer for CasbinPolicy type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewFilteredCasbinModelInformer ¶
func NewFilteredCasbinModelInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredCasbinModelInformer constructs a new informer for CasbinModel type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewFilteredCasbinPolicyInformer ¶
func NewFilteredCasbinPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredCasbinPolicyInformer constructs a new informer for CasbinPolicy type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
Types ¶
type CasbinModelInformer ¶
type CasbinModelInformer interface { Informer() cache.SharedIndexInformer Lister() v1.CasbinModelLister }
CasbinModelInformer provides access to a shared informer and lister for CasbinModels.
type CasbinPolicyInformer ¶
type CasbinPolicyInformer interface { Informer() cache.SharedIndexInformer Lister() v1.CasbinPolicyLister }
CasbinPolicyInformer provides access to a shared informer and lister for CasbinPolicies.
type Interface ¶
type Interface interface { // CasbinModels returns a CasbinModelInformer. CasbinModels() CasbinModelInformer // CasbinPolicies returns a CasbinPolicyInformer. CasbinPolicies() CasbinPolicyInformer }
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.