kvm

package
v0.23.5 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: Apache-2.0 Imports: 34 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 LegacyCluster

type LegacyCluster struct {
	*controller.Controller
}

func NewLegacyCluster

func NewLegacyCluster(config LegacyClusterConfig) (*LegacyCluster, error)

NewLegacyCluster returns a configured KVMClusterConfig controller implementation.

type LegacyClusterConfig

type LegacyClusterConfig struct {
	ApprClient        *apprclient.Client
	BaseClusterConfig *cluster.Config
	CertSearcher      certs.Interface
	ClusterClient     *clusterclient.Client
	Fs                afero.Fs
	K8sClient         k8sclient.Interface
	Logger            micrologger.Logger
	Tenant            tenantcluster.Interface

	CalicoAddress        string
	CalicoPrefixLength   string
	ClusterIPRange       string
	ProjectName          string
	Provider             string
	RawAppDefaultConfig  string
	RawAppOverrideConfig string
	RegistryDomain       string
	ResourceNamespace    string
}

LegacyClusterConfig contains necessary dependencies and settings for KVMClusterConfig CRD controller implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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