Documentation ¶
Index ¶
- type DeploymentConfigRegistry
- func (r *DeploymentConfigRegistry) CreateDeploymentConfig(ctx kapi.Context, image *api.DeploymentConfig) error
- func (r *DeploymentConfigRegistry) DeleteDeploymentConfig(ctx kapi.Context, id string) error
- func (r *DeploymentConfigRegistry) GetDeploymentConfig(ctx kapi.Context, id string) (*api.DeploymentConfig, error)
- func (r *DeploymentConfigRegistry) ListDeploymentConfigs(ctx kapi.Context, label labels.Selector, field fields.Selector) (*api.DeploymentConfigList, error)
- func (r *DeploymentConfigRegistry) UpdateDeploymentConfig(ctx kapi.Context, image *api.DeploymentConfig) error
- func (r *DeploymentConfigRegistry) WatchDeploymentConfigs(ctx kapi.Context, label labels.Selector, field fields.Selector, ...) (watch.Interface, error)
- type DeploymentRegistry
- func (r *DeploymentRegistry) CreateDeployment(ctx kapi.Context, deployment *api.Deployment) error
- func (r *DeploymentRegistry) DeleteDeployment(ctx kapi.Context, id string) error
- func (r *DeploymentRegistry) GetDeployment(ctx kapi.Context, id string) (*api.Deployment, error)
- func (r *DeploymentRegistry) ListDeployments(ctx kapi.Context, label labels.Selector, field fields.Selector) (*api.DeploymentList, error)
- func (r *DeploymentRegistry) UpdateDeployment(ctx kapi.Context, deployment *api.Deployment) error
- func (r *DeploymentRegistry) WatchDeployments(ctx kapi.Context, label labels.Selector, field fields.Selector, ...) (watch.Interface, error)
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
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
Click to show internal directories.
Click to hide internal directories.