test

package
v0.0.0-...-8452b8d Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentConfigRegistry

type DeploymentConfigRegistry struct {
	Err               error
	DeploymentConfig  *api.DeploymentConfig
	DeploymentConfigs *api.DeploymentConfigList
	sync.Mutex
}

func NewDeploymentConfigRegistry

func NewDeploymentConfigRegistry() *DeploymentConfigRegistry

func (*DeploymentConfigRegistry) CreateDeploymentConfig

func (r *DeploymentConfigRegistry) CreateDeploymentConfig(image *api.DeploymentConfig) error

func (*DeploymentConfigRegistry) DeleteDeploymentConfig

func (r *DeploymentConfigRegistry) DeleteDeploymentConfig(id string) error

func (*DeploymentConfigRegistry) GetDeploymentConfig

func (r *DeploymentConfigRegistry) GetDeploymentConfig(id string) (*api.DeploymentConfig, error)

func (*DeploymentConfigRegistry) ListDeploymentConfigs

func (r *DeploymentConfigRegistry) ListDeploymentConfigs(selector labels.Selector) (*api.DeploymentConfigList, error)

func (*DeploymentConfigRegistry) UpdateDeploymentConfig

func (r *DeploymentConfigRegistry) UpdateDeploymentConfig(image *api.DeploymentConfig) error

type DeploymentRegistry

type DeploymentRegistry struct {
	Err         error
	Deployment  *api.Deployment
	Deployments *api.DeploymentList
	sync.Mutex
}

func NewDeploymentRegistry

func NewDeploymentRegistry() *DeploymentRegistry

func (*DeploymentRegistry) CreateDeployment

func (r *DeploymentRegistry) CreateDeployment(deployment *api.Deployment) error

func (*DeploymentRegistry) DeleteDeployment

func (r *DeploymentRegistry) DeleteDeployment(id string) error

func (*DeploymentRegistry) GetDeployment

func (r *DeploymentRegistry) GetDeployment(id string) (*api.Deployment, error)

func (*DeploymentRegistry) ListDeployments

func (r *DeploymentRegistry) ListDeployments(selector labels.Selector) (*api.DeploymentList, error)

func (*DeploymentRegistry) UpdateDeployment

func (r *DeploymentRegistry) UpdateDeployment(deployment *api.Deployment) error

Jump to

Keyboard shortcuts

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