Documentation ¶
Overview ¶
Package api ...
Package api ...
Package api ...
Package api ...
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.1.0 DO NOT EDIT.
Package api contains the API server implementation.
Package api ...
Package api ...
Package api contains the API server implementation.
Package api ...
Index ¶
- Constants
- func ErrCreateStorageNotSupported(storageType string) error
- func ErrInvalidURL(fieldName string) error
- func ErrNameNotRFC1035Compatible(fieldName string) error
- func ErrNameTooLong(fieldName string) error
- func ErrUpdateStorageNotSupported(storageType string) error
- func GetSwagger() (swagger *openapi3.T, err error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- func RegisterHandlers(router EchoRouter, si ServerInterface)
- func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
- type BackupStorage
- type BackupStorageType
- type BackupStoragesList
- type CreateBackupStorageJSONRequestBody
- type CreateBackupStorageParams
- type CreateBackupStorageParamsType
- type CreateDatabaseClusterBackupJSONRequestBody
- type CreateDatabaseClusterJSONRequestBody
- type CreateDatabaseClusterRestoreJSONRequestBody
- type CreateMonitoringInstanceJSONRequestBody
- type CreateSessionJSONRequestBody
- type DatabaseCluster
- type DatabaseClusterBackup
- type DatabaseClusterBackupList
- type DatabaseClusterComponent
- type DatabaseClusterComponentContainer
- type DatabaseClusterComponents
- type DatabaseClusterCredential
- type DatabaseClusterList
- type DatabaseClusterPitr
- type DatabaseClusterRestore
- type DatabaseClusterRestoreList
- type DatabaseClusterRestoreSpecDataSourcePitrType
- type DatabaseClusterSpecDataSourcePitrType
- type DatabaseClusterSpecEngineResourcesCpu0
- type DatabaseClusterSpecEngineResourcesCpu1
- type DatabaseClusterSpecEngineResourcesMemory0
- type DatabaseClusterSpecEngineResourcesMemory1
- type DatabaseClusterSpecEngineStorageSize0
- type DatabaseClusterSpecEngineStorageSize1
- type DatabaseClusterSpecEngineType
- type DatabaseClusterSpecMonitoringResourcesLimits0
- type DatabaseClusterSpecMonitoringResourcesLimits1
- type DatabaseClusterSpecMonitoringResourcesRequests0
- type DatabaseClusterSpecMonitoringResourcesRequests1
- type DatabaseClusterSpecProxyExposeType
- type DatabaseClusterSpecProxyResourcesCpu0
- type DatabaseClusterSpecProxyResourcesCpu1
- type DatabaseClusterSpecProxyResourcesMemory0
- type DatabaseClusterSpecProxyResourcesMemory1
- type DatabaseClusterSpecProxyType
- type DatabaseCluster_Spec_Engine_Resources_Cpu
- func (t DatabaseCluster_Spec_Engine_Resources_Cpu) AsDatabaseClusterSpecEngineResourcesCpu0() (DatabaseClusterSpecEngineResourcesCpu0, error)
- func (t DatabaseCluster_Spec_Engine_Resources_Cpu) AsDatabaseClusterSpecEngineResourcesCpu1() (DatabaseClusterSpecEngineResourcesCpu1, error)
- func (t *DatabaseCluster_Spec_Engine_Resources_Cpu) FromDatabaseClusterSpecEngineResourcesCpu0(v DatabaseClusterSpecEngineResourcesCpu0) error
- func (t *DatabaseCluster_Spec_Engine_Resources_Cpu) FromDatabaseClusterSpecEngineResourcesCpu1(v DatabaseClusterSpecEngineResourcesCpu1) error
- func (t DatabaseCluster_Spec_Engine_Resources_Cpu) MarshalJSON() ([]byte, error)
- func (t *DatabaseCluster_Spec_Engine_Resources_Cpu) MergeDatabaseClusterSpecEngineResourcesCpu0(v DatabaseClusterSpecEngineResourcesCpu0) error
- func (t *DatabaseCluster_Spec_Engine_Resources_Cpu) MergeDatabaseClusterSpecEngineResourcesCpu1(v DatabaseClusterSpecEngineResourcesCpu1) error
- func (t *DatabaseCluster_Spec_Engine_Resources_Cpu) UnmarshalJSON(b []byte) error
- type DatabaseCluster_Spec_Engine_Resources_Memory
- func (t DatabaseCluster_Spec_Engine_Resources_Memory) AsDatabaseClusterSpecEngineResourcesMemory0() (DatabaseClusterSpecEngineResourcesMemory0, error)
- func (t DatabaseCluster_Spec_Engine_Resources_Memory) AsDatabaseClusterSpecEngineResourcesMemory1() (DatabaseClusterSpecEngineResourcesMemory1, error)
- func (t *DatabaseCluster_Spec_Engine_Resources_Memory) FromDatabaseClusterSpecEngineResourcesMemory0(v DatabaseClusterSpecEngineResourcesMemory0) error
- func (t *DatabaseCluster_Spec_Engine_Resources_Memory) FromDatabaseClusterSpecEngineResourcesMemory1(v DatabaseClusterSpecEngineResourcesMemory1) error
- func (t DatabaseCluster_Spec_Engine_Resources_Memory) MarshalJSON() ([]byte, error)
- func (t *DatabaseCluster_Spec_Engine_Resources_Memory) MergeDatabaseClusterSpecEngineResourcesMemory0(v DatabaseClusterSpecEngineResourcesMemory0) error
- func (t *DatabaseCluster_Spec_Engine_Resources_Memory) MergeDatabaseClusterSpecEngineResourcesMemory1(v DatabaseClusterSpecEngineResourcesMemory1) error
- func (t *DatabaseCluster_Spec_Engine_Resources_Memory) UnmarshalJSON(b []byte) error
- type DatabaseCluster_Spec_Engine_Storage_Size
- func (t DatabaseCluster_Spec_Engine_Storage_Size) AsDatabaseClusterSpecEngineStorageSize0() (DatabaseClusterSpecEngineStorageSize0, error)
- func (t DatabaseCluster_Spec_Engine_Storage_Size) AsDatabaseClusterSpecEngineStorageSize1() (DatabaseClusterSpecEngineStorageSize1, error)
- func (t *DatabaseCluster_Spec_Engine_Storage_Size) FromDatabaseClusterSpecEngineStorageSize0(v DatabaseClusterSpecEngineStorageSize0) error
- func (t *DatabaseCluster_Spec_Engine_Storage_Size) FromDatabaseClusterSpecEngineStorageSize1(v DatabaseClusterSpecEngineStorageSize1) error
- func (t DatabaseCluster_Spec_Engine_Storage_Size) MarshalJSON() ([]byte, error)
- func (t *DatabaseCluster_Spec_Engine_Storage_Size) MergeDatabaseClusterSpecEngineStorageSize0(v DatabaseClusterSpecEngineStorageSize0) error
- func (t *DatabaseCluster_Spec_Engine_Storage_Size) MergeDatabaseClusterSpecEngineStorageSize1(v DatabaseClusterSpecEngineStorageSize1) error
- func (t *DatabaseCluster_Spec_Engine_Storage_Size) UnmarshalJSON(b []byte) error
- type DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties
- func (t DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesLimits0() (DatabaseClusterSpecMonitoringResourcesLimits0, error)
- func (t DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesLimits1() (DatabaseClusterSpecMonitoringResourcesLimits1, error)
- func (t *DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesLimits0(v DatabaseClusterSpecMonitoringResourcesLimits0) error
- func (t *DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesLimits1(v DatabaseClusterSpecMonitoringResourcesLimits1) error
- func (t DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) MarshalJSON() ([]byte, error)
- func (t *DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesLimits0(v DatabaseClusterSpecMonitoringResourcesLimits0) error
- func (t *DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesLimits1(v DatabaseClusterSpecMonitoringResourcesLimits1) error
- func (t *DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) UnmarshalJSON(b []byte) error
- type DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties
- func (t DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesRequests0() (DatabaseClusterSpecMonitoringResourcesRequests0, error)
- func (t DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesRequests1() (DatabaseClusterSpecMonitoringResourcesRequests1, error)
- func (t *DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesRequests0(v DatabaseClusterSpecMonitoringResourcesRequests0) error
- func (t *DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesRequests1(v DatabaseClusterSpecMonitoringResourcesRequests1) error
- func (t DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) MarshalJSON() ([]byte, error)
- func (t *DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesRequests0(v DatabaseClusterSpecMonitoringResourcesRequests0) error
- func (t *DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesRequests1(v DatabaseClusterSpecMonitoringResourcesRequests1) error
- func (t *DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) UnmarshalJSON(b []byte) error
- type DatabaseCluster_Spec_Proxy_Resources_Cpu
- func (t DatabaseCluster_Spec_Proxy_Resources_Cpu) AsDatabaseClusterSpecProxyResourcesCpu0() (DatabaseClusterSpecProxyResourcesCpu0, error)
- func (t DatabaseCluster_Spec_Proxy_Resources_Cpu) AsDatabaseClusterSpecProxyResourcesCpu1() (DatabaseClusterSpecProxyResourcesCpu1, error)
- func (t *DatabaseCluster_Spec_Proxy_Resources_Cpu) FromDatabaseClusterSpecProxyResourcesCpu0(v DatabaseClusterSpecProxyResourcesCpu0) error
- func (t *DatabaseCluster_Spec_Proxy_Resources_Cpu) FromDatabaseClusterSpecProxyResourcesCpu1(v DatabaseClusterSpecProxyResourcesCpu1) error
- func (t DatabaseCluster_Spec_Proxy_Resources_Cpu) MarshalJSON() ([]byte, error)
- func (t *DatabaseCluster_Spec_Proxy_Resources_Cpu) MergeDatabaseClusterSpecProxyResourcesCpu0(v DatabaseClusterSpecProxyResourcesCpu0) error
- func (t *DatabaseCluster_Spec_Proxy_Resources_Cpu) MergeDatabaseClusterSpecProxyResourcesCpu1(v DatabaseClusterSpecProxyResourcesCpu1) error
- func (t *DatabaseCluster_Spec_Proxy_Resources_Cpu) UnmarshalJSON(b []byte) error
- type DatabaseCluster_Spec_Proxy_Resources_Memory
- func (t DatabaseCluster_Spec_Proxy_Resources_Memory) AsDatabaseClusterSpecProxyResourcesMemory0() (DatabaseClusterSpecProxyResourcesMemory0, error)
- func (t DatabaseCluster_Spec_Proxy_Resources_Memory) AsDatabaseClusterSpecProxyResourcesMemory1() (DatabaseClusterSpecProxyResourcesMemory1, error)
- func (t *DatabaseCluster_Spec_Proxy_Resources_Memory) FromDatabaseClusterSpecProxyResourcesMemory0(v DatabaseClusterSpecProxyResourcesMemory0) error
- func (t *DatabaseCluster_Spec_Proxy_Resources_Memory) FromDatabaseClusterSpecProxyResourcesMemory1(v DatabaseClusterSpecProxyResourcesMemory1) error
- func (t DatabaseCluster_Spec_Proxy_Resources_Memory) MarshalJSON() ([]byte, error)
- func (t *DatabaseCluster_Spec_Proxy_Resources_Memory) MergeDatabaseClusterSpecProxyResourcesMemory0(v DatabaseClusterSpecProxyResourcesMemory0) error
- func (t *DatabaseCluster_Spec_Proxy_Resources_Memory) MergeDatabaseClusterSpecProxyResourcesMemory1(v DatabaseClusterSpecProxyResourcesMemory1) error
- func (t *DatabaseCluster_Spec_Proxy_Resources_Memory) UnmarshalJSON(b []byte) error
- type DatabaseEngine
- type DatabaseEngineList
- type DatabaseEngineOperatorUpgradeParams
- type DeleteDatabaseClusterBackupParams
- type DeleteDatabaseClusterParams
- type EchoRouter
- type Error
- type EverestServer
- func (e *EverestServer) CreateBackupStorage(ctx echo.Context) error
- func (e *EverestServer) CreateDatabaseCluster(ctx echo.Context, namespace string) error
- func (e *EverestServer) CreateDatabaseClusterBackup(ctx echo.Context, namespace string) error
- func (e *EverestServer) CreateDatabaseClusterRestore(ctx echo.Context, namespace string) error
- func (e *EverestServer) CreateMonitoringInstance(ctx echo.Context) error
- func (e *EverestServer) CreateSession(ctx echo.Context) error
- func (e *EverestServer) DeleteBackupStorage(ctx echo.Context, backupStorageName string) error
- func (e *EverestServer) DeleteDatabaseCluster(ctx echo.Context, namespace, name string, params DeleteDatabaseClusterParams) error
- func (e *EverestServer) DeleteDatabaseClusterBackup(ctx echo.Context, namespace, name string, ...) error
- func (e *EverestServer) DeleteDatabaseClusterRestore(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) DeleteMonitoringInstance(ctx echo.Context, name string) error
- func (e *EverestServer) GetBackupStorage(ctx echo.Context, backupStorageName string) error
- func (e *EverestServer) GetDatabaseCluster(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) GetDatabaseClusterBackup(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) GetDatabaseClusterComponents(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) GetDatabaseClusterCredentials(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) GetDatabaseClusterPitr(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) GetDatabaseClusterRestore(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) GetDatabaseEngine(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) GetKubernetesClusterInfo(ctx echo.Context) error
- func (e *EverestServer) GetKubernetesClusterResources(ctx echo.Context) error
- func (e *EverestServer) GetMonitoringInstance(ctx echo.Context, name string) error
- func (e *EverestServer) GetOperatorUpgradePreflight(ctx echo.Context, namespace, name string, ...) error
- func (e *EverestServer) GetOperatorVersion(c echo.Context, namespace, name string) error
- func (e *EverestServer) GetSettings(ctx echo.Context) error
- func (e *EverestServer) ListBackupStorages(ctx echo.Context) error
- func (e *EverestServer) ListDatabaseClusterBackups(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) ListDatabaseClusterRestores(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) ListDatabaseClusters(ctx echo.Context, namespace string) error
- func (e *EverestServer) ListDatabaseEngines(ctx echo.Context, namespace string) error
- func (e *EverestServer) ListMonitoringInstances(ctx echo.Context) error
- func (e *EverestServer) ListNamespaces(ctx echo.Context) error
- func (e *EverestServer) RunTelemetryJob(ctx context.Context, c *config.EverestConfig)
- func (e *EverestServer) Shutdown(ctx context.Context) error
- func (e *EverestServer) Start() error
- func (e *EverestServer) UpdateBackupStorage(ctx echo.Context, backupStorageName string) error
- func (e *EverestServer) UpdateDatabaseCluster(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) UpdateDatabaseClusterRestore(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) UpdateDatabaseEngine(ctx echo.Context, namespace, name string) error
- func (e *EverestServer) UpdateMonitoringInstance(ctx echo.Context, name string) error
- func (e *EverestServer) UpgradeDatabaseEngineOperator(ctx echo.Context, namespace string, name string) error
- func (e *EverestServer) VersionInfo(ctx echo.Context) error
- type GetOperatorUpgradePreflightParams
- type IoK8sApimachineryPkgApisMetaV1ListMeta
- type IoK8sApimachineryPkgApisMetaV1StatusCause
- type IoK8sApimachineryPkgApisMetaV1StatusDetailsV2
- type IoK8sApimachineryPkgApisMetaV1StatusV2
- type KubernetesClusterInfo
- type KubernetesClusterResources
- type Metric
- type MonitoringInstance
- type MonitoringInstanceBase
- type MonitoringInstanceBaseType
- type MonitoringInstanceBaseWithName
- type MonitoringInstanceBaseWithNameType
- type MonitoringInstanceCreateParams
- type MonitoringInstanceCreateParamsType
- type MonitoringInstancePMM
- type MonitoringInstanceUpdateParams
- type MonitoringInstanceUpdateParamsType
- type MonitoringInstancesList
- type NamespaceList
- type OIDCConfig
- type OperatorUpgradePreflight
- type OperatorUpgradePreflightForDatabase
- type OperatorUpgradePreflightForDatabasePendingTask
- type OperatorVersion
- type OperatorVersionCheckForDatabase
- type OperatorVersionCheckForDatabasePendingTask
- type PMMMonitoringInstanceSpec
- type Report
- type ResourcesAvailable
- type ResourcesCapacity
- type ServerInterface
- type ServerInterfaceWrapper
- func (w *ServerInterfaceWrapper) CreateBackupStorage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateDatabaseCluster(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateDatabaseClusterBackup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateDatabaseClusterRestore(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateMonitoringInstance(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) CreateSession(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteBackupStorage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteDatabaseCluster(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteDatabaseClusterBackup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteDatabaseClusterRestore(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeleteMonitoringInstance(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetBackupStorage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetDatabaseCluster(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetDatabaseClusterBackup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetDatabaseClusterComponents(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetDatabaseClusterCredentials(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetDatabaseClusterPitr(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetDatabaseClusterRestore(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetDatabaseEngine(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetKubernetesClusterInfo(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetKubernetesClusterResources(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetMonitoringInstance(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetOperatorUpgradePreflight(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetOperatorVersion(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) GetSettings(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListBackupStorages(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListDatabaseClusterBackups(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListDatabaseClusterRestores(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListDatabaseClusters(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListDatabaseEngines(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListMonitoringInstances(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ListNamespaces(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateBackupStorage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateDatabaseCluster(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateDatabaseClusterRestore(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateDatabaseEngine(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpdateMonitoringInstance(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UpgradeDatabaseEngineOperator(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) VersionInfo(ctx echo.Context) error
- type Settings
- type Telemetry
- type UpdateBackupStorageJSONRequestBody
- type UpdateBackupStorageParams
- type UpdateDatabaseClusterJSONRequestBody
- type UpdateDatabaseClusterRestoreJSONRequestBody
- type UpdateDatabaseEngineJSONRequestBody
- type UpdateMonitoringInstanceJSONRequestBody
- type UpgradeDatabaseEngineOperatorJSONRequestBody
- type UserCredentials
- type Version
Constants ¶
const (
BearerAuthScopes = "BearerAuth.Scopes"
)
const (
// MonitoringNamespace is the namespace where monitoring configs are created.
MonitoringNamespace = "everest-monitoring"
)
Variables ¶
This section is empty.
Functions ¶
func ErrCreateStorageNotSupported ¶
ErrCreateStorageNotSupported appears when trying to create a storage of a type that is not supported.
func ErrInvalidURL ¶
ErrInvalidURL when the given fieldName contains invalid URL.
func ErrNameNotRFC1035Compatible ¶
ErrNameNotRFC1035Compatible when the given fieldName doesn't contain RFC 1035 compatible string.
func ErrNameTooLong ¶
ErrNameTooLong when the given fieldName is longer than expected.
func ErrUpdateStorageNotSupported ¶
ErrUpdateStorageNotSupported appears when trying to update a storage of a type that is not supported.
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func PathToRawSpec ¶
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
func RegisterHandlers ¶
func RegisterHandlers(router EchoRouter, si ServerInterface)
RegisterHandlers adds each server route to the EchoRouter.
func RegisterHandlersWithBaseURL ¶
func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
Types ¶
type BackupStorage ¶
type BackupStorage struct { // AllowedNamespaces List of namespaces allowed to use this backup storage AllowedNamespaces []string `json:"allowedNamespaces"` BucketName string `json:"bucketName"` Description *string `json:"description,omitempty"` ForcePathStyle *bool `json:"forcePathStyle,omitempty"` Name string `json:"name"` Region string `json:"region,omitempty"` Type BackupStorageType `json:"type"` Url *string `json:"url,omitempty"` VerifyTLS *bool `json:"verifyTLS,omitempty"` }
BackupStorage Backup storage information
type BackupStorageType ¶
type BackupStorageType string
BackupStorageType defines model for BackupStorage.Type.
const ( BackupStorageTypeAzure BackupStorageType = "azure" BackupStorageTypeS3 BackupStorageType = "s3" )
Defines values for BackupStorageType.
type BackupStoragesList ¶
type BackupStoragesList = []BackupStorage
BackupStoragesList defines model for BackupStoragesList.
type CreateBackupStorageJSONRequestBody ¶
type CreateBackupStorageJSONRequestBody = CreateBackupStorageParams
CreateBackupStorageJSONRequestBody defines body for CreateBackupStorage for application/json ContentType.
type CreateBackupStorageParams ¶
type CreateBackupStorageParams struct { AccessKey string `json:"accessKey"` // AllowedNamespaces List of namespaces allowed to use this backup storage AllowedNamespaces []string `json:"allowedNamespaces"` // BucketName The cloud storage bucket/container name BucketName string `json:"bucketName"` Description *string `json:"description,omitempty"` ForcePathStyle *bool `json:"forcePathStyle,omitempty"` // Name A user defined string name of the storage in the DNS name format https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names Name string `json:"name"` Region string `json:"region,omitempty"` SecretKey string `json:"secretKey"` Type CreateBackupStorageParamsType `json:"type"` Url *string `json:"url,omitempty"` VerifyTLS *bool `json:"verifyTLS,omitempty"` }
CreateBackupStorageParams Backup storage parameters
type CreateBackupStorageParamsType ¶
type CreateBackupStorageParamsType string
CreateBackupStorageParamsType defines model for CreateBackupStorageParams.Type.
const ( CreateBackupStorageParamsTypeAzure CreateBackupStorageParamsType = "azure" CreateBackupStorageParamsTypeS3 CreateBackupStorageParamsType = "s3" )
Defines values for CreateBackupStorageParamsType.
type CreateDatabaseClusterBackupJSONRequestBody ¶
type CreateDatabaseClusterBackupJSONRequestBody = DatabaseClusterBackup
CreateDatabaseClusterBackupJSONRequestBody defines body for CreateDatabaseClusterBackup for application/json ContentType.
type CreateDatabaseClusterJSONRequestBody ¶
type CreateDatabaseClusterJSONRequestBody = DatabaseCluster
CreateDatabaseClusterJSONRequestBody defines body for CreateDatabaseCluster for application/json ContentType.
type CreateDatabaseClusterRestoreJSONRequestBody ¶
type CreateDatabaseClusterRestoreJSONRequestBody = DatabaseClusterRestore
CreateDatabaseClusterRestoreJSONRequestBody defines body for CreateDatabaseClusterRestore for application/json ContentType.
type CreateMonitoringInstanceJSONRequestBody ¶
type CreateMonitoringInstanceJSONRequestBody = MonitoringInstanceCreateParams
CreateMonitoringInstanceJSONRequestBody defines body for CreateMonitoringInstance for application/json ContentType.
type CreateSessionJSONRequestBody ¶ added in v1.0.0
type CreateSessionJSONRequestBody = UserCredentials
CreateSessionJSONRequestBody defines body for CreateSession for application/json ContentType.
type DatabaseCluster ¶
type DatabaseCluster struct { // ApiVersion APIVersion defines the versioned schema of this representation of an object. // Servers should convert recognized schemas to the latest internal value, and // may reject unrecognized values. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `json:"apiVersion,omitempty"` // Kind Kind is a string value representing the REST resource this object represents. // Servers may infer this from the endpoint the client submits requests to. // Cannot be updated. // In CamelCase. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `json:"kind,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` // Spec DatabaseClusterSpec defines the desired state of DatabaseCluster. Spec *struct { // AllowUnsafeConfiguration AllowUnsafeConfiguration field used to ensure that the user can create configurations unfit for production use. AllowUnsafeConfiguration *bool `json:"allowUnsafeConfiguration,omitempty"` // Backup Backup is the backup specification Backup *struct { // Enabled Enabled is a flag to enable backups Enabled bool `json:"enabled"` // Pitr PITR is the configuration of the point in time recovery Pitr *struct { // BackupStorageName BackupStorageName is the name of the BackupStorage where the PITR is enabled BackupStorageName *string `json:"backupStorageName,omitempty"` // Enabled Enabled is a flag to enable PITR Enabled bool `json:"enabled"` // UploadIntervalSec UploadIntervalSec number of seconds between the binlogs uploads UploadIntervalSec *int `json:"uploadIntervalSec,omitempty"` } `json:"pitr,omitempty"` // Schedules Schedules is a list of backup schedules Schedules *[]struct { // BackupStorageName BackupStorageName is the name of the BackupStorage CR that defines the // storage location BackupStorageName string `json:"backupStorageName"` // Enabled Enabled is a flag to enable the schedule Enabled bool `json:"enabled"` // Name Name is the name of the schedule Name string `json:"name"` // RetentionCopies RetentionCopies is the number of backup copies to retain RetentionCopies *int32 `json:"retentionCopies,omitempty"` // Schedule Schedule is the cron schedule Schedule string `json:"schedule"` } `json:"schedules,omitempty"` } `json:"backup,omitempty"` // DataSource DataSource defines a data source for bootstraping a new cluster DataSource *struct { // BackupSource BackupSource is the backup source to restore from BackupSource *struct { // BackupStorageName BackupStorageName is the name of the BackupStorage used for backups. BackupStorageName string `json:"backupStorageName"` // Path Path is the path to the backup file/directory. Path string `json:"path"` } `json:"backupSource,omitempty"` // DbClusterBackupName DBClusterBackupName is the name of the DB cluster backup to restore from DbClusterBackupName *string `json:"dbClusterBackupName,omitempty"` // Pitr PITR is the point-in-time recovery configuration Pitr *struct { // Date Date is the UTC date to recover to. The accepted format: "2006-01-02T15:04:05Z". Date *string `json:"date,omitempty"` // Type Type is the type of recovery. Type *DatabaseClusterSpecDataSourcePitrType `json:"type,omitempty"` } `json:"pitr,omitempty"` } `json:"dataSource,omitempty"` // Engine Engine is the database engine specification Engine struct { // Config Config is the engine configuration Config *string `json:"config,omitempty"` // CrVersion CRVersion is the desired version of the CR to use with the // underlying operator. // If unspecified, everest-operator will use the same version as the operator. // // // NOTE: Updating this property post installation may lead to a restart of the cluster. CrVersion *string `json:"crVersion,omitempty"` // Replicas Replicas is the number of engine replicas Replicas *int32 `json:"replicas,omitempty"` // Resources Resources are the resource limits for each engine replica. // If not set, resource limits are not imposed Resources *struct { // Cpu CPU is the CPU resource requirements Cpu *DatabaseCluster_Spec_Engine_Resources_Cpu `json:"cpu,omitempty"` // Memory Memory is the memory resource requirements Memory *DatabaseCluster_Spec_Engine_Resources_Memory `json:"memory,omitempty"` } `json:"resources,omitempty"` // Storage Storage is the engine storage configuration Storage struct { // Class Class is the storage class to use for the persistent volume claim Class *string `json:"class,omitempty"` // Size Size is the size of the persistent volume claim Size DatabaseCluster_Spec_Engine_Storage_Size `json:"size"` } `json:"storage"` // Type Type is the engine type Type DatabaseClusterSpecEngineType `json:"type"` // UserSecretsName UserSecretsName is the name of the secret containing the user secrets UserSecretsName *string `json:"userSecretsName,omitempty"` // Version Version is the engine version Version *string `json:"version,omitempty"` } `json:"engine"` // Monitoring Monitoring is the monitoring configuration Monitoring *struct { // MonitoringConfigName MonitoringConfigName is the name of a monitoringConfig CR. MonitoringConfigName *string `json:"monitoringConfigName,omitempty"` // Resources Resources defines resource limitations for the monitoring. Resources *struct { // Claims Claims lists the names of resources, defined in spec.resourceClaims, // that are used by this container. // // // This is an alpha field and requires enabling the // DynamicResourceAllocation feature gate. // // // This field is immutable. It can only be set for containers. Claims *[]struct { // Name Name must match the name of one entry in pod.spec.resourceClaims of // the Pod where this field is used. It makes that resource available // inside a container. Name string `json:"name"` } `json:"claims,omitempty"` // Limits Limits describes the maximum amount of compute resources allowed. // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Limits *map[string]DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties `json:"limits,omitempty"` // Requests Requests describes the minimum amount of compute resources required. // If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, // otherwise to an implementation-defined value. Requests cannot exceed Limits. // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ Requests *map[string]DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties `json:"requests,omitempty"` } `json:"resources,omitempty"` } `json:"monitoring,omitempty"` // Paused Paused is a flag to stop the cluster Paused *bool `json:"paused,omitempty"` // Proxy Proxy is the proxy specification. If not set, an appropriate // proxy specification will be applied for the given engine. A // common use case for setting this field is to control the // external access to the database cluster. Proxy *struct { // Config Config is the proxy configuration Config *string `json:"config,omitempty"` // Expose Expose is the proxy expose configuration Expose *struct { // IpSourceRanges IPSourceRanges is the list of IP source ranges (CIDR notation) // to allow access from. If not set, there is no limitations IpSourceRanges *[]string `json:"ipSourceRanges,omitempty"` // Type Type is the expose type, can be internal or external Type *DatabaseClusterSpecProxyExposeType `json:"type,omitempty"` } `json:"expose,omitempty"` // Replicas Replicas is the number of proxy replicas Replicas *int32 `json:"replicas,omitempty"` // Resources Resources are the resource limits for each proxy replica. // If not set, resource limits are not imposed Resources *struct { // Cpu CPU is the CPU resource requirements Cpu *DatabaseCluster_Spec_Proxy_Resources_Cpu `json:"cpu,omitempty"` // Memory Memory is the memory resource requirements Memory *DatabaseCluster_Spec_Proxy_Resources_Memory `json:"memory,omitempty"` } `json:"resources,omitempty"` // Type Type is the proxy type Type *DatabaseClusterSpecProxyType `json:"type,omitempty"` } `json:"proxy,omitempty"` } `json:"spec,omitempty"` // Status DatabaseClusterStatus defines the observed state of DatabaseCluster. Status *struct { // ActiveStorage ActiveStorage is the storage used in cluster (psmdb only) ActiveStorage *string `json:"activeStorage,omitempty"` // CrVersion CRVersion is the observed version of the CR used with the underlying operator. CrVersion *string `json:"crVersion,omitempty"` // Hostname Hostname is the hostname where the cluster can be reached Hostname *string `json:"hostname,omitempty"` // Message Message is extra information about the cluster Message *string `json:"message,omitempty"` // Port Port is the port where the cluster can be reached Port *int32 `json:"port,omitempty"` // Ready Ready is the number of ready pods Ready *int32 `json:"ready,omitempty"` // RecommendedCRVersion RecommendedCRVersion is the recommended version of the CR to use. // If set, the CR needs to be updated to this version before upgrading the operator. // If unset, the CR is already at the recommended version. RecommendedCRVersion *string `json:"recommendedCRVersion,omitempty"` // Size Size is the total number of pods Size *int32 `json:"size,omitempty"` // Status Status is the status of the cluster Status *string `json:"status,omitempty"` } `json:"status,omitempty"` }
DatabaseCluster DatabaseCluster is the Schema for the databaseclusters API.
type DatabaseClusterBackup ¶
type DatabaseClusterBackup struct { // ApiVersion APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `json:"apiVersion,omitempty"` // Kind Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `json:"kind,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` // Spec DatabaseClusterBackupSpec defines the desired state of DatabaseClusterBackup. Spec *struct { // BackupStorageName BackupStorageName is the name of the BackupStorage used for backups. BackupStorageName string `json:"backupStorageName"` // DbClusterName DBClusterName is the original database cluster name. DbClusterName string `json:"dbClusterName"` } `json:"spec,omitempty"` // Status DatabaseClusterBackupStatus defines the observed state of DatabaseClusterBackup. Status *struct { // Completed Completed is the time when the job was completed. Completed *time.Time `json:"completed,omitempty"` // Created Created is the timestamp of the upstream backup's creation. Created *time.Time `json:"created,omitempty"` // Destination Destination is the full path to the backup. Destination *string `json:"destination,omitempty"` // Gaps Gaps identifies if there are gaps detected in the PITR logs Gaps bool `json:"gaps"` // State State is the DatabaseBackup state. State *string `json:"state,omitempty"` } `json:"status,omitempty"` }
DatabaseClusterBackup DatabaseClusterBackup is the Schema for the databaseclusterbackups API.
type DatabaseClusterBackupList ¶
type DatabaseClusterBackupList struct { // ApiVersion APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `json:"apiVersion,omitempty"` Items *[]DatabaseClusterBackup `json:"items,omitempty"` // Kind Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `json:"kind,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` }
DatabaseClusterBackupList DatabaseClusterBackupList is an object that contains the list of the existing database cluster backups.
type DatabaseClusterComponent ¶ added in v1.0.0
type DatabaseClusterComponent struct { Containers *[]DatabaseClusterComponentContainer `json:"containers,omitempty"` Name *string `json:"name,omitempty"` Ready *string `json:"ready,omitempty"` Restarts *int `json:"restarts,omitempty"` Started *string `json:"started,omitempty"` Status *string `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
DatabaseClusterComponent defines model for .
type DatabaseClusterComponentContainer ¶ added in v1.0.0
type DatabaseClusterComponentContainer struct { Name *string `json:"name,omitempty"` Restarts *int `json:"restarts,omitempty"` Started *string `json:"started,omitempty"` Status *string `json:"status,omitempty"` }
DatabaseClusterComponentContainer defines model for DatabaseClusterComponentContainer.
type DatabaseClusterComponents ¶ added in v1.0.0
type DatabaseClusterComponents = []DatabaseClusterComponent
DatabaseClusterComponents components related data
type DatabaseClusterCredential ¶
type DatabaseClusterCredential struct { Password *string `json:"password,omitempty"` Username *string `json:"username,omitempty"` }
DatabaseClusterCredential kubernetes object
type DatabaseClusterList ¶
type DatabaseClusterList struct { // ApiVersion APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `json:"apiVersion,omitempty"` Items *[]DatabaseCluster `json:"items,omitempty"` // Kind Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `json:"kind,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` }
DatabaseClusterList DatabaseClusterList is an object that contains the list of the existing database clusters.
type DatabaseClusterPitr ¶
type DatabaseClusterPitr struct { EarliestDate *time.Time `json:"earliestDate,omitempty"` // Gaps indicates if there are pitr logs gaps detected after this backup was taken Gaps *bool `json:"gaps,omitempty"` LatestBackupName *string `json:"latestBackupName,omitempty"` LatestDate *time.Time `json:"latestDate,omitempty"` }
DatabaseClusterPitr point-in-time recovery related data
type DatabaseClusterRestore ¶
type DatabaseClusterRestore struct { // ApiVersion APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `json:"apiVersion,omitempty"` // Kind Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `json:"kind,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` // Spec DatabaseClusterRestoreSpec defines the desired state of DatabaseClusterRestore. Spec *struct { // DataSource DataSource defines a data source for restoration. DataSource struct { // BackupSource BackupSource is the backup source to restore from BackupSource *struct { // BackupStorageName BackupStorageName is the name of the BackupStorage used for backups. BackupStorageName string `json:"backupStorageName"` // Path Path is the path to the backup file/directory. Path string `json:"path"` } `json:"backupSource,omitempty"` // DbClusterBackupName DBClusterBackupName is the name of the DB cluster backup to restore from DbClusterBackupName *string `json:"dbClusterBackupName,omitempty"` // Pitr PITR is the point-in-time recovery configuration Pitr *struct { // Date Date is the UTC date to recover to. The accepted format: "2006-01-02T15:04:05Z". Date *string `json:"date,omitempty"` // Type Type is the type of recovery. Type *DatabaseClusterRestoreSpecDataSourcePitrType `json:"type,omitempty"` } `json:"pitr,omitempty"` } `json:"dataSource"` // DbClusterName DBClusterName defines the cluster name to restore. DbClusterName string `json:"dbClusterName"` } `json:"spec,omitempty"` // Status DatabaseClusterRestoreStatus defines the observed state of DatabaseClusterRestore. Status *struct { Completed *time.Time `json:"completed,omitempty"` Message *string `json:"message,omitempty"` // State RestoreState represents state of restoration. State *string `json:"state,omitempty"` } `json:"status,omitempty"` }
DatabaseClusterRestore DatabaseClusterRestore is the Schema for the databaseclusterrestores API.
type DatabaseClusterRestoreList ¶
type DatabaseClusterRestoreList struct { // ApiVersion APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `json:"apiVersion,omitempty"` Items *[]DatabaseClusterRestore `json:"items,omitempty"` // Kind Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `json:"kind,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` }
DatabaseClusterRestoreList DatabaseClusterRestoreList is an object that contains the list of the existing database cluster restores.
type DatabaseClusterRestoreSpecDataSourcePitrType ¶
type DatabaseClusterRestoreSpecDataSourcePitrType string
DatabaseClusterRestoreSpecDataSourcePitrType Type is the type of recovery.
const ( DatabaseClusterRestoreSpecDataSourcePitrTypeDate DatabaseClusterRestoreSpecDataSourcePitrType = "date" DatabaseClusterRestoreSpecDataSourcePitrTypeLatest DatabaseClusterRestoreSpecDataSourcePitrType = "latest" )
Defines values for DatabaseClusterRestoreSpecDataSourcePitrType.
type DatabaseClusterSpecDataSourcePitrType ¶
type DatabaseClusterSpecDataSourcePitrType string
DatabaseClusterSpecDataSourcePitrType Type is the type of recovery.
const ( DatabaseClusterSpecDataSourcePitrTypeDate DatabaseClusterSpecDataSourcePitrType = "date" DatabaseClusterSpecDataSourcePitrTypeLatest DatabaseClusterSpecDataSourcePitrType = "latest" )
Defines values for DatabaseClusterSpecDataSourcePitrType.
type DatabaseClusterSpecEngineResourcesCpu0 ¶
type DatabaseClusterSpecEngineResourcesCpu0 = int
DatabaseClusterSpecEngineResourcesCpu0 defines model for .
type DatabaseClusterSpecEngineResourcesCpu1 ¶
type DatabaseClusterSpecEngineResourcesCpu1 = string
DatabaseClusterSpecEngineResourcesCpu1 defines model for .
type DatabaseClusterSpecEngineResourcesMemory0 ¶
type DatabaseClusterSpecEngineResourcesMemory0 = int
DatabaseClusterSpecEngineResourcesMemory0 defines model for .
type DatabaseClusterSpecEngineResourcesMemory1 ¶
type DatabaseClusterSpecEngineResourcesMemory1 = string
DatabaseClusterSpecEngineResourcesMemory1 defines model for .
type DatabaseClusterSpecEngineStorageSize0 ¶
type DatabaseClusterSpecEngineStorageSize0 = int
DatabaseClusterSpecEngineStorageSize0 defines model for .
type DatabaseClusterSpecEngineStorageSize1 ¶
type DatabaseClusterSpecEngineStorageSize1 = string
DatabaseClusterSpecEngineStorageSize1 defines model for .
type DatabaseClusterSpecEngineType ¶
type DatabaseClusterSpecEngineType string
DatabaseClusterSpecEngineType Type is the engine type
const ( Postgresql DatabaseClusterSpecEngineType = "postgresql" Psmdb DatabaseClusterSpecEngineType = "psmdb" Pxc DatabaseClusterSpecEngineType = "pxc" )
Defines values for DatabaseClusterSpecEngineType.
type DatabaseClusterSpecMonitoringResourcesLimits0 ¶
type DatabaseClusterSpecMonitoringResourcesLimits0 = int
DatabaseClusterSpecMonitoringResourcesLimits0 defines model for .
type DatabaseClusterSpecMonitoringResourcesLimits1 ¶
type DatabaseClusterSpecMonitoringResourcesLimits1 = string
DatabaseClusterSpecMonitoringResourcesLimits1 defines model for .
type DatabaseClusterSpecMonitoringResourcesRequests0 ¶
type DatabaseClusterSpecMonitoringResourcesRequests0 = int
DatabaseClusterSpecMonitoringResourcesRequests0 defines model for .
type DatabaseClusterSpecMonitoringResourcesRequests1 ¶
type DatabaseClusterSpecMonitoringResourcesRequests1 = string
DatabaseClusterSpecMonitoringResourcesRequests1 defines model for .
type DatabaseClusterSpecProxyExposeType ¶
type DatabaseClusterSpecProxyExposeType string
DatabaseClusterSpecProxyExposeType Type is the expose type, can be internal or external
const ( External DatabaseClusterSpecProxyExposeType = "external" Internal DatabaseClusterSpecProxyExposeType = "internal" )
Defines values for DatabaseClusterSpecProxyExposeType.
type DatabaseClusterSpecProxyResourcesCpu0 ¶
type DatabaseClusterSpecProxyResourcesCpu0 = int
DatabaseClusterSpecProxyResourcesCpu0 defines model for .
type DatabaseClusterSpecProxyResourcesCpu1 ¶
type DatabaseClusterSpecProxyResourcesCpu1 = string
DatabaseClusterSpecProxyResourcesCpu1 defines model for .
type DatabaseClusterSpecProxyResourcesMemory0 ¶
type DatabaseClusterSpecProxyResourcesMemory0 = int
DatabaseClusterSpecProxyResourcesMemory0 defines model for .
type DatabaseClusterSpecProxyResourcesMemory1 ¶
type DatabaseClusterSpecProxyResourcesMemory1 = string
DatabaseClusterSpecProxyResourcesMemory1 defines model for .
type DatabaseClusterSpecProxyType ¶
type DatabaseClusterSpecProxyType string
DatabaseClusterSpecProxyType Type is the proxy type
const ( Haproxy DatabaseClusterSpecProxyType = "haproxy" Mongos DatabaseClusterSpecProxyType = "mongos" Pgbouncer DatabaseClusterSpecProxyType = "pgbouncer" Proxysql DatabaseClusterSpecProxyType = "proxysql" )
Defines values for DatabaseClusterSpecProxyType.
type DatabaseCluster_Spec_Engine_Resources_Cpu ¶
type DatabaseCluster_Spec_Engine_Resources_Cpu struct {
// contains filtered or unexported fields
}
DatabaseCluster_Spec_Engine_Resources_Cpu CPU is the CPU resource requirements
func (DatabaseCluster_Spec_Engine_Resources_Cpu) AsDatabaseClusterSpecEngineResourcesCpu0 ¶
func (t DatabaseCluster_Spec_Engine_Resources_Cpu) AsDatabaseClusterSpecEngineResourcesCpu0() (DatabaseClusterSpecEngineResourcesCpu0, error)
AsDatabaseClusterSpecEngineResourcesCpu0 returns the union data inside the DatabaseCluster_Spec_Engine_Resources_Cpu as a DatabaseClusterSpecEngineResourcesCpu0
func (DatabaseCluster_Spec_Engine_Resources_Cpu) AsDatabaseClusterSpecEngineResourcesCpu1 ¶
func (t DatabaseCluster_Spec_Engine_Resources_Cpu) AsDatabaseClusterSpecEngineResourcesCpu1() (DatabaseClusterSpecEngineResourcesCpu1, error)
AsDatabaseClusterSpecEngineResourcesCpu1 returns the union data inside the DatabaseCluster_Spec_Engine_Resources_Cpu as a DatabaseClusterSpecEngineResourcesCpu1
func (*DatabaseCluster_Spec_Engine_Resources_Cpu) FromDatabaseClusterSpecEngineResourcesCpu0 ¶
func (t *DatabaseCluster_Spec_Engine_Resources_Cpu) FromDatabaseClusterSpecEngineResourcesCpu0(v DatabaseClusterSpecEngineResourcesCpu0) error
FromDatabaseClusterSpecEngineResourcesCpu0 overwrites any union data inside the DatabaseCluster_Spec_Engine_Resources_Cpu as the provided DatabaseClusterSpecEngineResourcesCpu0
func (*DatabaseCluster_Spec_Engine_Resources_Cpu) FromDatabaseClusterSpecEngineResourcesCpu1 ¶
func (t *DatabaseCluster_Spec_Engine_Resources_Cpu) FromDatabaseClusterSpecEngineResourcesCpu1(v DatabaseClusterSpecEngineResourcesCpu1) error
FromDatabaseClusterSpecEngineResourcesCpu1 overwrites any union data inside the DatabaseCluster_Spec_Engine_Resources_Cpu as the provided DatabaseClusterSpecEngineResourcesCpu1
func (DatabaseCluster_Spec_Engine_Resources_Cpu) MarshalJSON ¶
func (t DatabaseCluster_Spec_Engine_Resources_Cpu) MarshalJSON() ([]byte, error)
func (*DatabaseCluster_Spec_Engine_Resources_Cpu) MergeDatabaseClusterSpecEngineResourcesCpu0 ¶
func (t *DatabaseCluster_Spec_Engine_Resources_Cpu) MergeDatabaseClusterSpecEngineResourcesCpu0(v DatabaseClusterSpecEngineResourcesCpu0) error
MergeDatabaseClusterSpecEngineResourcesCpu0 performs a merge with any union data inside the DatabaseCluster_Spec_Engine_Resources_Cpu, using the provided DatabaseClusterSpecEngineResourcesCpu0
func (*DatabaseCluster_Spec_Engine_Resources_Cpu) MergeDatabaseClusterSpecEngineResourcesCpu1 ¶
func (t *DatabaseCluster_Spec_Engine_Resources_Cpu) MergeDatabaseClusterSpecEngineResourcesCpu1(v DatabaseClusterSpecEngineResourcesCpu1) error
MergeDatabaseClusterSpecEngineResourcesCpu1 performs a merge with any union data inside the DatabaseCluster_Spec_Engine_Resources_Cpu, using the provided DatabaseClusterSpecEngineResourcesCpu1
func (*DatabaseCluster_Spec_Engine_Resources_Cpu) UnmarshalJSON ¶
func (t *DatabaseCluster_Spec_Engine_Resources_Cpu) UnmarshalJSON(b []byte) error
type DatabaseCluster_Spec_Engine_Resources_Memory ¶
type DatabaseCluster_Spec_Engine_Resources_Memory struct {
// contains filtered or unexported fields
}
DatabaseCluster_Spec_Engine_Resources_Memory Memory is the memory resource requirements
func (DatabaseCluster_Spec_Engine_Resources_Memory) AsDatabaseClusterSpecEngineResourcesMemory0 ¶
func (t DatabaseCluster_Spec_Engine_Resources_Memory) AsDatabaseClusterSpecEngineResourcesMemory0() (DatabaseClusterSpecEngineResourcesMemory0, error)
AsDatabaseClusterSpecEngineResourcesMemory0 returns the union data inside the DatabaseCluster_Spec_Engine_Resources_Memory as a DatabaseClusterSpecEngineResourcesMemory0
func (DatabaseCluster_Spec_Engine_Resources_Memory) AsDatabaseClusterSpecEngineResourcesMemory1 ¶
func (t DatabaseCluster_Spec_Engine_Resources_Memory) AsDatabaseClusterSpecEngineResourcesMemory1() (DatabaseClusterSpecEngineResourcesMemory1, error)
AsDatabaseClusterSpecEngineResourcesMemory1 returns the union data inside the DatabaseCluster_Spec_Engine_Resources_Memory as a DatabaseClusterSpecEngineResourcesMemory1
func (*DatabaseCluster_Spec_Engine_Resources_Memory) FromDatabaseClusterSpecEngineResourcesMemory0 ¶
func (t *DatabaseCluster_Spec_Engine_Resources_Memory) FromDatabaseClusterSpecEngineResourcesMemory0(v DatabaseClusterSpecEngineResourcesMemory0) error
FromDatabaseClusterSpecEngineResourcesMemory0 overwrites any union data inside the DatabaseCluster_Spec_Engine_Resources_Memory as the provided DatabaseClusterSpecEngineResourcesMemory0
func (*DatabaseCluster_Spec_Engine_Resources_Memory) FromDatabaseClusterSpecEngineResourcesMemory1 ¶
func (t *DatabaseCluster_Spec_Engine_Resources_Memory) FromDatabaseClusterSpecEngineResourcesMemory1(v DatabaseClusterSpecEngineResourcesMemory1) error
FromDatabaseClusterSpecEngineResourcesMemory1 overwrites any union data inside the DatabaseCluster_Spec_Engine_Resources_Memory as the provided DatabaseClusterSpecEngineResourcesMemory1
func (DatabaseCluster_Spec_Engine_Resources_Memory) MarshalJSON ¶
func (t DatabaseCluster_Spec_Engine_Resources_Memory) MarshalJSON() ([]byte, error)
func (*DatabaseCluster_Spec_Engine_Resources_Memory) MergeDatabaseClusterSpecEngineResourcesMemory0 ¶
func (t *DatabaseCluster_Spec_Engine_Resources_Memory) MergeDatabaseClusterSpecEngineResourcesMemory0(v DatabaseClusterSpecEngineResourcesMemory0) error
MergeDatabaseClusterSpecEngineResourcesMemory0 performs a merge with any union data inside the DatabaseCluster_Spec_Engine_Resources_Memory, using the provided DatabaseClusterSpecEngineResourcesMemory0
func (*DatabaseCluster_Spec_Engine_Resources_Memory) MergeDatabaseClusterSpecEngineResourcesMemory1 ¶
func (t *DatabaseCluster_Spec_Engine_Resources_Memory) MergeDatabaseClusterSpecEngineResourcesMemory1(v DatabaseClusterSpecEngineResourcesMemory1) error
MergeDatabaseClusterSpecEngineResourcesMemory1 performs a merge with any union data inside the DatabaseCluster_Spec_Engine_Resources_Memory, using the provided DatabaseClusterSpecEngineResourcesMemory1
func (*DatabaseCluster_Spec_Engine_Resources_Memory) UnmarshalJSON ¶
func (t *DatabaseCluster_Spec_Engine_Resources_Memory) UnmarshalJSON(b []byte) error
type DatabaseCluster_Spec_Engine_Storage_Size ¶
type DatabaseCluster_Spec_Engine_Storage_Size struct {
// contains filtered or unexported fields
}
DatabaseCluster_Spec_Engine_Storage_Size Size is the size of the persistent volume claim
func (DatabaseCluster_Spec_Engine_Storage_Size) AsDatabaseClusterSpecEngineStorageSize0 ¶
func (t DatabaseCluster_Spec_Engine_Storage_Size) AsDatabaseClusterSpecEngineStorageSize0() (DatabaseClusterSpecEngineStorageSize0, error)
AsDatabaseClusterSpecEngineStorageSize0 returns the union data inside the DatabaseCluster_Spec_Engine_Storage_Size as a DatabaseClusterSpecEngineStorageSize0
func (DatabaseCluster_Spec_Engine_Storage_Size) AsDatabaseClusterSpecEngineStorageSize1 ¶
func (t DatabaseCluster_Spec_Engine_Storage_Size) AsDatabaseClusterSpecEngineStorageSize1() (DatabaseClusterSpecEngineStorageSize1, error)
AsDatabaseClusterSpecEngineStorageSize1 returns the union data inside the DatabaseCluster_Spec_Engine_Storage_Size as a DatabaseClusterSpecEngineStorageSize1
func (*DatabaseCluster_Spec_Engine_Storage_Size) FromDatabaseClusterSpecEngineStorageSize0 ¶
func (t *DatabaseCluster_Spec_Engine_Storage_Size) FromDatabaseClusterSpecEngineStorageSize0(v DatabaseClusterSpecEngineStorageSize0) error
FromDatabaseClusterSpecEngineStorageSize0 overwrites any union data inside the DatabaseCluster_Spec_Engine_Storage_Size as the provided DatabaseClusterSpecEngineStorageSize0
func (*DatabaseCluster_Spec_Engine_Storage_Size) FromDatabaseClusterSpecEngineStorageSize1 ¶
func (t *DatabaseCluster_Spec_Engine_Storage_Size) FromDatabaseClusterSpecEngineStorageSize1(v DatabaseClusterSpecEngineStorageSize1) error
FromDatabaseClusterSpecEngineStorageSize1 overwrites any union data inside the DatabaseCluster_Spec_Engine_Storage_Size as the provided DatabaseClusterSpecEngineStorageSize1
func (DatabaseCluster_Spec_Engine_Storage_Size) MarshalJSON ¶
func (t DatabaseCluster_Spec_Engine_Storage_Size) MarshalJSON() ([]byte, error)
func (*DatabaseCluster_Spec_Engine_Storage_Size) MergeDatabaseClusterSpecEngineStorageSize0 ¶
func (t *DatabaseCluster_Spec_Engine_Storage_Size) MergeDatabaseClusterSpecEngineStorageSize0(v DatabaseClusterSpecEngineStorageSize0) error
MergeDatabaseClusterSpecEngineStorageSize0 performs a merge with any union data inside the DatabaseCluster_Spec_Engine_Storage_Size, using the provided DatabaseClusterSpecEngineStorageSize0
func (*DatabaseCluster_Spec_Engine_Storage_Size) MergeDatabaseClusterSpecEngineStorageSize1 ¶
func (t *DatabaseCluster_Spec_Engine_Storage_Size) MergeDatabaseClusterSpecEngineStorageSize1(v DatabaseClusterSpecEngineStorageSize1) error
MergeDatabaseClusterSpecEngineStorageSize1 performs a merge with any union data inside the DatabaseCluster_Spec_Engine_Storage_Size, using the provided DatabaseClusterSpecEngineStorageSize1
func (*DatabaseCluster_Spec_Engine_Storage_Size) UnmarshalJSON ¶
func (t *DatabaseCluster_Spec_Engine_Storage_Size) UnmarshalJSON(b []byte) error
type DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties ¶
type DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties struct {
// contains filtered or unexported fields
}
DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties defines model for DatabaseCluster.Spec.Monitoring.Resources.Limits.AdditionalProperties.
func (DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesLimits0 ¶
func (t DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesLimits0() (DatabaseClusterSpecMonitoringResourcesLimits0, error)
AsDatabaseClusterSpecMonitoringResourcesLimits0 returns the union data inside the DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties as a DatabaseClusterSpecMonitoringResourcesLimits0
func (DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesLimits1 ¶
func (t DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesLimits1() (DatabaseClusterSpecMonitoringResourcesLimits1, error)
AsDatabaseClusterSpecMonitoringResourcesLimits1 returns the union data inside the DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties as a DatabaseClusterSpecMonitoringResourcesLimits1
func (*DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesLimits0 ¶
func (t *DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesLimits0(v DatabaseClusterSpecMonitoringResourcesLimits0) error
FromDatabaseClusterSpecMonitoringResourcesLimits0 overwrites any union data inside the DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties as the provided DatabaseClusterSpecMonitoringResourcesLimits0
func (*DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesLimits1 ¶
func (t *DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesLimits1(v DatabaseClusterSpecMonitoringResourcesLimits1) error
FromDatabaseClusterSpecMonitoringResourcesLimits1 overwrites any union data inside the DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties as the provided DatabaseClusterSpecMonitoringResourcesLimits1
func (DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) MarshalJSON ¶
func (t DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) MarshalJSON() ([]byte, error)
func (*DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesLimits0 ¶
func (t *DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesLimits0(v DatabaseClusterSpecMonitoringResourcesLimits0) error
MergeDatabaseClusterSpecMonitoringResourcesLimits0 performs a merge with any union data inside the DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties, using the provided DatabaseClusterSpecMonitoringResourcesLimits0
func (*DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesLimits1 ¶
func (t *DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesLimits1(v DatabaseClusterSpecMonitoringResourcesLimits1) error
MergeDatabaseClusterSpecMonitoringResourcesLimits1 performs a merge with any union data inside the DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties, using the provided DatabaseClusterSpecMonitoringResourcesLimits1
func (*DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) UnmarshalJSON ¶
func (t *DatabaseCluster_Spec_Monitoring_Resources_Limits_AdditionalProperties) UnmarshalJSON(b []byte) error
type DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties ¶
type DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties struct {
// contains filtered or unexported fields
}
DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties defines model for DatabaseCluster.Spec.Monitoring.Resources.Requests.AdditionalProperties.
func (DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesRequests0 ¶
func (t DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesRequests0() (DatabaseClusterSpecMonitoringResourcesRequests0, error)
AsDatabaseClusterSpecMonitoringResourcesRequests0 returns the union data inside the DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties as a DatabaseClusterSpecMonitoringResourcesRequests0
func (DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesRequests1 ¶
func (t DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) AsDatabaseClusterSpecMonitoringResourcesRequests1() (DatabaseClusterSpecMonitoringResourcesRequests1, error)
AsDatabaseClusterSpecMonitoringResourcesRequests1 returns the union data inside the DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties as a DatabaseClusterSpecMonitoringResourcesRequests1
func (*DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesRequests0 ¶
func (t *DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesRequests0(v DatabaseClusterSpecMonitoringResourcesRequests0) error
FromDatabaseClusterSpecMonitoringResourcesRequests0 overwrites any union data inside the DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties as the provided DatabaseClusterSpecMonitoringResourcesRequests0
func (*DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesRequests1 ¶
func (t *DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) FromDatabaseClusterSpecMonitoringResourcesRequests1(v DatabaseClusterSpecMonitoringResourcesRequests1) error
FromDatabaseClusterSpecMonitoringResourcesRequests1 overwrites any union data inside the DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties as the provided DatabaseClusterSpecMonitoringResourcesRequests1
func (DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) MarshalJSON ¶
func (t DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) MarshalJSON() ([]byte, error)
func (*DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesRequests0 ¶
func (t *DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesRequests0(v DatabaseClusterSpecMonitoringResourcesRequests0) error
MergeDatabaseClusterSpecMonitoringResourcesRequests0 performs a merge with any union data inside the DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties, using the provided DatabaseClusterSpecMonitoringResourcesRequests0
func (*DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesRequests1 ¶
func (t *DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) MergeDatabaseClusterSpecMonitoringResourcesRequests1(v DatabaseClusterSpecMonitoringResourcesRequests1) error
MergeDatabaseClusterSpecMonitoringResourcesRequests1 performs a merge with any union data inside the DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties, using the provided DatabaseClusterSpecMonitoringResourcesRequests1
func (*DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) UnmarshalJSON ¶
func (t *DatabaseCluster_Spec_Monitoring_Resources_Requests_AdditionalProperties) UnmarshalJSON(b []byte) error
type DatabaseCluster_Spec_Proxy_Resources_Cpu ¶
type DatabaseCluster_Spec_Proxy_Resources_Cpu struct {
// contains filtered or unexported fields
}
DatabaseCluster_Spec_Proxy_Resources_Cpu CPU is the CPU resource requirements
func (DatabaseCluster_Spec_Proxy_Resources_Cpu) AsDatabaseClusterSpecProxyResourcesCpu0 ¶
func (t DatabaseCluster_Spec_Proxy_Resources_Cpu) AsDatabaseClusterSpecProxyResourcesCpu0() (DatabaseClusterSpecProxyResourcesCpu0, error)
AsDatabaseClusterSpecProxyResourcesCpu0 returns the union data inside the DatabaseCluster_Spec_Proxy_Resources_Cpu as a DatabaseClusterSpecProxyResourcesCpu0
func (DatabaseCluster_Spec_Proxy_Resources_Cpu) AsDatabaseClusterSpecProxyResourcesCpu1 ¶
func (t DatabaseCluster_Spec_Proxy_Resources_Cpu) AsDatabaseClusterSpecProxyResourcesCpu1() (DatabaseClusterSpecProxyResourcesCpu1, error)
AsDatabaseClusterSpecProxyResourcesCpu1 returns the union data inside the DatabaseCluster_Spec_Proxy_Resources_Cpu as a DatabaseClusterSpecProxyResourcesCpu1
func (*DatabaseCluster_Spec_Proxy_Resources_Cpu) FromDatabaseClusterSpecProxyResourcesCpu0 ¶
func (t *DatabaseCluster_Spec_Proxy_Resources_Cpu) FromDatabaseClusterSpecProxyResourcesCpu0(v DatabaseClusterSpecProxyResourcesCpu0) error
FromDatabaseClusterSpecProxyResourcesCpu0 overwrites any union data inside the DatabaseCluster_Spec_Proxy_Resources_Cpu as the provided DatabaseClusterSpecProxyResourcesCpu0
func (*DatabaseCluster_Spec_Proxy_Resources_Cpu) FromDatabaseClusterSpecProxyResourcesCpu1 ¶
func (t *DatabaseCluster_Spec_Proxy_Resources_Cpu) FromDatabaseClusterSpecProxyResourcesCpu1(v DatabaseClusterSpecProxyResourcesCpu1) error
FromDatabaseClusterSpecProxyResourcesCpu1 overwrites any union data inside the DatabaseCluster_Spec_Proxy_Resources_Cpu as the provided DatabaseClusterSpecProxyResourcesCpu1
func (DatabaseCluster_Spec_Proxy_Resources_Cpu) MarshalJSON ¶
func (t DatabaseCluster_Spec_Proxy_Resources_Cpu) MarshalJSON() ([]byte, error)
func (*DatabaseCluster_Spec_Proxy_Resources_Cpu) MergeDatabaseClusterSpecProxyResourcesCpu0 ¶
func (t *DatabaseCluster_Spec_Proxy_Resources_Cpu) MergeDatabaseClusterSpecProxyResourcesCpu0(v DatabaseClusterSpecProxyResourcesCpu0) error
MergeDatabaseClusterSpecProxyResourcesCpu0 performs a merge with any union data inside the DatabaseCluster_Spec_Proxy_Resources_Cpu, using the provided DatabaseClusterSpecProxyResourcesCpu0
func (*DatabaseCluster_Spec_Proxy_Resources_Cpu) MergeDatabaseClusterSpecProxyResourcesCpu1 ¶
func (t *DatabaseCluster_Spec_Proxy_Resources_Cpu) MergeDatabaseClusterSpecProxyResourcesCpu1(v DatabaseClusterSpecProxyResourcesCpu1) error
MergeDatabaseClusterSpecProxyResourcesCpu1 performs a merge with any union data inside the DatabaseCluster_Spec_Proxy_Resources_Cpu, using the provided DatabaseClusterSpecProxyResourcesCpu1
func (*DatabaseCluster_Spec_Proxy_Resources_Cpu) UnmarshalJSON ¶
func (t *DatabaseCluster_Spec_Proxy_Resources_Cpu) UnmarshalJSON(b []byte) error
type DatabaseCluster_Spec_Proxy_Resources_Memory ¶
type DatabaseCluster_Spec_Proxy_Resources_Memory struct {
// contains filtered or unexported fields
}
DatabaseCluster_Spec_Proxy_Resources_Memory Memory is the memory resource requirements
func (DatabaseCluster_Spec_Proxy_Resources_Memory) AsDatabaseClusterSpecProxyResourcesMemory0 ¶
func (t DatabaseCluster_Spec_Proxy_Resources_Memory) AsDatabaseClusterSpecProxyResourcesMemory0() (DatabaseClusterSpecProxyResourcesMemory0, error)
AsDatabaseClusterSpecProxyResourcesMemory0 returns the union data inside the DatabaseCluster_Spec_Proxy_Resources_Memory as a DatabaseClusterSpecProxyResourcesMemory0
func (DatabaseCluster_Spec_Proxy_Resources_Memory) AsDatabaseClusterSpecProxyResourcesMemory1 ¶
func (t DatabaseCluster_Spec_Proxy_Resources_Memory) AsDatabaseClusterSpecProxyResourcesMemory1() (DatabaseClusterSpecProxyResourcesMemory1, error)
AsDatabaseClusterSpecProxyResourcesMemory1 returns the union data inside the DatabaseCluster_Spec_Proxy_Resources_Memory as a DatabaseClusterSpecProxyResourcesMemory1
func (*DatabaseCluster_Spec_Proxy_Resources_Memory) FromDatabaseClusterSpecProxyResourcesMemory0 ¶
func (t *DatabaseCluster_Spec_Proxy_Resources_Memory) FromDatabaseClusterSpecProxyResourcesMemory0(v DatabaseClusterSpecProxyResourcesMemory0) error
FromDatabaseClusterSpecProxyResourcesMemory0 overwrites any union data inside the DatabaseCluster_Spec_Proxy_Resources_Memory as the provided DatabaseClusterSpecProxyResourcesMemory0
func (*DatabaseCluster_Spec_Proxy_Resources_Memory) FromDatabaseClusterSpecProxyResourcesMemory1 ¶
func (t *DatabaseCluster_Spec_Proxy_Resources_Memory) FromDatabaseClusterSpecProxyResourcesMemory1(v DatabaseClusterSpecProxyResourcesMemory1) error
FromDatabaseClusterSpecProxyResourcesMemory1 overwrites any union data inside the DatabaseCluster_Spec_Proxy_Resources_Memory as the provided DatabaseClusterSpecProxyResourcesMemory1
func (DatabaseCluster_Spec_Proxy_Resources_Memory) MarshalJSON ¶
func (t DatabaseCluster_Spec_Proxy_Resources_Memory) MarshalJSON() ([]byte, error)
func (*DatabaseCluster_Spec_Proxy_Resources_Memory) MergeDatabaseClusterSpecProxyResourcesMemory0 ¶
func (t *DatabaseCluster_Spec_Proxy_Resources_Memory) MergeDatabaseClusterSpecProxyResourcesMemory0(v DatabaseClusterSpecProxyResourcesMemory0) error
MergeDatabaseClusterSpecProxyResourcesMemory0 performs a merge with any union data inside the DatabaseCluster_Spec_Proxy_Resources_Memory, using the provided DatabaseClusterSpecProxyResourcesMemory0
func (*DatabaseCluster_Spec_Proxy_Resources_Memory) MergeDatabaseClusterSpecProxyResourcesMemory1 ¶
func (t *DatabaseCluster_Spec_Proxy_Resources_Memory) MergeDatabaseClusterSpecProxyResourcesMemory1(v DatabaseClusterSpecProxyResourcesMemory1) error
MergeDatabaseClusterSpecProxyResourcesMemory1 performs a merge with any union data inside the DatabaseCluster_Spec_Proxy_Resources_Memory, using the provided DatabaseClusterSpecProxyResourcesMemory1
func (*DatabaseCluster_Spec_Proxy_Resources_Memory) UnmarshalJSON ¶
func (t *DatabaseCluster_Spec_Proxy_Resources_Memory) UnmarshalJSON(b []byte) error
type DatabaseEngine ¶
type DatabaseEngine struct { // ApiVersion APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `json:"apiVersion,omitempty"` // Kind Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `json:"kind,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` // Spec DatabaseEngineSpec is a spec for a database engine. Spec *struct { AllowedVersions *[]string `json:"allowedVersions,omitempty"` // Type EngineType stands for the supported database engines. Right now it's only pxc and psmdb. However, it can be ps, pg and any other source. Type string `json:"type"` } `json:"spec,omitempty"` // Status DatabaseEngineStatus defines the observed state of DatabaseEngine. Status *struct { // AvailableVersions Versions struct represents available versions of database engine components. AvailableVersions *struct { Backup *map[string]struct { Critical *bool `json:"critical,omitempty"` ImageHash *string `json:"imageHash,omitempty"` ImagePath *string `json:"imagePath,omitempty"` Status *string `json:"status,omitempty"` } `json:"backup,omitempty"` Engine *map[string]struct { Critical *bool `json:"critical,omitempty"` ImageHash *string `json:"imageHash,omitempty"` ImagePath *string `json:"imagePath,omitempty"` Status *string `json:"status,omitempty"` } `json:"engine,omitempty"` Proxy *map[string]map[string]struct { Critical *bool `json:"critical,omitempty"` ImageHash *string `json:"imageHash,omitempty"` ImagePath *string `json:"imagePath,omitempty"` Status *string `json:"status,omitempty"` } `json:"proxy,omitempty"` Tools *map[string]map[string]struct { Critical *bool `json:"critical,omitempty"` ImageHash *string `json:"imageHash,omitempty"` ImagePath *string `json:"imagePath,omitempty"` Status *string `json:"status,omitempty"` } `json:"tools,omitempty"` } `json:"availableVersions,omitempty"` // OperatorUpgrade OperatorUpgrade contains the status of the operator upgrade. // This is set only if the `everest.percona.com/upgrade-operator-to` annotation is present. OperatorUpgrade *struct { // InstallPlanRef InstallPlanRef is a reference to the InstallPlan object created for the operator upgrade. InstallPlanRef *struct { // Name Name of the referent. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names // TODO: Add other useful fields. apiVersion, kind, uid? Name *string `json:"name,omitempty"` } `json:"installPlanRef,omitempty"` Message *string `json:"message,omitempty"` // Phase UpgradePhase represents the phase of the operator upgrade. Phase *string `json:"phase,omitempty"` StartedAt *time.Time `json:"startedAt,omitempty"` // TargetVersion TargetVersion is the version to which the operator should be upgraded. TargetVersion *string `json:"targetVersion,omitempty"` } `json:"operatorUpgrade,omitempty"` OperatorVersion *string `json:"operatorVersion,omitempty"` PendingOperatorUpgrades *[]struct { // InstallPlanRef InstallPlanRef is a reference to the InstallPlan object created for the operator upgrade. InstallPlanRef *struct { // Name Name of the referent. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names // TODO: Add other useful fields. apiVersion, kind, uid? Name *string `json:"name,omitempty"` } `json:"installPlanRef,omitempty"` // TargetVersion TargetVersion is the version to which the operator should be upgraded. TargetVersion *string `json:"targetVersion,omitempty"` } `json:"pendingOperatorUpgrades,omitempty"` // Status EngineState represents state of engine in a k8s cluster. Status *string `json:"status,omitempty"` } `json:"status,omitempty"` }
DatabaseEngine DatabaseEngine is the Schema for the databaseengines API.
type DatabaseEngineList ¶
type DatabaseEngineList struct { // ApiVersion APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `json:"apiVersion,omitempty"` Items *[]DatabaseEngine `json:"items,omitempty"` // Kind Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `json:"kind,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` }
DatabaseEngineList DatabaseEngineList is an object that contains the list of the existing database engines.
type DatabaseEngineOperatorUpgradeParams ¶ added in v0.10.0
type DatabaseEngineOperatorUpgradeParams struct { // TargetVersion The version to which the operator should be upgraded TargetVersion string `json:"targetVersion"` }
DatabaseEngineOperatorUpgradeParams Database engine operator upgrade parameters
type DeleteDatabaseClusterBackupParams ¶ added in v0.10.0
type DeleteDatabaseClusterBackupParams struct { // CleanupBackupStorage If set, remove the backed up data from storage CleanupBackupStorage *bool `form:"cleanupBackupStorage,omitempty" json:"cleanupBackupStorage,omitempty"` }
DeleteDatabaseClusterBackupParams defines parameters for DeleteDatabaseClusterBackup.
type DeleteDatabaseClusterParams ¶ added in v0.10.0
type DeleteDatabaseClusterParams struct { // CleanupBackupStorage If set, remove the backed up data from storage CleanupBackupStorage *bool `form:"cleanupBackupStorage,omitempty" json:"cleanupBackupStorage,omitempty"` }
DeleteDatabaseClusterParams defines parameters for DeleteDatabaseCluster.
type EchoRouter ¶
type EchoRouter interface { CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route }
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration
type Error ¶
type Error struct {
Message *string `json:"message,omitempty"`
}
Error Error response
func (Error) MarshalJSON ¶
MarshalJSON capitalizes Error.Message and marshals it to byte array.
type EverestServer ¶
type EverestServer struct {
// contains filtered or unexported fields
}
EverestServer represents the server struct.
func NewEverestServer ¶
func NewEverestServer(ctx context.Context, c *config.EverestConfig, l *zap.SugaredLogger) (*EverestServer, error)
NewEverestServer creates and configures everest API.
func (*EverestServer) CreateBackupStorage ¶
func (e *EverestServer) CreateBackupStorage(ctx echo.Context) error
CreateBackupStorage creates a new backup storage object.
func (*EverestServer) CreateDatabaseCluster ¶
func (e *EverestServer) CreateDatabaseCluster(ctx echo.Context, namespace string) error
CreateDatabaseCluster creates a new db cluster inside the given k8s cluster.
func (*EverestServer) CreateDatabaseClusterBackup ¶
func (e *EverestServer) CreateDatabaseClusterBackup(ctx echo.Context, namespace string) error
CreateDatabaseClusterBackup creates a database cluster backup on the specified kubernetes cluster.
func (*EverestServer) CreateDatabaseClusterRestore ¶
func (e *EverestServer) CreateDatabaseClusterRestore(ctx echo.Context, namespace string) error
CreateDatabaseClusterRestore Create a database cluster restore on the specified kubernetes cluster.
func (*EverestServer) CreateMonitoringInstance ¶
func (e *EverestServer) CreateMonitoringInstance(ctx echo.Context) error
CreateMonitoringInstance creates a new monitoring instance.
func (*EverestServer) CreateSession ¶ added in v1.0.0
func (e *EverestServer) CreateSession(ctx echo.Context) error
CreateSession creates a new session.
func (*EverestServer) DeleteBackupStorage ¶
func (e *EverestServer) DeleteBackupStorage(ctx echo.Context, backupStorageName string) error
DeleteBackupStorage deletes the specified backup storage.
func (*EverestServer) DeleteDatabaseCluster ¶
func (e *EverestServer) DeleteDatabaseCluster( ctx echo.Context, namespace, name string, params DeleteDatabaseClusterParams, ) error
DeleteDatabaseCluster deletes a database cluster on the specified kubernetes cluster.
func (*EverestServer) DeleteDatabaseClusterBackup ¶
func (e *EverestServer) DeleteDatabaseClusterBackup( ctx echo.Context, namespace, name string, params DeleteDatabaseClusterBackupParams, ) error
DeleteDatabaseClusterBackup deletes the specified cluster backup on the specified kubernetes cluster.
func (*EverestServer) DeleteDatabaseClusterRestore ¶
func (e *EverestServer) DeleteDatabaseClusterRestore(ctx echo.Context, namespace, name string) error
DeleteDatabaseClusterRestore Delete the specified cluster restore on the specified kubernetes cluster.
func (*EverestServer) DeleteMonitoringInstance ¶
func (e *EverestServer) DeleteMonitoringInstance(ctx echo.Context, name string) error
DeleteMonitoringInstance deletes a monitoring instance.
func (*EverestServer) GetBackupStorage ¶
func (e *EverestServer) GetBackupStorage(ctx echo.Context, backupStorageName string) error
GetBackupStorage retrieves the specified backup storage.
func (*EverestServer) GetDatabaseCluster ¶
func (e *EverestServer) GetDatabaseCluster(ctx echo.Context, namespace, name string) error
GetDatabaseCluster retrieves the specified database cluster on the specified kubernetes cluster.
func (*EverestServer) GetDatabaseClusterBackup ¶
func (e *EverestServer) GetDatabaseClusterBackup(ctx echo.Context, namespace, name string) error
GetDatabaseClusterBackup returns the specified cluster backup on the specified kubernetes cluster.
func (*EverestServer) GetDatabaseClusterComponents ¶ added in v1.0.0
func (e *EverestServer) GetDatabaseClusterComponents(ctx echo.Context, namespace, name string) error
GetDatabaseClusterComponents returns database cluster components.
func (*EverestServer) GetDatabaseClusterCredentials ¶
func (e *EverestServer) GetDatabaseClusterCredentials(ctx echo.Context, namespace, name string) error
GetDatabaseClusterCredentials returns credentials for the specified database cluster.
func (*EverestServer) GetDatabaseClusterPitr ¶
func (e *EverestServer) GetDatabaseClusterPitr(ctx echo.Context, namespace, name string) error
GetDatabaseClusterPitr returns the point-in-time recovery related information for the specified database cluster.
func (*EverestServer) GetDatabaseClusterRestore ¶
func (e *EverestServer) GetDatabaseClusterRestore(ctx echo.Context, namespace, name string) error
GetDatabaseClusterRestore Returns the specified cluster restore on the specified kubernetes cluster.
func (*EverestServer) GetDatabaseEngine ¶
func (e *EverestServer) GetDatabaseEngine(ctx echo.Context, namespace, name string) error
GetDatabaseEngine Get the specified database engine on the specified namespace.
func (*EverestServer) GetKubernetesClusterInfo ¶
func (e *EverestServer) GetKubernetesClusterInfo(ctx echo.Context) error
GetKubernetesClusterInfo returns the cluster type and storage classes of a kubernetes cluster.
func (*EverestServer) GetKubernetesClusterResources ¶
func (e *EverestServer) GetKubernetesClusterResources(ctx echo.Context) error
GetKubernetesClusterResources returns all and available resources of a Kubernetes cluster.
func (*EverestServer) GetMonitoringInstance ¶
func (e *EverestServer) GetMonitoringInstance(ctx echo.Context, name string) error
GetMonitoringInstance retrieves a monitoring instance.
func (*EverestServer) GetOperatorUpgradePreflight ¶ added in v1.0.0
func (e *EverestServer) GetOperatorUpgradePreflight( ctx echo.Context, namespace, name string, params GetOperatorUpgradePreflightParams, ) error
GetOperatorUpgradePreflight gets the preflight check results for upgrading the specified database engine operator.
func (*EverestServer) GetOperatorVersion ¶ added in v1.0.0
func (e *EverestServer) GetOperatorVersion(c echo.Context, namespace, name string) error
GetOperatorVersion returns the current version of the operator and the status of the database clusters.
func (*EverestServer) GetSettings ¶ added in v1.0.0
func (e *EverestServer) GetSettings(ctx echo.Context) error
GetSettings returns the Everest global settings.
func (*EverestServer) ListBackupStorages ¶
func (e *EverestServer) ListBackupStorages(ctx echo.Context) error
ListBackupStorages lists backup storages.
func (*EverestServer) ListDatabaseClusterBackups ¶
func (e *EverestServer) ListDatabaseClusterBackups(ctx echo.Context, namespace, name string) error
ListDatabaseClusterBackups returns list of the created database cluster backups on the specified kubernetes cluster.
func (*EverestServer) ListDatabaseClusterRestores ¶
func (e *EverestServer) ListDatabaseClusterRestores(ctx echo.Context, namespace, name string) error
ListDatabaseClusterRestores List of the created database cluster restores on the specified kubernetes cluster.
func (*EverestServer) ListDatabaseClusters ¶
func (e *EverestServer) ListDatabaseClusters(ctx echo.Context, namespace string) error
ListDatabaseClusters lists the created database clusters on the specified kubernetes cluster.
func (*EverestServer) ListDatabaseEngines ¶
func (e *EverestServer) ListDatabaseEngines(ctx echo.Context, namespace string) error
ListDatabaseEngines List of the available database engines on the specified namespace.
func (*EverestServer) ListMonitoringInstances ¶
func (e *EverestServer) ListMonitoringInstances(ctx echo.Context) error
ListMonitoringInstances lists all monitoring instances.
func (*EverestServer) ListNamespaces ¶
func (e *EverestServer) ListNamespaces(ctx echo.Context) error
ListNamespaces returns the current version information.
func (*EverestServer) RunTelemetryJob ¶
func (e *EverestServer) RunTelemetryJob(ctx context.Context, c *config.EverestConfig)
RunTelemetryJob runs background job for collecting telemetry.
func (*EverestServer) Shutdown ¶
func (e *EverestServer) Shutdown(ctx context.Context) error
Shutdown gracefully stops the Everest server.
func (*EverestServer) UpdateBackupStorage ¶
func (e *EverestServer) UpdateBackupStorage(ctx echo.Context, backupStorageName string) error
UpdateBackupStorage updates of the specified backup storage.
func (*EverestServer) UpdateDatabaseCluster ¶
func (e *EverestServer) UpdateDatabaseCluster(ctx echo.Context, namespace, name string) error
UpdateDatabaseCluster replaces the specified database cluster on the specified kubernetes cluster.
func (*EverestServer) UpdateDatabaseClusterRestore ¶
func (e *EverestServer) UpdateDatabaseClusterRestore(ctx echo.Context, namespace, name string) error
UpdateDatabaseClusterRestore Replace the specified cluster restore on the specified kubernetes cluster.
func (*EverestServer) UpdateDatabaseEngine ¶
func (e *EverestServer) UpdateDatabaseEngine(ctx echo.Context, namespace, name string) error
UpdateDatabaseEngine Update the specified database engine on the specified namespace.
func (*EverestServer) UpdateMonitoringInstance ¶
func (e *EverestServer) UpdateMonitoringInstance(ctx echo.Context, name string) error
UpdateMonitoringInstance updates a monitoring instance based on the provided fields.
func (*EverestServer) UpgradeDatabaseEngineOperator ¶ added in v0.10.0
func (e *EverestServer) UpgradeDatabaseEngineOperator(ctx echo.Context, namespace string, name string) error
UpgradeDatabaseEngineOperator upgrades the database engine operator to the specified version.
func (*EverestServer) VersionInfo ¶
func (e *EverestServer) VersionInfo(ctx echo.Context) error
VersionInfo returns the current version information.
type GetOperatorUpgradePreflightParams ¶ added in v1.0.0
type GetOperatorUpgradePreflightParams struct { // TargetVersion The target version to upgrade the operator to TargetVersion string `form:"targetVersion" json:"targetVersion"` }
GetOperatorUpgradePreflightParams defines parameters for GetOperatorUpgradePreflight.
type IoK8sApimachineryPkgApisMetaV1ListMeta ¶
type IoK8sApimachineryPkgApisMetaV1ListMeta struct { // Continue continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message. Continue *string `json:"continue,omitempty"` // RemainingItemCount remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact. RemainingItemCount *int64 `json:"remainingItemCount,omitempty"` // ResourceVersion String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency ResourceVersion *string `json:"resourceVersion,omitempty"` // SelfLink selfLink is a URL representing this object. Populated by the system. Read-only. // // DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release. SelfLink *string `json:"selfLink,omitempty"` }
IoK8sApimachineryPkgApisMetaV1ListMeta ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
type IoK8sApimachineryPkgApisMetaV1StatusCause ¶
type IoK8sApimachineryPkgApisMetaV1StatusCause struct { // Field The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. // // Examples: // "name" - the field "name" on the current resource // "items[0].name" - the field "name" on the first array entry in "items" Field *string `json:"field,omitempty"` // Message A human-readable description of the cause of the error. This field may be presented as-is to a reader. Message *string `json:"message,omitempty"` // Reason A machine-readable description of the cause of the error. If this value is empty there is no information available. Reason *string `json:"reason,omitempty"` }
IoK8sApimachineryPkgApisMetaV1StatusCause StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
type IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 ¶
type IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 struct { // Causes The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. Causes *[]IoK8sApimachineryPkgApisMetaV1StatusCause `json:"causes,omitempty"` // Group The group attribute of the resource associated with the status StatusReason. Group *string `json:"group,omitempty"` // Kind The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `json:"kind,omitempty"` // Name The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). Name *string `json:"name,omitempty"` // RetryAfterSeconds If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action. RetryAfterSeconds *int32 `json:"retryAfterSeconds,omitempty"` // Uid UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids Uid *string `json:"uid,omitempty"` }
IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
type IoK8sApimachineryPkgApisMetaV1StatusV2 ¶
type IoK8sApimachineryPkgApisMetaV1StatusV2 struct { // ApiVersion APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `json:"apiVersion,omitempty"` // Code Suggested HTTP return code for this status, 0 if not set. Code *int32 `json:"code,omitempty"` // Details StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined. Details *IoK8sApimachineryPkgApisMetaV1StatusDetailsV2 `json:"details,omitempty"` // Kind Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `json:"kind,omitempty"` // Message A human-readable description of the status of this operation. Message *string `json:"message,omitempty"` // Metadata ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. Metadata *IoK8sApimachineryPkgApisMetaV1ListMeta `json:"metadata,omitempty"` // Reason A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. Reason *string `json:"reason,omitempty"` // Status Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status Status *string `json:"status,omitempty"` }
IoK8sApimachineryPkgApisMetaV1StatusV2 Status is a return value for calls that don't return other objects.
type KubernetesClusterInfo ¶
type KubernetesClusterInfo struct { ClusterType string `json:"clusterType"` StorageClassNames []string `json:"storageClassNames"` }
KubernetesClusterInfo kubernetes cluster info
type KubernetesClusterResources ¶
type KubernetesClusterResources struct { Available ResourcesAvailable `json:"available"` Capacity ResourcesCapacity `json:"capacity"` }
KubernetesClusterResources kubernetes cluster resources
type MonitoringInstance ¶
type MonitoringInstance = MonitoringInstanceBaseWithName
MonitoringInstance Monitoring instance information
type MonitoringInstanceBase ¶
type MonitoringInstanceBase struct { // AllowedNamespaces List of namespaces allowed to use this monitoring instance AllowedNamespaces *[]string `json:"allowedNamespaces,omitempty"` Type MonitoringInstanceBaseType `json:"type,omitempty"` Url string `json:"url,omitempty"` // VerifyTLS VerifyTLS is set to ensure TLS/SSL verification. VerifyTLS *bool `json:"verifyTLS,omitempty"` }
MonitoringInstanceBase Monitoring instance information
type MonitoringInstanceBaseType ¶
type MonitoringInstanceBaseType string
MonitoringInstanceBaseType defines model for MonitoringInstanceBase.Type.
const (
MonitoringInstanceBaseTypePmm MonitoringInstanceBaseType = "pmm"
)
Defines values for MonitoringInstanceBaseType.
type MonitoringInstanceBaseWithName ¶
type MonitoringInstanceBaseWithName struct { // AllowedNamespaces List of namespaces allowed to use this monitoring instance AllowedNamespaces *[]string `json:"allowedNamespaces,omitempty"` // Name A user defined string name of the storage in the DNS name format https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names Name string `json:"name,omitempty"` Type MonitoringInstanceBaseWithNameType `json:"type,omitempty"` Url string `json:"url,omitempty"` // VerifyTLS VerifyTLS is set to ensure TLS/SSL verification. VerifyTLS *bool `json:"verifyTLS,omitempty"` }
MonitoringInstanceBaseWithName defines model for MonitoringInstanceBaseWithName.
type MonitoringInstanceBaseWithNameType ¶
type MonitoringInstanceBaseWithNameType string
MonitoringInstanceBaseWithNameType defines model for MonitoringInstanceBaseWithName.Type.
const (
MonitoringInstanceBaseWithNameTypePmm MonitoringInstanceBaseWithNameType = "pmm"
)
Defines values for MonitoringInstanceBaseWithNameType.
type MonitoringInstanceCreateParams ¶
type MonitoringInstanceCreateParams struct { // AllowedNamespaces List of namespaces allowed to use this monitoring instance AllowedNamespaces *[]string `json:"allowedNamespaces,omitempty"` // Name A user defined string name of the storage in the DNS name format https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-names Name string `json:"name,omitempty"` Pmm *PMMMonitoringInstanceSpec `json:"pmm,omitempty"` Type MonitoringInstanceCreateParamsType `json:"type,omitempty"` Url string `json:"url,omitempty"` // VerifyTLS VerifyTLS is set to ensure TLS/SSL verification. VerifyTLS *bool `json:"verifyTLS,omitempty"` }
MonitoringInstanceCreateParams defines model for MonitoringInstanceCreateParams.
type MonitoringInstanceCreateParamsType ¶
type MonitoringInstanceCreateParamsType string
MonitoringInstanceCreateParamsType defines model for MonitoringInstanceCreateParams.Type.
const (
MonitoringInstanceCreateParamsTypePmm MonitoringInstanceCreateParamsType = "pmm"
)
Defines values for MonitoringInstanceCreateParamsType.
type MonitoringInstancePMM ¶
type MonitoringInstancePMM struct {
Pmm *PMMMonitoringInstanceSpec `json:"pmm,omitempty"`
}
MonitoringInstancePMM defines model for MonitoringInstancePMM.
type MonitoringInstanceUpdateParams ¶
type MonitoringInstanceUpdateParams struct { // AllowedNamespaces List of namespaces allowed to use this monitoring instance AllowedNamespaces *[]string `json:"allowedNamespaces,omitempty"` Pmm *PMMMonitoringInstanceSpec `json:"pmm,omitempty"` Type MonitoringInstanceUpdateParamsType `json:"type,omitempty"` Url string `json:"url,omitempty"` // VerifyTLS VerifyTLS is set to ensure TLS/SSL verification. VerifyTLS *bool `json:"verifyTLS,omitempty"` }
MonitoringInstanceUpdateParams defines model for MonitoringInstanceUpdateParams.
type MonitoringInstanceUpdateParamsType ¶
type MonitoringInstanceUpdateParamsType string
MonitoringInstanceUpdateParamsType defines model for MonitoringInstanceUpdateParams.Type.
const (
MonitoringInstanceUpdateParamsTypePmm MonitoringInstanceUpdateParamsType = "pmm"
)
Defines values for MonitoringInstanceUpdateParamsType.
type MonitoringInstancesList ¶
type MonitoringInstancesList = []MonitoringInstance
MonitoringInstancesList defines model for MonitoringInstancesList.
type OIDCConfig ¶ added in v1.0.0
type OIDCConfig struct { // ClientId OIDC application clientID ClientId string `json:"clientId"` // IssuerURL OIDC provider url IssuerURL string `json:"issuerURL"` }
OIDCConfig Everest OIDC provider configuration
type OperatorUpgradePreflight ¶ added in v1.0.0
type OperatorUpgradePreflight struct { // CurrentVersion The current operator version CurrentVersion *string `json:"currentVersion,omitempty"` Databases *[]OperatorUpgradePreflightForDatabase `json:"databases,omitempty"` }
OperatorUpgradePreflight Operator upgrade preflight check results
type OperatorUpgradePreflightForDatabase ¶ added in v1.0.0
type OperatorUpgradePreflightForDatabase struct { Message *string `json:"message,omitempty"` // Name Name of the database cluster Name *string `json:"name,omitempty"` // PendingTask Pending task for the database cluster PendingTask *OperatorUpgradePreflightForDatabasePendingTask `json:"pendingTask,omitempty"` }
OperatorUpgradePreflightForDatabase Operator upgrade preflight check results for a database
type OperatorUpgradePreflightForDatabasePendingTask ¶ added in v1.0.0
type OperatorUpgradePreflightForDatabasePendingTask string
OperatorUpgradePreflightForDatabasePendingTask Pending task for the database cluster
const ( OperatorUpgradePreflightForDatabasePendingTaskNotReady OperatorUpgradePreflightForDatabasePendingTask = "notReady" OperatorUpgradePreflightForDatabasePendingTaskReady OperatorUpgradePreflightForDatabasePendingTask = "ready" OperatorUpgradePreflightForDatabasePendingTaskRestart OperatorUpgradePreflightForDatabasePendingTask = "restart" OperatorUpgradePreflightForDatabasePendingTaskUpgradeEngine OperatorUpgradePreflightForDatabasePendingTask = "upgradeEngine" )
Defines values for OperatorUpgradePreflightForDatabasePendingTask.
type OperatorVersion ¶ added in v1.0.0
type OperatorVersion struct { // CurrentVersion The current operator version CurrentVersion *string `json:"currentVersion,omitempty"` Databases *[]OperatorVersionCheckForDatabase `json:"databases,omitempty"` }
OperatorVersion Operator version check results
type OperatorVersionCheckForDatabase ¶ added in v1.0.0
type OperatorVersionCheckForDatabase struct { Message *string `json:"message,omitempty"` // Name Name of the database cluster Name *string `json:"name,omitempty"` // PendingTask Pending task for the database cluster PendingTask *OperatorVersionCheckForDatabasePendingTask `json:"pendingTask,omitempty"` }
OperatorVersionCheckForDatabase Operator version checks for a single database
type OperatorVersionCheckForDatabasePendingTask ¶ added in v1.0.0
type OperatorVersionCheckForDatabasePendingTask string
OperatorVersionCheckForDatabasePendingTask Pending task for the database cluster
const (
OperatorVersionCheckForDatabasePendingTaskRestart OperatorVersionCheckForDatabasePendingTask = "restart"
)
Defines values for OperatorVersionCheckForDatabasePendingTask.
type PMMMonitoringInstanceSpec ¶
type PMMMonitoringInstanceSpec struct { ApiKey string `json:"apiKey,omitempty"` Password string `json:"password,omitempty"` User string `json:"user,omitempty"` }
PMMMonitoringInstanceSpec defines model for .
type Report ¶
type Report struct { ID string `json:"id"` CreateTime time.Time `json:"createTime"` InstanceID string `json:"instanceId"` ProductFamily string `json:"productFamily"` Metrics []Metric `json:"metrics"` }
Report is a struct for a single telemetry report.
type ResourcesAvailable ¶
type ResourcesAvailable struct { CpuMillis *uint64 `json:"cpuMillis,omitempty"` DiskSize *uint64 `json:"diskSize,omitempty"` MemoryBytes *uint64 `json:"memoryBytes,omitempty"` }
ResourcesAvailable defines model for .
type ResourcesCapacity ¶
type ResourcesCapacity struct { CpuMillis *uint64 `json:"cpuMillis,omitempty"` DiskSize *uint64 `json:"diskSize,omitempty"` MemoryBytes *uint64 `json:"memoryBytes,omitempty"` }
ResourcesCapacity defines model for .
type ServerInterface ¶
type ServerInterface interface { // List backup storages // (GET /backup-storages) ListBackupStorages(ctx echo.Context) error // Create backup storage // (POST /backup-storages) CreateBackupStorage(ctx echo.Context) error // Delete backup storage // (DELETE /backup-storages/{name}) DeleteBackupStorage(ctx echo.Context, name string) error // Get backup storage // (GET /backup-storages/{name}) GetBackupStorage(ctx echo.Context, name string) error // Update backup storage // (PATCH /backup-storages/{name}) UpdateBackupStorage(ctx echo.Context, name string) error // Cluster info // (GET /cluster-info) GetKubernetesClusterInfo(ctx echo.Context) error // List monitoring instances // (GET /monitoring-instances) ListMonitoringInstances(ctx echo.Context) error // Create monitoring instance // (POST /monitoring-instances) CreateMonitoringInstance(ctx echo.Context) error // Delete monitoring instnace // (DELETE /monitoring-instances/{name}) DeleteMonitoringInstance(ctx echo.Context, name string) error // Get monitoring instance // (GET /monitoring-instances/{name}) GetMonitoringInstance(ctx echo.Context, name string) error // Update monitoring instance // (PATCH /monitoring-instances/{name}) UpdateMonitoringInstance(ctx echo.Context, name string) error // Managed namespaces // (GET /namespaces) ListNamespaces(ctx echo.Context) error // Create database cluster backup // (POST /namespaces/{namespace}/database-cluster-backups) CreateDatabaseClusterBackup(ctx echo.Context, namespace string) error // Delete database cluster backup // (DELETE /namespaces/{namespace}/database-cluster-backups/{name}) DeleteDatabaseClusterBackup(ctx echo.Context, namespace string, name string, params DeleteDatabaseClusterBackupParams) error // Get database cluster backup // (GET /namespaces/{namespace}/database-cluster-backups/{name}) GetDatabaseClusterBackup(ctx echo.Context, namespace string, name string) error // Create database cluster restore // (POST /namespaces/{namespace}/database-cluster-restores) CreateDatabaseClusterRestore(ctx echo.Context, namespace string) error // Delete database cluster restore // (DELETE /namespaces/{namespace}/database-cluster-restores/{name}) DeleteDatabaseClusterRestore(ctx echo.Context, namespace string, name string) error // Get database cluster restore // (GET /namespaces/{namespace}/database-cluster-restores/{name}) GetDatabaseClusterRestore(ctx echo.Context, namespace string, name string) error // Update database cluster restore // (PUT /namespaces/{namespace}/database-cluster-restores/{name}) UpdateDatabaseClusterRestore(ctx echo.Context, namespace string, name string) error // List database clusters // (GET /namespaces/{namespace}/database-clusters) ListDatabaseClusters(ctx echo.Context, namespace string) error // Create database cluster // (POST /namespaces/{namespace}/database-clusters) CreateDatabaseCluster(ctx echo.Context, namespace string) error // Delete database cluster // (DELETE /namespaces/{namespace}/database-clusters/{name}) DeleteDatabaseCluster(ctx echo.Context, namespace string, name string, params DeleteDatabaseClusterParams) error // Get database cluster // (GET /namespaces/{namespace}/database-clusters/{name}) GetDatabaseCluster(ctx echo.Context, namespace string, name string) error // Update database cluster // (PUT /namespaces/{namespace}/database-clusters/{name}) UpdateDatabaseCluster(ctx echo.Context, namespace string, name string) error // List database cluster backups // (GET /namespaces/{namespace}/database-clusters/{name}/backups) ListDatabaseClusterBackups(ctx echo.Context, namespace string, name string) error // Get database cluster components // (GET /namespaces/{namespace}/database-clusters/{name}/components) GetDatabaseClusterComponents(ctx echo.Context, namespace string, name string) error // Get database cluster credentials // (GET /namespaces/{namespace}/database-clusters/{name}/credentials) GetDatabaseClusterCredentials(ctx echo.Context, namespace string, name string) error // Get the Point-in-Time recovery info // (GET /namespaces/{namespace}/database-clusters/{name}/pitr) GetDatabaseClusterPitr(ctx echo.Context, namespace string, name string) error // List database cluster restores // (GET /namespaces/{namespace}/database-clusters/{name}/restores) ListDatabaseClusterRestores(ctx echo.Context, namespace string, name string) error // List database engines // (GET /namespaces/{namespace}/database-engines) ListDatabaseEngines(ctx echo.Context, namespace string) error // Get database engine // (GET /namespaces/{namespace}/database-engines/{name}) GetDatabaseEngine(ctx echo.Context, namespace string, name string) error // Update database engine // (PUT /namespaces/{namespace}/database-engines/{name}) UpdateDatabaseEngine(ctx echo.Context, namespace string, name string) error // Version info // (GET /namespaces/{namespace}/database-engines/{name}/operator-version) GetOperatorVersion(ctx echo.Context, namespace string, name string) error // Upgrade database engine operator // (PUT /namespaces/{namespace}/database-engines/{name}/operator-version) UpgradeDatabaseEngineOperator(ctx echo.Context, namespace string, name string) error // Upgrade preflight // (GET /namespaces/{namespace}/database-engines/{name}/operator-version/preflight) GetOperatorUpgradePreflight(ctx echo.Context, namespace string, name string, params GetOperatorUpgradePreflightParams) error // Cluster resources // (GET /resources) GetKubernetesClusterResources(ctx echo.Context) error // Everest UI Login // (POST /session) CreateSession(ctx echo.Context) error // Settings // (GET /settings) GetSettings(ctx echo.Context) error // Version // (GET /version) VersionInfo(ctx echo.Context) error }
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
ServerInterfaceWrapper converts echo contexts to parameters.
func (*ServerInterfaceWrapper) CreateBackupStorage ¶
func (w *ServerInterfaceWrapper) CreateBackupStorage(ctx echo.Context) error
CreateBackupStorage converts echo context to params.
func (*ServerInterfaceWrapper) CreateDatabaseCluster ¶
func (w *ServerInterfaceWrapper) CreateDatabaseCluster(ctx echo.Context) error
CreateDatabaseCluster converts echo context to params.
func (*ServerInterfaceWrapper) CreateDatabaseClusterBackup ¶
func (w *ServerInterfaceWrapper) CreateDatabaseClusterBackup(ctx echo.Context) error
CreateDatabaseClusterBackup converts echo context to params.
func (*ServerInterfaceWrapper) CreateDatabaseClusterRestore ¶
func (w *ServerInterfaceWrapper) CreateDatabaseClusterRestore(ctx echo.Context) error
CreateDatabaseClusterRestore converts echo context to params.
func (*ServerInterfaceWrapper) CreateMonitoringInstance ¶
func (w *ServerInterfaceWrapper) CreateMonitoringInstance(ctx echo.Context) error
CreateMonitoringInstance converts echo context to params.
func (*ServerInterfaceWrapper) CreateSession ¶ added in v1.0.0
func (w *ServerInterfaceWrapper) CreateSession(ctx echo.Context) error
CreateSession converts echo context to params.
func (*ServerInterfaceWrapper) DeleteBackupStorage ¶
func (w *ServerInterfaceWrapper) DeleteBackupStorage(ctx echo.Context) error
DeleteBackupStorage converts echo context to params.
func (*ServerInterfaceWrapper) DeleteDatabaseCluster ¶
func (w *ServerInterfaceWrapper) DeleteDatabaseCluster(ctx echo.Context) error
DeleteDatabaseCluster converts echo context to params.
func (*ServerInterfaceWrapper) DeleteDatabaseClusterBackup ¶
func (w *ServerInterfaceWrapper) DeleteDatabaseClusterBackup(ctx echo.Context) error
DeleteDatabaseClusterBackup converts echo context to params.
func (*ServerInterfaceWrapper) DeleteDatabaseClusterRestore ¶
func (w *ServerInterfaceWrapper) DeleteDatabaseClusterRestore(ctx echo.Context) error
DeleteDatabaseClusterRestore converts echo context to params.
func (*ServerInterfaceWrapper) DeleteMonitoringInstance ¶
func (w *ServerInterfaceWrapper) DeleteMonitoringInstance(ctx echo.Context) error
DeleteMonitoringInstance converts echo context to params.
func (*ServerInterfaceWrapper) GetBackupStorage ¶
func (w *ServerInterfaceWrapper) GetBackupStorage(ctx echo.Context) error
GetBackupStorage converts echo context to params.
func (*ServerInterfaceWrapper) GetDatabaseCluster ¶
func (w *ServerInterfaceWrapper) GetDatabaseCluster(ctx echo.Context) error
GetDatabaseCluster converts echo context to params.
func (*ServerInterfaceWrapper) GetDatabaseClusterBackup ¶
func (w *ServerInterfaceWrapper) GetDatabaseClusterBackup(ctx echo.Context) error
GetDatabaseClusterBackup converts echo context to params.
func (*ServerInterfaceWrapper) GetDatabaseClusterComponents ¶ added in v1.0.0
func (w *ServerInterfaceWrapper) GetDatabaseClusterComponents(ctx echo.Context) error
GetDatabaseClusterComponents converts echo context to params.
func (*ServerInterfaceWrapper) GetDatabaseClusterCredentials ¶
func (w *ServerInterfaceWrapper) GetDatabaseClusterCredentials(ctx echo.Context) error
GetDatabaseClusterCredentials converts echo context to params.
func (*ServerInterfaceWrapper) GetDatabaseClusterPitr ¶
func (w *ServerInterfaceWrapper) GetDatabaseClusterPitr(ctx echo.Context) error
GetDatabaseClusterPitr converts echo context to params.
func (*ServerInterfaceWrapper) GetDatabaseClusterRestore ¶
func (w *ServerInterfaceWrapper) GetDatabaseClusterRestore(ctx echo.Context) error
GetDatabaseClusterRestore converts echo context to params.
func (*ServerInterfaceWrapper) GetDatabaseEngine ¶
func (w *ServerInterfaceWrapper) GetDatabaseEngine(ctx echo.Context) error
GetDatabaseEngine converts echo context to params.
func (*ServerInterfaceWrapper) GetKubernetesClusterInfo ¶
func (w *ServerInterfaceWrapper) GetKubernetesClusterInfo(ctx echo.Context) error
GetKubernetesClusterInfo converts echo context to params.
func (*ServerInterfaceWrapper) GetKubernetesClusterResources ¶
func (w *ServerInterfaceWrapper) GetKubernetesClusterResources(ctx echo.Context) error
GetKubernetesClusterResources converts echo context to params.
func (*ServerInterfaceWrapper) GetMonitoringInstance ¶
func (w *ServerInterfaceWrapper) GetMonitoringInstance(ctx echo.Context) error
GetMonitoringInstance converts echo context to params.
func (*ServerInterfaceWrapper) GetOperatorUpgradePreflight ¶ added in v1.0.0
func (w *ServerInterfaceWrapper) GetOperatorUpgradePreflight(ctx echo.Context) error
GetOperatorUpgradePreflight converts echo context to params.
func (*ServerInterfaceWrapper) GetOperatorVersion ¶ added in v1.0.0
func (w *ServerInterfaceWrapper) GetOperatorVersion(ctx echo.Context) error
GetOperatorVersion converts echo context to params.
func (*ServerInterfaceWrapper) GetSettings ¶ added in v1.0.0
func (w *ServerInterfaceWrapper) GetSettings(ctx echo.Context) error
GetSettings converts echo context to params.
func (*ServerInterfaceWrapper) ListBackupStorages ¶
func (w *ServerInterfaceWrapper) ListBackupStorages(ctx echo.Context) error
ListBackupStorages converts echo context to params.
func (*ServerInterfaceWrapper) ListDatabaseClusterBackups ¶
func (w *ServerInterfaceWrapper) ListDatabaseClusterBackups(ctx echo.Context) error
ListDatabaseClusterBackups converts echo context to params.
func (*ServerInterfaceWrapper) ListDatabaseClusterRestores ¶
func (w *ServerInterfaceWrapper) ListDatabaseClusterRestores(ctx echo.Context) error
ListDatabaseClusterRestores converts echo context to params.
func (*ServerInterfaceWrapper) ListDatabaseClusters ¶
func (w *ServerInterfaceWrapper) ListDatabaseClusters(ctx echo.Context) error
ListDatabaseClusters converts echo context to params.
func (*ServerInterfaceWrapper) ListDatabaseEngines ¶
func (w *ServerInterfaceWrapper) ListDatabaseEngines(ctx echo.Context) error
ListDatabaseEngines converts echo context to params.
func (*ServerInterfaceWrapper) ListMonitoringInstances ¶
func (w *ServerInterfaceWrapper) ListMonitoringInstances(ctx echo.Context) error
ListMonitoringInstances converts echo context to params.
func (*ServerInterfaceWrapper) ListNamespaces ¶
func (w *ServerInterfaceWrapper) ListNamespaces(ctx echo.Context) error
ListNamespaces converts echo context to params.
func (*ServerInterfaceWrapper) UpdateBackupStorage ¶
func (w *ServerInterfaceWrapper) UpdateBackupStorage(ctx echo.Context) error
UpdateBackupStorage converts echo context to params.
func (*ServerInterfaceWrapper) UpdateDatabaseCluster ¶
func (w *ServerInterfaceWrapper) UpdateDatabaseCluster(ctx echo.Context) error
UpdateDatabaseCluster converts echo context to params.
func (*ServerInterfaceWrapper) UpdateDatabaseClusterRestore ¶
func (w *ServerInterfaceWrapper) UpdateDatabaseClusterRestore(ctx echo.Context) error
UpdateDatabaseClusterRestore converts echo context to params.
func (*ServerInterfaceWrapper) UpdateDatabaseEngine ¶
func (w *ServerInterfaceWrapper) UpdateDatabaseEngine(ctx echo.Context) error
UpdateDatabaseEngine converts echo context to params.
func (*ServerInterfaceWrapper) UpdateMonitoringInstance ¶
func (w *ServerInterfaceWrapper) UpdateMonitoringInstance(ctx echo.Context) error
UpdateMonitoringInstance converts echo context to params.
func (*ServerInterfaceWrapper) UpgradeDatabaseEngineOperator ¶ added in v0.10.0
func (w *ServerInterfaceWrapper) UpgradeDatabaseEngineOperator(ctx echo.Context) error
UpgradeDatabaseEngineOperator converts echo context to params.
func (*ServerInterfaceWrapper) VersionInfo ¶
func (w *ServerInterfaceWrapper) VersionInfo(ctx echo.Context) error
VersionInfo converts echo context to params.
type Settings ¶ added in v1.0.0
type Settings struct { // OidcConfig Everest OIDC provider configuration OidcConfig OIDCConfig `json:"oidcConfig"` }
Settings Everest global settings
type Telemetry ¶
type Telemetry struct {
Reports []Report `json:"reports"`
}
Telemetry is the struct for telemetry reports.
type UpdateBackupStorageJSONRequestBody ¶
type UpdateBackupStorageJSONRequestBody = UpdateBackupStorageParams
UpdateBackupStorageJSONRequestBody defines body for UpdateBackupStorage for application/json ContentType.
type UpdateBackupStorageParams ¶
type UpdateBackupStorageParams struct { AccessKey *string `json:"accessKey,omitempty"` // AllowedNamespaces List of namespaces allowed to use this backup storage AllowedNamespaces *[]string `json:"allowedNamespaces,omitempty"` // BucketName The cloud storage bucket/container name BucketName *string `json:"bucketName,omitempty"` Description *string `json:"description,omitempty"` ForcePathStyle *bool `json:"forcePathStyle,omitempty"` Region *string `json:"region,omitempty"` SecretKey *string `json:"secretKey,omitempty"` Url *string `json:"url,omitempty"` VerifyTLS *bool `json:"verifyTLS,omitempty"` }
UpdateBackupStorageParams Backup storage parameters
type UpdateDatabaseClusterJSONRequestBody ¶
type UpdateDatabaseClusterJSONRequestBody = DatabaseCluster
UpdateDatabaseClusterJSONRequestBody defines body for UpdateDatabaseCluster for application/json ContentType.
type UpdateDatabaseClusterRestoreJSONRequestBody ¶
type UpdateDatabaseClusterRestoreJSONRequestBody = DatabaseClusterRestore
UpdateDatabaseClusterRestoreJSONRequestBody defines body for UpdateDatabaseClusterRestore for application/json ContentType.
type UpdateDatabaseEngineJSONRequestBody ¶
type UpdateDatabaseEngineJSONRequestBody = DatabaseEngine
UpdateDatabaseEngineJSONRequestBody defines body for UpdateDatabaseEngine for application/json ContentType.
type UpdateMonitoringInstanceJSONRequestBody ¶
type UpdateMonitoringInstanceJSONRequestBody = MonitoringInstanceUpdateParams
UpdateMonitoringInstanceJSONRequestBody defines body for UpdateMonitoringInstance for application/json ContentType.
type UpgradeDatabaseEngineOperatorJSONRequestBody ¶ added in v0.10.0
type UpgradeDatabaseEngineOperatorJSONRequestBody = DatabaseEngineOperatorUpgradeParams
UpgradeDatabaseEngineOperatorJSONRequestBody defines body for UpgradeDatabaseEngineOperator for application/json ContentType.
type UserCredentials ¶ added in v1.0.0
type UserCredentials struct { Password *string `json:"password,omitempty"` Username *string `json:"username,omitempty"` }
UserCredentials defines model for UserCredentials.
Source Files ¶
- backup_storage.go
- cluster-info.go
- database_cluster.go
- database_cluster_backup.go
- database_cluster_restore.go
- database_engine.go
- everest-server.gen.go
- everest.go
- kubernetes.go
- marshal.go
- middlewares.go
- monitoring_instance.go
- namespace.go
- operatorupgrade_preflight.go
- proxy.go
- session.go
- settings.go
- telemetry.go
- validation.go
- version.go