Versions in this module Expand all Collapse all v0 v0.2.0 Nov 28, 2023 Changes in this version + func NewRequest(c KtCloudClient, request string, params url.Values) (interface{}, error) + type AssociateIpAddressResponse struct + Associateipaddressresponse struct{ ... } + type AssociatePublicIpReqInfo struct + Account string + DomainId string + NetworkId string + UsagePlanType string + ZoneId string + type CreateFirewallRuleReqInfo struct + CidrList string + EndPort string + IcmpCode string + IcmpType string + IpAddressId string + Protocol string + StartPort string + Type string + type CreateFirewallRuleResponse struct + Createfirewallruleresponse struct{ ... } + type CreatePortForwardingRuleReqInfo struct + IpAddressId string + OpenFirewall bool + PrivateEndPort string + PrivatePort string + Protocol string + PublicEndPort string + PublicPort string + VirtualmachineId string + type CreatePortForwardingRuleResponse struct + Createportforwardingruleresponse struct{ ... } + type CreateSshKeyPairResponse struct + Createsshkeypairresponse struct{ ... } + type CreateTags struct + ResourceIds []string + ResourceType string + Tags []TagArg + type CreateTagsResponse struct + Createtagsresponse struct{ ... } + type DeleteFirewallRuleResponse struct + Deletefirewallruleresponse struct{ ... } + type DeletePortForwardingRuleResponse struct + Deleteportforwardingruleresponse struct{ ... } + type DeleteSshKeyPairResponse struct + Deletesshkeypairresponse struct{ ... } + type DeleteTags struct + ResourceIds []string + ResourceType string + Tags []TagArg + type DeleteTagsResponse struct + Deletetagsresponse struct{ ... } + type DeployVMReqInfo struct + Account string + DiskOfferingId string + DisplayName string + DomainId string + Group string + Hypervisor string + IPtoNetworkList []string + KeyPair string + Keyboard string + NetworkIds []string + ProductCode string + ProjectId string + RunSysPrep bool + ServiceOfferingId string + TemplateId string + UsagePlanType string + UserData string + VMHostName string + ZoneId string + type DeployVirtualMachineResponse struct + Deployvirtualmachineresponse struct{ ... } + type DestroyVirtualMachineResponse struct + Destroyvirtualmachineresponse struct{ ... } + type DisassociateIpAddressResponse struct + Disassociateipaddressresponse struct{ ... } + type FirewallRule struct + CidrList string + EndPort int + ForDisplay bool + ID string + IpAddress string + IpAddressId string + NetworkId string + Protocol string + StartPort int + State string + Tags []interface{} + type KeyPair struct + Account string + Domain string + DomainId string + Fingerprint string + Name string + PrivateKey string + type KtCloudClient struct + APIKey string + BaseURL string + SecretKey string + func (c KtCloudClient) AssociateIpAddress(ipReqInfo AssociatePublicIpReqInfo) (AssociateIpAddressResponse, error) + func (c KtCloudClient) CreateFirewallRule(filewallRuleCreateReqInfo CreateFirewallRuleReqInfo) (CreateFirewallRuleResponse, error) + func (c KtCloudClient) CreatePortForwardingRule(portForwardingRuleCreateReqInfo CreatePortForwardingRuleReqInfo) (CreatePortForwardingRuleResponse, error) + func (c KtCloudClient) CreateSSHKeyPair(name string) (CreateSshKeyPairResponse, error) + func (c KtCloudClient) CreateTags(options *CreateTags) (CreateTagsResponse, error) + func (c KtCloudClient) DeleteFirewallRule(ruleId string) (DeleteFirewallRuleResponse, error) + func (c KtCloudClient) DeletePortForwardingRule(ruleId string) (DeletePortForwardingRuleResponse, error) + func (c KtCloudClient) DeleteSSHKeyPair(name string) (DeleteSshKeyPairResponse, error) + func (c KtCloudClient) DeleteTags(options *DeleteTags) (DeleteTagsResponse, error) + func (c KtCloudClient) DeployVirtualMachine(vmReqInfo DeployVMReqInfo) (DeployVirtualMachineResponse, error) + func (c KtCloudClient) DestroyVirtualMachine(vmId string) (DestroyVirtualMachineResponse, error) + func (c KtCloudClient) DisassociateIpAddress(publicIpId string) (DisassociateIpAddressResponse, error) + func (c KtCloudClient) ListAvailableProductTypes(zoneId string) (ListAvailableProductTypesResponse, error) + func (c KtCloudClient) ListFirewallRules(filewallRuleListReqInfo ListFirewallRulesReqInfo) (ListFirewallRulesResponse, error) + func (c KtCloudClient) ListPortForwardingRules(portForwardingRulesListReqInfo ListPortForwardingRulesReqInfo) (ListPortForwardingRulesResponse, error) + func (c KtCloudClient) ListPublicIpAddresses(ipListReqInfo ListPublicIpReqInfo) (ListPublicIpAddressesResponse, error) + func (c KtCloudClient) ListSSHKeyPairs(name string) (ListSshKeyPairsResponse, error) + func (c KtCloudClient) ListTags(options *ListTags) (ListTagsResponse, error) + func (c KtCloudClient) ListVirtualMachines(vmListReqInfo ListVMReqInfo) (ListVirtualMachinesResponse, error) + func (c KtCloudClient) ListZones(isAvailable bool, domainId string, zoneId string, keyword string) (ListZonesResponse, error) + func (c KtCloudClient) QueryAsyncJobResult(jobId string) (QueryAsyncJobResultResponse, error) + func (c KtCloudClient) RebootVirtualMachine(vmId string) (RebootVirtualMachineResponse, error) + func (c KtCloudClient) StartVirtualMachine(vmId string) (StartVirtualMachineResponse, error) + func (c KtCloudClient) StopVirtualMachine(vmId string) (StopVirtualMachineResponse, error) + func (c KtCloudClient) UpdateVirtualMachine(vmId string, displayname string, haenable string) (UpdateVirtualMachineResponse, error) + func (c KtCloudClient) WaitForAsyncJob(jobId string, timeOut time.Duration) error + func (c KtCloudClient) WaitForVirtualMachineState(zoneId string, vmId string, wantedState string, timeOut time.Duration) error + func (ktcloud KtCloudClient) New(apiUrl string, apiKey string, secretKey string, insecureSkipVerify bool) *KtCloudClient + type ListAvailableProductTypesResponse struct + Listavailableproducttypesresponse struct{ ... } + type ListFirewallRulesReqInfo struct + Account string + DomainId string + ID string + IpAddressId string + IsRecursive bool + Keyword string + ListAll bool + Page string + PageSize string + type ListFirewallRulesResponse struct + Listfirewallrulesresponse struct{ ... } + type ListPortForwardingRulesReqInfo struct + Account string + DomainId string + ID string + IpAddressId string + IsRecursive bool + Keyword string + ListAll bool + Page string + PageSize string + type ListPortForwardingRulesResponse struct + Listportforwardingrulesresponse struct{ ... } + type ListPublicIpAddressesResponse struct + Listpublicipaddressesresponse struct{ ... } + type ListPublicIpReqInfo struct + Account string + AllocatedOnly string + AssociatedNetworkId string + DomainId string + ForVirtualNetwork string + ID string + IpAddress string + IsRecursive bool + IsSourceNat bool + IsStaticNat bool + Keyword string + ListAll bool + Page string + PageSize string + PhysicalNetworkId string + VLanId string + ZoneId string + type ListSshKeyPairsResponse struct + Listsshkeypairsresponse struct{ ... } + type ListTags struct + Account string + DomainId string + Key string + ResourceIds string + ResourceType string + Value string + type ListTagsResponse struct + Listtagsresponse struct{ ... } + type ListVMReqInfo struct + VMId string + ZoneId string + type ListVirtualMachinesResponse struct + Listvirtualmachinesresponse struct{ ... } + type ListZonesResponse struct + Listzonesresponse struct{ ... } + type Nic struct + BroadcastUri string + Gateway string + ID string + IpAddress string + IsDefault bool + IsolationUri string + MacAddress string + Netmask string + NetworkId string + NetworkName string + SecondaryIp string + TrafficType string + Type string + type PortForwardingRule struct + CidrList string + ForDisplay bool + ID string + IpAddress string + IpAddressId string + NetworkId string + PrivateEndPort string + PrivatePort string + Protocol string + PublicEndPort string + PublicPort string + State string + Tags []interface{} + VirtualmachineDisplayName string + VirtualmachineId string + VirtualmachineName string + VmGuestIp string + type ProductTypes struct + DiskOfferingDesc string + DiskOfferingId string + Product string + ProductId string + ProductState string + ServiceOfferingDesc string + ServiceOfferingId string + TemplateDesc string + TemplateId string + ZoneDesc string + ZoneId string + type PublicIpAddress struct + Account string + Allocated string + AssociatedNetworkId string + AssociatedNetworkName string + Desc string + Domain string + DomainId string + ForVirtualNetwork string + ID string + IpAddress string + IsPortable bool + IsSourcenat bool + IsStaticNat bool + IsSystem bool + NetworktId string + PhysicalNetworkId string + State string + Tags []interface{} + UsagePlanType string + ZoneId string + ZoneName string + type QueryAsyncJobResultResponse struct + Queryasyncjobresultresponse struct{ ... } + type RebootVirtualMachineResponse struct + Rebootvirtualmachineresponse struct{ ... } + type StartVirtualMachineResponse struct + Startvirtualmachineresponse struct{ ... } + type StopVirtualMachineResponse struct + Stopvirtualmachineresponse struct{ ... } + type Tag struct + Account string + Domain string + DomainId string + Key string + ResourceId string + ResourceType string + Value string + type TagArg struct + Key string + Value string + type UpdateVirtualMachineResponse struct + Updatevirtualmachineresponse struct{ ... } + type Virtualmachine struct + Account string + AffinityGroup string + CpuNumber float64 + CpuSpeed float64 + Created string + DisplayName string + Domain string + DomainId string + GuestOsId string + Haenable bool + Hypervisor string + ID string + IsDynamicallyScalable string + KeyPair string + Memory float64 + Name string + Nic []Nic + OsTypeId string + Password string + PasswordEnabled bool + RootDeviceId float64 + RootDeviceType string + SecurityGroup []interface{} + ServiceOfferingId string + ServiceOfferingName string + State string + Tags []interface{} + TemplateDisplayText string + TemplateId string + TemplateName string + UserId string + UserName string + ZoneId string + ZoneName string + type Zone struct + AllocationState string + DhcpProvider string + ID string + LocalStorageEnabled bool + Name string + NetworkType string + SecurityGroupsEnabled bool + Tags []interface{} v0.1.0 Oct 19, 2021