install

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultOptions = &Options{
	Namespace: "default",
}

DefaultOptions initializes the install command options to its defaults

Functions

func GetPackageCRDs added in v0.5.0

func GetPackageCRDs(name string, version string, repository repo.Repository) (*bundle.PackageCRDs, error)

GetPackageCRDs tries to look for package files resolving the operator name to: - a local tar.gz file - a local directory - a url to a tar.gz - a operator name in the remote repository in that order. Should there exist a local folder e.g. `cassandra` it will take precedence over the remote repository package with the same name.

func GetParameterMap added in v0.5.0

func GetParameterMap(raw []string) (map[string]string, error)

GetParameterMap takes a slice of parameter strings, parses parameters into a map of keys and values

func Run added in v0.3.0

func Run(args []string, options *Options) error

Run returns the errors associated with cmd env

func VersionExists added in v0.5.0

func VersionExists(versions []string, currentVersion string) bool

VersionExists looks for string version inside collection of versions

Types

type Options added in v0.3.0

type Options struct {
	InstanceName   string
	Namespace      string
	Parameters     map[string]string
	PackageVersion string
	SkipInstance   bool
}

Options defines configuration options for the install command

Jump to

Keyboard shortcuts

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