app

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppCR

func NewAppCR(config Config) (*applicationv1alpha1.App, error)

func NewConfigmapCR

func NewConfigmapCR(config ConfigMapConfig) (*apiv1.ConfigMap, error)

func NewSecretCR

func NewSecretCR(config SecretConfig) (*apiv1.Secret, error)

Types

type Config

type Config struct {
	Catalog                 string
	Cluster                 string
	UserConfigConfigMapName string
	UserConfigSecretName    string
	Name                    string
	Namespace               string
	Version                 string
}

type ConfigMapConfig

type ConfigMapConfig struct {
	Data      string
	Name      string
	Namespace string
}

type SecretConfig

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

Jump to

Keyboard shortcuts

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