cluster

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 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"

	LabelTricksterReference = "byte.builders/cluster"

	LabelClusterManagerACE                         = "clustermanager.appscode.com/ace"
	LabelClusterManagerOCMHub                      = "clustermanager.appscode.com/ocm-hub"
	LabelClusterManagerOCMSpoke                    = "clustermanager.appscode.com/ocm-spoke"
	LabelClusterManagerOCMMulticlusterControlplane = "clustermanager.appscode.com/ocm-mc"
	LabelClusterManagerRancher                     = "clustermanager.appscode.com/rancher"
	LabelClusterManagerOpenShift                   = "clustermanager.appscode.com/openshift"
	LabelClusterManagerVCluster                    = "clustermanager.appscode.com/vcluster"
)
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"`
	OwnerID      int64  `json:"ownerID,omitempty"`
	UserID       int64  `json:"userID,omitempty"`
	ClusterUID   string `json:"clusterUID,omitempty"`
	HubClusterID string `json:"hubClusterID,omitempty"`
}

type CheckOptions added in v0.0.4

type CheckOptions struct {
	BasicInfo BasicInfo       `json:"basicInfo,omitempty"`
	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"`
	ClusterProfile string       `json:"clusterProfile,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"`
}

type ReconfigureOptions added in v0.0.4

type ReconfigureOptions struct {
	BasicInfo  BasicInfo        `json:"basicInfo"`
	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