plugin

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: BlueOak-1.0.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...func(*plugin)) validator.Plugin

func WithPolicyPath

func WithPolicyPath(path string) func(*plugin)

Types

type DroneConfig

type DroneConfig struct {
	Kind string `yaml:"kind" json:"kind"`
	Type string `yaml:"type" json:"type"`
	Name string `yaml:"name" json:"name"`
	Data []byte `yaml:"-" json:"-"`
}

type Promotion

type Promotion struct {
	Build    int64  `json:"build,omitempty"`
	DeployTo string `json:"deploy_to,omitempty"`
}

Jump to

Keyboard shortcuts

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