Documentation ¶
Overview ¶
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Code generated by MockGen. DO NOT EDIT. Source: ./vpc.go
Generated by this command:
mockgen -source=./vpc.go -destination=./mock/vpc_generated.go -package=mock
Package mock is a generated GoMock package.
Index ¶
- type MockVpc
- 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) 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) 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) CreateInstance(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateLoadBalancer(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateLoadBalancerPoolMember(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) CreatePublicGateway(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateSecurityGroupRule(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateSubnet(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) CreateVPC(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteInstance(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteLoadBalancer(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteLoadBalancerPoolMember(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) DeletePublicGateway(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteSubnet(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) DeleteVPC(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) GetInstance(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) GetLoadBalancer(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) GetSubnetPublicGateway(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) ListImages(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) ListInstances(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) ListKeys(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) ListLoadBalancerPoolMembers(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) ListLoadBalancers(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) ListSubnets(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) ListVPCAddressPrefixes(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) ListVpcs(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) SetSubnetPublicGateway(options any) *gomock.Call
- func (mr *MockVpcMockRecorder) UnsetSubnetPublicGateway(options any) *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) 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) 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) 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) 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) 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) 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) GetInstance ¶
func (mr *MockVpcMockRecorder) GetInstance(options any) *gomock.Call
GetInstance indicates an expected call of GetInstance.
func (*MockVpcMockRecorder) GetLoadBalancer ¶
func (mr *MockVpcMockRecorder) GetLoadBalancer(options any) *gomock.Call
GetLoadBalancer indicates an expected call of GetLoadBalancer.
func (*MockVpcMockRecorder) GetSubnetPublicGateway ¶
func (mr *MockVpcMockRecorder) GetSubnetPublicGateway(options any) *gomock.Call
GetSubnetPublicGateway indicates an expected call of GetSubnetPublicGateway.
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) 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.