Documentation
¶
Overview ¶
Copyright © LiquidWeb
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © LiquidWeb ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © LiquidWeb ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © LiquidWeb ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type CloudBackupDetails
- type CloudBackupRestoreResponse
- type CloudBlockStorageVolumeAttach
- type CloudBlockStorageVolumeDelete
- type CloudBlockStorageVolumeDetach
- type CloudBlockStorageVolumeDetails
- type CloudBlockStorageVolumeDetailsAttachedTo
- type CloudBlockStorageVolumeResize
- type CloudConfigDetails
- type CloudImageCreateResponse
- type CloudImageDeleteResponse
- type CloudImageDetails
- type CloudImageRestoreResponse
- type CloudNetworkPrivateAttachResponse
- type CloudNetworkPrivateDetachResponse
- type CloudNetworkPrivateGetIpResponse
- type CloudNetworkPrivateIsAttachedResponse
- type CloudNetworkVipAssetListAlsoWithZoneResponse
- type CloudNetworkVipDestroyResponse
- type CloudNetworkVipDetails
- type CloudObjectStoreDelete
- type CloudObjectStoreDeleteKey
- type CloudObjectStoreDetails
- type CloudObjectStoreDetailsCapsEntry
- type CloudObjectStoreDiskSpace
- type CloudObjectStoreKeyDetails
- type CloudPrivateParentDeleteResponse
- type CloudPrivateParentDetails
- type CloudPrivateParentDetailsEntryDiskDetails
- type CloudPrivateParentDetailsEntryResource
- type CloudPrivateParentDetailsEntryResourceEntry
- type CloudPrivateParentDetailsEntryZone
- type CloudPrivateParentDetailsEntryZoneRegion
- type CloudServerCloneResponse
- type CloudServerCloneResponseZone
- type CloudServerCloneResponseZoneRegion
- type CloudServerDestroyResponse
- type CloudServerDetails
- type CloudServerDetailsZone
- type CloudServerDetailsZoneRegion
- type CloudServerIsBlockStorageOptimized
- type CloudServerIsBlockStorageOptimizedSetResponse
- type CloudServerRebootResponse
- type CloudServerResizeExpectation
- type CloudServerShutdownResponse
- type CloudServerStartResponse
- type CloudServerStatus
- type CloudServerStatusRunningData
- type CloudTemplateRestoreResponse
- type FlexBool
- type MergedPaginatedList
- type NetworkAssignmentListEntry
- type NetworkIpAdd
- type NetworkIpPoolDelete
- type NetworkIpPoolDetails
- type NetworkIpPoolDetailsAssignment
- type NetworkIpPoolListEntry
- type NetworkIpRemove
- type NetworkLoadBalancerDelete
- type NetworkLoadBalancerDetails
- type NetworkLoadBalancerDetailsNode
- type NetworkLoadBalancerDetailsService
- type NetworkLoadBalancerDetailsServiceHealthCheck
- type NetworkLoadBalancerPossibleNodes
- type NetworkLoadBalancerPossibleNodesNode
- type NetworkLoadBalancerStrategies
- type NetworkLoadBalancerStrategy
- type PaginatedList
- type Subaccnt
- type UtilitiesInfoPingResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudBackupDetails ¶
type CloudBackupDetails struct { Accnt int64 `json:"accnt" mapstructure:"accnt"` Features []map[string]interface{} `json:"features" mapstructure:"features"` HvType string `json:"hv_type" mapstructure:"hv_type"` Id int64 `json:"id" mapstructure:"id"` Name string `json:"name" mapstructure:"name"` Size float64 `json:"size" mapstructure:"size"` Template string `json:"template" mapstructure:"template"` TimeTaken string `json:"time_taken" mapstructure:"time_taken"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` }
func (CloudBackupDetails) String ¶
func (x CloudBackupDetails) String() string
type CloudBackupRestoreResponse ¶
type CloudBackupRestoreResponse struct {
Restored string `json:"restored" mapstructure:"restored"`
}
type CloudBlockStorageVolumeDelete ¶
type CloudBlockStorageVolumeDelete struct {
Deleted string `json:"deleted" mapstructure:"deleted"`
}
type CloudBlockStorageVolumeDetails ¶
type CloudBlockStorageVolumeDetails struct { AttachedTo []CloudBlockStorageVolumeDetailsAttachedTo `json:"attachedTo" mapstructure:"attachedTo"` CrossAttach bool `json:"cross_attach" mapstructure:"cross_attach"` Domain string `json:"domain" mapstructure:"domain"` Label string `json:"label" mapstructure:"label"` Size int64 `json:"size" mapstructure:"size"` Status string `json:"status" mapstructure:"status"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` ZoneAvailability []int64 `json:"zoneAvailability" mapstructure:"zoneAvailability"` }
func (CloudBlockStorageVolumeDetails) String ¶
func (x CloudBlockStorageVolumeDetails) String() string
type CloudConfigDetails ¶
type CloudConfigDetails struct { Id int64 `json:"id" mapstructure:"id"` Active int64 `json:"active" mapstructure:"active"` Available int64 `json:"available" mapstructure:"available"` Category string `json:"category" mapstructure:"category"` Description string `json:"description" mapstructure:"description"` Disk int64 `json:"disk,omitempty" mapstructure:"disk"` Featured int64 `json:"featured" mapstructure:"featured"` Memory int64 `json:"memory,omitempty" mapstructure:"memory"` Vcpu int64 `json:"vcpu,omitempty" mapstructure:"vcpu"` ZoneAvailability []map[int]int `json:"zone_availability" mapstructure:"zone_availability"` Retired int64 `json:"retired,omitempty" mapstructure:"retired"` RamTotal int64 `json:"ram_total,omitempty" mapstructure:"ram_total"` RamAvailable int64 `json:"ram_available,omitempty" mapstructure:"ram_available"` RaidLevel int64 `json:"raid_level,omitempty" mapstructure:"raid_level"` DiskType string `json:"disk_type,omitempty" mapstructure:"disk_type"` DiskTotal int64 `json:"disk_total,omitempty" mapstructure:"disk_total"` DiskCount int64 `json:"disk_count,omitempty" mapstructure:"disk_count"` CpuSpeed int64 `json:"cpu_speed,omitempty" mapstructure:"cpu_speed"` CpuModel string `json:"cpu_model,omitempty" mapstructure:"cpu_model"` CpuHyperthreading int64 `json:"cpu_hyperthreading,omitempty" mapstructure:"cpu_hyperthreading"` CpuCount int64 `json:"cpu_count,omitempty" mapstructure:"cpu_count"` CpuCores int64 `json:"cpu_cores,omitempty" mapstructure:"cpu_cores"` }
type CloudImageCreateResponse ¶
type CloudImageCreateResponse struct {
Created string `json:"created" mapstructure:"created"`
}
type CloudImageDeleteResponse ¶
type CloudImageDeleteResponse struct {
Deleted int64 `json:"deleted" mapstructure:"deleted"`
}
type CloudImageDetails ¶
type CloudImageDetails struct { Accnt int64 `json:"accnt" mapstructure:"accnt"` Features []map[string]interface{} `json:"features" mapstructure:"features"` HvType string `json:"hv_type" mapstructure:"hv_type"` Id int64 `json:"id" mapstructure:"id"` Name string `json:"name" mapstructure:"name"` Size float64 `json:"size" mapstructure:"size"` SourceHostname string `json:"source_hostname" mapstructure:"source_hostname"` SourceUniqId string `json:"source_uniq_id" mapstructure:"source_uniq_id"` Template string `json:"template" mapstructure:"template"` TemplateDescription string `json:"template_description" mapstructure:"template_description"` TimeTaken string `json:"time_taken" mapstructure:"time_taken"` }
func (CloudImageDetails) String ¶
func (x CloudImageDetails) String() string
type CloudImageRestoreResponse ¶
type CloudImageRestoreResponse struct {
Reimaged string `json"reimaged" mapstructure:"reimaged"`
}
type CloudNetworkPrivateAttachResponse ¶
type CloudNetworkPrivateAttachResponse struct {
Attached string `json:"attached" mapstructure:"attached"`
}
type CloudNetworkPrivateDetachResponse ¶
type CloudNetworkPrivateDetachResponse struct {
Detached string `json:"detached" mapstructure:"detached"`
}
type CloudNetworkPrivateGetIpResponse ¶
type CloudNetworkPrivateGetIpResponse struct { UniqId string `json:"uniq_id" mapstructure:"uniq_id"` Legacy bool `json:"legacy" mapstructure:"legacy"` Ip string `json:"ip" mapstructure:"ip"` }
func (CloudNetworkPrivateGetIpResponse) String ¶ added in v0.6.9
func (self CloudNetworkPrivateGetIpResponse) String() string
type CloudNetworkPrivateIsAttachedResponse ¶
type CloudNetworkPrivateIsAttachedResponse struct {
IsAttached bool `json:"is_attached" mapstructure:"is_attached"`
}
type CloudNetworkVipAssetListAlsoWithZoneResponse ¶
type CloudNetworkVipAssetListAlsoWithZoneResponse struct { Active int64 `json:"active" mapstructure:"active"` Domain string `json:"domain" mapstructure:"domain"` Ip string `json:"ip" mapstructure:"ip"` RegionId int64 `json:"region_id" mapstructure:"region_id"` Status string `json:"status" mapstructure:"status"` Type string `json:"type" mapstructure:"type"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` Zone CloudServerDetailsZone `json:"zone" mapstructure:"zone"` }
type CloudNetworkVipDestroyResponse ¶
type CloudNetworkVipDestroyResponse struct {
Destroyed string `json:"destroyed" mapstructure:"destroyed"`
}
type CloudNetworkVipDetails ¶
type CloudNetworkVipDetails struct { Active int64 `json:"active" mapstructure:"active"` ActiveStatus string `json:"activeStatus" mapstructure:"activeStatus"` Domain string `json:"domain" mapstructure:"domain"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` Ip string `json:"ip" mapstructure:"ip"` PrivateIp []string `json:"private_ip" mapstructure:"private_ip"` }
func (CloudNetworkVipDetails) String ¶
func (x CloudNetworkVipDetails) String() string
type CloudObjectStoreDelete ¶
type CloudObjectStoreDelete struct {
Deleted string `json:"deleted" mapstructure:"deleted"`
}
type CloudObjectStoreDeleteKey ¶
type CloudObjectStoreDeleteKey struct {
Deleted string `json:"deleted" mapstructure:"deleted"`
}
type CloudObjectStoreDetails ¶
type CloudObjectStoreDetails struct { Accnt int64 `json:"accnt" mapstructure:"accnt"` Caps []CloudObjectStoreDetailsCapsEntry `json:"caps" mapstructure:"caps"` DisplayName string `json:"display_name" mapstructure:"display_name"` Host string `json:"host" mapstructure:"host"` Keys []CloudObjectStoreKeyDetails `json:"keys" mapstructure:"keys"` MaxBuckets int64 `json:"max_buckets" mapstructure:"max_buckets"` Suspended bool `json:"suspended" mapstructure:"suspended"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` UserId string `json:"user_id" mapstructure:"user_id"` }
func (CloudObjectStoreDetails) String ¶
func (x CloudObjectStoreDetails) String() string
type CloudPrivateParentDeleteResponse ¶
type CloudPrivateParentDeleteResponse struct {
Deleted string `json:"deleted" mapstructure:"deleted"`
}
type CloudPrivateParentDetails ¶
type CloudPrivateParentDetails struct { Accnt int64 `json:"accnt" mapstructure:"accnt"` BucketUniqId string `json:"bucket_uniq_id" mapstructure:"bucket_uniq_id"` ConfigDescription string `json:"config_description" mapstructure:"config_description"` ConfigId int64 `json:"config_id" mapstructure:"config_id"` CreateDate string `json:"create_date" mapstructure:"create_date"` DiskDetails CloudPrivateParentDetailsEntryDiskDetails `json:"diskDetails" mapstructure:"diskDetails"` Domain string `json:"domain" mapstructure:"domain"` Id int64 `json:"id" mapstructure:"id"` LicenseState string `json:"license_state" mapstructure:"license_state"` RegionId int64 `json:"region_id" mapstructure:"region_id"` Resources CloudPrivateParentDetailsEntryResource `json:"resources" mapstructure:"resources"` SalesforceAsset string `json:"salesforce_asset" mapstructure:"salesforce_asset"` Status string `json:"status" mapstructure:"status"` Subaccnt int64 `json:"subaccnt" mapstructure:"subaccnt"` Type string `json:"type" mapstructure:"type"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` Vcpu int64 `json:"vcpu" mapstructure:"vcpu"` Zone CloudPrivateParentDetailsEntryZone `json:"zone" mapstructure:"zone"` }
func (CloudPrivateParentDetails) String ¶
func (x CloudPrivateParentDetails) String() string
type CloudPrivateParentDetailsEntryResource ¶
type CloudPrivateParentDetailsEntryResource struct { DiskSpace CloudPrivateParentDetailsEntryResourceEntry `json:"diskspace" mapstructure:"diskspace"` Memory CloudPrivateParentDetailsEntryResourceEntry `json:"memory" mapstructure:"memory"` }
type CloudPrivateParentDetailsEntryZone ¶
type CloudPrivateParentDetailsEntryZone struct { AvailabilityZone string `json:"availability_zone" mapstructure:"availability_zone"` Description string `json:"description" mapstructure:"description"` HvType string `json:"hv_type" mapstructure:"hv_type"` Id int64 `json:"id" mapstructure:"id"` Legacy int64 `json:"legacy" mapstructure:"legacy"` Name string `json:"name" mapstructure:"name"` Region CloudPrivateParentDetailsEntryZoneRegion `json:"region" mapstructure:"region"` Status string `json:"status" mapstructure:"status"` ValidSourceHvs []string `json:"valid_source_hvs" mapstructure:"valid_source_hvs"` }
type CloudServerCloneResponse ¶
type CloudServerCloneResponse struct { Accnt int64 `json:"accnt" mapstructure:"accnt"` Active int64 `json:"active" mapstructure:"active"` BackupEnabled int64 `json:"backup_enabled" mapstructure:"backup_enabled"` BackupPlan string `json:"backup_plan" mapstructure:"backup_plan"` BackupQuota int64 `json:"backup_quota" mapstructure:"backup_quota"` BackupSize float64 `json:"backup_size" mapstructure:"backup_size"` BandwidthQuota string `json:"bandwidth_quota" mapstructure:"bandwidth_quota"` Categories []interface{} `json:"categories" mapstructure:"categories"` ConfigDescription string `json:"config_description" mapstructure:"config_description"` ConfigId int64 `json:"config_id" mapstructure:"config_id"` CreateDate string `json:"create_date" mapstructure:"create_date"` Description string `json:"description" mapstructure:"description"` Diskspace int64 `json:"diskspace" mapstructure:"diskspace"` Domain string `json:"domain" mapstructure:"domain"` HvType string `json:"hv_type" mapstructure:"hv_type"` Instance interface{} `json:"instance" mapstructure:"instance"` Ip string `json:"ip" mapstructure:"ip"` IpCount int64 `json:"ip_count" mapstructure:"ip_count"` ManageLevel string `json:"manage_level" mapstructure:"manage_level"` Memory int64 `json:"memory" mapstructure:"memory"` Parent string `json:"parent" mapstructure:"parent"` RegionId int64 `json:"region_id" mapstructure:"region_id"` ShortDescription string `json:"shortDescription" mapstructure:"shortDescription"` Status string `json:"status" mapstructure:"status"` Template string `json:"template" mapstructure:"template"` TemplateDescription string `json:"template_description" mapstructure:"template_description"` Type string `json:"type" mapstructure:"type"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` ValidSourceHvs map[string]int64 `json:"valid_source_hvs" mapstructure:"valid_source_hvs"` Vcpu int64 `json:"vcpu" mapstructure:"vcpu"` Zone CloudServerCloneResponseZone `json:"zone" mapstructure:"zone"` }
type CloudServerCloneResponseZone ¶
type CloudServerCloneResponseZone struct { Id int64 `json:"id" mapstructure:"id"` Name string `json:"name" mapstructure:"name"` Region CloudServerCloneResponseZoneRegion `json:"region" mapstructure:"region"` }
type CloudServerDestroyResponse ¶
type CloudServerDestroyResponse struct {
Destroyed string `json:"destroyed" mapstructure:"destroyed"`
}
type CloudServerDetails ¶
type CloudServerDetails struct { Accnt int64 `json:"accnt" mapstructure:"accnt"` ConfigId int64 `json:"config_id" mapstructure:"config_id"` Memory int64 `json:"memory" mapstructure:"memory"` Template string `json:"template" mapstructure:"template"` Type string `json:"type" mapstructure:"type"` BackupEnabled int64 `json:"backup_enabled" mapstructure:"backup_enabled"` BackupSize float64 `json:"backup_size" mapstructure:"backup_size"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` Vcpu int64 `json:"vcpu" mapstructure:"vcpu"` BackupPlan string `json:"backup_plan" mapstructure:"backup_plan"` BandwidthQuota string `json:"bandwidth_quota" mapstructure:"bandwidth_quota"` Ip string `json:"ip" mapstructure:"ip"` IpCount int64 `json:"ip_count" mapstructure:"ip_count"` ManageLevel string `json:"manage_level" mapstructure:"manage_level"` CreateDate string `json:"create_date" mapstructure:"create_date"` DiskSpace int64 `json:"diskspace" mapstructure:"diskspace"` Domain string `json:"domain" mapstructure:"domain"` Active int64 `json:"active" mapstructure:"active"` BackupQuota int64 `json:"backup_quota" mapstructure:"backup_quota"` Zone CloudServerDetailsZone `json:"zone" mapstructure:"zone"` ConfigDescription string `json:"config_description" mapstructure:"config_description"` TemplateDescription string `json:"template_description" mapstructure:"template_description"` PrivateParent string `json:"parent" mapstructure:"parent"` }
func (CloudServerDetails) String ¶
func (x CloudServerDetails) String() string
type CloudServerDetailsZone ¶
type CloudServerDetailsZone struct { Id int64 `json:"id" mapstructure:"id"` Name string `json:"name" mapstructure:"name"` Region CloudServerDetailsZoneRegion `json:"region" mapstructure:"region"` }
type CloudServerIsBlockStorageOptimized ¶
type CloudServerIsBlockStorageOptimized struct {
IsOptimized bool `json:"is_optimized" mapstructure:"is_optimized"`
}
type CloudServerIsBlockStorageOptimizedSetResponse ¶
type CloudServerIsBlockStorageOptimizedSetResponse struct {
Updated string `json:"updated" mapstructure:"updated"`
}
type CloudServerRebootResponse ¶
type CloudServerRebootResponse struct {
Rebooted string `json:"rebooted" mapstructure:"rebooted"`
}
type CloudServerResizeExpectation ¶ added in v0.6.6
type CloudServerResizeExpectation struct { DiskDifference int64 `json:"diskDifference" mapstructure:"diskDifference"` MemoryDifference int64 `json:"memoryDifference" mapstructure:"memoryDifference"` VcpuDifference int64 `json:"vcpuDifference" mapstructure:"vcpuDifference"` RebootRequired FlexBool `json:"rebootRequired" mapstructure:"rebootRequired"` }
type CloudServerShutdownResponse ¶
type CloudServerShutdownResponse struct {
Shutdown string `json:"shutdown" mapstructure:"shutdown"`
}
type CloudServerStartResponse ¶
type CloudServerStartResponse struct {
Started string `json:"started" mapstructure:"started"`
}
type CloudServerStatus ¶
type CloudServerStatus struct { DetailedStatus string `json:"detailed_status" mapstructure:"detailed_status"` Progress float64 `json:"progress" mapstructure:"progress"` Running []CloudServerStatusRunningData `json:"running" mapstructure:"running"` Status string `json:"status" mapstructure:"status"` }
type CloudTemplateRestoreResponse ¶ added in v0.6.1
type CloudTemplateRestoreResponse struct {
Reimaged string `json:"reimaged" mapstructure:"reimaged"`
}
type MergedPaginatedList ¶
type NetworkAssignmentListEntry ¶
type NetworkAssignmentListEntry struct { Broadcast string `json:"broadcast" mapstructure:"broadcast"` Ip string `json:"ip" mapstructure:"ip"` Gateway string `json:"gateway" mapstructure:"gateway"` Id int64 `json:"id" mapstructure:"id"` Netmask string `json:"netmask" mapstructure:"netmask"` Network string `json:"network" mapstructure:"network"` }
func (NetworkAssignmentListEntry) String ¶
func (x NetworkAssignmentListEntry) String() string
type NetworkIpAdd ¶
type NetworkIpAdd struct {
Adding string `json:"adding" mapstructure:"adding"`
}
type NetworkIpPoolDelete ¶
type NetworkIpPoolDelete struct {
Deleted bool `json:"deleted" mapstructure:"deleted"`
}
type NetworkIpPoolDetails ¶
type NetworkIpPoolDetails struct { Accnt int64 `json:"accnt" mapstructure:"accnt"` Id int64 `json:"id" mapstructure:"id"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` ZoneId int64 `json:"zone_id" mapstructure:"zone_id"` Assignments []NetworkIpPoolDetailsAssignment `json:"assignments" mapstructure:"assignments"` }
func (NetworkIpPoolDetails) String ¶
func (x NetworkIpPoolDetails) String() string
type NetworkIpPoolDetailsAssignment ¶
type NetworkIpPoolDetailsAssignment struct { BeginRange string `json:"begin_range" mapstructure:"begin_range"` Broadcast string `json:"broadcast" mapstructure:"broadcast"` EndRange string `json:"end_range" mapstructure:"end_range"` Gateway string `json:"gateway" mapstructure:"gateway"` Id int64 `json:"id" mapstructure:"id"` Netmask string `json:"netmask" mapstructure:"netmask"` Network string `json:"network" mapstructure:"network"` ZoneId int64 `json:"zone_id" mapstructure:"zone_id"` }
type NetworkIpPoolListEntry ¶
type NetworkIpRemove ¶
type NetworkIpRemove struct {
Removing string `json:"removing" mapstructure:"removing"`
}
type NetworkLoadBalancerDelete ¶
type NetworkLoadBalancerDelete struct {
Deleted string `json:"deleted" mapstructure:"deleted"`
}
type NetworkLoadBalancerDetails ¶
type NetworkLoadBalancerDetails struct { Name string `json:"name" mapstructure:"name"` Nodes []NetworkLoadBalancerDetailsNode `json:"nodes" mapstructure:"nodes"` RegionId int64 `json:"region_id" mapstructure:"region_id"` Services []NetworkLoadBalancerDetailsService `json:"services" mapstructure:"services"` SessionPersistence bool `json:"session_persistence" mapstructure:"session_persistence"` SslIncludes bool `json:"ssl_includes" mapstructure:"ssl_includes"` SslTermination bool `json:"ssl_termination" mapstructure:"ssl_termination"` Strategy string `json:"strategy" mapstructure:"strategy"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` Vip string `json:"vip" mapstructure:"vip"` }
func (NetworkLoadBalancerDetails) String ¶
func (x NetworkLoadBalancerDetails) String() string
type NetworkLoadBalancerDetailsService ¶
type NetworkLoadBalancerDetailsService struct { DestPort int64 `json:"dest_port" mapstructure:"dest_port"` Protocol string `json:"protocol" mapstructure:"protocol"` SrcPort int64 `json:"src_port" mapstructure:"src_port"` HealthCheck NetworkLoadBalancerDetailsServiceHealthCheck `json:"health_check" mapstructure:"health_check"` }
type NetworkLoadBalancerDetailsServiceHealthCheck ¶
type NetworkLoadBalancerDetailsServiceHealthCheck struct { FailureThreshold int64 `json:"failure_threshold" mapstructure:"failure_threshold" yaml:"failure_threshold"` HttpBodyMatch string `json:"http_body_match" mapstructure:"http_body_match" yaml:"http_body_match"` HttpPath string `json:"http_path" mapstructure:"http_path" yaml:"http_path"` HttpResponseCodes string `json:"http_response_codes" mapstructure:"http_response_codes" yaml:"http_response_codes"` HttpUseTls bool `json:"http_use_tls" mapstructure:"http_use_tls" yaml:"http_use_tls"` Interval int64 `json:"interval" mapstructure:"interval" yaml:"interval"` Protocol string `json:"protocol" mapstructure:"protocol" yaml:"protocol"` Timeout int64 `json:"timeout" mapstructure:"timeout" yaml:"timeout"` }
func (NetworkLoadBalancerDetailsServiceHealthCheck) Validate ¶
func (x NetworkLoadBalancerDetailsServiceHealthCheck) Validate() error
type NetworkLoadBalancerPossibleNodes ¶
type NetworkLoadBalancerPossibleNodes struct {
Items []NetworkLoadBalancerPossibleNodesNode `json:"items" mapstructure:"items"`
}
func (NetworkLoadBalancerPossibleNodes) String ¶
func (x NetworkLoadBalancerPossibleNodes) String() string
type NetworkLoadBalancerStrategies ¶
type NetworkLoadBalancerStrategies struct {
Strategies []NetworkLoadBalancerStrategy `json:"strategies" mapstructure:"strategies"`
}
func (NetworkLoadBalancerStrategies) String ¶
func (x NetworkLoadBalancerStrategies) String() string
type PaginatedList ¶
type PaginatedList struct { ItemCount int64 `json:"item_count" mapstructure:"item_count"` ItemTotal int64 `json:"item_total" mapstructure:"item_total"` Items []map[string]interface{} `json:"items" mapstructure:"items"` PageNum int64 `json:"page_num" mapstructure:"page_num"` PageSize int64 `json:"page_size mapstructure:"page_size"` PageTotal int64 `json:"page_total" mapstructure:"page_total"` }
type Subaccnt ¶ added in v0.6.8
type Subaccnt struct { Active bool `json:"active" mapstructure:"active"` Domain string `json:"domain" mapstructure:"domain"` Ip string `json:"ip" mapstructure:"ip"` ProjectId int64 `json:"project_id" mapstructure:"project_id"` ProjectName string `json:"project_name" mapstructure:"project_name"` RegionId int `json:"region_id" mapstructure:"region_id"` Status string `json:"status" mapstructure:"status"` Type string `json:"type" mapstructure:"type"` UniqId string `json:"uniq_id" mapstructure:"uniq_id"` Username string `json:"username" mapstructure:"username"` Categories []string `json:"categories" mapstructure:"categories"` }
type UtilitiesInfoPingResponse ¶
type UtilitiesInfoPingResponse struct {
Ping string `json:"ping" mapstructure:"ping"`
}