component

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingNamespaces = errors.New("no namespaces specified")
	ErrInvalidNamespace  = errors.New("invalid namespace name")
)

Functions

This section is empty.

Types

type BuildDispatcherComponent

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

func BuildDispatcher

func BuildDispatcher(
	cfg config.Buildkit,
	pool worker.Pool,
	nr *newrelic.Application,
	ch <-chan client.ObjectKey,
) *BuildDispatcherComponent

func (*BuildDispatcherComponent) GetReadyCondition

func (c *BuildDispatcherComponent) GetReadyCondition() string

func (*BuildDispatcherComponent) Initialize

func (c *BuildDispatcherComponent) Initialize(ctx *core.Context, _ *ctrl.Builder) error

func (*BuildDispatcherComponent) Reconcile

func (c *BuildDispatcherComponent) Reconcile(ctx *core.Context) (ctrl.Result, error)

type DeleteBroadcastComponent

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

func DeleteBroadcaster

func DeleteBroadcaster(ch chan<- client.ObjectKey) *DeleteBroadcastComponent

func (*DeleteBroadcastComponent) Reconcile

func (c *DeleteBroadcastComponent) Reconcile(ctx *core.Context) (ctrl.Result, error)

type ImageBuildGC added in v0.7.0

type ImageBuildGC struct {
	HistoryLimit int
	Client       client.Client
	Namespaces   []string
}

func (*ImageBuildGC) GC added in v0.7.0

func (gc *ImageBuildGC) GC(ctx context.Context) error

func (*ImageBuildGC) Start added in v0.7.0

func (gc *ImageBuildGC) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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