app

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppCR

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

func NewConfigMap added in v1.29.0

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

func NewSecret added in v1.29.0

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

Types

type AppCROutput added in v1.59.0

type AppCROutput struct {
	AppCR               string
	UserConfigSecret    string
	UserConfigConfigMap string
}

type Config

type Config struct {
	AppName                    string
	Catalog                    string
	Cluster                    string
	DefaultingEnabled          bool
	InCluster                  bool
	Name                       string
	Namespace                  string
	NamespaceConfigAnnotations map[string]string
	NamespaceConfigLabels      map[string]string
	UserConfigConfigMapName    string
	UserConfigSecretName       string
	Version                    string
}

type UserConfig added in v1.59.0

type UserConfig struct {
	Name      string
	Namespace string
	Path      string
}

Jump to

Keyboard shortcuts

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