argocd

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjectName

func GetProjectName(destination terra.Destination) string

Types

type ArgoDestination added in v0.0.24

type ArgoDestination struct {
	Server    string `yaml:"server"`
	Namespace string `yaml:"namespace"`
}

type Values

type Values struct {
	Destinations []ArgoDestination `yaml:"destinations"`
}

func GetDestinationValues

func GetDestinationValues(destination terra.Destination) Values

Generate a set of values with a list of ArgoCD project destinations, in the form:

destinations:

  • server: https://<cluster api address>/ namespace: namespace1
  • server: https://<cluster api address>/ namespace: namespace2

Jump to

Keyboard shortcuts

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