clusterflavors

package
v22.11.9 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Makers

type Makers struct {
	MinimumRequiredServers func(ctx context.Context, clusterIdentity abstract.ClusterIdentity) (uint, uint, uint, fail.Error) // returns masterCount, privateNodeCount, publicNodeCount
	DefaultGatewaySizing   func(ctx context.Context, c resources.Cluster) abstract.HostSizingRequirements                     // sizing of gateway(s)
	DefaultMasterSizing    func(ctx context.Context, c resources.Cluster) abstract.HostSizingRequirements                     // default sizing of master(s)
	DefaultNodeSizing      func(ctx context.Context, c resources.Cluster) abstract.HostSizingRequirements                     // default sizing of node(s)
	DefaultImage           func(ctx context.Context, c resources.Cluster) string                                              // default image of server(s)
	ConfigureNode          func(ctx context.Context, c resources.Cluster, host resources.Host) fail.Error
	UnconfigureNode        func(ctx context.Context, c resources.Cluster, host resources.Host, selectedMaster resources.Host) fail.Error
	ConfigureCluster       func(ctx context.Context, c resources.Cluster, params data.Map, b bool) fail.Error
	UnconfigureCluster     func(ctx context.Context, c resources.Cluster) fail.Error
	JoinMasterToCluster    func(ctx context.Context, c resources.Cluster, host resources.Host) fail.Error
	JoinNodeToCluster      func(ctx context.Context, c resources.Cluster, host resources.Host) fail.Error
	LeaveMasterFromCluster func(ctx context.Context, c resources.Cluster, host resources.Host) fail.Error
	LeaveNodeFromCluster   func(ctx context.Context, c resources.Cluster, host resources.Host, selectedMaster resources.Host) fail.Error
}

Makers ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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