operations

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Perform

func Perform(logger logr.Logger, detected map[records.Organ][]string, surgeons map[records.Organ]Surgeon) (results []records.OperationResult)

Perform performs the dependency resolution for all matching manifest files, with the corresponding Surgeons detected is a map from utils.Organ to a list of matching manifest files return: a list of scan result per manifest file

(might be less for multi-module projects)
A scan result will be returned only in a case a Surgeon matching the utils.Organ is found

Types

type Surgeon

type Surgeon interface {
	Validate(paths []string) error

	// Operate confirms the availability of all requirements
	// it processes the manifest files to generate the []utils.OperationResult
	Operate(paths []string) ([]records.OperationResult, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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