app

package
v2.35.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppCR

func NewAppCR(config Config) ([]byte, error)

func NewConfigMap

func NewConfigMap(config UserConfig) (*corev1.ConfigMap, error)

func NewSecret

func NewSecret(config UserConfig) (*corev1.Secret, error)

Types

type AppCROutput

type AppCROutput struct {
	AppCR               string
	UserConfigSecret    string
	UserConfigConfigMap string
}

type Config

type Config struct {
	AppName                    string
	Catalog                    string
	CatalogNamespace           string
	Cluster                    string
	DefaultingEnabled          bool
	InCluster                  bool
	InstallTimeout             *metav1.Duration
	Name                       string
	Namespace                  string
	NamespaceConfigAnnotations map[string]string
	NamespaceConfigLabels      map[string]string
	UninstallTimeout           *metav1.Duration
	UpgradeTimeout             *metav1.Duration
	UserConfigConfigMapName    string
	UserConfigSecretName       string
	Organization               string
	RollbackTimeout            *metav1.Duration
	Version                    string
	ExtraLabels                map[string]string
	ExtraAnnotations           map[string]string
	UseClusterValuesConfig     bool
}

type UserConfig

type UserConfig struct {
	Name      string
	Namespace string
	Path      string
	Data      string
}

Jump to

Keyboard shortcuts

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