mock

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance

func (*MockInterface) EXPECT

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

func (*MockInterface) Pull

func (m *MockInterface) Pull(ctx context.Context, resolver remotes.Resolver, ref string, ingester content.Ingester, opts ...oras.PullOpt) (v1.Descriptor, []v1.Descriptor, error)

Pull mocks base method

func (*MockInterface) Push

func (m *MockInterface) Push(ctx context.Context, resolver remotes.Resolver, ref string, provider content.Provider, descriptors []v1.Descriptor, opts ...oras.PushOpt) (v1.Descriptor, error)

Push mocks base method

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) Pull

func (mr *MockInterfaceMockRecorder) Pull(ctx, resolver, ref, ingester interface{}, opts ...interface{}) *gomock.Call

Pull indicates an expected call of Pull

func (*MockInterfaceMockRecorder) Push

func (mr *MockInterfaceMockRecorder) Push(ctx, resolver, ref, provider, descriptors interface{}, opts ...interface{}) *gomock.Call

Push indicates an expected call of Push

Jump to

Keyboard shortcuts

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