app

package
v1.42.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 5 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 ConfigMapConfig) (*corev1.ConfigMap, error)

func NewSecret added in v1.29.0

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

Types

type Config

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

type ConfigMapConfig

type ConfigMapConfig struct {
	Data      string
	Name      string
	Namespace string
}

type SecretConfig

type SecretConfig struct {
	Data      []byte
	Name      string
	Namespace string
}

Jump to

Keyboard shortcuts

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