automock

package
v0.0.0-...-f7d1ac2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t mockConstructorTestingTNewClient) *Client

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.

func (*Client) DeprovisionRuntime

func (_m *Client) DeprovisionRuntime(accountID string, runtimeID string) (string, error)

DeprovisionRuntime provides a mock function with given fields: accountID, runtimeID

func (*Client) ProvisionRuntime

func (_m *Client) ProvisionRuntime(accountID string, subAccountID string, config gqlschema.ProvisionRuntimeInput) (gqlschema.OperationStatus, error)

ProvisionRuntime provides a mock function with given fields: accountID, subAccountID, config

func (*Client) ReconnectRuntimeAgent

func (_m *Client) ReconnectRuntimeAgent(accountID string, runtimeID string) (string, error)

ReconnectRuntimeAgent provides a mock function with given fields: accountID, runtimeID

func (*Client) RuntimeOperationStatus

func (_m *Client) RuntimeOperationStatus(accountID string, operationID string) (gqlschema.OperationStatus, error)

RuntimeOperationStatus provides a mock function with given fields: accountID, operationID

func (*Client) RuntimeStatus

func (_m *Client) RuntimeStatus(accountID string, runtimeID string) (gqlschema.RuntimeStatus, error)

RuntimeStatus provides a mock function with given fields: accountID, runtimeID

func (*Client) UpgradeRuntime

func (_m *Client) UpgradeRuntime(accountID string, runtimeID string, config gqlschema.UpgradeRuntimeInput) (gqlschema.OperationStatus, error)

UpgradeRuntime provides a mock function with given fields: accountID, runtimeID, config

func (*Client) UpgradeShoot

func (_m *Client) UpgradeShoot(accountID string, runtimeID string, config gqlschema.UpgradeShootInput) (gqlschema.OperationStatus, error)

UpgradeShoot provides a mock function with given fields: accountID, runtimeID, config

Jump to

Keyboard shortcuts

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