mocks

package
v0.0.0-...-dda4347 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 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) GetArchitectures

func (m *MockRegistry) GetArchitectures(arg0, arg1 string) ([]string, error)

GetArchitectures 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) String

func (m *MockRegistry) String() string

String mocks base method.

func (*MockRegistry) Tags

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

Tags mocks base method.

type MockRegistryCloseCall

type MockRegistryCloseCall struct {
	*gomock.Call
}

MockRegistryCloseCall wrap *gomock.Call

func (*MockRegistryCloseCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistryCloseCall) DoAndReturn

func (c *MockRegistryCloseCall) DoAndReturn(f func() error) *MockRegistryCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistryCloseCall) Return

Return rewrite *gomock.Call.Return

type MockRegistryGetArchitecturesCall

type MockRegistryGetArchitecturesCall struct {
	*gomock.Call
}

MockRegistryGetArchitecturesCall wrap *gomock.Call

func (*MockRegistryGetArchitecturesCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistryGetArchitecturesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistryGetArchitecturesCall) Return

Return rewrite *gomock.Call.Return

type MockRegistryImageRepoDetailsCall

type MockRegistryImageRepoDetailsCall struct {
	*gomock.Call
}

MockRegistryImageRepoDetailsCall wrap *gomock.Call

func (*MockRegistryImageRepoDetailsCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistryImageRepoDetailsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistryImageRepoDetailsCall) Return

Return rewrite *gomock.Call.Return

type MockRegistryMockRecorder

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

MockRegistryMockRecorder is the mock recorder for MockRegistry.

func (*MockRegistryMockRecorder) Close

Close indicates an expected call of Close.

func (*MockRegistryMockRecorder) GetArchitectures

func (mr *MockRegistryMockRecorder) GetArchitectures(arg0, arg1 any) *MockRegistryGetArchitecturesCall

GetArchitectures indicates an expected call of GetArchitectures.

func (*MockRegistryMockRecorder) ImageRepoDetails

ImageRepoDetails indicates an expected call of ImageRepoDetails.

func (*MockRegistryMockRecorder) Ping

Ping indicates an expected call of Ping.

func (*MockRegistryMockRecorder) RefreshAuth

RefreshAuth indicates an expected call of RefreshAuth.

func (*MockRegistryMockRecorder) ShouldRefreshAuth

ShouldRefreshAuth indicates an expected call of ShouldRefreshAuth.

func (*MockRegistryMockRecorder) String

String indicates an expected call of String.

func (*MockRegistryMockRecorder) Tags

Tags indicates an expected call of Tags.

type MockRegistryPingCall

type MockRegistryPingCall struct {
	*gomock.Call
}

MockRegistryPingCall wrap *gomock.Call

func (*MockRegistryPingCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistryPingCall) DoAndReturn

func (c *MockRegistryPingCall) DoAndReturn(f func() error) *MockRegistryPingCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistryPingCall) Return

Return rewrite *gomock.Call.Return

type MockRegistryRefreshAuthCall

type MockRegistryRefreshAuthCall struct {
	*gomock.Call
}

MockRegistryRefreshAuthCall wrap *gomock.Call

func (*MockRegistryRefreshAuthCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistryRefreshAuthCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistryRefreshAuthCall) Return

Return rewrite *gomock.Call.Return

type MockRegistryShouldRefreshAuthCall

type MockRegistryShouldRefreshAuthCall struct {
	*gomock.Call
}

MockRegistryShouldRefreshAuthCall wrap *gomock.Call

func (*MockRegistryShouldRefreshAuthCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistryShouldRefreshAuthCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistryShouldRefreshAuthCall) Return

Return rewrite *gomock.Call.Return

type MockRegistryStringCall

type MockRegistryStringCall struct {
	*gomock.Call
}

MockRegistryStringCall wrap *gomock.Call

func (*MockRegistryStringCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistryStringCall) DoAndReturn

func (c *MockRegistryStringCall) DoAndReturn(f func() string) *MockRegistryStringCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistryStringCall) Return

Return rewrite *gomock.Call.Return

type MockRegistryTagsCall

type MockRegistryTagsCall struct {
	*gomock.Call
}

MockRegistryTagsCall wrap *gomock.Call

func (*MockRegistryTagsCall) Do

Do rewrite *gomock.Call.Do

func (*MockRegistryTagsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRegistryTagsCall) Return

Return rewrite *gomock.Call.Return

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

RoundTrip indicates an expected call of RoundTrip.

type MockRoundTripperRoundTripCall

type MockRoundTripperRoundTripCall struct {
	*gomock.Call
}

MockRoundTripperRoundTripCall wrap *gomock.Call

func (*MockRoundTripperRoundTripCall) Do

Do rewrite *gomock.Call.Do

func (*MockRoundTripperRoundTripCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRoundTripperRoundTripCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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