mock

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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) CreateImage added in v0.9.0

func (m *MockVpc) CreateImage(options *vpcv1.CreateImageOptions) (*vpcv1.Image, *core.DetailedResponse, error)

CreateImage 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

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) CreateSecurityGroup added in v0.8.0

func (m *MockVpc) CreateSecurityGroup(options *vpcv1.CreateSecurityGroupOptions) (*vpcv1.SecurityGroup, *core.DetailedResponse, error)

CreateSecurityGroup mocks base method.

func (*MockVpc) CreateSecurityGroupRule

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) 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) DeleteSecurityGroup added in v0.8.0

func (m *MockVpc) DeleteSecurityGroup(options *vpcv1.DeleteSecurityGroupOptions) (*core.DetailedResponse, error)

DeleteSecurityGroup 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) GetDedicatedHostByName added in v0.9.0

func (m *MockVpc) GetDedicatedHostByName(dHostName string) (*vpcv1.DedicatedHost, error)

GetDedicatedHostByName mocks base method.

func (*MockVpc) GetImage added in v0.9.0

func (m *MockVpc) GetImage(options *vpcv1.GetImageOptions) (*vpcv1.Image, *core.DetailedResponse, error)

GetImage mocks base method.

func (*MockVpc) GetImageByName added in v0.9.0

func (m *MockVpc) GetImageByName(imageName string) (*vpcv1.Image, error)

GetImageByName mocks base method.

func (*MockVpc) GetInstance

func (m *MockVpc) GetInstance(options *vpcv1.GetInstanceOptions) (*vpcv1.Instance, *core.DetailedResponse, error)

GetInstance mocks base method.

func (*MockVpc) GetInstanceProfile added in v0.8.0

GetInstanceProfile mocks base method.

func (*MockVpc) GetLoadBalancer

func (m *MockVpc) GetLoadBalancer(options *vpcv1.GetLoadBalancerOptions) (*vpcv1.LoadBalancer, *core.DetailedResponse, error)

GetLoadBalancer mocks base method.

func (*MockVpc) GetLoadBalancerByName added in v0.8.0

func (m *MockVpc) GetLoadBalancerByName(loadBalancerName string) (*vpcv1.LoadBalancer, error)

GetLoadBalancerByName mocks base method.

func (*MockVpc) GetLoadBalancerPoolByName added in v0.9.0

func (m *MockVpc) GetLoadBalancerPoolByName(loadBalancerID, poolName string) (*vpcv1.LoadBalancerPool, error)

GetLoadBalancerPoolByName mocks base method.

func (*MockVpc) GetSecurityGroup added in v0.8.0

func (m *MockVpc) GetSecurityGroup(options *vpcv1.GetSecurityGroupOptions) (*vpcv1.SecurityGroup, *core.DetailedResponse, error)

GetSecurityGroup mocks base method.

func (*MockVpc) GetSecurityGroupByName added in v0.8.0

func (m *MockVpc) GetSecurityGroupByName(name string) (*vpcv1.SecurityGroup, error)

GetSecurityGroupByName mocks base method.

func (*MockVpc) GetSecurityGroupRule added in v0.8.0

GetSecurityGroupRule mocks base method.

func (*MockVpc) GetSubnet added in v0.8.0

GetSubnet mocks base method.

func (*MockVpc) GetSubnetAddrPrefix added in v0.8.0

func (m *MockVpc) GetSubnetAddrPrefix(vpcID, zone string) (string, error)

GetSubnetAddrPrefix mocks base method.

func (*MockVpc) GetSubnetPublicGateway

func (m *MockVpc) GetSubnetPublicGateway(options *vpcv1.GetSubnetPublicGatewayOptions) (*vpcv1.PublicGateway, *core.DetailedResponse, error)

GetSubnetPublicGateway mocks base method.

func (*MockVpc) GetVPC added in v0.8.0

func (m *MockVpc) GetVPC(arg0 *vpcv1.GetVPCOptions) (*vpcv1.VPC, *core.DetailedResponse, error)

GetVPC mocks base method.

func (*MockVpc) GetVPCByName added in v0.8.0

func (m *MockVpc) GetVPCByName(vpcName string) (*vpcv1.VPC, error)

GetVPCByName mocks base method.

func (*MockVpc) GetVPCPublicGatewayByName added in v0.9.0

func (m *MockVpc) GetVPCPublicGatewayByName(publicGatewayName, resourceGroupID string) (*vpcv1.PublicGateway, error)

GetVPCPublicGatewayByName mocks base method.

func (*MockVpc) GetVPCSubnetByName added in v0.8.0

func (m *MockVpc) GetVPCSubnetByName(subnetName string) (*vpcv1.Subnet, error)

GetVPCSubnetByName mocks base method.

func (*MockVpc) GetVPCZonesByRegion added in v0.9.0

func (m *MockVpc) GetVPCZonesByRegion(region string) ([]string, error)

GetVPCZonesByRegion mocks base method.

func (*MockVpc) ListImages added in v0.4.0

ListImages mocks base method.

func (*MockVpc) ListInstances

ListInstances mocks base method.

func (*MockVpc) ListKeys added in v0.4.0

ListKeys mocks base method.

func (*MockVpc) ListLoadBalancerPoolMembers

ListLoadBalancerPoolMembers mocks base method.

func (*MockVpc) ListLoadBalancers

ListLoadBalancers mocks base method.

func (*MockVpc) ListSecurityGroupRules added in v0.9.0

ListSecurityGroupRules mocks base method.

func (*MockVpc) ListSecurityGroups added in v0.8.0

ListSecurityGroups mocks base method.

func (*MockVpc) ListSubnets

ListSubnets mocks base method.

func (*MockVpc) ListVPCAddressPrefixes

ListVPCAddressPrefixes mocks base method.

func (*MockVpc) ListVpcs

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) CreateImage added in v0.9.0

func (mr *MockVpcMockRecorder) CreateImage(options any) *gomock.Call

CreateImage indicates an expected call of CreateImage.

func (*MockVpcMockRecorder) CreateInstance

func (mr *MockVpcMockRecorder) CreateInstance(options any) *gomock.Call

CreateInstance indicates an expected call of CreateInstance.

func (*MockVpcMockRecorder) CreateLoadBalancer

func (mr *MockVpcMockRecorder) CreateLoadBalancer(options any) *gomock.Call

CreateLoadBalancer indicates an expected call of CreateLoadBalancer.

func (*MockVpcMockRecorder) CreateLoadBalancerPoolMember

func (mr *MockVpcMockRecorder) CreateLoadBalancerPoolMember(options any) *gomock.Call

CreateLoadBalancerPoolMember indicates an expected call of CreateLoadBalancerPoolMember.

func (*MockVpcMockRecorder) CreatePublicGateway

func (mr *MockVpcMockRecorder) CreatePublicGateway(options any) *gomock.Call

CreatePublicGateway indicates an expected call of CreatePublicGateway.

func (*MockVpcMockRecorder) CreateSecurityGroup added in v0.8.0

func (mr *MockVpcMockRecorder) CreateSecurityGroup(options any) *gomock.Call

CreateSecurityGroup indicates an expected call of CreateSecurityGroup.

func (*MockVpcMockRecorder) CreateSecurityGroupRule

func (mr *MockVpcMockRecorder) CreateSecurityGroupRule(options any) *gomock.Call

CreateSecurityGroupRule indicates an expected call of CreateSecurityGroupRule.

func (*MockVpcMockRecorder) CreateSubnet

func (mr *MockVpcMockRecorder) CreateSubnet(options any) *gomock.Call

CreateSubnet indicates an expected call of CreateSubnet.

func (*MockVpcMockRecorder) CreateVPC

func (mr *MockVpcMockRecorder) CreateVPC(options any) *gomock.Call

CreateVPC indicates an expected call of CreateVPC.

func (*MockVpcMockRecorder) DeleteInstance

func (mr *MockVpcMockRecorder) DeleteInstance(options any) *gomock.Call

DeleteInstance indicates an expected call of DeleteInstance.

func (*MockVpcMockRecorder) DeleteLoadBalancer

func (mr *MockVpcMockRecorder) DeleteLoadBalancer(options any) *gomock.Call

DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer.

func (*MockVpcMockRecorder) DeleteLoadBalancerPoolMember

func (mr *MockVpcMockRecorder) DeleteLoadBalancerPoolMember(options any) *gomock.Call

DeleteLoadBalancerPoolMember indicates an expected call of DeleteLoadBalancerPoolMember.

func (*MockVpcMockRecorder) DeletePublicGateway

func (mr *MockVpcMockRecorder) DeletePublicGateway(options any) *gomock.Call

DeletePublicGateway indicates an expected call of DeletePublicGateway.

func (*MockVpcMockRecorder) DeleteSecurityGroup added in v0.8.0

func (mr *MockVpcMockRecorder) DeleteSecurityGroup(options any) *gomock.Call

DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.

func (*MockVpcMockRecorder) DeleteSubnet

func (mr *MockVpcMockRecorder) DeleteSubnet(options any) *gomock.Call

DeleteSubnet indicates an expected call of DeleteSubnet.

func (*MockVpcMockRecorder) DeleteVPC

func (mr *MockVpcMockRecorder) DeleteVPC(options any) *gomock.Call

DeleteVPC indicates an expected call of DeleteVPC.

func (*MockVpcMockRecorder) GetDedicatedHostByName added in v0.9.0

func (mr *MockVpcMockRecorder) GetDedicatedHostByName(dHostName any) *gomock.Call

GetDedicatedHostByName indicates an expected call of GetDedicatedHostByName.

func (*MockVpcMockRecorder) GetImage added in v0.9.0

func (mr *MockVpcMockRecorder) GetImage(options any) *gomock.Call

GetImage indicates an expected call of GetImage.

func (*MockVpcMockRecorder) GetImageByName added in v0.9.0

func (mr *MockVpcMockRecorder) GetImageByName(imageName any) *gomock.Call

GetImageByName indicates an expected call of GetImageByName.

func (*MockVpcMockRecorder) GetInstance

func (mr *MockVpcMockRecorder) GetInstance(options any) *gomock.Call

GetInstance indicates an expected call of GetInstance.

func (*MockVpcMockRecorder) GetInstanceProfile added in v0.8.0

func (mr *MockVpcMockRecorder) GetInstanceProfile(options any) *gomock.Call

GetInstanceProfile indicates an expected call of GetInstanceProfile.

func (*MockVpcMockRecorder) GetLoadBalancer

func (mr *MockVpcMockRecorder) GetLoadBalancer(options any) *gomock.Call

GetLoadBalancer indicates an expected call of GetLoadBalancer.

func (*MockVpcMockRecorder) GetLoadBalancerByName added in v0.8.0

func (mr *MockVpcMockRecorder) GetLoadBalancerByName(loadBalancerName any) *gomock.Call

GetLoadBalancerByName indicates an expected call of GetLoadBalancerByName.

func (*MockVpcMockRecorder) GetLoadBalancerPoolByName added in v0.9.0

func (mr *MockVpcMockRecorder) GetLoadBalancerPoolByName(loadBalancerID, poolName any) *gomock.Call

GetLoadBalancerPoolByName indicates an expected call of GetLoadBalancerPoolByName.

func (*MockVpcMockRecorder) GetSecurityGroup added in v0.8.0

func (mr *MockVpcMockRecorder) GetSecurityGroup(options any) *gomock.Call

GetSecurityGroup indicates an expected call of GetSecurityGroup.

func (*MockVpcMockRecorder) GetSecurityGroupByName added in v0.8.0

func (mr *MockVpcMockRecorder) GetSecurityGroupByName(name any) *gomock.Call

GetSecurityGroupByName indicates an expected call of GetSecurityGroupByName.

func (*MockVpcMockRecorder) GetSecurityGroupRule added in v0.8.0

func (mr *MockVpcMockRecorder) GetSecurityGroupRule(options any) *gomock.Call

GetSecurityGroupRule indicates an expected call of GetSecurityGroupRule.

func (*MockVpcMockRecorder) GetSubnet added in v0.8.0

func (mr *MockVpcMockRecorder) GetSubnet(arg0 any) *gomock.Call

GetSubnet indicates an expected call of GetSubnet.

func (*MockVpcMockRecorder) GetSubnetAddrPrefix added in v0.8.0

func (mr *MockVpcMockRecorder) GetSubnetAddrPrefix(vpcID, zone any) *gomock.Call

GetSubnetAddrPrefix indicates an expected call of GetSubnetAddrPrefix.

func (*MockVpcMockRecorder) GetSubnetPublicGateway

func (mr *MockVpcMockRecorder) GetSubnetPublicGateway(options any) *gomock.Call

GetSubnetPublicGateway indicates an expected call of GetSubnetPublicGateway.

func (*MockVpcMockRecorder) GetVPC added in v0.8.0

func (mr *MockVpcMockRecorder) GetVPC(arg0 any) *gomock.Call

GetVPC indicates an expected call of GetVPC.

func (*MockVpcMockRecorder) GetVPCByName added in v0.8.0

func (mr *MockVpcMockRecorder) GetVPCByName(vpcName any) *gomock.Call

GetVPCByName indicates an expected call of GetVPCByName.

func (*MockVpcMockRecorder) GetVPCPublicGatewayByName added in v0.9.0

func (mr *MockVpcMockRecorder) GetVPCPublicGatewayByName(publicGatewayName, resourceGroupID any) *gomock.Call

GetVPCPublicGatewayByName indicates an expected call of GetVPCPublicGatewayByName.

func (*MockVpcMockRecorder) GetVPCSubnetByName added in v0.8.0

func (mr *MockVpcMockRecorder) GetVPCSubnetByName(subnetName any) *gomock.Call

GetVPCSubnetByName indicates an expected call of GetVPCSubnetByName.

func (*MockVpcMockRecorder) GetVPCZonesByRegion added in v0.9.0

func (mr *MockVpcMockRecorder) GetVPCZonesByRegion(region any) *gomock.Call

GetVPCZonesByRegion indicates an expected call of GetVPCZonesByRegion.

func (*MockVpcMockRecorder) ListImages added in v0.4.0

func (mr *MockVpcMockRecorder) ListImages(options any) *gomock.Call

ListImages indicates an expected call of ListImages.

func (*MockVpcMockRecorder) ListInstances

func (mr *MockVpcMockRecorder) ListInstances(options any) *gomock.Call

ListInstances indicates an expected call of ListInstances.

func (*MockVpcMockRecorder) ListKeys added in v0.4.0

func (mr *MockVpcMockRecorder) ListKeys(options any) *gomock.Call

ListKeys indicates an expected call of ListKeys.

func (*MockVpcMockRecorder) ListLoadBalancerPoolMembers

func (mr *MockVpcMockRecorder) ListLoadBalancerPoolMembers(options any) *gomock.Call

ListLoadBalancerPoolMembers indicates an expected call of ListLoadBalancerPoolMembers.

func (*MockVpcMockRecorder) ListLoadBalancers

func (mr *MockVpcMockRecorder) ListLoadBalancers(options any) *gomock.Call

ListLoadBalancers indicates an expected call of ListLoadBalancers.

func (*MockVpcMockRecorder) ListSecurityGroupRules added in v0.9.0

func (mr *MockVpcMockRecorder) ListSecurityGroupRules(options any) *gomock.Call

ListSecurityGroupRules indicates an expected call of ListSecurityGroupRules.

func (*MockVpcMockRecorder) ListSecurityGroups added in v0.8.0

func (mr *MockVpcMockRecorder) ListSecurityGroups(options any) *gomock.Call

ListSecurityGroups indicates an expected call of ListSecurityGroups.

func (*MockVpcMockRecorder) ListSubnets

func (mr *MockVpcMockRecorder) ListSubnets(options any) *gomock.Call

ListSubnets indicates an expected call of ListSubnets.

func (*MockVpcMockRecorder) ListVPCAddressPrefixes

func (mr *MockVpcMockRecorder) ListVPCAddressPrefixes(options any) *gomock.Call

ListVPCAddressPrefixes indicates an expected call of ListVPCAddressPrefixes.

func (*MockVpcMockRecorder) ListVpcs

func (mr *MockVpcMockRecorder) ListVpcs(options any) *gomock.Call

ListVpcs indicates an expected call of ListVpcs.

func (*MockVpcMockRecorder) SetSubnetPublicGateway

func (mr *MockVpcMockRecorder) SetSubnetPublicGateway(options any) *gomock.Call

SetSubnetPublicGateway indicates an expected call of SetSubnetPublicGateway.

func (*MockVpcMockRecorder) UnsetSubnetPublicGateway

func (mr *MockVpcMockRecorder) UnsetSubnetPublicGateway(options any) *gomock.Call

UnsetSubnetPublicGateway indicates an expected call of UnsetSubnetPublicGateway.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL