mocks

package
v0.6.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sClientService

type K8sClientService struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL