dcwatch

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: Apache-2.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 DisableSubscriber added in v0.23.5

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

func NewDisableSubscriber added in v0.23.5

func NewDisableSubscriber(dcc dockercompose.DockerComposeClient, clock clockwork.Clock) *DisableSubscriber

func (*DisableSubscriber) OnChange added in v0.23.5

func (w *DisableSubscriber) OnChange(ctx context.Context, st store.RStore, summary store.ChangeSummary) error

func (*DisableSubscriber) Reconcile added in v0.24.0

func (w *DisableSubscriber) Reconcile(ctx context.Context)

type EventAction

type EventAction struct {
	Event          dockercompose.Event
	Time           time.Time
	ContainerState types.ContainerState
}

func NewEventAction

func NewEventAction(evt dockercompose.Event, state types.ContainerState) EventAction

func (EventAction) Action

func (EventAction) Action()

type EventWatcher

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

func (*EventWatcher) OnChange

func (w *EventWatcher) OnChange(ctx context.Context, st store.RStore, summary store.ChangeSummary) error

Jump to

Keyboard shortcuts

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