Documentation ¶
Index ¶
- Variables
- func GetPackageCRDs(name string, version string, repository repo.Repository) (*bundle.PackageCRDs, error)
- func GetParameterMap(raw []string) (map[string]string, error)
- func Run(args []string, options *Options) error
- func VersionExists(versions []string, currentVersion string) bool
- type Options
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
GetParameterMap takes a slice of parameter strings, parses parameters into a map of keys and values
func VersionExists ¶ added in v0.5.0
VersionExists looks for string version inside collection of versions
Types ¶
Click to show internal directories.
Click to hide internal directories.