dependency

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ExactMatch used to specify that dependant bundle requires the exact version of the dependency to be the
	// last processed bundle.
	ExactMatch dependencyType = "ExactMatch"
	// AtLeast used to specify that dependant bundle requires at least some version of the dependency to be processed.
	AtLeast dependencyType = "AtLeast"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependency

type Dependency struct {
	BundleType     string
	DependencyType dependencyType
}

Dependency represents the dependency between different bundles. a bundle can depend only on one other bundle.

func NewDependency

func NewDependency(bundleType string, dependencyType dependencyType) *Dependency

NewDependency creates a new instance of dependency.

Jump to

Keyboard shortcuts

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