hostedcontrolplane

package
v0.0.0-...-1bc13c6 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionID

type VersionID struct {
	Version string // Version of the guest cluster.
	ID      string // Unique identifier of the guest cluster.
}

VersionID contains the version and ID of a HostedControlPlane

func GetVersionID

func GetVersionID(ctx context.Context, c client.Reader, namespace string) *VersionID

GetVersionID returns the guest cluster version and ID for a HCP namepace. Returns nil if the namespace is not a valid HCP namespace with a non-empty version and ID.

Jump to

Keyboard shortcuts

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