v15

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: 30 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 NewResourceSet

func NewResourceSet(config ResourceSetConfig) (*controller.ResourceSet, error)

NewResourceSet returns a configured KVMClusterConfig controller ResourceSet.

func VersionBundle

func VersionBundle() versionbundle.Bundle

Types

type ResourceSetConfig

type ResourceSetConfig struct {
	ApprClient        *apprclient.Client
	BaseClusterConfig *cluster.Config
	CertSearcher      certs.Interface
	Fs                afero.Fs
	G8sClient         versioned.Interface
	K8sClient         kubernetes.Interface
	Logger            micrologger.Logger
	Tenant            tenantcluster.Interface

	CalicoAddress         string
	CalicoPrefixLength    string
	ClusterIPRange        string
	HandledVersionBundles []string
	ProjectName           string
	RegistryDomain        string
	ResourceNamespace     string
}

ResourceSetConfig contains necessary dependencies and settings for KVMClusterConfig controller ResourceSet configuration.

Directories

Path Synopsis
resource

Jump to

Keyboard shortcuts

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