Documentation
¶
Index ¶
- type APIVersion
- type APIVersionList
- type BackupResponse
- type BackupsService
- type ClusterBackup
- type ClusterBackupList
- type ClusterList
- type ClusterLogs
- type ClusterResponse
- type ClustersService
- type CreateClusterProperties
- type CreateClusterRequest
- type CreateRestoreRequest
- type InfosService
- type LogsQueryParams
- type LogsService
- type PatchClusterProperties
- type PatchClusterRequest
- type PostgresVersionList
- type Response
- type RestoresService
- type VersionsService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIVersion ¶
type APIVersion struct {
psql.APIVersion
}
type APIVersionList ¶
type APIVersionList struct {
Versions []psql.APIVersion
}
type BackupResponse ¶
type BackupResponse struct {
psql.BackupResponse
}
type BackupsService ¶
type BackupsService interface {
List() (ClusterBackupList, *Response, error)
Get(backupId string) (*BackupResponse, *Response, error)
ListBackups(clusterId string) (ClusterBackupList, *Response, error)
}
BackupsService is a wrapper around ionoscloud.ClusterBackup
func NewBackupsService ¶
func NewBackupsService(client *client.Client, ctx context.Context) BackupsService
type ClusterBackup ¶
type ClusterBackup struct {
psql.ClusterBackup
}
type ClusterBackupList ¶
type ClusterBackupList struct {
psql.ClusterBackupList
}
type ClusterList ¶
type ClusterList struct {
psql.ClusterList
}
type ClusterLogs ¶
type ClusterLogs struct {
psql.ClusterLogs
}
type ClusterResponse ¶
type ClusterResponse struct {
psql.ClusterResponse
}
type ClustersService ¶
type ClustersService interface {
List(filterName string) (ClusterList, *Response, error)
Get(clusterId string) (*ClusterResponse, *Response, error)
Create(input CreateClusterRequest) (*ClusterResponse, *Response, error)
Update(clusterId string, input PatchClusterRequest) (*ClusterResponse, *Response, error)
Delete(clusterId string) (*Response, error)
}
ClustersService is a wrapper around ionoscloud.Cluster
func NewClustersService ¶
func NewClustersService(client *client.Client, ctx context.Context) ClustersService
type CreateClusterProperties ¶
type CreateClusterProperties struct {
psql.CreateClusterProperties
}
type CreateClusterRequest ¶
type CreateClusterRequest struct {
psql.CreateClusterRequest
}
type CreateRestoreRequest ¶
type CreateRestoreRequest struct {
psql.CreateRestoreRequest
}
type InfosService ¶
type InfosService interface {
List() (APIVersionList, *Response, error)
Get() (APIVersion, *Response, error)
}
InfosService is a wrapper around ionoscloud.APIVersion
func NewInfosService ¶
func NewInfosService(client *client.Client, ctx context.Context) InfosService
type LogsQueryParams ¶
type LogsService ¶
type LogsService interface {
Get(clusterId string, queryParams *LogsQueryParams) (*ClusterLogs, *Response, error)
}
LogsService is a wrapper around ionoscloud.ClusterLogs
func NewLogsService ¶
func NewLogsService(client *client.Client, ctx context.Context) LogsService
type PatchClusterProperties ¶
type PatchClusterProperties struct {
psql.PatchClusterProperties
}
type PatchClusterRequest ¶
type PatchClusterRequest struct {
psql.PatchClusterRequest
}
type PostgresVersionList ¶
type PostgresVersionList struct {
psql.PostgresVersionList
}
type Response ¶
type Response struct {
shared.APIResponse
}
type RestoresService ¶
type RestoresService interface {
Restore(clusterId string, input CreateRestoreRequest) (*Response, error)
}
RestoresService is a wrapper around ionoscloud.CreateRestoreRequest
func NewRestoresService ¶
func NewRestoresService(client *client.Client, ctx context.Context) RestoresService
type VersionsService ¶
type VersionsService interface {
List() (PostgresVersionList, *Response, error)
Get(clusterId string) (PostgresVersionList, *Response, error)
}
VersionsService is a wrapper around ionoscloud.PostgresVersionList
func NewVersionsService ¶
func NewVersionsService(client *client.Client, ctx context.Context) VersionsService
Click to show internal directories.
Click to hide internal directories.