cluster

package
v0.0.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	LabelResourceName      = "byte.builders/resource-name"
	LabelClusterUID        = "byte.builders/cluster-uid"
	LabelClusterUserID     = "byte.builders/cluster-user-id"
	LabelClusterOwnerID    = "byte.builders/cluster-owner-id"
	LabelClusterProvider   = "byte.builders/cluster-provider"
	LabelClusterImportType = "byte.builders/cluster-import-type"
	LabelClusterExternalID = "byte.builders/cluster-external-id"

	LabelClusterConnectorLinkID = "byte.builders/cluster-connector-link-id"
	LabelTricksterReference     = "byte.builders/cluster"
)
View Source
const (
	ClusterImportTypePublic  = "public"
	ClusterImportTypePrivate = "private"
)
View Source
const GroupName = "cluster.appscode.com"

GroupName is the group name use in this package

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicInfo added in v0.0.4

type BasicInfo struct {
	Name        string `json:"name"`
	DisplayName string `json:"displayName"`
}

type CheckOptions added in v0.0.4

type CheckOptions struct {
	Provider ProviderOptions `json:"provider"`
}

type ComponentOptions added in v0.0.4

type ComponentOptions struct {
	FluxCD      bool         `json:"fluxCD,omitempty"`
	FeatureSets []FeatureSet `json:"featureSets,omitempty"`
	AllFeatures bool         `json:"allFeatures,omitempty"`
}

type ConnectOptions added in v0.0.4

type ConnectOptions struct {
	Name       string `json:"name"`
	Credential string `json:"credential,omitempty"`
	KubeConfig string `json:"kubeConfig,omitempty"`
}

type FeatureSet added in v0.0.4

type FeatureSet struct {
	Name     string   `json:"name"`
	Features []string `json:"features,omitempty"`
}

type GetOptions added in v0.0.4

type GetOptions struct {
	Name string `json:"name,omitempty"`
}

type ImportOptions added in v0.0.4

type ImportOptions struct {
	BasicInfo  BasicInfo        `json:"basicInfo,omitempty"`
	Provider   ProviderOptions  `json:"provider,omitempty"`
	Components ComponentOptions `json:"components,omitempty"`
}

type ListOptions added in v0.0.4

type ListOptions struct {
	Provider string `json:"provider,omitempty"`
}

type ProviderOptions added in v0.0.4

type ProviderOptions struct {
	Name          string `json:"name"`
	Credential    string `json:"credential,omitempty"`
	ClusterID     string `json:"clusterID,omitempty"`
	Project       string `json:"project,omitempty"`
	Region        string `json:"region,omitempty"`
	ResourceGroup string `json:"resourceGroup,omitempty"`
	KubeConfig    string `json:"kubeConfig,omitempty"`
	LinkID        string `json:"linkID,omitempty"`
}

type ReconfigureOptions added in v0.0.4

type ReconfigureOptions struct {
	Name       string           `json:"name"`
	Components ComponentOptions `json:"components,omitempty"`
}

type RemovalOptions added in v0.0.4

type RemovalOptions struct {
	Name       string           `json:"name"`
	Components ComponentOptions `json:"components,omitempty"`
}

Directories

Path Synopsis
+groupName=cluster.appscode.com
+groupName=cluster.appscode.com

Jump to

Keyboard shortcuts

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