watcher

package
v0.1.32 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container added in v0.1.20

type Container struct {
	Container           platforms.IContainer
	Done                bool
	AllowPlatformEvents bool
	ContainerQueue      chan platforms.IContainer      `json:"-"`
	ReadinessChan       chan *readiness.ReadinessState `json:"-"`
	DependencyChan      chan *dependency.State         `json:"-"`
	PauseC              chan platforms.IContainer      `json:"-"`
	Ctx                 context.Context                `json:"-" `
	Cancel              context.CancelFunc             `json:"-"`
	Ticker              *time.Ticker                   `json:"-"`
	Retry               int                            `json:"-"`
	Logger              *zap.Logger
	LogPath             string
	User                *authentication.User `json:"-"`
}

func New added in v0.1.20

func New(containerObj platforms.IContainer, startState string, user *authentication.User) *Container

type Containers

type Containers struct {
	Watchers map[string]*Container
}

func (*Containers) AddOrUpdate added in v0.1.20

func (ContainerWatcher *Containers) AddOrUpdate(groupidentifier string, container *Container)

func (*Containers) Find added in v0.1.20

func (ContainerWatcher *Containers) Find(groupidentifier string) *Container

func (*Containers) Remove added in v0.1.20

func (ContainerWatcher *Containers) Remove(groupidentifier string)

Jump to

Keyboard shortcuts

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