cfg

package
v0.0.0-...-4df37e3 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Namespace where controller is running
	Namespace string `envconfig:""`
	// ServiceAccount of controller
	ServiceAccount string `envconfig:"optional"`
	// Provisioned services will use this IngressClass / StorageClass or default (if empty)
	IngressClass string `envconfig:"optional"`
	StorageClass string `envconfig:"optional"`

	Plugins []struct {
		Name string
		Path string
	} `envconfig:"optional"`

	// additional options for service environment configuration
	SvcOpts struct {
		TLSSecretName string `envconfig:"optional"`
	} `envconfig:"optional"`

	Backups struct {
		Enabled          bool `enconfig:"default=false,optional"`
		SnapshotsEnabled bool `envconfig:"optional"`
	} `envconfig:"optional"`

	DeploymentId string `envconfig:"optional"`
	SentryDsn    string `envconfig:"optional"`
}

func NewConfig

func NewConfig() (*Config, error)

Jump to

Keyboard shortcuts

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