Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockKindHandler
- func (m *MockKindHandler) Build(arg0 context.Context, arg1 builddef.BuildOpts) (llb.State, *image.Image, error)
- func (m *MockKindHandler) DebugConfig(arg0 builddef.BuildOpts) (interface{}, error)
- func (m *MockKindHandler) EXPECT() *MockKindHandlerMockRecorder
- func (m *MockKindHandler) UpdateLocks(arg0 context.Context, arg1 pkgsolver.PackageSolversMap, ...) (builddef.Locks, error)
- func (m *MockKindHandler) WithSolver(arg0 statesolver.StateSolver)
- type MockKindHandlerMockRecorder
- func (mr *MockKindHandlerMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKindHandlerMockRecorder) DebugConfig(arg0 interface{}) *gomock.Call
- func (mr *MockKindHandlerMockRecorder) UpdateLocks(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockKindHandlerMockRecorder) WithSolver(arg0 interface{}) *gomock.Call
- type MockPackageSolver
- type MockPackageSolverMockRecorder
- type MockStateSolver
- func (m *MockStateSolver) EXPECT() *MockStateSolverMockRecorder
- func (m *MockStateSolver) ExecImage(arg0 context.Context, arg1 string, arg2 []string) (*bytes.Buffer, error)
- func (m *MockStateSolver) FileExists(arg0 context.Context, arg1 string, arg2 *builddef.Context) (bool, error)
- func (m *MockStateSolver) FromContext(arg0 *builddef.Context, arg1 ...llb.LocalOption) statesolver.ReadFileOpt
- func (m *MockStateSolver) FromImage(arg0 string) statesolver.ReadFileOpt
- func (m *MockStateSolver) ReadFile(arg0 context.Context, arg1 string, arg2 statesolver.ReadFileOpt) ([]byte, error)
- func (m *MockStateSolver) ResolveImageRef(arg0 context.Context, arg1 string) (string, error)
- type MockStateSolverMockRecorder
- func (mr *MockStateSolverMockRecorder) ExecImage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStateSolverMockRecorder) FileExists(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStateSolverMockRecorder) FromContext(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStateSolverMockRecorder) FromImage(arg0 interface{}) *gomock.Call
- func (mr *MockStateSolverMockRecorder) ReadFile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStateSolverMockRecorder) ResolveImageRef(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKindHandler ¶
type MockKindHandler struct {
// contains filtered or unexported fields
}
MockKindHandler is a mock of KindHandler interface
func NewMockKindHandler ¶
func NewMockKindHandler(ctrl *gomock.Controller) *MockKindHandler
NewMockKindHandler creates a new mock instance
func (*MockKindHandler) Build ¶
func (m *MockKindHandler) Build(arg0 context.Context, arg1 builddef.BuildOpts) (llb.State, *image.Image, error)
Build mocks base method
func (*MockKindHandler) DebugConfig ¶
func (m *MockKindHandler) DebugConfig(arg0 builddef.BuildOpts) (interface{}, error)
DebugConfig mocks base method
func (*MockKindHandler) EXPECT ¶
func (m *MockKindHandler) EXPECT() *MockKindHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKindHandler) UpdateLocks ¶
func (m *MockKindHandler) UpdateLocks(arg0 context.Context, arg1 pkgsolver.PackageSolversMap, arg2 builddef.UpdateLocksOpts) (builddef.Locks, error)
UpdateLocks mocks base method
func (*MockKindHandler) WithSolver ¶
func (m *MockKindHandler) WithSolver(arg0 statesolver.StateSolver)
WithSolver mocks base method
type MockKindHandlerMockRecorder ¶
type MockKindHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockKindHandlerMockRecorder is the mock recorder for MockKindHandler
func (*MockKindHandlerMockRecorder) Build ¶
func (mr *MockKindHandlerMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call
Build indicates an expected call of Build
func (*MockKindHandlerMockRecorder) DebugConfig ¶
func (mr *MockKindHandlerMockRecorder) DebugConfig(arg0 interface{}) *gomock.Call
DebugConfig indicates an expected call of DebugConfig
func (*MockKindHandlerMockRecorder) UpdateLocks ¶
func (mr *MockKindHandlerMockRecorder) UpdateLocks(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateLocks indicates an expected call of UpdateLocks
func (*MockKindHandlerMockRecorder) WithSolver ¶
func (mr *MockKindHandlerMockRecorder) WithSolver(arg0 interface{}) *gomock.Call
WithSolver indicates an expected call of WithSolver
type MockPackageSolver ¶
type MockPackageSolver struct {
// contains filtered or unexported fields
}
MockPackageSolver is a mock of PackageSolver interface
func NewMockPackageSolver ¶
func NewMockPackageSolver(ctrl *gomock.Controller) *MockPackageSolver
NewMockPackageSolver creates a new mock instance
func (*MockPackageSolver) EXPECT ¶
func (m *MockPackageSolver) EXPECT() *MockPackageSolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPackageSolverMockRecorder ¶
type MockPackageSolverMockRecorder struct {
// contains filtered or unexported fields
}
MockPackageSolverMockRecorder is the mock recorder for MockPackageSolver
func (*MockPackageSolverMockRecorder) ResolveVersions ¶
func (mr *MockPackageSolverMockRecorder) ResolveVersions(arg0, arg1, arg2 interface{}) *gomock.Call
ResolveVersions indicates an expected call of ResolveVersions
type MockStateSolver ¶
type MockStateSolver struct {
// contains filtered or unexported fields
}
MockStateSolver is a mock of StateSolver interface
func NewMockStateSolver ¶
func NewMockStateSolver(ctrl *gomock.Controller) *MockStateSolver
NewMockStateSolver creates a new mock instance
func (*MockStateSolver) EXPECT ¶
func (m *MockStateSolver) EXPECT() *MockStateSolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStateSolver) ExecImage ¶
func (m *MockStateSolver) ExecImage(arg0 context.Context, arg1 string, arg2 []string) (*bytes.Buffer, error)
ExecImage mocks base method
func (*MockStateSolver) FileExists ¶
func (m *MockStateSolver) FileExists(arg0 context.Context, arg1 string, arg2 *builddef.Context) (bool, error)
FileExists mocks base method
func (*MockStateSolver) FromContext ¶
func (m *MockStateSolver) FromContext(arg0 *builddef.Context, arg1 ...llb.LocalOption) statesolver.ReadFileOpt
FromContext mocks base method
func (*MockStateSolver) FromImage ¶
func (m *MockStateSolver) FromImage(arg0 string) statesolver.ReadFileOpt
FromImage mocks base method
func (*MockStateSolver) ReadFile ¶
func (m *MockStateSolver) ReadFile(arg0 context.Context, arg1 string, arg2 statesolver.ReadFileOpt) ([]byte, error)
ReadFile mocks base method
func (*MockStateSolver) ResolveImageRef ¶
ResolveImageRef mocks base method
type MockStateSolverMockRecorder ¶
type MockStateSolverMockRecorder struct {
// contains filtered or unexported fields
}
MockStateSolverMockRecorder is the mock recorder for MockStateSolver
func (*MockStateSolverMockRecorder) ExecImage ¶
func (mr *MockStateSolverMockRecorder) ExecImage(arg0, arg1, arg2 interface{}) *gomock.Call
ExecImage indicates an expected call of ExecImage
func (*MockStateSolverMockRecorder) FileExists ¶
func (mr *MockStateSolverMockRecorder) FileExists(arg0, arg1, arg2 interface{}) *gomock.Call
FileExists indicates an expected call of FileExists
func (*MockStateSolverMockRecorder) FromContext ¶
func (mr *MockStateSolverMockRecorder) FromContext(arg0 interface{}, arg1 ...interface{}) *gomock.Call
FromContext indicates an expected call of FromContext
func (*MockStateSolverMockRecorder) FromImage ¶
func (mr *MockStateSolverMockRecorder) FromImage(arg0 interface{}) *gomock.Call
FromImage indicates an expected call of FromImage
func (*MockStateSolverMockRecorder) ReadFile ¶
func (mr *MockStateSolverMockRecorder) ReadFile(arg0, arg1, arg2 interface{}) *gomock.Call
ReadFile indicates an expected call of ReadFile
func (*MockStateSolverMockRecorder) ResolveImageRef ¶
func (mr *MockStateSolverMockRecorder) ResolveImageRef(arg0, arg1 interface{}) *gomock.Call
ResolveImageRef indicates an expected call of ResolveImageRef