argoapp

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func NewApplication

func NewApplication(config ApplicationConfig) (*unstructured.Unstructured, error)

Types

type ApplicationConfig

type ApplicationConfig struct {
	// Name of the Argo CD Application CR to be created in the argocd
	// namespace.
	Name string

	// AppName as defined in the App Catalog.
	AppName string
	// AppVersion as defined in the App Catalog.
	AppVersion string
	// AppCatalog name.
	AppCatalog string
	// AppDestinationNamespace is the namespace where the application's
	// manifests are created.
	AppDestinationNamespace string

	// ConfigRef is the valid git ref of giantswarm/config repository used
	// to configure the application. Usually the desired value is the major
	// tag, e.g.: v1, v2, etc.
	ConfigRef string
	// DisableForceUpgrade sets appropriate annotation to prevent helm
	// force upgrades.
	DisableForceUpgrade bool
}

Jump to

Keyboard shortcuts

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