Documentation
¶
Overview ¶
Package mock_networking is a generated GoMock package.
Index ¶
- type MockLoadBalancersService
- func (m *MockLoadBalancersService) AddDroplets(arg0 context.Context, arg1 string, arg2 ...int) (*godo.Response, error)
- func (m *MockLoadBalancersService) AddForwardingRules(arg0 context.Context, arg1 string, arg2 ...godo.ForwardingRule) (*godo.Response, error)
- func (m *MockLoadBalancersService) Create(arg0 context.Context, arg1 *godo.LoadBalancerRequest) (*godo.LoadBalancer, *godo.Response, error)
- func (m *MockLoadBalancersService) Delete(arg0 context.Context, arg1 string) (*godo.Response, error)
- func (m *MockLoadBalancersService) EXPECT() *MockLoadBalancersServiceMockRecorder
- func (m *MockLoadBalancersService) Get(arg0 context.Context, arg1 string) (*godo.LoadBalancer, *godo.Response, error)
- func (m *MockLoadBalancersService) List(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.LoadBalancer, *godo.Response, error)
- func (m *MockLoadBalancersService) PurgeCache(arg0 context.Context, arg1 string) (*godo.Response, error)
- func (m *MockLoadBalancersService) RemoveDroplets(arg0 context.Context, arg1 string, arg2 ...int) (*godo.Response, error)
- func (m *MockLoadBalancersService) RemoveForwardingRules(arg0 context.Context, arg1 string, arg2 ...godo.ForwardingRule) (*godo.Response, error)
- func (m *MockLoadBalancersService) Update(arg0 context.Context, arg1 string, arg2 *godo.LoadBalancerRequest) (*godo.LoadBalancer, *godo.Response, error)
- type MockLoadBalancersServiceMockRecorder
- func (mr *MockLoadBalancersServiceMockRecorder) AddDroplets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) AddForwardingRules(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) PurgeCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) RemoveDroplets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) RemoveForwardingRules(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLoadBalancersService ¶
type MockLoadBalancersService struct {
// contains filtered or unexported fields
}
MockLoadBalancersService is a mock of LoadBalancersService interface.
func NewMockLoadBalancersService ¶
func NewMockLoadBalancersService(ctrl *gomock.Controller) *MockLoadBalancersService
NewMockLoadBalancersService creates a new mock instance.
func (*MockLoadBalancersService) AddDroplets ¶
func (m *MockLoadBalancersService) AddDroplets(arg0 context.Context, arg1 string, arg2 ...int) (*godo.Response, error)
AddDroplets mocks base method.
func (*MockLoadBalancersService) AddForwardingRules ¶
func (m *MockLoadBalancersService) AddForwardingRules(arg0 context.Context, arg1 string, arg2 ...godo.ForwardingRule) (*godo.Response, error)
AddForwardingRules mocks base method.
func (*MockLoadBalancersService) Create ¶
func (m *MockLoadBalancersService) Create(arg0 context.Context, arg1 *godo.LoadBalancerRequest) (*godo.LoadBalancer, *godo.Response, error)
Create mocks base method.
func (*MockLoadBalancersService) Delete ¶
func (m *MockLoadBalancersService) Delete(arg0 context.Context, arg1 string) (*godo.Response, error)
Delete mocks base method.
func (*MockLoadBalancersService) EXPECT ¶
func (m *MockLoadBalancersService) EXPECT() *MockLoadBalancersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoadBalancersService) Get ¶
func (m *MockLoadBalancersService) Get(arg0 context.Context, arg1 string) (*godo.LoadBalancer, *godo.Response, error)
Get mocks base method.
func (*MockLoadBalancersService) List ¶
func (m *MockLoadBalancersService) List(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.LoadBalancer, *godo.Response, error)
List mocks base method.
func (*MockLoadBalancersService) PurgeCache ¶ added in v1.6.0
func (m *MockLoadBalancersService) PurgeCache(arg0 context.Context, arg1 string) (*godo.Response, error)
PurgeCache mocks base method.
func (*MockLoadBalancersService) RemoveDroplets ¶
func (m *MockLoadBalancersService) RemoveDroplets(arg0 context.Context, arg1 string, arg2 ...int) (*godo.Response, error)
RemoveDroplets mocks base method.
func (*MockLoadBalancersService) RemoveForwardingRules ¶
func (m *MockLoadBalancersService) RemoveForwardingRules(arg0 context.Context, arg1 string, arg2 ...godo.ForwardingRule) (*godo.Response, error)
RemoveForwardingRules mocks base method.
func (*MockLoadBalancersService) Update ¶
func (m *MockLoadBalancersService) Update(arg0 context.Context, arg1 string, arg2 *godo.LoadBalancerRequest) (*godo.LoadBalancer, *godo.Response, error)
Update mocks base method.
type MockLoadBalancersServiceMockRecorder ¶
type MockLoadBalancersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancersServiceMockRecorder is the mock recorder for MockLoadBalancersService.
func (*MockLoadBalancersServiceMockRecorder) AddDroplets ¶
func (mr *MockLoadBalancersServiceMockRecorder) AddDroplets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AddDroplets indicates an expected call of AddDroplets.
func (*MockLoadBalancersServiceMockRecorder) AddForwardingRules ¶
func (mr *MockLoadBalancersServiceMockRecorder) AddForwardingRules(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AddForwardingRules indicates an expected call of AddForwardingRules.
func (*MockLoadBalancersServiceMockRecorder) Create ¶
func (mr *MockLoadBalancersServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockLoadBalancersServiceMockRecorder) Delete ¶
func (mr *MockLoadBalancersServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockLoadBalancersServiceMockRecorder) Get ¶
func (mr *MockLoadBalancersServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLoadBalancersServiceMockRecorder) List ¶
func (mr *MockLoadBalancersServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLoadBalancersServiceMockRecorder) PurgeCache ¶ added in v1.6.0
func (mr *MockLoadBalancersServiceMockRecorder) PurgeCache(arg0, arg1 interface{}) *gomock.Call
PurgeCache indicates an expected call of PurgeCache.
func (*MockLoadBalancersServiceMockRecorder) RemoveDroplets ¶
func (mr *MockLoadBalancersServiceMockRecorder) RemoveDroplets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RemoveDroplets indicates an expected call of RemoveDroplets.
func (*MockLoadBalancersServiceMockRecorder) RemoveForwardingRules ¶
func (mr *MockLoadBalancersServiceMockRecorder) RemoveForwardingRules(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
RemoveForwardingRules indicates an expected call of RemoveForwardingRules.
func (*MockLoadBalancersServiceMockRecorder) Update ¶
func (mr *MockLoadBalancersServiceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.