watchtower: github.com/containrrr/watchtower/pkg/container/mocks Index | Files

package mocks

import "github.com/containrrr/watchtower/pkg/container/mocks"

Index

Package Files

ApiServer.go FilterableContainer.go

func NewMockAPIServer Uses

func NewMockAPIServer() *httptest.Server

NewMockAPIServer returns a mocked docker api server that responds to some fixed requests used in the test suite.

type FilterableContainer Uses

type FilterableContainer struct {
    mock.Mock
}

FilterableContainer is an autogenerated mock type for the FilterableContainer type

func (*FilterableContainer) Enabled Uses

func (_m *FilterableContainer) Enabled() (bool, bool)

Enabled provides a mock function with given fields:

func (*FilterableContainer) IsWatchtower Uses

func (_m *FilterableContainer) IsWatchtower() bool

IsWatchtower provides a mock function with given fields:

func (*FilterableContainer) Name Uses

func (_m *FilterableContainer) Name() string

Name provides a mock function with given fields:

Package mocks imports 8 packages (graph). Updated 2019-07-22. Refresh now. Tools for package owners.