app

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 26 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 NewResourceSet added in v1.0.1

func NewResourceSet(config ResourceSetConfig) (*controller.ResourceSet, error)

NewResourceSet returns a configured App controller ResourceSet.

Types

type App

type App struct {
	*controller.Controller
}

func NewApp

func NewApp(config Config) (*App, error)

type Config

type Config struct {
	Fs        afero.Fs
	K8sClient k8sclient.Interface
	Logger    micrologger.Logger

	ChartNamespace string
	ImageRegistry  string
}

type ResourceSetConfig added in v1.0.1

type ResourceSetConfig struct {
	// Dependencies.
	FileSystem afero.Fs
	K8sClient  k8sclient.Interface
	Logger     micrologger.Logger

	// Settings.
	ChartNamespace string
	ImageRegistry  string
}

ResourceSetConfig contains necessary dependencies and settings for AppConfig controller ResourceSet configuration.

Jump to

Keyboard shortcuts

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