assessor

package
v1.0.0-ps Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAssessments

func GetAssessments(files deckodertypes.FileMap) (assessments []*types.Assessment)

func LoadRequiredFiles

func LoadRequiredFiles() (filenames []string)

func LoadRequiredPermissions

func LoadRequiredPermissions() (permissions []os.FileMode)

func RegisterAssessor

func RegisterAssessor(a Assessor)

Types

type Assessor

type Assessor interface {
	Assess(deckodertypes.FileMap) ([]*types.Assessment, error)
	RequiredFiles() []string
	RequiredPermissions() []os.FileMode
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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