core

package
v0.0.0-...-a25484f Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ParamsBlacklist = []string{
	"source",
	"source_id",
	"source_safe",
}

Functions

func InitConfig

func InitConfig(options *libs.Options) error

Types

type Runner

type Runner struct {
	Target    string
	Workspace string
	Workflow  libs.Workflow
	Options   *libs.Options
	Reports   []string
	DSL       map[string]interface{}

	Params map[string]string
}

func InitRunner

func InitRunner(target string, options *libs.Options) (*Runner, error)

func (*Runner) CheckConditions

func (r *Runner) CheckConditions(conditions []string) bool

func (*Runner) CheckRequirements

func (r *Runner) CheckRequirements(requirements []string) bool

func (*Runner) ParseString

func (r *Runner) ParseString(value string) (output string)

func (*Runner) ParseTemplate

func (r *Runner) ParseTemplate(filePath string) (output []byte, err error)

func (*Runner) RunStep

func (r *Runner) RunStep(step *libs.Step)

func (*Runner) Start

func (r *Runner) Start()

func (*Runner) ValidateInputType

func (r *Runner) ValidateInputType() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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