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 MockApplyServerSideOption
- type MockApplyServerSideOptionMockRecorder
- type MockClient
- func (m *MockClient) ApplyServerSide(ctx context.Context, fieldManager string, obj kubernetes.Object, ...) error
- 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) ApplyServerSide(ctx, fieldManager, obj interface{}, opts ...interface{}) *gomock.Call
- 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 MockKubectlApplyOption
- type MockKubectlApplyOptionMockRecorder
- type MockKubectlDeleteOption
- type MockKubectlDeleteOptionMockRecorder
- type MockKubectlGetOption
- type MockKubectlGetOptionMockRecorder
- type MockKubectlMockRecorder
- func (mr *MockKubectlMockRecorder) Apply(ctx, kubeconfig, obj interface{}, opts ...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) ApplyServerSide(ctx context.Context, fieldManager string, obj kubernetes.Object, ...) error
- 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) ApplyServerSide(ctx, fieldManager, obj interface{}, opts ...interface{}) *gomock.Call
- 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 MockApplyServerSideOption ¶ added in v0.18.0
type MockApplyServerSideOption struct {
// contains filtered or unexported fields
}
MockApplyServerSideOption is a mock of ApplyServerSideOption interface.
func NewMockApplyServerSideOption ¶ added in v0.18.0
func NewMockApplyServerSideOption(ctrl *gomock.Controller) *MockApplyServerSideOption
NewMockApplyServerSideOption creates a new mock instance.
func (*MockApplyServerSideOption) ApplyToApplyServerSide ¶ added in v0.18.0
func (m *MockApplyServerSideOption) ApplyToApplyServerSide(arg0 *kubernetes.ApplyServerSideOptions)
ApplyToApplyServerSide mocks base method.
func (*MockApplyServerSideOption) EXPECT ¶ added in v0.18.0
func (m *MockApplyServerSideOption) EXPECT() *MockApplyServerSideOptionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockApplyServerSideOptionMockRecorder ¶ added in v0.18.0
type MockApplyServerSideOptionMockRecorder struct {
// contains filtered or unexported fields
}
MockApplyServerSideOptionMockRecorder is the mock recorder for MockApplyServerSideOption.
func (*MockApplyServerSideOptionMockRecorder) ApplyToApplyServerSide ¶ added in v0.18.0
func (mr *MockApplyServerSideOptionMockRecorder) ApplyToApplyServerSide(arg0 interface{}) *gomock.Call
ApplyToApplyServerSide indicates an expected call of ApplyToApplyServerSide.
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) ApplyServerSide ¶ added in v0.18.0
func (m *MockClient) ApplyServerSide(ctx context.Context, fieldManager string, obj kubernetes.Object, opts ...kubernetes.ApplyServerSideOption) error
ApplyServerSide mocks base method.
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) ApplyServerSide ¶ added in v0.18.0
func (mr *MockClientMockRecorder) ApplyServerSide(ctx, fieldManager, obj interface{}, opts ...interface{}) *gomock.Call
ApplyServerSide indicates an expected call of ApplyServerSide.
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) Apply ¶ added in v0.15.2
func (m *MockKubectl) Apply(ctx context.Context, kubeconfig string, obj runtime.Object, opts ...kubernetes.KubectlApplyOption) error
Apply mocks base method.
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 MockKubectlApplyOption ¶ added in v0.18.0
type MockKubectlApplyOption struct {
// contains filtered or unexported fields
}
MockKubectlApplyOption is a mock of KubectlApplyOption interface.
func NewMockKubectlApplyOption ¶ added in v0.18.0
func NewMockKubectlApplyOption(ctrl *gomock.Controller) *MockKubectlApplyOption
NewMockKubectlApplyOption creates a new mock instance.
func (*MockKubectlApplyOption) ApplyToApply ¶ added in v0.18.0
func (m *MockKubectlApplyOption) ApplyToApply(arg0 *kubernetes.KubectlApplyOptions)
ApplyToApply mocks base method.
func (*MockKubectlApplyOption) EXPECT ¶ added in v0.18.0
func (m *MockKubectlApplyOption) EXPECT() *MockKubectlApplyOptionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKubectlApplyOptionMockRecorder ¶ added in v0.18.0
type MockKubectlApplyOptionMockRecorder struct {
// contains filtered or unexported fields
}
MockKubectlApplyOptionMockRecorder is the mock recorder for MockKubectlApplyOption.
func (*MockKubectlApplyOptionMockRecorder) ApplyToApply ¶ added in v0.18.0
func (mr *MockKubectlApplyOptionMockRecorder) ApplyToApply(arg0 interface{}) *gomock.Call
ApplyToApply indicates an expected call of ApplyToApply.
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{}, opts ...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) ApplyServerSide ¶ added in v0.18.0
func (m *MockWriter) ApplyServerSide(ctx context.Context, fieldManager string, obj kubernetes.Object, opts ...kubernetes.ApplyServerSideOption) error
ApplyServerSide mocks base method.
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) ApplyServerSide ¶ added in v0.18.0
func (mr *MockWriterMockRecorder) ApplyServerSide(ctx, fieldManager, obj interface{}, opts ...interface{}) *gomock.Call
ApplyServerSide indicates an expected call of ApplyServerSide.
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.