Documentation ¶
Overview ¶
Package mock_helm is a generated GoMock package.
Package mock_helm is a generated GoMock package.
Index ¶
- type MockChartLoader
- type MockChartLoaderMockRecorder
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetRelease(opts helm.GetReleaseOptions) (*release.Release, error)
- func (m *MockClient) Install(ctx context.Context, opts helm.InstallOptions) (*release.Release, error)
- func (m *MockClient) Rollback(opts helm.RollbackOptions) error
- func (m *MockClient) Uninstall(opts helm.UninstallOptions) (*release.UninstallReleaseResponse, error)
- func (m *MockClient) Upgrade(ctx context.Context, opts helm.UpgradeOptions) (*release.Release, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GetRelease(opts interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Install(ctx, opts interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Rollback(opts interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Uninstall(opts interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Upgrade(ctx, opts interface{}) *gomock.Call
- type MockConfigurationGetter
- type MockConfigurationGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChartLoader ¶
type MockChartLoader struct {
// contains filtered or unexported fields
}
MockChartLoader is a mock of ChartLoader interface.
func NewMockChartLoader ¶
func NewMockChartLoader(ctrl *gomock.Controller) *MockChartLoader
NewMockChartLoader creates a new mock instance.
func (*MockChartLoader) EXPECT ¶
func (m *MockChartLoader) EXPECT() *MockChartLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChartLoader) Load ¶
func (m *MockChartLoader) Load(arg0 context.Context, arg1 *castai.ChartSource) (*chart.Chart, error)
Load mocks base method.
type MockChartLoaderMockRecorder ¶
type MockChartLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockChartLoaderMockRecorder is the mock recorder for MockChartLoader.
func (*MockChartLoaderMockRecorder) Load ¶
func (mr *MockChartLoaderMockRecorder) Load(arg0, arg1 interface{}) *gomock.Call
Load indicates an expected call of Load.
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) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetRelease ¶
func (m *MockClient) GetRelease(opts helm.GetReleaseOptions) (*release.Release, error)
GetRelease mocks base method.
func (*MockClient) Install ¶
func (m *MockClient) Install(ctx context.Context, opts helm.InstallOptions) (*release.Release, error)
Install mocks base method.
func (*MockClient) Rollback ¶
func (m *MockClient) Rollback(opts helm.RollbackOptions) error
Rollback mocks base method.
func (*MockClient) Uninstall ¶
func (m *MockClient) Uninstall(opts helm.UninstallOptions) (*release.UninstallReleaseResponse, error)
Uninstall mocks base method.
func (*MockClient) Upgrade ¶
func (m *MockClient) Upgrade(ctx context.Context, opts helm.UpgradeOptions) (*release.Release, error)
Upgrade mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) GetRelease ¶
func (mr *MockClientMockRecorder) GetRelease(opts interface{}) *gomock.Call
GetRelease indicates an expected call of GetRelease.
func (*MockClientMockRecorder) Install ¶
func (mr *MockClientMockRecorder) Install(ctx, opts interface{}) *gomock.Call
Install indicates an expected call of Install.
func (*MockClientMockRecorder) Rollback ¶
func (mr *MockClientMockRecorder) Rollback(opts interface{}) *gomock.Call
Rollback indicates an expected call of Rollback.
func (*MockClientMockRecorder) Uninstall ¶
func (mr *MockClientMockRecorder) Uninstall(opts interface{}) *gomock.Call
Uninstall indicates an expected call of Uninstall.
func (*MockClientMockRecorder) Upgrade ¶
func (mr *MockClientMockRecorder) Upgrade(ctx, opts interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade.
type MockConfigurationGetter ¶
type MockConfigurationGetter struct {
// contains filtered or unexported fields
}
MockConfigurationGetter is a mock of ConfigurationGetter interface.
func NewMockConfigurationGetter ¶
func NewMockConfigurationGetter(ctrl *gomock.Controller) *MockConfigurationGetter
NewMockConfigurationGetter creates a new mock instance.
func (*MockConfigurationGetter) EXPECT ¶
func (m *MockConfigurationGetter) EXPECT() *MockConfigurationGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfigurationGetter) Get ¶
func (m *MockConfigurationGetter) Get(namespace string) (*action.Configuration, error)
Get mocks base method.
type MockConfigurationGetterMockRecorder ¶
type MockConfigurationGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigurationGetterMockRecorder is the mock recorder for MockConfigurationGetter.
func (*MockConfigurationGetterMockRecorder) Get ¶
func (mr *MockConfigurationGetterMockRecorder) Get(namespace interface{}) *gomock.Call
Get indicates an expected call of Get.