package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev

# Functions

CalculatePatches calls the mutation function on each provided info object, and generates a strategic merge patch for the changes in the object.
CalculatePatchesExternal calls the mutation function on each provided info object, and generates a strategic merge patch for the changes in the object.
NewAnnotationTriggers creates a trigger definition from an object that can be triggered by the image annotation.
NewBuildConfigTriggers creates a trigger definition from a build config.
NewCmdBuildHook implements the set build-hook command.
NewCmdBuildSecret implements the set build-secret command.
NewCmdDeploymentHook implements the set deployment-hook command.
NewCmdEnv implements the OpenShift cli env command.
NewCmdImage is a wrapper for the Kubernetes CLI set image command.
NewCmdImageLookup implements the set image-lookup command.
NewCmdProbe implements the set probe command.
NewCmdResources is a wrapper for the Kubernetes CLI set resources command.
NewCmdRouteBackends implements the set route-backends command.
NewCmdSelector is a wrapper for the Kubernetes CLI set selector command.
NewCmdServiceAccount is a wrapper for the Kubernetes CLI set serviceaccount command.
NewCmdSet exposes commands for modifying objects.
NewCmdSubject is a wrapper for the Kubernetes CLI set subject command.
NewCmdTriggers implements the set triggers command.
NewDeploymentConfigTriggers creates a trigger definition from a deployment config.
ParseBackendInput turns the provided input into a BackendInput or returns an error.
UpdateBackendsForObject extracts a backend definition array from the provided object, passes it to fn, and then applies the backend on the object.
UpdateTriggersForObject extracts a trigger definition from the provided object, passes it to fn, and then applies the trigger definition back on the object.

# Structs

BackendInput describes a change to a named service.
Backends is a struct that represents the backends to be transformed.
BackendTransform describes the desired transformation of backends.
ImageChangeTrigger represents the capabilities present in deployment config and build config objects in a consistent way.
Patch represents the result of a mutation to an object.
TriggerDefinition is the abstract representation of triggers for builds and deployment configs.