Documentation ¶
Index ¶
- type Client
- func (_m *Client) CreateConnectionSetting(es edgeconnect.EnvironmentSetting) error
- func (_m *Client) CreateEdgeConnect(request *edgeconnect.Request) (edgeconnect.CreateResponse, error)
- func (_m *Client) DeleteConnectionSetting(objectId string) error
- func (_m *Client) DeleteEdgeConnect(edgeConnectId string) error
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) GetConnectionSettings() ([]edgeconnect.EnvironmentSetting, error)
- func (_m *Client) GetEdgeConnect(edgeConnectId string) (edgeconnect.GetResponse, error)
- func (_m *Client) GetEdgeConnects(name string) (edgeconnect.ListResponse, error)
- func (_m *Client) UpdateConnectionSetting(es edgeconnect.EnvironmentSetting) error
- func (_m *Client) UpdateEdgeConnect(edgeConnectId string, request *edgeconnect.Request) error
- type Client_CreateConnectionSetting_Call
- func (_c *Client_CreateConnectionSetting_Call) Return(_a0 error) *Client_CreateConnectionSetting_Call
- func (_c *Client_CreateConnectionSetting_Call) Run(run func(es edgeconnect.EnvironmentSetting)) *Client_CreateConnectionSetting_Call
- func (_c *Client_CreateConnectionSetting_Call) RunAndReturn(run func(edgeconnect.EnvironmentSetting) error) *Client_CreateConnectionSetting_Call
- type Client_CreateEdgeConnect_Call
- func (_c *Client_CreateEdgeConnect_Call) Return(_a0 edgeconnect.CreateResponse, _a1 error) *Client_CreateEdgeConnect_Call
- func (_c *Client_CreateEdgeConnect_Call) Run(run func(request *edgeconnect.Request)) *Client_CreateEdgeConnect_Call
- func (_c *Client_CreateEdgeConnect_Call) RunAndReturn(run func(*edgeconnect.Request) (edgeconnect.CreateResponse, error)) *Client_CreateEdgeConnect_Call
- type Client_DeleteConnectionSetting_Call
- func (_c *Client_DeleteConnectionSetting_Call) Return(_a0 error) *Client_DeleteConnectionSetting_Call
- func (_c *Client_DeleteConnectionSetting_Call) Run(run func(objectId string)) *Client_DeleteConnectionSetting_Call
- func (_c *Client_DeleteConnectionSetting_Call) RunAndReturn(run func(string) error) *Client_DeleteConnectionSetting_Call
- type Client_DeleteEdgeConnect_Call
- func (_c *Client_DeleteEdgeConnect_Call) Return(_a0 error) *Client_DeleteEdgeConnect_Call
- func (_c *Client_DeleteEdgeConnect_Call) Run(run func(edgeConnectId string)) *Client_DeleteEdgeConnect_Call
- func (_c *Client_DeleteEdgeConnect_Call) RunAndReturn(run func(string) error) *Client_DeleteEdgeConnect_Call
- type Client_Expecter
- func (_e *Client_Expecter) CreateConnectionSetting(es interface{}) *Client_CreateConnectionSetting_Call
- func (_e *Client_Expecter) CreateEdgeConnect(request interface{}) *Client_CreateEdgeConnect_Call
- func (_e *Client_Expecter) DeleteConnectionSetting(objectId interface{}) *Client_DeleteConnectionSetting_Call
- func (_e *Client_Expecter) DeleteEdgeConnect(edgeConnectId interface{}) *Client_DeleteEdgeConnect_Call
- func (_e *Client_Expecter) GetConnectionSettings() *Client_GetConnectionSettings_Call
- func (_e *Client_Expecter) GetEdgeConnect(edgeConnectId interface{}) *Client_GetEdgeConnect_Call
- func (_e *Client_Expecter) GetEdgeConnects(name interface{}) *Client_GetEdgeConnects_Call
- func (_e *Client_Expecter) UpdateConnectionSetting(es interface{}) *Client_UpdateConnectionSetting_Call
- func (_e *Client_Expecter) UpdateEdgeConnect(edgeConnectId interface{}, request interface{}) *Client_UpdateEdgeConnect_Call
- type Client_GetConnectionSettings_Call
- func (_c *Client_GetConnectionSettings_Call) Return(_a0 []edgeconnect.EnvironmentSetting, _a1 error) *Client_GetConnectionSettings_Call
- func (_c *Client_GetConnectionSettings_Call) Run(run func()) *Client_GetConnectionSettings_Call
- func (_c *Client_GetConnectionSettings_Call) RunAndReturn(run func() ([]edgeconnect.EnvironmentSetting, error)) *Client_GetConnectionSettings_Call
- type Client_GetEdgeConnect_Call
- func (_c *Client_GetEdgeConnect_Call) Return(_a0 edgeconnect.GetResponse, _a1 error) *Client_GetEdgeConnect_Call
- func (_c *Client_GetEdgeConnect_Call) Run(run func(edgeConnectId string)) *Client_GetEdgeConnect_Call
- func (_c *Client_GetEdgeConnect_Call) RunAndReturn(run func(string) (edgeconnect.GetResponse, error)) *Client_GetEdgeConnect_Call
- type Client_GetEdgeConnects_Call
- func (_c *Client_GetEdgeConnects_Call) Return(_a0 edgeconnect.ListResponse, _a1 error) *Client_GetEdgeConnects_Call
- func (_c *Client_GetEdgeConnects_Call) Run(run func(name string)) *Client_GetEdgeConnects_Call
- func (_c *Client_GetEdgeConnects_Call) RunAndReturn(run func(string) (edgeconnect.ListResponse, error)) *Client_GetEdgeConnects_Call
- type Client_UpdateConnectionSetting_Call
- func (_c *Client_UpdateConnectionSetting_Call) Return(_a0 error) *Client_UpdateConnectionSetting_Call
- func (_c *Client_UpdateConnectionSetting_Call) Run(run func(es edgeconnect.EnvironmentSetting)) *Client_UpdateConnectionSetting_Call
- func (_c *Client_UpdateConnectionSetting_Call) RunAndReturn(run func(edgeconnect.EnvironmentSetting) error) *Client_UpdateConnectionSetting_Call
- type Client_UpdateEdgeConnect_Call
- func (_c *Client_UpdateEdgeConnect_Call) Return(_a0 error) *Client_UpdateEdgeConnect_Call
- func (_c *Client_UpdateEdgeConnect_Call) Run(run func(edgeConnectId string, request *edgeconnect.Request)) *Client_UpdateEdgeConnect_Call
- func (_c *Client_UpdateEdgeConnect_Call) RunAndReturn(run func(string, *edgeconnect.Request) error) *Client_UpdateEdgeConnect_Call
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 ¶
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. The first argument is typically a *testing.T value.
func (*Client) CreateConnectionSetting ¶ added in v1.3.0
func (_m *Client) CreateConnectionSetting(es edgeconnect.EnvironmentSetting) error
CreateConnectionSetting provides a mock function with given fields: es
func (*Client) CreateEdgeConnect ¶
func (_m *Client) CreateEdgeConnect(request *edgeconnect.Request) (edgeconnect.CreateResponse, error)
CreateEdgeConnect provides a mock function with given fields: request
func (*Client) DeleteConnectionSetting ¶ added in v1.3.0
DeleteConnectionSetting provides a mock function with given fields: objectId
func (*Client) DeleteEdgeConnect ¶
DeleteEdgeConnect provides a mock function with given fields: edgeConnectId
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) GetConnectionSettings ¶ added in v1.3.0
func (_m *Client) GetConnectionSettings() ([]edgeconnect.EnvironmentSetting, error)
GetConnectionSettings provides a mock function with given fields:
func (*Client) GetEdgeConnect ¶
func (_m *Client) GetEdgeConnect(edgeConnectId string) (edgeconnect.GetResponse, error)
GetEdgeConnect provides a mock function with given fields: edgeConnectId
func (*Client) GetEdgeConnects ¶
func (_m *Client) GetEdgeConnects(name string) (edgeconnect.ListResponse, error)
GetEdgeConnects provides a mock function with given fields: name
func (*Client) UpdateConnectionSetting ¶ added in v1.3.0
func (_m *Client) UpdateConnectionSetting(es edgeconnect.EnvironmentSetting) error
UpdateConnectionSetting provides a mock function with given fields: es
func (*Client) UpdateEdgeConnect ¶
func (_m *Client) UpdateEdgeConnect(edgeConnectId string, request *edgeconnect.Request) error
UpdateEdgeConnect provides a mock function with given fields: edgeConnectId, request
type Client_CreateConnectionSetting_Call ¶ added in v1.3.0
Client_CreateConnectionSetting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateConnectionSetting'
func (*Client_CreateConnectionSetting_Call) Return ¶ added in v1.3.0
func (_c *Client_CreateConnectionSetting_Call) Return(_a0 error) *Client_CreateConnectionSetting_Call
func (*Client_CreateConnectionSetting_Call) Run ¶ added in v1.3.0
func (_c *Client_CreateConnectionSetting_Call) Run(run func(es edgeconnect.EnvironmentSetting)) *Client_CreateConnectionSetting_Call
func (*Client_CreateConnectionSetting_Call) RunAndReturn ¶ added in v1.3.0
func (_c *Client_CreateConnectionSetting_Call) RunAndReturn(run func(edgeconnect.EnvironmentSetting) error) *Client_CreateConnectionSetting_Call
type Client_CreateEdgeConnect_Call ¶
Client_CreateEdgeConnect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateEdgeConnect'
func (*Client_CreateEdgeConnect_Call) Return ¶
func (_c *Client_CreateEdgeConnect_Call) Return(_a0 edgeconnect.CreateResponse, _a1 error) *Client_CreateEdgeConnect_Call
func (*Client_CreateEdgeConnect_Call) Run ¶
func (_c *Client_CreateEdgeConnect_Call) Run(run func(request *edgeconnect.Request)) *Client_CreateEdgeConnect_Call
func (*Client_CreateEdgeConnect_Call) RunAndReturn ¶
func (_c *Client_CreateEdgeConnect_Call) RunAndReturn(run func(*edgeconnect.Request) (edgeconnect.CreateResponse, error)) *Client_CreateEdgeConnect_Call
type Client_DeleteConnectionSetting_Call ¶ added in v1.3.0
Client_DeleteConnectionSetting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteConnectionSetting'
func (*Client_DeleteConnectionSetting_Call) Return ¶ added in v1.3.0
func (_c *Client_DeleteConnectionSetting_Call) Return(_a0 error) *Client_DeleteConnectionSetting_Call
func (*Client_DeleteConnectionSetting_Call) Run ¶ added in v1.3.0
func (_c *Client_DeleteConnectionSetting_Call) Run(run func(objectId string)) *Client_DeleteConnectionSetting_Call
func (*Client_DeleteConnectionSetting_Call) RunAndReturn ¶ added in v1.3.0
func (_c *Client_DeleteConnectionSetting_Call) RunAndReturn(run func(string) error) *Client_DeleteConnectionSetting_Call
type Client_DeleteEdgeConnect_Call ¶
Client_DeleteEdgeConnect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEdgeConnect'
func (*Client_DeleteEdgeConnect_Call) Return ¶
func (_c *Client_DeleteEdgeConnect_Call) Return(_a0 error) *Client_DeleteEdgeConnect_Call
func (*Client_DeleteEdgeConnect_Call) Run ¶
func (_c *Client_DeleteEdgeConnect_Call) Run(run func(edgeConnectId string)) *Client_DeleteEdgeConnect_Call
func (*Client_DeleteEdgeConnect_Call) RunAndReturn ¶
func (_c *Client_DeleteEdgeConnect_Call) RunAndReturn(run func(string) error) *Client_DeleteEdgeConnect_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) CreateConnectionSetting ¶ added in v1.3.0
func (_e *Client_Expecter) CreateConnectionSetting(es interface{}) *Client_CreateConnectionSetting_Call
CreateConnectionSetting is a helper method to define mock.On call
- es edgeconnect.EnvironmentSetting
func (*Client_Expecter) CreateEdgeConnect ¶
func (_e *Client_Expecter) CreateEdgeConnect(request interface{}) *Client_CreateEdgeConnect_Call
CreateEdgeConnect is a helper method to define mock.On call
- request *edgeconnect.Request
func (*Client_Expecter) DeleteConnectionSetting ¶ added in v1.3.0
func (_e *Client_Expecter) DeleteConnectionSetting(objectId interface{}) *Client_DeleteConnectionSetting_Call
DeleteConnectionSetting is a helper method to define mock.On call
- objectId string
func (*Client_Expecter) DeleteEdgeConnect ¶
func (_e *Client_Expecter) DeleteEdgeConnect(edgeConnectId interface{}) *Client_DeleteEdgeConnect_Call
DeleteEdgeConnect is a helper method to define mock.On call
- edgeConnectId string
func (*Client_Expecter) GetConnectionSettings ¶ added in v1.3.0
func (_e *Client_Expecter) GetConnectionSettings() *Client_GetConnectionSettings_Call
GetConnectionSettings is a helper method to define mock.On call
func (*Client_Expecter) GetEdgeConnect ¶
func (_e *Client_Expecter) GetEdgeConnect(edgeConnectId interface{}) *Client_GetEdgeConnect_Call
GetEdgeConnect is a helper method to define mock.On call
- edgeConnectId string
func (*Client_Expecter) GetEdgeConnects ¶
func (_e *Client_Expecter) GetEdgeConnects(name interface{}) *Client_GetEdgeConnects_Call
GetEdgeConnects is a helper method to define mock.On call
- name string
func (*Client_Expecter) UpdateConnectionSetting ¶ added in v1.3.0
func (_e *Client_Expecter) UpdateConnectionSetting(es interface{}) *Client_UpdateConnectionSetting_Call
UpdateConnectionSetting is a helper method to define mock.On call
- es edgeconnect.EnvironmentSetting
func (*Client_Expecter) UpdateEdgeConnect ¶
func (_e *Client_Expecter) UpdateEdgeConnect(edgeConnectId interface{}, request interface{}) *Client_UpdateEdgeConnect_Call
UpdateEdgeConnect is a helper method to define mock.On call
- edgeConnectId string
- request *edgeconnect.Request
type Client_GetConnectionSettings_Call ¶ added in v1.3.0
Client_GetConnectionSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConnectionSettings'
func (*Client_GetConnectionSettings_Call) Return ¶ added in v1.3.0
func (_c *Client_GetConnectionSettings_Call) Return(_a0 []edgeconnect.EnvironmentSetting, _a1 error) *Client_GetConnectionSettings_Call
func (*Client_GetConnectionSettings_Call) Run ¶ added in v1.3.0
func (_c *Client_GetConnectionSettings_Call) Run(run func()) *Client_GetConnectionSettings_Call
func (*Client_GetConnectionSettings_Call) RunAndReturn ¶ added in v1.3.0
func (_c *Client_GetConnectionSettings_Call) RunAndReturn(run func() ([]edgeconnect.EnvironmentSetting, error)) *Client_GetConnectionSettings_Call
type Client_GetEdgeConnect_Call ¶
Client_GetEdgeConnect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEdgeConnect'
func (*Client_GetEdgeConnect_Call) Return ¶
func (_c *Client_GetEdgeConnect_Call) Return(_a0 edgeconnect.GetResponse, _a1 error) *Client_GetEdgeConnect_Call
func (*Client_GetEdgeConnect_Call) Run ¶
func (_c *Client_GetEdgeConnect_Call) Run(run func(edgeConnectId string)) *Client_GetEdgeConnect_Call
func (*Client_GetEdgeConnect_Call) RunAndReturn ¶
func (_c *Client_GetEdgeConnect_Call) RunAndReturn(run func(string) (edgeconnect.GetResponse, error)) *Client_GetEdgeConnect_Call
type Client_GetEdgeConnects_Call ¶
Client_GetEdgeConnects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEdgeConnects'
func (*Client_GetEdgeConnects_Call) Return ¶
func (_c *Client_GetEdgeConnects_Call) Return(_a0 edgeconnect.ListResponse, _a1 error) *Client_GetEdgeConnects_Call
func (*Client_GetEdgeConnects_Call) Run ¶
func (_c *Client_GetEdgeConnects_Call) Run(run func(name string)) *Client_GetEdgeConnects_Call
func (*Client_GetEdgeConnects_Call) RunAndReturn ¶
func (_c *Client_GetEdgeConnects_Call) RunAndReturn(run func(string) (edgeconnect.ListResponse, error)) *Client_GetEdgeConnects_Call
type Client_UpdateConnectionSetting_Call ¶ added in v1.3.0
Client_UpdateConnectionSetting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateConnectionSetting'
func (*Client_UpdateConnectionSetting_Call) Return ¶ added in v1.3.0
func (_c *Client_UpdateConnectionSetting_Call) Return(_a0 error) *Client_UpdateConnectionSetting_Call
func (*Client_UpdateConnectionSetting_Call) Run ¶ added in v1.3.0
func (_c *Client_UpdateConnectionSetting_Call) Run(run func(es edgeconnect.EnvironmentSetting)) *Client_UpdateConnectionSetting_Call
func (*Client_UpdateConnectionSetting_Call) RunAndReturn ¶ added in v1.3.0
func (_c *Client_UpdateConnectionSetting_Call) RunAndReturn(run func(edgeconnect.EnvironmentSetting) error) *Client_UpdateConnectionSetting_Call
type Client_UpdateEdgeConnect_Call ¶
Client_UpdateEdgeConnect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEdgeConnect'
func (*Client_UpdateEdgeConnect_Call) Return ¶
func (_c *Client_UpdateEdgeConnect_Call) Return(_a0 error) *Client_UpdateEdgeConnect_Call
func (*Client_UpdateEdgeConnect_Call) Run ¶
func (_c *Client_UpdateEdgeConnect_Call) Run(run func(edgeConnectId string, request *edgeconnect.Request)) *Client_UpdateEdgeConnect_Call
func (*Client_UpdateEdgeConnect_Call) RunAndReturn ¶
func (_c *Client_UpdateEdgeConnect_Call) RunAndReturn(run func(string, *edgeconnect.Request) error) *Client_UpdateEdgeConnect_Call