mocks

package
v0.0.0-...-6cc5b44 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 1 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) AssignApplicationToFormation

func (_m *Client) AssignApplicationToFormation(appId string, formationName string) error

AssignApplicationToFormation provides a mock function with given fields: appId, formationName

func (*Client) AssignRuntimeToFormation

func (_m *Client) AssignRuntimeToFormation(runtimeId string, formationName string) error

AssignRuntimeToFormation provides a mock function with given fields: runtimeId, formationName

func (*Client) GetConnectionToken

func (_m *Client) GetConnectionToken(runtimeID string) (string, string, error)

GetConnectionToken provides a mock function with given fields: runtimeID

func (*Client) RegisterApplication

func (_m *Client) RegisterApplication(appName string, displayName string) (string, error)

RegisterApplication provides a mock function with given fields: appName, displayName

func (*Client) RegisterFormation

func (_m *Client) RegisterFormation(formationName string) error

RegisterFormation provides a mock function with given fields: formationName

func (*Client) RegisterRuntime

func (_m *Client) RegisterRuntime(runtimeName string) (string, error)

RegisterRuntime provides a mock function with given fields: runtimeName

func (*Client) UnassignApplication

func (_m *Client) UnassignApplication(appId string, formationName string) error

UnassignApplication provides a mock function with given fields: appId, formationName

func (*Client) UnregisterApplication

func (_m *Client) UnregisterApplication(id string) error

UnregisterApplication provides a mock function with given fields: id

func (*Client) UnregisterFormation

func (_m *Client) UnregisterFormation(formationName string) error

UnregisterFormation provides a mock function with given fields: formationName

func (*Client) UnregisterRuntime

func (_m *Client) UnregisterRuntime(id string) error

UnregisterRuntime provides a mock function with given fields: id

type DirectorClient

type DirectorClient struct {
	mock.Mock
}

DirectorClient is an autogenerated mock type for the DirectorClient type

func NewDirectorClient

func NewDirectorClient(t mockConstructorTestingTNewDirectorClient) *DirectorClient

NewDirectorClient creates a new instance of DirectorClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DirectorClient) RegisterApplication

func (_m *DirectorClient) RegisterApplication(appName string, scenario string, tenant string) (string, error)

RegisterApplication provides a mock function with given fields: appName, scenario, tenant

func (*DirectorClient) UnregisterApplication

func (_m *DirectorClient) UnregisterApplication(id string, tenant string) error

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

Jump to

Keyboard shortcuts

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