Documentation ¶
Index ¶
Constants ¶
View Source
const Output = "services/terraformer/server/clusters"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterBuilder ¶
type ClusterBuilder struct { // DesiredInfo contains the information about the // desired state of the cluster. DesiredInfo *pb.ClusterInfo // CurrentInfo contains the information about the // current state of the cluster. CurrentInfo *pb.ClusterInfo // ProjectName is the name of the manifest. ProjectName string // ClusterType is the type of the cluster being build // LoadBalancer or K8s. ClusterType pb.ClusterType // Metadata contains data that further describe // the cluster that is to be build. For example, // in the case of LoadBalancer this will contain the defined // roles from the manifest. Can be nil if no data is supplied. Metadata map[string]any }
ClusterBuilder wraps data needed for building a cluster.
func (ClusterBuilder) CreateNodepools ¶
func (c ClusterBuilder) CreateNodepools() error
func (ClusterBuilder) DestroyNodepools ¶
func (c ClusterBuilder) DestroyNodepools() error
Click to show internal directories.
Click to hide internal directories.