Documentation ¶
Index ¶
- type ODeploymentConfig
- func (dc *ODeploymentConfig) CustomStrategyParams(cp *api.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 *api.RecreateDeploymentStrategyParams, req kapi.ResourceRequirements, ...) *ODeploymentConfig
- func (dc *ODeploymentConfig) Replicas(r int) *ODeploymentConfig
- func (dc *ODeploymentConfig) RollingStrategy() *ODeploymentConfig
- func (dc *ODeploymentConfig) RollingStrategyParams(rp *api.RollingDeploymentStrategyParams, req kapi.ResourceRequirements, ...) *ODeploymentConfig
- func (dc *ODeploymentConfig) TriggerOnConfigChange() *ODeploymentConfig
- func (dc *ODeploymentConfig) TriggerOnImageChange(ic *api.DeploymentTriggerImageChangeParams) *ODeploymentConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ODeploymentConfig ¶
type ODeploymentConfig struct {
api.DeploymentConfig
}
func DeploymentConfig ¶
func DeploymentConfig(name, namespace string) *ODeploymentConfig
func (*ODeploymentConfig) CustomStrategyParams ¶
func (dc *ODeploymentConfig) CustomStrategyParams(cp *api.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 *api.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 *api.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 *api.DeploymentTriggerImageChangeParams) *ODeploymentConfig
Click to show internal directories.
Click to hide internal directories.