managementcluster

package
v2.4.1-0...-eb90050 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 41 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 {
	K8sClient        k8sclient.Interface
	DynamicK8sClient dynamic.Interface
	Logger           micrologger.Logger
	PrometheusClient promclient.Interface
	VpaClient        vpa_clientset.Interface
	Proxy            func(reqURL *url.URL) (*url.URL, error)

	AdditionalScrapeConfigs string
	Bastions                []string
	Customer                string
	Installation            string
	InsecureCA              bool
	Pipeline                string
	Provider                cluster.Provider
	Region                  string
	Registry                string

	GrafanaAddress string
	OpsgenieKey    string
	SlackApiURL    string

	MimirEnabled bool

	PrometheusAddress            string
	PrometheusBaseDomain         string
	PrometheusEvaluationInterval string
	PrometheusLogLevel           string
	PrometheusScrapeInterval     string
	PrometheusImageRepository    string
	PrometheusVersion            string

	RestrictedAccessEnabled bool
	WhitelistedSubnets      string

	ExternalDNS bool

	Vault string
}

Jump to

Keyboard shortcuts

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