dependencies

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 7 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
}

func Resolve

func Resolve(operatorVersion *kudoapi.OperatorVersion, resolver packages.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