projectutil

package
v0.20.4-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LegacyProjectNamespacePrefix = "loft-p-"

LegacyProjectNamespacePrefix is the legacy project namespace prefix

Functions

func GetProjectNamespacePrefix

func GetProjectNamespacePrefix() string

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