Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: interfaces.go
Generated by this command:
mockgen -source=interfaces.go -destination=mock/interfaces.go -package=mock
Package mock is a generated GoMock package.
Index ¶
- type MockDriver
- func (m *MockDriver) CreateOrUpdateCluster(ctx context.Context, id *cd.ResourceIdentifier, cluster *cd.Cluster) error
- func (m *MockDriver) CreateOrUpdateHelmApplication(ctx context.Context, id *cd.ResourceIdentifier, app *cd.HelmApplication) error
- func (m *MockDriver) DeleteCluster(ctx context.Context, id *cd.ResourceIdentifier) error
- func (m *MockDriver) DeleteHelmApplication(ctx context.Context, id *cd.ResourceIdentifier, backgroundDelete bool) error
- func (m *MockDriver) EXPECT() *MockDriverMockRecorder
- func (m *MockDriver) Kind() cd.DriverKind
- type MockDriverMockRecorder
- func (mr *MockDriverMockRecorder) CreateOrUpdateCluster(ctx, id, cluster any) *gomock.Call
- func (mr *MockDriverMockRecorder) CreateOrUpdateHelmApplication(ctx, id, app any) *gomock.Call
- func (mr *MockDriverMockRecorder) DeleteCluster(ctx, id any) *gomock.Call
- func (mr *MockDriverMockRecorder) DeleteHelmApplication(ctx, id, backgroundDelete any) *gomock.Call
- func (mr *MockDriverMockRecorder) Kind() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDriver ¶
type MockDriver struct {
// contains filtered or unexported fields
}
MockDriver is a mock of Driver interface.
func NewMockDriver ¶
func NewMockDriver(ctrl *gomock.Controller) *MockDriver
NewMockDriver creates a new mock instance.
func (*MockDriver) CreateOrUpdateCluster ¶
func (m *MockDriver) CreateOrUpdateCluster(ctx context.Context, id *cd.ResourceIdentifier, cluster *cd.Cluster) error
CreateOrUpdateCluster mocks base method.
func (*MockDriver) CreateOrUpdateHelmApplication ¶
func (m *MockDriver) CreateOrUpdateHelmApplication(ctx context.Context, id *cd.ResourceIdentifier, app *cd.HelmApplication) error
CreateOrUpdateHelmApplication mocks base method.
func (*MockDriver) DeleteCluster ¶
func (m *MockDriver) DeleteCluster(ctx context.Context, id *cd.ResourceIdentifier) error
DeleteCluster mocks base method.
func (*MockDriver) DeleteHelmApplication ¶
func (m *MockDriver) DeleteHelmApplication(ctx context.Context, id *cd.ResourceIdentifier, backgroundDelete bool) error
DeleteHelmApplication mocks base method.
func (*MockDriver) EXPECT ¶
func (m *MockDriver) EXPECT() *MockDriverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDriverMockRecorder ¶
type MockDriverMockRecorder struct {
// contains filtered or unexported fields
}
MockDriverMockRecorder is the mock recorder for MockDriver.
func (*MockDriverMockRecorder) CreateOrUpdateCluster ¶
func (mr *MockDriverMockRecorder) CreateOrUpdateCluster(ctx, id, cluster any) *gomock.Call
CreateOrUpdateCluster indicates an expected call of CreateOrUpdateCluster.
func (*MockDriverMockRecorder) CreateOrUpdateHelmApplication ¶
func (mr *MockDriverMockRecorder) CreateOrUpdateHelmApplication(ctx, id, app any) *gomock.Call
CreateOrUpdateHelmApplication indicates an expected call of CreateOrUpdateHelmApplication.
func (*MockDriverMockRecorder) DeleteCluster ¶
func (mr *MockDriverMockRecorder) DeleteCluster(ctx, id any) *gomock.Call
DeleteCluster indicates an expected call of DeleteCluster.
func (*MockDriverMockRecorder) DeleteHelmApplication ¶
func (mr *MockDriverMockRecorder) DeleteHelmApplication(ctx, id, backgroundDelete any) *gomock.Call
DeleteHelmApplication indicates an expected call of DeleteHelmApplication.
func (*MockDriverMockRecorder) Kind ¶
func (mr *MockDriverMockRecorder) Kind() *gomock.Call
Kind indicates an expected call of Kind.