Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockLayerApplier
- func (m *MockLayerApplier) Adopt(ctx context.Context, layer layers.Layer, hr *v2beta1.HelmRelease) error
- func (m *MockLayerApplier) Apply(ctx context.Context, layer layers.Layer) error
- func (m *MockLayerApplier) ApplyIsRequired(ctx context.Context, layer layers.Layer) (bool, error)
- func (m *MockLayerApplier) ApplyWasSuccessful(ctx context.Context, layer layers.Layer) (bool, string, error)
- func (m *MockLayerApplier) EXPECT() *MockLayerApplierMockRecorder
- func (m *MockLayerApplier) GetHelmReleases(ctx context.Context, layer layers.Layer) (map[string]*v2beta1.HelmRelease, error)
- func (m *MockLayerApplier) GetOrphanedHelmReleases(ctx context.Context, layer layers.Layer) (map[string]*v2beta1.HelmRelease, error)
- func (m *MockLayerApplier) GetResources(ctx context.Context, layer layers.Layer) ([]v1alpha1.Resource, error)
- func (m *MockLayerApplier) GetSourceAndClusterHelmReleases(ctx context.Context, layer layers.Layer) (map[string]*v2beta1.HelmRelease, map[string]*v2beta1.HelmRelease, error)
- func (m *MockLayerApplier) Orphan(ctx context.Context, layer layers.Layer, hr *v2beta1.HelmRelease) (bool, error)
- func (m *MockLayerApplier) Prune(ctx context.Context, layer layers.Layer, pruneHrs []*v2beta1.HelmRelease) error
- func (m *MockLayerApplier) PruneIsRequired(ctx context.Context, layer layers.Layer) (bool, []*v2beta1.HelmRelease, error)
- type MockLayerApplierMockRecorder
- func (mr *MockLayerApplierMockRecorder) Adopt(ctx, layer, hr interface{}) *gomock.Call
- func (mr *MockLayerApplierMockRecorder) Apply(ctx, layer interface{}) *gomock.Call
- func (mr *MockLayerApplierMockRecorder) ApplyIsRequired(ctx, layer interface{}) *gomock.Call
- func (mr *MockLayerApplierMockRecorder) ApplyWasSuccessful(ctx, layer interface{}) *gomock.Call
- func (mr *MockLayerApplierMockRecorder) GetHelmReleases(ctx, layer interface{}) *gomock.Call
- func (mr *MockLayerApplierMockRecorder) GetOrphanedHelmReleases(ctx, layer interface{}) *gomock.Call
- func (mr *MockLayerApplierMockRecorder) GetResources(ctx, layer interface{}) *gomock.Call
- func (mr *MockLayerApplierMockRecorder) GetSourceAndClusterHelmReleases(ctx, layer interface{}) *gomock.Call
- func (mr *MockLayerApplierMockRecorder) Orphan(ctx, layer, hr interface{}) *gomock.Call
- func (mr *MockLayerApplierMockRecorder) Prune(ctx, layer, pruneHrs interface{}) *gomock.Call
- func (mr *MockLayerApplierMockRecorder) PruneIsRequired(ctx, layer interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLayerApplier ¶
type MockLayerApplier struct {
// contains filtered or unexported fields
}
MockLayerApplier is a mock of LayerApplier interface
func NewMockLayerApplier ¶
func NewMockLayerApplier(ctrl *gomock.Controller) *MockLayerApplier
NewMockLayerApplier creates a new mock instance
func (*MockLayerApplier) Adopt ¶ added in v0.3.0
func (m *MockLayerApplier) Adopt(ctx context.Context, layer layers.Layer, hr *v2beta1.HelmRelease) error
Adopt mocks base method
func (*MockLayerApplier) ApplyIsRequired ¶
ApplyIsRequired mocks base method
func (*MockLayerApplier) ApplyWasSuccessful ¶
func (m *MockLayerApplier) ApplyWasSuccessful(ctx context.Context, layer layers.Layer) (bool, string, error)
ApplyWasSuccessful mocks base method
func (*MockLayerApplier) EXPECT ¶
func (m *MockLayerApplier) EXPECT() *MockLayerApplierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLayerApplier) GetHelmReleases ¶ added in v0.3.0
func (m *MockLayerApplier) GetHelmReleases(ctx context.Context, layer layers.Layer) (map[string]*v2beta1.HelmRelease, error)
GetHelmReleases mocks base method
func (*MockLayerApplier) GetOrphanedHelmReleases ¶ added in v0.3.0
func (m *MockLayerApplier) GetOrphanedHelmReleases(ctx context.Context, layer layers.Layer) (map[string]*v2beta1.HelmRelease, error)
GetOrphanedHelmReleases mocks base method
func (*MockLayerApplier) GetResources ¶
func (m *MockLayerApplier) GetResources(ctx context.Context, layer layers.Layer) ([]v1alpha1.Resource, error)
GetResources mocks base method
func (*MockLayerApplier) GetSourceAndClusterHelmReleases ¶ added in v0.3.0
func (m *MockLayerApplier) GetSourceAndClusterHelmReleases(ctx context.Context, layer layers.Layer) (map[string]*v2beta1.HelmRelease, map[string]*v2beta1.HelmRelease, error)
GetSourceAndClusterHelmReleases mocks base method
func (*MockLayerApplier) Orphan ¶ added in v0.3.0
func (m *MockLayerApplier) Orphan(ctx context.Context, layer layers.Layer, hr *v2beta1.HelmRelease) (bool, error)
Orphan mocks base method
func (*MockLayerApplier) Prune ¶
func (m *MockLayerApplier) Prune(ctx context.Context, layer layers.Layer, pruneHrs []*v2beta1.HelmRelease) error
Prune mocks base method
func (*MockLayerApplier) PruneIsRequired ¶
func (m *MockLayerApplier) PruneIsRequired(ctx context.Context, layer layers.Layer) (bool, []*v2beta1.HelmRelease, error)
PruneIsRequired mocks base method
type MockLayerApplierMockRecorder ¶
type MockLayerApplierMockRecorder struct {
// contains filtered or unexported fields
}
MockLayerApplierMockRecorder is the mock recorder for MockLayerApplier
func (*MockLayerApplierMockRecorder) Adopt ¶ added in v0.3.0
func (mr *MockLayerApplierMockRecorder) Adopt(ctx, layer, hr interface{}) *gomock.Call
Adopt indicates an expected call of Adopt
func (*MockLayerApplierMockRecorder) Apply ¶
func (mr *MockLayerApplierMockRecorder) Apply(ctx, layer interface{}) *gomock.Call
Apply indicates an expected call of Apply
func (*MockLayerApplierMockRecorder) ApplyIsRequired ¶
func (mr *MockLayerApplierMockRecorder) ApplyIsRequired(ctx, layer interface{}) *gomock.Call
ApplyIsRequired indicates an expected call of ApplyIsRequired
func (*MockLayerApplierMockRecorder) ApplyWasSuccessful ¶
func (mr *MockLayerApplierMockRecorder) ApplyWasSuccessful(ctx, layer interface{}) *gomock.Call
ApplyWasSuccessful indicates an expected call of ApplyWasSuccessful
func (*MockLayerApplierMockRecorder) GetHelmReleases ¶ added in v0.3.0
func (mr *MockLayerApplierMockRecorder) GetHelmReleases(ctx, layer interface{}) *gomock.Call
GetHelmReleases indicates an expected call of GetHelmReleases
func (*MockLayerApplierMockRecorder) GetOrphanedHelmReleases ¶ added in v0.3.0
func (mr *MockLayerApplierMockRecorder) GetOrphanedHelmReleases(ctx, layer interface{}) *gomock.Call
GetOrphanedHelmReleases indicates an expected call of GetOrphanedHelmReleases
func (*MockLayerApplierMockRecorder) GetResources ¶
func (mr *MockLayerApplierMockRecorder) GetResources(ctx, layer interface{}) *gomock.Call
GetResources indicates an expected call of GetResources
func (*MockLayerApplierMockRecorder) GetSourceAndClusterHelmReleases ¶ added in v0.3.0
func (mr *MockLayerApplierMockRecorder) GetSourceAndClusterHelmReleases(ctx, layer interface{}) *gomock.Call
GetSourceAndClusterHelmReleases indicates an expected call of GetSourceAndClusterHelmReleases
func (*MockLayerApplierMockRecorder) Orphan ¶ added in v0.3.0
func (mr *MockLayerApplierMockRecorder) Orphan(ctx, layer, hr interface{}) *gomock.Call
Orphan indicates an expected call of Orphan
func (*MockLayerApplierMockRecorder) Prune ¶
func (mr *MockLayerApplierMockRecorder) Prune(ctx, layer, pruneHrs interface{}) *gomock.Call
Prune indicates an expected call of Prune
func (*MockLayerApplierMockRecorder) PruneIsRequired ¶
func (mr *MockLayerApplierMockRecorder) PruneIsRequired(ctx, layer interface{}) *gomock.Call
PruneIsRequired indicates an expected call of PruneIsRequired