Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockPackageDriver
- func (m *MockPackageDriver) EXPECT() *MockPackageDriverMockRecorder
- func (m *MockPackageDriver) Install(ctx context.Context, name, namespace string, source v1alpha1.PackageOCISource, ...) 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
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) Install ¶
func (m *MockPackageDriver) Install(ctx context.Context, name, namespace string, 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) Install ¶
func (mr *MockPackageDriverMockRecorder) Install(ctx, name, namespace, 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.