Documentation ¶
Index ¶
- type Client
- func (_m *Client) AssignApplicationToFormation(appId string, formationName string) error
- func (_m *Client) AssignRuntimeToFormation(runtimeId string, formationName string) error
- func (_m *Client) GetConnectionToken(runtimeID string) (string, string, error)
- func (_m *Client) RegisterApplication(appName string, displayName string) (string, error)
- func (_m *Client) RegisterFormation(formationName string) error
- func (_m *Client) RegisterRuntime(runtimeName string) (string, error)
- func (_m *Client) UnassignApplication(appId string, formationName string) error
- func (_m *Client) UnregisterApplication(id string) error
- func (_m *Client) UnregisterFormation(formationName string) error
- func (_m *Client) UnregisterRuntime(id string) error
- type DirectorClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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 ¶
AssignApplicationToFormation provides a mock function with given fields: appId, formationName
func (*Client) AssignRuntimeToFormation ¶
AssignRuntimeToFormation provides a mock function with given fields: runtimeId, formationName
func (*Client) GetConnectionToken ¶
GetConnectionToken provides a mock function with given fields: runtimeID
func (*Client) RegisterApplication ¶
RegisterApplication provides a mock function with given fields: appName, displayName
func (*Client) RegisterFormation ¶
RegisterFormation provides a mock function with given fields: formationName
func (*Client) RegisterRuntime ¶
RegisterRuntime provides a mock function with given fields: runtimeName
func (*Client) UnassignApplication ¶
UnassignApplication provides a mock function with given fields: appId, formationName
func (*Client) UnregisterApplication ¶
UnregisterApplication provides a mock function with given fields: id
func (*Client) UnregisterFormation ¶
UnregisterFormation provides a mock function with given fields: formationName
func (*Client) UnregisterRuntime ¶
UnregisterRuntime provides a mock function with given fields: id
type DirectorClient ¶
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