app

package
v5.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExecutionFailedError

func IsExecutionFailedError(err error) bool

func Marshal

func Marshal(appCR *applicationv1alpha1.App, format string) (string, error)

func NewCR

func NewCR(c Config) *applicationv1alpha1.App

NewCR returns new application CR.

AppCatalog is the name of the app catalog where the app stored.

func Print

func Print(w io.Writer, format string, appCR *applicationv1alpha1.App) error

Types

type Config

type Config struct {
	AppCatalog          string
	AppName             string
	AppNamespace        string
	AppVersion          string
	ConfigVersion       string
	DisableForceUpgrade bool
	InCluster           bool
	Name                string
	Namespace           string
	UserConfigMapName   string
	UserSecretName      string
}

Jump to

Keyboard shortcuts

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