llbtest

package
v0.0.0-...-25f2897 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package llbtest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StateToJSON

func StateToJSON(t *testing.T, state llb.State) string

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) BuildOpts

func (m *MockClient) BuildOpts() client.BuildOpts

BuildOpts mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Inputs

func (m *MockClient) Inputs(arg0 context.Context) (map[string]llb.State, error)

Inputs mocks base method

func (*MockClient) ResolveImageConfig

func (m *MockClient) ResolveImageConfig(arg0 context.Context, arg1 string, arg2 llb.ResolveImageConfigOpt) (digest.Digest, []byte, error)

ResolveImageConfig mocks base method

func (*MockClient) Solve

func (m *MockClient) Solve(arg0 context.Context, arg1 client.SolveRequest) (*client.Result, error)

Solve mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) BuildOpts

func (mr *MockClientMockRecorder) BuildOpts() *gomock.Call

BuildOpts indicates an expected call of BuildOpts

func (*MockClientMockRecorder) Inputs

func (mr *MockClientMockRecorder) Inputs(arg0 interface{}) *gomock.Call

Inputs indicates an expected call of Inputs

func (*MockClientMockRecorder) ResolveImageConfig

func (mr *MockClientMockRecorder) ResolveImageConfig(arg0, arg1, arg2 interface{}) *gomock.Call

ResolveImageConfig indicates an expected call of ResolveImageConfig

func (*MockClientMockRecorder) Solve

func (mr *MockClientMockRecorder) Solve(arg0, arg1 interface{}) *gomock.Call

Solve indicates an expected call of Solve

type MockReference

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

MockReference is a mock of Reference interface

func NewMockReference

func NewMockReference(ctrl *gomock.Controller) *MockReference

NewMockReference creates a new mock instance

func (*MockReference) EXPECT

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

func (*MockReference) ReadDir

func (m *MockReference) ReadDir(arg0 context.Context, arg1 client.ReadDirRequest) ([]*types.Stat, error)

ReadDir mocks base method

func (*MockReference) ReadFile

func (m *MockReference) ReadFile(arg0 context.Context, arg1 client.ReadRequest) ([]byte, error)

ReadFile mocks base method

func (*MockReference) StatFile

func (m *MockReference) StatFile(arg0 context.Context, arg1 client.StatRequest) (*types.Stat, error)

StatFile mocks base method

func (*MockReference) ToState

func (m *MockReference) ToState() (llb.State, error)

ToState mocks base method

type MockReferenceMockRecorder

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

MockReferenceMockRecorder is the mock recorder for MockReference

func (*MockReferenceMockRecorder) ReadDir

func (mr *MockReferenceMockRecorder) ReadDir(arg0, arg1 interface{}) *gomock.Call

ReadDir indicates an expected call of ReadDir

func (*MockReferenceMockRecorder) ReadFile

func (mr *MockReferenceMockRecorder) ReadFile(arg0, arg1 interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile

func (*MockReferenceMockRecorder) StatFile

func (mr *MockReferenceMockRecorder) StatFile(arg0, arg1 interface{}) *gomock.Call

StatFile indicates an expected call of StatFile

func (*MockReferenceMockRecorder) ToState

func (mr *MockReferenceMockRecorder) ToState() *gomock.Call

ToState indicates an expected call of ToState

Jump to

Keyboard shortcuts

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