Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Create(ctx context.Context, obj kubernetes.Object) error
- func (m *MockClient) Delete(ctx context.Context, obj kubernetes.Object) error
- func (m *MockClient) DeleteAllOf(ctx context.Context, obj kubernetes.Object, ...) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(ctx context.Context, name, namespace string, obj kubernetes.Object) error
- func (m *MockClient) List(ctx context.Context, list kubernetes.ObjectList) error
- func (m *MockClient) Update(ctx context.Context, obj kubernetes.Object) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Create(ctx, obj interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Delete(ctx, obj interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAllOf(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Get(ctx, name, namespace, obj interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) List(ctx, list interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Update(ctx, obj interface{}) *gomock.Call
- type MockDeleteAllOfOption
- type MockDeleteAllOfOptionMockRecorder
- type MockKubectl
- func (m *MockKubectl) Apply(ctx context.Context, kubeconfig string, obj runtime.Object) error
- func (m *MockKubectl) Create(ctx context.Context, kubeconfig string, obj runtime.Object) error
- func (m *MockKubectl) Delete(ctx context.Context, resourceType, kubeconfig string, ...) error
- func (m *MockKubectl) EXPECT() *MockKubectlMockRecorder
- func (m *MockKubectl) Get(ctx context.Context, resourceType, kubeconfig string, obj runtime.Object, ...) error
- func (m *MockKubectl) Replace(ctx context.Context, kubeconfig string, obj runtime.Object) error
- type MockKubectlDeleteOption
- type MockKubectlDeleteOptionMockRecorder
- type MockKubectlGetOption
- type MockKubectlGetOptionMockRecorder
- type MockKubectlMockRecorder
- func (mr *MockKubectlMockRecorder) Apply(ctx, kubeconfig, obj interface{}) *gomock.Call
- func (mr *MockKubectlMockRecorder) Create(ctx, kubeconfig, obj interface{}) *gomock.Call
- func (mr *MockKubectlMockRecorder) Delete(ctx, resourceType, kubeconfig interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockKubectlMockRecorder) Get(ctx, resourceType, kubeconfig, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockKubectlMockRecorder) Replace(ctx, kubeconfig, obj interface{}) *gomock.Call
- type MockReader
- type MockReaderMockRecorder
- type MockWriter
- func (m *MockWriter) Create(ctx context.Context, obj kubernetes.Object) error
- func (m *MockWriter) Delete(ctx context.Context, obj kubernetes.Object) error
- func (m *MockWriter) DeleteAllOf(ctx context.Context, obj kubernetes.Object, ...) error
- func (m *MockWriter) EXPECT() *MockWriterMockRecorder
- func (m *MockWriter) Update(ctx context.Context, obj kubernetes.Object) error
- type MockWriterMockRecorder
- func (mr *MockWriterMockRecorder) Create(ctx, obj interface{}) *gomock.Call
- func (mr *MockWriterMockRecorder) Delete(ctx, obj interface{}) *gomock.Call
- func (mr *MockWriterMockRecorder) DeleteAllOf(ctx, obj interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockWriterMockRecorder) Update(ctx, obj interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Create ¶ added in v0.15.2
func (m *MockClient) Create(ctx context.Context, obj kubernetes.Object) error
Create mocks base method.
func (*MockClient) Delete ¶ added in v0.15.2
func (m *MockClient) Delete(ctx context.Context, obj kubernetes.Object) error
Delete mocks base method.
func (*MockClient) DeleteAllOf ¶ added in v0.15.2
func (m *MockClient) DeleteAllOf(ctx context.Context, obj kubernetes.Object, opts ...kubernetes.DeleteAllOfOption) error
DeleteAllOf mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) Get ¶
func (m *MockClient) Get(ctx context.Context, name, namespace string, obj kubernetes.Object) error
Get mocks base method.
func (*MockClient) List ¶ added in v0.15.2
func (m *MockClient) List(ctx context.Context, list kubernetes.ObjectList) error
List mocks base method.
func (*MockClient) Update ¶ added in v0.15.2
func (m *MockClient) Update(ctx context.Context, obj kubernetes.Object) error
Update mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Create ¶ added in v0.15.2
func (mr *MockClientMockRecorder) Create(ctx, obj interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockClientMockRecorder) Delete ¶ added in v0.15.2
func (mr *MockClientMockRecorder) Delete(ctx, obj interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClientMockRecorder) DeleteAllOf ¶ added in v0.15.2
func (mr *MockClientMockRecorder) DeleteAllOf(ctx, obj interface{}, opts ...interface{}) *gomock.Call
DeleteAllOf indicates an expected call of DeleteAllOf.
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(ctx, name, namespace, obj interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockClientMockRecorder) List ¶ added in v0.15.2
func (mr *MockClientMockRecorder) List(ctx, list interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockClientMockRecorder) Update ¶ added in v0.15.2
func (mr *MockClientMockRecorder) Update(ctx, obj interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockDeleteAllOfOption ¶ added in v0.15.2
type MockDeleteAllOfOption struct {
// contains filtered or unexported fields
}
MockDeleteAllOfOption is a mock of DeleteAllOfOption interface.
func NewMockDeleteAllOfOption ¶ added in v0.15.2
func NewMockDeleteAllOfOption(ctrl *gomock.Controller) *MockDeleteAllOfOption
NewMockDeleteAllOfOption creates a new mock instance.
func (*MockDeleteAllOfOption) ApplyToDeleteAllOf ¶ added in v0.15.2
func (m *MockDeleteAllOfOption) ApplyToDeleteAllOf(arg0 *kubernetes.DeleteAllOfOptions)
ApplyToDeleteAllOf mocks base method.
func (*MockDeleteAllOfOption) EXPECT ¶ added in v0.15.2
func (m *MockDeleteAllOfOption) EXPECT() *MockDeleteAllOfOptionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDeleteAllOfOptionMockRecorder ¶ added in v0.15.2
type MockDeleteAllOfOptionMockRecorder struct {
// contains filtered or unexported fields
}
MockDeleteAllOfOptionMockRecorder is the mock recorder for MockDeleteAllOfOption.
func (*MockDeleteAllOfOptionMockRecorder) ApplyToDeleteAllOf ¶ added in v0.15.2
func (mr *MockDeleteAllOfOptionMockRecorder) ApplyToDeleteAllOf(arg0 interface{}) *gomock.Call
ApplyToDeleteAllOf indicates an expected call of ApplyToDeleteAllOf.
type MockKubectl ¶ added in v0.15.2
type MockKubectl struct {
// contains filtered or unexported fields
}
MockKubectl is a mock of Kubectl interface.
func NewMockKubectl ¶ added in v0.15.2
func NewMockKubectl(ctrl *gomock.Controller) *MockKubectl
NewMockKubectl creates a new mock instance.
func (*MockKubectl) Delete ¶ added in v0.15.2
func (m *MockKubectl) Delete(ctx context.Context, resourceType, kubeconfig string, opts ...kubernetes.KubectlDeleteOption) error
Delete mocks base method.
func (*MockKubectl) EXPECT ¶ added in v0.15.2
func (m *MockKubectl) EXPECT() *MockKubectlMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKubectl) Get ¶ added in v0.15.2
func (m *MockKubectl) Get(ctx context.Context, resourceType, kubeconfig string, obj runtime.Object, opts ...kubernetes.KubectlGetOption) error
Get mocks base method.
type MockKubectlDeleteOption ¶ added in v0.15.2
type MockKubectlDeleteOption struct {
// contains filtered or unexported fields
}
MockKubectlDeleteOption is a mock of KubectlDeleteOption interface.
func NewMockKubectlDeleteOption ¶ added in v0.15.2
func NewMockKubectlDeleteOption(ctrl *gomock.Controller) *MockKubectlDeleteOption
NewMockKubectlDeleteOption creates a new mock instance.
func (*MockKubectlDeleteOption) ApplyToDelete ¶ added in v0.15.2
func (m *MockKubectlDeleteOption) ApplyToDelete(arg0 *kubernetes.KubectlDeleteOptions)
ApplyToDelete mocks base method.
func (*MockKubectlDeleteOption) EXPECT ¶ added in v0.15.2
func (m *MockKubectlDeleteOption) EXPECT() *MockKubectlDeleteOptionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKubectlDeleteOptionMockRecorder ¶ added in v0.15.2
type MockKubectlDeleteOptionMockRecorder struct {
// contains filtered or unexported fields
}
MockKubectlDeleteOptionMockRecorder is the mock recorder for MockKubectlDeleteOption.
func (*MockKubectlDeleteOptionMockRecorder) ApplyToDelete ¶ added in v0.15.2
func (mr *MockKubectlDeleteOptionMockRecorder) ApplyToDelete(arg0 interface{}) *gomock.Call
ApplyToDelete indicates an expected call of ApplyToDelete.
type MockKubectlGetOption ¶ added in v0.15.2
type MockKubectlGetOption struct {
// contains filtered or unexported fields
}
MockKubectlGetOption is a mock of KubectlGetOption interface.
func NewMockKubectlGetOption ¶ added in v0.15.2
func NewMockKubectlGetOption(ctrl *gomock.Controller) *MockKubectlGetOption
NewMockKubectlGetOption creates a new mock instance.
func (*MockKubectlGetOption) ApplyToGet ¶ added in v0.15.2
func (m *MockKubectlGetOption) ApplyToGet(arg0 *kubernetes.KubectlGetOptions)
ApplyToGet mocks base method.
func (*MockKubectlGetOption) EXPECT ¶ added in v0.15.2
func (m *MockKubectlGetOption) EXPECT() *MockKubectlGetOptionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKubectlGetOptionMockRecorder ¶ added in v0.15.2
type MockKubectlGetOptionMockRecorder struct {
// contains filtered or unexported fields
}
MockKubectlGetOptionMockRecorder is the mock recorder for MockKubectlGetOption.
func (*MockKubectlGetOptionMockRecorder) ApplyToGet ¶ added in v0.15.2
func (mr *MockKubectlGetOptionMockRecorder) ApplyToGet(arg0 interface{}) *gomock.Call
ApplyToGet indicates an expected call of ApplyToGet.
type MockKubectlMockRecorder ¶ added in v0.15.2
type MockKubectlMockRecorder struct {
// contains filtered or unexported fields
}
MockKubectlMockRecorder is the mock recorder for MockKubectl.
func (*MockKubectlMockRecorder) Apply ¶ added in v0.15.2
func (mr *MockKubectlMockRecorder) Apply(ctx, kubeconfig, obj interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockKubectlMockRecorder) Create ¶ added in v0.15.2
func (mr *MockKubectlMockRecorder) Create(ctx, kubeconfig, obj interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockKubectlMockRecorder) Delete ¶ added in v0.15.2
func (mr *MockKubectlMockRecorder) Delete(ctx, resourceType, kubeconfig interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockKubectlMockRecorder) Get ¶ added in v0.15.2
func (mr *MockKubectlMockRecorder) Get(ctx, resourceType, kubeconfig, obj interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockKubectlMockRecorder) Replace ¶ added in v0.15.2
func (mr *MockKubectlMockRecorder) Replace(ctx, kubeconfig, obj interface{}) *gomock.Call
Replace indicates an expected call of Replace.
type MockReader ¶ added in v0.15.2
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface.
func NewMockReader ¶ added in v0.15.2
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance.
func (*MockReader) EXPECT ¶ added in v0.15.2
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReader) Get ¶ added in v0.15.2
func (m *MockReader) Get(ctx context.Context, name, namespace string, obj kubernetes.Object) error
Get mocks base method.
func (*MockReader) List ¶ added in v0.15.2
func (m *MockReader) List(ctx context.Context, list kubernetes.ObjectList) error
List mocks base method.
type MockReaderMockRecorder ¶ added in v0.15.2
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader.
func (*MockReaderMockRecorder) Get ¶ added in v0.15.2
func (mr *MockReaderMockRecorder) Get(ctx, name, namespace, obj interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockReaderMockRecorder) List ¶ added in v0.15.2
func (mr *MockReaderMockRecorder) List(ctx, list interface{}) *gomock.Call
List indicates an expected call of List.
type MockWriter ¶ added in v0.15.2
type MockWriter struct {
// contains filtered or unexported fields
}
MockWriter is a mock of Writer interface.
func NewMockWriter ¶ added in v0.15.2
func NewMockWriter(ctrl *gomock.Controller) *MockWriter
NewMockWriter creates a new mock instance.
func (*MockWriter) Create ¶ added in v0.15.2
func (m *MockWriter) Create(ctx context.Context, obj kubernetes.Object) error
Create mocks base method.
func (*MockWriter) Delete ¶ added in v0.15.2
func (m *MockWriter) Delete(ctx context.Context, obj kubernetes.Object) error
Delete mocks base method.
func (*MockWriter) DeleteAllOf ¶ added in v0.15.2
func (m *MockWriter) DeleteAllOf(ctx context.Context, obj kubernetes.Object, opts ...kubernetes.DeleteAllOfOption) error
DeleteAllOf mocks base method.
func (*MockWriter) EXPECT ¶ added in v0.15.2
func (m *MockWriter) EXPECT() *MockWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWriter) Update ¶ added in v0.15.2
func (m *MockWriter) Update(ctx context.Context, obj kubernetes.Object) error
Update mocks base method.
type MockWriterMockRecorder ¶ added in v0.15.2
type MockWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockWriterMockRecorder is the mock recorder for MockWriter.
func (*MockWriterMockRecorder) Create ¶ added in v0.15.2
func (mr *MockWriterMockRecorder) Create(ctx, obj interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockWriterMockRecorder) Delete ¶ added in v0.15.2
func (mr *MockWriterMockRecorder) Delete(ctx, obj interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockWriterMockRecorder) DeleteAllOf ¶ added in v0.15.2
func (mr *MockWriterMockRecorder) DeleteAllOf(ctx, obj interface{}, opts ...interface{}) *gomock.Call
DeleteAllOf indicates an expected call of DeleteAllOf.
func (*MockWriterMockRecorder) Update ¶ added in v0.15.2
func (mr *MockWriterMockRecorder) Update(ctx, obj interface{}) *gomock.Call
Update indicates an expected call of Update.