Documentation ¶
Index ¶
- Constants
- func Equal(v1, v2 string) bool
- func ExecNamespace(tenant string) string
- func GetFlagValue(cmd *cobra.Command, name string) string
- func MetaNamespace(tenant string) string
- func PrefixMatch(origin, prefix string) bool
- func ReadableDuration(input int) (result string)
- func TermSize() (uint, uint)
Constants ¶
View Source
const ( TypeResource = "resource" TypeResourceShort = "rsc" TypeStage = "stage" TypeStageShort = "stg" TypeWorkflow = "workflow" TypeWorkflowShort = "wf" TypeWorkflowRun = "workflowrun" TypeWorkflowRunShort = "wfr" TypeWorkflowTrigger = "workflowtrigger" TypeWorkflowTrigerShort = "wft" TypeStgTemplate = "template" TypeStgTemplateShort = "tpl" TypeIntegration = "itg" TypeIntegrationShort = "integration" ContextTenant = "tenant" ContextProject = "project" LabelTemplateKind = "stage.cyclone.dev/template-kind" )
Variables ¶
This section is empty.
Functions ¶
func ExecNamespace ¶
func MetaNamespace ¶
func PrefixMatch ¶
func ReadableDuration ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.