test

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2015 License: Apache-2.0 Imports: 6 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(ctx kapi.Context, image *api.DeploymentConfig) error

func (*DeploymentConfigRegistry) DeleteDeploymentConfig

func (r *DeploymentConfigRegistry) DeleteDeploymentConfig(ctx kapi.Context, id string) error

func (*DeploymentConfigRegistry) GetDeploymentConfig

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

func (*DeploymentConfigRegistry) ListDeploymentConfigs

func (r *DeploymentConfigRegistry) ListDeploymentConfigs(ctx kapi.Context, label labels.Selector, field fields.Selector) (*api.DeploymentConfigList, error)

func (*DeploymentConfigRegistry) UpdateDeploymentConfig

func (r *DeploymentConfigRegistry) UpdateDeploymentConfig(ctx kapi.Context, image *api.DeploymentConfig) error

func (*DeploymentConfigRegistry) WatchDeploymentConfigs

func (r *DeploymentConfigRegistry) WatchDeploymentConfigs(ctx kapi.Context, label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, 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(ctx kapi.Context, deployment *api.Deployment) error

func (*DeploymentRegistry) DeleteDeployment

func (r *DeploymentRegistry) DeleteDeployment(ctx kapi.Context, id string) error

func (*DeploymentRegistry) GetDeployment

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

func (*DeploymentRegistry) ListDeployments

func (r *DeploymentRegistry) ListDeployments(ctx kapi.Context, label labels.Selector, field fields.Selector) (*api.DeploymentList, error)

func (*DeploymentRegistry) UpdateDeployment

func (r *DeploymentRegistry) UpdateDeployment(ctx kapi.Context, deployment *api.Deployment) error

func (*DeploymentRegistry) WatchDeployments

func (r *DeploymentRegistry) WatchDeployments(ctx kapi.Context, label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error)

Jump to

Keyboard shortcuts

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