types

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter func(FilterableContainer) bool

A Filter is a prototype for a function that can be used to filter the results from a call to the ListContainers() method on the Client.

type FilterableContainer

type FilterableContainer interface {
	Name() string
	IsWatchtower() bool
	Enabled() (bool, bool)
	Scope() (string, bool)
}

A FilterableContainer is the interface which is used to filter containers.

type Notifier

type Notifier interface {
	StartNotification()
	SendNotification()
	Close()
}

Notifier is the interface that all notification services have in common

type UpdateParams added in v0.3.11

type UpdateParams struct {
	Filter         Filter
	Cleanup        bool
	NoRestart      bool
	Timeout        time.Duration
	MonitorOnly    bool
	LifecycleHooks bool
	RollingRestart bool
}

UpdateParams contains all different options available to alter the behavior of the Update func

Jump to

Keyboard shortcuts

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