dependencies

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Overview

Package dependencies provides functions to resolve operator dependencies of operator packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependency

type Dependency struct {
	packages.Resources

	PackageName string
}

func Resolve

func Resolve(operatorArgument string, operatorVersion *kudoapi.OperatorVersion, resolver pkgresolver.Resolver) ([]Dependency, error)

Resolve resolves all dependencies of an OperatorVersion. Dependencies are resolved recursively. Cyclic dependencies are detected and result in an error. operatorArgument parameter is string that the user passed to install/upgrade an operator which is used to determine whether this is a local operator in a directory. In that case all its relative dependencies (if any exist) will be relative to the operator directory (the one with `operator.yaml` file). See github.com/kudobuilder/kudo/issues/1701 for additional context.

Jump to

Keyboard shortcuts

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