raw

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseManifestYAML added in v0.0.5

func ParseManifestYAML(manifest, namespace string) ([]corev1.ObjectReference, error)

ParseManifestYAML splits yaml manifests with multiple K8s object specs and returns list of workload object references

Types

type App added in v0.0.4

type App struct {
	// contains filtered or unexported fields
}

App represents K8s app defined with plain YAML manifests

func New

func New(c config.App, log *log.Logger) (*App, error)

New returns new instance of raw App

func (*App) Install added in v0.0.4

func (r *App) Install(ctx context.Context, name, namespace, version string, options map[string]string) error

Install installs the app specified by name, version and namespace.

func (*App) Search added in v0.0.4

func (r *App) Search(ctx context.Context, name string) (string, error)

Search searches the app specified by name.

func (*App) Uninstall added in v0.0.4

func (r *App) Uninstall(ctx context.Context, name, namespace string) error

Uninstall uninstalls the app specified by name and namespace.

func (*App) Workloads added in v0.0.5

func (r *App) Workloads(ctx context.Context, namespace string) ([]corev1.ObjectReference, error)

Workloads returns K8s workload object reference list for the raw app

Jump to

Keyboard shortcuts

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