Documentation ¶
Index ¶
- type K8SClient
- func (_m *K8SClient) Create(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)
- func (_m *K8SClient) Get(ctx context.Context, name string, options v1.GetOptions) (*v1alpha1.Operation, error)
- func (_m *K8SClient) Update(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8SClient ¶
K8SClient is an autogenerated mock type for the K8SClient type
func NewK8SClient ¶
NewK8SClient creates a new instance of K8SClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*K8SClient) Create ¶
func (_m *K8SClient) Create(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)
Create provides a mock function with given fields: ctx, operation
Click to show internal directories.
Click to hide internal directories.