action

package
v0.0.0-...-ae41811 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	// contains filtered or unexported fields
}

func NewAction

func NewAction(ctx context.Context, cfg *Config, ghaction *githubactions.Action) (*Action, error)

func (*Action) Run

func (a *Action) Run() error

type Config

type Config struct {
	Helm             bool
	Kustomizations   []string
	RepoA            string
	RepoB            string
	WriteMarkdown    string
	MarkdownTemplate string
	Filter           string
}

func NewFromInputs

func NewFromInputs(action *githubactions.Action) (*Config, error)

type MarkdownContext

type MarkdownContext struct {
	Diff           string
	RepoA          string
	RepoB          string
	Kustomizations []string
}

Jump to

Keyboard shortcuts

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