generator

package
v0.0.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAssetChecks

func AddAssetChecks(cfg *config.Config, a config.Target, l log.Logger) error

func ComputeFingerprint

func ComputeFingerprint(args ...interface{}) string

func GenerateChecksFromTargets

func GenerateChecksFromTargets(cfg *config.Config, l log.Logger) error

GenerateChecksFromTargets expands the list of targets by inferring missing AssetTypes and generates the list of checks to run based on the available Checktypes and AssetType.

func GenerateJobs

func GenerateJobs(cfg *config.Config, agentIp, hostIp string, gs gitservice.GitService, l log.Logger) ([]jobrunner.Job, error)

func GetValidDirectory

func GetValidDirectory(path string) (string, error)

func GetValidGitDirectory

func GetValidGitDirectory(path string) (string, error)

func ImportRepositories

func ImportRepositories(cfg *config.Config, l log.Logger) error

func SendJobs

func SendJobs(jobs []jobrunner.Job, arn, endpoint string, l log.Logger) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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