v21

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 39 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.

func NewClusterResourceSet

func NewClusterResourceSet(config ClusterResourceSetConfig) (*controller.ResourceSet, error)

NewClusterResourceSet returns a configured Cluster API's Cluster controller ResourceSet.

func VersionBundle

func VersionBundle() versionbundle.Bundle

Types

type ClusterResourceSetConfig

type ClusterResourceSetConfig struct {
	ApprClient    *apprclient.Client
	CertsSearcher certs.Interface
	ClusterClient *clusterclient.Client
	CMAClient     clientset.Interface
	FileSystem    afero.Fs
	G8sClient     versioned.Interface
	K8sClient     kubernetes.Interface
	Logger        micrologger.Logger
	Tenant        tenantcluster.Interface

	APIIP              string
	CalicoAddress      string
	CalicoPrefixLength string
	CertTTL            string
	ClusterIPRange     string
	DNSIP              string
	Provider           string
	RegistryDomain     string
}

ClusterResourceSetConfig contains necessary dependencies and settings for Cluster API's Cluster controller ResourceSet configuration.

type MachineDeploymentResourceSetConfig

type MachineDeploymentResourceSetConfig struct {
	CMAClient clientset.Interface
	G8sClient versioned.Interface
	Logger    micrologger.Logger
	Tenant    tenantcluster.Interface
}

Jump to

Keyboard shortcuts

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