Documentation ¶
Index ¶
- func ConfigNameForBuild(build *buildv1.Build) string
- func FindTriggerPolicy(triggerType buildv1.BuildTriggerType, config *buildv1.BuildConfig) (buildTriggers []buildv1.BuildTriggerPolicy)
- func GetBuildEnv(build *buildv1.Build) []corev1.EnvVar
- func GetInputReference(strategy buildv1.BuildStrategy) *corev1.ObjectReference
- func SetBuildEnv(build *buildv1.Build, env []corev1.EnvVar)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigNameForBuild ¶
ConfigNameForBuild returns the name of the build config from a build name.
func FindTriggerPolicy ¶
func FindTriggerPolicy(triggerType buildv1.BuildTriggerType, config *buildv1.BuildConfig) (buildTriggers []buildv1.BuildTriggerPolicy)
FindTriggerPolicy retrieves the BuildTrigger(s) of a given type from a build configuration. Returns nil if no matches are found.
func GetBuildEnv ¶
GetBuildEnv gets the build strategy environment
func GetInputReference ¶
func GetInputReference(strategy buildv1.BuildStrategy) *corev1.ObjectReference
GetInputReference returns the From ObjectReference associated with the BuildStrategy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.