Documentation ¶
Overview ¶
Package kubernetestest is a generated GoMock package.
Index ¶
- type MockApplier
- func (m *MockApplier) ApplyManifest(arg0 context.Context, arg1 kubernetes.Manifest) error
- func (m *MockApplier) CreateManifest(arg0 context.Context, arg1 kubernetes.Manifest) error
- func (m *MockApplier) Delete(arg0 context.Context, arg1 kubernetes.ResourceKey) error
- func (m *MockApplier) EXPECT() *MockApplierMockRecorder
- func (m *MockApplier) ForceReplaceManifest(arg0 context.Context, arg1 kubernetes.Manifest) error
- func (m *MockApplier) ReplaceManifest(arg0 context.Context, arg1 kubernetes.Manifest) error
- type MockApplierMockRecorder
- func (mr *MockApplierMockRecorder) ApplyManifest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplierMockRecorder) CreateManifest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplierMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplierMockRecorder) ForceReplaceManifest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplierMockRecorder) ReplaceManifest(arg0, arg1 interface{}) *gomock.Call
- type MockLoader
- type MockLoaderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplier ¶
type MockApplier struct {
// contains filtered or unexported fields
}
MockApplier is a mock of Applier interface.
func NewMockApplier ¶
func NewMockApplier(ctrl *gomock.Controller) *MockApplier
NewMockApplier creates a new mock instance.
func (*MockApplier) ApplyManifest ¶
func (m *MockApplier) ApplyManifest(arg0 context.Context, arg1 kubernetes.Manifest) error
ApplyManifest mocks base method.
func (*MockApplier) CreateManifest ¶
func (m *MockApplier) CreateManifest(arg0 context.Context, arg1 kubernetes.Manifest) error
CreateManifest mocks base method.
func (*MockApplier) Delete ¶
func (m *MockApplier) Delete(arg0 context.Context, arg1 kubernetes.ResourceKey) error
Delete mocks base method.
func (*MockApplier) EXPECT ¶
func (m *MockApplier) EXPECT() *MockApplierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplier) ForceReplaceManifest ¶ added in v0.48.9
func (m *MockApplier) ForceReplaceManifest(arg0 context.Context, arg1 kubernetes.Manifest) error
ForceReplaceManifest mocks base method.
func (*MockApplier) ReplaceManifest ¶
func (m *MockApplier) ReplaceManifest(arg0 context.Context, arg1 kubernetes.Manifest) error
ReplaceManifest mocks base method.
type MockApplierMockRecorder ¶
type MockApplierMockRecorder struct {
// contains filtered or unexported fields
}
MockApplierMockRecorder is the mock recorder for MockApplier.
func (*MockApplierMockRecorder) ApplyManifest ¶
func (mr *MockApplierMockRecorder) ApplyManifest(arg0, arg1 interface{}) *gomock.Call
ApplyManifest indicates an expected call of ApplyManifest.
func (*MockApplierMockRecorder) CreateManifest ¶
func (mr *MockApplierMockRecorder) CreateManifest(arg0, arg1 interface{}) *gomock.Call
CreateManifest indicates an expected call of CreateManifest.
func (*MockApplierMockRecorder) Delete ¶
func (mr *MockApplierMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockApplierMockRecorder) ForceReplaceManifest ¶ added in v0.48.9
func (mr *MockApplierMockRecorder) ForceReplaceManifest(arg0, arg1 interface{}) *gomock.Call
ForceReplaceManifest indicates an expected call of ForceReplaceManifest.
func (*MockApplierMockRecorder) ReplaceManifest ¶
func (mr *MockApplierMockRecorder) ReplaceManifest(arg0, arg1 interface{}) *gomock.Call
ReplaceManifest indicates an expected call of ReplaceManifest.
type MockLoader ¶
type MockLoader struct {
// contains filtered or unexported fields
}
MockLoader is a mock of Loader interface.
func NewMockLoader ¶
func NewMockLoader(ctrl *gomock.Controller) *MockLoader
NewMockLoader creates a new mock instance.
func (*MockLoader) EXPECT ¶
func (m *MockLoader) EXPECT() *MockLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoader) LoadManifests ¶
func (m *MockLoader) LoadManifests(arg0 context.Context) ([]kubernetes.Manifest, error)
LoadManifests mocks base method.
type MockLoaderMockRecorder ¶
type MockLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockLoaderMockRecorder is the mock recorder for MockLoader.
func (*MockLoaderMockRecorder) LoadManifests ¶
func (mr *MockLoaderMockRecorder) LoadManifests(arg0 interface{}) *gomock.Call
LoadManifests indicates an expected call of LoadManifests.