Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockPackageDriver
- func (m *MockPackageDriver) EXPECT() *MockPackageDriverMockRecorder
- func (m *MockPackageDriver) Initialize(ctx context.Context, clusterName string) error
- func (m *MockPackageDriver) Install(ctx context.Context, name, namespace string, createNamespace bool, ...) error
- func (m *MockPackageDriver) IsConfigChanged(ctx context.Context, name string, values map[string]interface{}) (bool, error)
- func (m *MockPackageDriver) Uninstall(ctx context.Context, name string) error
- type MockPackageDriverMockRecorder
- func (mr *MockPackageDriverMockRecorder) Initialize(ctx, clusterName interface{}) *gomock.Call
- func (mr *MockPackageDriverMockRecorder) Install(ctx, name, namespace, createNamespace, source, values interface{}) *gomock.Call
- func (mr *MockPackageDriverMockRecorder) IsConfigChanged(ctx, name, values interface{}) *gomock.Call
- func (mr *MockPackageDriverMockRecorder) Uninstall(ctx, name interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPackageDriver ¶
type MockPackageDriver struct {
// contains filtered or unexported fields
}
MockPackageDriver is a mock of PackageDriver interface.
func NewMockPackageDriver ¶
func NewMockPackageDriver(ctrl *gomock.Controller) *MockPackageDriver
NewMockPackageDriver creates a new mock instance.
func (*MockPackageDriver) EXPECT ¶
func (m *MockPackageDriver) EXPECT() *MockPackageDriverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPackageDriver) Initialize ¶ added in v0.2.8
func (m *MockPackageDriver) Initialize(ctx context.Context, clusterName string) error
Initialize mocks base method.
func (*MockPackageDriver) Install ¶
func (m *MockPackageDriver) Install(ctx context.Context, name, namespace string, createNamespace bool, source v1alpha1.PackageOCISource, values map[string]interface{}) error
Install mocks base method.
func (*MockPackageDriver) IsConfigChanged ¶ added in v0.1.7
func (m *MockPackageDriver) IsConfigChanged(ctx context.Context, name string, values map[string]interface{}) (bool, error)
IsConfigChanged mocks base method.
type MockPackageDriverMockRecorder ¶
type MockPackageDriverMockRecorder struct {
// contains filtered or unexported fields
}
MockPackageDriverMockRecorder is the mock recorder for MockPackageDriver.
func (*MockPackageDriverMockRecorder) Initialize ¶ added in v0.2.8
func (mr *MockPackageDriverMockRecorder) Initialize(ctx, clusterName interface{}) *gomock.Call
Initialize indicates an expected call of Initialize.
func (*MockPackageDriverMockRecorder) Install ¶
func (mr *MockPackageDriverMockRecorder) Install(ctx, name, namespace, createNamespace, source, values interface{}) *gomock.Call
Install indicates an expected call of Install.
func (*MockPackageDriverMockRecorder) IsConfigChanged ¶ added in v0.1.7
func (mr *MockPackageDriverMockRecorder) IsConfigChanged(ctx, name, values interface{}) *gomock.Call
IsConfigChanged indicates an expected call of IsConfigChanged.
func (*MockPackageDriverMockRecorder) Uninstall ¶
func (mr *MockPackageDriverMockRecorder) Uninstall(ctx, name interface{}) *gomock.Call
Uninstall indicates an expected call of Uninstall.
Click to show internal directories.
Click to hide internal directories.