v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 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 SloLister

type SloLister interface {
	// List lists all Slos in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1alpha1.Slo, err error)
	// Slos returns an object that can list and get Slos.
	Slos(namespace string) SloNamespaceLister
	SloListerExpansion
}

SloLister helps list Slos. All objects returned here must be treated as read-only.

func NewSloLister

func NewSloLister(indexer cache.Indexer) SloLister

NewSloLister returns a new SloLister.

type SloListerExpansion

type SloListerExpansion interface{}

SloListerExpansion allows custom methods to be added to SloLister.

type SloNamespaceLister

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

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

type SloNamespaceListerExpansion

type SloNamespaceListerExpansion interface{}

SloNamespaceListerExpansion allows custom methods to be added to SloNamespaceLister.

Jump to

Keyboard shortcuts

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