config

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(fs afero.Fs) string

func Read

func Read(fs afero.Fs, cfg *Config, filePath string) error

func Validate

func Validate(cfg *Config) error

Types

type Config

type Config struct {
	Excludes []*Exclude
}

type Exclude

type Exclude struct {
	PolicyName       string `yaml:"policy_name"`
	WorkflowFilePath string `yaml:"workflow_file_path"`
	ActionFilePath   string `yaml:"action_file_path"`
	JobName          string `yaml:"job_name"`
	ActionName       string `yaml:"action_name"`
	StepID           string `yaml:"step_id"`
}

Jump to

Keyboard shortcuts

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