Documentation ¶
Index ¶
- type Client
- func (_m *Client) CreateEdgeConnect(name string, hostPatterns []string, oauthClientId string) (edgeconnect.CreateResponse, error)
- func (_m *Client) DeleteEdgeConnect(edgeConnectId string) error
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) GetEdgeConnect(edgeConnectId string) (edgeconnect.GetResponse, error)
- func (_m *Client) GetEdgeConnects(name string) (edgeconnect.ListResponse, error)
- func (_m *Client) UpdateEdgeConnect(edgeConnectId string, name string, hostPatterns []string, oauthClientId string) error
- 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(name string, hostPatterns []string, oauthClientId string)) *Client_CreateEdgeConnect_Call
- func (_c *Client_CreateEdgeConnect_Call) RunAndReturn(run func(string, []string, string) (edgeconnect.CreateResponse, error)) *Client_CreateEdgeConnect_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) CreateEdgeConnect(name interface{}, hostPatterns interface{}, oauthClientId interface{}) *Client_CreateEdgeConnect_Call
- func (_e *Client_Expecter) DeleteEdgeConnect(edgeConnectId interface{}) *Client_DeleteEdgeConnect_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) UpdateEdgeConnect(edgeConnectId interface{}, name interface{}, hostPatterns interface{}, ...) *Client_UpdateEdgeConnect_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_UpdateEdgeConnect_Call
- func (_c *Client_UpdateEdgeConnect_Call) Return(_a0 error) *Client_UpdateEdgeConnect_Call
- func (_c *Client_UpdateEdgeConnect_Call) Run(...) *Client_UpdateEdgeConnect_Call
- func (_c *Client_UpdateEdgeConnect_Call) RunAndReturn(run func(string, string, []string, string) 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) CreateEdgeConnect ¶
func (_m *Client) CreateEdgeConnect(name string, hostPatterns []string, oauthClientId string) (edgeconnect.CreateResponse, error)
CreateEdgeConnect provides a mock function with given fields: name, hostPatterns, oauthClientId
func (*Client) DeleteEdgeConnect ¶
DeleteEdgeConnect provides a mock function with given fields: edgeConnectId
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
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
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(name string, hostPatterns []string, oauthClientId string)) *Client_CreateEdgeConnect_Call
func (*Client_CreateEdgeConnect_Call) RunAndReturn ¶
func (_c *Client_CreateEdgeConnect_Call) RunAndReturn(run func(string, []string, string) (edgeconnect.CreateResponse, error)) *Client_CreateEdgeConnect_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) CreateEdgeConnect ¶
func (_e *Client_Expecter) CreateEdgeConnect(name interface{}, hostPatterns interface{}, oauthClientId interface{}) *Client_CreateEdgeConnect_Call
CreateEdgeConnect is a helper method to define mock.On call
- name string
- hostPatterns []string
- oauthClientId 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) 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) UpdateEdgeConnect ¶
func (_e *Client_Expecter) UpdateEdgeConnect(edgeConnectId interface{}, name interface{}, hostPatterns interface{}, oauthClientId interface{}) *Client_UpdateEdgeConnect_Call
UpdateEdgeConnect is a helper method to define mock.On call
- edgeConnectId string
- name string
- hostPatterns []string
- oauthClientId string
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_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, name string, hostPatterns []string, oauthClientId string)) *Client_UpdateEdgeConnect_Call
func (*Client_UpdateEdgeConnect_Call) RunAndReturn ¶
func (_c *Client_UpdateEdgeConnect_Call) RunAndReturn(run func(string, string, []string, string) error) *Client_UpdateEdgeConnect_Call