kflexprovider

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: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CPGroup    = "tenancy.kflex.kubestellar.org"
	CPVersion  = "v1alpha1"
	CPKind     = "ControlPlane"
	CPResource = "controlplanes"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KflexClusterProvider

type KflexClusterProvider struct {
	// contains filtered or unexported fields
}

KflexClusterProvider is a kubeflex cluster provider

func New

func New(configStrs map[string]string) (KflexClusterProvider, error)

New creates a new KflexClusterProvider

func (KflexClusterProvider) Create

func (KflexClusterProvider) Delete

func (KflexClusterProvider) Get

Get: obtains the kubeconfig for the given lcName cluster. TODO: switch from cli to kube directives

func (KflexClusterProvider) ListSpaces

func (KflexClusterProvider) ListSpacesNames

func (k KflexClusterProvider) ListSpacesNames() ([]string, error)

ListSpacesNames: returns a list of clusters in KubeFlex that are in the Ready condition.

func (KflexClusterProvider) Watch

type KflexWatcher

type KflexWatcher struct {
	// contains filtered or unexported fields
}

func (*KflexWatcher) ResultChan

func (k *KflexWatcher) ResultChan() <-chan clusterprovider.WatchEvent

func (*KflexWatcher) Stop

func (k *KflexWatcher) Stop()

Jump to

Keyboard shortcuts

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