Skip to content

apps.v1.recreateDeploymentStrategyParams

"RecreateDeploymentStrategyParams are the input to the Recreate deployment strategy."

Index

Fields

fn withTimeoutSeconds

withTimeoutSeconds(timeoutSeconds)

"TimeoutSeconds is the time to wait for updates before giving up. If the value is nil, a default will be used."

obj mid

"LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time."

fn mid.withFailurePolicy

withFailurePolicy(failurePolicy)

"FailurePolicy specifies what action to take if the hook fails."

fn mid.withTagImages

withTagImages(tagImages)

"TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag."

fn mid.withTagImagesMixin

withTagImagesMixin(tagImages)

"TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag."

Note: This function appends passed data to existing values

obj mid.execNewPod

"ExecNewPodHook is a hook implementation which runs a command in a new pod based on the specified container which is assumed to be part of the deployment template."

fn mid.execNewPod.withCommand

withCommand(command)

"Command is the action command and its arguments."

fn mid.execNewPod.withCommandMixin

withCommandMixin(command)

"Command is the action command and its arguments."

Note: This function appends passed data to existing values

fn mid.execNewPod.withContainerName

withContainerName(containerName)

"ContainerName is the name of a container in the deployment pod template whose Docker image will be used for the hook pod's container."

fn mid.execNewPod.withEnv

withEnv(env)

"Env is a set of environment variables to supply to the hook pod's container."

fn mid.execNewPod.withEnvMixin

withEnvMixin(env)

"Env is a set of environment variables to supply to the hook pod's container."

Note: This function appends passed data to existing values

fn mid.execNewPod.withVolumes

withVolumes(volumes)

"Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied."

fn mid.execNewPod.withVolumesMixin

withVolumesMixin(volumes)

"Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied."

Note: This function appends passed data to existing values

obj post

"LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time."

fn post.withFailurePolicy

withFailurePolicy(failurePolicy)

"FailurePolicy specifies what action to take if the hook fails."

fn post.withTagImages

withTagImages(tagImages)

"TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag."

fn post.withTagImagesMixin

withTagImagesMixin(tagImages)

"TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag."

Note: This function appends passed data to existing values

obj post.execNewPod

"ExecNewPodHook is a hook implementation which runs a command in a new pod based on the specified container which is assumed to be part of the deployment template."

fn post.execNewPod.withCommand

withCommand(command)

"Command is the action command and its arguments."

fn post.execNewPod.withCommandMixin

withCommandMixin(command)

"Command is the action command and its arguments."

Note: This function appends passed data to existing values

fn post.execNewPod.withContainerName

withContainerName(containerName)

"ContainerName is the name of a container in the deployment pod template whose Docker image will be used for the hook pod's container."

fn post.execNewPod.withEnv

withEnv(env)

"Env is a set of environment variables to supply to the hook pod's container."

fn post.execNewPod.withEnvMixin

withEnvMixin(env)

"Env is a set of environment variables to supply to the hook pod's container."

Note: This function appends passed data to existing values

fn post.execNewPod.withVolumes

withVolumes(volumes)

"Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied."

fn post.execNewPod.withVolumesMixin

withVolumesMixin(volumes)

"Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied."

Note: This function appends passed data to existing values

obj pre

"LifecycleHook defines a specific deployment lifecycle action. Only one type of action may be specified at any time."

fn pre.withFailurePolicy

withFailurePolicy(failurePolicy)

"FailurePolicy specifies what action to take if the hook fails."

fn pre.withTagImages

withTagImages(tagImages)

"TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag."

fn pre.withTagImagesMixin

withTagImagesMixin(tagImages)

"TagImages instructs the deployer to tag the current image referenced under a container onto an image stream tag."

Note: This function appends passed data to existing values

obj pre.execNewPod

"ExecNewPodHook is a hook implementation which runs a command in a new pod based on the specified container which is assumed to be part of the deployment template."

fn pre.execNewPod.withCommand

withCommand(command)

"Command is the action command and its arguments."

fn pre.execNewPod.withCommandMixin

withCommandMixin(command)

"Command is the action command and its arguments."

Note: This function appends passed data to existing values

fn pre.execNewPod.withContainerName

withContainerName(containerName)

"ContainerName is the name of a container in the deployment pod template whose Docker image will be used for the hook pod's container."

fn pre.execNewPod.withEnv

withEnv(env)

"Env is a set of environment variables to supply to the hook pod's container."

fn pre.execNewPod.withEnvMixin

withEnvMixin(env)

"Env is a set of environment variables to supply to the hook pod's container."

Note: This function appends passed data to existing values

fn pre.execNewPod.withVolumes

withVolumes(volumes)

"Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied."

fn pre.execNewPod.withVolumesMixin

withVolumesMixin(volumes)

"Volumes is a list of named volumes from the pod template which should be copied to the hook pod. Volumes names not found in pod spec are ignored. An empty list means no volumes will be copied."

Note: This function appends passed data to existing values