uxp

package
v0.5.0-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Kubeconfig *rest.Config
	Namespace  string
}

Context includes common data that UXP consumers may utilize.

type Installer

type Installer interface {
	GetCurrentVersion() (string, error)
	Install(version string, parameters map[string]interface{}) error
	Upgrade(version string, parameters map[string]interface{}) error
	Uninstall() error
}

Installer can install and manage UXP in a Kubernetes cluster. TODO(hasheddan): support custom error types, such as AlreadyExists.

type ParameterParser

type ParameterParser interface {
	Parse() (map[string]interface{}, error)
}

ParameterParser parses install and upgrade parameters.

Directories

Path Synopsis
installers

Jump to

Keyboard shortcuts

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