app

package
v5.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 34 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