action

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GZIP = "application/gzip"
	ZSTD = "application/zstd"
	NONE = "none"
)

Variables

View Source
var ImageBlacklist = []string{"repository.yaml", "tree.tar", "repository.meta.yaml.tar", "compilertree.tar"}

ImageBlacklist has a list of images that we need to skip as they dont contain mtree checks

Functions

func NewCheckAction

func NewCheckAction(t string, v string, f string, x []string) *checkAction

func NewGenerateAction

func NewGenerateAction(t string, o string, k []string, K []string) *generateAction

func UnpackAndMtree

func UnpackAndMtree(image string, destination string) (map[string]string, error)

Types

type EventData

type EventData struct {
	Image string
	Dest  string
}

type LuetEvent

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

func NewEventDispatcherAction

func NewEventDispatcherAction(event string, payload string) *LuetEvent

func (LuetEvent) Run

func (event LuetEvent) Run() (map[string]string, error)

type UnpackEvent

type UnpackEvent struct {
	Name string `json:"name"`
	Data string `json:"data"`
	File string `json:"file"`
}

type YamlMtree

type YamlMtree struct {
	Mtree string
}

Jump to

Keyboard shortcuts

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