Documentation ¶
Index ¶
- func BuildToPodLogOptions(opts *buildapi.BuildLogOptions) *kapi.PodLogOptions
- func GetBuildEnv(build *buildapi.Build) []kapi.EnvVar
- func GetBuildPodName(build *buildapi.Build) string
- func GetInputReference(strategy buildapi.BuildStrategy) *kapi.ObjectReference
- func IsBuildComplete(b *buildapi.Build) bool
- func IsTerminalPhase(p buildapi.BuildPhase) bool
- func SetBuildEnv(build *buildapi.Build, env []kapi.EnvVar)
- func StrategyType(strategy buildapi.BuildStrategy) string
- func UpdateBuildEnv(build *buildapi.Build, env []kapi.EnvVar)
- type BuildSliceByCreationTimestamp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildToPodLogOptions ¶
func BuildToPodLogOptions(opts *buildapi.BuildLogOptions) *kapi.PodLogOptions
BuildToPodLogOptions builds a PodLogOptions object out of a BuildLogOptions. Currently BuildLogOptions.Container and BuildLogOptions.Previous aren't used so they won't be copied to PodLogOptions. DEPRECATED: Reserved for apiserver, do not use outside of it
func GetBuildEnv ¶
GetBuildEnv gets the build strategy environment DEPRECATED: Reserved for apiserver, do not use outside of it
func GetBuildPodName ¶
GetBuildPodName returns name of the build pod. DEPRECATED: Reserved for apiserver, do not use outside of it
func GetInputReference ¶
func GetInputReference(strategy buildapi.BuildStrategy) *kapi.ObjectReference
GetInputReference returns the From ObjectReference associated with the BuildStrategy. DEPRECATED: Reserved for apiserver, do not use outside of it
func IsBuildComplete ¶
DEPRECATED: Reserved for apiserver, do not use outside of it
func IsTerminalPhase ¶
func IsTerminalPhase(p buildapi.BuildPhase) bool
DEPRECATED: Reserved for apiserver, do not use outside of it
func SetBuildEnv ¶
SetBuildEnv replaces the current build environment DEPRECATED: Reserved for apiserver, do not use outside of it
func StrategyType ¶
func StrategyType(strategy buildapi.BuildStrategy) string
DEPRECATED: Reserved for apiserver, do not use outside of it
Types ¶
type BuildSliceByCreationTimestamp ¶
BuildSliceByCreationTimestamp implements sort.Interface for []Build based on the CreationTimestamp field. DEPRECATED: Reserved for apiserver, do not use outside of it +k8s:deepcopy-gen=false
func (BuildSliceByCreationTimestamp) Len ¶
func (b BuildSliceByCreationTimestamp) Len() int
func (BuildSliceByCreationTimestamp) Less ¶
func (b BuildSliceByCreationTimestamp) Less(i, j int) bool
func (BuildSliceByCreationTimestamp) Swap ¶
func (b BuildSliceByCreationTimestamp) Swap(i, j int)