v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 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 PolicyLister

type PolicyLister interface {
	// List lists all Policies in the indexer.
	List(selector labels.Selector) (ret []*v1alpha1.Policy, err error)
	// Policies returns an object that can list and get Policies.
	Policies(namespace string) PolicyNamespaceLister
	PolicyListerExpansion
}

PolicyLister helps list Policies.

func NewPolicyLister

func NewPolicyLister(indexer cache.Indexer) PolicyLister

NewPolicyLister returns a new PolicyLister.

type PolicyListerExpansion

type PolicyListerExpansion interface{}

PolicyListerExpansion allows custom methods to be added to PolicyLister.

type PolicyNamespaceLister

type PolicyNamespaceLister interface {
	// List lists all Policies in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1alpha1.Policy, err error)
	// Get retrieves the Policy from the indexer for a given namespace and name.
	Get(name string) (*v1alpha1.Policy, error)
	PolicyNamespaceListerExpansion
}

PolicyNamespaceLister helps list and get Policies.

type PolicyNamespaceListerExpansion

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