Documentation ¶
Index ¶
- func IsEqual(a, b interface{}) bool
- type MockClient
- func (m *MockClient) Create(ctx context.Context, obj runtime.Object, opts ...client.CreateOption) error
- func (m *MockClient) Delete(ctx context.Context, obj runtime.Object, opts ...client.DeleteOption) error
- func (m *MockClient) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...client.DeleteAllOfOption) error
- func (m *MockClient) Get(ctx context.Context, key client.ObjectKey, obj runtime.Object) error
- func (m *MockClient) List(ctx context.Context, list runtime.Object, opts ...client.ListOption) error
- func (m *MockClient) Patch(ctx context.Context, obj runtime.Object, patch client.Patch, ...) error
- func (m *MockClient) Status() client.StatusWriter
- func (m *MockClient) Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockClient ¶
func (*MockClient) Create ¶
func (m *MockClient) Create(ctx context.Context, obj runtime.Object, opts ...client.CreateOption) error
func (*MockClient) Delete ¶
func (m *MockClient) Delete(ctx context.Context, obj runtime.Object, opts ...client.DeleteOption) error
func (*MockClient) DeleteAllOf ¶
func (m *MockClient) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...client.DeleteAllOfOption) error
func (*MockClient) List ¶
func (m *MockClient) List(ctx context.Context, list runtime.Object, opts ...client.ListOption) error
func (*MockClient) Patch ¶
func (m *MockClient) Patch(ctx context.Context, obj runtime.Object, patch client.Patch, opts ...client.PatchOption) error
func (*MockClient) Status ¶
func (m *MockClient) Status() client.StatusWriter
func (*MockClient) Update ¶
func (m *MockClient) Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error
Click to show internal directories.
Click to hide internal directories.