project

package
v0.5.19 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultProjectNamespacePrefix = "loft-p-"

Functions

func GetProjectNamespacePrefix

func GetProjectNamespacePrefix() string

func ParseConfiguredProjectNSPrefix

func ParseConfiguredProjectNSPrefix(configuredPrefix *string) string

ParseConfiguredProjectNSPrefix handles the defaulting for a configured prefix and returns the prefix to be used

func ProjectFromNamespace

func ProjectFromNamespace(namespace string) string

ProjectFromNamespace returns the project associated with the namespace

func ProjectNamespace

func ProjectNamespace(projectName string) string

ProjectNamespace returns the namespace associated with the project

func SetProjectNamespacePrefix

func SetProjectNamespacePrefix(newPrefix string)

SetProjectNamespacePrefix sets the global project namespace prefix Defaulting should be handled when reading the config via ParseProjectNamespacePrefix

Types

This section is empty.

Jump to

Keyboard shortcuts

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