Documentation
¶
Index ¶
- Constants
- func MakeImageName(build *openchoreov1alpha1.Build) string
- func MakeImageTag(build *openchoreov1alpha1.Build) string
- func MakeNamespaceName(build *openchoreov1alpha1.Build) string
- func MakeWorkflowLabels(build *openchoreov1alpha1.Build) map[string]string
- func MakeWorkflowName(build *openchoreov1alpha1.Build) string
Constants ¶
View Source
const ( MaxImageNameLength = 63 MaxImageTagLength = 128 DefaultDTName = "default" )
View Source
const (
MaxWorkflowNameLength = 63
)
Variables ¶
This section is empty.
Functions ¶
func MakeImageName ¶
func MakeImageName(build *openchoreov1alpha1.Build) string
MakeImageName creates the image name following the pattern: project_name-component_name
func MakeImageTag ¶
func MakeImageTag(build *openchoreov1alpha1.Build) string
MakeImageTag creates the image tag
func MakeNamespaceName ¶
func MakeNamespaceName(build *openchoreov1alpha1.Build) string
MakeNamespaceName generates the namespace name for the workflow based on organization
func MakeWorkflowLabels ¶
func MakeWorkflowLabels(build *openchoreov1alpha1.Build) map[string]string
MakeWorkflowLabels creates labels for the workflow
func MakeWorkflowName ¶
func MakeWorkflowName(build *openchoreov1alpha1.Build) string
MakeWorkflowName generates a valid workflow name with length constraints
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.