mocks

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2017 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BareMetalClient

type BareMetalClient struct {
	mock.Mock
}

BareMetalClient is an autogenerated mock type for the BareMetalClient type

func (*BareMetalClient) AddUserToGroup

func (_m *BareMetalClient) AddUserToGroup(userID string, groupID string, opts *baremetal.RetryTokenOptions) (*baremetal.UserGroupMembership, error)

AddUserToGroup provides a mock function with given fields: userID, groupID, opts

func (*BareMetalClient) AttachVolume

func (_m *BareMetalClient) AttachVolume(attachmentType string, instanceID string, volumeID string, opts *baremetal.CreateOptions) (*baremetal.VolumeAttachment, error)

AttachVolume provides a mock function with given fields: attachmentType, instanceID, volumeID, opts

func (*BareMetalClient) CaptureConsoleHistory

func (_m *BareMetalClient) CaptureConsoleHistory(instanceID string, opts *baremetal.RetryTokenOptions) (*baremetal.ConsoleHistoryMetadata, error)

CaptureConsoleHistory provides a mock function with given fields: instanceID, opts

func (*BareMetalClient) CreateBackend added in v1.0.8

func (_m *BareMetalClient) CreateBackend(loadBalancerID string, backendSetName string, ipAddr string, port int, opts *baremetal.CreateLoadBalancerBackendOptions) (string, error)

CreateBackend provides a mock function with given fields: loadBalancerID, backendSetName, ipAddr, port, opts

func (*BareMetalClient) CreateBackendSet added in v1.0.8

func (_m *BareMetalClient) CreateBackendSet(loadBalancerID string, name string, policy string, backends []baremetal.Backend, healthChecker *baremetal.HealthChecker, sslConfig *baremetal.SSLConfiguration, sessionPersistenceConfig *baremetal.SessionPersistenceConfiguration, opts *baremetal.LoadBalancerOptions) (string, error)

CreateBackendSet provides a mock function with given fields: loadBalancerID, name, policy, backends, healthChecker, sslConfig, opts

func (*BareMetalClient) CreateBucket

func (_m *BareMetalClient) CreateBucket(compartmentID string, name string, namespaceName baremetal.Namespace, opts *baremetal.CreateBucketOptions) (*baremetal.Bucket, error)

CreateBucket provides a mock function with given fields: compartmentID, name, namespaceName, opts

func (*BareMetalClient) CreateCertificate added in v1.0.8

func (_m *BareMetalClient) CreateCertificate(loadBalancerID string, certificateName string, caCertificate string, privateKey string, passphrase string, publicCertificate string, opts *baremetal.LoadBalancerOptions) (string, error)

CreateCertificate provides a mock function with given fields: loadBalancerID, certificateName, caCertificate, privateKey, passphrase, publicCertificate, opts

func (*BareMetalClient) CreateCompartment

func (_m *BareMetalClient) CreateCompartment(name string, desc string, opts *baremetal.RetryTokenOptions) (*baremetal.Compartment, error)

CreateCompartment provides a mock function with given fields: name, desc, opts

func (*BareMetalClient) CreateCpe

func (_m *BareMetalClient) CreateCpe(compartmentID string, ipAddress string, opts *baremetal.CreateOptions) (*baremetal.Cpe, error)

CreateCpe provides a mock function with given fields: compartmentID, ipAddress, opts

func (*BareMetalClient) CreateDHCPOptions

func (_m *BareMetalClient) CreateDHCPOptions(compartmentID string, vcnID string, dhcpOptions []baremetal.DHCPDNSOption, opts *baremetal.CreateOptions) (*baremetal.DHCPOptions, error)

CreateDHCPOptions provides a mock function with given fields: compartmentID, vcnID, dhcpOptions, opts

func (*BareMetalClient) CreateDrg

func (_m *BareMetalClient) CreateDrg(compartmentID string, opts *baremetal.CreateOptions) (*baremetal.Drg, error)

CreateDrg provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) CreateDrgAttachment

func (_m *BareMetalClient) CreateDrgAttachment(drgID string, vcnID string, opts *baremetal.CreateOptions) (*baremetal.DrgAttachment, error)

CreateDrgAttachment provides a mock function with given fields: drgID, vcnID, opts

func (*BareMetalClient) CreateGroup

func (_m *BareMetalClient) CreateGroup(name string, desc string, opts *baremetal.RetryTokenOptions) (*baremetal.Group, error)

CreateGroup provides a mock function with given fields: name, desc, opts

func (*BareMetalClient) CreateIPSecConnection

func (_m *BareMetalClient) CreateIPSecConnection(compartmentID string, cpeID string, drgID string, staticRoutes []string, opts *baremetal.CreateOptions) (*baremetal.IPSecConnection, error)

CreateIPSecConnection provides a mock function with given fields: compartmentID, cpeID, drgID, staticRoutes, opts

func (*BareMetalClient) CreateImage

func (_m *BareMetalClient) CreateImage(compartmentID string, instanceID string, opts *baremetal.CreateOptions) (*baremetal.Image, error)

CreateImage provides a mock function with given fields: compartmentID, instanceID, opts

func (*BareMetalClient) CreateInternetGateway

func (_m *BareMetalClient) CreateInternetGateway(compartmentID string, vcnID string, isEnabled bool, opts *baremetal.CreateOptions) (*baremetal.InternetGateway, error)

CreateInternetGateway provides a mock function with given fields: compartmentID, vcnID, isEnabled, opts

func (*BareMetalClient) CreateListener added in v1.0.8

func (_m *BareMetalClient) CreateListener(loadBalancerID string, name string, defaultBackendSetName string, protocol string, port int, sslConfig *baremetal.SSLConfiguration, opts *baremetal.LoadBalancerOptions) (string, error)

CreateListener provides a mock function with given fields: loadBalancerID, name, defaultBackendSetName, protocol, port, sslConfig, opts

func (*BareMetalClient) CreateLoadBalancer added in v1.0.8

func (_m *BareMetalClient) CreateLoadBalancer(backendSets *baremetal.BackendSet, certificates *baremetal.Certificate, compartmentID string, listeners *baremetal.Listener, shape string, subnetIDs []string, opts *baremetal.CreateOptions) (string, error)

CreateLoadBalancer provides a mock function with given fields: backendSets, certificates, compartmentID, listeners, shape, subnetIDs, opts

func (*BareMetalClient) CreateOrResetUIPassword

func (_m *BareMetalClient) CreateOrResetUIPassword(userID string, opts *baremetal.RetryTokenOptions) (*baremetal.UIPassword, error)

CreateOrResetUIPassword provides a mock function with given fields: userID, opts

func (*BareMetalClient) CreatePolicy

func (_m *BareMetalClient) CreatePolicy(name string, desc string, compartmentID string, statements []string, opts *baremetal.CreatePolicyOptions) (*baremetal.Policy, error)

CreatePolicy provides a mock function with given fields: name, desc, compartmentID, statements, opts

func (*BareMetalClient) CreatePreauthenticatedRequest added in v1.0.14

func (_m *BareMetalClient) CreatePreauthenticatedRequest(namespace baremetal.Namespace, bucketName string, parDetails *baremetal.CreatePreauthenticatedRequestDetails) (*baremetal.PreauthenticatedRequest, error)

func (*BareMetalClient) CreateRouteTable

func (_m *BareMetalClient) CreateRouteTable(compartmentID string, vcnID string, routeRules []baremetal.RouteRule, opts *baremetal.CreateOptions) (*baremetal.RouteTable, error)

CreateRouteTable provides a mock function with given fields: compartmentID, vcnID, routeRules, opts

func (*BareMetalClient) CreateSecurityList

func (_m *BareMetalClient) CreateSecurityList(compartmentID string, vcnID string, egressRules []baremetal.EgressSecurityRule, ingressRules []baremetal.IngressSecurityRule, opts *baremetal.CreateOptions) (*baremetal.SecurityList, error)

CreateSecurityList provides a mock function with given fields: compartmentID, vcnID, egressRules, ingressRules, opts

func (*BareMetalClient) CreateSubnet

func (_m *BareMetalClient) CreateSubnet(availabilityDomain string, cidrBlock string, compartmentID string, vcnID string, opts *baremetal.CreateSubnetOptions) (*baremetal.Subnet, error)

CreateSubnet provides a mock function with given fields: availabilityDomain, cidrBlock, compartmentID, vcnID, opts

func (*BareMetalClient) CreateSwiftPassword added in v1.0.4

func (_m *BareMetalClient) CreateSwiftPassword(userID string, desc string, opts *baremetal.RetryTokenOptions) (*baremetal.SwiftPassword, error)

CreateSwiftPassword provides a mock function with given fields: userID, desc, opts

func (*BareMetalClient) CreateUser

func (_m *BareMetalClient) CreateUser(name string, desc string, opts *baremetal.RetryTokenOptions) (*baremetal.User, error)

CreateUser provides a mock function with given fields: name, desc, opts

func (*BareMetalClient) CreateVirtualNetwork

func (_m *BareMetalClient) CreateVirtualNetwork(cidrBlock string, compartmentID string, opts *baremetal.CreateVcnOptions) (*baremetal.VirtualNetwork, error)

CreateVirtualNetwork provides a mock function with given fields: cidrBlock, compartmentID, opts

func (*BareMetalClient) CreateVolume

func (_m *BareMetalClient) CreateVolume(availabilityDomain string, compartmentID string, opts *baremetal.CreateVolumeOptions) (*baremetal.Volume, error)

CreateVolume provides a mock function with given fields: availabilityDomain, compartmentID, opts

func (*BareMetalClient) CreateVolumeBackup

func (_m *BareMetalClient) CreateVolumeBackup(volumeID string, opts *baremetal.CreateOptions) (*baremetal.VolumeBackup, error)

CreateVolumeBackup provides a mock function with given fields: volumeID, opts

func (*BareMetalClient) DeleteAPIKey

func (_m *BareMetalClient) DeleteAPIKey(userID string, fingerprint string, opts *baremetal.IfMatchOptions) error

DeleteAPIKey provides a mock function with given fields: userID, fingerprint, opts

func (*BareMetalClient) DeleteBackend added in v1.0.8

func (_m *BareMetalClient) DeleteBackend(loadBalancerID string, backendSetName string, backendName string, opts *baremetal.ClientRequestOptions) (string, error)

DeleteBackend provides a mock function with given fields: loadBalancerID, backendSetName, backendName, opts

func (*BareMetalClient) DeleteBackendSet added in v1.0.8

func (_m *BareMetalClient) DeleteBackendSet(loadBalancerID string, backendSetName string, opts *baremetal.ClientRequestOptions) (string, error)

DeleteBackendSet provides a mock function with given fields: loadBalancerID, backendSetName, opts

func (*BareMetalClient) DeleteBucket

func (_m *BareMetalClient) DeleteBucket(name string, namespaceName baremetal.Namespace, opts *baremetal.IfMatchOptions) error

DeleteBucket provides a mock function with given fields: name, namespaceName, opts

func (*BareMetalClient) DeleteCertificate added in v1.0.8

func (_m *BareMetalClient) DeleteCertificate(loadBalancerID string, certificateName string, opts *baremetal.ClientRequestOptions) (string, error)

DeleteCertificate provides a mock function with given fields: loadBalancerID, certificateName, opts

func (*BareMetalClient) DeleteCpe

func (_m *BareMetalClient) DeleteCpe(id string, opts *baremetal.IfMatchOptions) error

DeleteCpe provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteDHCPOptions

func (_m *BareMetalClient) DeleteDHCPOptions(id string, opts *baremetal.IfMatchOptions) error

DeleteDHCPOptions provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteDrg

func (_m *BareMetalClient) DeleteDrg(id string, opts *baremetal.IfMatchOptions) error

DeleteDrg provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteDrgAttachment

func (_m *BareMetalClient) DeleteDrgAttachment(id string, opts *baremetal.IfMatchOptions) error

DeleteDrgAttachment provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteGroup

func (_m *BareMetalClient) DeleteGroup(id string, opts *baremetal.IfMatchOptions) error

DeleteGroup provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteIPSecConnection

func (_m *BareMetalClient) DeleteIPSecConnection(id string, opts *baremetal.IfMatchOptions) error

DeleteIPSecConnection provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteImage

func (_m *BareMetalClient) DeleteImage(id string, opts *baremetal.IfMatchOptions) error

DeleteImage provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteInternetGateway

func (_m *BareMetalClient) DeleteInternetGateway(id string, opts *baremetal.IfMatchOptions) error

DeleteInternetGateway provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteListener added in v1.0.8

func (_m *BareMetalClient) DeleteListener(loadBalancerID string, listenerName string, opts *baremetal.ClientRequestOptions) (string, error)

DeleteListener provides a mock function with given fields: loadBalancerID, listenerName, opts

func (*BareMetalClient) DeleteLoadBalancer added in v1.0.8

func (_m *BareMetalClient) DeleteLoadBalancer(id string, opts *baremetal.ClientRequestOptions) (string, error)

DeleteLoadBalancer provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteObject

func (_m *BareMetalClient) DeleteObject(namespace baremetal.Namespace, bucketName string, objectName string, opts *baremetal.DeleteObjectOptions) (*baremetal.DeleteObject, error)

DeleteObject provides a mock function with given fields: namespace, bucketName, objectName, opts

func (*BareMetalClient) DeletePolicy

func (_m *BareMetalClient) DeletePolicy(id string, opts *baremetal.IfMatchOptions) error

DeletePolicy provides a mock function with given fields: id, opts

func (*BareMetalClient) DeletePreauthenticatedRequest added in v1.0.14

func (_m *BareMetalClient) DeletePreauthenticatedRequest(namespace baremetal.Namespace, bucketName string, parId string, options *baremetal.ClientRequestOptions) error

func (*BareMetalClient) DeleteRouteTable

func (_m *BareMetalClient) DeleteRouteTable(id string, opts *baremetal.IfMatchOptions) error

DeleteRouteTable provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteSecurityList

func (_m *BareMetalClient) DeleteSecurityList(id string, opts *baremetal.IfMatchOptions) error

DeleteSecurityList provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteSubnet

func (_m *BareMetalClient) DeleteSubnet(id string, opts *baremetal.IfMatchOptions) error

DeleteSubnet provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteSwiftPassword added in v1.0.4

func (_m *BareMetalClient) DeleteSwiftPassword(id string, userID string, opts *baremetal.IfMatchOptions) error

DeleteSwiftPassword provides a mock function with given fields: id, userID, opts

func (*BareMetalClient) DeleteUser

func (_m *BareMetalClient) DeleteUser(id string, opts *baremetal.IfMatchOptions) error

DeleteUser provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteUserGroupMembership

func (_m *BareMetalClient) DeleteUserGroupMembership(id string, opts *baremetal.IfMatchOptions) error

DeleteUserGroupMembership provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteVirtualNetwork

func (_m *BareMetalClient) DeleteVirtualNetwork(id string, opts *baremetal.IfMatchOptions) error

DeleteVirtualNetwork provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteVolume

func (_m *BareMetalClient) DeleteVolume(id string, opts *baremetal.IfMatchOptions) error

DeleteVolume provides a mock function with given fields: id, opts

func (*BareMetalClient) DeleteVolumeBackup

func (_m *BareMetalClient) DeleteVolumeBackup(id string, opts *baremetal.IfMatchOptions) error

DeleteVolumeBackup provides a mock function with given fields: id, opts

func (*BareMetalClient) DetachVolume

func (_m *BareMetalClient) DetachVolume(id string, opts *baremetal.IfMatchOptions) error

DetachVolume provides a mock function with given fields: id, opts

func (*BareMetalClient) GetBackend added in v1.0.8

func (_m *BareMetalClient) GetBackend(loadBalancerID string, backendSetName string, backendName string, opts *baremetal.ClientRequestOptions) (*baremetal.Backend, error)

GetBackend provides a mock function with given fields: loadBalancerID, backendSetName, backendName, opts

func (*BareMetalClient) GetBackendSet added in v1.0.8

func (_m *BareMetalClient) GetBackendSet(loadBalancerID string, backendSetName string, opts *baremetal.ClientRequestOptions) (*baremetal.BackendSet, error)

GetBackendSet provides a mock function with given fields: loadBalancerID, backendSetName, opts

func (*BareMetalClient) GetBucket

func (_m *BareMetalClient) GetBucket(bucketName string, namespaceName baremetal.Namespace) (*baremetal.Bucket, error)

GetBucket provides a mock function with given fields: bucketName, namespaceName

func (*BareMetalClient) GetCompartment

func (_m *BareMetalClient) GetCompartment(id string) (*baremetal.Compartment, error)

GetCompartment provides a mock function with given fields: id

func (*BareMetalClient) GetConsoleHistory

func (_m *BareMetalClient) GetConsoleHistory(instanceID string) (*baremetal.ConsoleHistoryMetadata, error)

GetConsoleHistory provides a mock function with given fields: instanceID

func (*BareMetalClient) GetCpe

func (_m *BareMetalClient) GetCpe(id string) (*baremetal.Cpe, error)

GetCpe provides a mock function with given fields: id

func (*BareMetalClient) GetDBHome

func (_m *BareMetalClient) GetDBHome(id string) (*baremetal.DBHome, error)

GetDBHome provides a mock function with given fields: id

func (*BareMetalClient) GetDBNode

func (_m *BareMetalClient) GetDBNode(id string) (*baremetal.DBNode, error)

GetDBNode provides a mock function with given fields: id

func (*BareMetalClient) GetDBSystem

func (_m *BareMetalClient) GetDBSystem(id string) (*baremetal.DBSystem, error)

GetDBSystem provides a mock function with given fields: id

func (*BareMetalClient) GetDHCPOptions

func (_m *BareMetalClient) GetDHCPOptions(id string) (*baremetal.DHCPOptions, error)

GetDHCPOptions provides a mock function with given fields: id

func (*BareMetalClient) GetDatabase

func (_m *BareMetalClient) GetDatabase(id string) (*baremetal.Database, error)

GetDatabase provides a mock function with given fields: id

func (*BareMetalClient) GetDrg

func (_m *BareMetalClient) GetDrg(id string) (*baremetal.Drg, error)

GetDrg provides a mock function with given fields: id

func (*BareMetalClient) GetDrgAttachment

func (_m *BareMetalClient) GetDrgAttachment(id string) (*baremetal.DrgAttachment, error)

GetDrgAttachment provides a mock function with given fields: id

func (*BareMetalClient) GetGroup

func (_m *BareMetalClient) GetGroup(id string) (*baremetal.Group, error)

GetGroup provides a mock function with given fields: id

func (*BareMetalClient) GetHealthChecker added in v1.0.8

func (_m *BareMetalClient) GetHealthChecker(loadBalancerID string, backendSetName string, opts *baremetal.ClientRequestOptions) (*baremetal.HealthChecker, error)

GetHealthChecker provides a mock function with given fields: loadBalancerID, backendSetName, opts

func (*BareMetalClient) GetIPSecConnection

func (_m *BareMetalClient) GetIPSecConnection(id string) (*baremetal.IPSecConnection, error)

GetIPSecConnection provides a mock function with given fields: id

func (*BareMetalClient) GetIPSecConnectionDeviceConfig

func (_m *BareMetalClient) GetIPSecConnectionDeviceConfig(id string) (*baremetal.IPSecConnectionDeviceConfig, error)

GetIPSecConnectionDeviceConfig provides a mock function with given fields: id

func (*BareMetalClient) GetIPSecConnectionDeviceStatus

func (_m *BareMetalClient) GetIPSecConnectionDeviceStatus(id string) (*baremetal.IPSecConnectionDeviceStatus, error)

GetIPSecConnectionDeviceStatus provides a mock function with given fields: id

func (*BareMetalClient) GetImage

func (_m *BareMetalClient) GetImage(id string) (*baremetal.Image, error)

GetImage provides a mock function with given fields: id

func (*BareMetalClient) GetInstance

func (_m *BareMetalClient) GetInstance(id string) (*baremetal.Instance, error)

GetInstance provides a mock function with given fields: id

func (*BareMetalClient) GetInternetGateway

func (_m *BareMetalClient) GetInternetGateway(id string) (*baremetal.InternetGateway, error)

GetInternetGateway provides a mock function with given fields: id

func (*BareMetalClient) GetLoadBalancer added in v1.0.8

GetLoadBalancer provides a mock function with given fields: id, opts

func (*BareMetalClient) GetNamespace

func (_m *BareMetalClient) GetNamespace() (*baremetal.Namespace, error)

GetNamespace provides a mock function with given fields:

func (*BareMetalClient) GetObject

func (_m *BareMetalClient) GetObject(namespace baremetal.Namespace, bucketName string, objectName string, opts *baremetal.GetObjectOptions) (*baremetal.Object, error)

GetObject provides a mock function with given fields: namespace, bucketName, objectName, opts

func (*BareMetalClient) GetPolicy

func (_m *BareMetalClient) GetPolicy(id string) (*baremetal.Policy, error)

GetPolicy provides a mock function with given fields: id

func (*BareMetalClient) GetPreauthenticatedRequest added in v1.0.14

func (_m *BareMetalClient) GetPreauthenticatedRequest(namespace baremetal.Namespace, bucketName string, parId string, options *baremetal.ClientRequestOptions) (*baremetal.PreauthenticatedRequestSummary, error)

func (*BareMetalClient) GetRouteTable

func (_m *BareMetalClient) GetRouteTable(id string) (*baremetal.RouteTable, error)

GetRouteTable provides a mock function with given fields: id

func (*BareMetalClient) GetSecurityList

func (_m *BareMetalClient) GetSecurityList(id string) (*baremetal.SecurityList, error)

GetSecurityList provides a mock function with given fields: id

func (*BareMetalClient) GetSubnet

func (_m *BareMetalClient) GetSubnet(id string) (*baremetal.Subnet, error)

GetSubnet provides a mock function with given fields: id

func (*BareMetalClient) GetUser

func (_m *BareMetalClient) GetUser(id string) (*baremetal.User, error)

GetUser provides a mock function with given fields: id

func (*BareMetalClient) GetUserGroupMembership

func (_m *BareMetalClient) GetUserGroupMembership(id string) (*baremetal.UserGroupMembership, error)

GetUserGroupMembership provides a mock function with given fields: id

func (*BareMetalClient) GetVirtualNetwork

func (_m *BareMetalClient) GetVirtualNetwork(id string) (*baremetal.VirtualNetwork, error)

GetVirtualNetwork provides a mock function with given fields: id

func (*BareMetalClient) GetVnic

func (_m *BareMetalClient) GetVnic(id string) (*baremetal.Vnic, error)

GetVnic provides a mock function with given fields: id

func (*BareMetalClient) GetVolume

func (_m *BareMetalClient) GetVolume(id string) (*baremetal.Volume, error)

GetVolume provides a mock function with given fields: id

func (*BareMetalClient) GetVolumeAttachment

func (_m *BareMetalClient) GetVolumeAttachment(id string) (*baremetal.VolumeAttachment, error)

GetVolumeAttachment provides a mock function with given fields: id

func (*BareMetalClient) GetVolumeBackup

func (_m *BareMetalClient) GetVolumeBackup(id string) (*baremetal.VolumeBackup, error)

GetVolumeBackup provides a mock function with given fields: id

func (*BareMetalClient) GetWindowsInstanceInitialCredentials added in v1.0.8

func (_m *BareMetalClient) GetWindowsInstanceInitialCredentials(instanceId string) (*baremetal.InstanceCredentials, error)

GetWindowsInstanceInitialCredentials provides a mock function with given fields: instanceId

func (*BareMetalClient) GetWorkRequest added in v1.0.8

func (_m *BareMetalClient) GetWorkRequest(workRequestID string, opts *baremetal.ClientRequestOptions) (*baremetal.WorkRequest, error)

GetWorkRequest provides a mock function with given fields: workRequestID, opts

func (*BareMetalClient) HeadObject

func (_m *BareMetalClient) HeadObject(namespace baremetal.Namespace, bucketName string, objectName string, opts *baremetal.HeadObjectOptions) (*baremetal.HeadObject, error)

HeadObject provides a mock function with given fields: namespace, bucketName, objectName, opts

func (*BareMetalClient) InstanceAction

InstanceAction provides a mock function with given fields: id, action, opts

func (*BareMetalClient) LaunchDBSystem

func (_m *BareMetalClient) LaunchDBSystem(availabilityDomain string, compartmentID string, cpuCoreCount uint64, databaseEdition baremetal.DatabaseEdition, dbHome baremetal.CreateDBHomeDetails, hostname string, shape string, sshPublicKeys []string, subnetID string, opts *baremetal.LaunchDBSystemOptions) (*baremetal.DBSystem, error)

LaunchDBSystem provides a mock function with given fields: availabilityDomain, compartmentID, shape, subnetID, sshPublicKeys, cpuCoreCount, opts

func (*BareMetalClient) LaunchInstance

func (_m *BareMetalClient) LaunchInstance(availabilityDomain string, compartmentID string, image string, shape string, subnetID string, opts *baremetal.LaunchInstanceOptions) (*baremetal.Instance, error)

LaunchInstance provides a mock function with given fields: availabilityDomain, compartmentID, image, shape, subnetID, opts

func (*BareMetalClient) ListAPIKeys

func (_m *BareMetalClient) ListAPIKeys(userID string) (*baremetal.ListAPIKeyResponses, error)

ListAPIKeys provides a mock function with given fields: userID

func (*BareMetalClient) ListAvailabilityDomains

func (_m *BareMetalClient) ListAvailabilityDomains(compartmentID string) (*baremetal.ListAvailabilityDomains, error)

ListAvailabilityDomains provides a mock function with given fields: compartmentID

func (*BareMetalClient) ListBackendSets added in v1.0.8

func (_m *BareMetalClient) ListBackendSets(loadBalancerID string, opts *baremetal.ClientRequestOptions) (*baremetal.ListBackendSets, error)

ListBackendSets provides a mock function with given fields: loadBalancerID, opts

func (*BareMetalClient) ListBackends added in v1.0.8

func (_m *BareMetalClient) ListBackends(loadBalancerID string, backendSetName string) (*baremetal.ListBackends, error)

ListBackends provides a mock function with given fields: loadBalancerID, backendSetName

func (*BareMetalClient) ListBuckets

func (_m *BareMetalClient) ListBuckets(compartmentID string, namespaceName baremetal.Namespace, opts *baremetal.ListBucketsOptions) (*baremetal.ListBuckets, error)

ListBuckets provides a mock function with given fields: compartmentID, namespaceName, opts

func (*BareMetalClient) ListCertificates added in v1.0.8

func (_m *BareMetalClient) ListCertificates(loadBalancerID string, opts *baremetal.ClientRequestOptions) (*baremetal.ListCertificates, error)

ListCertificates provides a mock function with given fields: loadBalancerID, opts

func (*BareMetalClient) ListCompartments

func (_m *BareMetalClient) ListCompartments(opts *baremetal.ListOptions) (*baremetal.ListCompartments, error)

ListCompartments provides a mock function with given fields: opts

func (*BareMetalClient) ListConsoleHistories

func (_m *BareMetalClient) ListConsoleHistories(compartmentID string, opts *baremetal.ListConsoleHistoriesOptions) (*baremetal.ListConsoleHistories, error)

ListConsoleHistories provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListCpes

func (_m *BareMetalClient) ListCpes(compartmentID string, opts *baremetal.ListOptions) (*baremetal.ListCpes, error)

ListCpes provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListDBHomes

func (_m *BareMetalClient) ListDBHomes(compartmentID string, dbSystemID string, opts *baremetal.ListOptions) (*baremetal.ListDBHomes, error)

ListDBHomes provides a mock function with given fields: compartmentID, dbSystemID, opts

func (*BareMetalClient) ListDBNodes

func (_m *BareMetalClient) ListDBNodes(compartmentID string, dbSystemID string, opts *baremetal.ListOptions) (*baremetal.ListDBNodes, error)

ListDBNodes provides a mock function with given fields: compartmentID, dbSystemID, opts

func (*BareMetalClient) ListDBSystemShapes

func (_m *BareMetalClient) ListDBSystemShapes(availabilityDomain string, compartmentID string, opts *baremetal.ListOptions) (*baremetal.ListDBSystemShapes, error)

ListDBSystemShapes provides a mock function with given fields: availabilityDomain, compartmentID, opts

func (*BareMetalClient) ListDBSystems

func (_m *BareMetalClient) ListDBSystems(compartmentID string, opts *baremetal.ListOptions) (*baremetal.ListDBSystems, error)

ListDBSystems provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListDBVersions

func (_m *BareMetalClient) ListDBVersions(compartmentID string, opts *baremetal.ListOptions) (*baremetal.ListDBVersions, error)

ListDBVersions provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListDHCPOptions

func (_m *BareMetalClient) ListDHCPOptions(compartmentID string, vcnID string, opts *baremetal.ListOptions) (*baremetal.ListDHCPOptions, error)

ListDHCPOptions provides a mock function with given fields: compartmentID, vcnID, opts

func (*BareMetalClient) ListDatabases

func (_m *BareMetalClient) ListDatabases(compartmentID string, dbHomeID string, limit uint64, opts *baremetal.PageListOptions) (*baremetal.ListDatabases, error)

ListDatabases provides a mock function with given fields: compartmentID, dbHomeID, limit, opts

func (*BareMetalClient) ListDrgAttachments

func (_m *BareMetalClient) ListDrgAttachments(compartmentID string, opts *baremetal.ListDrgAttachmentsOptions) (*baremetal.ListDrgAttachments, error)

ListDrgAttachments provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListDrgs

func (_m *BareMetalClient) ListDrgs(compartmentID string, opts *baremetal.ListOptions) (*baremetal.ListDrgs, error)

ListDrgs provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListGroups

func (_m *BareMetalClient) ListGroups(opts *baremetal.ListOptions) (*baremetal.ListGroups, error)

ListGroups provides a mock function with given fields: opts

func (*BareMetalClient) ListIPSecConnections

func (_m *BareMetalClient) ListIPSecConnections(compartmentID string, opts *baremetal.ListIPSecConnsOptions) (*baremetal.ListIPSecConnections, error)

ListIPSecConnections provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListImages

func (_m *BareMetalClient) ListImages(compartmentID string, opts *baremetal.ListImagesOptions) (*baremetal.ListImages, error)

ListImages provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListInstances

func (_m *BareMetalClient) ListInstances(compartmentID string, opts *baremetal.ListInstancesOptions) (*baremetal.ListInstances, error)

ListInstances provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListInternetGateways

func (_m *BareMetalClient) ListInternetGateways(compartmentID string, vcnID string, opts *baremetal.ListOptions) (*baremetal.ListInternetGateways, error)

ListInternetGateways provides a mock function with given fields: compartmentID, vcnID, opts

func (*BareMetalClient) ListLoadBalancerPolicies added in v1.0.8

func (_m *BareMetalClient) ListLoadBalancerPolicies(compartmentID string, opts *baremetal.ListLoadBalancerPolicyOptions) (*baremetal.ListLoadBalancerPolicies, error)

ListLoadBalancerPolicies provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListLoadBalancerProtocols added in v1.0.8

func (_m *BareMetalClient) ListLoadBalancerProtocols(compartmentID string, opts *baremetal.ListLoadBalancerPolicyOptions) (*baremetal.ListLoadBalancerProtocols, error)

ListLoadBalancerProtocols provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListLoadBalancerShapes added in v1.0.8

func (_m *BareMetalClient) ListLoadBalancerShapes(compartmentID string, opts *baremetal.ListLoadBalancerPolicyOptions) (*baremetal.ListLoadBalancerShapes, error)

ListLoadBalancerShapes provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListLoadBalancers added in v1.0.8

func (_m *BareMetalClient) ListLoadBalancers(compartmentID string, opts *baremetal.ListOptions) (*baremetal.ListLoadBalancers, error)

ListLoadBalancers provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListObjects

func (_m *BareMetalClient) ListObjects(namespace baremetal.Namespace, bucket string, opts *baremetal.ListObjectsOptions) (*baremetal.ListObjects, error)

ListObjects provides a mock function with given fields: namespace, bucket, opts

func (*BareMetalClient) ListPolicies added in v1.0.4

func (_m *BareMetalClient) ListPolicies(compartmentID string, opts *baremetal.ListOptions) (*baremetal.ListPolicies, error)

ListPolicies provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListPreauthenticatedRequests added in v1.0.14

func (_m *BareMetalClient) ListPreauthenticatedRequests(namespace baremetal.Namespace, bucketName string, options *baremetal.ListPreauthenticatedRequestOptions) (parList *baremetal.ListPreauthenticatedRequests, e error)

func (*BareMetalClient) ListRouteTables

func (_m *BareMetalClient) ListRouteTables(compartmentID string, vcnID string, opts *baremetal.ListOptions) (*baremetal.ListRouteTables, error)

ListRouteTables provides a mock function with given fields: compartmentID, vcnID, opts

func (*BareMetalClient) ListSecurityLists

func (_m *BareMetalClient) ListSecurityLists(compartmentID string, vcnID string, opts *baremetal.ListOptions) (*baremetal.ListSecurityLists, error)

ListSecurityLists provides a mock function with given fields: compartmentID, vcnID, opts

func (*BareMetalClient) ListShapes

func (_m *BareMetalClient) ListShapes(compartmentID string, opts *baremetal.ListShapesOptions) (*baremetal.ListShapes, error)

ListShapes provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListSubnets

func (_m *BareMetalClient) ListSubnets(compartmentID string, vcnID string, opts *baremetal.ListOptions) (*baremetal.ListSubnets, error)

ListSubnets provides a mock function with given fields: compartmentID, vcnID, opts

func (*BareMetalClient) ListSwiftPasswords added in v1.0.4

func (_m *BareMetalClient) ListSwiftPasswords(userID string) (*baremetal.ListSwiftPasswords, error)

ListSwiftPasswords provides a mock function with given fields: userID

func (*BareMetalClient) ListUserGroupMemberships

ListUserGroupMemberships provides a mock function with given fields: opts

func (*BareMetalClient) ListUsers

func (_m *BareMetalClient) ListUsers(opts *baremetal.ListOptions) (*baremetal.ListUsers, error)

ListUsers provides a mock function with given fields: opts

func (*BareMetalClient) ListVirtualNetworks

func (_m *BareMetalClient) ListVirtualNetworks(compartmentID string, opts *baremetal.ListOptions) (*baremetal.ListVirtualNetworks, error)

ListVirtualNetworks provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListVnicAttachments

func (_m *BareMetalClient) ListVnicAttachments(compartmentID string, opts *baremetal.ListVnicAttachmentsOptions) (*baremetal.ListVnicAttachments, error)

ListVnicAttachments provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListVolumeAttachments

func (_m *BareMetalClient) ListVolumeAttachments(compartmentID string, opts *baremetal.ListVolumeAttachmentsOptions) (*baremetal.ListVolumeAttachments, error)

ListVolumeAttachments provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListVolumeBackups

func (_m *BareMetalClient) ListVolumeBackups(compartmentID string, opts *baremetal.ListBackupsOptions) (*baremetal.ListVolumeBackups, error)

ListVolumeBackups provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListVolumes

func (_m *BareMetalClient) ListVolumes(compartmentID string, opts *baremetal.ListVolumesOptions) (*baremetal.ListVolumes, error)

ListVolumes provides a mock function with given fields: compartmentID, opts

func (*BareMetalClient) ListWorkRequests added in v1.0.8

func (_m *BareMetalClient) ListWorkRequests(loadBalancerID string, opts *baremetal.ListLoadBalancerPolicyOptions) (*baremetal.ListWorkRequests, error)

ListWorkRequests provides a mock function with given fields: loadBalancerID, opts

func (*BareMetalClient) PutObject

func (_m *BareMetalClient) PutObject(namespace baremetal.Namespace, bucketName string, objectName string, content []byte, opts *baremetal.PutObjectOptions) (*baremetal.Object, error)

PutObject provides a mock function with given fields: namespace, bucketName, objectName, content, opts

func (*BareMetalClient) ShowConsoleHistoryData

func (_m *BareMetalClient) ShowConsoleHistoryData(instanceConsoleHistoryID string, opts *baremetal.ConsoleHistoryDataOptions) (*baremetal.ConsoleHistoryData, error)

ShowConsoleHistoryData provides a mock function with given fields: instanceConsoleHistoryID, opts

func (*BareMetalClient) TerminateDBSystem

func (_m *BareMetalClient) TerminateDBSystem(id string, opts *baremetal.IfMatchOptions) error

TerminateDBSystem provides a mock function with given fields: id, opts

func (*BareMetalClient) TerminateInstance

func (_m *BareMetalClient) TerminateInstance(id string, opts *baremetal.IfMatchOptions) error

TerminateInstance provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateBackend added in v1.0.8

func (_m *BareMetalClient) UpdateBackend(loadBalancerID string, backendSetName string, backendName string, opts *baremetal.UpdateLoadBalancerBackendOptions) (string, error)

UpdateBackend provides a mock function with given fields: loadBalancerID, backendSetName, backendName, opts

func (*BareMetalClient) UpdateBackendSet added in v1.0.8

func (_m *BareMetalClient) UpdateBackendSet(loadBalancerID string, backendSetName string, opts *baremetal.UpdateLoadBalancerBackendSetOptions) (string, error)

UpdateBackendSet provides a mock function with given fields: loadBalancerID, backendSetName, opts

func (*BareMetalClient) UpdateBucket

func (_m *BareMetalClient) UpdateBucket(compartmentID string, name string, namespaceName baremetal.Namespace, opts *baremetal.UpdateBucketOptions) (*baremetal.Bucket, error)

UpdateBucket provides a mock function with given fields: compartmentID, name, namespaceName, opts

func (*BareMetalClient) UpdateCompartment

func (_m *BareMetalClient) UpdateCompartment(id string, opts *baremetal.UpdateIdentityOptions) (*baremetal.Compartment, error)

UpdateCompartment provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateCpe added in v1.0.4

UpdateCpe provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateDHCPOptions

func (_m *BareMetalClient) UpdateDHCPOptions(id string, opts *baremetal.UpdateDHCPDNSOptions) (*baremetal.DHCPOptions, error)

UpdateDHCPOptions provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateDrg added in v1.0.4

UpdateDrg provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateDrgAttachment added in v1.0.4

UpdateDrgAttachment provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateGroup

UpdateGroup provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateHealthChecker added in v1.0.8

func (_m *BareMetalClient) UpdateHealthChecker(loadBalancerID string, backendSetName string, healthCheckerOptions baremetal.HealthChecker, opts *baremetal.LoadBalancerOptions) (string, error)

UpdateHealthChecker provides a mock function with given fields: loadBalancerID, backendSetName, healthCheckerOptions, opts

func (*BareMetalClient) UpdateIPSecConnection added in v1.0.4

func (_m *BareMetalClient) UpdateIPSecConnection(id string, opts *baremetal.IfMatchDisplayNameOptions) (*baremetal.IPSecConnection, error)

UpdateIPSecConnection provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateImage

func (_m *BareMetalClient) UpdateImage(id string, opts *baremetal.UpdateOptions) (*baremetal.Image, error)

UpdateImage provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateInstance

func (_m *BareMetalClient) UpdateInstance(id string, opts *baremetal.UpdateOptions) (*baremetal.Instance, error)

UpdateInstance provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateInternetGateway

func (_m *BareMetalClient) UpdateInternetGateway(id string, opts *baremetal.UpdateGatewayOptions) (*baremetal.InternetGateway, error)

UpdateInternetGateway provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateListener added in v1.0.8

func (_m *BareMetalClient) UpdateListener(loadBalancerID string, listenerName string, opts *baremetal.UpdateLoadBalancerListenerOptions) (string, error)

UpdateListener provides a mock function with given fields: loadBalancerID, listenerName, opts

func (*BareMetalClient) UpdateLoadBalancer added in v1.0.8

func (_m *BareMetalClient) UpdateLoadBalancer(id string, opts *baremetal.UpdateOptions) (string, error)

UpdateLoadBalancer provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdatePolicy

func (_m *BareMetalClient) UpdatePolicy(id string, opts *baremetal.UpdatePolicyOptions) (*baremetal.Policy, error)

UpdatePolicy provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateRouteTable

UpdateRouteTable provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateSecurityList

UpdateSecurityList provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateSubnet added in v1.0.4

UpdateSubnet provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateSwiftPassword added in v1.0.4

func (_m *BareMetalClient) UpdateSwiftPassword(id string, userID string, opts *baremetal.UpdateIdentityOptions) (*baremetal.SwiftPassword, error)

UpdateSwiftPassword provides a mock function with given fields: id, userID, opts

func (*BareMetalClient) UpdateUser

UpdateUser provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateVirtualNetwork added in v1.0.4

UpdateVirtualNetwork provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateVolume

func (_m *BareMetalClient) UpdateVolume(id string, opts *baremetal.UpdateOptions) (*baremetal.Volume, error)

UpdateVolume provides a mock function with given fields: id, opts

func (*BareMetalClient) UpdateVolumeBackup

UpdateVolumeBackup provides a mock function with given fields: id, opts

func (*BareMetalClient) UploadAPIKey

func (_m *BareMetalClient) UploadAPIKey(userID string, key string, opts *baremetal.RetryTokenOptions) (*baremetal.APIKey, error)

UploadAPIKey provides a mock function with given fields: userID, key, opts

Jump to

Keyboard shortcuts

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