action

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnpinnedFound = errors.New("frizbee found unpinned actions or container images")

ErrUnpinnedFound is the error returned when unpinned actions or container images are found

Functions

This section is empty.

Types

type FrizbeeAction

type FrizbeeAction struct {
	Client            *github.Client
	Token             string
	RepoOwner         string
	RepoName          string
	ActionsPath       string
	DockerfilesPath   string
	KubernetesPath    string
	DockerComposePath string
	OpenPR            bool
	FailOnUnpinned    bool
	ActionsReplacer   *replacer.Replacer
	ImagesReplacer    *replacer.Replacer
	BFS               billy.Filesystem
	Repo              *git.Repository
}

func (*FrizbeeAction) Run

func (fa *FrizbeeAction) Run(ctx context.Context) error

Run runs the frizbee action

Jump to

Keyboard shortcuts

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