argocd

package
v0.1.0-rc.39 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(
	ctx context.Context,
	repoRoot string,
	cfg ConfigManagementConfig,
) ([]byte, error)

Types

type ApplicationSourceHelm

type ApplicationSourceHelm struct {
	argoappv1.ApplicationSourceHelm

	Namespace   string   `json:"namespace,omitempty"`
	K8SVersion  string   `json:"k8sVersion,omitempty"`
	APIVersions []string `json:"apiVersions,omitempty"`

	RepoURL string `json:"repoURL,omitempty"`
	Chart   string `json:"chart,omitempty"`
}

ApplicationSourceHelm holds configuration for Helm-based applications.

type ApplicationSourceKustomize

type ApplicationSourceKustomize struct {
	argoappv1.ApplicationSourceKustomize
	BuildOptions string `json:"buildOptions,omitempty"`
}

ApplicationSourceKustomize holds configuration for Kustomize-based applications.

type ConfigManagementConfig

type ConfigManagementConfig struct {
	Path      string                                `json:"path,omitempty"`
	Helm      *ApplicationSourceHelm                `json:"helm,omitempty"`
	Kustomize *ApplicationSourceKustomize           `json:"kustomize,omitempty"`
	Directory *argoappv1.ApplicationSourceDirectory `json:"directory,omitempty"`
	Plugin    *argoappv1.ApplicationSourcePlugin    `json:"plugin,omitempty"`
}

ConfigManagementConfig is a wrapper around more specific configuration for the configuration management tools. Only one of its fields may be non-nil.

func (ConfigManagementConfig) Expand

func (c ConfigManagementConfig) Expand(
	values []string,
) (ConfigManagementConfig, error)

Jump to

Keyboard shortcuts

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