v1

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ResourceRetries presents number of retries for failed Resource
	// operation before giving up.
	ResourceRetries uint64 = 3
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func NewResourceSet

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

NewResourceSet returns a configured ChartConfig controller ResourceSet.

func VersionBundle

func VersionBundle() versionbundle.Bundle

Types

type ResourceSetConfig

type ResourceSetConfig struct {
	// Dependencies.
	ApprClient apprclient.Interface
	Fs         afero.Fs
	HelmClient helmclient.Interface
	K8sClient  kubernetes.Interface
	Logger     micrologger.Logger

	// Settings.
	HandledVersionBundles []string
	ProjectName           string
}

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

Directories

Path Synopsis
resource

Jump to

Keyboard shortcuts

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