Documentation ¶
Index ¶
- Constants
- func OkConfigChangeDetails() *deployapi.DeploymentDetails
- func OkConfigChangeTrigger() deployapi.DeploymentTriggerPolicy
- func OkCustomParams() *deployapi.CustomDeploymentStrategyParams
- func OkCustomStrategy() deployapi.DeploymentStrategy
- func OkDeploymentConfig(version int64) *deployapi.DeploymentConfig
- func OkDeploymentConfigSpec() deployapi.DeploymentConfigSpec
- func OkDeploymentConfigStatus(version int64) deployapi.DeploymentConfigStatus
- func OkHPAForDeploymentConfig(config *deployapi.DeploymentConfig, min, max int) *autoscaling.HorizontalPodAutoscaler
- func OkImageChangeDetails() *deployapi.DeploymentDetails
- func OkImageChangeTrigger() deployapi.DeploymentTriggerPolicy
- func OkNonAutomaticICT() deployapi.DeploymentTriggerPolicy
- func OkPodTemplate() *kapi.PodTemplateSpec
- func OkPodTemplateChanged() *kapi.PodTemplateSpec
- func OkPodTemplateMissingImage(missing ...string) *kapi.PodTemplateSpec
- func OkRollingStrategy() deployapi.DeploymentStrategy
- func OkSelector() map[string]string
- func OkStrategy() deployapi.DeploymentStrategy
- func OkStreamForConfig(config *deployapi.DeploymentConfig) *imageapi.ImageStream
- func OkTriggeredImageChange() deployapi.DeploymentTriggerPolicy
- func OkTriggeredNonAutomatic() deployapi.DeploymentTriggerPolicy
- func RemoveTriggerTypes(config *deployapi.DeploymentConfig, ...)
- func RoundTripConfig(t *testing.T, config *deployapi.DeploymentConfig) *deployapi.DeploymentConfig
- func TestDeploymentConfig(config *deployapi.DeploymentConfig) *deployapi.DeploymentConfig
Constants ¶
View Source
const ( ImageStreamName = "test-image-stream" ImageID = "0000000000000000000000000000000000000000000000000000000000000001" DockerImageReference = "registry:5000/openshift/test-image-stream@sha256:0000000000000000000000000000000000000000000000000000000000000001" )
Variables ¶
This section is empty.
Functions ¶
func OkConfigChangeDetails ¶ added in v1.1.4
func OkConfigChangeDetails() *deployapi.DeploymentDetails
func OkConfigChangeTrigger ¶
func OkConfigChangeTrigger() deployapi.DeploymentTriggerPolicy
func OkCustomParams ¶
func OkCustomParams() *deployapi.CustomDeploymentStrategyParams
func OkCustomStrategy ¶
func OkCustomStrategy() deployapi.DeploymentStrategy
func OkDeploymentConfig ¶
func OkDeploymentConfig(version int64) *deployapi.DeploymentConfig
func OkDeploymentConfigSpec ¶ added in v1.1.1
func OkDeploymentConfigSpec() deployapi.DeploymentConfigSpec
func OkDeploymentConfigStatus ¶ added in v1.1.1
func OkDeploymentConfigStatus(version int64) deployapi.DeploymentConfigStatus
func OkHPAForDeploymentConfig ¶ added in v1.3.0
func OkHPAForDeploymentConfig(config *deployapi.DeploymentConfig, min, max int) *autoscaling.HorizontalPodAutoscaler
func OkImageChangeDetails ¶ added in v1.1.4
func OkImageChangeDetails() *deployapi.DeploymentDetails
func OkImageChangeTrigger ¶
func OkImageChangeTrigger() deployapi.DeploymentTriggerPolicy
func OkNonAutomaticICT ¶ added in v1.3.0
func OkNonAutomaticICT() deployapi.DeploymentTriggerPolicy
func OkPodTemplate ¶
func OkPodTemplate() *kapi.PodTemplateSpec
func OkPodTemplateChanged ¶ added in v1.3.0
func OkPodTemplateChanged() *kapi.PodTemplateSpec
func OkPodTemplateMissingImage ¶ added in v1.3.0
func OkPodTemplateMissingImage(missing ...string) *kapi.PodTemplateSpec
func OkRollingStrategy ¶
func OkRollingStrategy() deployapi.DeploymentStrategy
func OkSelector ¶
func OkStrategy ¶
func OkStrategy() deployapi.DeploymentStrategy
func OkStreamForConfig ¶ added in v1.4.0
func OkStreamForConfig(config *deployapi.DeploymentConfig) *imageapi.ImageStream
func OkTriggeredImageChange ¶ added in v1.3.0
func OkTriggeredImageChange() deployapi.DeploymentTriggerPolicy
func OkTriggeredNonAutomatic ¶ added in v1.3.0
func OkTriggeredNonAutomatic() deployapi.DeploymentTriggerPolicy
func RemoveTriggerTypes ¶ added in v1.3.0
func RemoveTriggerTypes(config *deployapi.DeploymentConfig, triggerTypes ...deployapi.DeploymentTriggerType)
func RoundTripConfig ¶ added in v1.4.0
func RoundTripConfig(t *testing.T, config *deployapi.DeploymentConfig) *deployapi.DeploymentConfig
func TestDeploymentConfig ¶ added in v1.1.2
func TestDeploymentConfig(config *deployapi.DeploymentConfig) *deployapi.DeploymentConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.