resources

package
v6.7.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIVersion

type APIVersion struct {
	sdkgo.APIVersion
}

type APIVersionList

type APIVersionList struct {
	Versions []sdkgo.APIVersion
}

type BackupResponse

type BackupResponse struct {
	sdkgo.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 {
	sdkgo.ClusterBackup
}

type ClusterBackupList

type ClusterBackupList struct {
	sdkgo.ClusterBackupList
}

type ClusterList

type ClusterList struct {
	sdkgo.ClusterList
}

type ClusterLogs

type ClusterLogs struct {
	sdkgo.ClusterLogs
}

type ClusterResponse

type ClusterResponse struct {
	sdkgo.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 {
	sdkgo.CreateClusterProperties
}

type CreateClusterRequest

type CreateClusterRequest struct {
	sdkgo.CreateClusterRequest
}

type CreateRestoreRequest

type CreateRestoreRequest struct {
	sdkgo.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 LogsQueryParams struct {
	Direction          string
	Limit              int32
	StartTime, EndTime time.Time
}

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 {
	sdkgo.PatchClusterProperties
}

type PatchClusterRequest

type PatchClusterRequest struct {
	sdkgo.PatchClusterRequest
}

type PostgresVersionList

type PostgresVersionList struct {
	sdkgo.PostgresVersionList
}

type Response

type Response struct {
	sdkgo.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

Directories

Path Synopsis
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL