msclientlib

package
v0.0.0-...-958b214 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const CUBEKONFIG_KEY = "kubeconfig"
View Source
const (
	ControllerName = "multi-space-client"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KubestellarSpaceInterface

type KubestellarSpaceInterface interface {

	// ConfigForSpace returns rest config for given space.
	ConfigForSpace(name string, providerNS string) (*rest.Config, error)

	// ConfigForSpaceByExportRef returns rest config for given space, by space reference
	// from object in API export view.
	ConfigForSpaceByExportRef(ref string) (*rest.Config, error)
}

func NewMultiSpace

func NewMultiSpace(ctx context.Context, managerConfig *rest.Config, externalAccess bool) (KubestellarSpaceInterface, error)

NewMultiSpace creates new multi-space client and starts collecting space configs

Jump to

Keyboard shortcuts

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