configurer

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 7 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 {
	Name      string `envconfig:"default=asset-upload-service"`
	Namespace string `envconfig:"default=kyma-system"`
	Enabled   bool   `envconfig:"default=true"`
}

type Configurer

type Configurer struct {
	// contains filtered or unexported fields
}

func New

func New(client corev1.CoreV1Interface, cfg Config) *Configurer

func (*Configurer) Load

func (c *Configurer) Load() (*SharedAppConfig, error)

func (*Configurer) Save

func (c *Configurer) Save(config SharedAppConfig) error

type SharedAppConfig

type SharedAppConfig struct {
	SystemBuckets bucket.SystemBucketNames
}

Jump to

Keyboard shortcuts

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