Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Supplement ¶
func Supplement(logger logr.Logger, opResults []records.OperationResult) []records.EnhancedResult
Types ¶
type Enhancer ¶
type Enhancer interface { // Enhance assumption: opr not nil Enhance(opr records.OperationResult) records.EnhancedResult LType() records.LibType }
type Fs ¶
type Fs struct{}
func NewFsEnhancer ¶
func NewFsEnhancer() Fs
func (Fs) Enhance ¶
func (f Fs) Enhance(opr records.OperationResult) records.EnhancedResult
type Golang ¶
type Golang struct{}
func NewGolangEnhancer ¶
func NewGolangEnhancer() Golang
func (Golang) Enhance ¶
func (g Golang) Enhance(opResult records.OperationResult) records.EnhancedResult
type HashMethod ¶
type HashMethod interface { // Validate returns an error if this library is not valid for hashing Validate(lib rc.Library) error // Hash returns the additional sha1 for this library Hash(lib rc.Library) string }
HashMethod represents the methods used to calculate the additional sha1 for a library
type Java ¶
type Java struct {
// contains filtered or unexported fields
}
func NewJavaEnhancer ¶
func (Java) Enhance ¶
func (j Java) Enhance(opr records.OperationResult) records.EnhancedResult
Click to show internal directories.
Click to hide internal directories.