Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockBundleRegistry
- type MockBundleRegistryMockRecorder
- type MockChartInstaller
- type MockChartInstallerMockRecorder
- type MockKubectlRunner
- func (m *MockKubectlRunner) CreateFromYaml(ctx context.Context, yaml []byte, opts ...string) (bytes.Buffer, error)
- func (m *MockKubectlRunner) EXPECT() *MockKubectlRunnerMockRecorder
- func (m *MockKubectlRunner) ExecuteCommand(ctx context.Context, opts ...string) (bytes.Buffer, error)
- func (m *MockKubectlRunner) GetResource(ctx context.Context, resourceType, name, kubeconfig, namespace string) (bool, error)
- type MockKubectlRunnerMockRecorder
- func (mr *MockKubectlRunnerMockRecorder) CreateFromYaml(ctx, yaml interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockKubectlRunnerMockRecorder) ExecuteCommand(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockKubectlRunnerMockRecorder) GetResource(ctx, resourceType, name, kubeconfig, namespace interface{}) *gomock.Call
- type MockManager
- type MockManagerMockRecorder
- type MockReader
- type MockReaderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBundleRegistry ¶
type MockBundleRegistry struct {
// contains filtered or unexported fields
}
MockBundleRegistry is a mock of BundleRegistry interface.
func NewMockBundleRegistry ¶
func NewMockBundleRegistry(ctrl *gomock.Controller) *MockBundleRegistry
NewMockBundleRegistry creates a new mock instance.
func (*MockBundleRegistry) EXPECT ¶
func (m *MockBundleRegistry) EXPECT() *MockBundleRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBundleRegistry) GetRegistryBaseRef ¶
func (m *MockBundleRegistry) GetRegistryBaseRef(ctx context.Context) (string, error)
GetRegistryBaseRef mocks base method.
type MockBundleRegistryMockRecorder ¶
type MockBundleRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockBundleRegistryMockRecorder is the mock recorder for MockBundleRegistry.
func (*MockBundleRegistryMockRecorder) GetRegistryBaseRef ¶
func (mr *MockBundleRegistryMockRecorder) GetRegistryBaseRef(ctx interface{}) *gomock.Call
GetRegistryBaseRef indicates an expected call of GetRegistryBaseRef.
type MockChartInstaller ¶
type MockChartInstaller struct {
// contains filtered or unexported fields
}
MockChartInstaller is a mock of ChartInstaller interface.
func NewMockChartInstaller ¶
func NewMockChartInstaller(ctrl *gomock.Controller) *MockChartInstaller
NewMockChartInstaller creates a new mock instance.
func (*MockChartInstaller) EXPECT ¶
func (m *MockChartInstaller) EXPECT() *MockChartInstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChartInstaller) InstallChart ¶ added in v0.9.2
func (m *MockChartInstaller) InstallChart(ctx context.Context, chart, ociURI, version, kubeconfigFilePath string, values []string) error
InstallChart mocks base method.
type MockChartInstallerMockRecorder ¶
type MockChartInstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockChartInstallerMockRecorder is the mock recorder for MockChartInstaller.
func (*MockChartInstallerMockRecorder) InstallChart ¶ added in v0.9.2
func (mr *MockChartInstallerMockRecorder) InstallChart(ctx, chart, ociURI, version, kubeconfigFilePath, values interface{}) *gomock.Call
InstallChart indicates an expected call of InstallChart.
type MockKubectlRunner ¶
type MockKubectlRunner struct {
// contains filtered or unexported fields
}
MockKubectlRunner is a mock of KubectlRunner interface.
func NewMockKubectlRunner ¶
func NewMockKubectlRunner(ctrl *gomock.Controller) *MockKubectlRunner
NewMockKubectlRunner creates a new mock instance.
func (*MockKubectlRunner) CreateFromYaml ¶
func (m *MockKubectlRunner) CreateFromYaml(ctx context.Context, yaml []byte, opts ...string) (bytes.Buffer, error)
CreateFromYaml mocks base method.
func (*MockKubectlRunner) EXPECT ¶
func (m *MockKubectlRunner) EXPECT() *MockKubectlRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKubectlRunner) ExecuteCommand ¶
func (m *MockKubectlRunner) ExecuteCommand(ctx context.Context, opts ...string) (bytes.Buffer, error)
ExecuteCommand mocks base method.
func (*MockKubectlRunner) GetResource ¶
func (m *MockKubectlRunner) GetResource(ctx context.Context, resourceType, name, kubeconfig, namespace string) (bool, error)
GetResource mocks base method.
type MockKubectlRunnerMockRecorder ¶
type MockKubectlRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockKubectlRunnerMockRecorder is the mock recorder for MockKubectlRunner.
func (*MockKubectlRunnerMockRecorder) CreateFromYaml ¶
func (mr *MockKubectlRunnerMockRecorder) CreateFromYaml(ctx, yaml interface{}, opts ...interface{}) *gomock.Call
CreateFromYaml indicates an expected call of CreateFromYaml.
func (*MockKubectlRunnerMockRecorder) ExecuteCommand ¶
func (mr *MockKubectlRunnerMockRecorder) ExecuteCommand(ctx interface{}, opts ...interface{}) *gomock.Call
ExecuteCommand indicates an expected call of ExecuteCommand.
func (*MockKubectlRunnerMockRecorder) GetResource ¶
func (mr *MockKubectlRunnerMockRecorder) GetResource(ctx, resourceType, name, kubeconfig, namespace interface{}) *gomock.Call
GetResource indicates an expected call of GetResource.
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) LatestBundle ¶
func (m *MockManager) LatestBundle(ctx context.Context, baseRef string) (*v1alpha1.PackageBundle, error)
LatestBundle mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) LatestBundle ¶
func (mr *MockManagerMockRecorder) LatestBundle(ctx, baseRef interface{}) *gomock.Call
LatestBundle indicates an expected call of LatestBundle.
type MockReader ¶
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface.
func NewMockReader ¶
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance.
func (*MockReader) EXPECT ¶
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReader) ReadBundlesForVersion ¶
func (m *MockReader) ReadBundlesForVersion(eksaVersion string) (*v1alpha1.Bundles, error)
ReadBundlesForVersion mocks base method.
type MockReaderMockRecorder ¶
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader.
func (*MockReaderMockRecorder) ReadBundlesForVersion ¶
func (mr *MockReaderMockRecorder) ReadBundlesForVersion(eksaVersion interface{}) *gomock.Call
ReadBundlesForVersion indicates an expected call of ReadBundlesForVersion.