controller

package
v2.0.1-fix+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2020 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

Types

type Cluster

type Cluster struct {
	*controller.Controller
}

func NewCluster

func NewCluster(config ClusterConfig) (*Cluster, error)

NewCluster returns a configured AWSClusterConfig controller implementation.

type ClusterConfig

type ClusterConfig struct {
	CertsSearcher certs.Interface
	ClusterClient *clusterclient.Client
	FileSystem    afero.Fs
	K8sClient     k8sclient.Interface
	Logger        micrologger.Logger
	Tenant        tenantcluster.Interface

	APIIP                      string
	CalicoAddress              string
	CalicoPrefixLength         string
	CertTTL                    string
	ClusterIPRange             string
	DNSIP                      string
	NewCommonClusterObjectFunc func() infrastructurev1alpha2.CommonClusterObject
	Provider                   string
	RegistryDomain             string
}

ClusterConfig contains necessary dependencies and settings for Cluster API's Cluster CRD controller implementation.

type MachineDeployment

type MachineDeployment struct {
	*controller.Controller
}

func NewMachineDeployment

func NewMachineDeployment(config MachineDeploymentConfig) (*MachineDeployment, error)

type MachineDeploymentConfig

type MachineDeploymentConfig struct {
	K8sClient k8sclient.Interface
	Logger    micrologger.Logger
	Tenant    tenantcluster.Interface

	Provider string
}

Jump to

Keyboard shortcuts

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