Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateFirewall(arg0 context.Context, arg1 linodego.FirewallCreateOptions) (*linodego.Firewall, error)
- func (m *MockClient) CreateFirewallDevice(arg0 context.Context, arg1 int, arg2 linodego.FirewallDeviceCreateOptions) (*linodego.FirewallDevice, error)
- func (m *MockClient) CreateNodeBalancer(arg0 context.Context, arg1 linodego.NodeBalancerCreateOptions) (*linodego.NodeBalancer, error)
- func (m *MockClient) CreateNodeBalancerConfig(arg0 context.Context, arg1 int, arg2 linodego.NodeBalancerConfigCreateOptions) (*linodego.NodeBalancerConfig, error)
- func (m *MockClient) DeleteFirewall(arg0 context.Context, arg1 int) error
- func (m *MockClient) DeleteFirewallDevice(arg0 context.Context, arg1, arg2 int) error
- func (m *MockClient) DeleteNodeBalancer(arg0 context.Context, arg1 int) error
- func (m *MockClient) DeleteNodeBalancerConfig(arg0 context.Context, arg1, arg2 int) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetFirewall(arg0 context.Context, arg1 int) (*linodego.Firewall, error)
- func (m *MockClient) GetInstance(arg0 context.Context, arg1 int) (*linodego.Instance, error)
- func (m *MockClient) GetInstanceIPAddresses(arg0 context.Context, arg1 int) (*linodego.InstanceIPAddressResponse, error)
- func (m *MockClient) GetNodeBalancer(arg0 context.Context, arg1 int) (*linodego.NodeBalancer, error)
- func (m *MockClient) ListFirewallDevices(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.FirewallDevice, error)
- func (m *MockClient) ListInstances(arg0 context.Context, arg1 *linodego.ListOptions) ([]linodego.Instance, error)
- func (m *MockClient) ListNodeBalancerConfigs(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.NodeBalancerConfig, error)
- func (m *MockClient) ListNodeBalancerFirewalls(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.Firewall, error)
- func (m *MockClient) ListNodeBalancerNodes(arg0 context.Context, arg1, arg2 int, arg3 *linodego.ListOptions) ([]linodego.NodeBalancerNode, error)
- func (m *MockClient) ListNodeBalancers(arg0 context.Context, arg1 *linodego.ListOptions) ([]linodego.NodeBalancer, error)
- func (m *MockClient) ListVPCIPAddresses(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.VPCIP, error)
- func (m *MockClient) ListVPCs(arg0 context.Context, arg1 *linodego.ListOptions) ([]linodego.VPC, error)
- func (m *MockClient) RebuildNodeBalancerConfig(arg0 context.Context, arg1, arg2 int, ...) (*linodego.NodeBalancerConfig, error)
- func (m *MockClient) UpdateFirewallRules(arg0 context.Context, arg1 int, arg2 linodego.FirewallRuleSet) (*linodego.FirewallRuleSet, error)
- func (m *MockClient) UpdateInstanceConfigInterface(arg0 context.Context, arg1, arg2, arg3 int, ...) (*linodego.InstanceConfigInterface, error)
- func (m *MockClient) UpdateNodeBalancer(arg0 context.Context, arg1 int, arg2 linodego.NodeBalancerUpdateOptions) (*linodego.NodeBalancer, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateFirewall(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateFirewallDevice(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateNodeBalancer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateNodeBalancerConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteFirewall(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteFirewallDevice(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteNodeBalancer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteNodeBalancerConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFirewall(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetInstance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetInstanceIPAddresses(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetNodeBalancer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListFirewallDevices(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListInstances(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListNodeBalancerConfigs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListNodeBalancerFirewalls(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListNodeBalancerNodes(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListNodeBalancers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListVPCIPAddresses(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListVPCs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RebuildNodeBalancerConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateFirewallRules(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateInstanceConfigInterface(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateNodeBalancer(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) CreateFirewall ¶
func (m *MockClient) CreateFirewall(arg0 context.Context, arg1 linodego.FirewallCreateOptions) (*linodego.Firewall, error)
CreateFirewall mocks base method.
func (*MockClient) CreateFirewallDevice ¶
func (m *MockClient) CreateFirewallDevice(arg0 context.Context, arg1 int, arg2 linodego.FirewallDeviceCreateOptions) (*linodego.FirewallDevice, error)
CreateFirewallDevice mocks base method.
func (*MockClient) CreateNodeBalancer ¶
func (m *MockClient) CreateNodeBalancer(arg0 context.Context, arg1 linodego.NodeBalancerCreateOptions) (*linodego.NodeBalancer, error)
CreateNodeBalancer mocks base method.
func (*MockClient) CreateNodeBalancerConfig ¶
func (m *MockClient) CreateNodeBalancerConfig(arg0 context.Context, arg1 int, arg2 linodego.NodeBalancerConfigCreateOptions) (*linodego.NodeBalancerConfig, error)
CreateNodeBalancerConfig mocks base method.
func (*MockClient) DeleteFirewall ¶
func (m *MockClient) DeleteFirewall(arg0 context.Context, arg1 int) error
DeleteFirewall mocks base method.
func (*MockClient) DeleteFirewallDevice ¶
func (m *MockClient) DeleteFirewallDevice(arg0 context.Context, arg1, arg2 int) error
DeleteFirewallDevice mocks base method.
func (*MockClient) DeleteNodeBalancer ¶
func (m *MockClient) DeleteNodeBalancer(arg0 context.Context, arg1 int) error
DeleteNodeBalancer mocks base method.
func (*MockClient) DeleteNodeBalancerConfig ¶
func (m *MockClient) DeleteNodeBalancerConfig(arg0 context.Context, arg1, arg2 int) error
DeleteNodeBalancerConfig mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetFirewall ¶
GetFirewall mocks base method.
func (*MockClient) GetInstance ¶
GetInstance mocks base method.
func (*MockClient) GetInstanceIPAddresses ¶
func (m *MockClient) GetInstanceIPAddresses(arg0 context.Context, arg1 int) (*linodego.InstanceIPAddressResponse, error)
GetInstanceIPAddresses mocks base method.
func (*MockClient) GetNodeBalancer ¶
func (m *MockClient) GetNodeBalancer(arg0 context.Context, arg1 int) (*linodego.NodeBalancer, error)
GetNodeBalancer mocks base method.
func (*MockClient) ListFirewallDevices ¶
func (m *MockClient) ListFirewallDevices(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.FirewallDevice, error)
ListFirewallDevices mocks base method.
func (*MockClient) ListInstances ¶
func (m *MockClient) ListInstances(arg0 context.Context, arg1 *linodego.ListOptions) ([]linodego.Instance, error)
ListInstances mocks base method.
func (*MockClient) ListNodeBalancerConfigs ¶
func (m *MockClient) ListNodeBalancerConfigs(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.NodeBalancerConfig, error)
ListNodeBalancerConfigs mocks base method.
func (*MockClient) ListNodeBalancerFirewalls ¶
func (m *MockClient) ListNodeBalancerFirewalls(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.Firewall, error)
ListNodeBalancerFirewalls mocks base method.
func (*MockClient) ListNodeBalancerNodes ¶
func (m *MockClient) ListNodeBalancerNodes(arg0 context.Context, arg1, arg2 int, arg3 *linodego.ListOptions) ([]linodego.NodeBalancerNode, error)
ListNodeBalancerNodes mocks base method.
func (*MockClient) ListNodeBalancers ¶
func (m *MockClient) ListNodeBalancers(arg0 context.Context, arg1 *linodego.ListOptions) ([]linodego.NodeBalancer, error)
ListNodeBalancers mocks base method.
func (*MockClient) ListVPCIPAddresses ¶ added in v0.4.4
func (m *MockClient) ListVPCIPAddresses(arg0 context.Context, arg1 int, arg2 *linodego.ListOptions) ([]linodego.VPCIP, error)
ListVPCIPAddresses mocks base method.
func (*MockClient) ListVPCs ¶ added in v0.4.4
func (m *MockClient) ListVPCs(arg0 context.Context, arg1 *linodego.ListOptions) ([]linodego.VPC, error)
ListVPCs mocks base method.
func (*MockClient) RebuildNodeBalancerConfig ¶
func (m *MockClient) RebuildNodeBalancerConfig(arg0 context.Context, arg1, arg2 int, arg3 linodego.NodeBalancerConfigRebuildOptions) (*linodego.NodeBalancerConfig, error)
RebuildNodeBalancerConfig mocks base method.
func (*MockClient) UpdateFirewallRules ¶
func (m *MockClient) UpdateFirewallRules(arg0 context.Context, arg1 int, arg2 linodego.FirewallRuleSet) (*linodego.FirewallRuleSet, error)
UpdateFirewallRules mocks base method.
func (*MockClient) UpdateInstanceConfigInterface ¶ added in v0.4.4
func (m *MockClient) UpdateInstanceConfigInterface(arg0 context.Context, arg1, arg2, arg3 int, arg4 linodego.InstanceConfigInterfaceUpdateOptions) (*linodego.InstanceConfigInterface, error)
UpdateInstanceConfigInterface mocks base method.
func (*MockClient) UpdateNodeBalancer ¶
func (m *MockClient) UpdateNodeBalancer(arg0 context.Context, arg1 int, arg2 linodego.NodeBalancerUpdateOptions) (*linodego.NodeBalancer, error)
UpdateNodeBalancer mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CreateFirewall ¶
func (mr *MockClientMockRecorder) CreateFirewall(arg0, arg1 interface{}) *gomock.Call
CreateFirewall indicates an expected call of CreateFirewall.
func (*MockClientMockRecorder) CreateFirewallDevice ¶
func (mr *MockClientMockRecorder) CreateFirewallDevice(arg0, arg1, arg2 interface{}) *gomock.Call
CreateFirewallDevice indicates an expected call of CreateFirewallDevice.
func (*MockClientMockRecorder) CreateNodeBalancer ¶
func (mr *MockClientMockRecorder) CreateNodeBalancer(arg0, arg1 interface{}) *gomock.Call
CreateNodeBalancer indicates an expected call of CreateNodeBalancer.
func (*MockClientMockRecorder) CreateNodeBalancerConfig ¶
func (mr *MockClientMockRecorder) CreateNodeBalancerConfig(arg0, arg1, arg2 interface{}) *gomock.Call
CreateNodeBalancerConfig indicates an expected call of CreateNodeBalancerConfig.
func (*MockClientMockRecorder) DeleteFirewall ¶
func (mr *MockClientMockRecorder) DeleteFirewall(arg0, arg1 interface{}) *gomock.Call
DeleteFirewall indicates an expected call of DeleteFirewall.
func (*MockClientMockRecorder) DeleteFirewallDevice ¶
func (mr *MockClientMockRecorder) DeleteFirewallDevice(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteFirewallDevice indicates an expected call of DeleteFirewallDevice.
func (*MockClientMockRecorder) DeleteNodeBalancer ¶
func (mr *MockClientMockRecorder) DeleteNodeBalancer(arg0, arg1 interface{}) *gomock.Call
DeleteNodeBalancer indicates an expected call of DeleteNodeBalancer.
func (*MockClientMockRecorder) DeleteNodeBalancerConfig ¶
func (mr *MockClientMockRecorder) DeleteNodeBalancerConfig(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteNodeBalancerConfig indicates an expected call of DeleteNodeBalancerConfig.
func (*MockClientMockRecorder) GetFirewall ¶
func (mr *MockClientMockRecorder) GetFirewall(arg0, arg1 interface{}) *gomock.Call
GetFirewall indicates an expected call of GetFirewall.
func (*MockClientMockRecorder) GetInstance ¶
func (mr *MockClientMockRecorder) GetInstance(arg0, arg1 interface{}) *gomock.Call
GetInstance indicates an expected call of GetInstance.
func (*MockClientMockRecorder) GetInstanceIPAddresses ¶
func (mr *MockClientMockRecorder) GetInstanceIPAddresses(arg0, arg1 interface{}) *gomock.Call
GetInstanceIPAddresses indicates an expected call of GetInstanceIPAddresses.
func (*MockClientMockRecorder) GetNodeBalancer ¶
func (mr *MockClientMockRecorder) GetNodeBalancer(arg0, arg1 interface{}) *gomock.Call
GetNodeBalancer indicates an expected call of GetNodeBalancer.
func (*MockClientMockRecorder) ListFirewallDevices ¶
func (mr *MockClientMockRecorder) ListFirewallDevices(arg0, arg1, arg2 interface{}) *gomock.Call
ListFirewallDevices indicates an expected call of ListFirewallDevices.
func (*MockClientMockRecorder) ListInstances ¶
func (mr *MockClientMockRecorder) ListInstances(arg0, arg1 interface{}) *gomock.Call
ListInstances indicates an expected call of ListInstances.
func (*MockClientMockRecorder) ListNodeBalancerConfigs ¶
func (mr *MockClientMockRecorder) ListNodeBalancerConfigs(arg0, arg1, arg2 interface{}) *gomock.Call
ListNodeBalancerConfigs indicates an expected call of ListNodeBalancerConfigs.
func (*MockClientMockRecorder) ListNodeBalancerFirewalls ¶
func (mr *MockClientMockRecorder) ListNodeBalancerFirewalls(arg0, arg1, arg2 interface{}) *gomock.Call
ListNodeBalancerFirewalls indicates an expected call of ListNodeBalancerFirewalls.
func (*MockClientMockRecorder) ListNodeBalancerNodes ¶
func (mr *MockClientMockRecorder) ListNodeBalancerNodes(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListNodeBalancerNodes indicates an expected call of ListNodeBalancerNodes.
func (*MockClientMockRecorder) ListNodeBalancers ¶
func (mr *MockClientMockRecorder) ListNodeBalancers(arg0, arg1 interface{}) *gomock.Call
ListNodeBalancers indicates an expected call of ListNodeBalancers.
func (*MockClientMockRecorder) ListVPCIPAddresses ¶ added in v0.4.4
func (mr *MockClientMockRecorder) ListVPCIPAddresses(arg0, arg1, arg2 interface{}) *gomock.Call
ListVPCIPAddresses indicates an expected call of ListVPCIPAddresses.
func (*MockClientMockRecorder) ListVPCs ¶ added in v0.4.4
func (mr *MockClientMockRecorder) ListVPCs(arg0, arg1 interface{}) *gomock.Call
ListVPCs indicates an expected call of ListVPCs.
func (*MockClientMockRecorder) RebuildNodeBalancerConfig ¶
func (mr *MockClientMockRecorder) RebuildNodeBalancerConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RebuildNodeBalancerConfig indicates an expected call of RebuildNodeBalancerConfig.
func (*MockClientMockRecorder) UpdateFirewallRules ¶
func (mr *MockClientMockRecorder) UpdateFirewallRules(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateFirewallRules indicates an expected call of UpdateFirewallRules.
func (*MockClientMockRecorder) UpdateInstanceConfigInterface ¶ added in v0.4.4
func (mr *MockClientMockRecorder) UpdateInstanceConfigInterface(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpdateInstanceConfigInterface indicates an expected call of UpdateInstanceConfigInterface.
func (*MockClientMockRecorder) UpdateNodeBalancer ¶
func (mr *MockClientMockRecorder) UpdateNodeBalancer(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateNodeBalancer indicates an expected call of UpdateNodeBalancer.