Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockVpc
- func (m *MockVpc) AddInstanceNetworkInterfaceFloatingIP(options *vpcv1.AddInstanceNetworkInterfaceFloatingIPOptions) (*vpcv1.FloatingIP, *core.DetailedResponse, error)
- func (m *MockVpc) CreateFloatingIP(options *vpcv1.CreateFloatingIPOptions) (*vpcv1.FloatingIP, *core.DetailedResponse, error)
- func (m *MockVpc) CreateInstance(options *vpcv1.CreateInstanceOptions) (*vpcv1.Instance, *core.DetailedResponse, error)
- func (m *MockVpc) CreateLoadBalancer(options *vpcv1.CreateLoadBalancerOptions) (*vpcv1.LoadBalancer, *core.DetailedResponse, error)
- func (m *MockVpc) CreateLoadBalancerPoolMember(options *vpcv1.CreateLoadBalancerPoolMemberOptions) (*vpcv1.LoadBalancerPoolMember, *core.DetailedResponse, error)
- func (m *MockVpc) CreatePublicGateway(options *vpcv1.CreatePublicGatewayOptions) (*vpcv1.PublicGateway, *core.DetailedResponse, error)
- func (m *MockVpc) CreateSecurityGroupRule(options *vpcv1.CreateSecurityGroupRuleOptions) (vpcv1.SecurityGroupRuleIntf, *core.DetailedResponse, error)
- func (m *MockVpc) CreateSubnet(options *vpcv1.CreateSubnetOptions) (*vpcv1.Subnet, *core.DetailedResponse, error)
- func (m *MockVpc) CreateVPC(options *vpcv1.CreateVPCOptions) (*vpcv1.VPC, *core.DetailedResponse, error)
- func (m *MockVpc) DeleteFloatingIP(options *vpcv1.DeleteFloatingIPOptions) (*core.DetailedResponse, error)
- func (m *MockVpc) DeleteInstance(options *vpcv1.DeleteInstanceOptions) (*core.DetailedResponse, error)
- func (m *MockVpc) DeleteLoadBalancer(options *vpcv1.DeleteLoadBalancerOptions) (*core.DetailedResponse, error)
- func (m *MockVpc) DeleteLoadBalancerPoolMember(options *vpcv1.DeleteLoadBalancerPoolMemberOptions) (*core.DetailedResponse, error)
- func (m *MockVpc) DeletePublicGateway(options *vpcv1.DeletePublicGatewayOptions) (*core.DetailedResponse, error)
- func (m *MockVpc) DeleteSubnet(options *vpcv1.DeleteSubnetOptions) (*core.DetailedResponse, error)
- func (m *MockVpc) DeleteVPC(options *vpcv1.DeleteVPCOptions) (*core.DetailedResponse, error)
- func (m *MockVpc) EXPECT() *MockVpcMockRecorder
- func (m *MockVpc) GetInstance(options *vpcv1.GetInstanceOptions) (*vpcv1.Instance, *core.DetailedResponse, error)
- func (m *MockVpc) GetLoadBalancer(options *vpcv1.GetLoadBalancerOptions) (*vpcv1.LoadBalancer, *core.DetailedResponse, error)
- func (m *MockVpc) GetSubnetPublicGateway(options *vpcv1.GetSubnetPublicGatewayOptions) (*vpcv1.PublicGateway, *core.DetailedResponse, error)
- func (m *MockVpc) ListFloatingIps(options *vpcv1.ListFloatingIpsOptions) (*vpcv1.FloatingIPCollection, *core.DetailedResponse, error)
- func (m *MockVpc) ListImages(options *vpcv1.ListImagesOptions) (*vpcv1.ImageCollection, *core.DetailedResponse, error)
- func (m *MockVpc) ListInstances(options *vpcv1.ListInstancesOptions) (*vpcv1.InstanceCollection, *core.DetailedResponse, error)
- func (m *MockVpc) ListKeys(options *vpcv1.ListKeysOptions) (*vpcv1.KeyCollection, *core.DetailedResponse, error)
- func (m *MockVpc) ListLoadBalancerPoolMembers(options *vpcv1.ListLoadBalancerPoolMembersOptions) (*vpcv1.LoadBalancerPoolMemberCollection, *core.DetailedResponse, error)
- func (m *MockVpc) ListLoadBalancers(options *vpcv1.ListLoadBalancersOptions) (*vpcv1.LoadBalancerCollection, *core.DetailedResponse, error)
- func (m *MockVpc) ListSubnets(options *vpcv1.ListSubnetsOptions) (*vpcv1.SubnetCollection, *core.DetailedResponse, error)
- func (m *MockVpc) ListVPCAddressPrefixes(options *vpcv1.ListVPCAddressPrefixesOptions) (*vpcv1.AddressPrefixCollection, *core.DetailedResponse, error)
- func (m *MockVpc) ListVpcs(options *vpcv1.ListVpcsOptions) (*vpcv1.VPCCollection, *core.DetailedResponse, error)
- func (m *MockVpc) SetSubnetPublicGateway(options *vpcv1.SetSubnetPublicGatewayOptions) (*vpcv1.PublicGateway, *core.DetailedResponse, error)
- func (m *MockVpc) UnsetSubnetPublicGateway(options *vpcv1.UnsetSubnetPublicGatewayOptions) (*core.DetailedResponse, error)
- type MockVpcMockRecorder
- func (mr *MockVpcMockRecorder) AddInstanceNetworkInterfaceFloatingIP(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateFloatingIP(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateInstance(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateLoadBalancer(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateLoadBalancerPoolMember(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) CreatePublicGateway(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateSecurityGroupRule(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateSubnet(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateVPC(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteFloatingIP(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteInstance(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteLoadBalancer(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteLoadBalancerPoolMember(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) DeletePublicGateway(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteSubnet(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteVPC(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) GetInstance(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) GetLoadBalancer(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) GetSubnetPublicGateway(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) ListFloatingIps(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) ListImages(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) ListInstances(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) ListKeys(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) ListLoadBalancerPoolMembers(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) ListLoadBalancers(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) ListSubnets(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) ListVPCAddressPrefixes(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) ListVpcs(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) SetSubnetPublicGateway(options interface{}) *gomock.Call
- func (mr *MockVpcMockRecorder) UnsetSubnetPublicGateway(options interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVpc ¶
type MockVpc struct {
// contains filtered or unexported fields
}
MockVpc is a mock of Vpc interface.
func NewMockVpc ¶
func NewMockVpc(ctrl *gomock.Controller) *MockVpc
NewMockVpc creates a new mock instance.
func (*MockVpc) AddInstanceNetworkInterfaceFloatingIP ¶
func (m *MockVpc) AddInstanceNetworkInterfaceFloatingIP(options *vpcv1.AddInstanceNetworkInterfaceFloatingIPOptions) (*vpcv1.FloatingIP, *core.DetailedResponse, error)
AddInstanceNetworkInterfaceFloatingIP mocks base method.
func (*MockVpc) CreateFloatingIP ¶
func (m *MockVpc) CreateFloatingIP(options *vpcv1.CreateFloatingIPOptions) (*vpcv1.FloatingIP, *core.DetailedResponse, error)
CreateFloatingIP mocks base method.
func (*MockVpc) CreateInstance ¶
func (m *MockVpc) CreateInstance(options *vpcv1.CreateInstanceOptions) (*vpcv1.Instance, *core.DetailedResponse, error)
CreateInstance mocks base method.
func (*MockVpc) CreateLoadBalancer ¶
func (m *MockVpc) CreateLoadBalancer(options *vpcv1.CreateLoadBalancerOptions) (*vpcv1.LoadBalancer, *core.DetailedResponse, error)
CreateLoadBalancer mocks base method.
func (*MockVpc) CreateLoadBalancerPoolMember ¶
func (m *MockVpc) CreateLoadBalancerPoolMember(options *vpcv1.CreateLoadBalancerPoolMemberOptions) (*vpcv1.LoadBalancerPoolMember, *core.DetailedResponse, error)
CreateLoadBalancerPoolMember mocks base method.
func (*MockVpc) CreatePublicGateway ¶
func (m *MockVpc) CreatePublicGateway(options *vpcv1.CreatePublicGatewayOptions) (*vpcv1.PublicGateway, *core.DetailedResponse, error)
CreatePublicGateway mocks base method.
func (*MockVpc) CreateSecurityGroupRule ¶
func (m *MockVpc) CreateSecurityGroupRule(options *vpcv1.CreateSecurityGroupRuleOptions) (vpcv1.SecurityGroupRuleIntf, *core.DetailedResponse, error)
CreateSecurityGroupRule mocks base method.
func (*MockVpc) CreateSubnet ¶
func (m *MockVpc) CreateSubnet(options *vpcv1.CreateSubnetOptions) (*vpcv1.Subnet, *core.DetailedResponse, error)
CreateSubnet mocks base method.
func (*MockVpc) CreateVPC ¶
func (m *MockVpc) CreateVPC(options *vpcv1.CreateVPCOptions) (*vpcv1.VPC, *core.DetailedResponse, error)
CreateVPC mocks base method.
func (*MockVpc) DeleteFloatingIP ¶
func (m *MockVpc) DeleteFloatingIP(options *vpcv1.DeleteFloatingIPOptions) (*core.DetailedResponse, error)
DeleteFloatingIP mocks base method.
func (*MockVpc) DeleteInstance ¶
func (m *MockVpc) DeleteInstance(options *vpcv1.DeleteInstanceOptions) (*core.DetailedResponse, error)
DeleteInstance mocks base method.
func (*MockVpc) DeleteLoadBalancer ¶
func (m *MockVpc) DeleteLoadBalancer(options *vpcv1.DeleteLoadBalancerOptions) (*core.DetailedResponse, error)
DeleteLoadBalancer mocks base method.
func (*MockVpc) DeleteLoadBalancerPoolMember ¶
func (m *MockVpc) DeleteLoadBalancerPoolMember(options *vpcv1.DeleteLoadBalancerPoolMemberOptions) (*core.DetailedResponse, error)
DeleteLoadBalancerPoolMember mocks base method.
func (*MockVpc) DeletePublicGateway ¶
func (m *MockVpc) DeletePublicGateway(options *vpcv1.DeletePublicGatewayOptions) (*core.DetailedResponse, error)
DeletePublicGateway mocks base method.
func (*MockVpc) DeleteSubnet ¶
func (m *MockVpc) DeleteSubnet(options *vpcv1.DeleteSubnetOptions) (*core.DetailedResponse, error)
DeleteSubnet mocks base method.
func (*MockVpc) DeleteVPC ¶
func (m *MockVpc) DeleteVPC(options *vpcv1.DeleteVPCOptions) (*core.DetailedResponse, error)
DeleteVPC mocks base method.
func (*MockVpc) EXPECT ¶
func (m *MockVpc) EXPECT() *MockVpcMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVpc) GetInstance ¶
func (m *MockVpc) GetInstance(options *vpcv1.GetInstanceOptions) (*vpcv1.Instance, *core.DetailedResponse, error)
GetInstance mocks base method.
func (*MockVpc) GetLoadBalancer ¶
func (m *MockVpc) GetLoadBalancer(options *vpcv1.GetLoadBalancerOptions) (*vpcv1.LoadBalancer, *core.DetailedResponse, error)
GetLoadBalancer mocks base method.
func (*MockVpc) GetSubnetPublicGateway ¶
func (m *MockVpc) GetSubnetPublicGateway(options *vpcv1.GetSubnetPublicGatewayOptions) (*vpcv1.PublicGateway, *core.DetailedResponse, error)
GetSubnetPublicGateway mocks base method.
func (*MockVpc) ListFloatingIps ¶
func (m *MockVpc) ListFloatingIps(options *vpcv1.ListFloatingIpsOptions) (*vpcv1.FloatingIPCollection, *core.DetailedResponse, error)
ListFloatingIps mocks base method.
func (*MockVpc) ListImages ¶ added in v0.4.0
func (m *MockVpc) ListImages(options *vpcv1.ListImagesOptions) (*vpcv1.ImageCollection, *core.DetailedResponse, error)
ListImages mocks base method.
func (*MockVpc) ListInstances ¶
func (m *MockVpc) ListInstances(options *vpcv1.ListInstancesOptions) (*vpcv1.InstanceCollection, *core.DetailedResponse, error)
ListInstances mocks base method.
func (*MockVpc) ListKeys ¶ added in v0.4.0
func (m *MockVpc) ListKeys(options *vpcv1.ListKeysOptions) (*vpcv1.KeyCollection, *core.DetailedResponse, error)
ListKeys mocks base method.
func (*MockVpc) ListLoadBalancerPoolMembers ¶
func (m *MockVpc) ListLoadBalancerPoolMembers(options *vpcv1.ListLoadBalancerPoolMembersOptions) (*vpcv1.LoadBalancerPoolMemberCollection, *core.DetailedResponse, error)
ListLoadBalancerPoolMembers mocks base method.
func (*MockVpc) ListLoadBalancers ¶
func (m *MockVpc) ListLoadBalancers(options *vpcv1.ListLoadBalancersOptions) (*vpcv1.LoadBalancerCollection, *core.DetailedResponse, error)
ListLoadBalancers mocks base method.
func (*MockVpc) ListSubnets ¶
func (m *MockVpc) ListSubnets(options *vpcv1.ListSubnetsOptions) (*vpcv1.SubnetCollection, *core.DetailedResponse, error)
ListSubnets mocks base method.
func (*MockVpc) ListVPCAddressPrefixes ¶
func (m *MockVpc) ListVPCAddressPrefixes(options *vpcv1.ListVPCAddressPrefixesOptions) (*vpcv1.AddressPrefixCollection, *core.DetailedResponse, error)
ListVPCAddressPrefixes mocks base method.
func (*MockVpc) ListVpcs ¶
func (m *MockVpc) ListVpcs(options *vpcv1.ListVpcsOptions) (*vpcv1.VPCCollection, *core.DetailedResponse, error)
ListVpcs mocks base method.
func (*MockVpc) SetSubnetPublicGateway ¶
func (m *MockVpc) SetSubnetPublicGateway(options *vpcv1.SetSubnetPublicGatewayOptions) (*vpcv1.PublicGateway, *core.DetailedResponse, error)
SetSubnetPublicGateway mocks base method.
func (*MockVpc) UnsetSubnetPublicGateway ¶
func (m *MockVpc) UnsetSubnetPublicGateway(options *vpcv1.UnsetSubnetPublicGatewayOptions) (*core.DetailedResponse, error)
UnsetSubnetPublicGateway mocks base method.
type MockVpcMockRecorder ¶
type MockVpcMockRecorder struct {
// contains filtered or unexported fields
}
MockVpcMockRecorder is the mock recorder for MockVpc.
func (*MockVpcMockRecorder) AddInstanceNetworkInterfaceFloatingIP ¶
func (mr *MockVpcMockRecorder) AddInstanceNetworkInterfaceFloatingIP(options interface{}) *gomock.Call
AddInstanceNetworkInterfaceFloatingIP indicates an expected call of AddInstanceNetworkInterfaceFloatingIP.
func (*MockVpcMockRecorder) CreateFloatingIP ¶
func (mr *MockVpcMockRecorder) CreateFloatingIP(options interface{}) *gomock.Call
CreateFloatingIP indicates an expected call of CreateFloatingIP.
func (*MockVpcMockRecorder) CreateInstance ¶
func (mr *MockVpcMockRecorder) CreateInstance(options interface{}) *gomock.Call
CreateInstance indicates an expected call of CreateInstance.
func (*MockVpcMockRecorder) CreateLoadBalancer ¶
func (mr *MockVpcMockRecorder) CreateLoadBalancer(options interface{}) *gomock.Call
CreateLoadBalancer indicates an expected call of CreateLoadBalancer.
func (*MockVpcMockRecorder) CreateLoadBalancerPoolMember ¶
func (mr *MockVpcMockRecorder) CreateLoadBalancerPoolMember(options interface{}) *gomock.Call
CreateLoadBalancerPoolMember indicates an expected call of CreateLoadBalancerPoolMember.
func (*MockVpcMockRecorder) CreatePublicGateway ¶
func (mr *MockVpcMockRecorder) CreatePublicGateway(options interface{}) *gomock.Call
CreatePublicGateway indicates an expected call of CreatePublicGateway.
func (*MockVpcMockRecorder) CreateSecurityGroupRule ¶
func (mr *MockVpcMockRecorder) CreateSecurityGroupRule(options interface{}) *gomock.Call
CreateSecurityGroupRule indicates an expected call of CreateSecurityGroupRule.
func (*MockVpcMockRecorder) CreateSubnet ¶
func (mr *MockVpcMockRecorder) CreateSubnet(options interface{}) *gomock.Call
CreateSubnet indicates an expected call of CreateSubnet.
func (*MockVpcMockRecorder) CreateVPC ¶
func (mr *MockVpcMockRecorder) CreateVPC(options interface{}) *gomock.Call
CreateVPC indicates an expected call of CreateVPC.
func (*MockVpcMockRecorder) DeleteFloatingIP ¶
func (mr *MockVpcMockRecorder) DeleteFloatingIP(options interface{}) *gomock.Call
DeleteFloatingIP indicates an expected call of DeleteFloatingIP.
func (*MockVpcMockRecorder) DeleteInstance ¶
func (mr *MockVpcMockRecorder) DeleteInstance(options interface{}) *gomock.Call
DeleteInstance indicates an expected call of DeleteInstance.
func (*MockVpcMockRecorder) DeleteLoadBalancer ¶
func (mr *MockVpcMockRecorder) DeleteLoadBalancer(options interface{}) *gomock.Call
DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer.
func (*MockVpcMockRecorder) DeleteLoadBalancerPoolMember ¶
func (mr *MockVpcMockRecorder) DeleteLoadBalancerPoolMember(options interface{}) *gomock.Call
DeleteLoadBalancerPoolMember indicates an expected call of DeleteLoadBalancerPoolMember.
func (*MockVpcMockRecorder) DeletePublicGateway ¶
func (mr *MockVpcMockRecorder) DeletePublicGateway(options interface{}) *gomock.Call
DeletePublicGateway indicates an expected call of DeletePublicGateway.
func (*MockVpcMockRecorder) DeleteSubnet ¶
func (mr *MockVpcMockRecorder) DeleteSubnet(options interface{}) *gomock.Call
DeleteSubnet indicates an expected call of DeleteSubnet.
func (*MockVpcMockRecorder) DeleteVPC ¶
func (mr *MockVpcMockRecorder) DeleteVPC(options interface{}) *gomock.Call
DeleteVPC indicates an expected call of DeleteVPC.
func (*MockVpcMockRecorder) GetInstance ¶
func (mr *MockVpcMockRecorder) GetInstance(options interface{}) *gomock.Call
GetInstance indicates an expected call of GetInstance.
func (*MockVpcMockRecorder) GetLoadBalancer ¶
func (mr *MockVpcMockRecorder) GetLoadBalancer(options interface{}) *gomock.Call
GetLoadBalancer indicates an expected call of GetLoadBalancer.
func (*MockVpcMockRecorder) GetSubnetPublicGateway ¶
func (mr *MockVpcMockRecorder) GetSubnetPublicGateway(options interface{}) *gomock.Call
GetSubnetPublicGateway indicates an expected call of GetSubnetPublicGateway.
func (*MockVpcMockRecorder) ListFloatingIps ¶
func (mr *MockVpcMockRecorder) ListFloatingIps(options interface{}) *gomock.Call
ListFloatingIps indicates an expected call of ListFloatingIps.
func (*MockVpcMockRecorder) ListImages ¶ added in v0.4.0
func (mr *MockVpcMockRecorder) ListImages(options interface{}) *gomock.Call
ListImages indicates an expected call of ListImages.
func (*MockVpcMockRecorder) ListInstances ¶
func (mr *MockVpcMockRecorder) ListInstances(options interface{}) *gomock.Call
ListInstances indicates an expected call of ListInstances.
func (*MockVpcMockRecorder) ListKeys ¶ added in v0.4.0
func (mr *MockVpcMockRecorder) ListKeys(options interface{}) *gomock.Call
ListKeys indicates an expected call of ListKeys.
func (*MockVpcMockRecorder) ListLoadBalancerPoolMembers ¶
func (mr *MockVpcMockRecorder) ListLoadBalancerPoolMembers(options interface{}) *gomock.Call
ListLoadBalancerPoolMembers indicates an expected call of ListLoadBalancerPoolMembers.
func (*MockVpcMockRecorder) ListLoadBalancers ¶
func (mr *MockVpcMockRecorder) ListLoadBalancers(options interface{}) *gomock.Call
ListLoadBalancers indicates an expected call of ListLoadBalancers.
func (*MockVpcMockRecorder) ListSubnets ¶
func (mr *MockVpcMockRecorder) ListSubnets(options interface{}) *gomock.Call
ListSubnets indicates an expected call of ListSubnets.
func (*MockVpcMockRecorder) ListVPCAddressPrefixes ¶
func (mr *MockVpcMockRecorder) ListVPCAddressPrefixes(options interface{}) *gomock.Call
ListVPCAddressPrefixes indicates an expected call of ListVPCAddressPrefixes.
func (*MockVpcMockRecorder) ListVpcs ¶
func (mr *MockVpcMockRecorder) ListVpcs(options interface{}) *gomock.Call
ListVpcs indicates an expected call of ListVpcs.
func (*MockVpcMockRecorder) SetSubnetPublicGateway ¶
func (mr *MockVpcMockRecorder) SetSubnetPublicGateway(options interface{}) *gomock.Call
SetSubnetPublicGateway indicates an expected call of SetSubnetPublicGateway.
func (*MockVpcMockRecorder) UnsetSubnetPublicGateway ¶
func (mr *MockVpcMockRecorder) UnsetSubnetPublicGateway(options interface{}) *gomock.Call
UnsetSubnetPublicGateway indicates an expected call of UnsetSubnetPublicGateway.