config

package
v1.24.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessEntry

type AccessEntry struct {
	Group string `json:"group,omitempty"`
	Kind  string `json:"kind,omitempty"`
}

type ArgoCdDestination

type ArgoCdDestination struct {
	Name                 string  `json:"name"`
	Server               string  `json:"server"`
	Namespace            *string `json:"namespace,omitempty"`
	AppProjectNamespace  *string `json:"appProjectNamespace,omitempty"`
	ApplicationNamespace *string `json:"applicationNamespace,omitempty"`
}

ArgoCdDestination Namespace takes precedence over AppProjectNamespace and ApplicationNamespace. To use the latter attributes, omit the Namespace attribute.

type ArgoCdIgnoreDifference

type ArgoCdIgnoreDifference struct {
	Group                 string   `json:"group,omitempty"`
	Kind                  string   `json:"kind"`
	Name                  string   `json:"name,omitempty"`
	Namespace             string   `json:"namespace,omitempty"`
	JSONPointers          []string `json:"jsonPointers,omitempty"`
	JqPathExpressions     []string `json:"jqPathExpressions,omitempty"`
	ManagedFieldsManagers []string `json:"managedFieldsManagers,omitempty"`
}

type ArgoCdSyncWindow

type ArgoCdSyncWindow struct {
	Schedule string   `json:"schedule,omitempty"`
	Duration string   `json:"duration,omitempty"`
	Kind     string   `json:"kind,omitempty"`
	Apps     []string `json:"applications,omitempty"`
}

type EnvironmentConfig

type EnvironmentConfig struct {
	Upstream         *EnvironmentConfigUpstream `json:"upstream,omitempty"`
	ArgoCd           *EnvironmentConfigArgoCd   `json:"argocd,omitempty"`
	EnvironmentGroup *string                    `json:"environmentGroup,omitempty"`
}

type EnvironmentConfigArgoCd

type EnvironmentConfigArgoCd struct {
	Destination              ArgoCdDestination        `json:"destination"`
	SyncWindows              []ArgoCdSyncWindow       `json:"syncWindows,omitempty"`
	ClusterResourceWhitelist []AccessEntry            `json:"accessList,omitempty"`
	ApplicationAnnotations   map[string]string        `json:"applicationAnnotations,omitempty"`
	IgnoreDifferences        []ArgoCdIgnoreDifference `json:"ignoreDifferences,omitempty"`
	SyncOptions              []string                 `json:"syncOptions,omitempty"`
}

type EnvironmentConfigUpstream

type EnvironmentConfigUpstream struct {
	Environment string `json:"environment,omitempty"`
	Latest      bool   `json:"latest,omitempty"`
}

Jump to

Keyboard shortcuts

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