Documentation ¶
Overview ¶
Package llbtest is a generated GoMock package.
Index ¶
- func StateToJSON(t *testing.T, state llb.State) string
- type MockClient
- func (m *MockClient) BuildOpts() client.BuildOpts
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Inputs(arg0 context.Context) (map[string]llb.State, error)
- func (m *MockClient) ResolveImageConfig(arg0 context.Context, arg1 string, arg2 llb.ResolveImageConfigOpt) (digest.Digest, []byte, error)
- func (m *MockClient) Solve(arg0 context.Context, arg1 client.SolveRequest) (*client.Result, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) BuildOpts() *gomock.Call
- func (mr *MockClientMockRecorder) Inputs(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ResolveImageConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Solve(arg0, arg1 interface{}) *gomock.Call
- type MockReference
- func (m *MockReference) EXPECT() *MockReferenceMockRecorder
- func (m *MockReference) ReadDir(arg0 context.Context, arg1 client.ReadDirRequest) ([]*types.Stat, error)
- func (m *MockReference) ReadFile(arg0 context.Context, arg1 client.ReadRequest) ([]byte, error)
- func (m *MockReference) StatFile(arg0 context.Context, arg1 client.StatRequest) (*types.Stat, error)
- func (m *MockReference) ToState() (llb.State, error)
- type MockReferenceMockRecorder
- func (mr *MockReferenceMockRecorder) ReadDir(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReferenceMockRecorder) ReadFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReferenceMockRecorder) StatFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockReferenceMockRecorder) ToState() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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) 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 ¶
func (m *MockReference) EXPECT() *MockReferenceMockRecorder
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
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