Documentation ¶
Index ¶
- Constants
- func MakeTestOnlyInternalDeployment(config *appsapi.DeploymentConfig) (*kapi.ReplicationController, error)
- func OkConfigChangeDetails() *appsapi.DeploymentDetails
- func OkConfigChangeTrigger() appsapi.DeploymentTriggerPolicy
- func OkCustomParams() *appsapi.CustomDeploymentStrategyParams
- func OkCustomStrategy() appsapi.DeploymentStrategy
- func OkDeploymentConfig(version int64) *appsapi.DeploymentConfig
- func OkDeploymentConfigSpec() appsapi.DeploymentConfigSpec
- func OkDeploymentConfigStatus(version int64) appsapi.DeploymentConfigStatus
- func OkHPAForDeploymentConfig(config *appsapi.DeploymentConfig, min, max int) *autoscaling.HorizontalPodAutoscaler
- func OkImageChangeDetails() *appsapi.DeploymentDetails
- func OkImageChangeTrigger() appsapi.DeploymentTriggerPolicy
- func OkNonAutomaticICT() appsapi.DeploymentTriggerPolicy
- func OkPodTemplate() *kapi.PodTemplateSpec
- func OkPodTemplateChanged() *kapi.PodTemplateSpec
- func OkPodTemplateMissingImage(missing ...string) *kapi.PodTemplateSpec
- func OkRollingStrategy() appsapi.DeploymentStrategy
- func OkSelector() map[string]string
- func OkStrategy() appsapi.DeploymentStrategy
- func OkStreamForConfig(config *appsapi.DeploymentConfig) *imageapi.ImageStream
- func OkTriggeredImageChange() appsapi.DeploymentTriggerPolicy
- func OkTriggeredNonAutomatic() appsapi.DeploymentTriggerPolicy
- func RoundTripConfig(t *testing.T, config *appsapi.DeploymentConfig) *appsapi.DeploymentConfig
- func TestDeploymentConfig(config *appsapi.DeploymentConfig) *appsapi.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 MakeTestOnlyInternalDeployment ¶
func MakeTestOnlyInternalDeployment(config *appsapi.DeploymentConfig) (*kapi.ReplicationController, error)
MakeTestOnlyInternalDeployment makes a test deployment (replication controller) from given deployment config. DEPRECATED: This is only used in some registry tests because storage is using internal versions for now.
func OkConfigChangeDetails ¶
func OkConfigChangeDetails() *appsapi.DeploymentDetails
func OkConfigChangeTrigger ¶
func OkConfigChangeTrigger() appsapi.DeploymentTriggerPolicy
func OkCustomParams ¶
func OkCustomParams() *appsapi.CustomDeploymentStrategyParams
func OkCustomStrategy ¶
func OkCustomStrategy() appsapi.DeploymentStrategy
func OkDeploymentConfig ¶
func OkDeploymentConfig(version int64) *appsapi.DeploymentConfig
func OkDeploymentConfigSpec ¶
func OkDeploymentConfigSpec() appsapi.DeploymentConfigSpec
func OkDeploymentConfigStatus ¶
func OkDeploymentConfigStatus(version int64) appsapi.DeploymentConfigStatus
func OkHPAForDeploymentConfig ¶
func OkHPAForDeploymentConfig(config *appsapi.DeploymentConfig, min, max int) *autoscaling.HorizontalPodAutoscaler
func OkImageChangeDetails ¶
func OkImageChangeDetails() *appsapi.DeploymentDetails
func OkImageChangeTrigger ¶
func OkImageChangeTrigger() appsapi.DeploymentTriggerPolicy
func OkNonAutomaticICT ¶
func OkNonAutomaticICT() appsapi.DeploymentTriggerPolicy
func OkPodTemplate ¶
func OkPodTemplate() *kapi.PodTemplateSpec
func OkPodTemplateChanged ¶
func OkPodTemplateChanged() *kapi.PodTemplateSpec
func OkPodTemplateMissingImage ¶
func OkPodTemplateMissingImage(missing ...string) *kapi.PodTemplateSpec
func OkRollingStrategy ¶
func OkRollingStrategy() appsapi.DeploymentStrategy
func OkSelector ¶
func OkStrategy ¶
func OkStrategy() appsapi.DeploymentStrategy
func OkStreamForConfig ¶
func OkStreamForConfig(config *appsapi.DeploymentConfig) *imageapi.ImageStream
func OkTriggeredImageChange ¶
func OkTriggeredImageChange() appsapi.DeploymentTriggerPolicy
func OkTriggeredNonAutomatic ¶
func OkTriggeredNonAutomatic() appsapi.DeploymentTriggerPolicy
func RoundTripConfig ¶
func RoundTripConfig(t *testing.T, config *appsapi.DeploymentConfig) *appsapi.DeploymentConfig
func TestDeploymentConfig ¶
func TestDeploymentConfig(config *appsapi.DeploymentConfig) *appsapi.DeploymentConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.