Documentation ¶
Index ¶
- type ODeploymentConfig
- func (dc *ODeploymentConfig) Annotate(name, value string) *ODeploymentConfig
- func (dc *ODeploymentConfig) CustomStrategyParams(cp *appsapi.CustomDeploymentStrategyParams, req kapi.ResourceRequirements, ...) *ODeploymentConfig
- func (dc *ODeploymentConfig) FindPort(name string) int
- func (dc *ODeploymentConfig) GetPodSelectors() map[string]string
- func (dc *ODeploymentConfig) GetPodTemplateSpecLabels() map[string]string
- func (dc *ODeploymentConfig) Label(name, value string) *ODeploymentConfig
- func (dc *ODeploymentConfig) PodSelector(selector, value string) *ODeploymentConfig
- func (dc *ODeploymentConfig) PodSelectors(selectors map[string]string) *ODeploymentConfig
- func (dc *ODeploymentConfig) PodTemplateSpec(pt *podtemplates.OPodTemplateSpec) *ODeploymentConfig
- func (dc *ODeploymentConfig) RecreateStrategy() *ODeploymentConfig
- func (dc *ODeploymentConfig) RecreateStrategyParams(rp *appsapi.RecreateDeploymentStrategyParams, req kapi.ResourceRequirements, ...) *ODeploymentConfig
- func (dc *ODeploymentConfig) Replicas(r int) *ODeploymentConfig
- func (dc *ODeploymentConfig) RollingStrategy() *ODeploymentConfig
- func (dc *ODeploymentConfig) RollingStrategyParams(rp *appsapi.RollingDeploymentStrategyParams, req kapi.ResourceRequirements, ...) *ODeploymentConfig
- func (dc *ODeploymentConfig) TriggerOnConfigChange() *ODeploymentConfig
- func (dc *ODeploymentConfig) TriggerOnImageChange(ic *appsapi.DeploymentTriggerImageChangeParams) *ODeploymentConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ODeploymentConfig ¶
type ODeploymentConfig struct {
appsapi.DeploymentConfig
}
func NewODeploymentConfig ¶ added in v0.5.5
func NewODeploymentConfig(name, namespace string) *ODeploymentConfig
func (*ODeploymentConfig) Annotate ¶ added in v0.4.0
func (dc *ODeploymentConfig) Annotate(name, value string) *ODeploymentConfig
func (*ODeploymentConfig) CustomStrategyParams ¶
func (dc *ODeploymentConfig) CustomStrategyParams(cp *appsapi.CustomDeploymentStrategyParams, req kapi.ResourceRequirements, lbls, anttns map[string]string) *ODeploymentConfig
func (*ODeploymentConfig) FindPort ¶
func (dc *ODeploymentConfig) FindPort(name string) int
func (*ODeploymentConfig) GetPodSelectors ¶
func (dc *ODeploymentConfig) GetPodSelectors() map[string]string
func (*ODeploymentConfig) GetPodTemplateSpecLabels ¶
func (dc *ODeploymentConfig) GetPodTemplateSpecLabels() map[string]string
func (*ODeploymentConfig) Label ¶
func (dc *ODeploymentConfig) Label(name, value string) *ODeploymentConfig
func (*ODeploymentConfig) PodSelector ¶
func (dc *ODeploymentConfig) PodSelector(selector, value string) *ODeploymentConfig
func (*ODeploymentConfig) PodSelectors ¶
func (dc *ODeploymentConfig) PodSelectors(selectors map[string]string) *ODeploymentConfig
func (*ODeploymentConfig) PodTemplateSpec ¶
func (dc *ODeploymentConfig) PodTemplateSpec(pt *podtemplates.OPodTemplateSpec) *ODeploymentConfig
func (*ODeploymentConfig) RecreateStrategy ¶
func (dc *ODeploymentConfig) RecreateStrategy() *ODeploymentConfig
func (*ODeploymentConfig) RecreateStrategyParams ¶
func (dc *ODeploymentConfig) RecreateStrategyParams(rp *appsapi.RecreateDeploymentStrategyParams, req kapi.ResourceRequirements, lbls, anttns map[string]string) *ODeploymentConfig
func (*ODeploymentConfig) Replicas ¶
func (dc *ODeploymentConfig) Replicas(r int) *ODeploymentConfig
func (*ODeploymentConfig) RollingStrategy ¶
func (dc *ODeploymentConfig) RollingStrategy() *ODeploymentConfig
func (*ODeploymentConfig) RollingStrategyParams ¶
func (dc *ODeploymentConfig) RollingStrategyParams(rp *appsapi.RollingDeploymentStrategyParams, req kapi.ResourceRequirements, lbls, anttns map[string]string) *ODeploymentConfig
func (*ODeploymentConfig) TriggerOnConfigChange ¶
func (dc *ODeploymentConfig) TriggerOnConfigChange() *ODeploymentConfig
func (*ODeploymentConfig) TriggerOnImageChange ¶
func (dc *ODeploymentConfig) TriggerOnImageChange(ic *appsapi.DeploymentTriggerImageChangeParams) *ODeploymentConfig
Click to show internal directories.
Click to hide internal directories.