managementcluster

package
v1.24.4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 29 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 Wrap

func Wrap(resources []resource.Interface, config resourcesConfig) ([]resource.Interface, error)

Wrap wrap resource and replace the input object with a Service which is named after the installation.

Types

type Controller

type Controller struct {
	*controller.Controller
}

func NewController

func NewController(config ControllerConfig) (*Controller, error)

type ControllerConfig

type ControllerConfig struct {
	Address                 string
	BaseDomain              string
	Bastions                []string
	Mayu                    string
	Provider                string
	Installation            string
	Pipeline                string
	Region                  string
	Registry                string
	PrometheusVersion       string
	Customer                string
	CreatePVC               bool
	StorageSize             string
	Vault                   string
	RestrictedAccessEnabled bool
	WhitelistedSubnets      string
	RetentionDuration       string
	RetentionSize           string
	OpsgenieKey             string
	RemoteWriteURL          string
	RemoteWriteUsername     string
	RemoteWritePassword     string
	K8sClient               k8sclient.Interface
	Logger                  micrologger.Logger
	PrometheusClient        promclient.Interface
	VpaClient               vpa_clientset.Interface
}

Jump to

Keyboard shortcuts

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