Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
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 }
Click to show internal directories.
Click to hide internal directories.