watchtower: github.com/containrrr/watchtower/pkg/types Index | Files

package types

import "github.com/containrrr/watchtower/pkg/types"

Index

Package Files

filter.go filterable_container.go notifier.go

type Filter Uses

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 Uses

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

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

type Notifier Uses

type Notifier interface {
    StartNotification()
    SendNotification()
}

Notifier is the interface that all notification services have in common

Package types is imported by 6 packages. Updated 2019-09-12. Refresh now. Tools for package owners.