configurer

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 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