mocks

package
v0.6.13 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 4 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(restConfig *rest.Config, request *application.K8sRequestBean, manifest string) (*application.ManifestResponse, error)

ApplyResource provides a mock function with given fields: restConfig, request, manifest

func (*K8sClientService) CreateResource

func (_m *K8sClientService) CreateResource(restConfig *rest.Config, request *application.K8sRequestBean, manifest string) (*application.ManifestResponse, error)

CreateResource provides a mock function with given fields: restConfig, request, manifest

func (*K8sClientService) DeleteResource

func (_m *K8sClientService) DeleteResource(restConfig *rest.Config, request *application.K8sRequestBean) (*application.ManifestResponse, error)

DeleteResource provides a mock function with given fields: 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(restConfig *rest.Config, request *application.K8sRequestBean) (io.ReadCloser, error)

GetPodLogs provides a mock function with given fields: restConfig, request

func (*K8sClientService) GetResource

func (_m *K8sClientService) GetResource(restConfig *rest.Config, request *application.K8sRequestBean) (*application.ManifestResponse, error)

GetResource provides a mock function with given fields: restConfig, request

func (*K8sClientService) GetResourceList added in v0.6.13

func (_m *K8sClientService) GetResourceList(restConfig *rest.Config, request *application.K8sRequestBean) (*application.ResourceListResponse, bool, error)

GetResourceList provides a mock function with given fields: restConfig, request

func (*K8sClientService) ListEvents

func (_m *K8sClientService) ListEvents(restConfig *rest.Config, request *application.K8sRequestBean) (*application.EventsResponse, error)

ListEvents provides a mock function with given fields: restConfig, request

func (*K8sClientService) UpdateResource

func (_m *K8sClientService) UpdateResource(restConfig *rest.Config, request *application.K8sRequestBean) (*application.ManifestResponse, error)

UpdateResource provides a mock function with given fields: restConfig, request

Jump to

Keyboard shortcuts

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