test

package
v3.11.12-1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 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 OkSelector() map[string]string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL