mocks

package
v0.0.0-...-5689243 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCheckForUpdatesSchedule

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

MockCheckForUpdatesSchedule is a mock of CheckForUpdatesSchedule interface

func NewMockCheckForUpdatesSchedule

func NewMockCheckForUpdatesSchedule(ctrl *gomock.Controller) *MockCheckForUpdatesSchedule

NewMockCheckForUpdatesSchedule creates a new mock instance

func (*MockCheckForUpdatesSchedule) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCheckForUpdatesSchedule) ShouldCheckForUpdate

func (m *MockCheckForUpdatesSchedule) ShouldCheckForUpdate(currentTime time.Time) (bool, error)

ShouldCheckForUpdate mocks base method

func (*MockCheckForUpdatesSchedule) UpdatesChecked

func (m *MockCheckForUpdatesSchedule) UpdatesChecked(timeUpdatesWhereChecked time.Time) error

UpdatesChecked mocks base method

type MockCheckForUpdatesScheduleMockRecorder

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

MockCheckForUpdatesScheduleMockRecorder is the mock recorder for MockCheckForUpdatesSchedule

func (*MockCheckForUpdatesScheduleMockRecorder) ShouldCheckForUpdate

func (mr *MockCheckForUpdatesScheduleMockRecorder) ShouldCheckForUpdate(currentTime interface{}) *gomock.Call

ShouldCheckForUpdate indicates an expected call of ShouldCheckForUpdate

func (*MockCheckForUpdatesScheduleMockRecorder) UpdatesChecked

func (mr *MockCheckForUpdatesScheduleMockRecorder) UpdatesChecked(timeUpdatesWhereChecked interface{}) *gomock.Call

UpdatesChecked indicates an expected call of UpdatesChecked

type MockRequester

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

MockRequester is a mock of Requester interface

func NewMockRequester

func NewMockRequester(ctrl *gomock.Controller) *MockRequester

NewMockRequester creates a new mock instance

func (*MockRequester) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRequester) Fetch

func (m *MockRequester) Fetch(url string) (io.ReadCloser, error)

Fetch mocks base method

type MockRequesterMockRecorder

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

MockRequesterMockRecorder is the mock recorder for MockRequester

func (*MockRequesterMockRecorder) Fetch

func (mr *MockRequesterMockRecorder) Fetch(url interface{}) *gomock.Call

Fetch indicates an expected call of Fetch

type MockUpdatableResolver

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

MockUpdatableResolver is a mock of UpdatableResolver interface

func NewMockUpdatableResolver

func NewMockUpdatableResolver(ctrl *gomock.Controller) *MockUpdatableResolver

NewMockUpdatableResolver creates a new mock instance

func (*MockUpdatableResolver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUpdatableResolver) Resolve

func (m *MockUpdatableResolver) Resolve() (string, error)

Resolve mocks base method

type MockUpdatableResolverMockRecorder

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

MockUpdatableResolverMockRecorder is the mock recorder for MockUpdatableResolver

func (*MockUpdatableResolverMockRecorder) Resolve

Resolve indicates an expected call of Resolve

Jump to

Keyboard shortcuts

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