apis

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	types.Metadata `json:",inline" mapstructure:",squash"`
	types.SSH      `json:",inline"`
	types.Status   `json:"status"`
	Options        interface{} `json:"options,omitempty"`
	IsHAMode       bool        `json:"is-ha-mode"`
	DataStoreType  string      `json:"datastore-type,omitempty"`
}

Cluster struct for cluster.

type ClusterTemplate

type ClusterTemplate struct {
	types.Metadata `json:",inline" mapstructure:",squash"`
	types.SSH      `json:",inline"`
	Options        interface{} `json:"options,omitempty"`
	IsDefault      bool        `json:"is-default"`
	Status         string      `json:"status"`
	IsHAMode       bool        `json:"is-ha-mode"`
	DataStoreType  string      `json:"datastore-type,omitempty"`
}

ClusterTemplate struct for cluster template.

type Config

type Config struct {
	Context string `json:"context"`
}

Config struct for config.

type Credential

type Credential struct {
	ID       int               `json:"id"`
	Provider string            `json:"provider"`
	Secrets  map[string]string `json:"secrets,omitempty"`
}

Credential struct for credential.

type EnableExplorerOutput added in v0.5.0

type EnableExplorerOutput struct {
	Data string `json:"data"`
}

EnableExplorerOutput struct for enable-explorer action

type KubeconfigOutput added in v0.5.0

type KubeconfigOutput struct {
	Config string `json:"config"`
}

KubeconfigOutput is specified cluster kubeconfig for user download

type Logs

type Logs struct {
}

Logs struct for logs.

type Mutual

type Mutual struct {
}

Mutual struct for mutual.

type Provider

type Provider struct {
	Name    string                   `json:"name"`
	Options map[string]schemas.Field `json:"options,omitempty"`
	Config  map[string]schemas.Field `json:"config,omitempty"`
	Secrets map[string]schemas.Field `json:"secrets,omitempty"`
}

Provider struct for provider.

type ProviderCredential

type ProviderCredential struct {
	Provider     string                   `json:"provider"`
	SecretFields map[string]schemas.Field `json:"secretFields"`
}

ProviderCredential struct for provider's credential.

type UpgradeInput added in v0.5.0

type UpgradeInput struct {
	InstallScript string `json:"k3s-install-script,omitempty"`
	K3sChannel    string `json:"k3s-channel,omitempty"`
	K3sVersion    string `json:"k3s-version,omitempty"`
	PackageName   string `json:"package-name,omitempty"`
	PackagePath   string `json:"package-path,omitempty"`
}

Jump to

Keyboard shortcuts

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