mocks

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

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 MockRegistry

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

MockRegistry is a mock of Registry interface.

func NewMockRegistry

func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry

NewMockRegistry creates a new mock instance.

func (*MockRegistry) Close

func (m *MockRegistry) Close() error

Close mocks base method.

func (*MockRegistry) EXPECT

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

func (*MockRegistry) GetArchitecture

func (m *MockRegistry) GetArchitecture(arg0, arg1 string) (string, error)

GetArchitecture mocks base method.

func (*MockRegistry) ImageRepoDetails

func (m *MockRegistry) ImageRepoDetails() docker.ImageRepoDetails

ImageRepoDetails mocks base method.

func (*MockRegistry) Ping

func (m *MockRegistry) Ping() error

Ping mocks base method.

func (*MockRegistry) RefreshAuth

func (m *MockRegistry) RefreshAuth() error

RefreshAuth mocks base method.

func (*MockRegistry) ShouldRefreshAuth

func (m *MockRegistry) ShouldRefreshAuth() (bool, *time.Duration)

ShouldRefreshAuth mocks base method.

func (*MockRegistry) Tags

func (m *MockRegistry) Tags(arg0 string) (tools.Versions, error)

Tags mocks base method.

type MockRegistryMockRecorder

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

MockRegistryMockRecorder is the mock recorder for MockRegistry.

func (*MockRegistryMockRecorder) Close

func (mr *MockRegistryMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockRegistryMockRecorder) GetArchitecture

func (mr *MockRegistryMockRecorder) GetArchitecture(arg0, arg1 interface{}) *gomock.Call

GetArchitecture indicates an expected call of GetArchitecture.

func (*MockRegistryMockRecorder) ImageRepoDetails

func (mr *MockRegistryMockRecorder) ImageRepoDetails() *gomock.Call

ImageRepoDetails indicates an expected call of ImageRepoDetails.

func (*MockRegistryMockRecorder) Ping

func (mr *MockRegistryMockRecorder) Ping() *gomock.Call

Ping indicates an expected call of Ping.

func (*MockRegistryMockRecorder) RefreshAuth

func (mr *MockRegistryMockRecorder) RefreshAuth() *gomock.Call

RefreshAuth indicates an expected call of RefreshAuth.

func (*MockRegistryMockRecorder) ShouldRefreshAuth

func (mr *MockRegistryMockRecorder) ShouldRefreshAuth() *gomock.Call

ShouldRefreshAuth indicates an expected call of ShouldRefreshAuth.

func (*MockRegistryMockRecorder) Tags

func (mr *MockRegistryMockRecorder) Tags(arg0 interface{}) *gomock.Call

Tags indicates an expected call of Tags.

type MockRoundTripper

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

MockRoundTripper is a mock of RoundTripper interface.

func NewMockRoundTripper

func NewMockRoundTripper(ctrl *gomock.Controller) *MockRoundTripper

NewMockRoundTripper creates a new mock instance.

func (*MockRoundTripper) EXPECT

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

func (*MockRoundTripper) RoundTrip

func (m *MockRoundTripper) RoundTrip(arg0 *http.Request) (*http.Response, error)

RoundTrip mocks base method.

type MockRoundTripperMockRecorder

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

MockRoundTripperMockRecorder is the mock recorder for MockRoundTripper.

func (*MockRoundTripperMockRecorder) RoundTrip

func (mr *MockRoundTripperMockRecorder) RoundTrip(arg0 interface{}) *gomock.Call

RoundTrip indicates an expected call of RoundTrip.

Jump to

Keyboard shortcuts

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