names

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL