Documentation ¶
Index ¶
- Variables
- type Account
- type Client
- type Cloud
- type Firewall
- type Gateway
- type Host
- type IPAddress
- type Kubernetes
- type LoadBalancer
- type ManagedDatabaseLogicalDatabaseManager
- type ManagedDatabaseServiceManager
- type ManagedDatabaseUserManager
- type ManagedObjectStorage
- type Network
- type NetworkPeering
- type ObjectStorage
- type Partner
- type Permission
- type Server
- type ServerGroup
- type Service
- func (s *Service) AddServerToServerGroup(ctx context.Context, r *request.AddServerToServerGroupRequest) error
- func (s *Service) AssignIPAddress(ctx context.Context, r *request.AssignIPAddressRequest) (*upcloud.IPAddress, error)
- func (s *Service) AttachManagedObjectStorageUserPolicy(ctx context.Context, r *request.AttachManagedObjectStorageUserPolicyRequest) error
- func (s *Service) AttachNetworkRouter(ctx context.Context, r *request.AttachNetworkRouterRequest) error
- func (s *Service) AttachStorage(ctx context.Context, r *request.AttachStorageRequest) (*upcloud.ServerDetails, error)
- func (s *Service) CancelManagedDatabaseSession(ctx context.Context, r *request.CancelManagedDatabaseSession) error
- func (s *Service) CloneManagedDatabase(ctx context.Context, r *request.CloneManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
- func (s *Service) CloneStorage(ctx context.Context, r *request.CloneStorageRequest) (*upcloud.StorageDetails, error)
- func (s *Service) CreateBackup(ctx context.Context, r *request.CreateBackupRequest) (*upcloud.StorageDetails, error)
- func (s *Service) CreateFirewallRule(ctx context.Context, r *request.CreateFirewallRuleRequest) (*upcloud.FirewallRule, error)
- func (s *Service) CreateFirewallRules(ctx context.Context, r *request.CreateFirewallRulesRequest) error
- func (s *Service) CreateGateway(ctx context.Context, r *request.CreateGatewayRequest) (*upcloud.Gateway, error)
- func (s *Service) CreateGatewayConnection(ctx context.Context, r *request.CreateGatewayConnectionRequest) (*upcloud.GatewayConnection, error)
- func (s *Service) CreateGatewayConnectionTunnel(ctx context.Context, r *request.CreateGatewayConnectionTunnelRequest) (*upcloud.GatewayTunnel, error)
- func (s *Service) CreateKubernetesCluster(ctx context.Context, r *request.CreateKubernetesClusterRequest) (*upcloud.KubernetesCluster, error)
- func (s *Service) CreateKubernetesNodeGroup(ctx context.Context, r *request.CreateKubernetesNodeGroupRequest) (*upcloud.KubernetesNodeGroup, error)
- func (s *Service) CreateLoadBalancer(ctx context.Context, r *request.CreateLoadBalancerRequest) (*upcloud.LoadBalancer, error)
- func (s *Service) CreateLoadBalancerBackend(ctx context.Context, r *request.CreateLoadBalancerBackendRequest) (*upcloud.LoadBalancerBackend, error)
- func (s *Service) CreateLoadBalancerBackendMember(ctx context.Context, r *request.CreateLoadBalancerBackendMemberRequest) (*upcloud.LoadBalancerBackendMember, error)
- func (s *Service) CreateLoadBalancerBackendTLSConfig(ctx context.Context, r *request.CreateLoadBalancerBackendTLSConfigRequest) (*upcloud.LoadBalancerBackendTLSConfig, error)
- func (s *Service) CreateLoadBalancerCertificateBundle(ctx context.Context, r *request.CreateLoadBalancerCertificateBundleRequest) (*upcloud.LoadBalancerCertificateBundle, error)
- func (s *Service) CreateLoadBalancerFrontend(ctx context.Context, r *request.CreateLoadBalancerFrontendRequest) (*upcloud.LoadBalancerFrontend, error)
- func (s *Service) CreateLoadBalancerFrontendRule(ctx context.Context, r *request.CreateLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error)
- func (s *Service) CreateLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.CreateLoadBalancerFrontendTLSConfigRequest) (*upcloud.LoadBalancerFrontendTLSConfig, error)
- func (s *Service) CreateLoadBalancerResolver(ctx context.Context, r *request.CreateLoadBalancerResolverRequest) (*upcloud.LoadBalancerResolver, error)
- func (s *Service) CreateManagedDatabase(ctx context.Context, r *request.CreateManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
- func (s *Service) CreateManagedDatabaseLogicalDatabase(ctx context.Context, r *request.CreateManagedDatabaseLogicalDatabaseRequest) (*upcloud.ManagedDatabaseLogicalDatabase, error)
- func (s *Service) CreateManagedDatabaseUser(ctx context.Context, r *request.CreateManagedDatabaseUserRequest) (*upcloud.ManagedDatabaseUser, error)
- func (s *Service) CreateManagedObjectStorage(ctx context.Context, r *request.CreateManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error)
- func (s *Service) CreateManagedObjectStorageBucket(ctx context.Context, r *request.CreateManagedObjectStorageBucketRequest) (upcloud.ManagedObjectStorageBucketMetrics, error)
- func (s *Service) CreateManagedObjectStorageCustomDomain(ctx context.Context, r *request.CreateManagedObjectStorageCustomDomainRequest) error
- func (s *Service) CreateManagedObjectStorageNetwork(ctx context.Context, r *request.CreateManagedObjectStorageNetworkRequest) (*upcloud.ManagedObjectStorageNetwork, error)
- func (s *Service) CreateManagedObjectStoragePolicy(ctx context.Context, r *request.CreateManagedObjectStoragePolicyRequest) (*upcloud.ManagedObjectStoragePolicy, error)
- func (s *Service) CreateManagedObjectStorageUser(ctx context.Context, r *request.CreateManagedObjectStorageUserRequest) (*upcloud.ManagedObjectStorageUser, error)
- func (s *Service) CreateManagedObjectStorageUserAccessKey(ctx context.Context, r *request.CreateManagedObjectStorageUserAccessKeyRequest) (*upcloud.ManagedObjectStorageUserAccessKey, error)
- func (s *Service) CreateNetwork(ctx context.Context, r *request.CreateNetworkRequest) (*upcloud.Network, error)
- func (s *Service) CreateNetworkInterface(ctx context.Context, r *request.CreateNetworkInterfaceRequest) (*upcloud.Interface, error)
- func (s *Service) CreateNetworkPeering(ctx context.Context, r *request.CreateNetworkPeeringRequest) (*upcloud.NetworkPeering, error)
- func (s *Service) CreateObjectStorage(ctx context.Context, r *request.CreateObjectStorageRequest) (*upcloud.ObjectStorageDetails, error)
- func (s *Service) CreatePartnerAccount(ctx context.Context, r *request.CreatePartnerAccountRequest) (*upcloud.PartnerAccount, error)
- func (s *Service) CreateRouter(ctx context.Context, r *request.CreateRouterRequest) (*upcloud.Router, error)
- func (s *Service) CreateServer(ctx context.Context, r *request.CreateServerRequest) (*upcloud.ServerDetails, error)
- func (s *Service) CreateServerGroup(ctx context.Context, r *request.CreateServerGroupRequest) (*upcloud.ServerGroup, error)
- func (s *Service) CreateStorage(ctx context.Context, r *request.CreateStorageRequest) (*upcloud.StorageDetails, error)
- func (s *Service) CreateStorageImport(ctx context.Context, r *request.CreateStorageImportRequest) (*upcloud.StorageImportDetails, error)
- func (s *Service) CreateSubaccount(ctx context.Context, r *request.CreateSubaccountRequest) (*upcloud.AccountDetails, error)
- func (s *Service) CreateTag(ctx context.Context, r *request.CreateTagRequest) (*upcloud.Tag, error)
- func (s *Service) DeleteFirewallRule(ctx context.Context, r *request.DeleteFirewallRuleRequest) error
- func (s *Service) DeleteGateway(ctx context.Context, r *request.DeleteGatewayRequest) error
- func (s *Service) DeleteGatewayConnection(ctx context.Context, r *request.DeleteGatewayConnectionRequest) error
- func (s *Service) DeleteGatewayConnectionTunnel(ctx context.Context, r *request.DeleteGatewayConnectionTunnelRequest) error
- func (s *Service) DeleteKubernetesCluster(ctx context.Context, r *request.DeleteKubernetesClusterRequest) error
- func (s *Service) DeleteKubernetesNodeGroup(ctx context.Context, r *request.DeleteKubernetesNodeGroupRequest) error
- func (s *Service) DeleteKubernetesNodeGroupNode(ctx context.Context, r *request.DeleteKubernetesNodeGroupNodeRequest) error
- func (s *Service) DeleteLoadBalancer(ctx context.Context, r *request.DeleteLoadBalancerRequest) error
- func (s *Service) DeleteLoadBalancerBackend(ctx context.Context, r *request.DeleteLoadBalancerBackendRequest) error
- func (s *Service) DeleteLoadBalancerBackendMember(ctx context.Context, r *request.DeleteLoadBalancerBackendMemberRequest) error
- func (s *Service) DeleteLoadBalancerBackendTLSConfig(ctx context.Context, r *request.DeleteLoadBalancerBackendTLSConfigRequest) error
- func (s *Service) DeleteLoadBalancerCertificateBundle(ctx context.Context, r *request.DeleteLoadBalancerCertificateBundleRequest) error
- func (s *Service) DeleteLoadBalancerFrontend(ctx context.Context, r *request.DeleteLoadBalancerFrontendRequest) error
- func (s *Service) DeleteLoadBalancerFrontendRule(ctx context.Context, r *request.DeleteLoadBalancerFrontendRuleRequest) error
- func (s *Service) DeleteLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.DeleteLoadBalancerFrontendTLSConfigRequest) error
- func (s *Service) DeleteLoadBalancerResolver(ctx context.Context, r *request.DeleteLoadBalancerResolverRequest) error
- func (s *Service) DeleteManagedDatabase(ctx context.Context, r *request.DeleteManagedDatabaseRequest) error
- func (s *Service) DeleteManagedDatabaseIndex(ctx context.Context, r *request.DeleteManagedDatabaseIndexRequest) error
- func (s *Service) DeleteManagedDatabaseLogicalDatabase(ctx context.Context, r *request.DeleteManagedDatabaseLogicalDatabaseRequest) error
- func (s *Service) DeleteManagedDatabaseUser(ctx context.Context, r *request.DeleteManagedDatabaseUserRequest) error
- func (s *Service) DeleteManagedObjectStorage(ctx context.Context, r *request.DeleteManagedObjectStorageRequest) error
- func (s *Service) DeleteManagedObjectStorageBucket(ctx context.Context, r *request.DeleteManagedObjectStorageBucketRequest) error
- func (s *Service) DeleteManagedObjectStorageCustomDomain(ctx context.Context, r *request.DeleteManagedObjectStorageCustomDomainRequest) error
- func (s *Service) DeleteManagedObjectStorageNetwork(ctx context.Context, r *request.DeleteManagedObjectStorageNetworkRequest) error
- func (s *Service) DeleteManagedObjectStoragePolicy(ctx context.Context, r *request.DeleteManagedObjectStoragePolicyRequest) error
- func (s *Service) DeleteManagedObjectStorageUser(ctx context.Context, r *request.DeleteManagedObjectStorageUserRequest) error
- func (s *Service) DeleteManagedObjectStorageUserAccessKey(ctx context.Context, r *request.DeleteManagedObjectStorageUserAccessKeyRequest) error
- func (s *Service) DeleteNetwork(ctx context.Context, r *request.DeleteNetworkRequest) error
- func (s *Service) DeleteNetworkInterface(ctx context.Context, r *request.DeleteNetworkInterfaceRequest) error
- func (s *Service) DeleteNetworkPeering(ctx context.Context, r *request.DeleteNetworkPeeringRequest) error
- func (s *Service) DeleteObjectStorage(ctx context.Context, r *request.DeleteObjectStorageRequest) error
- func (s *Service) DeleteRouter(ctx context.Context, r *request.DeleteRouterRequest) error
- func (s *Service) DeleteServer(ctx context.Context, r *request.DeleteServerRequest) error
- func (s *Service) DeleteServerAndStorages(ctx context.Context, r *request.DeleteServerAndStoragesRequest) error
- func (s *Service) DeleteServerGroup(ctx context.Context, r *request.DeleteServerGroupRequest) error
- func (s *Service) DeleteStorage(ctx context.Context, r *request.DeleteStorageRequest) error
- func (s *Service) DeleteSubaccount(ctx context.Context, r *request.DeleteSubaccountRequest) error
- func (s *Service) DeleteTag(ctx context.Context, r *request.DeleteTagRequest) error
- func (s *Service) DetachManagedObjectStorageUserPolicy(ctx context.Context, r *request.DetachManagedObjectStorageUserPolicyRequest) error
- func (s *Service) DetachNetworkRouter(ctx context.Context, r *request.DetachNetworkRouterRequest) error
- func (s *Service) DetachStorage(ctx context.Context, r *request.DetachStorageRequest) (*upcloud.ServerDetails, error)
- func (s *Service) EjectCDROM(ctx context.Context, r *request.EjectCDROMRequest) (*upcloud.ServerDetails, error)
- func (s *Service) GetAccount(ctx context.Context) (*upcloud.Account, error)
- func (s *Service) GetAccountDetails(ctx context.Context, r *request.GetAccountDetailsRequest) (*upcloud.AccountDetails, error)
- func (s *Service) GetAccountList(ctx context.Context) (upcloud.AccountList, error)
- func (s *Service) GetFirewallRuleDetails(ctx context.Context, r *request.GetFirewallRuleDetailsRequest) (*upcloud.FirewallRule, error)
- func (s *Service) GetFirewallRules(ctx context.Context, r *request.GetFirewallRulesRequest) (*upcloud.FirewallRules, error)
- func (s *Service) GetGateway(ctx context.Context, r *request.GetGatewayRequest) (*upcloud.Gateway, error)
- func (s *Service) GetGatewayConnection(ctx context.Context, r *request.GetGatewayConnectionRequest) (*upcloud.GatewayConnection, error)
- func (s *Service) GetGatewayConnectionTunnel(ctx context.Context, r *request.GetGatewayConnectionTunnelRequest) (*upcloud.GatewayTunnel, error)
- func (s *Service) GetGatewayConnectionTunnels(ctx context.Context, r *request.GetGatewayConnectionTunnelsRequest) ([]upcloud.GatewayTunnel, error)
- func (s *Service) GetGatewayConnections(ctx context.Context, r *request.GetGatewayConnectionsRequest) ([]upcloud.GatewayConnection, error)
- func (s *Service) GetGatewayPlans(ctx context.Context) ([]upcloud.GatewayPlan, error)
- func (s *Service) GetGateways(ctx context.Context, f ...request.QueryFilter) ([]upcloud.Gateway, error)
- func (s *Service) GetHostDetails(ctx context.Context, r *request.GetHostDetailsRequest) (*upcloud.Host, error)
- func (s *Service) GetHosts(ctx context.Context) (*upcloud.Hosts, error)
- func (s *Service) GetIPAddressDetails(ctx context.Context, r *request.GetIPAddressDetailsRequest) (*upcloud.IPAddress, error)
- func (s *Service) GetIPAddresses(ctx context.Context) (*upcloud.IPAddresses, error)
- func (s *Service) GetKubernetesCluster(ctx context.Context, r *request.GetKubernetesClusterRequest) (*upcloud.KubernetesCluster, error)
- func (s *Service) GetKubernetesClusters(ctx context.Context, r *request.GetKubernetesClustersRequest) ([]upcloud.KubernetesCluster, error)
- func (s *Service) GetKubernetesKubeconfig(ctx context.Context, r *request.GetKubernetesKubeconfigRequest) (string, error)
- func (s *Service) GetKubernetesNodeGroup(ctx context.Context, r *request.GetKubernetesNodeGroupRequest) (*upcloud.KubernetesNodeGroupDetails, error)
- func (s *Service) GetKubernetesNodeGroups(ctx context.Context, r *request.GetKubernetesNodeGroupsRequest) ([]upcloud.KubernetesNodeGroup, error)
- func (s *Service) GetKubernetesPlans(ctx context.Context, r *request.GetKubernetesPlansRequest) ([]upcloud.KubernetesPlan, error)
- func (s *Service) GetKubernetesVersions(ctx context.Context, r *request.GetKubernetesVersionsRequest) ([]upcloud.KubernetesVersion, error)
- func (s *Service) GetLoadBalancer(ctx context.Context, r *request.GetLoadBalancerRequest) (*upcloud.LoadBalancer, error)
- func (s *Service) GetLoadBalancerBackend(ctx context.Context, r *request.GetLoadBalancerBackendRequest) (*upcloud.LoadBalancerBackend, error)
- func (s *Service) GetLoadBalancerBackendMember(ctx context.Context, r *request.GetLoadBalancerBackendMemberRequest) (*upcloud.LoadBalancerBackendMember, error)
- func (s *Service) GetLoadBalancerBackendMembers(ctx context.Context, r *request.GetLoadBalancerBackendMembersRequest) ([]upcloud.LoadBalancerBackendMember, error)
- func (s *Service) GetLoadBalancerBackendTLSConfig(ctx context.Context, r *request.GetLoadBalancerBackendTLSConfigRequest) (*upcloud.LoadBalancerBackendTLSConfig, error)
- func (s *Service) GetLoadBalancerBackendTLSConfigs(ctx context.Context, r *request.GetLoadBalancerBackendTLSConfigsRequest) ([]upcloud.LoadBalancerBackendTLSConfig, error)
- func (s *Service) GetLoadBalancerBackends(ctx context.Context, r *request.GetLoadBalancerBackendsRequest) ([]upcloud.LoadBalancerBackend, error)
- func (s *Service) GetLoadBalancerCertificateBundle(ctx context.Context, r *request.GetLoadBalancerCertificateBundleRequest) (*upcloud.LoadBalancerCertificateBundle, error)
- func (s *Service) GetLoadBalancerCertificateBundles(ctx context.Context, r *request.GetLoadBalancerCertificateBundlesRequest) ([]upcloud.LoadBalancerCertificateBundle, error)
- func (s *Service) GetLoadBalancerDNSChallengeDomain(ctx context.Context, r *request.GetLoadBalancerDNSChallengeDomainRequest) (*upcloud.LoadBalancerDNSChallengeDomain, error)
- func (s *Service) GetLoadBalancerFrontend(ctx context.Context, r *request.GetLoadBalancerFrontendRequest) (*upcloud.LoadBalancerFrontend, error)
- func (s *Service) GetLoadBalancerFrontendRule(ctx context.Context, r *request.GetLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error)
- func (s *Service) GetLoadBalancerFrontendRules(ctx context.Context, r *request.GetLoadBalancerFrontendRulesRequest) ([]upcloud.LoadBalancerFrontendRule, error)
- func (s *Service) GetLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.GetLoadBalancerFrontendTLSConfigRequest) (*upcloud.LoadBalancerFrontendTLSConfig, error)
- func (s *Service) GetLoadBalancerFrontendTLSConfigs(ctx context.Context, r *request.GetLoadBalancerFrontendTLSConfigsRequest) ([]upcloud.LoadBalancerFrontendTLSConfig, error)
- func (s *Service) GetLoadBalancerFrontends(ctx context.Context, r *request.GetLoadBalancerFrontendsRequest) ([]upcloud.LoadBalancerFrontend, error)
- func (s *Service) GetLoadBalancerPlans(ctx context.Context, r *request.GetLoadBalancerPlansRequest) ([]upcloud.LoadBalancerPlan, error)
- func (s *Service) GetLoadBalancerResolver(ctx context.Context, r *request.GetLoadBalancerResolverRequest) (*upcloud.LoadBalancerResolver, error)
- func (s *Service) GetLoadBalancerResolvers(ctx context.Context, r *request.GetLoadBalancerResolversRequest) ([]upcloud.LoadBalancerResolver, error)
- func (s *Service) GetLoadBalancers(ctx context.Context, r *request.GetLoadBalancersRequest) ([]upcloud.LoadBalancer, error)
- func (s *Service) GetManagedDatabase(ctx context.Context, r *request.GetManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
- func (s *Service) GetManagedDatabaseAccessControl(ctx context.Context, r *request.GetManagedDatabaseAccessControlRequest) (*upcloud.ManagedDatabaseAccessControl, error)
- func (s *Service) GetManagedDatabaseIndices(ctx context.Context, r *request.GetManagedDatabaseIndicesRequest) ([]upcloud.ManagedDatabaseIndex, error)
- func (s *Service) GetManagedDatabaseLogicalDatabases(ctx context.Context, r *request.GetManagedDatabaseLogicalDatabasesRequest) ([]upcloud.ManagedDatabaseLogicalDatabase, error)
- func (s *Service) GetManagedDatabaseLogs(ctx context.Context, r *request.GetManagedDatabaseLogsRequest) (*upcloud.ManagedDatabaseLogs, error)
- func (s *Service) GetManagedDatabaseMetrics(ctx context.Context, r *request.GetManagedDatabaseMetricsRequest) (*upcloud.ManagedDatabaseMetrics, error)
- func (s *Service) GetManagedDatabaseQueryStatisticsMySQL(ctx context.Context, r *request.GetManagedDatabaseQueryStatisticsRequest) ([]upcloud.ManagedDatabaseQueryStatisticsMySQL, error)
- func (s *Service) GetManagedDatabaseQueryStatisticsPostgreSQL(ctx context.Context, r *request.GetManagedDatabaseQueryStatisticsRequest) ([]upcloud.ManagedDatabaseQueryStatisticsPostgreSQL, error)
- func (s *Service) GetManagedDatabaseServiceType(ctx context.Context, r *request.GetManagedDatabaseServiceTypeRequest) (*upcloud.ManagedDatabaseType, error)
- func (s *Service) GetManagedDatabaseServiceTypes(ctx context.Context, r *request.GetManagedDatabaseServiceTypesRequest) (map[string]upcloud.ManagedDatabaseType, error)
- func (s *Service) GetManagedDatabaseSessions(ctx context.Context, r *request.GetManagedDatabaseSessionsRequest) (upcloud.ManagedDatabaseSessions, error)
- func (s *Service) GetManagedDatabaseUser(ctx context.Context, r *request.GetManagedDatabaseUserRequest) (*upcloud.ManagedDatabaseUser, error)
- func (s *Service) GetManagedDatabaseUsers(ctx context.Context, r *request.GetManagedDatabaseUsersRequest) ([]upcloud.ManagedDatabaseUser, error)
- func (s *Service) GetManagedDatabaseVersions(ctx context.Context, r *request.GetManagedDatabaseVersionsRequest) ([]string, error)
- func (s *Service) GetManagedDatabases(ctx context.Context, r *request.GetManagedDatabasesRequest) ([]upcloud.ManagedDatabase, error)
- func (s *Service) GetManagedObjectStorage(ctx context.Context, r *request.GetManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error)
- func (s *Service) GetManagedObjectStorageBucketMetrics(ctx context.Context, r *request.GetManagedObjectStorageBucketMetricsRequest) ([]upcloud.ManagedObjectStorageBucketMetrics, error)
- func (s *Service) GetManagedObjectStorageCustomDomain(ctx context.Context, r *request.GetManagedObjectStorageCustomDomainRequest) (*upcloud.ManagedObjectStorageCustomDomain, error)
- func (s *Service) GetManagedObjectStorageCustomDomains(ctx context.Context, r *request.GetManagedObjectStorageCustomDomainsRequest) ([]upcloud.ManagedObjectStorageCustomDomain, error)
- func (s *Service) GetManagedObjectStorageMetrics(ctx context.Context, r *request.GetManagedObjectStorageMetricsRequest) (*upcloud.ManagedObjectStorageMetrics, error)
- func (s *Service) GetManagedObjectStorageNetwork(ctx context.Context, r *request.GetManagedObjectStorageNetworkRequest) (*upcloud.ManagedObjectStorageNetwork, error)
- func (s *Service) GetManagedObjectStorageNetworks(ctx context.Context, r *request.GetManagedObjectStorageNetworksRequest) ([]upcloud.ManagedObjectStorageNetwork, error)
- func (s *Service) GetManagedObjectStoragePolicies(ctx context.Context, r *request.GetManagedObjectStoragePoliciesRequest) ([]upcloud.ManagedObjectStoragePolicy, error)
- func (s *Service) GetManagedObjectStoragePolicy(ctx context.Context, r *request.GetManagedObjectStoragePolicyRequest) (*upcloud.ManagedObjectStoragePolicy, error)
- func (s *Service) GetManagedObjectStorageRegion(ctx context.Context, r *request.GetManagedObjectStorageRegionRequest) (*upcloud.ManagedObjectStorageRegion, error)
- func (s *Service) GetManagedObjectStorageRegions(ctx context.Context, r *request.GetManagedObjectStorageRegionsRequest) ([]upcloud.ManagedObjectStorageRegion, error)
- func (s *Service) GetManagedObjectStorageUser(ctx context.Context, r *request.GetManagedObjectStorageUserRequest) (*upcloud.ManagedObjectStorageUser, error)
- func (s *Service) GetManagedObjectStorageUserAccessKey(ctx context.Context, r *request.GetManagedObjectStorageUserAccessKeyRequest) (*upcloud.ManagedObjectStorageUserAccessKey, error)
- func (s *Service) GetManagedObjectStorageUserAccessKeys(ctx context.Context, r *request.GetManagedObjectStorageUserAccessKeysRequest) ([]upcloud.ManagedObjectStorageUserAccessKey, error)
- func (s *Service) GetManagedObjectStorageUserPolicies(ctx context.Context, r *request.GetManagedObjectStorageUserPoliciesRequest) ([]upcloud.ManagedObjectStorageUserPolicy, error)
- func (s *Service) GetManagedObjectStorageUsers(ctx context.Context, r *request.GetManagedObjectStorageUsersRequest) ([]upcloud.ManagedObjectStorageUser, error)
- func (s *Service) GetManagedObjectStorages(ctx context.Context, r *request.GetManagedObjectStoragesRequest) ([]upcloud.ManagedObjectStorage, error)
- func (s *Service) GetNetworkDetails(ctx context.Context, r *request.GetNetworkDetailsRequest) (*upcloud.Network, error)
- func (s *Service) GetNetworkPeering(ctx context.Context, r *request.GetNetworkPeeringRequest) (*upcloud.NetworkPeering, error)
- func (s *Service) GetNetworkPeerings(ctx context.Context, f ...request.QueryFilter) (upcloud.NetworkPeerings, error)
- func (s *Service) GetNetworks(ctx context.Context, f ...request.QueryFilter) (*upcloud.Networks, error)
- func (s *Service) GetNetworksInZone(ctx context.Context, r *request.GetNetworksInZoneRequest) (*upcloud.Networks, error)
- func (s *Service) GetObjectStorageDetails(ctx context.Context, r *request.GetObjectStorageDetailsRequest) (*upcloud.ObjectStorageDetails, error)
- func (s *Service) GetObjectStorages(ctx context.Context) (*upcloud.ObjectStorages, error)
- func (s *Service) GetPartnerAccounts(ctx context.Context) ([]upcloud.PartnerAccount, error)
- func (s *Service) GetPermissions(ctx context.Context, r *request.GetPermissionsRequest) (upcloud.Permissions, error)
- func (s *Service) GetPlans(ctx context.Context) (*upcloud.Plans, error)
- func (s *Service) GetPriceZones(ctx context.Context) (*upcloud.PriceZones, error)
- func (s *Service) GetRouterDetails(ctx context.Context, r *request.GetRouterDetailsRequest) (*upcloud.Router, error)
- func (s *Service) GetRouters(ctx context.Context, f ...request.QueryFilter) (*upcloud.Routers, error)
- func (s *Service) GetServerConfigurations(ctx context.Context) (*upcloud.ServerConfigurations, error)
- func (s *Service) GetServerDetails(ctx context.Context, r *request.GetServerDetailsRequest) (*upcloud.ServerDetails, error)
- func (s *Service) GetServerGroup(ctx context.Context, r *request.GetServerGroupRequest) (*upcloud.ServerGroup, error)
- func (s *Service) GetServerGroups(ctx context.Context, r *request.GetServerGroupsRequest) (upcloud.ServerGroups, error)
- func (s *Service) GetServerGroupsWithFilters(ctx context.Context, r *request.GetServerGroupsWithFiltersRequest) (upcloud.ServerGroups, error)deprecated
- func (s *Service) GetServerNetworks(ctx context.Context, r *request.GetServerNetworksRequest) (*upcloud.Networking, error)
- func (s *Service) GetServers(ctx context.Context) (*upcloud.Servers, error)
- func (s *Service) GetServersWithFilters(ctx context.Context, r *request.GetServersWithFiltersRequest) (*upcloud.Servers, error)
- func (s *Service) GetStorageDetails(ctx context.Context, r *request.GetStorageDetailsRequest) (*upcloud.StorageDetails, error)
- func (s *Service) GetStorageImportDetails(ctx context.Context, r *request.GetStorageImportDetailsRequest) (*upcloud.StorageImportDetails, error)
- func (s *Service) GetStorages(ctx context.Context, r *request.GetStoragesRequest) (*upcloud.Storages, error)
- func (s *Service) GetTags(ctx context.Context) (*upcloud.Tags, error)
- func (s *Service) GetTimeZones(ctx context.Context) (*upcloud.TimeZones, error)
- func (s *Service) GetZones(ctx context.Context) (*upcloud.Zones, error)
- func (s *Service) GrantPermission(ctx context.Context, r *request.GrantPermissionRequest) (*upcloud.Permission, error)
- func (s *Service) LoadCDROM(ctx context.Context, r *request.LoadCDROMRequest) (*upcloud.ServerDetails, error)
- func (s *Service) ModifyGateway(ctx context.Context, r *request.ModifyGatewayRequest) (*upcloud.Gateway, error)
- func (s *Service) ModifyGatewayConnection(ctx context.Context, r *request.ModifyGatewayConnectionRequest) (*upcloud.GatewayConnection, error)
- func (s *Service) ModifyGatewayConnectionTunnel(ctx context.Context, r *request.ModifyGatewayConnectionTunnelRequest) (*upcloud.GatewayTunnel, error)
- func (s *Service) ModifyHost(ctx context.Context, r *request.ModifyHostRequest) (*upcloud.Host, error)
- func (s *Service) ModifyIPAddress(ctx context.Context, r *request.ModifyIPAddressRequest) (*upcloud.IPAddress, error)
- func (s *Service) ModifyKubernetesCluster(ctx context.Context, r *request.ModifyKubernetesClusterRequest) (*upcloud.KubernetesCluster, error)
- func (s *Service) ModifyKubernetesNodeGroup(ctx context.Context, r *request.ModifyKubernetesNodeGroupRequest) (*upcloud.KubernetesNodeGroup, error)
- func (s *Service) ModifyLoadBalancer(ctx context.Context, r *request.ModifyLoadBalancerRequest) (*upcloud.LoadBalancer, error)
- func (s *Service) ModifyLoadBalancerBackend(ctx context.Context, r *request.ModifyLoadBalancerBackendRequest) (*upcloud.LoadBalancerBackend, error)
- func (s *Service) ModifyLoadBalancerBackendMember(ctx context.Context, r *request.ModifyLoadBalancerBackendMemberRequest) (*upcloud.LoadBalancerBackendMember, error)
- func (s *Service) ModifyLoadBalancerBackendTLSConfig(ctx context.Context, r *request.ModifyLoadBalancerBackendTLSConfigRequest) (*upcloud.LoadBalancerBackendTLSConfig, error)
- func (s *Service) ModifyLoadBalancerCertificateBundle(ctx context.Context, r *request.ModifyLoadBalancerCertificateBundleRequest) (*upcloud.LoadBalancerCertificateBundle, error)
- func (s *Service) ModifyLoadBalancerFrontend(ctx context.Context, r *request.ModifyLoadBalancerFrontendRequest) (*upcloud.LoadBalancerFrontend, error)
- func (s *Service) ModifyLoadBalancerFrontendRule(ctx context.Context, r *request.ModifyLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error)
- func (s *Service) ModifyLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.ModifyLoadBalancerFrontendTLSConfigRequest) (*upcloud.LoadBalancerFrontendTLSConfig, error)
- func (s *Service) ModifyLoadBalancerNetwork(ctx context.Context, r *request.ModifyLoadBalancerNetworkRequest) (*upcloud.LoadBalancerNetwork, error)
- func (s *Service) ModifyLoadBalancerResolver(ctx context.Context, r *request.ModifyLoadBalancerResolverRequest) (*upcloud.LoadBalancerResolver, error)
- func (s *Service) ModifyManagedDatabase(ctx context.Context, r *request.ModifyManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
- func (s *Service) ModifyManagedDatabaseAccessControl(ctx context.Context, r *request.ModifyManagedDatabaseAccessControlRequest) (*upcloud.ManagedDatabaseAccessControl, error)
- func (s *Service) ModifyManagedDatabaseUser(ctx context.Context, r *request.ModifyManagedDatabaseUserRequest) (*upcloud.ManagedDatabaseUser, error)
- func (s *Service) ModifyManagedDatabaseUserAccessControl(ctx context.Context, r *request.ModifyManagedDatabaseUserAccessControlRequest) (*upcloud.ManagedDatabaseUser, error)
- func (s *Service) ModifyManagedObjectStorage(ctx context.Context, r *request.ModifyManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error)
- func (s *Service) ModifyManagedObjectStorageCustomDomain(ctx context.Context, r *request.ModifyManagedObjectStorageCustomDomainRequest) (*upcloud.ManagedObjectStorageCustomDomain, error)
- func (s *Service) ModifyManagedObjectStorageUserAccessKey(ctx context.Context, r *request.ModifyManagedObjectStorageUserAccessKeyRequest) (*upcloud.ManagedObjectStorageUserAccessKey, error)
- func (s *Service) ModifyNetwork(ctx context.Context, r *request.ModifyNetworkRequest) (*upcloud.Network, error)
- func (s *Service) ModifyNetworkInterface(ctx context.Context, r *request.ModifyNetworkInterfaceRequest) (*upcloud.Interface, error)
- func (s *Service) ModifyNetworkPeering(ctx context.Context, r *request.ModifyNetworkPeeringRequest) (*upcloud.NetworkPeering, error)
- func (s *Service) ModifyObjectStorage(ctx context.Context, r *request.ModifyObjectStorageRequest) (*upcloud.ObjectStorageDetails, error)
- func (s *Service) ModifyRouter(ctx context.Context, r *request.ModifyRouterRequest) (*upcloud.Router, error)
- func (s *Service) ModifyServer(ctx context.Context, r *request.ModifyServerRequest) (*upcloud.ServerDetails, error)
- func (s *Service) ModifyServerGroup(ctx context.Context, r *request.ModifyServerGroupRequest) (*upcloud.ServerGroup, error)
- func (s *Service) ModifyStorage(ctx context.Context, r *request.ModifyStorageRequest) (*upcloud.StorageDetails, error)
- func (s *Service) ModifySubaccount(ctx context.Context, r *request.ModifySubaccountRequest) (*upcloud.AccountDetails, error)
- func (s *Service) ModifyTag(ctx context.Context, r *request.ModifyTagRequest) (*upcloud.Tag, error)
- func (s *Service) ReleaseIPAddress(ctx context.Context, r *request.ReleaseIPAddressRequest) error
- func (s *Service) RemoveServerFromServerGroup(ctx context.Context, r *request.RemoveServerFromServerGroupRequest) error
- func (s *Service) ReplaceLoadBalancerFrontendRule(ctx context.Context, r *request.ReplaceLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error)
- func (s *Service) ReplaceManagedObjectStorage(ctx context.Context, r *request.ReplaceManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error)
- func (s *Service) ResizeStorageFilesystem(ctx context.Context, r *request.ResizeStorageFilesystemRequest) (*upcloud.ResizeStorageFilesystemBackup, error)
- func (s *Service) RestartServer(ctx context.Context, r *request.RestartServerRequest) (*upcloud.ServerDetails, error)
- func (s *Service) RestoreBackup(ctx context.Context, r *request.RestoreBackupRequest) error
- func (s *Service) RevokePermission(ctx context.Context, r *request.RevokePermissionRequest) error
- func (s *Service) ShutdownManagedDatabase(ctx context.Context, r *request.ShutdownManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
- func (s *Service) StartManagedDatabase(ctx context.Context, r *request.StartManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
- func (s *Service) StartServer(ctx context.Context, r *request.StartServerRequest) (*upcloud.ServerDetails, error)
- func (s *Service) StopServer(ctx context.Context, r *request.StopServerRequest) (*upcloud.ServerDetails, error)
- func (s *Service) TagServer(ctx context.Context, r *request.TagServerRequest) (*upcloud.ServerDetails, error)
- func (s *Service) TemplatizeStorage(ctx context.Context, r *request.TemplatizeStorageRequest) (*upcloud.StorageDetails, error)
- func (s *Service) UntagServer(ctx context.Context, r *request.UntagServerRequest) (*upcloud.ServerDetails, error)
- func (s *Service) UpgradeManagedDatabaseVersion(ctx context.Context, r *request.UpgradeManagedDatabaseVersionRequest) (*upcloud.ManagedDatabase, error)
- func (s *Service) WaitForKubernetesClusterState(ctx context.Context, r *request.WaitForKubernetesClusterStateRequest) (*upcloud.KubernetesCluster, error)
- func (s *Service) WaitForKubernetesNodeGroupState(ctx context.Context, r *request.WaitForKubernetesNodeGroupStateRequest) (*upcloud.KubernetesNodeGroup, error)
- func (s *Service) WaitForManagedDatabaseState(ctx context.Context, r *request.WaitForManagedDatabaseStateRequest) (*upcloud.ManagedDatabase, error)
- func (s *Service) WaitForManagedObjectStorageBucketDeletion(ctx context.Context, ...) error
- func (s *Service) WaitForManagedObjectStorageDeletion(ctx context.Context, r *request.WaitForManagedObjectStorageDeletionRequest) error
- func (s *Service) WaitForManagedObjectStorageOperationalState(ctx context.Context, ...) (*upcloud.ManagedObjectStorage, error)
- func (s *Service) WaitForNetworkPeeringState(ctx context.Context, r *request.WaitForNetworkPeeringStateRequest) (*upcloud.NetworkPeering, error)
- func (s *Service) WaitForServerState(ctx context.Context, r *request.WaitForServerStateRequest) (*upcloud.ServerDetails, error)
- func (s *Service) WaitForStorageImportCompletion(ctx context.Context, r *request.WaitForStorageImportCompletionRequest) (*upcloud.StorageImportDetails, error)
- func (s *Service) WaitForStorageState(ctx context.Context, r *request.WaitForStorageStateRequest) (*upcloud.StorageDetails, error)
- type Storage
- type Tag
Examples ¶
Constants ¶
This section is empty.
Variables ¶
var ErrCancelManagedDatabaseSession = errors.New("managed database session cancellation failed")
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account interface { GetAccountList(ctx context.Context) (upcloud.AccountList, error) GetAccount(ctx context.Context) (*upcloud.Account, error) GetAccountDetails(ctx context.Context, r *request.GetAccountDetailsRequest) (*upcloud.AccountDetails, error) CreateSubaccount(ctx context.Context, r *request.CreateSubaccountRequest) (*upcloud.AccountDetails, error) ModifySubaccount(ctx context.Context, r *request.ModifySubaccountRequest) (*upcloud.AccountDetails, error) DeleteSubaccount(ctx context.Context, r *request.DeleteSubaccountRequest) error }
type Client ¶
type Client interface { // Get performs a GET request to the specified path and returns the response body. Get(ctx context.Context, path string) ([]byte, error) // Post performs a POST request to the specified path and returns the response body. Post(ctx context.Context, path string, body []byte) ([]byte, error) // Put performs a PUT request to the specified path and returns the response body. Put(ctx context.Context, path string, body []byte) ([]byte, error) // Patch performs a PATCH request to the specified path and returns the response body. Patch(ctx context.Context, path string, body []byte) ([]byte, error) // Delete performs a DELETE request to the specified path and returns the response body. Delete(ctx context.Context, path string) ([]byte, error) // Do performs a HTTP request using custom request object and returns the response body. Do(r *http.Request) ([]byte, error) }
type Firewall ¶
type Firewall interface { GetFirewallRules(ctx context.Context, r *request.GetFirewallRulesRequest) (*upcloud.FirewallRules, error) GetFirewallRuleDetails(ctx context.Context, r *request.GetFirewallRuleDetailsRequest) (*upcloud.FirewallRule, error) CreateFirewallRule(ctx context.Context, r *request.CreateFirewallRuleRequest) (*upcloud.FirewallRule, error) CreateFirewallRules(ctx context.Context, r *request.CreateFirewallRulesRequest) error DeleteFirewallRule(ctx context.Context, r *request.DeleteFirewallRuleRequest) error }
type Gateway ¶
type Gateway interface { GetGatewayPlans(ctx context.Context) ([]upcloud.GatewayPlan, error) GetGateways(ctx context.Context, f ...request.QueryFilter) ([]upcloud.Gateway, error) GetGateway(ctx context.Context, r *request.GetGatewayRequest) (*upcloud.Gateway, error) CreateGateway(ctx context.Context, r *request.CreateGatewayRequest) (*upcloud.Gateway, error) ModifyGateway(ctx context.Context, r *request.ModifyGatewayRequest) (*upcloud.Gateway, error) DeleteGateway(ctx context.Context, r *request.DeleteGatewayRequest) error GetGatewayConnections(ctx context.Context, r *request.GetGatewayConnectionsRequest) ([]upcloud.GatewayConnection, error) GetGatewayConnection(ctx context.Context, r *request.GetGatewayConnectionRequest) (*upcloud.GatewayConnection, error) CreateGatewayConnection(ctx context.Context, r *request.CreateGatewayConnectionRequest) (*upcloud.GatewayConnection, error) ModifyGatewayConnection(ctx context.Context, r *request.ModifyGatewayConnectionRequest) (*upcloud.GatewayConnection, error) DeleteGatewayConnection(ctx context.Context, r *request.DeleteGatewayConnectionRequest) error GetGatewayConnectionTunnels(ctx context.Context, r *request.GetGatewayConnectionTunnelsRequest) ([]upcloud.GatewayTunnel, error) GetGatewayConnectionTunnel(ctx context.Context, r *request.GetGatewayConnectionTunnelRequest) (*upcloud.GatewayTunnel, error) CreateGatewayConnectionTunnel(ctx context.Context, r *request.CreateGatewayConnectionTunnelRequest) (*upcloud.GatewayTunnel, error) // ModifyGatewayConnectionTunnel(ctx context.Context, r *request.ModifyGatewayConnectionTunnelRequest) (*upcloud.GatewayTunnel, error) DeleteGatewayConnectionTunnel(ctx context.Context, r *request.DeleteGatewayConnectionTunnelRequest) error }
type IPAddress ¶
type IPAddress interface { GetIPAddresses(ctx context.Context) (*upcloud.IPAddresses, error) GetIPAddressDetails(ctx context.Context, r *request.GetIPAddressDetailsRequest) (*upcloud.IPAddress, error) AssignIPAddress(ctx context.Context, r *request.AssignIPAddressRequest) (*upcloud.IPAddress, error) ModifyIPAddress(ctx context.Context, r *request.ModifyIPAddressRequest) (*upcloud.IPAddress, error) ReleaseIPAddress(ctx context.Context, r *request.ReleaseIPAddressRequest) error }
type Kubernetes ¶
type Kubernetes interface { GetKubernetesClusters(ctx context.Context, r *request.GetKubernetesClustersRequest) ([]upcloud.KubernetesCluster, error) GetKubernetesCluster(ctx context.Context, r *request.GetKubernetesClusterRequest) (*upcloud.KubernetesCluster, error) CreateKubernetesCluster(ctx context.Context, r *request.CreateKubernetesClusterRequest) (*upcloud.KubernetesCluster, error) ModifyKubernetesCluster(ctx context.Context, r *request.ModifyKubernetesClusterRequest) (*upcloud.KubernetesCluster, error) DeleteKubernetesCluster(ctx context.Context, r *request.DeleteKubernetesClusterRequest) error GetKubernetesKubeconfig(ctx context.Context, r *request.GetKubernetesKubeconfigRequest) (string, error) GetKubernetesVersions(ctx context.Context, r *request.GetKubernetesVersionsRequest) ([]upcloud.KubernetesVersion, error) WaitForKubernetesClusterState(ctx context.Context, r *request.WaitForKubernetesClusterStateRequest) (*upcloud.KubernetesCluster, error) GetKubernetesNodeGroups(ctx context.Context, r *request.GetKubernetesNodeGroupsRequest) ([]upcloud.KubernetesNodeGroup, error) GetKubernetesNodeGroup(ctx context.Context, r *request.GetKubernetesNodeGroupRequest) (*upcloud.KubernetesNodeGroupDetails, error) CreateKubernetesNodeGroup(ctx context.Context, r *request.CreateKubernetesNodeGroupRequest) (*upcloud.KubernetesNodeGroup, error) ModifyKubernetesNodeGroup(ctx context.Context, r *request.ModifyKubernetesNodeGroupRequest) (*upcloud.KubernetesNodeGroup, error) WaitForKubernetesNodeGroupState(ctx context.Context, r *request.WaitForKubernetesNodeGroupStateRequest) (*upcloud.KubernetesNodeGroup, error) DeleteKubernetesNodeGroup(ctx context.Context, r *request.DeleteKubernetesNodeGroupRequest) error DeleteKubernetesNodeGroupNode(ctx context.Context, r *request.DeleteKubernetesNodeGroupNodeRequest) error GetKubernetesPlans(ctx context.Context, r *request.GetKubernetesPlansRequest) ([]upcloud.KubernetesPlan, error) }
type LoadBalancer ¶
type LoadBalancer interface { GetLoadBalancers(ctx context.Context, r *request.GetLoadBalancersRequest) ([]upcloud.LoadBalancer, error) GetLoadBalancer(ctx context.Context, r *request.GetLoadBalancerRequest) (*upcloud.LoadBalancer, error) CreateLoadBalancer(ctx context.Context, r *request.CreateLoadBalancerRequest) (*upcloud.LoadBalancer, error) ModifyLoadBalancer(ctx context.Context, r *request.ModifyLoadBalancerRequest) (*upcloud.LoadBalancer, error) DeleteLoadBalancer(ctx context.Context, r *request.DeleteLoadBalancerRequest) error // Backends GetLoadBalancerBackends(ctx context.Context, r *request.GetLoadBalancerBackendsRequest) ([]upcloud.LoadBalancerBackend, error) GetLoadBalancerBackend(ctx context.Context, r *request.GetLoadBalancerBackendRequest) (*upcloud.LoadBalancerBackend, error) CreateLoadBalancerBackend(ctx context.Context, r *request.CreateLoadBalancerBackendRequest) (*upcloud.LoadBalancerBackend, error) ModifyLoadBalancerBackend(ctx context.Context, r *request.ModifyLoadBalancerBackendRequest) (*upcloud.LoadBalancerBackend, error) DeleteLoadBalancerBackend(ctx context.Context, r *request.DeleteLoadBalancerBackendRequest) error // Backend members GetLoadBalancerBackendMembers(ctx context.Context, r *request.GetLoadBalancerBackendMembersRequest) ([]upcloud.LoadBalancerBackendMember, error) GetLoadBalancerBackendMember(ctx context.Context, r *request.GetLoadBalancerBackendMemberRequest) (*upcloud.LoadBalancerBackendMember, error) CreateLoadBalancerBackendMember(ctx context.Context, r *request.CreateLoadBalancerBackendMemberRequest) (*upcloud.LoadBalancerBackendMember, error) ModifyLoadBalancerBackendMember(ctx context.Context, r *request.ModifyLoadBalancerBackendMemberRequest) (*upcloud.LoadBalancerBackendMember, error) DeleteLoadBalancerBackendMember(ctx context.Context, r *request.DeleteLoadBalancerBackendMemberRequest) error // Backend TLS Config GetLoadBalancerBackendTLSConfigs(ctx context.Context, r *request.GetLoadBalancerBackendTLSConfigsRequest) ([]upcloud.LoadBalancerBackendTLSConfig, error) GetLoadBalancerBackendTLSConfig(ctx context.Context, r *request.GetLoadBalancerBackendTLSConfigRequest) (*upcloud.LoadBalancerBackendTLSConfig, error) CreateLoadBalancerBackendTLSConfig(ctx context.Context, r *request.CreateLoadBalancerBackendTLSConfigRequest) (*upcloud.LoadBalancerBackendTLSConfig, error) ModifyLoadBalancerBackendTLSConfig(ctx context.Context, r *request.ModifyLoadBalancerBackendTLSConfigRequest) (*upcloud.LoadBalancerBackendTLSConfig, error) DeleteLoadBalancerBackendTLSConfig(ctx context.Context, r *request.DeleteLoadBalancerBackendTLSConfigRequest) error // Resolvers GetLoadBalancerResolvers(ctx context.Context, r *request.GetLoadBalancerResolversRequest) ([]upcloud.LoadBalancerResolver, error) CreateLoadBalancerResolver(ctx context.Context, r *request.CreateLoadBalancerResolverRequest) (*upcloud.LoadBalancerResolver, error) GetLoadBalancerResolver(ctx context.Context, r *request.GetLoadBalancerResolverRequest) (*upcloud.LoadBalancerResolver, error) ModifyLoadBalancerResolver(ctx context.Context, r *request.ModifyLoadBalancerResolverRequest) (*upcloud.LoadBalancerResolver, error) DeleteLoadBalancerResolver(ctx context.Context, r *request.DeleteLoadBalancerResolverRequest) error // Plans GetLoadBalancerPlans(ctx context.Context, r *request.GetLoadBalancerPlansRequest) ([]upcloud.LoadBalancerPlan, error) // Frontends GetLoadBalancerFrontends(ctx context.Context, r *request.GetLoadBalancerFrontendsRequest) ([]upcloud.LoadBalancerFrontend, error) GetLoadBalancerFrontend(ctx context.Context, r *request.GetLoadBalancerFrontendRequest) (*upcloud.LoadBalancerFrontend, error) CreateLoadBalancerFrontend(ctx context.Context, r *request.CreateLoadBalancerFrontendRequest) (*upcloud.LoadBalancerFrontend, error) ModifyLoadBalancerFrontend(ctx context.Context, r *request.ModifyLoadBalancerFrontendRequest) (*upcloud.LoadBalancerFrontend, error) DeleteLoadBalancerFrontend(ctx context.Context, r *request.DeleteLoadBalancerFrontendRequest) error // Frontend rules GetLoadBalancerFrontendRules(ctx context.Context, r *request.GetLoadBalancerFrontendRulesRequest) ([]upcloud.LoadBalancerFrontendRule, error) GetLoadBalancerFrontendRule(ctx context.Context, r *request.GetLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error) CreateLoadBalancerFrontendRule(ctx context.Context, r *request.CreateLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error) ModifyLoadBalancerFrontendRule(ctx context.Context, r *request.ModifyLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error) ReplaceLoadBalancerFrontendRule(ctx context.Context, r *request.ReplaceLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error) DeleteLoadBalancerFrontendRule(ctx context.Context, r *request.DeleteLoadBalancerFrontendRuleRequest) error // Frontend TLS Config GetLoadBalancerFrontendTLSConfigs(ctx context.Context, r *request.GetLoadBalancerFrontendTLSConfigsRequest) ([]upcloud.LoadBalancerFrontendTLSConfig, error) GetLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.GetLoadBalancerFrontendTLSConfigRequest) (*upcloud.LoadBalancerFrontendTLSConfig, error) CreateLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.CreateLoadBalancerFrontendTLSConfigRequest) (*upcloud.LoadBalancerFrontendTLSConfig, error) ModifyLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.ModifyLoadBalancerFrontendTLSConfigRequest) (*upcloud.LoadBalancerFrontendTLSConfig, error) DeleteLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.DeleteLoadBalancerFrontendTLSConfigRequest) error // Certificate bundles GetLoadBalancerCertificateBundles(ctx context.Context, r *request.GetLoadBalancerCertificateBundlesRequest) ([]upcloud.LoadBalancerCertificateBundle, error) GetLoadBalancerCertificateBundle(ctx context.Context, r *request.GetLoadBalancerCertificateBundleRequest) (*upcloud.LoadBalancerCertificateBundle, error) CreateLoadBalancerCertificateBundle(ctx context.Context, r *request.CreateLoadBalancerCertificateBundleRequest) (*upcloud.LoadBalancerCertificateBundle, error) ModifyLoadBalancerCertificateBundle(ctx context.Context, r *request.ModifyLoadBalancerCertificateBundleRequest) (*upcloud.LoadBalancerCertificateBundle, error) DeleteLoadBalancerCertificateBundle(ctx context.Context, r *request.DeleteLoadBalancerCertificateBundleRequest) error // Networks ModifyLoadBalancerNetwork(ctx context.Context, r *request.ModifyLoadBalancerNetworkRequest) (*upcloud.LoadBalancerNetwork, error) GetLoadBalancerDNSChallengeDomain(ctx context.Context, r *request.GetLoadBalancerDNSChallengeDomainRequest) (*upcloud.LoadBalancerDNSChallengeDomain, error) }
type ManagedDatabaseLogicalDatabaseManager ¶
type ManagedDatabaseLogicalDatabaseManager interface { CreateManagedDatabaseLogicalDatabase(ctx context.Context, r *request.CreateManagedDatabaseLogicalDatabaseRequest) (*upcloud.ManagedDatabaseLogicalDatabase, error) GetManagedDatabaseLogicalDatabases(ctx context.Context, r *request.GetManagedDatabaseLogicalDatabasesRequest) ([]upcloud.ManagedDatabaseLogicalDatabase, error) DeleteManagedDatabaseLogicalDatabase(ctx context.Context, r *request.DeleteManagedDatabaseLogicalDatabaseRequest) error }
type ManagedDatabaseServiceManager ¶
type ManagedDatabaseServiceManager interface { CancelManagedDatabaseSession(ctx context.Context, r *request.CancelManagedDatabaseSession) error CloneManagedDatabase(ctx context.Context, r *request.CloneManagedDatabaseRequest) (*upcloud.ManagedDatabase, error) CreateManagedDatabase(ctx context.Context, r *request.CreateManagedDatabaseRequest) (*upcloud.ManagedDatabase, error) GetManagedDatabase(ctx context.Context, r *request.GetManagedDatabaseRequest) (*upcloud.ManagedDatabase, error) GetManagedDatabases(ctx context.Context, r *request.GetManagedDatabasesRequest) ([]upcloud.ManagedDatabase, error) GetManagedDatabaseAccessControl(ctx context.Context, r *request.GetManagedDatabaseAccessControlRequest) (*upcloud.ManagedDatabaseAccessControl, error) GetManagedDatabaseSessions(ctx context.Context, r *request.GetManagedDatabaseSessionsRequest) (upcloud.ManagedDatabaseSessions, error) GetManagedDatabaseIndices(ctx context.Context, r *request.GetManagedDatabaseIndicesRequest) ([]upcloud.ManagedDatabaseIndex, error) GetManagedDatabaseMetrics(ctx context.Context, r *request.GetManagedDatabaseMetricsRequest) (*upcloud.ManagedDatabaseMetrics, error) GetManagedDatabaseLogs(ctx context.Context, r *request.GetManagedDatabaseLogsRequest) (*upcloud.ManagedDatabaseLogs, error) GetManagedDatabaseQueryStatisticsMySQL(ctx context.Context, r *request.GetManagedDatabaseQueryStatisticsRequest) ([]upcloud.ManagedDatabaseQueryStatisticsMySQL, error) GetManagedDatabaseQueryStatisticsPostgreSQL(ctx context.Context, r *request.GetManagedDatabaseQueryStatisticsRequest) ([]upcloud.ManagedDatabaseQueryStatisticsPostgreSQL, error) DeleteManagedDatabase(ctx context.Context, r *request.DeleteManagedDatabaseRequest) error DeleteManagedDatabaseIndex(ctx context.Context, r *request.DeleteManagedDatabaseIndexRequest) error ModifyManagedDatabase(ctx context.Context, r *request.ModifyManagedDatabaseRequest) (*upcloud.ManagedDatabase, error) ModifyManagedDatabaseAccessControl(ctx context.Context, r *request.ModifyManagedDatabaseAccessControlRequest) (*upcloud.ManagedDatabaseAccessControl, error) UpgradeManagedDatabaseVersion(ctx context.Context, r *request.UpgradeManagedDatabaseVersionRequest) (*upcloud.ManagedDatabase, error) GetManagedDatabaseVersions(ctx context.Context, r *request.GetManagedDatabaseVersionsRequest) ([]string, error) StartManagedDatabase(ctx context.Context, r *request.StartManagedDatabaseRequest) (*upcloud.ManagedDatabase, error) ShutdownManagedDatabase(ctx context.Context, r *request.ShutdownManagedDatabaseRequest) (*upcloud.ManagedDatabase, error) WaitForManagedDatabaseState(ctx context.Context, r *request.WaitForManagedDatabaseStateRequest) (*upcloud.ManagedDatabase, error) GetManagedDatabaseServiceType(ctx context.Context, r *request.GetManagedDatabaseServiceTypeRequest) (*upcloud.ManagedDatabaseType, error) GetManagedDatabaseServiceTypes(ctx context.Context, r *request.GetManagedDatabaseServiceTypesRequest) (map[string]upcloud.ManagedDatabaseType, error) }
type ManagedDatabaseUserManager ¶
type ManagedDatabaseUserManager interface { CreateManagedDatabaseUser(ctx context.Context, r *request.CreateManagedDatabaseUserRequest) (*upcloud.ManagedDatabaseUser, error) GetManagedDatabaseUser(ctx context.Context, r *request.GetManagedDatabaseUserRequest) (*upcloud.ManagedDatabaseUser, error) GetManagedDatabaseUsers(ctx context.Context, r *request.GetManagedDatabaseUsersRequest) ([]upcloud.ManagedDatabaseUser, error) DeleteManagedDatabaseUser(ctx context.Context, r *request.DeleteManagedDatabaseUserRequest) error ModifyManagedDatabaseUser(ctx context.Context, r *request.ModifyManagedDatabaseUserRequest) (*upcloud.ManagedDatabaseUser, error) ModifyManagedDatabaseUserAccessControl(ctx context.Context, r *request.ModifyManagedDatabaseUserAccessControlRequest) (*upcloud.ManagedDatabaseUser, error) }
type ManagedObjectStorage ¶
type ManagedObjectStorage interface { GetManagedObjectStorageRegions(ctx context.Context, r *request.GetManagedObjectStorageRegionsRequest) ([]upcloud.ManagedObjectStorageRegion, error) GetManagedObjectStorageRegion(ctx context.Context, r *request.GetManagedObjectStorageRegionRequest) (*upcloud.ManagedObjectStorageRegion, error) CreateManagedObjectStorage(ctx context.Context, r *request.CreateManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error) GetManagedObjectStorages(ctx context.Context, r *request.GetManagedObjectStoragesRequest) ([]upcloud.ManagedObjectStorage, error) GetManagedObjectStorage(ctx context.Context, r *request.GetManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error) ReplaceManagedObjectStorage(ctx context.Context, r *request.ReplaceManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error) ModifyManagedObjectStorage(ctx context.Context, r *request.ModifyManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error) DeleteManagedObjectStorage(ctx context.Context, r *request.DeleteManagedObjectStorageRequest) error GetManagedObjectStorageMetrics(ctx context.Context, r *request.GetManagedObjectStorageMetricsRequest) (*upcloud.ManagedObjectStorageMetrics, error) CreateManagedObjectStorageBucket(ctx context.Context, r *request.CreateManagedObjectStorageBucketRequest) (upcloud.ManagedObjectStorageBucketMetrics, error) DeleteManagedObjectStorageBucket(ctx context.Context, r *request.DeleteManagedObjectStorageBucketRequest) error GetManagedObjectStorageBucketMetrics(ctx context.Context, r *request.GetManagedObjectStorageBucketMetricsRequest) ([]upcloud.ManagedObjectStorageBucketMetrics, error) CreateManagedObjectStorageNetwork(ctx context.Context, r *request.CreateManagedObjectStorageNetworkRequest) (*upcloud.ManagedObjectStorageNetwork, error) GetManagedObjectStorageNetworks(ctx context.Context, r *request.GetManagedObjectStorageNetworksRequest) ([]upcloud.ManagedObjectStorageNetwork, error) GetManagedObjectStorageNetwork(ctx context.Context, r *request.GetManagedObjectStorageNetworkRequest) (*upcloud.ManagedObjectStorageNetwork, error) DeleteManagedObjectStorageNetwork(ctx context.Context, r *request.DeleteManagedObjectStorageNetworkRequest) error CreateManagedObjectStorageUser(ctx context.Context, r *request.CreateManagedObjectStorageUserRequest) (*upcloud.ManagedObjectStorageUser, error) GetManagedObjectStorageUsers(ctx context.Context, r *request.GetManagedObjectStorageUsersRequest) ([]upcloud.ManagedObjectStorageUser, error) GetManagedObjectStorageUser(ctx context.Context, r *request.GetManagedObjectStorageUserRequest) (*upcloud.ManagedObjectStorageUser, error) DeleteManagedObjectStorageUser(ctx context.Context, r *request.DeleteManagedObjectStorageUserRequest) error CreateManagedObjectStorageUserAccessKey(ctx context.Context, r *request.CreateManagedObjectStorageUserAccessKeyRequest) (*upcloud.ManagedObjectStorageUserAccessKey, error) GetManagedObjectStorageUserAccessKeys(ctx context.Context, r *request.GetManagedObjectStorageUserAccessKeysRequest) ([]upcloud.ManagedObjectStorageUserAccessKey, error) GetManagedObjectStorageUserAccessKey(ctx context.Context, r *request.GetManagedObjectStorageUserAccessKeyRequest) (*upcloud.ManagedObjectStorageUserAccessKey, error) ModifyManagedObjectStorageUserAccessKey(ctx context.Context, r *request.ModifyManagedObjectStorageUserAccessKeyRequest) (*upcloud.ManagedObjectStorageUserAccessKey, error) DeleteManagedObjectStorageUserAccessKey(ctx context.Context, r *request.DeleteManagedObjectStorageUserAccessKeyRequest) error CreateManagedObjectStoragePolicy(ctx context.Context, r *request.CreateManagedObjectStoragePolicyRequest) (*upcloud.ManagedObjectStoragePolicy, error) GetManagedObjectStoragePolicies(ctx context.Context, r *request.GetManagedObjectStoragePoliciesRequest) ([]upcloud.ManagedObjectStoragePolicy, error) GetManagedObjectStoragePolicy(ctx context.Context, r *request.GetManagedObjectStoragePolicyRequest) (*upcloud.ManagedObjectStoragePolicy, error) DeleteManagedObjectStoragePolicy(ctx context.Context, r *request.DeleteManagedObjectStoragePolicyRequest) error AttachManagedObjectStorageUserPolicy(ctx context.Context, r *request.AttachManagedObjectStorageUserPolicyRequest) error GetManagedObjectStorageUserPolicies(ctx context.Context, r *request.GetManagedObjectStorageUserPoliciesRequest) ([]upcloud.ManagedObjectStorageUserPolicy, error) DetachManagedObjectStorageUserPolicy(ctx context.Context, r *request.DetachManagedObjectStorageUserPolicyRequest) error CreateManagedObjectStorageCustomDomain(ctx context.Context, r *request.CreateManagedObjectStorageCustomDomainRequest) error GetManagedObjectStorageCustomDomains(ctx context.Context, r *request.GetManagedObjectStorageCustomDomainsRequest) ([]upcloud.ManagedObjectStorageCustomDomain, error) GetManagedObjectStorageCustomDomain(ctx context.Context, r *request.GetManagedObjectStorageCustomDomainRequest) (*upcloud.ManagedObjectStorageCustomDomain, error) ModifyManagedObjectStorageCustomDomain(ctx context.Context, r *request.ModifyManagedObjectStorageCustomDomainRequest) (*upcloud.ManagedObjectStorageCustomDomain, error) DeleteManagedObjectStorageCustomDomain(ctx context.Context, r *request.DeleteManagedObjectStorageCustomDomainRequest) error WaitForManagedObjectStorageOperationalState(ctx context.Context, r *request.WaitForManagedObjectStorageOperationalStateRequest) (*upcloud.ManagedObjectStorage, error) WaitForManagedObjectStorageDeletion(ctx context.Context, r *request.WaitForManagedObjectStorageDeletionRequest) error WaitForManagedObjectStorageBucketDeletion(ctx context.Context, r *request.WaitForManagedObjectStorageBucketDeletionRequest) error }
type Network ¶
type Network interface { GetNetworks(ctx context.Context, f ...request.QueryFilter) (*upcloud.Networks, error) GetNetworksInZone(ctx context.Context, r *request.GetNetworksInZoneRequest) (*upcloud.Networks, error) CreateNetwork(ctx context.Context, r *request.CreateNetworkRequest) (*upcloud.Network, error) GetNetworkDetails(ctx context.Context, r *request.GetNetworkDetailsRequest) (*upcloud.Network, error) ModifyNetwork(ctx context.Context, r *request.ModifyNetworkRequest) (*upcloud.Network, error) DeleteNetwork(ctx context.Context, r *request.DeleteNetworkRequest) error AttachNetworkRouter(ctx context.Context, r *request.AttachNetworkRouterRequest) error DetachNetworkRouter(ctx context.Context, r *request.DetachNetworkRouterRequest) error GetServerNetworks(ctx context.Context, r *request.GetServerNetworksRequest) (*upcloud.Networking, error) CreateNetworkInterface(ctx context.Context, r *request.CreateNetworkInterfaceRequest) (*upcloud.Interface, error) ModifyNetworkInterface(ctx context.Context, r *request.ModifyNetworkInterfaceRequest) (*upcloud.Interface, error) DeleteNetworkInterface(ctx context.Context, r *request.DeleteNetworkInterfaceRequest) error GetRouters(ctx context.Context, f ...request.QueryFilter) (*upcloud.Routers, error) GetRouterDetails(ctx context.Context, r *request.GetRouterDetailsRequest) (*upcloud.Router, error) CreateRouter(ctx context.Context, r *request.CreateRouterRequest) (*upcloud.Router, error) ModifyRouter(ctx context.Context, r *request.ModifyRouterRequest) (*upcloud.Router, error) DeleteRouter(ctx context.Context, r *request.DeleteRouterRequest) error }
type NetworkPeering ¶
type NetworkPeering interface { GetNetworkPeerings(ctx context.Context, f ...request.QueryFilter) (upcloud.NetworkPeerings, error) GetNetworkPeering(ctx context.Context, r *request.GetNetworkPeeringRequest) (*upcloud.NetworkPeering, error) CreateNetworkPeering(ctx context.Context, r *request.CreateNetworkPeeringRequest) (*upcloud.NetworkPeering, error) ModifyNetworkPeering(ctx context.Context, r *request.ModifyNetworkPeeringRequest) (*upcloud.NetworkPeering, error) DeleteNetworkPeering(ctx context.Context, r *request.DeleteNetworkPeeringRequest) error WaitForNetworkPeeringState(ctx context.Context, r *request.WaitForNetworkPeeringStateRequest) (*upcloud.NetworkPeering, error) }
type ObjectStorage ¶
type ObjectStorage interface { GetObjectStorages(ctx context.Context) (*upcloud.ObjectStorages, error) GetObjectStorageDetails(ctx context.Context, r *request.GetObjectStorageDetailsRequest) (*upcloud.ObjectStorageDetails, error) CreateObjectStorage(ctx context.Context, r *request.CreateObjectStorageRequest) (*upcloud.ObjectStorageDetails, error) ModifyObjectStorage(ctx context.Context, r *request.ModifyObjectStorageRequest) (*upcloud.ObjectStorageDetails, error) DeleteObjectStorage(ctx context.Context, r *request.DeleteObjectStorageRequest) error }
type Partner ¶ added in v8.14.0
type Partner interface { CreatePartnerAccount(ctx context.Context, r *request.CreatePartnerAccountRequest) (*upcloud.PartnerAccount, error) GetPartnerAccounts(ctx context.Context) ([]upcloud.PartnerAccount, error) }
type Permission ¶
type Permission interface { GetPermissions(context.Context, *request.GetPermissionsRequest) (upcloud.Permissions, error) GrantPermission(context.Context, *request.GrantPermissionRequest) (*upcloud.Permission, error) RevokePermission(context.Context, *request.RevokePermissionRequest) error }
type Server ¶
type Server interface { GetServerConfigurations(ctx context.Context) (*upcloud.ServerConfigurations, error) GetServers(ctx context.Context) (*upcloud.Servers, error) GetServerDetails(ctx context.Context, r *request.GetServerDetailsRequest) (*upcloud.ServerDetails, error) CreateServer(ctx context.Context, r *request.CreateServerRequest) (*upcloud.ServerDetails, error) WaitForServerState(ctx context.Context, r *request.WaitForServerStateRequest) (*upcloud.ServerDetails, error) StartServer(ctx context.Context, r *request.StartServerRequest) (*upcloud.ServerDetails, error) StopServer(ctx context.Context, r *request.StopServerRequest) (*upcloud.ServerDetails, error) RestartServer(ctx context.Context, r *request.RestartServerRequest) (*upcloud.ServerDetails, error) ModifyServer(ctx context.Context, r *request.ModifyServerRequest) (*upcloud.ServerDetails, error) DeleteServer(ctx context.Context, r *request.DeleteServerRequest) error DeleteServerAndStorages(ctx context.Context, r *request.DeleteServerAndStoragesRequest) error }
type ServerGroup ¶
type ServerGroup interface { GetServerGroups(ctx context.Context, r *request.GetServerGroupsRequest) (upcloud.ServerGroups, error) GetServerGroup(ctx context.Context, r *request.GetServerGroupRequest) (*upcloud.ServerGroup, error) CreateServerGroup(ctx context.Context, r *request.CreateServerGroupRequest) (*upcloud.ServerGroup, error) ModifyServerGroup(ctx context.Context, r *request.ModifyServerGroupRequest) (*upcloud.ServerGroup, error) DeleteServerGroup(ctx context.Context, r *request.DeleteServerGroupRequest) error AddServerToServerGroup(ctx context.Context, r *request.AddServerToServerGroupRequest) error RemoveServerFromServerGroup(ctx context.Context, r *request.RemoveServerFromServerGroupRequest) error }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents the API service with context support. The specified client is used to communicate with the API
func New ¶
Example ¶
svc := New(client.New("<username>", "<password>")) ctx, cancel := context.WithDeadline(context.Background(), time.Now().Add(10*time.Second)) defer cancel() zones, err := svc.GetZones(ctx) if err != nil { log.Fatal(err) } fmt.Printf("%d", len(zones.Zones))
Output:
func (*Service) AddServerToServerGroup ¶
func (s *Service) AddServerToServerGroup(ctx context.Context, r *request.AddServerToServerGroupRequest) error
AddServerToServerGroup adds a server to a server group with context (EXPERIMENTAL).
func (*Service) AssignIPAddress ¶
func (s *Service) AssignIPAddress(ctx context.Context, r *request.AssignIPAddressRequest) (*upcloud.IPAddress, error)
AssignIPAddress assigns the specified IP address to the specified server
func (*Service) AttachManagedObjectStorageUserPolicy ¶
func (*Service) AttachNetworkRouter ¶
func (s *Service) AttachNetworkRouter(ctx context.Context, r *request.AttachNetworkRouterRequest) error
AttachNetworkRouter attaches a router to the specified network.
func (*Service) AttachStorage ¶
func (s *Service) AttachStorage(ctx context.Context, r *request.AttachStorageRequest) (*upcloud.ServerDetails, error)
AttachStorage attaches the specified storage to the specified server
func (*Service) CancelManagedDatabaseSession ¶
func (s *Service) CancelManagedDatabaseSession(ctx context.Context, r *request.CancelManagedDatabaseSession) error
CancelManagedDatabaseSession cancels a current query of a database session or terminates it entirely. In case of the server is unable to cancel the query or terminate the session ErrCancelManagedDatabaseSession is returned.
func (*Service) CloneManagedDatabase ¶
func (s *Service) CloneManagedDatabase(ctx context.Context, r *request.CloneManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
CloneManagedDatabase clones en existing managed database instance
func (*Service) CloneStorage ¶
func (s *Service) CloneStorage(ctx context.Context, r *request.CloneStorageRequest) (*upcloud.StorageDetails, error)
CloneStorage detaches the specified storage from the specified server
func (*Service) CreateBackup ¶
func (s *Service) CreateBackup(ctx context.Context, r *request.CreateBackupRequest) (*upcloud.StorageDetails, error)
CreateBackup creates a backup of the specified storage
func (*Service) CreateFirewallRule ¶
func (s *Service) CreateFirewallRule(ctx context.Context, r *request.CreateFirewallRuleRequest) (*upcloud.FirewallRule, error)
CreateFirewallRule creates the firewall rule
func (*Service) CreateFirewallRules ¶
func (s *Service) CreateFirewallRules(ctx context.Context, r *request.CreateFirewallRulesRequest) error
CreateFirewallRules creates multiple firewall rules
func (*Service) CreateGateway ¶
func (s *Service) CreateGateway(ctx context.Context, r *request.CreateGatewayRequest) (*upcloud.Gateway, error)
CreateGateway creates a new network gateway.
func (*Service) CreateGatewayConnection ¶ added in v8.3.0
func (s *Service) CreateGatewayConnection(ctx context.Context, r *request.CreateGatewayConnectionRequest) (*upcloud.GatewayConnection, error)
CreateGatewayConnection creates a new connection for a specific gateway
func (*Service) CreateGatewayConnectionTunnel ¶ added in v8.3.0
func (s *Service) CreateGatewayConnectionTunnel(ctx context.Context, r *request.CreateGatewayConnectionTunnelRequest) (*upcloud.GatewayTunnel, error)
CreateGatewayConnectionTunnel creates a tunnel for specific connection of specific gateway
func (*Service) CreateKubernetesCluster ¶
func (s *Service) CreateKubernetesCluster(ctx context.Context, r *request.CreateKubernetesClusterRequest) (*upcloud.KubernetesCluster, error)
CreateKubernetesCluster creates a new Kubernetes cluster.
func (*Service) CreateKubernetesNodeGroup ¶
func (s *Service) CreateKubernetesNodeGroup(ctx context.Context, r *request.CreateKubernetesNodeGroupRequest) (*upcloud.KubernetesNodeGroup, error)
CreateKubernetesNodeGroup creates a new node group.
func (*Service) CreateLoadBalancer ¶
func (s *Service) CreateLoadBalancer(ctx context.Context, r *request.CreateLoadBalancerRequest) (*upcloud.LoadBalancer, error)
CreateLoadBalancer creates a new load balancer.
func (*Service) CreateLoadBalancerBackend ¶
func (s *Service) CreateLoadBalancerBackend(ctx context.Context, r *request.CreateLoadBalancerBackendRequest) (*upcloud.LoadBalancerBackend, error)
CreateLoadBalancerBackend creates a new load balancer backend.
func (*Service) CreateLoadBalancerBackendMember ¶
func (s *Service) CreateLoadBalancerBackendMember(ctx context.Context, r *request.CreateLoadBalancerBackendMemberRequest) (*upcloud.LoadBalancerBackendMember, error)
CreateLoadBalancerBackendMember creates a new load balancer backend member.
func (*Service) CreateLoadBalancerBackendTLSConfig ¶
func (s *Service) CreateLoadBalancerBackendTLSConfig(ctx context.Context, r *request.CreateLoadBalancerBackendTLSConfigRequest) (*upcloud.LoadBalancerBackendTLSConfig, error)
CreateLoadBalancerBackendTLSConfig creates a new load balancer backend TLS config.
func (*Service) CreateLoadBalancerCertificateBundle ¶
func (s *Service) CreateLoadBalancerCertificateBundle(ctx context.Context, r *request.CreateLoadBalancerCertificateBundleRequest) (*upcloud.LoadBalancerCertificateBundle, error)
CreateLoadBalancerCertificateBundle creates a new load balancer certificate bundle.
func (*Service) CreateLoadBalancerFrontend ¶
func (s *Service) CreateLoadBalancerFrontend(ctx context.Context, r *request.CreateLoadBalancerFrontendRequest) (*upcloud.LoadBalancerFrontend, error)
CreateLoadBalancerFrontend creates a new load balancer frontend.
func (*Service) CreateLoadBalancerFrontendRule ¶
func (s *Service) CreateLoadBalancerFrontendRule(ctx context.Context, r *request.CreateLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error)
CreateLoadBalancerFrontendRule creates a new load balancer frontend rule.
func (*Service) CreateLoadBalancerFrontendTLSConfig ¶
func (s *Service) CreateLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.CreateLoadBalancerFrontendTLSConfigRequest) (*upcloud.LoadBalancerFrontendTLSConfig, error)
CreateLoadBalancerFrontendTLSConfig creates a new load balancer frontend TLS config.
func (*Service) CreateLoadBalancerResolver ¶
func (s *Service) CreateLoadBalancerResolver(ctx context.Context, r *request.CreateLoadBalancerResolverRequest) (*upcloud.LoadBalancerResolver, error)
CreateLoadBalancerResolver creates a new load balancer resolver.
func (*Service) CreateManagedDatabase ¶
func (s *Service) CreateManagedDatabase(ctx context.Context, r *request.CreateManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
CreateManagedDatabase creates a new managed database instance
func (*Service) CreateManagedDatabaseLogicalDatabase ¶
func (s *Service) CreateManagedDatabaseLogicalDatabase(ctx context.Context, r *request.CreateManagedDatabaseLogicalDatabaseRequest) (*upcloud.ManagedDatabaseLogicalDatabase, error)
CreateManagedDatabaseLogicalDatabase creates a new logical database to an existing managed database instance
func (*Service) CreateManagedDatabaseUser ¶
func (s *Service) CreateManagedDatabaseUser(ctx context.Context, r *request.CreateManagedDatabaseUserRequest) (*upcloud.ManagedDatabaseUser, error)
CreateManagedDatabaseUser creates a new normal user to an existing managed database instance
func (*Service) CreateManagedObjectStorage ¶
func (s *Service) CreateManagedObjectStorage(ctx context.Context, r *request.CreateManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error)
func (*Service) CreateManagedObjectStorageBucket ¶ added in v8.9.0
func (s *Service) CreateManagedObjectStorageBucket(ctx context.Context, r *request.CreateManagedObjectStorageBucketRequest) (upcloud.ManagedObjectStorageBucketMetrics, error)
func (*Service) CreateManagedObjectStorageCustomDomain ¶ added in v8.8.0
func (*Service) CreateManagedObjectStorageNetwork ¶
func (s *Service) CreateManagedObjectStorageNetwork(ctx context.Context, r *request.CreateManagedObjectStorageNetworkRequest) (*upcloud.ManagedObjectStorageNetwork, error)
func (*Service) CreateManagedObjectStoragePolicy ¶
func (s *Service) CreateManagedObjectStoragePolicy(ctx context.Context, r *request.CreateManagedObjectStoragePolicyRequest) (*upcloud.ManagedObjectStoragePolicy, error)
func (*Service) CreateManagedObjectStorageUser ¶
func (s *Service) CreateManagedObjectStorageUser(ctx context.Context, r *request.CreateManagedObjectStorageUserRequest) (*upcloud.ManagedObjectStorageUser, error)
func (*Service) CreateManagedObjectStorageUserAccessKey ¶
func (s *Service) CreateManagedObjectStorageUserAccessKey(ctx context.Context, r *request.CreateManagedObjectStorageUserAccessKeyRequest) (*upcloud.ManagedObjectStorageUserAccessKey, error)
func (*Service) CreateNetwork ¶
func (s *Service) CreateNetwork(ctx context.Context, r *request.CreateNetworkRequest) (*upcloud.Network, error)
CreateNetwork creates a new network and returns the network details for the new network.
func (*Service) CreateNetworkInterface ¶
func (s *Service) CreateNetworkInterface(ctx context.Context, r *request.CreateNetworkInterfaceRequest) (*upcloud.Interface, error)
CreateNetworkInterface creates a new network interface on the specified server.
func (*Service) CreateNetworkPeering ¶
func (s *Service) CreateNetworkPeering(ctx context.Context, r *request.CreateNetworkPeeringRequest) (*upcloud.NetworkPeering, error)
CreateNetworkPeering (EXPERIMENTAL) creates a new network peering.
func (*Service) CreateObjectStorage ¶
func (s *Service) CreateObjectStorage(ctx context.Context, r *request.CreateObjectStorageRequest) (*upcloud.ObjectStorageDetails, error)
CreateObjectStorage creates a Object Storage and return the Object Storage details for the newly created device
func (*Service) CreatePartnerAccount ¶ added in v8.14.0
func (s *Service) CreatePartnerAccount(ctx context.Context, r *request.CreatePartnerAccountRequest) (*upcloud.PartnerAccount, error)
CreatePartnerAccount creates new main account for partner
func (*Service) CreateRouter ¶
func (s *Service) CreateRouter(ctx context.Context, r *request.CreateRouterRequest) (*upcloud.Router, error)
CreateRouter creates a new router.
func (*Service) CreateServer ¶
func (s *Service) CreateServer(ctx context.Context, r *request.CreateServerRequest) (*upcloud.ServerDetails, error)
CreateServer creates a server and returns the server details for the newly created server
func (*Service) CreateServerGroup ¶
func (s *Service) CreateServerGroup(ctx context.Context, r *request.CreateServerGroupRequest) (*upcloud.ServerGroup, error)
CreateServerGroup creates a new server group with context (EXPERIMENTAL).
func (*Service) CreateStorage ¶
func (s *Service) CreateStorage(ctx context.Context, r *request.CreateStorageRequest) (*upcloud.StorageDetails, error)
CreateStorage creates the specified storage
func (*Service) CreateStorageImport ¶
func (s *Service) CreateStorageImport(ctx context.Context, r *request.CreateStorageImportRequest) (*upcloud.StorageImportDetails, error)
CreateStorageImport begins the process of importing an image onto a storage device. A `upcloud.StorageImportSourceHTTPImport` source will import from an HTTP source. `upcloud.StorageImportSourceDirectUpload` will directly upload the file specified in `SourceLocation`.
func (*Service) CreateSubaccount ¶
func (s *Service) CreateSubaccount(ctx context.Context, r *request.CreateSubaccountRequest) (*upcloud.AccountDetails, error)
CreateSubaccount creates a new sub account
func (*Service) CreateTag ¶
CreateTag creates a new tag, optionally assigning it to one or more servers at the same time
func (*Service) DeleteFirewallRule ¶
func (s *Service) DeleteFirewallRule(ctx context.Context, r *request.DeleteFirewallRuleRequest) error
DeleteFirewallRule deletes the specified firewall rule
func (*Service) DeleteGateway ¶
DeleteGateway deletes a network gateway.
func (*Service) DeleteGatewayConnection ¶ added in v8.3.0
func (s *Service) DeleteGatewayConnection(ctx context.Context, r *request.DeleteGatewayConnectionRequest) error
DeleteGatewayConnection deletes a specific connection of a network gateway
func (*Service) DeleteGatewayConnectionTunnel ¶ added in v8.3.0
func (s *Service) DeleteGatewayConnectionTunnel(ctx context.Context, r *request.DeleteGatewayConnectionTunnelRequest) error
DeleteGatewayConnectionTunnel deletes a tunnel for specific connection of specific gateway
func (*Service) DeleteKubernetesCluster ¶
func (s *Service) DeleteKubernetesCluster(ctx context.Context, r *request.DeleteKubernetesClusterRequest) error
DeleteKubernetesCluster deletes an existing Kubernetes cluster.
func (*Service) DeleteKubernetesNodeGroup ¶
func (s *Service) DeleteKubernetesNodeGroup(ctx context.Context, r *request.DeleteKubernetesNodeGroupRequest) error
DeleteKubernetesNodeGroup deletes an existing node group.
func (*Service) DeleteKubernetesNodeGroupNode ¶
func (s *Service) DeleteKubernetesNodeGroupNode(ctx context.Context, r *request.DeleteKubernetesNodeGroupNodeRequest) error
DeleteKubernetesNodeGroupNode deletes an existing node from the node group.
func (*Service) DeleteLoadBalancer ¶
func (s *Service) DeleteLoadBalancer(ctx context.Context, r *request.DeleteLoadBalancerRequest) error
DeleteLoadBalancer deletes an existing load balancer.
func (*Service) DeleteLoadBalancerBackend ¶
func (s *Service) DeleteLoadBalancerBackend(ctx context.Context, r *request.DeleteLoadBalancerBackendRequest) error
DeleteLoadBalancerBackend deletes an existing load balancer backend.
func (*Service) DeleteLoadBalancerBackendMember ¶
func (s *Service) DeleteLoadBalancerBackendMember(ctx context.Context, r *request.DeleteLoadBalancerBackendMemberRequest) error
DeleteLoadBalancerBackendMember deletes an existing load balancer backend member.
func (*Service) DeleteLoadBalancerBackendTLSConfig ¶
func (s *Service) DeleteLoadBalancerBackendTLSConfig(ctx context.Context, r *request.DeleteLoadBalancerBackendTLSConfigRequest) error
DeleteLoadBalancerBackendTLSConfig deletes an existing load balancer backend TLS config.
func (*Service) DeleteLoadBalancerCertificateBundle ¶
func (s *Service) DeleteLoadBalancerCertificateBundle(ctx context.Context, r *request.DeleteLoadBalancerCertificateBundleRequest) error
DeleteLoadBalancerCertificateBundle deletes an existing load balancer certificate bundle.
func (*Service) DeleteLoadBalancerFrontend ¶
func (s *Service) DeleteLoadBalancerFrontend(ctx context.Context, r *request.DeleteLoadBalancerFrontendRequest) error
DeleteLoadBalancerFrontend deletes an existing load balancer frontend.
func (*Service) DeleteLoadBalancerFrontendRule ¶
func (s *Service) DeleteLoadBalancerFrontendRule(ctx context.Context, r *request.DeleteLoadBalancerFrontendRuleRequest) error
DeleteLoadBalancerFrontendRule deletes an existing load balancer frontend rule.
func (*Service) DeleteLoadBalancerFrontendTLSConfig ¶
func (s *Service) DeleteLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.DeleteLoadBalancerFrontendTLSConfigRequest) error
DeleteLoadBalancerFrontendTLSConfig deletes an existing load balancer frontend TLS config.
func (*Service) DeleteLoadBalancerResolver ¶
func (s *Service) DeleteLoadBalancerResolver(ctx context.Context, r *request.DeleteLoadBalancerResolverRequest) error
DeleteLoadBalancerResolver deletes an existing load balancer resolver.
func (*Service) DeleteManagedDatabase ¶
func (s *Service) DeleteManagedDatabase(ctx context.Context, r *request.DeleteManagedDatabaseRequest) error
DeleteManagedDatabase deletes an existing managed database instance
func (*Service) DeleteManagedDatabaseIndex ¶
func (s *Service) DeleteManagedDatabaseIndex(ctx context.Context, r *request.DeleteManagedDatabaseIndexRequest) error
DeleteManagedDatabaseIndex returns details of an index existing OpenSearch Managed Database service
func (*Service) DeleteManagedDatabaseLogicalDatabase ¶
func (s *Service) DeleteManagedDatabaseLogicalDatabase(ctx context.Context, r *request.DeleteManagedDatabaseLogicalDatabaseRequest) error
DeleteManagedDatabaseLogicalDatabase deletes an existing logical database of an existing managed database instance
func (*Service) DeleteManagedDatabaseUser ¶
func (s *Service) DeleteManagedDatabaseUser(ctx context.Context, r *request.DeleteManagedDatabaseUserRequest) error
DeleteManagedDatabaseUser deletes an existing user of an existing managed database instance
func (*Service) DeleteManagedObjectStorage ¶
func (*Service) DeleteManagedObjectStorageBucket ¶ added in v8.9.0
func (*Service) DeleteManagedObjectStorageCustomDomain ¶ added in v8.8.0
func (*Service) DeleteManagedObjectStorageNetwork ¶
func (*Service) DeleteManagedObjectStoragePolicy ¶
func (*Service) DeleteManagedObjectStorageUser ¶
func (*Service) DeleteManagedObjectStorageUserAccessKey ¶
func (*Service) DeleteNetwork ¶
DeleteNetwork deletes the specified network.
func (*Service) DeleteNetworkInterface ¶
func (s *Service) DeleteNetworkInterface(ctx context.Context, r *request.DeleteNetworkInterfaceRequest) error
DeleteNetworkInterface removes the specified network interface from the specified server.
func (*Service) DeleteNetworkPeering ¶
func (s *Service) DeleteNetworkPeering(ctx context.Context, r *request.DeleteNetworkPeeringRequest) error
DeleteNetworkPeering (EXPERIMENTAL) deletes a peering. Peering can be deleted only when the state is disabled.
func (*Service) DeleteObjectStorage ¶
func (s *Service) DeleteObjectStorage(ctx context.Context, r *request.DeleteObjectStorageRequest) error
DeleteObjectStorage deletes the specific Object Storage
func (*Service) DeleteRouter ¶
DeleteRouter deletes the specified router.
func (*Service) DeleteServer ¶
DeleteServer deletes the specified server
func (*Service) DeleteServerAndStorages ¶
func (s *Service) DeleteServerAndStorages(ctx context.Context, r *request.DeleteServerAndStoragesRequest) error
DeleteServerAndStorages deletes the specified server and all attached storages
func (*Service) DeleteServerGroup ¶
DeleteServerGroup deletes an existing server group with context (EXPERIMENTAL).
func (*Service) DeleteStorage ¶
DeleteStorage deletes the specified storage device
func (*Service) DeleteSubaccount ¶
DeleteSubaccount deletes a sub account
func (*Service) DetachManagedObjectStorageUserPolicy ¶
func (*Service) DetachNetworkRouter ¶
func (s *Service) DetachNetworkRouter(ctx context.Context, r *request.DetachNetworkRouterRequest) error
DetachNetworkRouter detaches a router from the specified network.
func (*Service) DetachStorage ¶
func (s *Service) DetachStorage(ctx context.Context, r *request.DetachStorageRequest) (*upcloud.ServerDetails, error)
DetachStorage detaches the specified storage from the specified server
func (*Service) EjectCDROM ¶
func (s *Service) EjectCDROM(ctx context.Context, r *request.EjectCDROMRequest) (*upcloud.ServerDetails, error)
EjectCDROM ejects the storage from the CD-ROM device of a server
func (*Service) GetAccount ¶
GetAccount returns the current user's account
func (*Service) GetAccountDetails ¶
func (s *Service) GetAccountDetails(ctx context.Context, r *request.GetAccountDetailsRequest) (*upcloud.AccountDetails, error)
GetAccountDetails returns account details
func (*Service) GetAccountList ¶
GetAccountList returns the account list
func (*Service) GetFirewallRuleDetails ¶
func (s *Service) GetFirewallRuleDetails(ctx context.Context, r *request.GetFirewallRuleDetailsRequest) (*upcloud.FirewallRule, error)
GetFirewallRuleDetails returns extended details about the specified firewall rule
func (*Service) GetFirewallRules ¶
func (s *Service) GetFirewallRules(ctx context.Context, r *request.GetFirewallRulesRequest) (*upcloud.FirewallRules, error)
GetFirewallRules returns the firewall rules for the specified server
func (*Service) GetGateway ¶
func (s *Service) GetGateway(ctx context.Context, r *request.GetGatewayRequest) (*upcloud.Gateway, error)
GetGateway retrieves details of a network gateway.
func (*Service) GetGatewayConnection ¶ added in v8.3.0
func (s *Service) GetGatewayConnection(ctx context.Context, r *request.GetGatewayConnectionRequest) (*upcloud.GatewayConnection, error)
GetGatewayConnection retrieves details of a specific network gateway connection
func (*Service) GetGatewayConnectionTunnel ¶ added in v8.3.0
func (s *Service) GetGatewayConnectionTunnel(ctx context.Context, r *request.GetGatewayConnectionTunnelRequest) (*upcloud.GatewayTunnel, error)
GetGatewayConnectionTunnel retrieves a single tunnel details for specific connection of specific gateway
func (*Service) GetGatewayConnectionTunnels ¶ added in v8.3.0
func (s *Service) GetGatewayConnectionTunnels(ctx context.Context, r *request.GetGatewayConnectionTunnelsRequest) ([]upcloud.GatewayTunnel, error)
GetGatewayConnectionTunnels retrieves tunnels for specific connection of specific gateway
func (*Service) GetGatewayConnections ¶ added in v8.3.0
func (s *Service) GetGatewayConnections(ctx context.Context, r *request.GetGatewayConnectionsRequest) ([]upcloud.GatewayConnection, error)
GetGatewayConnections retrieves a list of specific gateway connections
func (*Service) GetGatewayPlans ¶ added in v8.3.0
GetGatewayPlans retrieves a list of all available plans for network gateway service
func (*Service) GetGateways ¶
func (s *Service) GetGateways(ctx context.Context, f ...request.QueryFilter) ([]upcloud.Gateway, error)
GetGateways retrieves a list of network gateways within an account.
func (*Service) GetHostDetails ¶
func (s *Service) GetHostDetails(ctx context.Context, r *request.GetHostDetailsRequest) (*upcloud.Host, error)
GetHostDetails returns the details for a single private host
func (*Service) GetIPAddressDetails ¶
func (s *Service) GetIPAddressDetails(ctx context.Context, r *request.GetIPAddressDetailsRequest) (*upcloud.IPAddress, error)
GetIPAddressDetails returns extended details about the specified IP address
func (*Service) GetIPAddresses ¶
GetIPAddresses returns all IP addresses associated with the account
func (*Service) GetKubernetesCluster ¶
func (s *Service) GetKubernetesCluster(ctx context.Context, r *request.GetKubernetesClusterRequest) (*upcloud.KubernetesCluster, error)
GetKubernetesCluster retrieves details of a Kubernetes cluster.
func (*Service) GetKubernetesClusters ¶
func (s *Service) GetKubernetesClusters(ctx context.Context, r *request.GetKubernetesClustersRequest) ([]upcloud.KubernetesCluster, error)
GetKubernetesClusters retrieves a list of Kubernetes clusters.
func (*Service) GetKubernetesKubeconfig ¶
func (s *Service) GetKubernetesKubeconfig(ctx context.Context, r *request.GetKubernetesKubeconfigRequest) (string, error)
GetKubernetesKubeconfig retrieves kubeconfig of a Kubernetes cluster.
func (*Service) GetKubernetesNodeGroup ¶
func (s *Service) GetKubernetesNodeGroup(ctx context.Context, r *request.GetKubernetesNodeGroupRequest) (*upcloud.KubernetesNodeGroupDetails, error)
GetKubernetesNodeGroup retrieves details of a node group.
func (*Service) GetKubernetesNodeGroups ¶
func (s *Service) GetKubernetesNodeGroups(ctx context.Context, r *request.GetKubernetesNodeGroupsRequest) ([]upcloud.KubernetesNodeGroup, error)
GetKubernetesNodeGroups retrieves a list of Kubernetes cluster node groups.
func (*Service) GetKubernetesPlans ¶
func (s *Service) GetKubernetesPlans(ctx context.Context, r *request.GetKubernetesPlansRequest) ([]upcloud.KubernetesPlan, error)
GetKubernetesPlans retrieves a list of Kubernetes plans.
func (*Service) GetKubernetesVersions ¶
func (s *Service) GetKubernetesVersions(ctx context.Context, r *request.GetKubernetesVersionsRequest) ([]upcloud.KubernetesVersion, error)
GetKubernetesVersions retrieves a list of Kubernetes cluster versions.
func (*Service) GetLoadBalancer ¶
func (s *Service) GetLoadBalancer(ctx context.Context, r *request.GetLoadBalancerRequest) (*upcloud.LoadBalancer, error)
GetLoadBalancer retrieves details of a load balancer.
func (*Service) GetLoadBalancerBackend ¶
func (s *Service) GetLoadBalancerBackend(ctx context.Context, r *request.GetLoadBalancerBackendRequest) (*upcloud.LoadBalancerBackend, error)
GetLoadBalancerBackend retrieves details of a load balancer backend.
func (*Service) GetLoadBalancerBackendMember ¶
func (s *Service) GetLoadBalancerBackendMember(ctx context.Context, r *request.GetLoadBalancerBackendMemberRequest) (*upcloud.LoadBalancerBackendMember, error)
GetLoadBalancerBackendMember retrieves details of a load balancer backend member.
func (*Service) GetLoadBalancerBackendMembers ¶
func (s *Service) GetLoadBalancerBackendMembers(ctx context.Context, r *request.GetLoadBalancerBackendMembersRequest) ([]upcloud.LoadBalancerBackendMember, error)
GetLoadBalancerBackendMembers retrieves a list of load balancer backend members.
func (*Service) GetLoadBalancerBackendTLSConfig ¶
func (s *Service) GetLoadBalancerBackendTLSConfig(ctx context.Context, r *request.GetLoadBalancerBackendTLSConfigRequest) (*upcloud.LoadBalancerBackendTLSConfig, error)
GetLoadBalancerBackendTLSConfig retrieves details of a load balancer backend TLS config.
func (*Service) GetLoadBalancerBackendTLSConfigs ¶
func (s *Service) GetLoadBalancerBackendTLSConfigs(ctx context.Context, r *request.GetLoadBalancerBackendTLSConfigsRequest) ([]upcloud.LoadBalancerBackendTLSConfig, error)
GetLoadBalancerBackendTLSConfigs retrieves a list of load balancer backend TLS configs.
func (*Service) GetLoadBalancerBackends ¶
func (s *Service) GetLoadBalancerBackends(ctx context.Context, r *request.GetLoadBalancerBackendsRequest) ([]upcloud.LoadBalancerBackend, error)
GetLoadBalancerBackends retrieves a list of load balancer backends.
func (*Service) GetLoadBalancerCertificateBundle ¶
func (s *Service) GetLoadBalancerCertificateBundle(ctx context.Context, r *request.GetLoadBalancerCertificateBundleRequest) (*upcloud.LoadBalancerCertificateBundle, error)
GetLoadBalancerCertificateBundle retrieves details of a load balancer certificate bundle.
func (*Service) GetLoadBalancerCertificateBundles ¶
func (s *Service) GetLoadBalancerCertificateBundles(ctx context.Context, r *request.GetLoadBalancerCertificateBundlesRequest) ([]upcloud.LoadBalancerCertificateBundle, error)
GetLoadBalancerCertificateBundles retrieves details of a load balancer certificate bundles.
func (*Service) GetLoadBalancerDNSChallengeDomain ¶ added in v8.8.0
func (s *Service) GetLoadBalancerDNSChallengeDomain(ctx context.Context, r *request.GetLoadBalancerDNSChallengeDomainRequest) (*upcloud.LoadBalancerDNSChallengeDomain, error)
func (*Service) GetLoadBalancerFrontend ¶
func (s *Service) GetLoadBalancerFrontend(ctx context.Context, r *request.GetLoadBalancerFrontendRequest) (*upcloud.LoadBalancerFrontend, error)
GetLoadBalancerFrontend retrieves details of a load balancer frontend.
func (*Service) GetLoadBalancerFrontendRule ¶
func (s *Service) GetLoadBalancerFrontendRule(ctx context.Context, r *request.GetLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error)
GetLoadBalancerFrontendRule retrieves details of a load balancer frontend rule.
func (*Service) GetLoadBalancerFrontendRules ¶
func (s *Service) GetLoadBalancerFrontendRules(ctx context.Context, r *request.GetLoadBalancerFrontendRulesRequest) ([]upcloud.LoadBalancerFrontendRule, error)
GetLoadBalancerFrontendRules retrieves a list of load balancer frontend rules.
func (*Service) GetLoadBalancerFrontendTLSConfig ¶
func (s *Service) GetLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.GetLoadBalancerFrontendTLSConfigRequest) (*upcloud.LoadBalancerFrontendTLSConfig, error)
GetLoadBalancerFrontendTLSConfig retrieves details of a load balancer frontend TLS config.
func (*Service) GetLoadBalancerFrontendTLSConfigs ¶
func (s *Service) GetLoadBalancerFrontendTLSConfigs(ctx context.Context, r *request.GetLoadBalancerFrontendTLSConfigsRequest) ([]upcloud.LoadBalancerFrontendTLSConfig, error)
GetLoadBalancerFrontendTLSConfigs retrieves a list of load balancer frontend TLS configs.
func (*Service) GetLoadBalancerFrontends ¶
func (s *Service) GetLoadBalancerFrontends(ctx context.Context, r *request.GetLoadBalancerFrontendsRequest) ([]upcloud.LoadBalancerFrontend, error)
GetLoadBalancerFrontends retrieves a list of load balancer frontends.
func (*Service) GetLoadBalancerPlans ¶
func (s *Service) GetLoadBalancerPlans(ctx context.Context, r *request.GetLoadBalancerPlansRequest) ([]upcloud.LoadBalancerPlan, error)
GetLoadBalancerPlans retrieves a list of load balancer plans.
func (*Service) GetLoadBalancerResolver ¶
func (s *Service) GetLoadBalancerResolver(ctx context.Context, r *request.GetLoadBalancerResolverRequest) (*upcloud.LoadBalancerResolver, error)
GetLoadBalancerResolver retrieves details of a load balancer resolver.
func (*Service) GetLoadBalancerResolvers ¶
func (s *Service) GetLoadBalancerResolvers(ctx context.Context, r *request.GetLoadBalancerResolversRequest) ([]upcloud.LoadBalancerResolver, error)
GetLoadBalancerResolvers retrieves a list of load balancer resolvers.
func (*Service) GetLoadBalancers ¶
func (s *Service) GetLoadBalancers(ctx context.Context, r *request.GetLoadBalancersRequest) ([]upcloud.LoadBalancer, error)
GetLoadBalancers retrieves a list of load balancers.
func (*Service) GetManagedDatabase ¶
func (s *Service) GetManagedDatabase(ctx context.Context, r *request.GetManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
GetManagedDatabase gets details of an existing managed database instance
func (*Service) GetManagedDatabaseAccessControl ¶
func (s *Service) GetManagedDatabaseAccessControl(ctx context.Context, r *request.GetManagedDatabaseAccessControlRequest) (*upcloud.ManagedDatabaseAccessControl, error)
GetManagedDatabaseAccessControl returns details of access control for an existing user
func (*Service) GetManagedDatabaseIndices ¶
func (s *Service) GetManagedDatabaseIndices(ctx context.Context, r *request.GetManagedDatabaseIndicesRequest) ([]upcloud.ManagedDatabaseIndex, error)
GetManagedDatabaseIndices returns indices of an existing OpenSearch Managed Database service
func (*Service) GetManagedDatabaseLogicalDatabases ¶
func (s *Service) GetManagedDatabaseLogicalDatabases(ctx context.Context, r *request.GetManagedDatabaseLogicalDatabasesRequest) ([]upcloud.ManagedDatabaseLogicalDatabase, error)
GetManagedDatabaseLogicalDatabases returns a slice of all logical databases of an existing managed database instance
func (*Service) GetManagedDatabaseLogs ¶
func (s *Service) GetManagedDatabaseLogs(ctx context.Context, r *request.GetManagedDatabaseLogsRequest) (*upcloud.ManagedDatabaseLogs, error)
GetManagedDatabaseLogs returns logs of a managed database instance
func (*Service) GetManagedDatabaseMetrics ¶
func (s *Service) GetManagedDatabaseMetrics(ctx context.Context, r *request.GetManagedDatabaseMetricsRequest) (*upcloud.ManagedDatabaseMetrics, error)
GetManagedDatabaseMetrics returns metrics collection for the selected period
func (*Service) GetManagedDatabaseQueryStatisticsMySQL ¶
func (s *Service) GetManagedDatabaseQueryStatisticsMySQL(ctx context.Context, r *request.GetManagedDatabaseQueryStatisticsRequest) ([]upcloud.ManagedDatabaseQueryStatisticsMySQL, error)
GetManagedDatabaseQueryStatisticsMySQL returns MySQL query statistics of a managed database instance
func (*Service) GetManagedDatabaseQueryStatisticsPostgreSQL ¶
func (s *Service) GetManagedDatabaseQueryStatisticsPostgreSQL(ctx context.Context, r *request.GetManagedDatabaseQueryStatisticsRequest) ([]upcloud.ManagedDatabaseQueryStatisticsPostgreSQL, error)
GetManagedDatabaseQueryStatisticsPostgreSQL returns PostgreSQL query statistics of a managed database instance
func (*Service) GetManagedDatabaseServiceType ¶
func (s *Service) GetManagedDatabaseServiceType(ctx context.Context, r *request.GetManagedDatabaseServiceTypeRequest) (*upcloud.ManagedDatabaseType, error)
GetManagedDatabaseServiceType returns details of requested service type
func (*Service) GetManagedDatabaseServiceTypes ¶
func (s *Service) GetManagedDatabaseServiceTypes(ctx context.Context, r *request.GetManagedDatabaseServiceTypesRequest) (map[string]upcloud.ManagedDatabaseType, error)
GetManagedDatabaseServiceTypes returns a map of available database service types
func (*Service) GetManagedDatabaseSessions ¶
func (s *Service) GetManagedDatabaseSessions(ctx context.Context, r *request.GetManagedDatabaseSessionsRequest) (upcloud.ManagedDatabaseSessions, error)
GetManagedDatabaseSessions returns a struct containing current sessions organized by type from an existing managed database instance
func (*Service) GetManagedDatabaseUser ¶
func (s *Service) GetManagedDatabaseUser(ctx context.Context, r *request.GetManagedDatabaseUserRequest) (*upcloud.ManagedDatabaseUser, error)
GetManagedDatabaseUser returns details of an existing user of an existing managed database instance
func (*Service) GetManagedDatabaseUsers ¶
func (s *Service) GetManagedDatabaseUsers(ctx context.Context, r *request.GetManagedDatabaseUsersRequest) ([]upcloud.ManagedDatabaseUser, error)
GetManagedDatabaseUsers returns a slice of all users of an existing managed database instance
func (*Service) GetManagedDatabaseVersions ¶
func (s *Service) GetManagedDatabaseVersions(ctx context.Context, r *request.GetManagedDatabaseVersionsRequest) ([]string, error)
GetManagedDatabaseVersions available versions of the specific Managed Database service
func (*Service) GetManagedDatabases ¶
func (s *Service) GetManagedDatabases(ctx context.Context, r *request.GetManagedDatabasesRequest) ([]upcloud.ManagedDatabase, error)
GetManagedDatabases returns a slice of all managed database instances within an account
func (*Service) GetManagedObjectStorage ¶
func (s *Service) GetManagedObjectStorage(ctx context.Context, r *request.GetManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error)
func (*Service) GetManagedObjectStorageBucketMetrics ¶
func (s *Service) GetManagedObjectStorageBucketMetrics(ctx context.Context, r *request.GetManagedObjectStorageBucketMetricsRequest) ([]upcloud.ManagedObjectStorageBucketMetrics, error)
func (*Service) GetManagedObjectStorageCustomDomain ¶ added in v8.8.0
func (s *Service) GetManagedObjectStorageCustomDomain(ctx context.Context, r *request.GetManagedObjectStorageCustomDomainRequest) (*upcloud.ManagedObjectStorageCustomDomain, error)
func (*Service) GetManagedObjectStorageCustomDomains ¶ added in v8.8.0
func (s *Service) GetManagedObjectStorageCustomDomains(ctx context.Context, r *request.GetManagedObjectStorageCustomDomainsRequest) ([]upcloud.ManagedObjectStorageCustomDomain, error)
func (*Service) GetManagedObjectStorageMetrics ¶
func (s *Service) GetManagedObjectStorageMetrics(ctx context.Context, r *request.GetManagedObjectStorageMetricsRequest) (*upcloud.ManagedObjectStorageMetrics, error)
func (*Service) GetManagedObjectStorageNetwork ¶
func (s *Service) GetManagedObjectStorageNetwork(ctx context.Context, r *request.GetManagedObjectStorageNetworkRequest) (*upcloud.ManagedObjectStorageNetwork, error)
func (*Service) GetManagedObjectStorageNetworks ¶
func (s *Service) GetManagedObjectStorageNetworks(ctx context.Context, r *request.GetManagedObjectStorageNetworksRequest) ([]upcloud.ManagedObjectStorageNetwork, error)
func (*Service) GetManagedObjectStoragePolicies ¶
func (s *Service) GetManagedObjectStoragePolicies(ctx context.Context, r *request.GetManagedObjectStoragePoliciesRequest) ([]upcloud.ManagedObjectStoragePolicy, error)
func (*Service) GetManagedObjectStoragePolicy ¶
func (s *Service) GetManagedObjectStoragePolicy(ctx context.Context, r *request.GetManagedObjectStoragePolicyRequest) (*upcloud.ManagedObjectStoragePolicy, error)
func (*Service) GetManagedObjectStorageRegion ¶
func (s *Service) GetManagedObjectStorageRegion(ctx context.Context, r *request.GetManagedObjectStorageRegionRequest) (*upcloud.ManagedObjectStorageRegion, error)
func (*Service) GetManagedObjectStorageRegions ¶
func (s *Service) GetManagedObjectStorageRegions(ctx context.Context, r *request.GetManagedObjectStorageRegionsRequest) ([]upcloud.ManagedObjectStorageRegion, error)
func (*Service) GetManagedObjectStorageUser ¶
func (s *Service) GetManagedObjectStorageUser(ctx context.Context, r *request.GetManagedObjectStorageUserRequest) (*upcloud.ManagedObjectStorageUser, error)
func (*Service) GetManagedObjectStorageUserAccessKey ¶
func (s *Service) GetManagedObjectStorageUserAccessKey(ctx context.Context, r *request.GetManagedObjectStorageUserAccessKeyRequest) (*upcloud.ManagedObjectStorageUserAccessKey, error)
func (*Service) GetManagedObjectStorageUserAccessKeys ¶
func (s *Service) GetManagedObjectStorageUserAccessKeys(ctx context.Context, r *request.GetManagedObjectStorageUserAccessKeysRequest) ([]upcloud.ManagedObjectStorageUserAccessKey, error)
func (*Service) GetManagedObjectStorageUserPolicies ¶
func (s *Service) GetManagedObjectStorageUserPolicies(ctx context.Context, r *request.GetManagedObjectStorageUserPoliciesRequest) ([]upcloud.ManagedObjectStorageUserPolicy, error)
func (*Service) GetManagedObjectStorageUsers ¶
func (s *Service) GetManagedObjectStorageUsers(ctx context.Context, r *request.GetManagedObjectStorageUsersRequest) ([]upcloud.ManagedObjectStorageUser, error)
func (*Service) GetManagedObjectStorages ¶
func (s *Service) GetManagedObjectStorages(ctx context.Context, r *request.GetManagedObjectStoragesRequest) ([]upcloud.ManagedObjectStorage, error)
func (*Service) GetNetworkDetails ¶
func (s *Service) GetNetworkDetails(ctx context.Context, r *request.GetNetworkDetailsRequest) (*upcloud.Network, error)
GetNetworkDetails returns the details for the specified network.
func (*Service) GetNetworkPeering ¶
func (s *Service) GetNetworkPeering(ctx context.Context, r *request.GetNetworkPeeringRequest) (*upcloud.NetworkPeering, error)
GetNetworkPeering (EXPERIMENTAL) retrieves details of a network peering.
func (*Service) GetNetworkPeerings ¶
func (s *Service) GetNetworkPeerings(ctx context.Context, f ...request.QueryFilter) (upcloud.NetworkPeerings, error)
GetNetworkPeerings (EXPERIMENTAL) retrieves a list of network peerings within an account.
func (*Service) GetNetworks ¶
func (s *Service) GetNetworks(ctx context.Context, f ...request.QueryFilter) (*upcloud.Networks, error)
GetNetworks returns the all the available networks
func (*Service) GetNetworksInZone ¶
func (s *Service) GetNetworksInZone(ctx context.Context, r *request.GetNetworksInZoneRequest) (*upcloud.Networks, error)
GetNetworksInZone returns the all the available networks within the specified zone.
func (*Service) GetObjectStorageDetails ¶
func (s *Service) GetObjectStorageDetails(ctx context.Context, r *request.GetObjectStorageDetailsRequest) (*upcloud.ObjectStorageDetails, error)
GetObjectStorageDetails returns extended details about the specified Object Storage
func (*Service) GetObjectStorages ¶
GetObjectStorages returns the available objects storages
func (*Service) GetPartnerAccounts ¶ added in v8.14.0
GetPartnerAccounts lists accounts associated with partner
func (*Service) GetPermissions ¶
func (s *Service) GetPermissions(ctx context.Context, r *request.GetPermissionsRequest) (upcloud.Permissions, error)
func (*Service) GetPriceZones ¶
GetPriceZones returns the available price zones and their corresponding prices
func (*Service) GetRouterDetails ¶
func (s *Service) GetRouterDetails(ctx context.Context, r *request.GetRouterDetailsRequest) (*upcloud.Router, error)
GetRouterDetails returns the details for the specified router.
func (*Service) GetRouters ¶
func (s *Service) GetRouters(ctx context.Context, f ...request.QueryFilter) (*upcloud.Routers, error)
GetRouters returns the all the available routers
func (*Service) GetServerConfigurations ¶
func (s *Service) GetServerConfigurations(ctx context.Context) (*upcloud.ServerConfigurations, error)
GetServerConfigurations returns the available pre-configured server configurations
func (*Service) GetServerDetails ¶
func (s *Service) GetServerDetails(ctx context.Context, r *request.GetServerDetailsRequest) (*upcloud.ServerDetails, error)
GetServerDetails returns extended details about the specified server
func (*Service) GetServerGroup ¶
func (s *Service) GetServerGroup(ctx context.Context, r *request.GetServerGroupRequest) (*upcloud.ServerGroup, error)
GetServerGroup retrieves details of a server group with context (EXPERIMENTAL).
func (*Service) GetServerGroups ¶
func (s *Service) GetServerGroups(ctx context.Context, r *request.GetServerGroupsRequest) (upcloud.ServerGroups, error)
GetServerGroups retrieves a list of server groups with context (EXPERIMENTAL).
func (*Service) GetServerGroupsWithFilters
deprecated
func (s *Service) GetServerGroupsWithFilters(ctx context.Context, r *request.GetServerGroupsWithFiltersRequest) (upcloud.ServerGroups, error)
Deprecated: GetServerGroupsWithFilters is deprecated. User GetServerGroups instead
func (*Service) GetServerNetworks ¶
func (s *Service) GetServerNetworks(ctx context.Context, r *request.GetServerNetworksRequest) (*upcloud.Networking, error)
GetServerNetworks returns all the networks associated with the specified server.
func (*Service) GetServers ¶
GetServers returns the available servers
func (*Service) GetServersWithFilters ¶
func (s *Service) GetServersWithFilters(ctx context.Context, r *request.GetServersWithFiltersRequest) (*upcloud.Servers, error)
GetServersWithFilters returns the all the available servers using given filters.
func (*Service) GetStorageDetails ¶
func (s *Service) GetStorageDetails(ctx context.Context, r *request.GetStorageDetailsRequest) (*upcloud.StorageDetails, error)
GetStorageDetails returns extended details about the specified piece of storage
func (*Service) GetStorageImportDetails ¶
func (s *Service) GetStorageImportDetails(ctx context.Context, r *request.GetStorageImportDetailsRequest) (*upcloud.StorageImportDetails, error)
GetStorageImportDetails gets updated details about the specified storage import.
func (*Service) GetStorages ¶
func (s *Service) GetStorages(ctx context.Context, r *request.GetStoragesRequest) (*upcloud.Storages, error)
GetStorages returns all available storages
func (*Service) GetTimeZones ¶
GetTimeZones returns the available timezones
func (*Service) GrantPermission ¶
func (s *Service) GrantPermission(ctx context.Context, r *request.GrantPermissionRequest) (*upcloud.Permission, error)
func (*Service) LoadCDROM ¶
func (s *Service) LoadCDROM(ctx context.Context, r *request.LoadCDROMRequest) (*upcloud.ServerDetails, error)
LoadCDROM loads a storage as a CD-ROM in the CD-ROM device of a server
func (*Service) ModifyGateway ¶
func (s *Service) ModifyGateway(ctx context.Context, r *request.ModifyGatewayRequest) (*upcloud.Gateway, error)
ModifyGateway modifies an existing network gateway.
func (*Service) ModifyGatewayConnection ¶ added in v8.3.0
func (s *Service) ModifyGatewayConnection(ctx context.Context, r *request.ModifyGatewayConnectionRequest) (*upcloud.GatewayConnection, error)
func (*Service) ModifyGatewayConnectionTunnel ¶ added in v8.3.0
func (s *Service) ModifyGatewayConnectionTunnel(ctx context.Context, r *request.ModifyGatewayConnectionTunnelRequest) (*upcloud.GatewayTunnel, error)
ModifyGatewayConnectionTunnel modifies a single tunnel for specific connection of specific gateway
func (*Service) ModifyHost ¶
func (s *Service) ModifyHost(ctx context.Context, r *request.ModifyHostRequest) (*upcloud.Host, error)
ModifyHost modifies the configuration of an existing host.
func (*Service) ModifyIPAddress ¶
func (s *Service) ModifyIPAddress(ctx context.Context, r *request.ModifyIPAddressRequest) (*upcloud.IPAddress, error)
ModifyIPAddress modifies the specified IP address
func (*Service) ModifyKubernetesCluster ¶
func (s *Service) ModifyKubernetesCluster(ctx context.Context, r *request.ModifyKubernetesClusterRequest) (*upcloud.KubernetesCluster, error)
ModifyKubernetesCluster modifies an existing Kubernetes cluster.
func (*Service) ModifyKubernetesNodeGroup ¶
func (s *Service) ModifyKubernetesNodeGroup(ctx context.Context, r *request.ModifyKubernetesNodeGroupRequest) (*upcloud.KubernetesNodeGroup, error)
ModifyKubernetesNodeGroup modifies an existing node group.
func (*Service) ModifyLoadBalancer ¶
func (s *Service) ModifyLoadBalancer(ctx context.Context, r *request.ModifyLoadBalancerRequest) (*upcloud.LoadBalancer, error)
ModifyLoadBalancer modifies an existing load balancer.
func (*Service) ModifyLoadBalancerBackend ¶
func (s *Service) ModifyLoadBalancerBackend(ctx context.Context, r *request.ModifyLoadBalancerBackendRequest) (*upcloud.LoadBalancerBackend, error)
ModifyLoadBalancerBackend modifies an existing load balancer backend.
func (*Service) ModifyLoadBalancerBackendMember ¶
func (s *Service) ModifyLoadBalancerBackendMember(ctx context.Context, r *request.ModifyLoadBalancerBackendMemberRequest) (*upcloud.LoadBalancerBackendMember, error)
ModifyLoadBalancerBackendMember modifies an existing load balancer backend member.
func (*Service) ModifyLoadBalancerBackendTLSConfig ¶
func (s *Service) ModifyLoadBalancerBackendTLSConfig(ctx context.Context, r *request.ModifyLoadBalancerBackendTLSConfigRequest) (*upcloud.LoadBalancerBackendTLSConfig, error)
ModifyLoadBalancerBackendTLSConfig modifies an existing load balancer backend TLS Config.
func (*Service) ModifyLoadBalancerCertificateBundle ¶
func (s *Service) ModifyLoadBalancerCertificateBundle(ctx context.Context, r *request.ModifyLoadBalancerCertificateBundleRequest) (*upcloud.LoadBalancerCertificateBundle, error)
ModifyLoadBalancerCertificateBundle modifies an existing load balancer certificate bundle.
func (*Service) ModifyLoadBalancerFrontend ¶
func (s *Service) ModifyLoadBalancerFrontend(ctx context.Context, r *request.ModifyLoadBalancerFrontendRequest) (*upcloud.LoadBalancerFrontend, error)
ModifyLoadBalancerFrontend modifies an existing load balancer frontend.
func (*Service) ModifyLoadBalancerFrontendRule ¶
func (s *Service) ModifyLoadBalancerFrontendRule(ctx context.Context, r *request.ModifyLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error)
ModifyLoadBalancerFrontendRule modifies an existing load balancer frontend rule.
func (*Service) ModifyLoadBalancerFrontendTLSConfig ¶
func (s *Service) ModifyLoadBalancerFrontendTLSConfig(ctx context.Context, r *request.ModifyLoadBalancerFrontendTLSConfigRequest) (*upcloud.LoadBalancerFrontendTLSConfig, error)
ModifyLoadBalancerFrontendTLSConfig modifies an existing load balancer frontend TLS Config.
func (*Service) ModifyLoadBalancerNetwork ¶
func (s *Service) ModifyLoadBalancerNetwork(ctx context.Context, r *request.ModifyLoadBalancerNetworkRequest) (*upcloud.LoadBalancerNetwork, error)
func (*Service) ModifyLoadBalancerResolver ¶
func (s *Service) ModifyLoadBalancerResolver(ctx context.Context, r *request.ModifyLoadBalancerResolverRequest) (*upcloud.LoadBalancerResolver, error)
ModifyLoadBalancerResolver modifies an existing load balancer resolver.
func (*Service) ModifyManagedDatabase ¶
func (s *Service) ModifyManagedDatabase(ctx context.Context, r *request.ModifyManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
ModifyManagedDatabase modifies an existing managed database instance
func (*Service) ModifyManagedDatabaseAccessControl ¶
func (s *Service) ModifyManagedDatabaseAccessControl(ctx context.Context, r *request.ModifyManagedDatabaseAccessControlRequest) (*upcloud.ManagedDatabaseAccessControl, error)
ModifyManagedDatabaseAccessControl modifies access control settings for an existing OpenSearch Managed Database service
func (*Service) ModifyManagedDatabaseUser ¶
func (s *Service) ModifyManagedDatabaseUser(ctx context.Context, r *request.ModifyManagedDatabaseUserRequest) (*upcloud.ManagedDatabaseUser, error)
ModifyManagedDatabaseUser modifies an existing user of an existing managed database instance
func (*Service) ModifyManagedDatabaseUserAccessControl ¶
func (s *Service) ModifyManagedDatabaseUserAccessControl(ctx context.Context, r *request.ModifyManagedDatabaseUserAccessControlRequest) (*upcloud.ManagedDatabaseUser, error)
ModifyManagedDatabaseUserAccessControl modifies access control for an existing user
func (*Service) ModifyManagedObjectStorage ¶
func (s *Service) ModifyManagedObjectStorage(ctx context.Context, r *request.ModifyManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error)
func (*Service) ModifyManagedObjectStorageCustomDomain ¶ added in v8.8.0
func (s *Service) ModifyManagedObjectStorageCustomDomain(ctx context.Context, r *request.ModifyManagedObjectStorageCustomDomainRequest) (*upcloud.ManagedObjectStorageCustomDomain, error)
func (*Service) ModifyManagedObjectStorageUserAccessKey ¶
func (s *Service) ModifyManagedObjectStorageUserAccessKey(ctx context.Context, r *request.ModifyManagedObjectStorageUserAccessKeyRequest) (*upcloud.ManagedObjectStorageUserAccessKey, error)
func (*Service) ModifyNetwork ¶
func (s *Service) ModifyNetwork(ctx context.Context, r *request.ModifyNetworkRequest) (*upcloud.Network, error)
ModifyNetwork modifies the existing specified network.
func (*Service) ModifyNetworkInterface ¶
func (s *Service) ModifyNetworkInterface(ctx context.Context, r *request.ModifyNetworkInterfaceRequest) (*upcloud.Interface, error)
ModifyNetworkInterface modifies the specified network interface on the specified server.
func (*Service) ModifyNetworkPeering ¶
func (s *Service) ModifyNetworkPeering(ctx context.Context, r *request.ModifyNetworkPeeringRequest) (*upcloud.NetworkPeering, error)
ModifyNetworkPeering (EXPERIMENTAL) modifies an existing network peering.
func (*Service) ModifyObjectStorage ¶
func (s *Service) ModifyObjectStorage(ctx context.Context, r *request.ModifyObjectStorageRequest) (*upcloud.ObjectStorageDetails, error)
ModifyObjectStorage modifies the configuration of an existing Object Storage
func (*Service) ModifyRouter ¶
func (s *Service) ModifyRouter(ctx context.Context, r *request.ModifyRouterRequest) (*upcloud.Router, error)
ModifyRouter modifies the configuration of the specified existing router.
func (*Service) ModifyServer ¶
func (s *Service) ModifyServer(ctx context.Context, r *request.ModifyServerRequest) (*upcloud.ServerDetails, error)
ModifyServer modifies the configuration of an existing server. Attaching and detaching storages as well as assigning and releasing IP addresses have their own separate operations.
func (*Service) ModifyServerGroup ¶
func (s *Service) ModifyServerGroup(ctx context.Context, r *request.ModifyServerGroupRequest) (*upcloud.ServerGroup, error)
ModifyServerGroup modifies an existing server group with context (EXPERIMENTAL).
func (*Service) ModifyStorage ¶
func (s *Service) ModifyStorage(ctx context.Context, r *request.ModifyStorageRequest) (*upcloud.StorageDetails, error)
ModifyStorage modifies the specified storage device
func (*Service) ModifySubaccount ¶
func (s *Service) ModifySubaccount(ctx context.Context, r *request.ModifySubaccountRequest) (*upcloud.AccountDetails, error)
ModifySubaccount modifies a sub account
func (*Service) ReleaseIPAddress ¶
ReleaseIPAddress releases the specified IP address from the server it is attached to
func (*Service) RemoveServerFromServerGroup ¶
func (s *Service) RemoveServerFromServerGroup(ctx context.Context, r *request.RemoveServerFromServerGroupRequest) error
RemoveServerFromServerGroup removes a server from a server group with context (EXPERIMENTAL).
func (*Service) ReplaceLoadBalancerFrontendRule ¶
func (s *Service) ReplaceLoadBalancerFrontendRule(ctx context.Context, r *request.ReplaceLoadBalancerFrontendRuleRequest) (*upcloud.LoadBalancerFrontendRule, error)
ReplaceLoadBalancerFrontendRule replaces an existing load balancer frontend rule.
func (*Service) ReplaceManagedObjectStorage ¶
func (s *Service) ReplaceManagedObjectStorage(ctx context.Context, r *request.ReplaceManagedObjectStorageRequest) (*upcloud.ManagedObjectStorage, error)
func (*Service) ResizeStorageFilesystem ¶
func (s *Service) ResizeStorageFilesystem(ctx context.Context, r *request.ResizeStorageFilesystemRequest) (*upcloud.ResizeStorageFilesystemBackup, error)
ResizeStorageFilesystem resizes the last partition of a storage and the ext3/ext4/XFS/NTFS filesystem on that partition if the partition does not extend to the end of the storage yet.
Before the resize is attempted, a backup is taken from the storage. If the resize succeeds, backup details are returned. It is advisable to keep the backup until you have ensured that everything works after the resize.
If the resize fails, backup is used to restore the storage to the state where it was before the resize. After that the backup is deleted automatically.
func (*Service) RestartServer ¶
func (s *Service) RestartServer(ctx context.Context, r *request.RestartServerRequest) (*upcloud.ServerDetails, error)
RestartServer restarts the specified server
func (*Service) RestoreBackup ¶
RestoreBackup creates a backup of the specified storage
func (*Service) RevokePermission ¶
func (*Service) ShutdownManagedDatabase ¶
func (s *Service) ShutdownManagedDatabase(ctx context.Context, r *request.ShutdownManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
ShutdownManagedDatabase shuts down existing managed database instance. Only a service which has at least one full backup can be shut down.
func (*Service) StartManagedDatabase ¶
func (s *Service) StartManagedDatabase(ctx context.Context, r *request.StartManagedDatabaseRequest) (*upcloud.ManagedDatabase, error)
StartManagedDatabase starts a shut down existing managed database instance
func (*Service) StartServer ¶
func (s *Service) StartServer(ctx context.Context, r *request.StartServerRequest) (*upcloud.ServerDetails, error)
StartServer starts the specified server
func (*Service) StopServer ¶
func (s *Service) StopServer(ctx context.Context, r *request.StopServerRequest) (*upcloud.ServerDetails, error)
StopServer stops the specified server
func (*Service) TagServer ¶
func (s *Service) TagServer(ctx context.Context, r *request.TagServerRequest) (*upcloud.ServerDetails, error)
TagServer tags a server with with one or more tags
func (*Service) TemplatizeStorage ¶
func (s *Service) TemplatizeStorage(ctx context.Context, r *request.TemplatizeStorageRequest) (*upcloud.StorageDetails, error)
TemplatizeStorage detaches the specified storage from the specified server
func (*Service) UntagServer ¶
func (s *Service) UntagServer(ctx context.Context, r *request.UntagServerRequest) (*upcloud.ServerDetails, error)
UntagServer removes one or more tags from a server
func (*Service) UpgradeManagedDatabaseVersion ¶
func (s *Service) UpgradeManagedDatabaseVersion(ctx context.Context, r *request.UpgradeManagedDatabaseVersionRequest) (*upcloud.ManagedDatabase, error)
UpgradeManagedDatabaseVersion upgrades the version of the database service; for the list of available versions use GetManagedDatabaseVersions function
func (*Service) WaitForKubernetesClusterState ¶
func (s *Service) WaitForKubernetesClusterState(ctx context.Context, r *request.WaitForKubernetesClusterStateRequest) (*upcloud.KubernetesCluster, error)
WaitForKubernetesClusterState blocks execution until the specified Kubernetes cluster has entered the specified state. If the state changes favorably, cluster details are returned. The method will give up after the specified timeout
func (*Service) WaitForKubernetesNodeGroupState ¶
func (s *Service) WaitForKubernetesNodeGroupState(ctx context.Context, r *request.WaitForKubernetesNodeGroupStateRequest) (*upcloud.KubernetesNodeGroup, error)
WaitForKubernetesNodeGroupState blocks execution until the specified Kubernetes node group has entered the specified state. If the state changes favorably, node group is returned. The method will give up after the specified timeout
func (*Service) WaitForManagedDatabaseState ¶
func (s *Service) WaitForManagedDatabaseState(ctx context.Context, r *request.WaitForManagedDatabaseStateRequest) (*upcloud.ManagedDatabase, error)
WaitForManagedDatabaseState blocks execution until the specified managed database instance has entered the specified state. If the state changes favorably, the new managed database details is returned. The method will give up after the specified timeout
func (*Service) WaitForManagedObjectStorageBucketDeletion ¶ added in v8.9.0
func (s *Service) WaitForManagedObjectStorageBucketDeletion(ctx context.Context, r *request.WaitForManagedObjectStorageBucketDeletionRequest) error
WaitForManagedObjectStorageBucketDeletion blocks execution until the specified Managed Object Storage bucket has been deleted.
func (*Service) WaitForManagedObjectStorageDeletion ¶
func (s *Service) WaitForManagedObjectStorageDeletion(ctx context.Context, r *request.WaitForManagedObjectStorageDeletionRequest) error
WaitForManagedObjectStorageDeletion blocks execution until the specified Managed Object Storage service has been deleted.
func (*Service) WaitForManagedObjectStorageOperationalState ¶
func (s *Service) WaitForManagedObjectStorageOperationalState(ctx context.Context, r *request.WaitForManagedObjectStorageOperationalStateRequest) (*upcloud.ManagedObjectStorage, error)
WaitForManagedObjectStorageOperationalState blocks execution until the specified Managed Object Storage service has entered the specified state. If the state changes favorably, service details is returned. The method will give up after the specified timeout
func (*Service) WaitForNetworkPeeringState ¶ added in v8.2.0
func (s *Service) WaitForNetworkPeeringState(ctx context.Context, r *request.WaitForNetworkPeeringStateRequest) (*upcloud.NetworkPeering, error)
func (*Service) WaitForServerState ¶
func (s *Service) WaitForServerState(ctx context.Context, r *request.WaitForServerStateRequest) (*upcloud.ServerDetails, error)
WaitForServerState blocks execution until the specified server has entered the specified state. If the state changes favorably, the new server details are returned. The method will give up after the specified timeout
func (*Service) WaitForStorageImportCompletion ¶
func (s *Service) WaitForStorageImportCompletion(ctx context.Context, r *request.WaitForStorageImportCompletionRequest) (*upcloud.StorageImportDetails, error)
WaitForStorageImportCompletion waits for the importing storage to complete.
func (*Service) WaitForStorageState ¶
func (s *Service) WaitForStorageState(ctx context.Context, r *request.WaitForStorageStateRequest) (*upcloud.StorageDetails, error)
WaitForStorageState blocks execution until the specified storage device has entered the specified state. If the state changes favorably, the new storage details is returned. The method will give up after the specified timeout
type Storage ¶
type Storage interface { GetStorages(ctx context.Context, r *request.GetStoragesRequest) (*upcloud.Storages, error) GetStorageDetails(ctx context.Context, r *request.GetStorageDetailsRequest) (*upcloud.StorageDetails, error) CreateStorage(ctx context.Context, r *request.CreateStorageRequest) (*upcloud.StorageDetails, error) ModifyStorage(ctx context.Context, r *request.ModifyStorageRequest) (*upcloud.StorageDetails, error) AttachStorage(ctx context.Context, r *request.AttachStorageRequest) (*upcloud.ServerDetails, error) DetachStorage(ctx context.Context, r *request.DetachStorageRequest) (*upcloud.ServerDetails, error) CloneStorage(ctx context.Context, r *request.CloneStorageRequest) (*upcloud.StorageDetails, error) TemplatizeStorage(ctx context.Context, r *request.TemplatizeStorageRequest) (*upcloud.StorageDetails, error) WaitForStorageState(ctx context.Context, r *request.WaitForStorageStateRequest) (*upcloud.StorageDetails, error) LoadCDROM(ctx context.Context, r *request.LoadCDROMRequest) (*upcloud.ServerDetails, error) EjectCDROM(ctx context.Context, r *request.EjectCDROMRequest) (*upcloud.ServerDetails, error) CreateBackup(ctx context.Context, r *request.CreateBackupRequest) (*upcloud.StorageDetails, error) RestoreBackup(ctx context.Context, r *request.RestoreBackupRequest) error CreateStorageImport(ctx context.Context, r *request.CreateStorageImportRequest) (*upcloud.StorageImportDetails, error) GetStorageImportDetails(ctx context.Context, r *request.GetStorageImportDetailsRequest) (*upcloud.StorageImportDetails, error) WaitForStorageImportCompletion(ctx context.Context, r *request.WaitForStorageImportCompletionRequest) (*upcloud.StorageImportDetails, error) DeleteStorage(ctx context.Context, r *request.DeleteStorageRequest) error ResizeStorageFilesystem(ctx context.Context, r *request.ResizeStorageFilesystemRequest) (*upcloud.ResizeStorageFilesystemBackup, error) }
type Tag ¶
type Tag interface { GetTags(ctx context.Context) (*upcloud.Tags, error) CreateTag(ctx context.Context, r *request.CreateTagRequest) (*upcloud.Tag, error) ModifyTag(ctx context.Context, r *request.ModifyTagRequest) (*upcloud.Tag, error) DeleteTag(ctx context.Context, r *request.DeleteTagRequest) error TagServer(ctx context.Context, r *request.TagServerRequest) (*upcloud.ServerDetails, error) UntagServer(ctx context.Context, r *request.UntagServerRequest) (*upcloud.ServerDetails, error) }