v1

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

New returns a new Interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL