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 ¶
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.
Click to show internal directories.
Click to hide internal directories.