workload

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHandler

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

func NewEventHandler

func NewEventHandler(start, die EventHandlerFunc) *EventHandler

func (*EventHandler) Watch

func (e *EventHandler) Watch(ctx context.Context, c <-chan *types.WorkloadEventMessage)

type EventHandlerFunc

type EventHandlerFunc func(context.Context, *types.WorkloadEventMessage)

EventHandlerFunc reacts to one workload event.

type Manager

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

func NewManager

func NewManager(ctx context.Context, config *types.Config, clients *manager.Clients) *Manager

func (*Manager) PullLog

func (m *Manager) PullLog(ctx context.Context, app string, buf *bufio.ReadWriter)

func (*Manager) Run

func (m *Manager) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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