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
Click to show internal directories.
Click to hide internal directories.