fake

package
v0.0.0-...-b3f0fa4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FakeWorkRequestID used as work request id for fake responses
	FakeCeWorkRequestID = "wrID123"
)
View Source
const (
	// FakeWorkRequestID used as work request id for fake responses
	FakeWorkRequestID = "wrID123"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockStorageClient

type BlockStorageClient struct {
	resourcescommon.BlockStorageClientInterface
	// contains filtered or unexported fields
}

BlockStorageClient implements common BlockStorageClient to fake oci methods for unit tests.

func NewBlockStorageClient

func NewBlockStorageClient() (fcc *BlockStorageClient)

NewBlockStorageClient returns a client that will respond with the provided objects. It shouldn't be used as a replacement for a real client and is mostly useful in simple unit tests.

func (*BlockStorageClient) CreateVolume

func (cc *BlockStorageClient) CreateVolume(ctx context.Context, request ocicore.CreateVolumeRequest) (response ocicore.CreateVolumeResponse, err error)

CreateVolume returns a fake response for CreateVolume

func (*BlockStorageClient) CreateVolumeBackup

func (cc *BlockStorageClient) CreateVolumeBackup(ctx context.Context, request ocicore.CreateVolumeBackupRequest) (response ocicore.CreateVolumeBackupResponse, err error)

CreateVolumeBackup returns a fake response for CreateVolumeBackup

func (*BlockStorageClient) DeleteVolume

func (cc *BlockStorageClient) DeleteVolume(ctx context.Context, request ocicore.DeleteVolumeRequest) (response ocicore.DeleteVolumeResponse, err error)

DeleteVolume returns a fake response for DeleteVolume

func (*BlockStorageClient) DeleteVolumeBackup

func (cc *BlockStorageClient) DeleteVolumeBackup(ctx context.Context, request ocicore.DeleteVolumeBackupRequest) (response ocicore.DeleteVolumeBackupResponse, err error)

DeleteVolumeBackup returns a fake response for DeleteVolumeBackup

func (*BlockStorageClient) GetBootVolume

func (cc *BlockStorageClient) GetBootVolume(ctx context.Context, request ocicore.GetBootVolumeRequest) (response ocicore.GetBootVolumeResponse, err error)

GetBootVolume returns a fake response for GetBootVolume

func (*BlockStorageClient) GetVolume

func (cc *BlockStorageClient) GetVolume(ctx context.Context, request ocicore.GetVolumeRequest) (response ocicore.GetVolumeResponse, err error)

GetVolume returns a fake response for GetVolume

func (*BlockStorageClient) GetVolumeBackup

func (cc *BlockStorageClient) GetVolumeBackup(ctx context.Context, request ocicore.GetVolumeBackupRequest) (response ocicore.GetVolumeBackupResponse, err error)

GetVolumeBackup returns a fake response for GetVolumeBackup

func (*BlockStorageClient) UpdateVolume

func (cc *BlockStorageClient) UpdateVolume(ctx context.Context, request ocicore.UpdateVolumeRequest) (response ocicore.UpdateVolumeResponse, err error)

UpdateVolume returns a fake response for UpdateVolume

func (*BlockStorageClient) UpdateVolumeBackup

func (cc *BlockStorageClient) UpdateVolumeBackup(ctx context.Context, request ocicore.UpdateVolumeBackupRequest) (response ocicore.UpdateVolumeBackupResponse, err error)

UpdateVolumeBackup returns a fake response for UpdateVolumeBackup

type ComputeClient

type ComputeClient struct {
	resourcescommon.ComputeClientInterface
	// contains filtered or unexported fields
}

ComputeClient implements common ComputeClient to fake oci methods for unit tests.

func NewComputeClient

func NewComputeClient() (fcc *ComputeClient)

NewComputeClient returns a client that will respond with the provided objects. It shouldn't be used as a replacement for a real client and is mostly useful in simple unit tests.

func (*ComputeClient) AttachVolume

func (cc *ComputeClient) AttachVolume(ctx context.Context, request ocicore.AttachVolumeRequest) (response ocicore.AttachVolumeResponse, err error)

AttachVolume returns a fake response for AttachVolume

func (*ComputeClient) DetachVolume

func (cc *ComputeClient) DetachVolume(ctx context.Context, request ocicore.DetachVolumeRequest) (response ocicore.DetachVolumeResponse, err error)

DetachVolume returns a fake response for DetachVolume

func (*ComputeClient) GetInstance

func (cc *ComputeClient) GetInstance(ctx context.Context, request ocicore.GetInstanceRequest) (response ocicore.GetInstanceResponse, err error)

GetInstance returns a fake response for GetInstance

func (*ComputeClient) GetVolumeAttachment

func (cc *ComputeClient) GetVolumeAttachment(ctx context.Context, request ocicore.GetVolumeAttachmentRequest) (response ocicore.GetVolumeAttachmentResponse, err error)

GetVolumeAttachment returns a fake response for GetVolumeAttachment

func (*ComputeClient) InstanceAction

func (cc *ComputeClient) InstanceAction(ctx context.Context, request ocicore.InstanceActionRequest) (response ocicore.InstanceActionResponse, err error)

InstanceAction returns a fake response for InstanceAction

func (*ComputeClient) LaunchInstance

func (cc *ComputeClient) LaunchInstance(ctx context.Context, request ocicore.LaunchInstanceRequest) (response ocicore.LaunchInstanceResponse, err error)

LaunchInstance returns a fake response for LaunchInstance

func (*ComputeClient) ListBootVolumeAttachments

func (cc *ComputeClient) ListBootVolumeAttachments(ctx context.Context, request ocicore.ListBootVolumeAttachmentsRequest) (response ocicore.ListBootVolumeAttachmentsResponse, err error)

ListBootVolumeAttachments returns a fake response for ListBootVolumeAttachments

func (*ComputeClient) ListImages

func (cc *ComputeClient) ListImages(ctx context.Context, request ocicore.ListImagesRequest) (response ocicore.ListImagesResponse, err error)

ListImages returns a fake response for ListImages

func (*ComputeClient) ListShapes

func (cc *ComputeClient) ListShapes(ctx context.Context, request ocicore.ListShapesRequest) (response ocicore.ListShapesResponse, err error)

ListShapes returns a fake response for ListShapes

func (*ComputeClient) ListVnicAttachments

func (cc *ComputeClient) ListVnicAttachments(ctx context.Context, request ocicore.ListVnicAttachmentsRequest) (response ocicore.ListVnicAttachmentsResponse, err error)

ListVnicAttachments returns a fake response for ListVnicAttachments

func (*ComputeClient) TerminateInstance

func (cc *ComputeClient) TerminateInstance(ctx context.Context, request ocicore.TerminateInstanceRequest) (response ocicore.TerminateInstanceResponse, err error)

TerminateInstance returns a fake response for TerminateInstance

func (*ComputeClient) UpdateInstance

func (cc *ComputeClient) UpdateInstance(ctx context.Context, request ocicore.UpdateInstanceRequest) (response ocicore.UpdateInstanceResponse, err error)

UpdateInstance returns a fake response for UpdateInstance

type ContainerEngineClient

type ContainerEngineClient struct {
	resourcescommon.ContainerEngineClientInterface
	// contains filtered or unexported fields
}

ContainerEngineClient implements common ContainerEngineClient to fake oci methods for unit tests.

func NewContainerEngineClient

func NewContainerEngineClient() (fcec *ContainerEngineClient)

NewContainerEngineClient returns a client that will respond with the provided objects. It shouldn't be used as a replacement for a real client and is mostly useful in simple unit tests.

func (*ContainerEngineClient) CreateCluster

func (cec *ContainerEngineClient) CreateCluster(ctx context.Context, request ocice.CreateClusterRequest) (response ocice.CreateClusterResponse, err error)

CreateCluster returns a fake response

func (*ContainerEngineClient) CreateKubeconfig

func (cec *ContainerEngineClient) CreateKubeconfig(ctx context.Context, request ocice.CreateKubeconfigRequest) (response ocice.CreateKubeconfigResponse, err error)

func (*ContainerEngineClient) CreateNodePool

func (cec *ContainerEngineClient) CreateNodePool(ctx context.Context, request ocice.CreateNodePoolRequest) (response ocice.CreateNodePoolResponse, err error)

CreateNodePool returns a fake response

func (*ContainerEngineClient) DeleteCluster

func (cec *ContainerEngineClient) DeleteCluster(ctx context.Context, request ocice.DeleteClusterRequest) (response ocice.DeleteClusterResponse, err error)

DeleteCluster returns a fake response

func (*ContainerEngineClient) DeleteNodePool

func (cec *ContainerEngineClient) DeleteNodePool(ctx context.Context, request ocice.DeleteNodePoolRequest) (response ocice.DeleteNodePoolResponse, err error)

DeleteNodePool returns a fake response

func (*ContainerEngineClient) GetCluster

func (cec *ContainerEngineClient) GetCluster(ctx context.Context, request ocice.GetClusterRequest) (response ocice.GetClusterResponse, err error)

GetCluster returns a fake response

func (*ContainerEngineClient) GetNodePool

func (cec *ContainerEngineClient) GetNodePool(ctx context.Context, request ocice.GetNodePoolRequest) (response ocice.GetNodePoolResponse, err error)

GetNodePool returns a fake response

func (*ContainerEngineClient) GetWorkRequest

func (cec *ContainerEngineClient) GetWorkRequest(ctx context.Context, request ocice.GetWorkRequestRequest) (response ocice.GetWorkRequestResponse, err error)

func (*ContainerEngineClient) UpdateCluster

func (cec *ContainerEngineClient) UpdateCluster(ctx context.Context, request ocice.UpdateClusterRequest) (response ocice.UpdateClusterResponse, err error)

GetCluster returns a fake response

func (*ContainerEngineClient) UpdateNodePool

func (cec *ContainerEngineClient) UpdateNodePool(ctx context.Context, request ocice.UpdateNodePoolRequest) (response ocice.UpdateNodePoolResponse, err error)

UpdateNodePool returns a fake response

type DatabaseClient

type DatabaseClient struct {
	resourcescommon.DatabaseClientInterface
	// contains filtered or unexported fields
}

DatabaseClient implements common DatabaseClient to fake oci methods for unit tests.

func NewDatabaseClient

func NewDatabaseClient() (dbc *DatabaseClient)

NewDatabaseClient returns a client that will respond with the provided objects. It shouldn't be used as a replacement for a real client and is mostly useful in simple unit tests.

func (*DatabaseClient) CreateAutonomousDatabase

func (dbc *DatabaseClient) CreateAutonomousDatabase(ctx context.Context, request ocidb.CreateAutonomousDatabaseRequest) (response ocidb.CreateAutonomousDatabaseResponse, err error)

CreateAutonomousDatabase returns a fake response

func (*DatabaseClient) DeleteAutonomousDatabase

func (dbc *DatabaseClient) DeleteAutonomousDatabase(ctx context.Context, request ocidb.DeleteAutonomousDatabaseRequest) (response ocidb.DeleteAutonomousDatabaseResponse, err error)

func (*DatabaseClient) GetAutonomousDatabase

func (dbc *DatabaseClient) GetAutonomousDatabase(ctx context.Context, request ocidb.GetAutonomousDatabaseRequest) (response ocidb.GetAutonomousDatabaseResponse, err error)

func (*DatabaseClient) ListAutonomousDatabases

func (dbc *DatabaseClient) ListAutonomousDatabases(ctx context.Context, request ocidb.ListAutonomousDatabasesRequest) (response ocidb.ListAutonomousDatabasesResponse, err error)

func (*DatabaseClient) StartAutonomousDatabase

func (dbc *DatabaseClient) StartAutonomousDatabase(ctx context.Context, request ocidb.StartAutonomousDatabaseRequest) (response ocidb.StartAutonomousDatabaseResponse, err error)

func (*DatabaseClient) StopAutonomousDatabase

func (dbc *DatabaseClient) StopAutonomousDatabase(ctx context.Context, request ocidb.StopAutonomousDatabaseRequest) (response ocidb.StopAutonomousDatabaseResponse, err error)

func (*DatabaseClient) UpdateAutonomousDatabase

func (dbc *DatabaseClient) UpdateAutonomousDatabase(ctx context.Context, request ocidb.UpdateAutonomousDatabaseRequest) (response ocidb.UpdateAutonomousDatabaseResponse, err error)

type IdentityClient

type IdentityClient struct {
	resourcescommon.IdentityClientInterface
	// contains filtered or unexported fields
}

IdentityClient implements common IdentityClient to fake oci methods for unit tests.

func NewIdentityClient

func NewIdentityClient() (fcc *IdentityClient)

NewIdentityClient returns a client that will respond with the provided objects. It shouldn't be used as a replacement for a real client and is mostly useful in simple unit tests.

func (*IdentityClient) CreatePolicy

func (cc *IdentityClient) CreatePolicy(ctx context.Context, request ociid.CreatePolicyRequest) (response ociid.CreatePolicyResponse, err error)

CreatePolicy returns a fake response for CreatePolicy

func (*IdentityClient) DeletePolicy

func (cc *IdentityClient) DeletePolicy(ctx context.Context, request ociid.DeletePolicyRequest) (response ociid.DeletePolicyResponse, err error)

DeletePolicy returns a fake response for DeletePolicy

func (*IdentityClient) GetCompartment

func (cc *IdentityClient) GetCompartment(ctx context.Context, request ociid.GetCompartmentRequest) (response ociid.GetCompartmentResponse, err error)

GetCompartment returns a fake response for GetCompartment

func (*IdentityClient) GetPolicy

func (cc *IdentityClient) GetPolicy(ctx context.Context, request ociid.GetPolicyRequest) (response ociid.GetPolicyResponse, err error)

GetPolicy returns a fake response for GetPolicy

func (*IdentityClient) ListAvailabilityDomains

func (cc *IdentityClient) ListAvailabilityDomains(ctx context.Context, request ociid.ListAvailabilityDomainsRequest) (response ociid.ListAvailabilityDomainsResponse, err error)

ListAvailabilityDomains returns a fake response for ListAvailabilityDomains

func (*IdentityClient) ListCompartments

func (cc *IdentityClient) ListCompartments(ctx context.Context, request ociid.ListCompartmentsRequest) (response ociid.ListCompartmentsResponse, err error)

ListCompartments returns a fake response for ListCompartments

func (*IdentityClient) UpdatePolicy

func (cc *IdentityClient) UpdatePolicy(ctx context.Context, request ociid.UpdatePolicyRequest) (response ociid.UpdatePolicyResponse, err error)

UpdatePolicy returns a fake response for UpdatePolicy

type LoadBalancerClient

type LoadBalancerClient struct {
	resourcescommon.LoadBalancerClientInterface
	// contains filtered or unexported fields
}

LoadBalancerClient implements common LoadBalancerClient to fake oci methods for unit tests.

func NewLoadBalancerClient

func NewLoadBalancerClient() (flbc *LoadBalancerClient)

NewLoadBalancerClient returns a client that will respond with the provided objects. It shouldn't be used as a replacement for a real client and is mostly useful in simple unit tests.

func (*LoadBalancerClient) CreateBackend

func (lbc *LoadBalancerClient) CreateBackend(ctx context.Context, request ocilb.CreateBackendRequest) (response ocilb.CreateBackendResponse, err error)

CreateBackend returns a fake response for CreateBackend

func (*LoadBalancerClient) CreateBackendSet

func (lbc *LoadBalancerClient) CreateBackendSet(ctx context.Context, request ocilb.CreateBackendSetRequest) (response ocilb.CreateBackendSetResponse, err error)

CreateBackendSet returns a fake response for CreateBackendSet

func (*LoadBalancerClient) CreateCertificate

func (lbc *LoadBalancerClient) CreateCertificate(ctx context.Context, request ocilb.CreateCertificateRequest) (response ocilb.CreateCertificateResponse, err error)

CreateCertificate returns a fake response for CreateCertificate

func (*LoadBalancerClient) CreateListener

func (lbc *LoadBalancerClient) CreateListener(ctx context.Context, request ocilb.CreateListenerRequest) (response ocilb.CreateListenerResponse, err error)

CreateListener returns a fake response for CreateListener

func (*LoadBalancerClient) CreateLoadBalancer

func (lbc *LoadBalancerClient) CreateLoadBalancer(ctx context.Context, request ocilb.CreateLoadBalancerRequest) (response ocilb.CreateLoadBalancerResponse, err error)

CreateLoadBalancer returns a fake response for CreateLoadBalancer

func (*LoadBalancerClient) DeleteBackend

func (lbc *LoadBalancerClient) DeleteBackend(ctx context.Context, request ocilb.DeleteBackendRequest) (response ocilb.DeleteBackendResponse, err error)

DeleteBackend returns a fake response for DeleteBackend

func (*LoadBalancerClient) DeleteBackendSet

func (lbc *LoadBalancerClient) DeleteBackendSet(ctx context.Context, request ocilb.DeleteBackendSetRequest) (response ocilb.DeleteBackendSetResponse, err error)

DeleteBackendSet returns a fake response for DeleteBackendSet

func (*LoadBalancerClient) DeleteCertificate

func (lbc *LoadBalancerClient) DeleteCertificate(ctx context.Context, request ocilb.DeleteCertificateRequest) (response ocilb.DeleteCertificateResponse, err error)

DeleteCertificate returns a fake response for DeleteCertificate

func (*LoadBalancerClient) DeleteListener

func (lbc *LoadBalancerClient) DeleteListener(ctx context.Context, request ocilb.DeleteListenerRequest) (response ocilb.DeleteListenerResponse, err error)

DeleteListener returns a fake response for DeleteListener

func (*LoadBalancerClient) DeleteLoadBalancer

func (lbc *LoadBalancerClient) DeleteLoadBalancer(ctx context.Context, request ocilb.DeleteLoadBalancerRequest) (response ocilb.DeleteLoadBalancerResponse, err error)

DeleteLoadBalancer returns a fake response for DeleteLoadBalancer

func (*LoadBalancerClient) GetBackend

func (lbc *LoadBalancerClient) GetBackend(ctx context.Context, request ocilb.GetBackendRequest) (response ocilb.GetBackendResponse, err error)

GetBackend returns a fake response for GetBackend

func (*LoadBalancerClient) GetBackendSet

func (lbc *LoadBalancerClient) GetBackendSet(ctx context.Context, request ocilb.GetBackendSetRequest) (response ocilb.GetBackendSetResponse, err error)

GetBackendSet returns a fake response for GetBackendSet

func (*LoadBalancerClient) GetLoadBalancer

func (lbc *LoadBalancerClient) GetLoadBalancer(ctx context.Context, request ocilb.GetLoadBalancerRequest) (response ocilb.GetLoadBalancerResponse, err error)

GetLoadBalancer returns a fake response for GetLoadBalancer

func (*LoadBalancerClient) GetWorkRequest

func (lbc *LoadBalancerClient) GetWorkRequest(ctx context.Context, request ocilb.GetWorkRequestRequest) (response ocilb.GetWorkRequestResponse, err error)

GetWorkRequest returns a fake response for GetWorkRequest

func (*LoadBalancerClient) UpdateBackend

func (lbc *LoadBalancerClient) UpdateBackend(ctx context.Context, request ocilb.UpdateBackendRequest) (response ocilb.UpdateBackendResponse, err error)

UpdateBackend returns a fake response for UpdateBackend

func (*LoadBalancerClient) UpdateBackendSet

func (lbc *LoadBalancerClient) UpdateBackendSet(ctx context.Context, request ocilb.UpdateBackendSetRequest) (response ocilb.UpdateBackendSetResponse, err error)

UpdateBackendSet returns a fake response for UpdateBackendSet

func (*LoadBalancerClient) UpdateListener

func (lbc *LoadBalancerClient) UpdateListener(ctx context.Context, request ocilb.UpdateListenerRequest) (response ocilb.UpdateListenerResponse, err error)

UpdateListener returns a fake response for UpdateListener

func (*LoadBalancerClient) UpdateLoadBalancer

func (lbc *LoadBalancerClient) UpdateLoadBalancer(ctx context.Context, request ocilb.UpdateLoadBalancerRequest) (response ocilb.UpdateLoadBalancerResponse, err error)

UpdateLoadBalancer returns a fake response for UpdateLoadBalancer

type VcnClient

type VcnClient struct {
	resourcescommon.VcnClientInterface
	// contains filtered or unexported fields
}

VcnClient implements common VcnClientInterface to fake oci methods for unit tests.

func NewVcnClient

func NewVcnClient() (fvcnc *VcnClient)

NewVcnClient returns a client that will respond with the provided objects. It shouldn't be used as a replacement for a real client and is mostly useful in simple unit tests.

func (*VcnClient) CreateDhcpOptions

func (vcnc *VcnClient) CreateDhcpOptions(ctx context.Context, request ocicore.CreateDhcpOptionsRequest) (response ocicore.CreateDhcpOptionsResponse, err error)

CreateDhcpOptions returns a fake response for CreateDhcpOptions

func (*VcnClient) CreateInternetGateway

func (vcnc *VcnClient) CreateInternetGateway(ctx context.Context, request ocicore.CreateInternetGatewayRequest) (response ocicore.CreateInternetGatewayResponse, err error)

CreateInternetGateway returns a fake response for CreateInternetGateway

func (*VcnClient) CreateRouteTable

func (vcnc *VcnClient) CreateRouteTable(ctx context.Context, request ocicore.CreateRouteTableRequest) (response ocicore.CreateRouteTableResponse, err error)

CreateRouteTable returns a fake response for CreateRouteTable

func (*VcnClient) CreateSecurityList

func (vcnc *VcnClient) CreateSecurityList(ctx context.Context, request ocicore.CreateSecurityListRequest) (response ocicore.CreateSecurityListResponse, err error)

CreateSecurityList returns a fake response for CreateSecurityList

func (*VcnClient) CreateSubnet

func (vcnc *VcnClient) CreateSubnet(ctx context.Context, request ocicore.CreateSubnetRequest) (response ocicore.CreateSubnetResponse, err error)

CreateSubnet returns a fake response for CreateSubnet

func (*VcnClient) CreateVcn

func (vcnc *VcnClient) CreateVcn(ctx context.Context, request ocicore.CreateVcnRequest) (response ocicore.CreateVcnResponse, err error)

CreateVcn returns a fake response for CreateVcn

func (*VcnClient) DeleteDhcpOptions

func (vcnc *VcnClient) DeleteDhcpOptions(ctx context.Context, request ocicore.DeleteDhcpOptionsRequest) (response ocicore.DeleteDhcpOptionsResponse, err error)

DeleteDhcpOptions returns a fake response for DeleteDhcpOptions

func (*VcnClient) DeleteInternetGateway

func (vcnc *VcnClient) DeleteInternetGateway(ctx context.Context, request ocicore.DeleteInternetGatewayRequest) (response ocicore.DeleteInternetGatewayResponse, err error)

DeleteInternetGateway returns a fake response for DeleteInternetGateway

func (*VcnClient) DeleteRouteTable

func (vcnc *VcnClient) DeleteRouteTable(ctx context.Context, request ocicore.DeleteRouteTableRequest) (response ocicore.DeleteRouteTableResponse, err error)

DeleteRouteTable returns a fake response for DeleteRouteTable

func (*VcnClient) DeleteSecurityList

func (vcnc *VcnClient) DeleteSecurityList(ctx context.Context, request ocicore.DeleteSecurityListRequest) (response ocicore.DeleteSecurityListResponse, err error)

DeleteSecurityList returns a fake response for DeleteSecurityList

func (*VcnClient) DeleteSubnet

func (vcnc *VcnClient) DeleteSubnet(ctx context.Context, request ocicore.DeleteSubnetRequest) (response ocicore.DeleteSubnetResponse, err error)

DeleteSubnet returns a fake response for DeleteSubnet

func (*VcnClient) DeleteVcn

func (vcnc *VcnClient) DeleteVcn(ctx context.Context, request ocicore.DeleteVcnRequest) (response ocicore.DeleteVcnResponse, err error)

DeleteVcn returns a fake response for DeleteVcn

func (*VcnClient) GetDhcpOptions

func (vcnc *VcnClient) GetDhcpOptions(ctx context.Context, request ocicore.GetDhcpOptionsRequest) (response ocicore.GetDhcpOptionsResponse, err error)

GetDhcpOptions returns a fake response for CreateDhcpOptions

func (*VcnClient) GetInternetGateway

func (vcnc *VcnClient) GetInternetGateway(ctx context.Context, request ocicore.GetInternetGatewayRequest) (response ocicore.GetInternetGatewayResponse, err error)

GetInternetGateway returns a fake response for GetInternetGateway

func (*VcnClient) GetRouteTable

func (vcnc *VcnClient) GetRouteTable(ctx context.Context, request ocicore.GetRouteTableRequest) (response ocicore.GetRouteTableResponse, err error)

GetRouteTable returns a fake response for GetRouteTable

func (*VcnClient) GetSecurityList

func (vcnc *VcnClient) GetSecurityList(ctx context.Context, request ocicore.GetSecurityListRequest) (response ocicore.GetSecurityListResponse, err error)

GetSecurityList returns a fake response for GetSecurityList

func (*VcnClient) GetSubnet

func (vcnc *VcnClient) GetSubnet(ctx context.Context, request ocicore.GetSubnetRequest) (response ocicore.GetSubnetResponse, err error)

GetSubnet returns a fake response for GetSubnet

func (*VcnClient) GetVcn

func (vcnc *VcnClient) GetVcn(ctx context.Context, request ocicore.GetVcnRequest) (response ocicore.GetVcnResponse, err error)

GetVcn returns a fake response for GetVcn

func (*VcnClient) GetVnic

func (vcnc *VcnClient) GetVnic(ctx context.Context, request ocicore.GetVnicRequest) (response ocicore.GetVnicResponse, err error)

GetVnic returns a fake response for GetVnic

func (*VcnClient) UpdateDhcpOptions

func (vcnc *VcnClient) UpdateDhcpOptions(ctx context.Context, request ocicore.UpdateDhcpOptionsRequest) (response ocicore.UpdateDhcpOptionsResponse, err error)

UpdateDhcpOptions returns a fake response for UpdateDhcpOptions

func (*VcnClient) UpdateInternetGateway

func (vcnc *VcnClient) UpdateInternetGateway(ctx context.Context, request ocicore.UpdateInternetGatewayRequest) (response ocicore.UpdateInternetGatewayResponse, err error)

UpdateInternetGateway returns a fake response for UpdateInternetGateway

func (*VcnClient) UpdateRouteTable

func (vcnc *VcnClient) UpdateRouteTable(ctx context.Context, request ocicore.UpdateRouteTableRequest) (response ocicore.UpdateRouteTableResponse, err error)

UpdateRouteTable returns a fake response for UpdateRouteTable

func (*VcnClient) UpdateSecurityList

func (vcnc *VcnClient) UpdateSecurityList(ctx context.Context, request ocicore.UpdateSecurityListRequest) (response ocicore.UpdateSecurityListResponse, err error)

UpdateSecurityList returns a fake response for UpdateSecurityList

func (*VcnClient) UpdateSubnet

func (vcnc *VcnClient) UpdateSubnet(ctx context.Context, request ocicore.UpdateSubnetRequest) (response ocicore.UpdateSubnetResponse, err error)

UpdateSubnet returns a fake response for UpdateSubnet

func (*VcnClient) UpdateVcn

func (vcnc *VcnClient) UpdateVcn(ctx context.Context, request ocicore.UpdateVcnRequest) (response ocicore.UpdateVcnResponse, err error)

UpdateVcn returns a fake response for UpdateVcn

Jump to

Keyboard shortcuts

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