app

package
v5.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 35 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.

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
	ClientCache *clientcache.Resource
	IndexCache  indexcache.Interface
	Logger      micrologger.Logger

	ChartNamespace    string
	HTTPClientTimeout time.Duration
	ImageRegistry     string
	PodNamespace      string
	Provider          string
	ResyncPeriod      time.Duration
	UniqueApp         bool
	WatchNamespace    string
	WorkloadClusterID string
}

Jump to

Keyboard shortcuts

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