mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/go-sigma/sigma/pkg/handlers/distribution/clients (interfaces: Clients)

Generated by this command:

mockgen -destination=mocks/clients.go -package=mocks github.com/go-sigma/sigma/pkg/handlers/distribution/clients Clients

Package mocks is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: github.com/go-sigma/sigma/pkg/handlers/distribution/clients (interfaces: ClientsFactory)

Generated by this command:

mockgen -destination=mocks/clients_factory.go -package=mocks github.com/go-sigma/sigma/pkg/handlers/distribution/clients ClientsFactory

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 MockClients

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

MockClients is a mock of Clients interface.

func NewMockClients

func NewMockClients(ctrl *gomock.Controller) *MockClients

NewMockClients creates a new mock instance.

func (*MockClients) AuthToken

func (m *MockClients) AuthToken() error

AuthToken mocks base method.

func (*MockClients) DoRequest

func (m *MockClients) DoRequest(arg0 context.Context, arg1, arg2 string, arg3 http.Header, arg4 ...io.Reader) (int, http.Header, io.ReadCloser, error)

DoRequest mocks base method.

func (*MockClients) EXPECT

func (m *MockClients) EXPECT() *MockClientsMockRecorder

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

func (*MockClients) GetBlob

GetBlob mocks base method.

func (*MockClients) GetManifest

func (m *MockClients) GetManifest(arg0 context.Context, arg1, arg2 string) (distribution.Manifest, distribution.Descriptor, error)

GetManifest mocks base method.

func (*MockClients) HeadBlob

func (m *MockClients) HeadBlob(arg0 context.Context, arg1 string, arg2 digest.Digest) (distribution.Descriptor, error)

HeadBlob mocks base method.

func (*MockClients) HeadManifest

func (m *MockClients) HeadManifest(arg0 context.Context, arg1, arg2 string) (bool, error)

HeadManifest mocks base method.

func (*MockClients) PutBlob

func (m *MockClients) PutBlob(arg0 context.Context, arg1 string, arg2 digest.Digest, arg3 io.Reader) error

PutBlob mocks base method.

type MockClientsFactory

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

MockClientsFactory is a mock of ClientsFactory interface.

func NewMockClientsFactory

func NewMockClientsFactory(ctrl *gomock.Controller) *MockClientsFactory

NewMockClientsFactory creates a new mock instance.

func (*MockClientsFactory) EXPECT

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

func (*MockClientsFactory) New

New mocks base method.

type MockClientsFactoryMockRecorder

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

MockClientsFactoryMockRecorder is the mock recorder for MockClientsFactory.

func (*MockClientsFactoryMockRecorder) New

New indicates an expected call of New.

type MockClientsMockRecorder

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

MockClientsMockRecorder is the mock recorder for MockClients.

func (*MockClientsMockRecorder) AuthToken

func (mr *MockClientsMockRecorder) AuthToken() *gomock.Call

AuthToken indicates an expected call of AuthToken.

func (*MockClientsMockRecorder) DoRequest

func (mr *MockClientsMockRecorder) DoRequest(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call

DoRequest indicates an expected call of DoRequest.

func (*MockClientsMockRecorder) GetBlob

func (mr *MockClientsMockRecorder) GetBlob(arg0, arg1, arg2 any) *gomock.Call

GetBlob indicates an expected call of GetBlob.

func (*MockClientsMockRecorder) GetManifest

func (mr *MockClientsMockRecorder) GetManifest(arg0, arg1, arg2 any) *gomock.Call

GetManifest indicates an expected call of GetManifest.

func (*MockClientsMockRecorder) HeadBlob

func (mr *MockClientsMockRecorder) HeadBlob(arg0, arg1, arg2 any) *gomock.Call

HeadBlob indicates an expected call of HeadBlob.

func (*MockClientsMockRecorder) HeadManifest

func (mr *MockClientsMockRecorder) HeadManifest(arg0, arg1, arg2 any) *gomock.Call

HeadManifest indicates an expected call of HeadManifest.

func (*MockClientsMockRecorder) PutBlob

func (mr *MockClientsMockRecorder) PutBlob(arg0, arg1, arg2, arg3 any) *gomock.Call

PutBlob indicates an expected call of PutBlob.

Jump to

Keyboard shortcuts

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