region

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName = "rgn"
)

Variables

This section is empty.

Functions

func New

func New(opts ...Opt) *kcmv1.Region

Types

type Opt

type Opt func(region *kcmv1.Region)

func WithAvailableProviders

func WithAvailableProviders(providers kcmv1.Providers) Opt

func WithClusterDeploymentReference added in v1.5.0

func WithClusterDeploymentReference(namespace, name string) Opt

func WithComponentsStatus

func WithComponentsStatus(components map[string]kcmv1.ComponentStatus) Opt

func WithKubeConfigSecretReference added in v1.5.0

func WithKubeConfigSecretReference(name, key string) Opt

func WithName

func WithName(name string) Opt

func WithProviders

func WithProviders(providers ...kcmv1.Provider) Opt

Jump to

Keyboard shortcuts

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