mock_imagebuilder

package
v0.0.0-...-744405a Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_imagebuilder is a generated GoMock package.

Index

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

func (m *MockClientInterface) ComposeCommit(image *models.Image) (*models.Image, error)

ComposeCommit mocks base method.

func (*MockClientInterface) ComposeInstaller

func (m *MockClientInterface) ComposeInstaller(image *models.Image) (*models.Image, error)

ComposeInstaller mocks base method.

func (*MockClientInterface) EXPECT

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

func (*MockClientInterface) GetCommitStatus

func (m *MockClientInterface) GetCommitStatus(image *models.Image) (*models.Image, error)

GetCommitStatus mocks base method.

func (*MockClientInterface) GetInstallerStatus

func (m *MockClientInterface) GetInstallerStatus(image *models.Image) (*models.Image, error)

GetInstallerStatus mocks base method.

func (*MockClientInterface) GetMetadata

func (m *MockClientInterface) GetMetadata(image *models.Image) (*models.Image, error)

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) Do

func (m *MockHTTPClient) Do(req *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockHTTPClient) EXPECT

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.

Jump to

Keyboard shortcuts

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