mocks

package
v0.0.0-...-34ee2f8 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 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 DirectorClient

type DirectorClient struct {
	mock.Mock
}

DirectorClient is an autogenerated mock type for the DirectorClient type

func (*DirectorClient) CreateRuntime

func (_m *DirectorClient) CreateRuntime(config *gqlschema.RuntimeInput, tenant string) (string, apperrors.AppError)

CreateRuntime provides a mock function with given fields: config, tenant

func (*DirectorClient) DeleteRuntime

func (_m *DirectorClient) DeleteRuntime(id string, tenant string) apperrors.AppError

DeleteRuntime provides a mock function with given fields: id, tenant

func (*DirectorClient) GetConnectionToken

func (_m *DirectorClient) GetConnectionToken(id string, tenant string) (graphql.OneTimeTokenForRuntimeExt, apperrors.AppError)

GetConnectionToken provides a mock function with given fields: id, tenant

func (*DirectorClient) GetRuntime

func (_m *DirectorClient) GetRuntime(id string, tenant string) (graphql.RuntimeExt, apperrors.AppError)

GetRuntime provides a mock function with given fields: id, tenant

func (*DirectorClient) RuntimeExists

func (_m *DirectorClient) RuntimeExists(gardenerClusterName string, tenant string) (bool, apperrors.AppError)

RuntimeExists provides a mock function with given fields: gardenerClusterName, tenant

func (*DirectorClient) SetRuntimeStatusCondition

func (_m *DirectorClient) SetRuntimeStatusCondition(id string, statusCondition graphql.RuntimeStatusCondition, tenant string) apperrors.AppError

SetRuntimeStatusCondition provides a mock function with given fields: id, statusCondition, tenant

func (*DirectorClient) UpdateRuntime

func (_m *DirectorClient) UpdateRuntime(id string, config *graphql.RuntimeInput, tenant string) apperrors.AppError

UpdateRuntime provides a mock function with given fields: id, config, tenant

Jump to

Keyboard shortcuts

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