Documentation ¶
Index ¶
- Constants
- type Compartment
- type OracleClientConfig
- type Placement
- type SBootDisk
- func (self *SBootDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SBootDisk) Delete(ctx context.Context) error
- func (disk *SBootDisk) GetAccessPath() string
- func (self *SBootDisk) GetBillingType() string
- func (self *SBootDisk) GetCacheMode() string
- func (self *SBootDisk) GetCreatedAt() time.Time
- func (self *SBootDisk) GetDiskFormat() string
- func (self *SBootDisk) GetDiskSizeMB() int
- func (self *SBootDisk) GetDiskType() string
- func (self *SBootDisk) GetDriver() string
- func (self *SBootDisk) GetExpiredAt() time.Time
- func (self *SBootDisk) GetFsFormat() string
- func (self *SBootDisk) GetGlobalId() string
- func (self *SBootDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SBootDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SBootDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
- func (self *SBootDisk) GetId() string
- func (self *SBootDisk) GetIsAutoDelete() bool
- func (self *SBootDisk) GetIsNonPersistent() bool
- func (self *SBootDisk) GetMountpoint() string
- func (self *SBootDisk) GetName() string
- func (self *SBootDisk) GetProjectId() string
- func (self *SBootDisk) GetStatus() string
- func (self *SBootDisk) GetTemplateId() string
- func (self *SBootDisk) Rebuild(ctx context.Context) error
- func (self *SBootDisk) Refresh() error
- func (self *SBootDisk) Reset(ctx context.Context, snapshotId string) (string, error)
- func (self *SBootDisk) Resize(ctx context.Context, sizeMb int64) error
- type SBootVolumeAttachment
- type SDisk
- func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) Delete(ctx context.Context) error
- func (disk *SDisk) GetAccessPath() string
- func (self *SDisk) GetBillingType() string
- func (self *SDisk) GetCacheMode() string
- func (self *SDisk) GetCreatedAt() time.Time
- func (self *SDisk) GetDiskFormat() string
- func (self *SDisk) GetDiskSizeMB() int
- func (self *SDisk) GetDiskType() string
- func (self *SDisk) GetDriver() string
- func (self *SDisk) GetExpiredAt() time.Time
- func (self *SDisk) GetFsFormat() string
- func (self *SDisk) GetGlobalId() string
- func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
- func (self *SDisk) GetId() string
- func (self *SDisk) GetIsAutoDelete() bool
- func (self *SDisk) GetIsNonPersistent() bool
- func (self *SDisk) GetMountpoint() string
- func (self *SDisk) GetName() string
- func (self *SDisk) GetProjectId() string
- func (self *SDisk) GetStatus() string
- func (self *SDisk) GetTemplateId() string
- func (self *SDisk) Rebuild(ctx context.Context) error
- func (self *SDisk) Refresh() error
- func (self *SDisk) Reset(ctx context.Context, snapshotId string) (string, error)
- func (self *SDisk) Resize(ctx context.Context, sizeMb int64) error
- type SEipAddress
- func (self *SEipAddress) Associate(conf *cloudprovider.AssociateConfig) error
- func (self *SEipAddress) ChangeBandwidth(bw int) error
- func (self *SEipAddress) Delete() error
- func (self *SEipAddress) Dissociate() error
- func (self *SEipAddress) GetAssociationExternalId() string
- func (self *SEipAddress) GetAssociationType() string
- func (self *SEipAddress) GetBandwidth() int
- func (self *SEipAddress) GetBillingType() string
- func (self *SEipAddress) GetCreatedAt() time.Time
- func (self *SEipAddress) GetExpiredAt() time.Time
- func (self *SEipAddress) GetGlobalId() string
- func (self *SEipAddress) GetINetworkId() string
- func (self *SEipAddress) GetId() string
- func (self *SEipAddress) GetInternetChargeType() string
- func (self *SEipAddress) GetIpAddr() string
- func (self *SEipAddress) GetMode() string
- func (self *SEipAddress) GetName() string
- func (self *SEipAddress) GetProjectId() string
- func (self *SEipAddress) GetStatus() string
- func (self *SEipAddress) IsEmulated() bool
- func (self *SEipAddress) Refresh() error
- type SHost
- func (self *SHost) CreateVM(opts *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetAccessIp() string
- func (self *SHost) GetAccessMac() string
- func (self *SHost) GetCpuCount() int
- func (self *SHost) GetCpuDesc() string
- func (self *SHost) GetCpuMhz() int
- func (self *SHost) GetEnabled() bool
- func (self *SHost) GetGlobalId() string
- func (self *SHost) GetHostStatus() string
- func (self *SHost) GetHostType() string
- func (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
- func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIVMById(id string) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SHost) GetId() string
- func (host *SHost) GetIsMaintenance() bool
- func (self *SHost) GetMemSizeMB() int
- func (self *SHost) GetName() string
- func (self *SHost) GetNodeCount() int8
- func (self *SHost) GetSN() string
- func (self *SHost) GetStatus() string
- func (self *SHost) GetStorageSizeMB() int64
- func (self *SHost) GetStorageType() string
- func (self *SHost) GetSysInfo() jsonutils.JSONObject
- func (host *SHost) GetVersion() string
- func (self *SHost) IsEmulated() bool
- type SImage
- func (self *SImage) Delete(ctx context.Context) error
- func (img *SImage) GetBios() cloudprovider.TBiosType
- func (self *SImage) GetCreatedAt() time.Time
- func (img *SImage) GetFullOsName() string
- func (self *SImage) GetGlobalId() string
- func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SImage) GetId() string
- func (self *SImage) GetImageFormat() string
- func (self *SImage) GetImageStatus() string
- func (self *SImage) GetImageType() cloudprovider.TImageType
- func (self *SImage) GetMinOsDiskSizeGb() int
- func (self *SImage) GetMinRamSizeMb() int
- func (self *SImage) GetName() string
- func (self *SImage) GetOsArch() string
- func (self *SImage) GetOsDist() string
- func (img *SImage) GetOsLang() string
- func (self *SImage) GetOsType() cloudprovider.TOsType
- func (self *SImage) GetOsVersion() string
- func (self *SImage) GetSizeByte() int64
- func (self *SImage) GetStatus() string
- func (self *SImage) Refresh() error
- type SInstance
- func (self *SInstance) AttachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
- func (self *SInstance) DeleteVM(ctx context.Context) error
- func (self *SInstance) DeployVM(ctx context.Context, opts *cloudprovider.SInstanceDeployOptions) error
- func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) GetBillingType() string
- func (ins *SInstance) GetBios() cloudprovider.TBiosType
- func (self *SInstance) GetBootOrder() string
- func (self *SInstance) GetCreatedAt() time.Time
- func (self *SInstance) GetError() error
- func (self *SInstance) GetExpiredAt() time.Time
- func (ins *SInstance) GetFullOsName() string
- func (self *SInstance) GetGlobalId() string
- func (self *SInstance) GetHostname() string
- func (self *SInstance) GetHypervisor() string
- func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SInstance) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (self *SInstance) GetIHost() cloudprovider.ICloudHost
- func (self *SInstance) GetINics() ([]cloudprovider.ICloudNic, error)
- func (self *SInstance) GetId() string
- func (self *SInstance) GetInstanceType() string
- func (self *SInstance) GetMachine() string
- func (self *SInstance) GetName() string
- func (ins *SInstance) GetOsArch() string
- func (ins *SInstance) GetOsDist() string
- func (ins *SInstance) GetOsLang() string
- func (ins *SInstance) GetOsType() cloudprovider.TOsType
- func (ins *SInstance) GetOsVersion() string
- func (self *SInstance) GetProjectId() string
- func (self *SInstance) GetSecurityGroupIds() ([]string, error)
- func (self *SInstance) GetStatus() string
- func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
- func (self *SInstance) GetVcpuCount() int
- func (self *SInstance) GetVdi() string
- func (self *SInstance) GetVga() string
- func (self *SInstance) GetVmemSizeMB() int
- func (self *SInstance) RebuildRoot(ctx context.Context, desc *cloudprovider.SManagedVMRebuildRootConfig) (string, error)
- func (self *SInstance) Refresh() error
- func (self *SInstance) Renew(bc billing.SBillingCycle) error
- func (self *SInstance) SaveImage(opts *cloudprovider.SaveImageOptions) (cloudprovider.ICloudImage, error)
- func (self *SInstance) SetSecurityGroups(secgroupIds []string) error
- func (self *SInstance) StartVM(ctx context.Context) error
- func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
- func (self *SInstance) UpdateUserData(userData string) error
- func (self *SInstance) UpdateVM(ctx context.Context, input cloudprovider.SInstanceUpdateOptions) error
- type SInstanceNic
- type SNetwork
- func (self *SNetwork) Delete() error
- func (self *SNetwork) GetAllocTimeoutSeconds() int
- func (self *SNetwork) GetGateway() string
- func (self *SNetwork) GetGlobalId() string
- func (self *SNetwork) GetIWire() cloudprovider.ICloudWire
- func (self *SNetwork) GetId() string
- func (self *SNetwork) GetIpEnd() string
- func (self *SNetwork) GetIpMask() int8
- func (self *SNetwork) GetIpStart() string
- func (self *SNetwork) GetIsPublic() bool
- func (self *SNetwork) GetName() string
- func (self *SNetwork) GetProjectId() string
- func (self *SNetwork) GetPublicScope() rbacscope.TRbacScope
- func (self *SNetwork) GetServerType() string
- func (self *SNetwork) GetStatus() string
- func (self *SNetwork) Refresh() error
- type SOracleClient
- func (self *SOracleClient) Do(req *http.Request) (*http.Response, error)
- func (self *SOracleClient) GetAccountId() string
- func (self *SOracleClient) GetCapabilities() []string
- func (self *SOracleClient) GetCompartments() ([]Compartment, error)
- func (self *SOracleClient) GetRegion(id string) (*SRegion, error)
- func (self *SOracleClient) GetRegions() ([]SRegion, error)
- func (self *SOracleClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SOracleClient) KeyFingerprint() (string, error)
- func (self *SOracleClient) KeyID() (string, error)
- func (self *SOracleClient) PrivateRSAKey() (*rsa.PrivateKey, error)
- func (self *SOracleClient) Region() (string, error)
- func (self *SOracleClient) TenancyOCID() (string, error)
- func (self *SOracleClient) UserOCID() (string, error)
- type SOracleTag
- type SRegion
- func (self *SRegion) CreateEIP(opts *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
- func (region *SRegion) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) DeleteDisk(diskId string) error
- func (self *SRegion) DeleteNetwork(networkId string) error
- func (self *SRegion) GetAttachedDisks(instanceId string) ([]SVolumeAttachment, error)
- func (self *SRegion) GetBootDisk(id string) (*SBootDisk, error)
- func (self *SRegion) GetBootDisks(zoneId string) ([]SBootDisk, error)
- func (self *SRegion) GetBootVolumeAttachments(zoneId, instanceId string) ([]SBootVolumeAttachment, error)
- func (region *SRegion) GetCapabilities() []string
- func (self *SRegion) GetClient() *SOracleClient
- func (self *SRegion) GetCloudEnv() string
- func (self *SRegion) GetDisk(id string) (*SDisk, error)
- func (self *SRegion) GetDisks(zoneId string) ([]SDisk, error)
- func (self *SRegion) GetEip(id string) (*SEipAddress, error)
- func (self *SRegion) GetEips(lifetime string) ([]SEipAddress, error)
- func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo
- func (self *SRegion) GetGlobalId() string
- func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable
- func (self *SRegion) GetIEipById(id string) (cloudprovider.ICloudEIP, error)
- func (self *SRegion) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (region *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
- func (self *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
- func (self *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIVpcs() ([]cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
- func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
- func (self *SRegion) GetId() string
- func (self *SRegion) GetImage(id string) (*SImage, error)
- func (self *SRegion) GetImages() ([]SImage, error)
- func (self *SRegion) GetInstance(id string) (*SInstance, error)
- func (self *SRegion) GetInstanceNic(id string) (*SInstanceNic, error)
- func (self *SRegion) GetInstances(zoneId string) ([]SInstance, error)
- func (self *SRegion) GetName() string
- func (self *SRegion) GetNetwork(id string) (*SNetwork, error)
- func (self *SRegion) GetNetworks(vpcId string) ([]SNetwork, error)
- func (self *SRegion) GetProvider() string
- func (self *SRegion) GetSecurityGroup(id string) (*SSecurityGroup, error)
- func (self *SRegion) GetSecurityGroups(vpcId string) ([]SSecurityGroup, error)
- func (self *SRegion) GetStatus() string
- func (self *SRegion) GetStoragecache() *SStoragecache
- func (self *SRegion) GetVnicAttachments(instanceId string) ([]SVnicAttachment, error)
- func (self *SRegion) GetVpc(id string) (*SVpc, error)
- func (self *SRegion) GetVpcs() ([]SVpc, error)
- func (self *SRegion) GetZones() ([]SZone, error)
- func (self *SRegion) ResizeDisk(ctx context.Context, diskId string, sizeGb int64) error
- type SSecurityGroup
- func (self *SSecurityGroup) CreateRule(opts *cloudprovider.SecurityGroupRuleCreateOptions) (cloudprovider.ISecurityGroupRule, error)
- func (self *SSecurityGroup) Delete() error
- func (self *SSecurityGroup) GetDescription() string
- func (self *SSecurityGroup) GetGlobalId() string
- func (self *SSecurityGroup) GetId() string
- func (self *SSecurityGroup) GetName() string
- func (self *SSecurityGroup) GetProjectId() string
- func (self *SSecurityGroup) GetReferences() ([]cloudprovider.SecurityGroupReference, error)
- func (self *SSecurityGroup) GetRules() ([]cloudprovider.ISecurityGroupRule, error)
- func (self *SSecurityGroup) GetStatus() string
- func (self *SSecurityGroup) GetVpcId() string
- func (self *SSecurityGroup) Refresh() error
- type SSecurityGroupRule
- type SStorage
- func (self *SStorage) CreateIDisk(opts *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetCapacityMB() int64
- func (self *SStorage) GetCapacityUsedMB() int64
- func (self *SStorage) GetEnabled() bool
- func (self *SStorage) GetGlobalId() string
- func (self *SStorage) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SStorage) GetIZone() cloudprovider.ICloudZone
- func (self *SStorage) GetId() string
- func (self *SStorage) GetMediumType() string
- func (self *SStorage) GetMountPoint() string
- func (self *SStorage) GetName() string
- func (self *SStorage) GetStatus() string
- func (self *SStorage) GetStorageConf() jsonutils.JSONObject
- func (self *SStorage) GetStorageType() string
- func (self *SStorage) IsSysDiskStore() bool
- type SStoragecache
- func (self *SStoragecache) GetGlobalId() string
- func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetId() string
- func (self *SStoragecache) GetName() string
- func (self *SStoragecache) GetPath() string
- func (self *SStoragecache) GetStatus() string
- func (self *SStoragecache) IsEmulated() bool
- func (self *SStoragecache) UploadImage(ctx context.Context, image *cloudprovider.SImageCreateOption, ...) (string, error)
- type SVnicAttachment
- type SVolumeAttachment
- type SVpc
- func (self *SVpc) Delete() error
- func (self *SVpc) GetCidrBlock() string
- func (self *SVpc) GetGlobalId() string
- func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
- func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
- func (self *SVpc) GetIWireById(id string) (cloudprovider.ICloudWire, error)
- func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SVpc) GetId() string
- func (self *SVpc) GetIsDefault() bool
- func (self *SVpc) GetName() string
- func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
- func (self *SVpc) GetStatus() string
- func (self *SVpc) Refresh() error
- type SWire
- func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetBandwidth() int
- func (self *SWire) GetGlobalId() string
- func (self *SWire) GetINetworkById(id string) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
- func (self *SWire) GetIZone() cloudprovider.ICloudZone
- func (self *SWire) GetId() string
- func (self *SWire) GetName() string
- func (self *SWire) GetStatus() string
- func (self *SWire) IsEmulated() bool
- func (self *SWire) Refresh() error
- type SZone
- func (self *SZone) GetGlobalId() string
- func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
- func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
- func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SZone) GetId() string
- func (self *SZone) GetName() string
- func (self *SZone) GetStatus() string
Constants ¶
View Source
const ( CLOUD_PROVIDER_ORACLE_CN = "甲骨文" ORACLE_DEFAULT_REGION = "ap-singapore-1" DEFAULT_API_VERSION = "20160918" NEXT_TOKEN = "opc-next-page" SERVICE_IAAS = "iaas" SERVICE_IDENTITY = "identity" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compartment ¶
type OracleClientConfig ¶
type OracleClientConfig struct {
// contains filtered or unexported fields
}
func NewOracleClientConfig ¶
func NewOracleClientConfig(tenancy, user, compartment, privateKey string) (*OracleClientConfig, error)
func (*OracleClientConfig) CloudproviderConfig ¶
func (self *OracleClientConfig) CloudproviderConfig(cpcfg cloudprovider.ProviderConfig) *OracleClientConfig
func (*OracleClientConfig) Debug ¶
func (self *OracleClientConfig) Debug(debug bool) *OracleClientConfig
type SBootDisk ¶
type SBootDisk struct { multicloud.SDisk SOracleTag AvailabilityDomain string DisplayName string Id string IsHydrated bool LifecycleState string VpusPerGB int SizeInGBs int SizeInMBs int TimeCreated time.Time VolumeType string ImageId string // contains filtered or unexported fields }
func (*SBootDisk) CreateISnapshot ¶
func (self *SBootDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
func (*SBootDisk) GetAccessPath ¶
func (*SBootDisk) GetBillingType ¶
func (*SBootDisk) GetCacheMode ¶
func (*SBootDisk) GetCreatedAt ¶
func (*SBootDisk) GetDiskFormat ¶
func (*SBootDisk) GetDiskSizeMB ¶
func (*SBootDisk) GetDiskType ¶
func (*SBootDisk) GetExpiredAt ¶
func (*SBootDisk) GetFsFormat ¶
func (*SBootDisk) GetGlobalId ¶
func (*SBootDisk) GetISnapshot ¶
func (self *SBootDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SBootDisk) GetISnapshots ¶
func (self *SBootDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SBootDisk) GetIStorage ¶
func (self *SBootDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
func (*SBootDisk) GetIsAutoDelete ¶
func (*SBootDisk) GetIsNonPersistent ¶
func (*SBootDisk) GetMountpoint ¶
func (*SBootDisk) GetProjectId ¶
func (*SBootDisk) GetTemplateId ¶
type SBootVolumeAttachment ¶
type SBootVolumeAttachment struct {
BootVolumeId string `json:"boot-volume-id"`
}
type SDisk ¶
type SDisk struct { multicloud.SDisk SOracleTag AvailabilityDomain string DisplayName string Id string IsHydrated bool LifecycleState string VpusPerGB int SizeInGBs int SizeInMBs int TimeCreated time.Time VolumeType string // contains filtered or unexported fields }
func (*SDisk) CreateISnapshot ¶
func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetAccessPath ¶
func (*SDisk) GetBillingType ¶
func (*SDisk) GetCacheMode ¶
func (*SDisk) GetCreatedAt ¶
func (*SDisk) GetDiskFormat ¶
func (*SDisk) GetDiskSizeMB ¶
func (*SDisk) GetDiskType ¶
func (*SDisk) GetExpiredAt ¶
func (*SDisk) GetFsFormat ¶
func (*SDisk) GetGlobalId ¶
func (*SDisk) GetISnapshot ¶
func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetISnapshots ¶
func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetIStorage ¶
func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
func (*SDisk) GetIsAutoDelete ¶
func (*SDisk) GetIsNonPersistent ¶
func (*SDisk) GetMountpoint ¶
func (*SDisk) GetProjectId ¶
func (*SDisk) GetTemplateId ¶
type SEipAddress ¶
type SEipAddress struct { multicloud.SEipBase SOracleTag Id string AssignedEntityType string AvailabilityDomain string DisplayName string IpAddress string LifecycleState string Lifetime string Scope string TimeCreated time.Time // contains filtered or unexported fields }
func (*SEipAddress) Associate ¶
func (self *SEipAddress) Associate(conf *cloudprovider.AssociateConfig) error
func (*SEipAddress) ChangeBandwidth ¶
func (self *SEipAddress) ChangeBandwidth(bw int) error
func (*SEipAddress) Delete ¶
func (self *SEipAddress) Delete() error
func (*SEipAddress) Dissociate ¶
func (self *SEipAddress) Dissociate() error
func (*SEipAddress) GetAssociationExternalId ¶
func (self *SEipAddress) GetAssociationExternalId() string
func (*SEipAddress) GetAssociationType ¶
func (self *SEipAddress) GetAssociationType() string
func (*SEipAddress) GetBandwidth ¶
func (self *SEipAddress) GetBandwidth() int
func (*SEipAddress) GetBillingType ¶
func (self *SEipAddress) GetBillingType() string
func (*SEipAddress) GetCreatedAt ¶
func (self *SEipAddress) GetCreatedAt() time.Time
func (*SEipAddress) GetExpiredAt ¶
func (self *SEipAddress) GetExpiredAt() time.Time
func (*SEipAddress) GetGlobalId ¶
func (self *SEipAddress) GetGlobalId() string
func (*SEipAddress) GetINetworkId ¶
func (self *SEipAddress) GetINetworkId() string
func (*SEipAddress) GetId ¶
func (self *SEipAddress) GetId() string
func (*SEipAddress) GetInternetChargeType ¶
func (self *SEipAddress) GetInternetChargeType() string
func (*SEipAddress) GetIpAddr ¶
func (self *SEipAddress) GetIpAddr() string
func (*SEipAddress) GetMode ¶
func (self *SEipAddress) GetMode() string
func (*SEipAddress) GetName ¶
func (self *SEipAddress) GetName() string
func (*SEipAddress) GetProjectId ¶
func (self *SEipAddress) GetProjectId() string
func (*SEipAddress) GetStatus ¶
func (self *SEipAddress) GetStatus() string
func (*SEipAddress) IsEmulated ¶
func (self *SEipAddress) IsEmulated() bool
func (*SEipAddress) Refresh ¶
func (self *SEipAddress) Refresh() error
type SHost ¶
type SHost struct { multicloud.SHostBase // contains filtered or unexported fields }
func (*SHost) CreateVM ¶
func (self *SHost) CreateVM(opts *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error)
func (*SHost) GetAccessIp ¶
func (*SHost) GetAccessMac ¶
func (*SHost) GetCpuCount ¶
func (*SHost) GetCpuDesc ¶
func (*SHost) GetEnabled ¶
func (*SHost) GetGlobalId ¶
func (*SHost) GetHostStatus ¶
func (*SHost) GetHostType ¶
func (*SHost) GetIHostNics ¶
func (host *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
func (*SHost) GetIStorageById ¶
func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SHost) GetIStorages ¶
func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SHost) GetIVMById ¶
func (self *SHost) GetIVMById(id string) (cloudprovider.ICloudVM, error)
func (*SHost) GetIsMaintenance ¶
func (*SHost) GetMemSizeMB ¶
func (*SHost) GetNodeCount ¶
func (*SHost) GetStorageSizeMB ¶
func (*SHost) GetStorageType ¶
func (*SHost) GetSysInfo ¶
func (self *SHost) GetSysInfo() jsonutils.JSONObject
func (*SHost) GetVersion ¶
func (*SHost) IsEmulated ¶
type SImage ¶
type SImage struct { multicloud.SImageBase SOracleTag DisplayName string Id string LaunchMode string LaunchOptions struct { BootVolumeType string Firmware string NetworkType string RemoteDataVolumeType string IsPvEncryptionInTransitEnabled bool IsConsistentVolumeNamingEnabled string } LifecycleState string OperatingSystem string OperatingSystemVersion string SizeInMBs int BillableSizeInGBs int TimeCreated time.Time // contains filtered or unexported fields }
func (*SImage) GetBios ¶
func (img *SImage) GetBios() cloudprovider.TBiosType
func (*SImage) GetCreatedAt ¶
func (*SImage) GetFullOsName ¶
func (*SImage) GetGlobalId ¶
func (*SImage) GetIStoragecache ¶
func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SImage) GetImageFormat ¶
func (*SImage) GetImageStatus ¶
func (*SImage) GetImageType ¶
func (self *SImage) GetImageType() cloudprovider.TImageType
func (*SImage) GetMinOsDiskSizeGb ¶
func (*SImage) GetMinRamSizeMb ¶
func (*SImage) GetOsType ¶
func (self *SImage) GetOsType() cloudprovider.TOsType
func (*SImage) GetOsVersion ¶
func (*SImage) GetSizeByte ¶
type SInstance ¶
type SInstance struct { multicloud.SInstanceBase SOracleTag AvailabilityDomain string CompartmentId string DefinedTags struct { OracleTags struct { CreatedBy string CreatedOn time.Time } } DisplayName string ExtendedMetadata struct { } FaultDomain string FreeformTags struct { } Id string ImageId string LaunchMode string LaunchOptions struct { BootVolumeType string Firmware string NetworkType string RemoteDataVolumeType string IsPvEncryptionInTransitEnabled bool IsConsistentVolumeNamingEnabled bool } InstanceOptions struct { AreLegacyImdsEndpointsDisabled bool } AvailabilityConfig struct { IsLiveMigrationPreferred bool RecoveryAction string } // CREATING_IMAGE, MOVING, PROVISIONING, RUNNING, STARTING, STOPPED, STOPPING, TERMINATED, TERMINATING LifecycleState string Metadata struct { } Region string Shape string ShapeConfig struct { Ocpus float64 MemoryInGBs float64 ProcessorDescription string NetworkingBandwidthInGbps float64 MaxVnicAttachments int Gpus int LocalDisks int Vcpus int } IsCrossNumaNode bool SourceDetails struct { SourceType string ImageId string } SystemTags struct { } TimeCreated time.Time AgentConfig struct { IsMonitoringDisabled bool IsManagementDisabled bool AreAllPluginsDisabled bool PluginsConfig []struct { Name string DesiredState string } } // contains filtered or unexported fields }
func (*SInstance) AttachDisk ¶
func (*SInstance) ChangeConfig ¶
func (self *SInstance) ChangeConfig(ctx context.Context, config *cloudprovider.SManagedVMChangeConfig) error
func (*SInstance) DeployVM ¶
func (self *SInstance) DeployVM(ctx context.Context, opts *cloudprovider.SInstanceDeployOptions) error
func (*SInstance) DetachDisk ¶
func (*SInstance) GetBillingType ¶
func (*SInstance) GetBios ¶
func (ins *SInstance) GetBios() cloudprovider.TBiosType
func (*SInstance) GetBootOrder ¶
func (*SInstance) GetCreatedAt ¶
func (*SInstance) GetExpiredAt ¶
func (*SInstance) GetFullOsName ¶
func (*SInstance) GetGlobalId ¶
func (*SInstance) GetHostname ¶
func (*SInstance) GetHypervisor ¶
func (*SInstance) GetIDisks ¶
func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SInstance) GetIHost ¶
func (self *SInstance) GetIHost() cloudprovider.ICloudHost
func (*SInstance) GetInstanceType ¶
func (*SInstance) GetMachine ¶
func (*SInstance) GetOsType ¶
func (ins *SInstance) GetOsType() cloudprovider.TOsType
func (*SInstance) GetOsVersion ¶
func (*SInstance) GetProjectId ¶
func (*SInstance) GetSecurityGroupIds ¶
func (*SInstance) GetVNCInfo ¶
func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SInstance) GetVcpuCount ¶
func (*SInstance) GetVmemSizeMB ¶
func (*SInstance) RebuildRoot ¶
func (self *SInstance) RebuildRoot(ctx context.Context, desc *cloudprovider.SManagedVMRebuildRootConfig) (string, error)
func (*SInstance) SaveImage ¶
func (self *SInstance) SaveImage(opts *cloudprovider.SaveImageOptions) (cloudprovider.ICloudImage, error)
func (*SInstance) SetSecurityGroups ¶
func (*SInstance) StopVM ¶
func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
func (*SInstance) UpdateUserData ¶
func (*SInstance) UpdateVM ¶
func (self *SInstance) UpdateVM(ctx context.Context, input cloudprovider.SInstanceUpdateOptions) error
type SInstanceNic ¶
type SInstanceNic struct { Id string SubnetId string `json:"subnet-id"` MacAddress string `json:"mac-address"` PrivateIp string `json:"private-ip"` PublicIp string `json:"public-ip"` cloudprovider.DummyICloudNic // contains filtered or unexported fields }
func (*SInstanceNic) GetDriver ¶
func (self *SInstanceNic) GetDriver() string
func (*SInstanceNic) GetINetworkId ¶
func (self *SInstanceNic) GetINetworkId() string
func (*SInstanceNic) GetIP ¶
func (self *SInstanceNic) GetIP() string
func (*SInstanceNic) GetId ¶
func (self *SInstanceNic) GetId() string
func (*SInstanceNic) GetMAC ¶
func (self *SInstanceNic) GetMAC() string
func (*SInstanceNic) InClassicNetwork ¶
func (self *SInstanceNic) InClassicNetwork() bool
type SNetwork ¶
type SNetwork struct { multicloud.SResourceBase SOracleTag AvailabilityDomain string Id string CidrBlock string DisplayName string DnsLabel string LifecycleState string SecurityListIds []string SubnetDomainName string TimeCreated time.Time VcnId string VirtualRouterIp string VirtualRouterMac string // contains filtered or unexported fields }
func (*SNetwork) GetAllocTimeoutSeconds ¶
func (*SNetwork) GetGateway ¶
func (*SNetwork) GetGlobalId ¶
func (*SNetwork) GetIWire ¶
func (self *SNetwork) GetIWire() cloudprovider.ICloudWire
func (*SNetwork) GetIpStart ¶
func (*SNetwork) GetIsPublic ¶
func (*SNetwork) GetProjectId ¶
func (*SNetwork) GetPublicScope ¶
func (self *SNetwork) GetPublicScope() rbacscope.TRbacScope
func (*SNetwork) GetServerType ¶
type SOracleClient ¶
type SOracleClient struct { *OracleClientConfig // contains filtered or unexported fields }
func NewOracleClient ¶
func NewOracleClient(cfg *OracleClientConfig) (*SOracleClient, error)
func (*SOracleClient) GetAccountId ¶
func (self *SOracleClient) GetAccountId() string
func (*SOracleClient) GetCapabilities ¶
func (self *SOracleClient) GetCapabilities() []string
func (*SOracleClient) GetCompartments ¶
func (self *SOracleClient) GetCompartments() ([]Compartment, error)
func (*SOracleClient) GetRegions ¶
func (self *SOracleClient) GetRegions() ([]SRegion, error)
func (*SOracleClient) GetSubAccounts ¶
func (self *SOracleClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SOracleClient) KeyFingerprint ¶
func (self *SOracleClient) KeyFingerprint() (string, error)
func (*SOracleClient) KeyID ¶
func (self *SOracleClient) KeyID() (string, error)
func (*SOracleClient) PrivateRSAKey ¶
func (self *SOracleClient) PrivateRSAKey() (*rsa.PrivateKey, error)
func (*SOracleClient) Region ¶
func (self *SOracleClient) Region() (string, error)
func (*SOracleClient) TenancyOCID ¶
func (self *SOracleClient) TenancyOCID() (string, error)
func (*SOracleClient) UserOCID ¶
func (self *SOracleClient) UserOCID() (string, error)
type SOracleTag ¶
type SOracleTag struct { }
func (SOracleTag) GetSysTags ¶
func (self SOracleTag) GetSysTags() map[string]string
type SRegion ¶
type SRegion struct { multicloud.SRegion multicloud.SNoObjectStorageRegion multicloud.SNoLbRegion IsHomeRegion bool `json:"is-home-region"` RegionKey string `json:"region-key"` RegionName string `json:"region-name"` Status string `json:"status"` // contains filtered or unexported fields }
func (*SRegion) CreateEIP ¶
func (self *SRegion) CreateEIP(opts *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
func (*SRegion) CreateISecurityGroup ¶
func (region *SRegion) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) CreateIVpc ¶
func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
func (*SRegion) DeleteDisk ¶
func (*SRegion) DeleteNetwork ¶
func (*SRegion) GetAttachedDisks ¶
func (self *SRegion) GetAttachedDisks(instanceId string) ([]SVolumeAttachment, error)
func (*SRegion) GetBootDisks ¶
func (*SRegion) GetBootVolumeAttachments ¶
func (self *SRegion) GetBootVolumeAttachments(zoneId, instanceId string) ([]SBootVolumeAttachment, error)
func (*SRegion) GetCapabilities ¶
func (*SRegion) GetClient ¶
func (self *SRegion) GetClient() *SOracleClient
func (*SRegion) GetCloudEnv ¶
func (*SRegion) GetGeographicInfo ¶
func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo
func (*SRegion) GetGlobalId ¶
func (*SRegion) GetI18n ¶
func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable
func (*SRegion) GetIEipById ¶
func (self *SRegion) GetIEipById(id string) (cloudprovider.ICloudEIP, error)
func (*SRegion) GetIHostById ¶
func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SRegion) GetIHosts ¶
func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SRegion) GetISecurityGroupById ¶
func (region *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetIStorageById ¶
func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SRegion) GetIStoragecacheById ¶
func (self *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStoragecaches ¶
func (self *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStorages ¶
func (self *SRegion) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SRegion) GetIVpcById ¶
func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SRegion) GetIZoneById ¶
func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
func (*SRegion) GetIZones ¶
func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
func (*SRegion) GetInstanceNic ¶
func (self *SRegion) GetInstanceNic(id string) (*SInstanceNic, error)
func (*SRegion) GetInstances ¶
func (*SRegion) GetProvider ¶
func (*SRegion) GetSecurityGroup ¶
func (self *SRegion) GetSecurityGroup(id string) (*SSecurityGroup, error)
func (*SRegion) GetSecurityGroups ¶
func (self *SRegion) GetSecurityGroups(vpcId string) ([]SSecurityGroup, error)
func (*SRegion) GetStoragecache ¶
func (self *SRegion) GetStoragecache() *SStoragecache
func (*SRegion) GetVnicAttachments ¶
func (self *SRegion) GetVnicAttachments(instanceId string) ([]SVnicAttachment, error)
type SSecurityGroup ¶
type SSecurityGroup struct { multicloud.SSecurityGroup SOracleTag Id string IngressSecurityRules []SSecurityGroupRule `json:"ingress-security-rules"` EgressSecurityRules []SSecurityGroupRule `json:"egress-security-rules"` LifecycleState string `json:"lifecycle-state"` VcnId string `json:"vcn-id"` DisplayName string `json:"display-name"` // contains filtered or unexported fields }
func (*SSecurityGroup) CreateRule ¶
func (self *SSecurityGroup) CreateRule(opts *cloudprovider.SecurityGroupRuleCreateOptions) (cloudprovider.ISecurityGroupRule, error)
func (*SSecurityGroup) Delete ¶
func (self *SSecurityGroup) Delete() error
func (*SSecurityGroup) GetDescription ¶
func (self *SSecurityGroup) GetDescription() string
func (*SSecurityGroup) GetGlobalId ¶
func (self *SSecurityGroup) GetGlobalId() string
func (*SSecurityGroup) GetId ¶
func (self *SSecurityGroup) GetId() string
func (*SSecurityGroup) GetName ¶
func (self *SSecurityGroup) GetName() string
func (*SSecurityGroup) GetProjectId ¶
func (self *SSecurityGroup) GetProjectId() string
func (*SSecurityGroup) GetReferences ¶
func (self *SSecurityGroup) GetReferences() ([]cloudprovider.SecurityGroupReference, error)
func (*SSecurityGroup) GetRules ¶
func (self *SSecurityGroup) GetRules() ([]cloudprovider.ISecurityGroupRule, error)
func (*SSecurityGroup) GetStatus ¶
func (self *SSecurityGroup) GetStatus() string
func (*SSecurityGroup) GetVpcId ¶
func (self *SSecurityGroup) GetVpcId() string
func (*SSecurityGroup) Refresh ¶
func (self *SSecurityGroup) Refresh() error
type SSecurityGroupRule ¶
type SStorage ¶
type SStorage struct { multicloud.SStorageBase // contains filtered or unexported fields }
func (*SStorage) CreateIDisk ¶
func (self *SStorage) CreateIDisk(opts *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetCapacityMB ¶
func (*SStorage) GetCapacityUsedMB ¶
func (*SStorage) GetEnabled ¶
func (*SStorage) GetGlobalId ¶
func (*SStorage) GetIDiskById ¶
func (self *SStorage) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetIDisks ¶
func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SStorage) GetIStoragecache ¶
func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SStorage) GetIZone ¶
func (self *SStorage) GetIZone() cloudprovider.ICloudZone
func (*SStorage) GetMediumType ¶
func (*SStorage) GetMountPoint ¶
func (*SStorage) GetStorageConf ¶
func (self *SStorage) GetStorageConf() jsonutils.JSONObject
func (*SStorage) GetStorageType ¶
func (*SStorage) IsSysDiskStore ¶
type SStoragecache ¶
type SStoragecache struct { multicloud.SResourceBase multicloud.STagBase // contains filtered or unexported fields }
func (*SStoragecache) GetGlobalId ¶
func (self *SStoragecache) GetGlobalId() string
func (*SStoragecache) GetICloudImages ¶
func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetICustomizedCloudImages ¶
func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetIImageById ¶
func (self *SStoragecache) GetIImageById(extId string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) GetId ¶
func (self *SStoragecache) GetId() string
func (*SStoragecache) GetName ¶
func (self *SStoragecache) GetName() string
func (*SStoragecache) GetPath ¶
func (self *SStoragecache) GetPath() string
func (*SStoragecache) GetStatus ¶
func (self *SStoragecache) GetStatus() string
func (*SStoragecache) IsEmulated ¶
func (self *SStoragecache) IsEmulated() bool
func (*SStoragecache) UploadImage ¶
func (self *SStoragecache) UploadImage(ctx context.Context, image *cloudprovider.SImageCreateOption, callback func(progress float32)) (string, error)
type SVnicAttachment ¶
type SVnicAttachment struct {
VnicId string `json:"vnic-id"`
}
type SVolumeAttachment ¶
type SVolumeAttachment struct {
VolumeId string `json:"volume-id"`
}
type SVpc ¶
type SVpc struct { multicloud.SVpc SOracleTag Id string CidrBlock string `json:"cidr-block"` TimeCreated time.Time `json:"time-created"` DisplayName string `json:"display-name"` DnsLabel string `json:"dns-label"` LifecycleState string `json:"lifecycle-state"` // contains filtered or unexported fields }
func (*SVpc) GetCidrBlock ¶
func (*SVpc) GetGlobalId ¶
func (*SVpc) GetINatGateways ¶
func (self *SVpc) GetINatGateways() ([]cloudprovider.ICloudNatGateway, error)
func (*SVpc) GetIRouteTableById ¶
func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetIRouteTables ¶
func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetISecurityGroups ¶
func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
func (*SVpc) GetIWireById ¶
func (self *SVpc) GetIWireById(id string) (cloudprovider.ICloudWire, error)
func (*SVpc) GetIWires ¶
func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SVpc) GetIsDefault ¶
func (*SVpc) GetRegion ¶
func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
type SWire ¶
type SWire struct { multicloud.SResourceBase SOracleTag // contains filtered or unexported fields }
func (*SWire) CreateINetwork ¶
func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetBandwidth ¶
func (*SWire) GetGlobalId ¶
func (*SWire) GetINetworkById ¶
func (self *SWire) GetINetworkById(id string) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetINetworks ¶
func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
func (*SWire) GetIVpc ¶
func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
func (*SWire) GetIZone ¶
func (self *SWire) GetIZone() cloudprovider.ICloudZone
func (*SWire) IsEmulated ¶
type SZone ¶
type SZone struct { multicloud.SResourceBase multicloud.STagBase Id string Name string // contains filtered or unexported fields }
func (*SZone) GetGlobalId ¶
func (*SZone) GetI18n ¶
func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
func (*SZone) GetIHostById ¶
func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SZone) GetIHosts ¶
func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SZone) GetIRegion ¶
func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
func (*SZone) GetIStorageById ¶
func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SZone) GetIStorages ¶
func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.