v1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterPolicyInformer

func NewClusterPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewClusterPolicyInformer constructs a new informer for ClusterPolicy 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 NewClusterPolicyViolationInformer

func NewClusterPolicyViolationInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewClusterPolicyViolationInformer constructs a new informer for ClusterPolicyViolation 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 NewFilteredClusterPolicyInformer

func NewFilteredClusterPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredClusterPolicyInformer constructs a new informer for ClusterPolicy 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 NewFilteredClusterPolicyViolationInformer

func NewFilteredClusterPolicyViolationInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredClusterPolicyViolationInformer constructs a new informer for ClusterPolicyViolation 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 NewFilteredNamespacedPolicyViolationInformer

func NewFilteredNamespacedPolicyViolationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredNamespacedPolicyViolationInformer constructs a new informer for NamespacedPolicyViolation 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 NewNamespacedPolicyViolationInformer

func NewNamespacedPolicyViolationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewNamespacedPolicyViolationInformer constructs a new informer for NamespacedPolicyViolation 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 ClusterPolicyInformer

type ClusterPolicyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.ClusterPolicyLister
}

ClusterPolicyInformer provides access to a shared informer and lister for ClusterPolicies.

type ClusterPolicyViolationInformer

type ClusterPolicyViolationInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.ClusterPolicyViolationLister
}

ClusterPolicyViolationInformer provides access to a shared informer and lister for ClusterPolicyViolations.

type Interface

type Interface interface {
	// ClusterPolicies returns a ClusterPolicyInformer.
	ClusterPolicies() ClusterPolicyInformer
	// ClusterPolicyViolations returns a ClusterPolicyViolationInformer.
	ClusterPolicyViolations() ClusterPolicyViolationInformer
	// NamespacedPolicyViolations returns a NamespacedPolicyViolationInformer.
	NamespacedPolicyViolations() NamespacedPolicyViolationInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type NamespacedPolicyViolationInformer

type NamespacedPolicyViolationInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.NamespacedPolicyViolationLister
}

NamespacedPolicyViolationInformer provides access to a shared informer and lister for NamespacedPolicyViolations.

Jump to

Keyboard shortcuts

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