Skip to content

apps.v1.deploymentRequest

"DeploymentRequest is a request to a deployment config for a new deployment."

Index

Fields

fn new

new(name)

new returns an instance of DeploymentRequest

fn withExcludeTriggers

withExcludeTriggers(excludeTriggers)

"ExcludeTriggers instructs the instantiator to avoid processing the specified triggers. This field overrides the triggers from latest and allows clients to control specific logic. This field is ignored if not specified."

fn withExcludeTriggersMixin

withExcludeTriggersMixin(excludeTriggers)

"ExcludeTriggers instructs the instantiator to avoid processing the specified triggers. This field overrides the triggers from latest and allows clients to control specific logic. This field is ignored if not specified."

Note: This function appends passed data to existing values

fn withForce

withForce(force)

"Force will try to force a new deployment to run. If the deployment config is paused, then setting this to true will return an Invalid error."

fn withLatest

withLatest(latest)

"Latest will update the deployment config with the latest state from all triggers."

fn withName

withName(name)

"Name of the deployment config for requesting a new deployment."