Documentation ¶
Index ¶
- type Client
- func (_m *Client) DeleteDeployment(ctx context.Context, name string, namespace string) error
- func (_m *Client) DeleteResource(ctx context.Context, object client.Object) error
- func (_m *Client) GetConfigMap(ctx context.Context, name string, namespace string) (*v1.ConfigMap, error)
- func (_m *Client) GetDeployment(ctx context.Context, name string, namespace string) (*appsv1.Deployment, error)
- func (_m *Client) GetSecret(ctx context.Context, name string, namespace string) (*v1.Secret, error)
- func (_m *Client) PatchApply(ctx context.Context, object client.Object) error
- func (_m *Client) UpdateDeployment(ctx context.Context, deployment *appsv1.Deployment) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. 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 (*Client) DeleteDeployment ¶
DeleteDeployment provides a mock function with given fields: ctx, name, namespace
func (*Client) DeleteResource ¶
DeleteResource provides a mock function with given fields: ctx, object
func (*Client) GetConfigMap ¶
func (_m *Client) GetConfigMap(ctx context.Context, name string, namespace string) (*v1.ConfigMap, error)
GetConfigMap provides a mock function with given fields: ctx, name, namespace
func (*Client) GetDeployment ¶
func (_m *Client) GetDeployment(ctx context.Context, name string, namespace string) (*appsv1.Deployment, error)
GetDeployment provides a mock function with given fields: ctx, name, namespace
func (*Client) GetSecret ¶
GetSecret provides a mock function with given fields: ctx, name, namespace
func (*Client) PatchApply ¶
PatchApply provides a mock function with given fields: ctx, object
func (*Client) UpdateDeployment ¶
UpdateDeployment provides a mock function with given fields: ctx, deployment