Documentation ¶
Overview ¶
Package mock_imagebuilder is a generated GoMock package.
Index ¶
- type MockClientInterface
- func (m *MockClientInterface) ComposeCommit(image *models.Image) (*models.Image, error)
- func (m *MockClientInterface) ComposeInstaller(image *models.Image) (*models.Image, error)
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) GetCommitStatus(image *models.Image) (*models.Image, error)
- func (m *MockClientInterface) GetInstallerStatus(image *models.Image) (*models.Image, error)
- func (m *MockClientInterface) GetMetadata(image *models.Image) (*models.Image, error)
- func (m *MockClientInterface) SearchPackage(packageName, arch, dist string) (*models.SearchPackageResult, error)
- func (m *MockClientInterface) ValidatePackages(pkg []string) (map[string]*models.InstalledPackage, error)
- type MockClientInterfaceMockRecorder
- func (mr *MockClientInterfaceMockRecorder) ComposeCommit(image interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ComposeInstaller(image interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetCommitStatus(image interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetInstallerStatus(image interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetMetadata(image interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SearchPackage(packageName, arch, dist interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ValidatePackages(pkg interface{}) *gomock.Call
- type MockHTTPClient
- type MockHTTPClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientInterface ¶
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface.
func NewMockClientInterface ¶
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance.
func (*MockClientInterface) ComposeCommit ¶
ComposeCommit mocks base method.
func (*MockClientInterface) ComposeInstaller ¶
ComposeInstaller mocks base method.
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInterface) GetCommitStatus ¶
GetCommitStatus mocks base method.
func (*MockClientInterface) GetInstallerStatus ¶
GetInstallerStatus mocks base method.
func (*MockClientInterface) GetMetadata ¶
GetMetadata mocks base method.
func (*MockClientInterface) SearchPackage ¶
func (m *MockClientInterface) SearchPackage(packageName, arch, dist string) (*models.SearchPackageResult, error)
SearchPackage mocks base method.
func (*MockClientInterface) ValidatePackages ¶
func (m *MockClientInterface) ValidatePackages(pkg []string) (map[string]*models.InstalledPackage, error)
ValidatePackages mocks base method.
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
func (*MockClientInterfaceMockRecorder) ComposeCommit ¶
func (mr *MockClientInterfaceMockRecorder) ComposeCommit(image interface{}) *gomock.Call
ComposeCommit indicates an expected call of ComposeCommit.
func (*MockClientInterfaceMockRecorder) ComposeInstaller ¶
func (mr *MockClientInterfaceMockRecorder) ComposeInstaller(image interface{}) *gomock.Call
ComposeInstaller indicates an expected call of ComposeInstaller.
func (*MockClientInterfaceMockRecorder) GetCommitStatus ¶
func (mr *MockClientInterfaceMockRecorder) GetCommitStatus(image interface{}) *gomock.Call
GetCommitStatus indicates an expected call of GetCommitStatus.
func (*MockClientInterfaceMockRecorder) GetInstallerStatus ¶
func (mr *MockClientInterfaceMockRecorder) GetInstallerStatus(image interface{}) *gomock.Call
GetInstallerStatus indicates an expected call of GetInstallerStatus.
func (*MockClientInterfaceMockRecorder) GetMetadata ¶
func (mr *MockClientInterfaceMockRecorder) GetMetadata(image interface{}) *gomock.Call
GetMetadata indicates an expected call of GetMetadata.
func (*MockClientInterfaceMockRecorder) SearchPackage ¶
func (mr *MockClientInterfaceMockRecorder) SearchPackage(packageName, arch, dist interface{}) *gomock.Call
SearchPackage indicates an expected call of SearchPackage.
func (*MockClientInterfaceMockRecorder) ValidatePackages ¶
func (mr *MockClientInterfaceMockRecorder) ValidatePackages(pkg interface{}) *gomock.Call
ValidatePackages indicates an expected call of ValidatePackages.
type MockHTTPClient ¶
type MockHTTPClient struct {
// contains filtered or unexported fields
}
MockHTTPClient is a mock of HTTPClient interface.
func NewMockHTTPClient ¶
func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient
NewMockHTTPClient creates a new mock instance.
func (*MockHTTPClient) EXPECT ¶
func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHTTPClientMockRecorder ¶
type MockHTTPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.
func (*MockHTTPClientMockRecorder) Do ¶
func (mr *MockHTTPClientMockRecorder) Do(req interface{}) *gomock.Call
Do indicates an expected call of Do.