controller

package
v3.7.2-capi-1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 25 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)

type ClusterConfig

type ClusterConfig struct {
	BaseDomain     string
	CertsSearcher  certs.Interface
	FileSystem     afero.Fs
	K8sClient      k8sclient.Interface
	Logger         micrologger.Logger
	Tenant         tenantcluster.Interface
	ReleaseVersion releaseversion.Interface
	PodCIDR        podcidr.Interface

	APIIP                string
	ClusterIPRange       string
	DNSIP                string
	ClusterDomain        string
	RawAppDefaultConfig  string
	RawAppOverrideConfig string
	RegistryDomain       string
}

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

Directories

Path Synopsis
resource
app

Jump to

Keyboard shortcuts

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