backend

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ClusterDriver

type ClusterDriver interface {
	GetInstallStatus(context.Context) InstallState
	StoreCluster(context.Context, *corev1.Reference, string) error
	StoreClusterMetadata(context.Context, string, string) error
	StoreClusterReadUser(ctx context.Context, username, password, id string) error
	DeleteCluster(context.Context, string) error
	SetClusterStatus(context.Context, string, bool) error
	GetClusterStatus(context.Context, string) (*capabilityv1.NodeCapabilityStatus, error)

	SetSyncTime()
}

type InstallState

type InstallState int
const (
	Pending InstallState = iota
	Installed
	Absent
	Error
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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