action

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package action provides the actual frizbee action

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

	ActionsPaths       []string
	DockerfilesPaths   []string
	KubernetesPaths    []string
	DockerComposePaths []string

	OpenPR          bool
	FailOnUnpinned  bool
	ActionsReplacer *replacer.Replacer
	ImagesReplacer  *replacer.Replacer
	BFS             billy.Filesystem
	Repo            *git.Repository
}

FrizbeeAction is the main struct for the frizbee action

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