Documentation ¶
Overview ¶
Package cib_mock is a generated GoMock package.
Package cib_mock is a generated GoMock package.
Index ¶
- 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) NewContainer(arg0 context.Context, arg1 client.NewContainerRequest) (client.Container, 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) NewContainer(arg0, arg1 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
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) FetchImageConfig(arg0 string, arg1 *v1.Platform) (dockerfile2llb.Image, error)
- func (m *MockService) From(arg0 string, arg1 *v1.Platform, arg2 string) (llb.State, *dockerfile2llb.Image, error)
- func (m *MockService) GetBuildArgs() map[string]string
- func (m *MockService) GetBuildPlatform() *v1.Platform
- func (m *MockService) GetCaps() apicaps.CapSet
- func (m *MockService) GetExcludes() ([]string, error)
- func (m *MockService) GetIgnoreCache() bool
- func (m *MockService) GetMarshalOpts() []llb.ConstraintsOpt
- func (m *MockService) GetMetadata() ([]byte, error)
- func (m *MockService) GetMetadataFileName() string
- func (m *MockService) GetOpts() map[string]string
- func (m *MockService) GetResolveMode() (llb.ResolveMode, error)
- func (m *MockService) GetTargetPlatforms() ([]*v1.Platform, error)
- func (m *MockService) Solve(arg0 context.Context, arg1 llb.State) (client.Reference, error)
- func (m *MockService) Src() (client.Reference, error)
- func (m *MockService) SrcState() (llb.State, error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) FetchImageConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) From(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetBuildArgs() *gomock.Call
- func (mr *MockServiceMockRecorder) GetBuildPlatform() *gomock.Call
- func (mr *MockServiceMockRecorder) GetCaps() *gomock.Call
- func (mr *MockServiceMockRecorder) GetExcludes() *gomock.Call
- func (mr *MockServiceMockRecorder) GetIgnoreCache() *gomock.Call
- func (mr *MockServiceMockRecorder) GetMarshalOpts() *gomock.Call
- func (mr *MockServiceMockRecorder) GetMetadata() *gomock.Call
- func (mr *MockServiceMockRecorder) GetMetadataFileName() *gomock.Call
- func (mr *MockServiceMockRecorder) GetOpts() *gomock.Call
- func (mr *MockServiceMockRecorder) GetResolveMode() *gomock.Call
- func (mr *MockServiceMockRecorder) GetTargetPlatforms() *gomock.Call
- func (mr *MockServiceMockRecorder) Solve(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Src() *gomock.Call
- func (mr *MockServiceMockRecorder) SrcState() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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) NewContainer ¶
func (m *MockClient) NewContainer(arg0 context.Context, arg1 client.NewContainerRequest) (client.Container, error)
NewContainer 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) NewContainer ¶
func (mr *MockClientMockRecorder) NewContainer(arg0, arg1 interface{}) *gomock.Call
NewContainer indicates an expected call of NewContainer
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
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) FetchImageConfig ¶
func (m *MockService) FetchImageConfig(arg0 string, arg1 *v1.Platform) (dockerfile2llb.Image, error)
FetchImageConfig mocks base method
func (*MockService) From ¶
func (m *MockService) From(arg0 string, arg1 *v1.Platform, arg2 string) (llb.State, *dockerfile2llb.Image, error)
From mocks base method
func (*MockService) GetBuildArgs ¶
func (m *MockService) GetBuildArgs() map[string]string
GetBuildArgs mocks base method
func (*MockService) GetBuildPlatform ¶
func (m *MockService) GetBuildPlatform() *v1.Platform
GetBuildPlatform mocks base method
func (*MockService) GetCaps ¶
func (m *MockService) GetCaps() apicaps.CapSet
GetCaps mocks base method
func (*MockService) GetExcludes ¶
func (m *MockService) GetExcludes() ([]string, error)
GetExcludes mocks base method
func (*MockService) GetIgnoreCache ¶
func (m *MockService) GetIgnoreCache() bool
GetIgnoreCache mocks base method
func (*MockService) GetMarshalOpts ¶
func (m *MockService) GetMarshalOpts() []llb.ConstraintsOpt
GetMarshalOpts mocks base method
func (*MockService) GetMetadata ¶
func (m *MockService) GetMetadata() ([]byte, error)
GetMetadata mocks base method
func (*MockService) GetMetadataFileName ¶
func (m *MockService) GetMetadataFileName() string
GetMetadataFileName mocks base method
func (*MockService) GetOpts ¶
func (m *MockService) GetOpts() map[string]string
GetOpts mocks base method
func (*MockService) GetResolveMode ¶
func (m *MockService) GetResolveMode() (llb.ResolveMode, error)
GetResolveMode mocks base method
func (*MockService) GetTargetPlatforms ¶
func (m *MockService) GetTargetPlatforms() ([]*v1.Platform, error)
GetTargetPlatforms mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) FetchImageConfig ¶
func (mr *MockServiceMockRecorder) FetchImageConfig(arg0, arg1 interface{}) *gomock.Call
FetchImageConfig indicates an expected call of FetchImageConfig
func (*MockServiceMockRecorder) From ¶
func (mr *MockServiceMockRecorder) From(arg0, arg1, arg2 interface{}) *gomock.Call
From indicates an expected call of From
func (*MockServiceMockRecorder) GetBuildArgs ¶
func (mr *MockServiceMockRecorder) GetBuildArgs() *gomock.Call
GetBuildArgs indicates an expected call of GetBuildArgs
func (*MockServiceMockRecorder) GetBuildPlatform ¶
func (mr *MockServiceMockRecorder) GetBuildPlatform() *gomock.Call
GetBuildPlatform indicates an expected call of GetBuildPlatform
func (*MockServiceMockRecorder) GetCaps ¶
func (mr *MockServiceMockRecorder) GetCaps() *gomock.Call
GetCaps indicates an expected call of GetCaps
func (*MockServiceMockRecorder) GetExcludes ¶
func (mr *MockServiceMockRecorder) GetExcludes() *gomock.Call
GetExcludes indicates an expected call of GetExcludes
func (*MockServiceMockRecorder) GetIgnoreCache ¶
func (mr *MockServiceMockRecorder) GetIgnoreCache() *gomock.Call
GetIgnoreCache indicates an expected call of GetIgnoreCache
func (*MockServiceMockRecorder) GetMarshalOpts ¶
func (mr *MockServiceMockRecorder) GetMarshalOpts() *gomock.Call
GetMarshalOpts indicates an expected call of GetMarshalOpts
func (*MockServiceMockRecorder) GetMetadata ¶
func (mr *MockServiceMockRecorder) GetMetadata() *gomock.Call
GetMetadata indicates an expected call of GetMetadata
func (*MockServiceMockRecorder) GetMetadataFileName ¶
func (mr *MockServiceMockRecorder) GetMetadataFileName() *gomock.Call
GetMetadataFileName indicates an expected call of GetMetadataFileName
func (*MockServiceMockRecorder) GetOpts ¶
func (mr *MockServiceMockRecorder) GetOpts() *gomock.Call
GetOpts indicates an expected call of GetOpts
func (*MockServiceMockRecorder) GetResolveMode ¶
func (mr *MockServiceMockRecorder) GetResolveMode() *gomock.Call
GetResolveMode indicates an expected call of GetResolveMode
func (*MockServiceMockRecorder) GetTargetPlatforms ¶
func (mr *MockServiceMockRecorder) GetTargetPlatforms() *gomock.Call
GetTargetPlatforms indicates an expected call of GetTargetPlatforms
func (*MockServiceMockRecorder) Solve ¶
func (mr *MockServiceMockRecorder) Solve(arg0, arg1 interface{}) *gomock.Call
Solve indicates an expected call of Solve
func (*MockServiceMockRecorder) Src ¶
func (mr *MockServiceMockRecorder) Src() *gomock.Call
Src indicates an expected call of Src
func (*MockServiceMockRecorder) SrcState ¶
func (mr *MockServiceMockRecorder) SrcState() *gomock.Call
SrcState indicates an expected call of SrcState