controller

package
v4.0.0-1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0 Imports: 43 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 NewResourceSet

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

Types

type Cluster

type Cluster struct {
	*controller.Controller
}

func NewCluster

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

type ClusterConfig

type ClusterConfig struct {
	InstallationName string
	K8sClient        k8sclient.Interface
	Logger           micrologger.Logger

	Azure          setting.Azure
	AzureConfig    client.AzureClientSetConfig
	ProjectName    string
	RegistryDomain string

	Ignition         setting.Ignition
	OIDC             setting.OIDC
	SSOPublicKey     string
	TemplateVersion  string
	VMSSCheckWorkers int
}

type ResourceSetConfig

type ResourceSetConfig struct {
	CertsSearcher certs.Interface
	K8sClient     k8sclient.Interface
	Logger        micrologger.Logger

	Azure                    setting.Azure
	HostAzureClientSetConfig client.AzureClientSetConfig
	Ignition                 setting.Ignition
	InstallationName         string
	ProjectName              string
	RegistryDomain           string
	OIDC                     setting.OIDC
	SSOPublicKey             string
	// TemplateVersion is a git branch name to use to get Azure Resource
	// Manager templates from.
	TemplateVersion  string
	VMSSCheckWorkers int
}

Jump to

Keyboard shortcuts

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