Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockLayerApplier
- 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) GetResources(ctx context.Context, layer layers.Layer) ([]v1alpha1.Resource, 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) 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) GetResources(ctx, layer 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) 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) GetResources ¶
func (m *MockLayerApplier) GetResources(ctx context.Context, layer layers.Layer) ([]v1alpha1.Resource, error)
GetResources 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) 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) GetResources ¶
func (mr *MockLayerApplierMockRecorder) GetResources(ctx, layer interface{}) *gomock.Call
GetResources indicates an expected call of GetResources
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