platformmeshpath

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPlatformMeshAccountPath

func IsPlatformMeshAccountPath(value string) bool

IsPlatformMeshAccountPath returns whether a value is a platform-mesh account path, i.e. a canonical KCP workspace path child to the platform-mesh account workspace tree "root:orgs".

Types

type AccountPath

type AccountPath struct {
	logicalcluster.Path
}

AccountPath represents a logicalcluster.Path that is assumed to be the path of a platform-mesh Account, i.e. conforms to the conditions of the IsPlatformMeshAccountPath function.

func NewAccountPath

func NewAccountPath(value string) (AccountPath, error)

func NewAccountPathFromLogicalCluster

func NewAccountPathFromLogicalCluster(lc *kcpcorev1alpha1.LogicalCluster) (AccountPath, error)

func (AccountPath) IsOrg

func (a AccountPath) IsOrg() bool

IsOrg returns true if the AccountPath is an organisation.

func (AccountPath) Org

func (a AccountPath) Org() AccountPath

Org returns the AccountPath's parent organisation.

Jump to

Keyboard shortcuts

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