buildjob

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger() logr.Logger

Types

type Config

type Config struct {
	ResourceName        string
	ResourceNamespace   string
	BrokerOpts          *message.Options
	PreparerPluginsPath string
	EnableLayerCaching  bool
	Debug               bool
}

type Job

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

func New

func New(cfg Config) (*Job, error)

func (*Job) Cleanup

func (j *Job) Cleanup(forced bool)

func (*Job) Run

func (j *Job) Run() error

type StatusUpdate

type StatusUpdate struct {
	Name          string            `json:"name"`
	Annotations   map[string]string `json:"annotations"`
	ObjectLink    string            `json:"objectLink"`
	PreviousState string            `json:"previousState"`
	CurrentState  string            `json:"currentState"`
	ErrorMessage  string            `json:"errorMessage"`
	ImageURLs     []string          `json:"imageURLs"`
	ImageSize     uint64            `json:"imageSize"`
}

Jump to

Keyboard shortcuts

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