controlplane

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControlPlaneWrap added in v1.3.0

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

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

func IsInvalidConfig added in v1.3.0

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

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
	Provider                string
	Installation            string
	CreatePVC               bool
	StorageSize             string
	Vault                   string
	RestrictedAccessEnabled bool
	WhitelistedSubnets      string
	K8sClient               k8sclient.Interface
	Logger                  micrologger.Logger
	PrometheusClient        promclient.Interface
}

Jump to

Keyboard shortcuts

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