Documentation ¶
Index ¶
- type K8sClientService
- func (_m *K8sClientService) ApplyResource(ctx context.Context, restConfig *rest.Config, ...) (*application.ManifestResponse, error)
- func (_m *K8sClientService) CreateResource(ctx context.Context, restConfig *rest.Config, ...) (*application.ManifestResponse, error)
- func (_m *K8sClientService) DeleteResource(ctx context.Context, restConfig *rest.Config, ...) (*application.ManifestResponse, error)
- func (_m *K8sClientService) GetApiResources(restConfig *rest.Config, includeOnlyVerb string) ([]*application.K8sApiResource, error)
- func (_m *K8sClientService) GetPodLogs(ctx context.Context, restConfig *rest.Config, ...) (io.ReadCloser, error)
- func (_m *K8sClientService) GetResource(ctx context.Context, restConfig *rest.Config, ...) (*application.ManifestResponse, error)
- func (_m *K8sClientService) GetResourceList(ctx context.Context, restConfig *rest.Config, ...) (*application.ResourceListResponse, bool, error)
- func (_m *K8sClientService) ListEvents(ctx context.Context, restConfig *rest.Config, ...) (*application.EventsResponse, error)
- func (_m *K8sClientService) PatchResource(ctx context.Context, restConfig *rest.Config, pt types.PatchType, ...) (*application.ManifestResponse, error)
- func (_m *K8sClientService) UpdateResource(ctx context.Context, restConfig *rest.Config, ...) (*application.ManifestResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sClientService ¶
K8sClientService is an autogenerated mock type for the K8sClientService type
func NewK8sClientService ¶
func NewK8sClientService(t mockConstructorTestingTNewK8sClientService) *K8sClientService
NewK8sClientService creates a new instance of K8sClientService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*K8sClientService) ApplyResource ¶ added in v0.6.13
func (_m *K8sClientService) ApplyResource(ctx context.Context, restConfig *rest.Config, request *application.K8sRequestBean, manifest string) (*application.ManifestResponse, error)
ApplyResource provides a mock function with given fields: ctx, restConfig, request, manifest
func (*K8sClientService) CreateResource ¶
func (_m *K8sClientService) CreateResource(ctx context.Context, restConfig *rest.Config, request *application.K8sRequestBean, manifest string) (*application.ManifestResponse, error)
CreateResource provides a mock function with given fields: ctx, restConfig, request, manifest
func (*K8sClientService) DeleteResource ¶
func (_m *K8sClientService) DeleteResource(ctx context.Context, restConfig *rest.Config, request *application.K8sRequestBean) (*application.ManifestResponse, error)
DeleteResource provides a mock function with given fields: ctx, restConfig, request
func (*K8sClientService) GetApiResources ¶ added in v0.6.13
func (_m *K8sClientService) GetApiResources(restConfig *rest.Config, includeOnlyVerb string) ([]*application.K8sApiResource, error)
GetApiResources provides a mock function with given fields: restConfig, includeOnlyVerb
func (*K8sClientService) GetPodLogs ¶
func (_m *K8sClientService) GetPodLogs(ctx context.Context, restConfig *rest.Config, request *application.K8sRequestBean) (io.ReadCloser, error)
GetPodLogs provides a mock function with given fields: ctx, restConfig, request
func (*K8sClientService) GetResource ¶
func (_m *K8sClientService) GetResource(ctx context.Context, restConfig *rest.Config, request *application.K8sRequestBean) (*application.ManifestResponse, error)
GetResource provides a mock function with given fields: ctx, restConfig, request
func (*K8sClientService) GetResourceList ¶ added in v0.6.13
func (_m *K8sClientService) GetResourceList(ctx context.Context, restConfig *rest.Config, request *application.K8sRequestBean) (*application.ResourceListResponse, bool, error)
GetResourceList provides a mock function with given fields: ctx, restConfig, request
func (*K8sClientService) ListEvents ¶
func (_m *K8sClientService) ListEvents(ctx context.Context, restConfig *rest.Config, request *application.K8sRequestBean) (*application.EventsResponse, error)
ListEvents provides a mock function with given fields: ctx, restConfig, request
func (*K8sClientService) PatchResource ¶ added in v0.6.19
func (_m *K8sClientService) PatchResource(ctx context.Context, restConfig *rest.Config, pt types.PatchType, request *application.K8sRequestBean, manifest string) (*application.ManifestResponse, error)
PatchResource provides a mock function with given fields: ctx, restConfig, pt, request, manifest
func (*K8sClientService) UpdateResource ¶
func (_m *K8sClientService) UpdateResource(ctx context.Context, restConfig *rest.Config, request *application.K8sRequestBean) (*application.ManifestResponse, error)
UpdateResource provides a mock function with given fields: ctx, restConfig, request