Documentation
¶
Overview ¶
Package app defines reference objects used to generate OpenShift API objects
Index ¶
- Constants
- Variables
- func AllContainerPorts(containers ...corev1.Container) []corev1.ContainerPort
- func CloneAndCheckoutSources(repo git.Repository, remote, ref, localDir, contextDir string) (string, error)
- func ContainerPortsFromString(portString string) ([]corev1.ContainerPort, error)
- func GenerateSecret(n int) string
- func GenerateService(meta metav1.ObjectMeta, selector map[string]string) *corev1.Service
- func IsBuilderImage(image *dockerv10.DockerImage) bool
- func IsBuilderMatch(match *ComponentMatch) bool
- func IsBuilderStreamTag(stream *imagev1.ImageStream, tag string) bool
- func IsComponentReference(s string) error
- func IsDirectory(name string) (bool, error)
- func IsParameterizableValue(s string) bool
- func IsPossibleTemplateFile(value string) (bool, error)
- func IsRemoteRepository(s string) (bool, error)
- func JoinEnvironment(a, b []corev1.EnvVar) (out []corev1.EnvVar)
- func LabelsFromSpec(spec []string) (map[string]string, []string, error)
- func MakeSimpleName(name string) string
- func StrategyAndSourceForRepository(repo *SourceRepository, image *ImageRef) (*BuildStrategyRef, *SourceRef, error)
- func UniqueContainerToServicePorts(ports []corev1.ContainerPort) []corev1.ServicePort
- type Acceptor
- func NewAcceptBuildConfigs(typer runtime.ObjectTyper) Acceptor
- func NewAcceptFirst() Acceptor
- func NewAcceptNonExistentImageStream(typer runtime.ObjectTyper, getter imagev1typedclient.ImageV1Interface, ...) Acceptor
- func NewAcceptNonExistentImageStreamTag(typer runtime.ObjectTyper, getter imagev1typedclient.ImageV1Interface, ...) Acceptor
- func NewAcceptUnique(typer runtime.ObjectTyper) Acceptor
- type Acceptors
- type BuildRef
- type BuildStrategyRef
- type CircularOutputReferenceError
- type CircularReferenceError
- type ComponentInput
- type ComponentMatch
- type ComponentMatches
- type ComponentReference
- type ComponentReferences