internalversion

package
v3.9.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageStreamReferenceIndex = "imagestreamref"
)

Variables

This section is empty.

Functions

func ImageStreamReferenceIndexFunc

func ImageStreamReferenceIndexFunc(obj interface{}) ([]string, error)

ImageStreamReferenceIndexFunc is a default index function that indexes based on image stream references.

Types

type DeploymentConfigLister

type DeploymentConfigLister interface {
	// List lists all DeploymentConfigs in the indexer.
	List(selector labels.Selector) (ret []*apps.DeploymentConfig, err error)
	// DeploymentConfigs returns an object that can list and get DeploymentConfigs.
	DeploymentConfigs(namespace string) DeploymentConfigNamespaceLister
	DeploymentConfigListerExpansion
}

DeploymentConfigLister helps list DeploymentConfigs.

func NewDeploymentConfigLister

func NewDeploymentConfigLister(indexer cache.Indexer) DeploymentConfigLister

NewDeploymentConfigLister returns a new DeploymentConfigLister.

type DeploymentConfigListerExpansion

type DeploymentConfigListerExpansion interface {
	GetConfigForController(rc *v1.ReplicationController) (*apps.DeploymentConfig, error)
	GetConfigsForImageStream(stream *imageapi.ImageStream) ([]*apps.DeploymentConfig, error)
}

DeploymentConfigListerExpansion allows custom methods to be added to DeploymentConfigLister.

type DeploymentConfigNamespaceLister

type DeploymentConfigNamespaceLister interface {
	// List lists all DeploymentConfigs in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*apps.DeploymentConfig, err error)
	// Get retrieves the DeploymentConfig from the indexer for a given namespace and name.
	Get(name string) (*apps.DeploymentConfig, error)
	DeploymentConfigNamespaceListerExpansion
}

DeploymentConfigNamespaceLister helps list and get DeploymentConfigs.

type DeploymentConfigNamespaceListerExpansion

type DeploymentConfigNamespaceListerExpansion interface{}

DeploymentConfigNamespaceListerExpansion allows custom methods to be added to DeploymentConfigNamespaceLister.

Jump to

Keyboard shortcuts

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