v1

package
v1.13.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterPolicyLister

type ClusterPolicyLister interface {
	// List lists all ClusterPolicies in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.ClusterPolicy, err error)
	// Get retrieves the ClusterPolicy from the index for a given name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1.ClusterPolicy, error)
	ClusterPolicyListerExpansion
}

ClusterPolicyLister helps list ClusterPolicies. All objects returned here must be treated as read-only.

func NewClusterPolicyLister

func NewClusterPolicyLister(indexer cache.Indexer) ClusterPolicyLister

NewClusterPolicyLister returns a new ClusterPolicyLister.

type ClusterPolicyListerExpansion

type ClusterPolicyListerExpansion interface{}

ClusterPolicyListerExpansion allows custom methods to be added to ClusterPolicyLister.

type PolicyLister added in v1.2.0

type PolicyLister interface {
	// List lists all Policies in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.Policy, err error)
	// Policies returns an object that can list and get Policies.
	Policies(namespace string) PolicyNamespaceLister
	PolicyListerExpansion
}

PolicyLister helps list Policies. All objects returned here must be treated as read-only.

func NewPolicyLister added in v1.2.0

func NewPolicyLister(indexer cache.Indexer) PolicyLister

NewPolicyLister returns a new PolicyLister.

type PolicyListerExpansion added in v1.2.0

type PolicyListerExpansion interface{}

PolicyListerExpansion allows custom methods to be added to PolicyLister.

type PolicyNamespaceLister added in v1.2.0

type PolicyNamespaceLister interface {
	// List lists all Policies in the indexer for a given namespace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.Policy, err error)
	// Get retrieves the Policy from the indexer for a given namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1.Policy, error)
	PolicyNamespaceListerExpansion
}

PolicyNamespaceLister helps list and get Policies. All objects returned here must be treated as read-only.

type PolicyNamespaceListerExpansion added in v1.3.0

type PolicyNamespaceListerExpansion interface{}

PolicyNamespaceListerExpansion allows custom methods to be added to PolicyNamespaceLister.

Jump to

Keyboard shortcuts

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