Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { K8sClient k8sclient.Interface TenantClient tenantclient.Interface }
type Interface ¶
type Interface interface { // MasterCount is a map of key value pairs where the key is the control plane // ID. The map value is a structure holding node information for the // corresponding control plane. MasterCount(ctx context.Context, obj interface{}) (map[string]Node, error) // WorkerCount is a map of key value pairs where the key is the machine deployment // ID. The map value is a structure holding node information for the // corresponding node pools. WorkerCount(ctx context.Context, obj interface{}) (map[string]Node, error) }
type NodeCount ¶
type NodeCount struct {
// contains filtered or unexported fields
}
func (*NodeCount) MasterCount ¶
Click to show internal directories.
Click to hide internal directories.