Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.
Package client provides primitives to interact with the Everest HTTP API.
Index ¶
- Constants
- func GetSwagger() (swagger *openapi3.T, err error)
- func NewApproveUpgradePlanRequest(server string, namespace string, body ApproveUpgradePlanJSONRequestBody) (*http.Request, error)
- func NewApproveUpgradePlanRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateBackupStorageRequest(server string, namespace string, body CreateBackupStorageJSONRequestBody) (*http.Request, error)
- func NewCreateBackupStorageRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDatabaseClusterBackupRequest(server string, namespace string, ...) (*http.Request, error)
- func NewCreateDatabaseClusterBackupRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDatabaseClusterRequest(server string, namespace string, body CreateDatabaseClusterJSONRequestBody) (*http.Request, error)
- func NewCreateDatabaseClusterRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDatabaseClusterRestoreRequest(server string, namespace string, ...) (*http.Request, error)
- func NewCreateDatabaseClusterRestoreRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDatabaseClusterSecretRequest(server string, namespace string, dbName string, ...) (*http.Request, error)
- func NewCreateDatabaseClusterSecretRequestWithBody(server string, namespace string, dbName string, ...) (*http.Request, error)
- func NewCreateLoadBalancerConfigRequest(server string, body CreateLoadBalancerConfigJSONRequestBody) (*http.Request, error)
- func NewCreateLoadBalancerConfigRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMonitoringInstanceRequest(server string, namespace string, body CreateMonitoringInstanceJSONRequestBody) (*http.Request, error)
- func NewCreateMonitoringInstanceRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePodSchedulingPolicyRequest(server string, body CreatePodSchedulingPolicyJSONRequestBody) (*http.Request, error)
- func NewCreatePodSchedulingPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSessionRequest(server string, body CreateSessionJSONRequestBody) (*http.Request, error)
- func NewCreateSessionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSplitHorizonDNSConfigRequest(server string, namespace string, ...) (*http.Request, error)
- func NewCreateSplitHorizonDNSConfigRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteBackupStorageRequest(server string, namespace string, name string) (*http.Request, error)
- func NewDeleteDatabaseClusterBackupRequest(server string, namespace string, name string, ...) (*http.Request, error)
- func NewDeleteDatabaseClusterRequest(server string, namespace string, name string, ...) (*http.Request, error)
- func NewDeleteDatabaseClusterRestoreRequest(server string, namespace string, name string) (*http.Request, error)
- func NewDeleteLoadBalancerConfigRequest(server string, configName string) (*http.Request, error)
- func NewDeleteMonitoringInstanceRequest(server string, namespace string, name string) (*http.Request, error)
- func NewDeletePodSchedulingPolicyRequest(server string, policyName string) (*http.Request, error)
- func NewDeleteSessionRequest(server string) (*http.Request, error)
- func NewDeleteSplitHorizonDNSConfigRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetBackupStorageRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetDatabaseClusterBackupRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetDatabaseClusterComponentsRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetDatabaseClusterCredentialsRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetDatabaseClusterPitrRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetDatabaseClusterRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetDatabaseClusterRestoreRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetDatabaseEngineRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetKubernetesClusterInfoRequest(server string) (*http.Request, error)
- func NewGetKubernetesClusterResourcesRequest(server string) (*http.Request, error)
- func NewGetLoadBalancerConfigRequest(server string, configName string) (*http.Request, error)
- func NewGetMonitoringInstanceRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetPodSchedulingPolicyRequest(server string, policyName string) (*http.Request, error)
- func NewGetSettingsRequest(server string) (*http.Request, error)
- func NewGetSplitHorizonDNSConfigRequest(server string, namespace string, name string) (*http.Request, error)
- func NewGetUpgradePlanRequest(server string, namespace string) (*http.Request, error)
- func NewGetUserPermissionsRequest(server string) (*http.Request, error)
- func NewListBackupStoragesRequest(server string, namespace string) (*http.Request, error)
- func NewListDataImportJobsRequest(server string, namespace string, dbName string) (*http.Request, error)
- func NewListDataImportersRequest(server string, params *ListDataImportersParams) (*http.Request, error)
- func NewListDatabaseClusterBackupsRequest(server string, namespace string, clusterName string) (*http.Request, error)
- func NewListDatabaseClusterRestoresRequest(server string, namespace string, clusterName string) (*http.Request, error)
- func NewListDatabaseClustersRequest(server string, namespace string) (*http.Request, error)
- func NewListDatabaseEnginesRequest(server string, namespace string) (*http.Request, error)
- func NewListLoadBalancerConfigRequest(server string) (*http.Request, error)
- func NewListMonitoringInstancesRequest(server string, namespace string) (*http.Request, error)
- func NewListNamespacesRequest(server string) (*http.Request, error)
- func NewListPodSchedulingPolicyRequest(server string, params *ListPodSchedulingPolicyParams) (*http.Request, error)
- func NewListSplitHorizonDNSConfigsRequest(server string, namespace string) (*http.Request, error)
- func NewUpdateBackupStorageRequest(server string, namespace string, name string, ...) (*http.Request, error)
- func NewUpdateBackupStorageRequestWithBody(server string, namespace string, name string, contentType string, ...) (*http.Request, error)
- func NewUpdateDatabaseClusterRequest(server string, namespace string, name string, ...) (*http.Request, error)
- func NewUpdateDatabaseClusterRequestWithBody(server string, namespace string, name string, contentType string, ...) (*http.Request, error)
- func NewUpdateDatabaseClusterRestoreRequest(server string, namespace string, name string, ...) (*http.Request, error)
- func NewUpdateDatabaseClusterRestoreRequestWithBody(server string, namespace string, name string, contentType string, ...) (*http.Request, error)
- func NewUpdateDatabaseEngineRequest(server string, namespace string, name string, ...) (*http.Request, error)
- func NewUpdateDatabaseEngineRequestWithBody(server string, namespace string, name string, contentType string, ...) (*http.Request, error)
- func NewUpdateLoadBalancerConfigRequest(server string, configName string, body UpdateLoadBalancerConfigJSONRequestBody) (*http.Request, error)
- func NewUpdateLoadBalancerConfigRequestWithBody(server string, configName string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateMonitoringInstanceRequest(server string, namespace string, name string, ...) (*http.Request, error)
- func NewUpdateMonitoringInstanceRequestWithBody(server string, namespace string, name string, contentType string, ...) (*http.Request, error)
- func NewUpdatePodSchedulingPolicyRequest(server string, policyName string, ...) (*http.Request, error)
- func NewUpdatePodSchedulingPolicyRequestWithBody(server string, policyName string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSplitHorizonDNSConfigRequest(server string, namespace string, name string, ...) (*http.Request, error)
- func NewUpdateSplitHorizonDNSConfigRequestWithBody(server string, namespace string, name string, contentType string, ...) (*http.Request, error)
- func NewVersionInfoRequest(server string) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type ApproveUpgradePlanJSONRequestBody
- type ApproveUpgradePlanResponse
- type BackupStorage
- type BackupStorageType
- type BackupStoragesList
- type Client
- func (c *Client) ApproveUpgradePlan(ctx context.Context, namespace string, body ApproveUpgradePlanJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ApproveUpgradePlanWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateBackupStorage(ctx context.Context, namespace string, body CreateBackupStorageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBackupStorageWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDatabaseCluster(ctx context.Context, namespace string, ...) (*http.Response, error)
- func (c *Client) CreateDatabaseClusterBackup(ctx context.Context, namespace string, ...) (*http.Response, error)
- func (c *Client) CreateDatabaseClusterBackupWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDatabaseClusterRestore(ctx context.Context, namespace string, ...) (*http.Response, error)
- func (c *Client) CreateDatabaseClusterRestoreWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDatabaseClusterSecret(ctx context.Context, namespace string, dbName string, ...) (*http.Response, error)
- func (c *Client) CreateDatabaseClusterSecretWithBody(ctx context.Context, namespace string, dbName string, ...) (*http.Response, error)
- func (c *Client) CreateDatabaseClusterWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateLoadBalancerConfig(ctx context.Context, body CreateLoadBalancerConfigJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateLoadBalancerConfigWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMonitoringInstance(ctx context.Context, namespace string, ...) (*http.Response, error)
- func (c *Client) CreateMonitoringInstanceWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePodSchedulingPolicy(ctx context.Context, body CreatePodSchedulingPolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePodSchedulingPolicyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSession(ctx context.Context, body CreateSessionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSessionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSplitHorizonDNSConfig(ctx context.Context, namespace string, ...) (*http.Response, error)
- func (c *Client) CreateSplitHorizonDNSConfigWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteBackupStorage(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) DeleteDatabaseCluster(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) DeleteDatabaseClusterBackup(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) DeleteDatabaseClusterRestore(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) DeleteLoadBalancerConfig(ctx context.Context, configName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteMonitoringInstance(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) DeletePodSchedulingPolicy(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSplitHorizonDNSConfig(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetBackupStorage(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetDatabaseCluster(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetDatabaseClusterBackup(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetDatabaseClusterComponents(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetDatabaseClusterCredentials(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetDatabaseClusterPitr(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetDatabaseClusterRestore(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetDatabaseEngine(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetKubernetesClusterInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetKubernetesClusterResources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLoadBalancerConfig(ctx context.Context, configName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMonitoringInstance(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetPodSchedulingPolicy(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSplitHorizonDNSConfig(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetUpgradePlan(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUserPermissions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListBackupStorages(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDataImportJobs(ctx context.Context, namespace string, dbName string, ...) (*http.Response, error)
- func (c *Client) ListDataImporters(ctx context.Context, params *ListDataImportersParams, ...) (*http.Response, error)
- func (c *Client) ListDatabaseClusterBackups(ctx context.Context, namespace string, clusterName string, ...) (*http.Response, error)
- func (c *Client) ListDatabaseClusterRestores(ctx context.Context, namespace string, clusterName string, ...) (*http.Response, error)
- func (c *Client) ListDatabaseClusters(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDatabaseEngines(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListLoadBalancerConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMonitoringInstances(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPodSchedulingPolicy(ctx context.Context, params *ListPodSchedulingPolicyParams, ...) (*http.Response, error)
- func (c *Client) ListSplitHorizonDNSConfigs(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateBackupStorage(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) UpdateBackupStorageWithBody(ctx context.Context, namespace string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateDatabaseCluster(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) UpdateDatabaseClusterRestore(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) UpdateDatabaseClusterRestoreWithBody(ctx context.Context, namespace string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateDatabaseClusterWithBody(ctx context.Context, namespace string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateDatabaseEngine(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) UpdateDatabaseEngineWithBody(ctx context.Context, namespace string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateLoadBalancerConfig(ctx context.Context, configName string, ...) (*http.Response, error)
- func (c *Client) UpdateLoadBalancerConfigWithBody(ctx context.Context, configName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateMonitoringInstance(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) UpdateMonitoringInstanceWithBody(ctx context.Context, namespace string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdatePodSchedulingPolicy(ctx context.Context, policyName string, ...) (*http.Response, error)
- func (c *Client) UpdatePodSchedulingPolicyWithBody(ctx context.Context, policyName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSplitHorizonDNSConfig(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) UpdateSplitHorizonDNSConfigWithBody(ctx context.Context, namespace string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) VersionInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ApproveUpgradePlanWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*ApproveUpgradePlanResponse, error)
- func (c *ClientWithResponses) ApproveUpgradePlanWithResponse(ctx context.Context, namespace string, body ApproveUpgradePlanJSONRequestBody, ...) (*ApproveUpgradePlanResponse, error)
- func (c *ClientWithResponses) CreateBackupStorageWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*CreateBackupStorageResponse, error)
- func (c *ClientWithResponses) CreateBackupStorageWithResponse(ctx context.Context, namespace string, body CreateBackupStorageJSONRequestBody, ...) (*CreateBackupStorageResponse, error)
- func (c *ClientWithResponses) CreateDatabaseClusterBackupWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*CreateDatabaseClusterBackupResponse, error)
- func (c *ClientWithResponses) CreateDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, ...) (*CreateDatabaseClusterBackupResponse, error)
- func (c *ClientWithResponses) CreateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*CreateDatabaseClusterRestoreResponse, error)
- func (c *ClientWithResponses) CreateDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, ...) (*CreateDatabaseClusterRestoreResponse, error)
- func (c *ClientWithResponses) CreateDatabaseClusterSecretWithBodyWithResponse(ctx context.Context, namespace string, dbName string, ...) (*CreateDatabaseClusterSecretResponse, error)
- func (c *ClientWithResponses) CreateDatabaseClusterSecretWithResponse(ctx context.Context, namespace string, dbName string, ...) (*CreateDatabaseClusterSecretResponse, error)
- func (c *ClientWithResponses) CreateDatabaseClusterWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*CreateDatabaseClusterResponse, error)
- func (c *ClientWithResponses) CreateDatabaseClusterWithResponse(ctx context.Context, namespace string, ...) (*CreateDatabaseClusterResponse, error)
- func (c *ClientWithResponses) CreateLoadBalancerConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateLoadBalancerConfigResponse, error)
- func (c *ClientWithResponses) CreateLoadBalancerConfigWithResponse(ctx context.Context, body CreateLoadBalancerConfigJSONRequestBody, ...) (*CreateLoadBalancerConfigResponse, error)
- func (c *ClientWithResponses) CreateMonitoringInstanceWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*CreateMonitoringInstanceResponse, error)
- func (c *ClientWithResponses) CreateMonitoringInstanceWithResponse(ctx context.Context, namespace string, ...) (*CreateMonitoringInstanceResponse, error)
- func (c *ClientWithResponses) CreatePodSchedulingPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePodSchedulingPolicyResponse, error)
- func (c *ClientWithResponses) CreatePodSchedulingPolicyWithResponse(ctx context.Context, body CreatePodSchedulingPolicyJSONRequestBody, ...) (*CreatePodSchedulingPolicyResponse, error)
- func (c *ClientWithResponses) CreateSessionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSessionResponse, error)
- func (c *ClientWithResponses) CreateSessionWithResponse(ctx context.Context, body CreateSessionJSONRequestBody, ...) (*CreateSessionResponse, error)
- func (c *ClientWithResponses) CreateSplitHorizonDNSConfigWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, ...) (*CreateSplitHorizonDNSConfigResponse, error)
- func (c *ClientWithResponses) CreateSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, ...) (*CreateSplitHorizonDNSConfigResponse, error)
- func (c *ClientWithResponses) DeleteBackupStorageWithResponse(ctx context.Context, namespace string, name string, ...) (*DeleteBackupStorageResponse, error)
- func (c *ClientWithResponses) DeleteDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, name string, ...) (*DeleteDatabaseClusterBackupResponse, error)
- func (c *ClientWithResponses) DeleteDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, ...) (*DeleteDatabaseClusterRestoreResponse, error)
- func (c *ClientWithResponses) DeleteDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, ...) (*DeleteDatabaseClusterResponse, error)
- func (c *ClientWithResponses) DeleteLoadBalancerConfigWithResponse(ctx context.Context, configName string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerConfigResponse, error)
- func (c *ClientWithResponses) DeleteMonitoringInstanceWithResponse(ctx context.Context, namespace string, name string, ...) (*DeleteMonitoringInstanceResponse, error)
- func (c *ClientWithResponses) DeletePodSchedulingPolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*DeletePodSchedulingPolicyResponse, error)
- func (c *ClientWithResponses) DeleteSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSessionResponse, error)
- func (c *ClientWithResponses) DeleteSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, name string, ...) (*DeleteSplitHorizonDNSConfigResponse, error)
- func (c *ClientWithResponses) GetBackupStorageWithResponse(ctx context.Context, namespace string, name string, ...) (*GetBackupStorageResponse, error)
- func (c *ClientWithResponses) GetDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, name string, ...) (*GetDatabaseClusterBackupResponse, error)
- func (c *ClientWithResponses) GetDatabaseClusterComponentsWithResponse(ctx context.Context, namespace string, name string, ...) (*GetDatabaseClusterComponentsResponse, error)
- func (c *ClientWithResponses) GetDatabaseClusterCredentialsWithResponse(ctx context.Context, namespace string, name string, ...) (*GetDatabaseClusterCredentialsResponse, error)
- func (c *ClientWithResponses) GetDatabaseClusterPitrWithResponse(ctx context.Context, namespace string, name string, ...) (*GetDatabaseClusterPitrResponse, error)
- func (c *ClientWithResponses) GetDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, ...) (*GetDatabaseClusterRestoreResponse, error)
- func (c *ClientWithResponses) GetDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, ...) (*GetDatabaseClusterResponse, error)
- func (c *ClientWithResponses) GetDatabaseEngineWithResponse(ctx context.Context, namespace string, name string, ...) (*GetDatabaseEngineResponse, error)
- func (c *ClientWithResponses) GetKubernetesClusterInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKubernetesClusterInfoResponse, error)
- func (c *ClientWithResponses) GetKubernetesClusterResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKubernetesClusterResourcesResponse, error)
- func (c *ClientWithResponses) GetLoadBalancerConfigWithResponse(ctx context.Context, configName string, reqEditors ...RequestEditorFn) (*GetLoadBalancerConfigResponse, error)
- func (c *ClientWithResponses) GetMonitoringInstanceWithResponse(ctx context.Context, namespace string, name string, ...) (*GetMonitoringInstanceResponse, error)
- func (c *ClientWithResponses) GetPodSchedulingPolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*GetPodSchedulingPolicyResponse, error)
- func (c *ClientWithResponses) GetSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSettingsResponse, error)
- func (c *ClientWithResponses) GetSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, name string, ...) (*GetSplitHorizonDNSConfigResponse, error)
- func (c *ClientWithResponses) GetUpgradePlanWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*GetUpgradePlanResponse, error)
- func (c *ClientWithResponses) GetUserPermissionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserPermissionsResponse, error)
- func (c *ClientWithResponses) ListBackupStoragesWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListBackupStoragesResponse, error)
- func (c *ClientWithResponses) ListDataImportJobsWithResponse(ctx context.Context, namespace string, dbName string, ...) (*ListDataImportJobsResponse, error)
- func (c *ClientWithResponses) ListDataImportersWithResponse(ctx context.Context, params *ListDataImportersParams, ...) (*ListDataImportersResponse, error)
- func (c *ClientWithResponses) ListDatabaseClusterBackupsWithResponse(ctx context.Context, namespace string, clusterName string, ...) (*ListDatabaseClusterBackupsResponse, error)
- func (c *ClientWithResponses) ListDatabaseClusterRestoresWithResponse(ctx context.Context, namespace string, clusterName string, ...) (*ListDatabaseClusterRestoresResponse, error)
- func (c *ClientWithResponses) ListDatabaseClustersWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListDatabaseClustersResponse, error)
- func (c *ClientWithResponses) ListDatabaseEnginesWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListDatabaseEnginesResponse, error)
- func (c *ClientWithResponses) ListLoadBalancerConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLoadBalancerConfigResponse, error)
- func (c *ClientWithResponses) ListMonitoringInstancesWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListMonitoringInstancesResponse, error)
- func (c *ClientWithResponses) ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error)
- func (c *ClientWithResponses) ListPodSchedulingPolicyWithResponse(ctx context.Context, params *ListPodSchedulingPolicyParams, ...) (*ListPodSchedulingPolicyResponse, error)
- func (c *ClientWithResponses) ListSplitHorizonDNSConfigsWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListSplitHorizonDNSConfigsResponse, error)
- func (c *ClientWithResponses) UpdateBackupStorageWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, ...) (*UpdateBackupStorageResponse, error)
- func (c *ClientWithResponses) UpdateBackupStorageWithResponse(ctx context.Context, namespace string, name string, ...) (*UpdateBackupStorageResponse, error)
- func (c *ClientWithResponses) UpdateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, ...) (*UpdateDatabaseClusterRestoreResponse, error)
- func (c *ClientWithResponses) UpdateDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, ...) (*UpdateDatabaseClusterRestoreResponse, error)
- func (c *ClientWithResponses) UpdateDatabaseClusterWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, ...) (*UpdateDatabaseClusterResponse, error)
- func (c *ClientWithResponses) UpdateDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, ...) (*UpdateDatabaseClusterResponse, error)
- func (c *ClientWithResponses) UpdateDatabaseEngineWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, ...) (*UpdateDatabaseEngineResponse, error)
- func (c *ClientWithResponses) UpdateDatabaseEngineWithResponse(ctx context.Context, namespace string, name string, ...) (*UpdateDatabaseEngineResponse, error)
- func (c *ClientWithResponses) UpdateLoadBalancerConfigWithBodyWithResponse(ctx context.Context, configName string, contentType string, body io.Reader, ...) (*UpdateLoadBalancerConfigResponse, error)
- func (c *ClientWithResponses) UpdateLoadBalancerConfigWithResponse(ctx context.Context, configName string, ...) (*UpdateLoadBalancerConfigResponse, error)
- func (c *ClientWithResponses) UpdateMonitoringInstanceWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, ...) (*UpdateMonitoringInstanceResponse, error)
- func (c *ClientWithResponses) UpdateMonitoringInstanceWithResponse(ctx context.Context, namespace string, name string, ...) (*UpdateMonitoringInstanceResponse, error)
- func (c *ClientWithResponses) UpdatePodSchedulingPolicyWithBodyWithResponse(ctx context.Context, policyName string, contentType string, body io.Reader, ...) (*UpdatePodSchedulingPolicyResponse, error)
- func (c *ClientWithResponses) UpdatePodSchedulingPolicyWithResponse(ctx context.Context, policyName string, ...) (*UpdatePodSchedulingPolicyResponse, error)
- func (c *ClientWithResponses) UpdateSplitHorizonDNSConfigWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, ...) (*UpdateSplitHorizonDNSConfigResponse, error)
- func (c *ClientWithResponses) UpdateSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, name string, ...) (*UpdateSplitHorizonDNSConfigResponse, error)
- func (c *ClientWithResponses) VersionInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VersionInfoResponse, error)
- type ClientWithResponsesInterface
- type CreateBackupStorageJSONRequestBody
- type CreateBackupStorageParams
- type CreateBackupStorageParamsType
- type CreateBackupStorageResponse
- type CreateDatabaseClusterBackupJSONRequestBody
- type CreateDatabaseClusterBackupResponse
- type CreateDatabaseClusterJSONRequestBody
- type CreateDatabaseClusterResponse
- type CreateDatabaseClusterRestoreJSONRequestBody
- type CreateDatabaseClusterRestoreResponse
- type CreateDatabaseClusterSecretJSONRequestBody
- type CreateDatabaseClusterSecretParams
- type CreateDatabaseClusterSecretResponse
- type CreateLoadBalancerConfigJSONRequestBody
- type CreateLoadBalancerConfigResponse
- type CreateMonitoringInstanceJSONRequestBody
- type CreateMonitoringInstanceResponse
- type CreatePodSchedulingPolicyJSONRequestBody
- type CreatePodSchedulingPolicyResponse
- type CreateSessionJSONRequestBody
- type CreateSessionResponse
- type CreateSplitHorizonDNSConfigJSONRequestBody
- type CreateSplitHorizonDNSConfigResponse
- type DataImportJob
- type DataImportJobList
- type DataImporter
- type DataImporterList
- 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 DatabaseClusterStatusConditionsStatus
- 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 DeleteBackupStorageResponse
- type DeleteDatabaseClusterBackupParams
- type DeleteDatabaseClusterBackupResponse
- type DeleteDatabaseClusterParams
- type DeleteDatabaseClusterResponse
- type DeleteDatabaseClusterRestoreResponse
- type DeleteLoadBalancerConfigResponse
- type DeleteMonitoringInstanceResponse
- type DeletePodSchedulingPolicyResponse
- type DeleteSessionResponse
- type DeleteSplitHorizonDNSConfigResponse
- type Error
- type GetBackupStorageResponse
- type GetDatabaseClusterBackupResponse
- type GetDatabaseClusterComponentsResponse
- type GetDatabaseClusterCredentialsResponse
- type GetDatabaseClusterPitrResponse
- type GetDatabaseClusterResponse
- type GetDatabaseClusterRestoreResponse
- type GetDatabaseEngineResponse
- type GetKubernetesClusterInfoResponse
- type GetKubernetesClusterResourcesResponse
- type GetLoadBalancerConfigResponse
- type GetMonitoringInstanceResponse
- type GetPodSchedulingPolicyResponse
- type GetSettingsResponse
- type GetSplitHorizonDNSConfigResponse
- type GetUpgradePlanResponse
- type GetUserPermissionsResponse
- type HttpRequestDoer
- type IoK8sApimachineryPkgApisMetaV1ListMeta
- type IoK8sApimachineryPkgApisMetaV1StatusCause
- type IoK8sApimachineryPkgApisMetaV1StatusDetailsV2
- type IoK8sApimachineryPkgApisMetaV1StatusV2
- type KubernetesClusterInfo
- type KubernetesClusterResources
- type ListBackupStoragesResponse
- type ListDataImportJobsResponse
- type ListDataImportersParams
- type ListDataImportersResponse
- type ListDatabaseClusterBackupsResponse
- type ListDatabaseClusterRestoresResponse
- type ListDatabaseClustersResponse
- type ListDatabaseEnginesResponse
- type ListLoadBalancerConfigResponse
- type ListMonitoringInstancesResponse
- type ListNamespacesResponse
- type ListPodSchedulingPolicyParams
- type ListPodSchedulingPolicyParamsEngineType
- type ListPodSchedulingPolicyResponse
- type ListSplitHorizonDNSConfigsResponse
- type LoadBalancerConfig
- type LoadBalancerConfigList
- 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 PMMMonitoringInstanceSpec
- type PodSchedulingPolicy
- type PodSchedulingPolicyList
- type PodSchedulingPolicySpecEngineType
- type RequestEditorFn
- type ResourcesAvailable
- type ResourcesCapacity
- type Secret
- type Settings
- type SplitHorizonDNSConfig
- type SplitHorizonDNSConfigList
- type SplitHorizonDNSConfigUpdateParams
- type StorageClass
- type UpdateBackupStorageJSONRequestBody
- type UpdateBackupStorageParams
- type UpdateBackupStorageResponse
- type UpdateDatabaseClusterJSONRequestBody
- type UpdateDatabaseClusterResponse
- type UpdateDatabaseClusterRestoreJSONRequestBody
- type UpdateDatabaseClusterRestoreResponse
- type UpdateDatabaseEngineJSONRequestBody
- type UpdateDatabaseEngineResponse
- type UpdateLoadBalancerConfigJSONRequestBody
- type UpdateLoadBalancerConfigResponse
- type UpdateMonitoringInstanceJSONRequestBody
- type UpdateMonitoringInstanceResponse
- type UpdatePodSchedulingPolicyJSONRequestBody
- type UpdatePodSchedulingPolicyResponse
- type UpdateSplitHorizonDNSConfigJSONRequestBody
- type UpdateSplitHorizonDNSConfigResponse
- type Upgrade
- type UpgradePlan
- type UpgradePlanApproval
- type UpgradeTask
- type UpgradeTaskPendingTask
- type UserCredentials
- type UserPermissions
- type Version
- type VersionInfoResponse
Constants ¶
const (
BearerAuthScopes = "BearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
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 NewApproveUpgradePlanRequest ¶ added in v1.1.0
func NewApproveUpgradePlanRequest(server string, namespace string, body ApproveUpgradePlanJSONRequestBody) (*http.Request, error)
NewApproveUpgradePlanRequest calls the generic ApproveUpgradePlan builder with application/json body
func NewApproveUpgradePlanRequestWithBody ¶ added in v1.1.0
func NewApproveUpgradePlanRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
NewApproveUpgradePlanRequestWithBody generates requests for ApproveUpgradePlan with any type of body
func NewCreateBackupStorageRequest ¶
func NewCreateBackupStorageRequest(server string, namespace string, body CreateBackupStorageJSONRequestBody) (*http.Request, error)
NewCreateBackupStorageRequest calls the generic CreateBackupStorage builder with application/json body
func NewCreateBackupStorageRequestWithBody ¶
func NewCreateBackupStorageRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
NewCreateBackupStorageRequestWithBody generates requests for CreateBackupStorage with any type of body
func NewCreateDatabaseClusterBackupRequest ¶
func NewCreateDatabaseClusterBackupRequest(server string, namespace string, body CreateDatabaseClusterBackupJSONRequestBody) (*http.Request, error)
NewCreateDatabaseClusterBackupRequest calls the generic CreateDatabaseClusterBackup builder with application/json body
func NewCreateDatabaseClusterBackupRequestWithBody ¶
func NewCreateDatabaseClusterBackupRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDatabaseClusterBackupRequestWithBody generates requests for CreateDatabaseClusterBackup with any type of body
func NewCreateDatabaseClusterRequest ¶
func NewCreateDatabaseClusterRequest(server string, namespace string, body CreateDatabaseClusterJSONRequestBody) (*http.Request, error)
NewCreateDatabaseClusterRequest calls the generic CreateDatabaseCluster builder with application/json body
func NewCreateDatabaseClusterRequestWithBody ¶
func NewCreateDatabaseClusterRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDatabaseClusterRequestWithBody generates requests for CreateDatabaseCluster with any type of body
func NewCreateDatabaseClusterRestoreRequest ¶
func NewCreateDatabaseClusterRestoreRequest(server string, namespace string, body CreateDatabaseClusterRestoreJSONRequestBody) (*http.Request, error)
NewCreateDatabaseClusterRestoreRequest calls the generic CreateDatabaseClusterRestore builder with application/json body
func NewCreateDatabaseClusterRestoreRequestWithBody ¶
func NewCreateDatabaseClusterRestoreRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDatabaseClusterRestoreRequestWithBody generates requests for CreateDatabaseClusterRestore with any type of body
func NewCreateDatabaseClusterSecretRequest ¶ added in v1.8.0
func NewCreateDatabaseClusterSecretRequest(server string, namespace string, dbName string, params *CreateDatabaseClusterSecretParams, body CreateDatabaseClusterSecretJSONRequestBody) (*http.Request, error)
NewCreateDatabaseClusterSecretRequest calls the generic CreateDatabaseClusterSecret builder with application/json body
func NewCreateDatabaseClusterSecretRequestWithBody ¶ added in v1.8.0
func NewCreateDatabaseClusterSecretRequestWithBody(server string, namespace string, dbName string, params *CreateDatabaseClusterSecretParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateDatabaseClusterSecretRequestWithBody generates requests for CreateDatabaseClusterSecret with any type of body
func NewCreateLoadBalancerConfigRequest ¶ added in v1.9.0
func NewCreateLoadBalancerConfigRequest(server string, body CreateLoadBalancerConfigJSONRequestBody) (*http.Request, error)
NewCreateLoadBalancerConfigRequest calls the generic CreateLoadBalancerConfig builder with application/json body
func NewCreateLoadBalancerConfigRequestWithBody ¶ added in v1.9.0
func NewCreateLoadBalancerConfigRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateLoadBalancerConfigRequestWithBody generates requests for CreateLoadBalancerConfig with any type of body
func NewCreateMonitoringInstanceRequest ¶
func NewCreateMonitoringInstanceRequest(server string, namespace string, body CreateMonitoringInstanceJSONRequestBody) (*http.Request, error)
NewCreateMonitoringInstanceRequest calls the generic CreateMonitoringInstance builder with application/json body
func NewCreateMonitoringInstanceRequestWithBody ¶
func NewCreateMonitoringInstanceRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMonitoringInstanceRequestWithBody generates requests for CreateMonitoringInstance with any type of body
func NewCreatePodSchedulingPolicyRequest ¶ added in v1.7.0
func NewCreatePodSchedulingPolicyRequest(server string, body CreatePodSchedulingPolicyJSONRequestBody) (*http.Request, error)
NewCreatePodSchedulingPolicyRequest calls the generic CreatePodSchedulingPolicy builder with application/json body
func NewCreatePodSchedulingPolicyRequestWithBody ¶ added in v1.7.0
func NewCreatePodSchedulingPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePodSchedulingPolicyRequestWithBody generates requests for CreatePodSchedulingPolicy with any type of body
func NewCreateSessionRequest ¶ added in v1.0.0
func NewCreateSessionRequest(server string, body CreateSessionJSONRequestBody) (*http.Request, error)
NewCreateSessionRequest calls the generic CreateSession builder with application/json body
func NewCreateSessionRequestWithBody ¶ added in v1.0.0
func NewCreateSessionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSessionRequestWithBody generates requests for CreateSession with any type of body
func NewCreateSplitHorizonDNSConfigRequest ¶ added in v1.10.0
func NewCreateSplitHorizonDNSConfigRequest(server string, namespace string, body CreateSplitHorizonDNSConfigJSONRequestBody) (*http.Request, error)
NewCreateSplitHorizonDNSConfigRequest calls the generic CreateSplitHorizonDNSConfig builder with application/json body
func NewCreateSplitHorizonDNSConfigRequestWithBody ¶ added in v1.10.0
func NewCreateSplitHorizonDNSConfigRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSplitHorizonDNSConfigRequestWithBody generates requests for CreateSplitHorizonDNSConfig with any type of body
func NewDeleteBackupStorageRequest ¶
func NewDeleteBackupStorageRequest(server string, namespace string, name string) (*http.Request, error)
NewDeleteBackupStorageRequest generates requests for DeleteBackupStorage
func NewDeleteDatabaseClusterBackupRequest ¶
func NewDeleteDatabaseClusterBackupRequest(server string, namespace string, name string, params *DeleteDatabaseClusterBackupParams) (*http.Request, error)
NewDeleteDatabaseClusterBackupRequest generates requests for DeleteDatabaseClusterBackup
func NewDeleteDatabaseClusterRequest ¶
func NewDeleteDatabaseClusterRequest(server string, namespace string, name string, params *DeleteDatabaseClusterParams) (*http.Request, error)
NewDeleteDatabaseClusterRequest generates requests for DeleteDatabaseCluster
func NewDeleteDatabaseClusterRestoreRequest ¶
func NewDeleteDatabaseClusterRestoreRequest(server string, namespace string, name string) (*http.Request, error)
NewDeleteDatabaseClusterRestoreRequest generates requests for DeleteDatabaseClusterRestore
func NewDeleteLoadBalancerConfigRequest ¶ added in v1.9.0
NewDeleteLoadBalancerConfigRequest generates requests for DeleteLoadBalancerConfig
func NewDeleteMonitoringInstanceRequest ¶
func NewDeleteMonitoringInstanceRequest(server string, namespace string, name string) (*http.Request, error)
NewDeleteMonitoringInstanceRequest generates requests for DeleteMonitoringInstance
func NewDeletePodSchedulingPolicyRequest ¶ added in v1.7.0
NewDeletePodSchedulingPolicyRequest generates requests for DeletePodSchedulingPolicy
func NewDeleteSessionRequest ¶ added in v1.7.0
NewDeleteSessionRequest generates requests for DeleteSession
func NewDeleteSplitHorizonDNSConfigRequest ¶ added in v1.10.0
func NewDeleteSplitHorizonDNSConfigRequest(server string, namespace string, name string) (*http.Request, error)
NewDeleteSplitHorizonDNSConfigRequest generates requests for DeleteSplitHorizonDNSConfig
func NewGetBackupStorageRequest ¶
func NewGetBackupStorageRequest(server string, namespace string, name string) (*http.Request, error)
NewGetBackupStorageRequest generates requests for GetBackupStorage
func NewGetDatabaseClusterBackupRequest ¶
func NewGetDatabaseClusterBackupRequest(server string, namespace string, name string) (*http.Request, error)
NewGetDatabaseClusterBackupRequest generates requests for GetDatabaseClusterBackup
func NewGetDatabaseClusterComponentsRequest ¶ added in v1.0.0
func NewGetDatabaseClusterComponentsRequest(server string, namespace string, name string) (*http.Request, error)
NewGetDatabaseClusterComponentsRequest generates requests for GetDatabaseClusterComponents
func NewGetDatabaseClusterCredentialsRequest ¶
func NewGetDatabaseClusterCredentialsRequest(server string, namespace string, name string) (*http.Request, error)
NewGetDatabaseClusterCredentialsRequest generates requests for GetDatabaseClusterCredentials
func NewGetDatabaseClusterPitrRequest ¶
func NewGetDatabaseClusterPitrRequest(server string, namespace string, name string) (*http.Request, error)
NewGetDatabaseClusterPitrRequest generates requests for GetDatabaseClusterPitr
func NewGetDatabaseClusterRequest ¶
func NewGetDatabaseClusterRequest(server string, namespace string, name string) (*http.Request, error)
NewGetDatabaseClusterRequest generates requests for GetDatabaseCluster
func NewGetDatabaseClusterRestoreRequest ¶
func NewGetDatabaseClusterRestoreRequest(server string, namespace string, name string) (*http.Request, error)
NewGetDatabaseClusterRestoreRequest generates requests for GetDatabaseClusterRestore
func NewGetDatabaseEngineRequest ¶
func NewGetDatabaseEngineRequest(server string, namespace string, name string) (*http.Request, error)
NewGetDatabaseEngineRequest generates requests for GetDatabaseEngine
func NewGetKubernetesClusterInfoRequest ¶
NewGetKubernetesClusterInfoRequest generates requests for GetKubernetesClusterInfo
func NewGetKubernetesClusterResourcesRequest ¶
NewGetKubernetesClusterResourcesRequest generates requests for GetKubernetesClusterResources
func NewGetLoadBalancerConfigRequest ¶ added in v1.9.0
NewGetLoadBalancerConfigRequest generates requests for GetLoadBalancerConfig
func NewGetMonitoringInstanceRequest ¶
func NewGetMonitoringInstanceRequest(server string, namespace string, name string) (*http.Request, error)
NewGetMonitoringInstanceRequest generates requests for GetMonitoringInstance
func NewGetPodSchedulingPolicyRequest ¶ added in v1.7.0
NewGetPodSchedulingPolicyRequest generates requests for GetPodSchedulingPolicy
func NewGetSettingsRequest ¶ added in v1.0.0
NewGetSettingsRequest generates requests for GetSettings
func NewGetSplitHorizonDNSConfigRequest ¶ added in v1.10.0
func NewGetSplitHorizonDNSConfigRequest(server string, namespace string, name string) (*http.Request, error)
NewGetSplitHorizonDNSConfigRequest generates requests for GetSplitHorizonDNSConfig
func NewGetUpgradePlanRequest ¶ added in v1.1.0
NewGetUpgradePlanRequest generates requests for GetUpgradePlan
func NewGetUserPermissionsRequest ¶ added in v1.2.0
NewGetUserPermissionsRequest generates requests for GetUserPermissions
func NewListBackupStoragesRequest ¶
NewListBackupStoragesRequest generates requests for ListBackupStorages
func NewListDataImportJobsRequest ¶ added in v1.8.0
func NewListDataImportJobsRequest(server string, namespace string, dbName string) (*http.Request, error)
NewListDataImportJobsRequest generates requests for ListDataImportJobs
func NewListDataImportersRequest ¶ added in v1.8.0
func NewListDataImportersRequest(server string, params *ListDataImportersParams) (*http.Request, error)
NewListDataImportersRequest generates requests for ListDataImporters
func NewListDatabaseClusterBackupsRequest ¶
func NewListDatabaseClusterBackupsRequest(server string, namespace string, clusterName string) (*http.Request, error)
NewListDatabaseClusterBackupsRequest generates requests for ListDatabaseClusterBackups
func NewListDatabaseClusterRestoresRequest ¶
func NewListDatabaseClusterRestoresRequest(server string, namespace string, clusterName string) (*http.Request, error)
NewListDatabaseClusterRestoresRequest generates requests for ListDatabaseClusterRestores
func NewListDatabaseClustersRequest ¶
NewListDatabaseClustersRequest generates requests for ListDatabaseClusters
func NewListDatabaseEnginesRequest ¶
NewListDatabaseEnginesRequest generates requests for ListDatabaseEngines
func NewListLoadBalancerConfigRequest ¶ added in v1.9.0
NewListLoadBalancerConfigRequest generates requests for ListLoadBalancerConfig
func NewListMonitoringInstancesRequest ¶
NewListMonitoringInstancesRequest generates requests for ListMonitoringInstances
func NewListNamespacesRequest ¶
NewListNamespacesRequest generates requests for ListNamespaces
func NewListPodSchedulingPolicyRequest ¶ added in v1.7.0
func NewListPodSchedulingPolicyRequest(server string, params *ListPodSchedulingPolicyParams) (*http.Request, error)
NewListPodSchedulingPolicyRequest generates requests for ListPodSchedulingPolicy
func NewListSplitHorizonDNSConfigsRequest ¶ added in v1.10.0
NewListSplitHorizonDNSConfigsRequest generates requests for ListSplitHorizonDNSConfigs
func NewUpdateBackupStorageRequest ¶
func NewUpdateBackupStorageRequest(server string, namespace string, name string, body UpdateBackupStorageJSONRequestBody) (*http.Request, error)
NewUpdateBackupStorageRequest calls the generic UpdateBackupStorage builder with application/json body
func NewUpdateBackupStorageRequestWithBody ¶
func NewUpdateBackupStorageRequestWithBody(server string, namespace string, name string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateBackupStorageRequestWithBody generates requests for UpdateBackupStorage with any type of body
func NewUpdateDatabaseClusterRequest ¶
func NewUpdateDatabaseClusterRequest(server string, namespace string, name string, body UpdateDatabaseClusterJSONRequestBody) (*http.Request, error)
NewUpdateDatabaseClusterRequest calls the generic UpdateDatabaseCluster builder with application/json body
func NewUpdateDatabaseClusterRequestWithBody ¶
func NewUpdateDatabaseClusterRequestWithBody(server string, namespace string, name string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDatabaseClusterRequestWithBody generates requests for UpdateDatabaseCluster with any type of body
func NewUpdateDatabaseClusterRestoreRequest ¶
func NewUpdateDatabaseClusterRestoreRequest(server string, namespace string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody) (*http.Request, error)
NewUpdateDatabaseClusterRestoreRequest calls the generic UpdateDatabaseClusterRestore builder with application/json body
func NewUpdateDatabaseClusterRestoreRequestWithBody ¶
func NewUpdateDatabaseClusterRestoreRequestWithBody(server string, namespace string, name string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDatabaseClusterRestoreRequestWithBody generates requests for UpdateDatabaseClusterRestore with any type of body
func NewUpdateDatabaseEngineRequest ¶
func NewUpdateDatabaseEngineRequest(server string, namespace string, name string, body UpdateDatabaseEngineJSONRequestBody) (*http.Request, error)
NewUpdateDatabaseEngineRequest calls the generic UpdateDatabaseEngine builder with application/json body
func NewUpdateDatabaseEngineRequestWithBody ¶
func NewUpdateDatabaseEngineRequestWithBody(server string, namespace string, name string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDatabaseEngineRequestWithBody generates requests for UpdateDatabaseEngine with any type of body
func NewUpdateLoadBalancerConfigRequest ¶ added in v1.9.0
func NewUpdateLoadBalancerConfigRequest(server string, configName string, body UpdateLoadBalancerConfigJSONRequestBody) (*http.Request, error)
NewUpdateLoadBalancerConfigRequest calls the generic UpdateLoadBalancerConfig builder with application/json body
func NewUpdateLoadBalancerConfigRequestWithBody ¶ added in v1.9.0
func NewUpdateLoadBalancerConfigRequestWithBody(server string, configName string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateLoadBalancerConfigRequestWithBody generates requests for UpdateLoadBalancerConfig with any type of body
func NewUpdateMonitoringInstanceRequest ¶
func NewUpdateMonitoringInstanceRequest(server string, namespace string, name string, body UpdateMonitoringInstanceJSONRequestBody) (*http.Request, error)
NewUpdateMonitoringInstanceRequest calls the generic UpdateMonitoringInstance builder with application/json body
func NewUpdateMonitoringInstanceRequestWithBody ¶
func NewUpdateMonitoringInstanceRequestWithBody(server string, namespace string, name string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMonitoringInstanceRequestWithBody generates requests for UpdateMonitoringInstance with any type of body
func NewUpdatePodSchedulingPolicyRequest ¶ added in v1.7.0
func NewUpdatePodSchedulingPolicyRequest(server string, policyName string, body UpdatePodSchedulingPolicyJSONRequestBody) (*http.Request, error)
NewUpdatePodSchedulingPolicyRequest calls the generic UpdatePodSchedulingPolicy builder with application/json body
func NewUpdatePodSchedulingPolicyRequestWithBody ¶ added in v1.7.0
func NewUpdatePodSchedulingPolicyRequestWithBody(server string, policyName string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePodSchedulingPolicyRequestWithBody generates requests for UpdatePodSchedulingPolicy with any type of body
func NewUpdateSplitHorizonDNSConfigRequest ¶ added in v1.10.0
func NewUpdateSplitHorizonDNSConfigRequest(server string, namespace string, name string, body UpdateSplitHorizonDNSConfigJSONRequestBody) (*http.Request, error)
NewUpdateSplitHorizonDNSConfigRequest calls the generic UpdateSplitHorizonDNSConfig builder with application/json body
func NewUpdateSplitHorizonDNSConfigRequestWithBody ¶ added in v1.10.0
func NewUpdateSplitHorizonDNSConfigRequestWithBody(server string, namespace string, name string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSplitHorizonDNSConfigRequestWithBody generates requests for UpdateSplitHorizonDNSConfig with any type of body
func NewVersionInfoRequest ¶
NewVersionInfoRequest generates requests for VersionInfo
Types ¶
type ApproveUpgradePlanJSONRequestBody ¶ added in v1.1.0
type ApproveUpgradePlanJSONRequestBody = UpgradePlanApproval
ApproveUpgradePlanJSONRequestBody defines body for ApproveUpgradePlan for application/json ContentType.
type ApproveUpgradePlanResponse ¶ added in v1.1.0
type ApproveUpgradePlanResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *Error
JSON500 *Error
}
func ParseApproveUpgradePlanResponse ¶ added in v1.1.0
func ParseApproveUpgradePlanResponse(rsp *http.Response) (*ApproveUpgradePlanResponse, error)
ParseApproveUpgradePlanResponse parses an HTTP response from a ApproveUpgradePlanWithResponse call
func (ApproveUpgradePlanResponse) Status ¶ added in v1.1.0
func (r ApproveUpgradePlanResponse) Status() string
Status returns HTTPResponse.Status
func (ApproveUpgradePlanResponse) StatusCode ¶ added in v1.1.0
func (r ApproveUpgradePlanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BackupStorage ¶
type BackupStorage struct {
// AllowedNamespaces List of namespaces allowed to use this backup storage
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AllowedNamespaces *[]string `json:"allowedNamespaces,omitempty"`
BucketName string `json:"bucketName"`
Description *string `json:"description,omitempty"`
ForcePathStyle *bool `json:"forcePathStyle,omitempty"`
Name string `json:"name"`
Namespace string `json:"namespace,omitempty"`
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 Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) ApproveUpgradePlan ¶ added in v1.1.0
func (c *Client) ApproveUpgradePlan(ctx context.Context, namespace string, body ApproveUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApproveUpgradePlanWithBody ¶ added in v1.1.0
func (*Client) CreateBackupStorage ¶
func (c *Client) CreateBackupStorage(ctx context.Context, namespace string, body CreateBackupStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBackupStorageWithBody ¶
func (*Client) CreateDatabaseCluster ¶
func (c *Client) CreateDatabaseCluster(ctx context.Context, namespace string, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDatabaseClusterBackup ¶
func (c *Client) CreateDatabaseClusterBackup(ctx context.Context, namespace string, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDatabaseClusterBackupWithBody ¶
func (*Client) CreateDatabaseClusterRestore ¶
func (c *Client) CreateDatabaseClusterRestore(ctx context.Context, namespace string, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDatabaseClusterRestoreWithBody ¶
func (*Client) CreateDatabaseClusterSecret ¶ added in v1.8.0
func (c *Client) CreateDatabaseClusterSecret(ctx context.Context, namespace string, dbName string, params *CreateDatabaseClusterSecretParams, body CreateDatabaseClusterSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDatabaseClusterSecretWithBody ¶ added in v1.8.0
func (*Client) CreateDatabaseClusterWithBody ¶
func (*Client) CreateLoadBalancerConfig ¶ added in v1.9.0
func (c *Client) CreateLoadBalancerConfig(ctx context.Context, body CreateLoadBalancerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateLoadBalancerConfigWithBody ¶ added in v1.9.0
func (*Client) CreateMonitoringInstance ¶
func (c *Client) CreateMonitoringInstance(ctx context.Context, namespace string, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMonitoringInstanceWithBody ¶
func (*Client) CreatePodSchedulingPolicy ¶ added in v1.7.0
func (c *Client) CreatePodSchedulingPolicy(ctx context.Context, body CreatePodSchedulingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePodSchedulingPolicyWithBody ¶ added in v1.7.0
func (*Client) CreateSession ¶ added in v1.0.0
func (c *Client) CreateSession(ctx context.Context, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSessionWithBody ¶ added in v1.0.0
func (*Client) CreateSplitHorizonDNSConfig ¶ added in v1.10.0
func (c *Client) CreateSplitHorizonDNSConfig(ctx context.Context, namespace string, body CreateSplitHorizonDNSConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSplitHorizonDNSConfigWithBody ¶ added in v1.10.0
func (*Client) DeleteBackupStorage ¶
func (*Client) DeleteDatabaseCluster ¶
func (c *Client) DeleteDatabaseCluster(ctx context.Context, namespace string, name string, params *DeleteDatabaseClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteDatabaseClusterBackup ¶
func (c *Client) DeleteDatabaseClusterBackup(ctx context.Context, namespace string, name string, params *DeleteDatabaseClusterBackupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteDatabaseClusterRestore ¶
func (*Client) DeleteLoadBalancerConfig ¶ added in v1.9.0
func (*Client) DeleteMonitoringInstance ¶
func (*Client) DeletePodSchedulingPolicy ¶ added in v1.7.0
func (*Client) DeleteSession ¶ added in v1.7.0
func (*Client) DeleteSplitHorizonDNSConfig ¶ added in v1.10.0
func (*Client) GetBackupStorage ¶
func (*Client) GetDatabaseCluster ¶
func (*Client) GetDatabaseClusterBackup ¶
func (*Client) GetDatabaseClusterComponents ¶ added in v1.0.0
func (*Client) GetDatabaseClusterCredentials ¶
func (*Client) GetDatabaseClusterPitr ¶
func (*Client) GetDatabaseClusterRestore ¶
func (*Client) GetDatabaseEngine ¶
func (*Client) GetKubernetesClusterInfo ¶
func (*Client) GetKubernetesClusterResources ¶
func (*Client) GetLoadBalancerConfig ¶ added in v1.9.0
func (*Client) GetMonitoringInstance ¶
func (*Client) GetPodSchedulingPolicy ¶ added in v1.7.0
func (*Client) GetSettings ¶ added in v1.0.0
func (*Client) GetSplitHorizonDNSConfig ¶ added in v1.10.0
func (*Client) GetUpgradePlan ¶ added in v1.1.0
func (*Client) GetUserPermissions ¶ added in v1.2.0
func (*Client) ListBackupStorages ¶
func (*Client) ListDataImportJobs ¶ added in v1.8.0
func (*Client) ListDataImporters ¶ added in v1.8.0
func (c *Client) ListDataImporters(ctx context.Context, params *ListDataImportersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDatabaseClusterBackups ¶
func (*Client) ListDatabaseClusterRestores ¶
func (*Client) ListDatabaseClusters ¶
func (*Client) ListDatabaseEngines ¶
func (*Client) ListLoadBalancerConfig ¶ added in v1.9.0
func (*Client) ListMonitoringInstances ¶
func (*Client) ListNamespaces ¶
func (*Client) ListPodSchedulingPolicy ¶ added in v1.7.0
func (c *Client) ListPodSchedulingPolicy(ctx context.Context, params *ListPodSchedulingPolicyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSplitHorizonDNSConfigs ¶ added in v1.10.0
func (*Client) UpdateBackupStorage ¶
func (c *Client) UpdateBackupStorage(ctx context.Context, namespace string, name string, body UpdateBackupStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateBackupStorageWithBody ¶
func (*Client) UpdateDatabaseCluster ¶
func (c *Client) UpdateDatabaseCluster(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDatabaseClusterRestore ¶
func (c *Client) UpdateDatabaseClusterRestore(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDatabaseClusterRestoreWithBody ¶
func (*Client) UpdateDatabaseClusterWithBody ¶
func (*Client) UpdateDatabaseEngine ¶
func (c *Client) UpdateDatabaseEngine(ctx context.Context, namespace string, name string, body UpdateDatabaseEngineJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDatabaseEngineWithBody ¶
func (*Client) UpdateLoadBalancerConfig ¶ added in v1.9.0
func (c *Client) UpdateLoadBalancerConfig(ctx context.Context, configName string, body UpdateLoadBalancerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateLoadBalancerConfigWithBody ¶ added in v1.9.0
func (*Client) UpdateMonitoringInstance ¶
func (c *Client) UpdateMonitoringInstance(ctx context.Context, namespace string, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateMonitoringInstanceWithBody ¶
func (*Client) UpdatePodSchedulingPolicy ¶ added in v1.7.0
func (c *Client) UpdatePodSchedulingPolicy(ctx context.Context, policyName string, body UpdatePodSchedulingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePodSchedulingPolicyWithBody ¶ added in v1.7.0
func (*Client) UpdateSplitHorizonDNSConfig ¶ added in v1.10.0
func (c *Client) UpdateSplitHorizonDNSConfig(ctx context.Context, namespace string, name string, body UpdateSplitHorizonDNSConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSplitHorizonDNSConfigWithBody ¶ added in v1.10.0
func (*Client) VersionInfo ¶
type ClientInterface ¶
type ClientInterface interface {
// GetKubernetesClusterInfo request
GetKubernetesClusterInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDataImporters request
ListDataImporters(ctx context.Context, params *ListDataImportersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListLoadBalancerConfig request
ListLoadBalancerConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateLoadBalancerConfigWithBody request with any body
CreateLoadBalancerConfigWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateLoadBalancerConfig(ctx context.Context, body CreateLoadBalancerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteLoadBalancerConfig request
DeleteLoadBalancerConfig(ctx context.Context, configName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLoadBalancerConfig request
GetLoadBalancerConfig(ctx context.Context, configName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateLoadBalancerConfigWithBody request with any body
UpdateLoadBalancerConfigWithBody(ctx context.Context, configName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateLoadBalancerConfig(ctx context.Context, configName string, body UpdateLoadBalancerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListNamespaces request
ListNamespaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBackupStorages request
ListBackupStorages(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBackupStorageWithBody request with any body
CreateBackupStorageWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBackupStorage(ctx context.Context, namespace string, body CreateBackupStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBackupStorage request
DeleteBackupStorage(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackupStorage request
GetBackupStorage(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBackupStorageWithBody request with any body
UpdateBackupStorageWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBackupStorage(ctx context.Context, namespace string, name string, body UpdateBackupStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatabaseClusterBackupWithBody request with any body
CreateDatabaseClusterBackupWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatabaseClusterBackup(ctx context.Context, namespace string, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDatabaseClusterBackup request
DeleteDatabaseClusterBackup(ctx context.Context, namespace string, name string, params *DeleteDatabaseClusterBackupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseClusterBackup request
GetDatabaseClusterBackup(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatabaseClusterRestoreWithBody request with any body
CreateDatabaseClusterRestoreWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatabaseClusterRestore(ctx context.Context, namespace string, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDatabaseClusterRestore request
DeleteDatabaseClusterRestore(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseClusterRestore request
GetDatabaseClusterRestore(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatabaseClusterRestoreWithBody request with any body
UpdateDatabaseClusterRestoreWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDatabaseClusterRestore(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabaseClusters request
ListDatabaseClusters(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatabaseClusterWithBody request with any body
CreateDatabaseClusterWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatabaseCluster(ctx context.Context, namespace string, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabaseClusterBackups request
ListDatabaseClusterBackups(ctx context.Context, namespace string, clusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabaseClusterRestores request
ListDatabaseClusterRestores(ctx context.Context, namespace string, clusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDataImportJobs request
ListDataImportJobs(ctx context.Context, namespace string, dbName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatabaseClusterSecretWithBody request with any body
CreateDatabaseClusterSecretWithBody(ctx context.Context, namespace string, dbName string, params *CreateDatabaseClusterSecretParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatabaseClusterSecret(ctx context.Context, namespace string, dbName string, params *CreateDatabaseClusterSecretParams, body CreateDatabaseClusterSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDatabaseCluster request
DeleteDatabaseCluster(ctx context.Context, namespace string, name string, params *DeleteDatabaseClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseCluster request
GetDatabaseCluster(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatabaseClusterWithBody request with any body
UpdateDatabaseClusterWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDatabaseCluster(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseClusterComponents request
GetDatabaseClusterComponents(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseClusterCredentials request
GetDatabaseClusterCredentials(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseClusterPitr request
GetDatabaseClusterPitr(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabaseEngines request
ListDatabaseEngines(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUpgradePlan request
GetUpgradePlan(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApproveUpgradePlanWithBody request with any body
ApproveUpgradePlanWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ApproveUpgradePlan(ctx context.Context, namespace string, body ApproveUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseEngine request
GetDatabaseEngine(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatabaseEngineWithBody request with any body
UpdateDatabaseEngineWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDatabaseEngine(ctx context.Context, namespace string, name string, body UpdateDatabaseEngineJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSplitHorizonDNSConfigs request
ListSplitHorizonDNSConfigs(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSplitHorizonDNSConfigWithBody request with any body
CreateSplitHorizonDNSConfigWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSplitHorizonDNSConfig(ctx context.Context, namespace string, body CreateSplitHorizonDNSConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSplitHorizonDNSConfig request
DeleteSplitHorizonDNSConfig(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSplitHorizonDNSConfig request
GetSplitHorizonDNSConfig(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSplitHorizonDNSConfigWithBody request with any body
UpdateSplitHorizonDNSConfigWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSplitHorizonDNSConfig(ctx context.Context, namespace string, name string, body UpdateSplitHorizonDNSConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMonitoringInstances request
ListMonitoringInstances(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMonitoringInstanceWithBody request with any body
CreateMonitoringInstanceWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMonitoringInstance(ctx context.Context, namespace string, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMonitoringInstance request
DeleteMonitoringInstance(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMonitoringInstance request
GetMonitoringInstance(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMonitoringInstanceWithBody request with any body
UpdateMonitoringInstanceWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMonitoringInstance(ctx context.Context, namespace string, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUserPermissions request
GetUserPermissions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPodSchedulingPolicy request
ListPodSchedulingPolicy(ctx context.Context, params *ListPodSchedulingPolicyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePodSchedulingPolicyWithBody request with any body
CreatePodSchedulingPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePodSchedulingPolicy(ctx context.Context, body CreatePodSchedulingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePodSchedulingPolicy request
DeletePodSchedulingPolicy(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPodSchedulingPolicy request
GetPodSchedulingPolicy(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePodSchedulingPolicyWithBody request with any body
UpdatePodSchedulingPolicyWithBody(ctx context.Context, policyName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePodSchedulingPolicy(ctx context.Context, policyName string, body UpdatePodSchedulingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetKubernetesClusterResources request
GetKubernetesClusterResources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSession request
DeleteSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSessionWithBody request with any body
CreateSessionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSession(ctx context.Context, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSettings request
GetSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// VersionInfo request
VersionInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ApproveUpgradePlanWithBodyWithResponse ¶ added in v1.1.0
func (c *ClientWithResponses) ApproveUpgradePlanWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveUpgradePlanResponse, error)
ApproveUpgradePlanWithBodyWithResponse request with arbitrary body returning *ApproveUpgradePlanResponse
func (*ClientWithResponses) ApproveUpgradePlanWithResponse ¶ added in v1.1.0
func (c *ClientWithResponses) ApproveUpgradePlanWithResponse(ctx context.Context, namespace string, body ApproveUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveUpgradePlanResponse, error)
func (*ClientWithResponses) CreateBackupStorageWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBackupStorageWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBackupStorageResponse, error)
CreateBackupStorageWithBodyWithResponse request with arbitrary body returning *CreateBackupStorageResponse
func (*ClientWithResponses) CreateBackupStorageWithResponse ¶
func (c *ClientWithResponses) CreateBackupStorageWithResponse(ctx context.Context, namespace string, body CreateBackupStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBackupStorageResponse, error)
func (*ClientWithResponses) CreateDatabaseClusterBackupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDatabaseClusterBackupWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error)
CreateDatabaseClusterBackupWithBodyWithResponse request with arbitrary body returning *CreateDatabaseClusterBackupResponse
func (*ClientWithResponses) CreateDatabaseClusterBackupWithResponse ¶
func (c *ClientWithResponses) CreateDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error)
func (*ClientWithResponses) CreateDatabaseClusterRestoreWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error)
CreateDatabaseClusterRestoreWithBodyWithResponse request with arbitrary body returning *CreateDatabaseClusterRestoreResponse
func (*ClientWithResponses) CreateDatabaseClusterRestoreWithResponse ¶
func (c *ClientWithResponses) CreateDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error)
func (*ClientWithResponses) CreateDatabaseClusterSecretWithBodyWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) CreateDatabaseClusterSecretWithBodyWithResponse(ctx context.Context, namespace string, dbName string, params *CreateDatabaseClusterSecretParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterSecretResponse, error)
CreateDatabaseClusterSecretWithBodyWithResponse request with arbitrary body returning *CreateDatabaseClusterSecretResponse
func (*ClientWithResponses) CreateDatabaseClusterSecretWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) CreateDatabaseClusterSecretWithResponse(ctx context.Context, namespace string, dbName string, params *CreateDatabaseClusterSecretParams, body CreateDatabaseClusterSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterSecretResponse, error)
func (*ClientWithResponses) CreateDatabaseClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDatabaseClusterWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error)
CreateDatabaseClusterWithBodyWithResponse request with arbitrary body returning *CreateDatabaseClusterResponse
func (*ClientWithResponses) CreateDatabaseClusterWithResponse ¶
func (c *ClientWithResponses) CreateDatabaseClusterWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error)
func (*ClientWithResponses) CreateLoadBalancerConfigWithBodyWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) CreateLoadBalancerConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLoadBalancerConfigResponse, error)
CreateLoadBalancerConfigWithBodyWithResponse request with arbitrary body returning *CreateLoadBalancerConfigResponse
func (*ClientWithResponses) CreateLoadBalancerConfigWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) CreateLoadBalancerConfigWithResponse(ctx context.Context, body CreateLoadBalancerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLoadBalancerConfigResponse, error)
func (*ClientWithResponses) CreateMonitoringInstanceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMonitoringInstanceWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error)
CreateMonitoringInstanceWithBodyWithResponse request with arbitrary body returning *CreateMonitoringInstanceResponse
func (*ClientWithResponses) CreateMonitoringInstanceWithResponse ¶
func (c *ClientWithResponses) CreateMonitoringInstanceWithResponse(ctx context.Context, namespace string, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error)
func (*ClientWithResponses) CreatePodSchedulingPolicyWithBodyWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) CreatePodSchedulingPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePodSchedulingPolicyResponse, error)
CreatePodSchedulingPolicyWithBodyWithResponse request with arbitrary body returning *CreatePodSchedulingPolicyResponse
func (*ClientWithResponses) CreatePodSchedulingPolicyWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) CreatePodSchedulingPolicyWithResponse(ctx context.Context, body CreatePodSchedulingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePodSchedulingPolicyResponse, error)
func (*ClientWithResponses) CreateSessionWithBodyWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) CreateSessionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)
CreateSessionWithBodyWithResponse request with arbitrary body returning *CreateSessionResponse
func (*ClientWithResponses) CreateSessionWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) CreateSessionWithResponse(ctx context.Context, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)
func (*ClientWithResponses) CreateSplitHorizonDNSConfigWithBodyWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) CreateSplitHorizonDNSConfigWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSplitHorizonDNSConfigResponse, error)
CreateSplitHorizonDNSConfigWithBodyWithResponse request with arbitrary body returning *CreateSplitHorizonDNSConfigResponse
func (*ClientWithResponses) CreateSplitHorizonDNSConfigWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) CreateSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, body CreateSplitHorizonDNSConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSplitHorizonDNSConfigResponse, error)
func (*ClientWithResponses) DeleteBackupStorageWithResponse ¶
func (c *ClientWithResponses) DeleteBackupStorageWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteBackupStorageResponse, error)
DeleteBackupStorageWithResponse request returning *DeleteBackupStorageResponse
func (*ClientWithResponses) DeleteDatabaseClusterBackupWithResponse ¶
func (c *ClientWithResponses) DeleteDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, name string, params *DeleteDatabaseClusterBackupParams, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterBackupResponse, error)
DeleteDatabaseClusterBackupWithResponse request returning *DeleteDatabaseClusterBackupResponse
func (*ClientWithResponses) DeleteDatabaseClusterRestoreWithResponse ¶
func (c *ClientWithResponses) DeleteDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterRestoreResponse, error)
DeleteDatabaseClusterRestoreWithResponse request returning *DeleteDatabaseClusterRestoreResponse
func (*ClientWithResponses) DeleteDatabaseClusterWithResponse ¶
func (c *ClientWithResponses) DeleteDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, params *DeleteDatabaseClusterParams, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterResponse, error)
DeleteDatabaseClusterWithResponse request returning *DeleteDatabaseClusterResponse
func (*ClientWithResponses) DeleteLoadBalancerConfigWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) DeleteLoadBalancerConfigWithResponse(ctx context.Context, configName string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerConfigResponse, error)
DeleteLoadBalancerConfigWithResponse request returning *DeleteLoadBalancerConfigResponse
func (*ClientWithResponses) DeleteMonitoringInstanceWithResponse ¶
func (c *ClientWithResponses) DeleteMonitoringInstanceWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteMonitoringInstanceResponse, error)
DeleteMonitoringInstanceWithResponse request returning *DeleteMonitoringInstanceResponse
func (*ClientWithResponses) DeletePodSchedulingPolicyWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) DeletePodSchedulingPolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*DeletePodSchedulingPolicyResponse, error)
DeletePodSchedulingPolicyWithResponse request returning *DeletePodSchedulingPolicyResponse
func (*ClientWithResponses) DeleteSessionWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) DeleteSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSessionResponse, error)
DeleteSessionWithResponse request returning *DeleteSessionResponse
func (*ClientWithResponses) DeleteSplitHorizonDNSConfigWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) DeleteSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteSplitHorizonDNSConfigResponse, error)
DeleteSplitHorizonDNSConfigWithResponse request returning *DeleteSplitHorizonDNSConfigResponse
func (*ClientWithResponses) GetBackupStorageWithResponse ¶
func (c *ClientWithResponses) GetBackupStorageWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetBackupStorageResponse, error)
GetBackupStorageWithResponse request returning *GetBackupStorageResponse
func (*ClientWithResponses) GetDatabaseClusterBackupWithResponse ¶
func (c *ClientWithResponses) GetDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterBackupResponse, error)
GetDatabaseClusterBackupWithResponse request returning *GetDatabaseClusterBackupResponse
func (*ClientWithResponses) GetDatabaseClusterComponentsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetDatabaseClusterComponentsWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterComponentsResponse, error)
GetDatabaseClusterComponentsWithResponse request returning *GetDatabaseClusterComponentsResponse
func (*ClientWithResponses) GetDatabaseClusterCredentialsWithResponse ¶
func (c *ClientWithResponses) GetDatabaseClusterCredentialsWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterCredentialsResponse, error)
GetDatabaseClusterCredentialsWithResponse request returning *GetDatabaseClusterCredentialsResponse
func (*ClientWithResponses) GetDatabaseClusterPitrWithResponse ¶
func (c *ClientWithResponses) GetDatabaseClusterPitrWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterPitrResponse, error)
GetDatabaseClusterPitrWithResponse request returning *GetDatabaseClusterPitrResponse
func (*ClientWithResponses) GetDatabaseClusterRestoreWithResponse ¶
func (c *ClientWithResponses) GetDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterRestoreResponse, error)
GetDatabaseClusterRestoreWithResponse request returning *GetDatabaseClusterRestoreResponse
func (*ClientWithResponses) GetDatabaseClusterWithResponse ¶
func (c *ClientWithResponses) GetDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterResponse, error)
GetDatabaseClusterWithResponse request returning *GetDatabaseClusterResponse
func (*ClientWithResponses) GetDatabaseEngineWithResponse ¶
func (c *ClientWithResponses) GetDatabaseEngineWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseEngineResponse, error)
GetDatabaseEngineWithResponse request returning *GetDatabaseEngineResponse
func (*ClientWithResponses) GetKubernetesClusterInfoWithResponse ¶
func (c *ClientWithResponses) GetKubernetesClusterInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKubernetesClusterInfoResponse, error)
GetKubernetesClusterInfoWithResponse request returning *GetKubernetesClusterInfoResponse
func (*ClientWithResponses) GetKubernetesClusterResourcesWithResponse ¶
func (c *ClientWithResponses) GetKubernetesClusterResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKubernetesClusterResourcesResponse, error)
GetKubernetesClusterResourcesWithResponse request returning *GetKubernetesClusterResourcesResponse
func (*ClientWithResponses) GetLoadBalancerConfigWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) GetLoadBalancerConfigWithResponse(ctx context.Context, configName string, reqEditors ...RequestEditorFn) (*GetLoadBalancerConfigResponse, error)
GetLoadBalancerConfigWithResponse request returning *GetLoadBalancerConfigResponse
func (*ClientWithResponses) GetMonitoringInstanceWithResponse ¶
func (c *ClientWithResponses) GetMonitoringInstanceWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetMonitoringInstanceResponse, error)
GetMonitoringInstanceWithResponse request returning *GetMonitoringInstanceResponse
func (*ClientWithResponses) GetPodSchedulingPolicyWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) GetPodSchedulingPolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*GetPodSchedulingPolicyResponse, error)
GetPodSchedulingPolicyWithResponse request returning *GetPodSchedulingPolicyResponse
func (*ClientWithResponses) GetSettingsWithResponse ¶ added in v1.0.0
func (c *ClientWithResponses) GetSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSettingsResponse, error)
GetSettingsWithResponse request returning *GetSettingsResponse
func (*ClientWithResponses) GetSplitHorizonDNSConfigWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) GetSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetSplitHorizonDNSConfigResponse, error)
GetSplitHorizonDNSConfigWithResponse request returning *GetSplitHorizonDNSConfigResponse
func (*ClientWithResponses) GetUpgradePlanWithResponse ¶ added in v1.1.0
func (c *ClientWithResponses) GetUpgradePlanWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*GetUpgradePlanResponse, error)
GetUpgradePlanWithResponse request returning *GetUpgradePlanResponse
func (*ClientWithResponses) GetUserPermissionsWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) GetUserPermissionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserPermissionsResponse, error)
GetUserPermissionsWithResponse request returning *GetUserPermissionsResponse
func (*ClientWithResponses) ListBackupStoragesWithResponse ¶
func (c *ClientWithResponses) ListBackupStoragesWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListBackupStoragesResponse, error)
ListBackupStoragesWithResponse request returning *ListBackupStoragesResponse
func (*ClientWithResponses) ListDataImportJobsWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) ListDataImportJobsWithResponse(ctx context.Context, namespace string, dbName string, reqEditors ...RequestEditorFn) (*ListDataImportJobsResponse, error)
ListDataImportJobsWithResponse request returning *ListDataImportJobsResponse
func (*ClientWithResponses) ListDataImportersWithResponse ¶ added in v1.8.0
func (c *ClientWithResponses) ListDataImportersWithResponse(ctx context.Context, params *ListDataImportersParams, reqEditors ...RequestEditorFn) (*ListDataImportersResponse, error)
ListDataImportersWithResponse request returning *ListDataImportersResponse
func (*ClientWithResponses) ListDatabaseClusterBackupsWithResponse ¶
func (c *ClientWithResponses) ListDatabaseClusterBackupsWithResponse(ctx context.Context, namespace string, clusterName string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterBackupsResponse, error)
ListDatabaseClusterBackupsWithResponse request returning *ListDatabaseClusterBackupsResponse
func (*ClientWithResponses) ListDatabaseClusterRestoresWithResponse ¶
func (c *ClientWithResponses) ListDatabaseClusterRestoresWithResponse(ctx context.Context, namespace string, clusterName string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterRestoresResponse, error)
ListDatabaseClusterRestoresWithResponse request returning *ListDatabaseClusterRestoresResponse
func (*ClientWithResponses) ListDatabaseClustersWithResponse ¶
func (c *ClientWithResponses) ListDatabaseClustersWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListDatabaseClustersResponse, error)
ListDatabaseClustersWithResponse request returning *ListDatabaseClustersResponse
func (*ClientWithResponses) ListDatabaseEnginesWithResponse ¶
func (c *ClientWithResponses) ListDatabaseEnginesWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListDatabaseEnginesResponse, error)
ListDatabaseEnginesWithResponse request returning *ListDatabaseEnginesResponse
func (*ClientWithResponses) ListLoadBalancerConfigWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) ListLoadBalancerConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLoadBalancerConfigResponse, error)
ListLoadBalancerConfigWithResponse request returning *ListLoadBalancerConfigResponse
func (*ClientWithResponses) ListMonitoringInstancesWithResponse ¶
func (c *ClientWithResponses) ListMonitoringInstancesWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListMonitoringInstancesResponse, error)
ListMonitoringInstancesWithResponse request returning *ListMonitoringInstancesResponse
func (*ClientWithResponses) ListNamespacesWithResponse ¶
func (c *ClientWithResponses) ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error)
ListNamespacesWithResponse request returning *ListNamespacesResponse
func (*ClientWithResponses) ListPodSchedulingPolicyWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) ListPodSchedulingPolicyWithResponse(ctx context.Context, params *ListPodSchedulingPolicyParams, reqEditors ...RequestEditorFn) (*ListPodSchedulingPolicyResponse, error)
ListPodSchedulingPolicyWithResponse request returning *ListPodSchedulingPolicyResponse
func (*ClientWithResponses) ListSplitHorizonDNSConfigsWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) ListSplitHorizonDNSConfigsWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListSplitHorizonDNSConfigsResponse, error)
ListSplitHorizonDNSConfigsWithResponse request returning *ListSplitHorizonDNSConfigsResponse
func (*ClientWithResponses) UpdateBackupStorageWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBackupStorageWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBackupStorageResponse, error)
UpdateBackupStorageWithBodyWithResponse request with arbitrary body returning *UpdateBackupStorageResponse
func (*ClientWithResponses) UpdateBackupStorageWithResponse ¶
func (c *ClientWithResponses) UpdateBackupStorageWithResponse(ctx context.Context, namespace string, name string, body UpdateBackupStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBackupStorageResponse, error)
func (*ClientWithResponses) UpdateDatabaseClusterRestoreWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error)
UpdateDatabaseClusterRestoreWithBodyWithResponse request with arbitrary body returning *UpdateDatabaseClusterRestoreResponse
func (*ClientWithResponses) UpdateDatabaseClusterRestoreWithResponse ¶
func (c *ClientWithResponses) UpdateDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error)
func (*ClientWithResponses) UpdateDatabaseClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDatabaseClusterWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error)
UpdateDatabaseClusterWithBodyWithResponse request with arbitrary body returning *UpdateDatabaseClusterResponse
func (*ClientWithResponses) UpdateDatabaseClusterWithResponse ¶
func (c *ClientWithResponses) UpdateDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error)
func (*ClientWithResponses) UpdateDatabaseEngineWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDatabaseEngineWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseEngineResponse, error)
UpdateDatabaseEngineWithBodyWithResponse request with arbitrary body returning *UpdateDatabaseEngineResponse
func (*ClientWithResponses) UpdateDatabaseEngineWithResponse ¶
func (c *ClientWithResponses) UpdateDatabaseEngineWithResponse(ctx context.Context, namespace string, name string, body UpdateDatabaseEngineJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseEngineResponse, error)
func (*ClientWithResponses) UpdateLoadBalancerConfigWithBodyWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) UpdateLoadBalancerConfigWithBodyWithResponse(ctx context.Context, configName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerConfigResponse, error)
UpdateLoadBalancerConfigWithBodyWithResponse request with arbitrary body returning *UpdateLoadBalancerConfigResponse
func (*ClientWithResponses) UpdateLoadBalancerConfigWithResponse ¶ added in v1.9.0
func (c *ClientWithResponses) UpdateLoadBalancerConfigWithResponse(ctx context.Context, configName string, body UpdateLoadBalancerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerConfigResponse, error)
func (*ClientWithResponses) UpdateMonitoringInstanceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMonitoringInstanceWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error)
UpdateMonitoringInstanceWithBodyWithResponse request with arbitrary body returning *UpdateMonitoringInstanceResponse
func (*ClientWithResponses) UpdateMonitoringInstanceWithResponse ¶
func (c *ClientWithResponses) UpdateMonitoringInstanceWithResponse(ctx context.Context, namespace string, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error)
func (*ClientWithResponses) UpdatePodSchedulingPolicyWithBodyWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) UpdatePodSchedulingPolicyWithBodyWithResponse(ctx context.Context, policyName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePodSchedulingPolicyResponse, error)
UpdatePodSchedulingPolicyWithBodyWithResponse request with arbitrary body returning *UpdatePodSchedulingPolicyResponse
func (*ClientWithResponses) UpdatePodSchedulingPolicyWithResponse ¶ added in v1.7.0
func (c *ClientWithResponses) UpdatePodSchedulingPolicyWithResponse(ctx context.Context, policyName string, body UpdatePodSchedulingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePodSchedulingPolicyResponse, error)
func (*ClientWithResponses) UpdateSplitHorizonDNSConfigWithBodyWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) UpdateSplitHorizonDNSConfigWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSplitHorizonDNSConfigResponse, error)
UpdateSplitHorizonDNSConfigWithBodyWithResponse request with arbitrary body returning *UpdateSplitHorizonDNSConfigResponse
func (*ClientWithResponses) UpdateSplitHorizonDNSConfigWithResponse ¶ added in v1.10.0
func (c *ClientWithResponses) UpdateSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, name string, body UpdateSplitHorizonDNSConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSplitHorizonDNSConfigResponse, error)
func (*ClientWithResponses) VersionInfoWithResponse ¶
func (c *ClientWithResponses) VersionInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VersionInfoResponse, error)
VersionInfoWithResponse request returning *VersionInfoResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetKubernetesClusterInfoWithResponse request
GetKubernetesClusterInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKubernetesClusterInfoResponse, error)
// ListDataImportersWithResponse request
ListDataImportersWithResponse(ctx context.Context, params *ListDataImportersParams, reqEditors ...RequestEditorFn) (*ListDataImportersResponse, error)
// ListLoadBalancerConfigWithResponse request
ListLoadBalancerConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLoadBalancerConfigResponse, error)
// CreateLoadBalancerConfigWithBodyWithResponse request with any body
CreateLoadBalancerConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLoadBalancerConfigResponse, error)
CreateLoadBalancerConfigWithResponse(ctx context.Context, body CreateLoadBalancerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLoadBalancerConfigResponse, error)
// DeleteLoadBalancerConfigWithResponse request
DeleteLoadBalancerConfigWithResponse(ctx context.Context, configName string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerConfigResponse, error)
// GetLoadBalancerConfigWithResponse request
GetLoadBalancerConfigWithResponse(ctx context.Context, configName string, reqEditors ...RequestEditorFn) (*GetLoadBalancerConfigResponse, error)
// UpdateLoadBalancerConfigWithBodyWithResponse request with any body
UpdateLoadBalancerConfigWithBodyWithResponse(ctx context.Context, configName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerConfigResponse, error)
UpdateLoadBalancerConfigWithResponse(ctx context.Context, configName string, body UpdateLoadBalancerConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerConfigResponse, error)
// ListNamespacesWithResponse request
ListNamespacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListNamespacesResponse, error)
// ListBackupStoragesWithResponse request
ListBackupStoragesWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListBackupStoragesResponse, error)
// CreateBackupStorageWithBodyWithResponse request with any body
CreateBackupStorageWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBackupStorageResponse, error)
CreateBackupStorageWithResponse(ctx context.Context, namespace string, body CreateBackupStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBackupStorageResponse, error)
// DeleteBackupStorageWithResponse request
DeleteBackupStorageWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteBackupStorageResponse, error)
// GetBackupStorageWithResponse request
GetBackupStorageWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetBackupStorageResponse, error)
// UpdateBackupStorageWithBodyWithResponse request with any body
UpdateBackupStorageWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBackupStorageResponse, error)
UpdateBackupStorageWithResponse(ctx context.Context, namespace string, name string, body UpdateBackupStorageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBackupStorageResponse, error)
// CreateDatabaseClusterBackupWithBodyWithResponse request with any body
CreateDatabaseClusterBackupWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error)
CreateDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterBackupResponse, error)
// DeleteDatabaseClusterBackupWithResponse request
DeleteDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, name string, params *DeleteDatabaseClusterBackupParams, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterBackupResponse, error)
// GetDatabaseClusterBackupWithResponse request
GetDatabaseClusterBackupWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterBackupResponse, error)
// CreateDatabaseClusterRestoreWithBodyWithResponse request with any body
CreateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error)
CreateDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterRestoreResponse, error)
// DeleteDatabaseClusterRestoreWithResponse request
DeleteDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterRestoreResponse, error)
// GetDatabaseClusterRestoreWithResponse request
GetDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterRestoreResponse, error)
// UpdateDatabaseClusterRestoreWithBodyWithResponse request with any body
UpdateDatabaseClusterRestoreWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error)
UpdateDatabaseClusterRestoreWithResponse(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterRestoreJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterRestoreResponse, error)
// ListDatabaseClustersWithResponse request
ListDatabaseClustersWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListDatabaseClustersResponse, error)
// CreateDatabaseClusterWithBodyWithResponse request with any body
CreateDatabaseClusterWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error)
CreateDatabaseClusterWithResponse(ctx context.Context, namespace string, body CreateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterResponse, error)
// ListDatabaseClusterBackupsWithResponse request
ListDatabaseClusterBackupsWithResponse(ctx context.Context, namespace string, clusterName string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterBackupsResponse, error)
// ListDatabaseClusterRestoresWithResponse request
ListDatabaseClusterRestoresWithResponse(ctx context.Context, namespace string, clusterName string, reqEditors ...RequestEditorFn) (*ListDatabaseClusterRestoresResponse, error)
// ListDataImportJobsWithResponse request
ListDataImportJobsWithResponse(ctx context.Context, namespace string, dbName string, reqEditors ...RequestEditorFn) (*ListDataImportJobsResponse, error)
// CreateDatabaseClusterSecretWithBodyWithResponse request with any body
CreateDatabaseClusterSecretWithBodyWithResponse(ctx context.Context, namespace string, dbName string, params *CreateDatabaseClusterSecretParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterSecretResponse, error)
CreateDatabaseClusterSecretWithResponse(ctx context.Context, namespace string, dbName string, params *CreateDatabaseClusterSecretParams, body CreateDatabaseClusterSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseClusterSecretResponse, error)
// DeleteDatabaseClusterWithResponse request
DeleteDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, params *DeleteDatabaseClusterParams, reqEditors ...RequestEditorFn) (*DeleteDatabaseClusterResponse, error)
// GetDatabaseClusterWithResponse request
GetDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterResponse, error)
// UpdateDatabaseClusterWithBodyWithResponse request with any body
UpdateDatabaseClusterWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error)
UpdateDatabaseClusterWithResponse(ctx context.Context, namespace string, name string, body UpdateDatabaseClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseClusterResponse, error)
// GetDatabaseClusterComponentsWithResponse request
GetDatabaseClusterComponentsWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterComponentsResponse, error)
// GetDatabaseClusterCredentialsWithResponse request
GetDatabaseClusterCredentialsWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterCredentialsResponse, error)
// GetDatabaseClusterPitrWithResponse request
GetDatabaseClusterPitrWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseClusterPitrResponse, error)
// ListDatabaseEnginesWithResponse request
ListDatabaseEnginesWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListDatabaseEnginesResponse, error)
// GetUpgradePlanWithResponse request
GetUpgradePlanWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*GetUpgradePlanResponse, error)
// ApproveUpgradePlanWithBodyWithResponse request with any body
ApproveUpgradePlanWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveUpgradePlanResponse, error)
ApproveUpgradePlanWithResponse(ctx context.Context, namespace string, body ApproveUpgradePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveUpgradePlanResponse, error)
// GetDatabaseEngineWithResponse request
GetDatabaseEngineWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetDatabaseEngineResponse, error)
// UpdateDatabaseEngineWithBodyWithResponse request with any body
UpdateDatabaseEngineWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseEngineResponse, error)
UpdateDatabaseEngineWithResponse(ctx context.Context, namespace string, name string, body UpdateDatabaseEngineJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseEngineResponse, error)
// ListSplitHorizonDNSConfigsWithResponse request
ListSplitHorizonDNSConfigsWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListSplitHorizonDNSConfigsResponse, error)
// CreateSplitHorizonDNSConfigWithBodyWithResponse request with any body
CreateSplitHorizonDNSConfigWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSplitHorizonDNSConfigResponse, error)
CreateSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, body CreateSplitHorizonDNSConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSplitHorizonDNSConfigResponse, error)
// DeleteSplitHorizonDNSConfigWithResponse request
DeleteSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteSplitHorizonDNSConfigResponse, error)
// GetSplitHorizonDNSConfigWithResponse request
GetSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetSplitHorizonDNSConfigResponse, error)
// UpdateSplitHorizonDNSConfigWithBodyWithResponse request with any body
UpdateSplitHorizonDNSConfigWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSplitHorizonDNSConfigResponse, error)
UpdateSplitHorizonDNSConfigWithResponse(ctx context.Context, namespace string, name string, body UpdateSplitHorizonDNSConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSplitHorizonDNSConfigResponse, error)
// ListMonitoringInstancesWithResponse request
ListMonitoringInstancesWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*ListMonitoringInstancesResponse, error)
// CreateMonitoringInstanceWithBodyWithResponse request with any body
CreateMonitoringInstanceWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error)
CreateMonitoringInstanceWithResponse(ctx context.Context, namespace string, body CreateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitoringInstanceResponse, error)
// DeleteMonitoringInstanceWithResponse request
DeleteMonitoringInstanceWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*DeleteMonitoringInstanceResponse, error)
// GetMonitoringInstanceWithResponse request
GetMonitoringInstanceWithResponse(ctx context.Context, namespace string, name string, reqEditors ...RequestEditorFn) (*GetMonitoringInstanceResponse, error)
// UpdateMonitoringInstanceWithBodyWithResponse request with any body
UpdateMonitoringInstanceWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error)
UpdateMonitoringInstanceWithResponse(ctx context.Context, namespace string, name string, body UpdateMonitoringInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitoringInstanceResponse, error)
// GetUserPermissionsWithResponse request
GetUserPermissionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUserPermissionsResponse, error)
// ListPodSchedulingPolicyWithResponse request
ListPodSchedulingPolicyWithResponse(ctx context.Context, params *ListPodSchedulingPolicyParams, reqEditors ...RequestEditorFn) (*ListPodSchedulingPolicyResponse, error)
// CreatePodSchedulingPolicyWithBodyWithResponse request with any body
CreatePodSchedulingPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePodSchedulingPolicyResponse, error)
CreatePodSchedulingPolicyWithResponse(ctx context.Context, body CreatePodSchedulingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePodSchedulingPolicyResponse, error)
// DeletePodSchedulingPolicyWithResponse request
DeletePodSchedulingPolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*DeletePodSchedulingPolicyResponse, error)
// GetPodSchedulingPolicyWithResponse request
GetPodSchedulingPolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*GetPodSchedulingPolicyResponse, error)
// UpdatePodSchedulingPolicyWithBodyWithResponse request with any body
UpdatePodSchedulingPolicyWithBodyWithResponse(ctx context.Context, policyName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePodSchedulingPolicyResponse, error)
UpdatePodSchedulingPolicyWithResponse(ctx context.Context, policyName string, body UpdatePodSchedulingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePodSchedulingPolicyResponse, error)
// GetKubernetesClusterResourcesWithResponse request
GetKubernetesClusterResourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKubernetesClusterResourcesResponse, error)
// DeleteSessionWithResponse request
DeleteSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSessionResponse, error)
// CreateSessionWithBodyWithResponse request with any body
CreateSessionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)
CreateSessionWithResponse(ctx context.Context, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)
// GetSettingsWithResponse request
GetSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSettingsResponse, error)
// VersionInfoWithResponse request
VersionInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VersionInfoResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
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
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
AllowedNamespaces *[]string `json:"allowedNamespaces,omitempty"`
// 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 CreateBackupStorageResponse ¶
type CreateBackupStorageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BackupStorage
JSON400 *Error
JSON500 *Error
}
func ParseCreateBackupStorageResponse ¶
func ParseCreateBackupStorageResponse(rsp *http.Response) (*CreateBackupStorageResponse, error)
ParseCreateBackupStorageResponse parses an HTTP response from a CreateBackupStorageWithResponse call
func (CreateBackupStorageResponse) Status ¶
func (r CreateBackupStorageResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBackupStorageResponse) StatusCode ¶
func (r CreateBackupStorageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatabaseClusterBackupJSONRequestBody ¶
type CreateDatabaseClusterBackupJSONRequestBody = DatabaseClusterBackup
CreateDatabaseClusterBackupJSONRequestBody defines body for CreateDatabaseClusterBackup for application/json ContentType.
type CreateDatabaseClusterBackupResponse ¶
type CreateDatabaseClusterBackupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterBackup
JSON201 *DatabaseClusterBackup
JSON202 *DatabaseClusterBackup
JSON400 *Error
JSON500 *Error
}
func ParseCreateDatabaseClusterBackupResponse ¶
func ParseCreateDatabaseClusterBackupResponse(rsp *http.Response) (*CreateDatabaseClusterBackupResponse, error)
ParseCreateDatabaseClusterBackupResponse parses an HTTP response from a CreateDatabaseClusterBackupWithResponse call
func (CreateDatabaseClusterBackupResponse) Status ¶
func (r CreateDatabaseClusterBackupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDatabaseClusterBackupResponse) StatusCode ¶
func (r CreateDatabaseClusterBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatabaseClusterJSONRequestBody ¶
type CreateDatabaseClusterJSONRequestBody = DatabaseCluster
CreateDatabaseClusterJSONRequestBody defines body for CreateDatabaseCluster for application/json ContentType.
type CreateDatabaseClusterResponse ¶
type CreateDatabaseClusterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseCluster
JSON201 *DatabaseCluster
JSON202 *DatabaseCluster
JSON400 *Error
JSON500 *Error
}
func ParseCreateDatabaseClusterResponse ¶
func ParseCreateDatabaseClusterResponse(rsp *http.Response) (*CreateDatabaseClusterResponse, error)
ParseCreateDatabaseClusterResponse parses an HTTP response from a CreateDatabaseClusterWithResponse call
func (CreateDatabaseClusterResponse) Status ¶
func (r CreateDatabaseClusterResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDatabaseClusterResponse) StatusCode ¶
func (r CreateDatabaseClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatabaseClusterRestoreJSONRequestBody ¶
type CreateDatabaseClusterRestoreJSONRequestBody = DatabaseClusterRestore
CreateDatabaseClusterRestoreJSONRequestBody defines body for CreateDatabaseClusterRestore for application/json ContentType.
type CreateDatabaseClusterRestoreResponse ¶
type CreateDatabaseClusterRestoreResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterRestore
JSON201 *DatabaseClusterRestore
JSON202 *DatabaseClusterRestore
JSON400 *Error
JSON500 *Error
}
func ParseCreateDatabaseClusterRestoreResponse ¶
func ParseCreateDatabaseClusterRestoreResponse(rsp *http.Response) (*CreateDatabaseClusterRestoreResponse, error)
ParseCreateDatabaseClusterRestoreResponse parses an HTTP response from a CreateDatabaseClusterRestoreWithResponse call
func (CreateDatabaseClusterRestoreResponse) Status ¶
func (r CreateDatabaseClusterRestoreResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDatabaseClusterRestoreResponse) StatusCode ¶
func (r CreateDatabaseClusterRestoreResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatabaseClusterSecretJSONRequestBody ¶ added in v1.8.0
type CreateDatabaseClusterSecretJSONRequestBody = Secret
CreateDatabaseClusterSecretJSONRequestBody defines body for CreateDatabaseClusterSecret for application/json ContentType.
type CreateDatabaseClusterSecretParams ¶ added in v1.8.0
type CreateDatabaseClusterSecretParams struct {
// SecretName Optional name of the secret to be created. If not provided, a random name will be generated.
SecretName *string `form:"secretName,omitempty" json:"secretName,omitempty"`
}
CreateDatabaseClusterSecretParams defines parameters for CreateDatabaseClusterSecret.
type CreateDatabaseClusterSecretResponse ¶ added in v1.8.0
type CreateDatabaseClusterSecretResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Secret
JSON400 *Error
JSON500 *Error
}
func ParseCreateDatabaseClusterSecretResponse ¶ added in v1.8.0
func ParseCreateDatabaseClusterSecretResponse(rsp *http.Response) (*CreateDatabaseClusterSecretResponse, error)
ParseCreateDatabaseClusterSecretResponse parses an HTTP response from a CreateDatabaseClusterSecretWithResponse call
func (CreateDatabaseClusterSecretResponse) Status ¶ added in v1.8.0
func (r CreateDatabaseClusterSecretResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDatabaseClusterSecretResponse) StatusCode ¶ added in v1.8.0
func (r CreateDatabaseClusterSecretResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateLoadBalancerConfigJSONRequestBody ¶ added in v1.9.0
type CreateLoadBalancerConfigJSONRequestBody = LoadBalancerConfig
CreateLoadBalancerConfigJSONRequestBody defines body for CreateLoadBalancerConfig for application/json ContentType.
type CreateLoadBalancerConfigResponse ¶ added in v1.9.0
type CreateLoadBalancerConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LoadBalancerConfig
JSON400 *Error
JSON500 *Error
}
func ParseCreateLoadBalancerConfigResponse ¶ added in v1.9.0
func ParseCreateLoadBalancerConfigResponse(rsp *http.Response) (*CreateLoadBalancerConfigResponse, error)
ParseCreateLoadBalancerConfigResponse parses an HTTP response from a CreateLoadBalancerConfigWithResponse call
func (CreateLoadBalancerConfigResponse) Status ¶ added in v1.9.0
func (r CreateLoadBalancerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (CreateLoadBalancerConfigResponse) StatusCode ¶ added in v1.9.0
func (r CreateLoadBalancerConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMonitoringInstanceJSONRequestBody ¶
type CreateMonitoringInstanceJSONRequestBody = MonitoringInstanceCreateParams
CreateMonitoringInstanceJSONRequestBody defines body for CreateMonitoringInstance for application/json ContentType.
type CreateMonitoringInstanceResponse ¶
type CreateMonitoringInstanceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MonitoringInstance
JSON400 *Error
JSON500 *Error
}
func ParseCreateMonitoringInstanceResponse ¶
func ParseCreateMonitoringInstanceResponse(rsp *http.Response) (*CreateMonitoringInstanceResponse, error)
ParseCreateMonitoringInstanceResponse parses an HTTP response from a CreateMonitoringInstanceWithResponse call
func (CreateMonitoringInstanceResponse) Status ¶
func (r CreateMonitoringInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMonitoringInstanceResponse) StatusCode ¶
func (r CreateMonitoringInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePodSchedulingPolicyJSONRequestBody ¶ added in v1.7.0
type CreatePodSchedulingPolicyJSONRequestBody = PodSchedulingPolicy
CreatePodSchedulingPolicyJSONRequestBody defines body for CreatePodSchedulingPolicy for application/json ContentType.
type CreatePodSchedulingPolicyResponse ¶ added in v1.7.0
type CreatePodSchedulingPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PodSchedulingPolicy
JSON400 *Error
JSON500 *Error
}
func ParseCreatePodSchedulingPolicyResponse ¶ added in v1.7.0
func ParseCreatePodSchedulingPolicyResponse(rsp *http.Response) (*CreatePodSchedulingPolicyResponse, error)
ParseCreatePodSchedulingPolicyResponse parses an HTTP response from a CreatePodSchedulingPolicyWithResponse call
func (CreatePodSchedulingPolicyResponse) Status ¶ added in v1.7.0
func (r CreatePodSchedulingPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePodSchedulingPolicyResponse) StatusCode ¶ added in v1.7.0
func (r CreatePodSchedulingPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSessionJSONRequestBody ¶ added in v1.0.0
type CreateSessionJSONRequestBody = UserCredentials
CreateSessionJSONRequestBody defines body for CreateSession for application/json ContentType.
type CreateSessionResponse ¶ added in v1.0.0
type CreateSessionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Token *string `json:"token,omitempty"`
}
JSON400 *Error
JSON429 *Error
JSON500 *Error
}
func ParseCreateSessionResponse ¶ added in v1.0.0
func ParseCreateSessionResponse(rsp *http.Response) (*CreateSessionResponse, error)
ParseCreateSessionResponse parses an HTTP response from a CreateSessionWithResponse call
func (CreateSessionResponse) Status ¶ added in v1.0.0
func (r CreateSessionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSessionResponse) StatusCode ¶ added in v1.0.0
func (r CreateSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSplitHorizonDNSConfigJSONRequestBody ¶ added in v1.10.0
type CreateSplitHorizonDNSConfigJSONRequestBody = SplitHorizonDNSConfig
CreateSplitHorizonDNSConfigJSONRequestBody defines body for CreateSplitHorizonDNSConfig for application/json ContentType.
type CreateSplitHorizonDNSConfigResponse ¶ added in v1.10.0
type CreateSplitHorizonDNSConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SplitHorizonDNSConfig
JSON400 *Error
JSON500 *Error
}
func ParseCreateSplitHorizonDNSConfigResponse ¶ added in v1.10.0
func ParseCreateSplitHorizonDNSConfigResponse(rsp *http.Response) (*CreateSplitHorizonDNSConfigResponse, error)
ParseCreateSplitHorizonDNSConfigResponse parses an HTTP response from a CreateSplitHorizonDNSConfigWithResponse call
func (CreateSplitHorizonDNSConfigResponse) Status ¶ added in v1.10.0
func (r CreateSplitHorizonDNSConfigResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSplitHorizonDNSConfigResponse) StatusCode ¶ added in v1.10.0
func (r CreateSplitHorizonDNSConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DataImportJob ¶ added in v1.8.0
type DataImportJob 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 *struct {
// Config Config defines the configuration for the data import job.
// These options are specific to the DataImporter being used and must conform to
// the schema defined in the DataImporter's .spec.config.openAPIV3Schema.
Config *map[string]interface{} `json:"config,omitempty"`
// DataImporterName DataImporterName is the data importer to use for the import.
DataImporterName string `json:"dataImporterName"`
// Source Source is the source of the data to import.
Source struct {
// Path Path is the path to the directory to import the data from.
// This may be a path to a file or a directory, depending on the data importer.
Path *string `json:"path,omitempty"`
// S3 S3 contains the S3 information for the data import.
S3 *struct {
// AccessKeyId AccessKeyID allows specifying the S3 access key ID inline.
// It is provided as a write-only input field for convenience.
// When this field is set, a webhook writes this value in the Secret specified by `credentialsSecretName`
// and empties this field.
// This field is not stored in the API.
AccessKeyId *string `json:"accessKeyId,omitempty"`
// Bucket Bucket is the name of the S3 bucket.
Bucket *string `json:"bucket,omitempty"`
// CredentialsSecretName CredentialsSecreName is the reference to the secret containing the S3 credentials.
// The Secret must contain the keys `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
CredentialsSecretName string `json:"credentialsSecretName"`
// EndpointURL EndpointURL is an endpoint URL of backup storage.
EndpointURL *string `json:"endpointURL,omitempty"`
// ForcePathStyle ForcePathStyle is set to use path-style URLs.
// If unspecified, the default value is false.
ForcePathStyle *bool `json:"forcePathStyle,omitempty"`
// Region Region is the region of the S3 bucket.
Region *string `json:"region,omitempty"`
// SecretAccessKey SecretAccessKey allows specifying the S3 secret access key inline.
// It is provided as a write-only input field for convenience.
// When this field is set, a webhook writes this value in the Secret specified by `credentialsSecretName`
// and empties this field.
// This field is not stored in the API.
SecretAccessKey *string `json:"secretAccessKey,omitempty"`
// VerifyTLS VerifyTLS is set to ensure TLS/SSL verification.
// If unspecified, the default value is true.
VerifyTLS *bool `json:"verifyTLS,omitempty"`
} `json:"s3,omitempty"`
} `json:"source"`
// TargetClusterName TargetClusterName is the reference to the target cluster.
TargetClusterName string `json:"targetClusterName"`
} `json:"spec,omitempty"`
Status *struct {
// CompletedAt CompletedAt is the time when the data import job completed successfully.
CompletedAt *time.Time `json:"completedAt,omitempty"`
// JobName JobName is the reference to the job that is running the data import.
JobName *string `json:"jobName,omitempty"`
// LastObservedGeneration LastObservedGeneration is the last observed generation of the data import job.
LastObservedGeneration *int64 `json:"lastObservedGeneration,omitempty"`
// Message Message is the message of the data import job.
Message *string `json:"message,omitempty"`
// StartedAt StartedAt is the time when the data import job started.
StartedAt *time.Time `json:"startedAt,omitempty"`
// State State is the current state of the data import job.
State *string `json:"state,omitempty"`
} `json:"status,omitempty"`
}
DataImportJob DataImportJob is the schema for the dataimportjobs API.
type DataImportJobList ¶ added in v1.8.0
type DataImportJobList 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 *[]DataImportJob `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"`
}
DataImportJobList DataImportJobList is an object that contains the list of the existing data import jobs.
type DataImporter ¶ added in v1.8.0
type DataImporter 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 DataImporterSpec defines the specification of a DataImporter.
Spec *struct {
// ClusterPermissions ClusterPermissions defines the cluster-wide permissions required by the data importer.
// These permissions are used to generate a ClusterRole for the data importer job.
ClusterPermissions *[]struct {
// ApiGroups APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
ApiGroups *[]string `json:"apiGroups,omitempty"`
// NonResourceURLs NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path
// Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
// Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
NonResourceURLs *[]string `json:"nonResourceURLs,omitempty"`
// ResourceNames ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
ResourceNames *[]string `json:"resourceNames,omitempty"`
// Resources Resources is a list of resources this rule applies to. '*' represents all resources.
Resources *[]string `json:"resources,omitempty"`
// Verbs Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
Verbs []string `json:"verbs"`
} `json:"clusterPermissions,omitempty"`
// Config Config contains additional configuration defined for the data importer.
Config *struct {
// OpenAPIV3Schema OpenAPIV3Schema is the OpenAPI v3 schema of the data importer.
OpenAPIV3Schema interface{} `json:"openAPIV3Schema,omitempty"`
} `json:"config,omitempty"`
// DatabaseClusterConstraints DatabaseClusterConstraints defines compatibility requirements and prerequisites that must be satisfied
// by a DatabaseCluster before this data importer can be used with it. This allows the data importer to
// express specific requirements about the database configuration needed for successful import operations,
// such as required database fields, specific engine configurations, or other database properties.
// When a DatabaseCluster references this data importer, the operator will validate the DatabaseCluster
// against these constraints before proceeding with the import operation.
DatabaseClusterConstraints *struct {
// RequiredFields RequiredFields contains a list of fields that must be set in the DatabaseCluster spec.
// Each key is a JSON path expressions that points to a field in the DatabaseCluster spec.
// For example, ".spec.engine.type" or ".spec.dataSource.dataImport.config.someField".
RequiredFields *[]string `json:"requiredFields,omitempty"`
} `json:"databaseClusterConstraints,omitempty"`
// Description Description is the description of the data importer.
Description *string `json:"description,omitempty"`
// DisplayName DisplayName is a human-readable name for the data importer.
DisplayName *string `json:"displayName,omitempty"`
// JobSpec JobSpec is the specification of the data importer job.
JobSpec *struct {
// Command Command is the command to run the data importer.
Command *[]string `json:"command,omitempty"`
// Image Image is the image of the data importer.
Image *string `json:"image,omitempty"`
} `json:"jobSpec,omitempty"`
// Permissions Permissions defines the permissions required by the data importer.
// These permissions are used to generate a Role for the data importer job.
Permissions *[]struct {
// ApiGroups APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
ApiGroups *[]string `json:"apiGroups,omitempty"`
// NonResourceURLs NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path
// Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
// Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
NonResourceURLs *[]string `json:"nonResourceURLs,omitempty"`
// ResourceNames ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
ResourceNames *[]string `json:"resourceNames,omitempty"`
// Resources Resources is a list of resources this rule applies to. '*' represents all resources.
Resources *[]string `json:"resources,omitempty"`
// Verbs Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
Verbs []string `json:"verbs"`
} `json:"permissions,omitempty"`
// SupportedEngines SupportedEngines is the list of engines that the data importer supports.
SupportedEngines *[]string `json:"supportedEngines,omitempty"`
} `json:"spec,omitempty"`
Status *map[string]interface{} `json:"status,omitempty"`
}
DataImporter DataImporter defines a reusable strategy for importing data into a DatabaseCluster.
type DataImporterList ¶ added in v1.8.0
type DataImporterList 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 *[]DataImporter `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"`
}
DataImporterList DataImporterList is an object that contains the list of the existing data importers.
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.
//
// Deprecated: AllowUnsafeConfiguration will not be supported in the future releases.
AllowUnsafeConfiguration *bool `json:"allowUnsafeConfiguration,omitempty"`
// Backup Backup is the backup specification
Backup *struct {
// Enabled Enabled is a flag to enable backups
// Deprecated. Please use db.spec.backup.schedules[].enabled to control each schedule separately and db.spec.backup.pitr.enabled to control PITR.
Enabled *bool `json:"enabled,omitempty"`
// 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
// The BackupStorage must be created in the same namespace as the DatabaseCluster.
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.
// The BackupStorage must be created in the same namespace as the DatabaseCluster.
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.
// The BackupStorage must be created in the same namespace as the DatabaseCluster.
BackupStorageName string `json:"backupStorageName"`
// Path Path is the path to the backup file/directory.
Path string `json:"path"`
} `json:"backupSource,omitempty"`
// DataImport DataImport allows importing data from an external backup source.
DataImport *struct {
// Config Config defines the configuration for the data import job.
// These options are specific to the DataImporter being used and must conform to
// the schema defined in the DataImporter's .spec.config.openAPIV3Schema.
Config *map[string]interface{} `json:"config,omitempty"`
// DataImporterName DataImporterName is the data importer to use for the import.
DataImporterName string `json:"dataImporterName"`
// Source Source is the source of the data to import.
Source struct {
// Path Path is the path to the directory to import the data from.
// This may be a path to a file or a directory, depending on the data importer.
// Only absolute file paths are allowed. Leading and trailing '/' are optional.
Path string `json:"path"`
// S3 S3 contains the S3 information for the data import.
S3 *struct {
// AccessKeyId AccessKeyID allows specifying the S3 access key ID inline.
// It is provided as a write-only input field for convenience.
// When this field is set, a webhook writes this value in the Secret specified by `credentialsSecretName`
// and empties this field.
// This field is not stored in the API.
AccessKeyId *string `json:"accessKeyId,omitempty"`
// Bucket Bucket is the name of the S3 bucket.
Bucket string `json:"bucket"`
// CredentialsSecretName CredentialsSecreName is the reference to the secret containing the S3 credentials.
// The Secret must contain the keys `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
CredentialsSecretName string `json:"credentialsSecretName"`
// EndpointURL EndpointURL is an endpoint URL of backup storage.
EndpointURL string `json:"endpointURL"`
// ForcePathStyle ForcePathStyle is set to use path-style URLs.
// If unspecified, the default value is false.
ForcePathStyle *bool `json:"forcePathStyle,omitempty"`
// Region Region is the region of the S3 bucket.
Region string `json:"region"`
// SecretAccessKey SecretAccessKey allows specifying the S3 secret access key inline.
// It is provided as a write-only input field for convenience.
// When this field is set, a webhook writes this value in the Secret specified by `credentialsSecretName`
// and empties this field.
// This field is not stored in the API.
SecretAccessKey *string `json:"secretAccessKey,omitempty"`
// VerifyTLS VerifyTLS is set to ensure TLS/SSL verification.
// If unspecified, the default value is true.
VerifyTLS *bool `json:"verifyTLS,omitempty"`
} `json:"s3,omitempty"`
} `json:"source"`
} `json:"dataImport,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"`
// EngineFeatures EngineFeatures represents configuration of additional features for the database engine.
EngineFeatures *struct {
// Psmdb PSMDB represents additional features for the PSMDB engine.
Psmdb *struct {
// SplitHorizonDnsConfigName SplitHorizonDNSConfigName is the name of a SplitHorizonDNSConfig CR.
// The SplitHorizonDNSConfig must be created in the same namespace as the DatabaseCluster.
SplitHorizonDnsConfigName *string `json:"splitHorizonDnsConfigName,omitempty"`
} `json:"psmdb,omitempty"`
} `json:"engineFeatures,omitempty"`
// Monitoring Monitoring is the monitoring configuration
Monitoring *struct {
// MonitoringConfigName MonitoringConfigName is the name of a monitoringConfig CR.
// The MonitoringConfig must be created in the same namespace as the DatabaseCluster.
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"`
// Request Request is the name chosen for a request in the referenced claim.
// If empty, everything from the claim is made available, otherwise
// only the result of this request.
Request *string `json:"request,omitempty"`
} `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"`
// PodSchedulingPolicyName PodSchedulingPolicyName is the name of the PodSchedulingPolicy CR that defines rules for DB cluster pods allocation across the cluster.
PodSchedulingPolicyName *string `json:"podSchedulingPolicyName,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"`
// LoadBalancerConfigName LoadBalancerConfigName is the name of load balancer config if applied
LoadBalancerConfigName *string `json:"loadBalancerConfigName,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"`
// Sharding Sharding is the sharding configuration. PSMDB-only
Sharding *struct {
// ConfigServer ConfigServer represents the sharding configuration server settings
ConfigServer struct {
// Replicas Replicas is the amount of configServers
Replicas int32 `json:"replicas"`
} `json:"configServer"`
// Enabled Enabled defines if the sharding is enabled
Enabled bool `json:"enabled"`
// Shards Shards defines the number of shards
Shards int32 `json:"shards"`
} `json:"sharding,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"`
// Conditions Conditions contains the observed conditions of the DatabaseCluster.
Conditions *[]struct {
// LastTransitionTime lastTransitionTime is the last time the condition transitioned from one status to another.
// This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
LastTransitionTime time.Time `json:"lastTransitionTime"`
// Message message is a human readable message indicating details about the transition.
// This may be an empty string.
Message string `json:"message"`
// ObservedGeneration observedGeneration represents the .metadata.generation that the condition was set based upon.
// For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
// with respect to the current state of the instance.
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
// Reason reason contains a programmatic identifier indicating the reason for the condition's last transition.
// Producers of specific condition types may define expected values and meanings for this field,
// and whether the values are considered a guaranteed API.
// The value should be a CamelCase string.
// This field may not be empty.
Reason string `json:"reason"`
// Status status of the condition, one of True, False, Unknown.
Status DatabaseClusterStatusConditionsStatus `json:"status"`
// Type type of condition in CamelCase or in foo.example.com/CamelCase.
Type string `json:"type"`
} `json:"conditions,omitempty"`
// CrVersion CRVersion is the observed version of the CR used with the underlying operator.
CrVersion *string `json:"crVersion,omitempty"`
// DataImportJobName DataImportJobName refers to the DataImportJob that is used to import data into the cluster.
// This is set only when .spec.dataSource.dataImport is set.
DataImportJobName *string `json:"dataImportJobName,omitempty"`
// Details Details provides full status of the upstream cluster as a plain text.
Details *string `json:"details,omitempty"`
// EngineFeatures EngineFeaturesStatus represents additional features statuses for the database engine.
EngineFeatures *struct {
// Psmdb PSMDB represents additional features statuses for the PSMDB engine.
Psmdb *struct {
// SplitHorizon SplitHorizon status of SplitHorizon feature.
SplitHorizon *struct {
// Domains SplitHorizon status of SplitHorizon feature.
Domains *[]struct {
// Domain Domain is the SplitHorizon domain name.
Domain *string `json:"domain,omitempty"`
// PrivateIP PrivateIP is the private IP address for the domain.
PrivateIP *string `json:"privateIP,omitempty"`
// PublicIP PublicIP is the public IP address for the domain.
PublicIP *string `json:"publicIP,omitempty"`
} `json:"domains,omitempty"`
// Host ConnectionURL is the connection URL using SplitHorizon domains.
Host *string `json:"host,omitempty"`
} `json:"splitHorizon,omitempty"`
} `json:"psmdb,omitempty"`
} `json:"engineFeatures,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"`
// ObservedGeneration ObservedGeneration is the most recent generation observed for this DatabaseCluster.
ObservedGeneration *int64 `json:"observedGeneration,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 indicates the target version that the underlying CR should be updated to.
// When this field is set, it means the CR is running an outdated version and requires an update.
// The following restrictions apply until the CR is updated to the recommended version:
// - The operator cannot be upgraded
// - The database engine version (.spec.engine.version) cannot be modified
// This field is unset when the CR is already running at the latest 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"`
// LatestRestorableTime LatestRestorableTime is the latest time that can be used for PITR restore
LatestRestorableTime *time.Time `json:"latestRestorableTime,omitempty"`
// 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"`
Ready *bool `json:"ready,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 {
ConnectionUrl *string `json:"connectionUrl,omitempty"`
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 ( DatabaseClusterSpecEngineTypePostgresql DatabaseClusterSpecEngineType = "postgresql" DatabaseClusterSpecEngineTypePsmdb DatabaseClusterSpecEngineType = "psmdb" DatabaseClusterSpecEngineTypePxc 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 DatabaseClusterStatusConditionsStatus ¶ added in v1.6.0
type DatabaseClusterStatusConditionsStatus string
DatabaseClusterStatusConditionsStatus status of the condition, one of True, False, Unknown.
const ( False DatabaseClusterStatusConditionsStatus = "False" True DatabaseClusterStatusConditionsStatus = "True" Unknown DatabaseClusterStatusConditionsStatus = "Unknown" )
Defines values for DatabaseClusterStatusConditionsStatus.
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"`
// SecretKeys SecretKeys contains the definition of the various Secrets that
// the given DBEngine supports.
// This information acts like metadata for the Everest UI to guide the users
// in filling out the correct Secret keys for their clusters.
SecretKeys *struct {
// User User secret keys are used to store the details of the users.
User *[]struct {
// Description Description is a human-readable description of the Secret key.
Description *string `json:"description,omitempty"`
// Name Name is the name of the Secret key.
Name *string `json:"name,omitempty"`
} `json:"user,omitempty"`
} `json:"secretKeys,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 ComponentsMap is a map of database engine components.
Backup *map[string]struct {
Critical *bool `json:"critical,omitempty"`
ImageHash *string `json:"imageHash,omitempty"`
ImagePath *string `json:"imagePath,omitempty"`
// Status ComponentStatus represents status of the database engine component.
Status *string `json:"status,omitempty"`
} `json:"backup,omitempty"`
// Engine ComponentsMap is a map of database engine components.
Engine *map[string]struct {
Critical *bool `json:"critical,omitempty"`
ImageHash *string `json:"imageHash,omitempty"`
ImagePath *string `json:"imagePath,omitempty"`
// Status ComponentStatus represents status of the database engine component.
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 ComponentStatus represents status of the database engine component.
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 ComponentStatus represents status of the database engine component.
Status *string `json:"status,omitempty"`
} `json:"tools,omitempty"`
} `json:"availableVersions,omitempty"`
// OperatorUpgrade OperatorUpgrade contains the status of the operator upgrade.
OperatorUpgrade *struct {
// InstallPlanRef InstallPlanRef is a reference to the InstallPlan object created for the operator upgrade.
//
// We do not recommended approving this InstallPlan directly from the Kubernetes API.
// This is because this InstallPlan may also upgrade other operators in the namespace and that
// can have unintended consequences.
// This behaviour is not a bug from Everest, but an unfortunate limitation of OLM.
// We suggest using the Everest API/UI to handle operator upgrades, which will perform a series
// of checks and safely upgrade all operators in the namespace.
InstallPlanRef *struct {
// Name Name of the referent.
// This field is effectively required, but due to backwards compatibility is
// allowed to be empty. Instances of this type with an empty value here are
// almost certainly wrong.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
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.
//
// We do not recommended approving this InstallPlan directly from the Kubernetes API.
// This is because this InstallPlan may also upgrade other operators in the namespace and that
// can have unintended consequences.
// This behaviour is not a bug from Everest, but an unfortunate limitation of OLM.
// We suggest using the Everest API/UI to handle operator upgrades, which will perform a series
// of checks and safely upgrade all operators in the namespace.
InstallPlanRef *struct {
// Name Name of the referent.
// This field is effectively required, but due to backwards compatibility is
// allowed to be empty. Instances of this type with an empty value here are
// almost certainly wrong.
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
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 DeleteBackupStorageResponse ¶
type DeleteBackupStorageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *Error
JSON500 *Error
}
func ParseDeleteBackupStorageResponse ¶
func ParseDeleteBackupStorageResponse(rsp *http.Response) (*DeleteBackupStorageResponse, error)
ParseDeleteBackupStorageResponse parses an HTTP response from a DeleteBackupStorageWithResponse call
func (DeleteBackupStorageResponse) Status ¶
func (r DeleteBackupStorageResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBackupStorageResponse) StatusCode ¶
func (r DeleteBackupStorageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 DeleteDatabaseClusterBackupResponse ¶
type DeleteDatabaseClusterBackupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2
JSON400 *Error
JSON500 *Error
}
func ParseDeleteDatabaseClusterBackupResponse ¶
func ParseDeleteDatabaseClusterBackupResponse(rsp *http.Response) (*DeleteDatabaseClusterBackupResponse, error)
ParseDeleteDatabaseClusterBackupResponse parses an HTTP response from a DeleteDatabaseClusterBackupWithResponse call
func (DeleteDatabaseClusterBackupResponse) Status ¶
func (r DeleteDatabaseClusterBackupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDatabaseClusterBackupResponse) StatusCode ¶
func (r DeleteDatabaseClusterBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 DeleteDatabaseClusterResponse ¶
type DeleteDatabaseClusterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2
JSON400 *Error
JSON500 *Error
}
func ParseDeleteDatabaseClusterResponse ¶
func ParseDeleteDatabaseClusterResponse(rsp *http.Response) (*DeleteDatabaseClusterResponse, error)
ParseDeleteDatabaseClusterResponse parses an HTTP response from a DeleteDatabaseClusterWithResponse call
func (DeleteDatabaseClusterResponse) Status ¶
func (r DeleteDatabaseClusterResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDatabaseClusterResponse) StatusCode ¶
func (r DeleteDatabaseClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDatabaseClusterRestoreResponse ¶
type DeleteDatabaseClusterRestoreResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2
JSON400 *Error
JSON500 *Error
}
func ParseDeleteDatabaseClusterRestoreResponse ¶
func ParseDeleteDatabaseClusterRestoreResponse(rsp *http.Response) (*DeleteDatabaseClusterRestoreResponse, error)
ParseDeleteDatabaseClusterRestoreResponse parses an HTTP response from a DeleteDatabaseClusterRestoreWithResponse call
func (DeleteDatabaseClusterRestoreResponse) Status ¶
func (r DeleteDatabaseClusterRestoreResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDatabaseClusterRestoreResponse) StatusCode ¶
func (r DeleteDatabaseClusterRestoreResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLoadBalancerConfigResponse ¶ added in v1.9.0
type DeleteLoadBalancerConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2
JSON400 *Error
JSON500 *Error
}
func ParseDeleteLoadBalancerConfigResponse ¶ added in v1.9.0
func ParseDeleteLoadBalancerConfigResponse(rsp *http.Response) (*DeleteLoadBalancerConfigResponse, error)
ParseDeleteLoadBalancerConfigResponse parses an HTTP response from a DeleteLoadBalancerConfigWithResponse call
func (DeleteLoadBalancerConfigResponse) Status ¶ added in v1.9.0
func (r DeleteLoadBalancerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLoadBalancerConfigResponse) StatusCode ¶ added in v1.9.0
func (r DeleteLoadBalancerConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMonitoringInstanceResponse ¶
type DeleteMonitoringInstanceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *Error
JSON404 *Error
JSON500 *Error
}
func ParseDeleteMonitoringInstanceResponse ¶
func ParseDeleteMonitoringInstanceResponse(rsp *http.Response) (*DeleteMonitoringInstanceResponse, error)
ParseDeleteMonitoringInstanceResponse parses an HTTP response from a DeleteMonitoringInstanceWithResponse call
func (DeleteMonitoringInstanceResponse) Status ¶
func (r DeleteMonitoringInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMonitoringInstanceResponse) StatusCode ¶
func (r DeleteMonitoringInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePodSchedulingPolicyResponse ¶ added in v1.7.0
type DeletePodSchedulingPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *IoK8sApimachineryPkgApisMetaV1StatusV2
JSON400 *Error
JSON500 *Error
}
func ParseDeletePodSchedulingPolicyResponse ¶ added in v1.7.0
func ParseDeletePodSchedulingPolicyResponse(rsp *http.Response) (*DeletePodSchedulingPolicyResponse, error)
ParseDeletePodSchedulingPolicyResponse parses an HTTP response from a DeletePodSchedulingPolicyWithResponse call
func (DeletePodSchedulingPolicyResponse) Status ¶ added in v1.7.0
func (r DeletePodSchedulingPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePodSchedulingPolicyResponse) StatusCode ¶ added in v1.7.0
func (r DeletePodSchedulingPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSessionResponse ¶ added in v1.7.0
type DeleteSessionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON429 *Error
JSON500 *Error
}
func ParseDeleteSessionResponse ¶ added in v1.7.0
func ParseDeleteSessionResponse(rsp *http.Response) (*DeleteSessionResponse, error)
ParseDeleteSessionResponse parses an HTTP response from a DeleteSessionWithResponse call
func (DeleteSessionResponse) Status ¶ added in v1.7.0
func (r DeleteSessionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSessionResponse) StatusCode ¶ added in v1.7.0
func (r DeleteSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSplitHorizonDNSConfigResponse ¶ added in v1.10.0
type DeleteSplitHorizonDNSConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *Error
JSON404 *Error
JSON500 *Error
}
func ParseDeleteSplitHorizonDNSConfigResponse ¶ added in v1.10.0
func ParseDeleteSplitHorizonDNSConfigResponse(rsp *http.Response) (*DeleteSplitHorizonDNSConfigResponse, error)
ParseDeleteSplitHorizonDNSConfigResponse parses an HTTP response from a DeleteSplitHorizonDNSConfigWithResponse call
func (DeleteSplitHorizonDNSConfigResponse) Status ¶ added in v1.10.0
func (r DeleteSplitHorizonDNSConfigResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSplitHorizonDNSConfigResponse) StatusCode ¶ added in v1.10.0
func (r DeleteSplitHorizonDNSConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBackupStorageResponse ¶
type GetBackupStorageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BackupStorage
JSON400 *Error
JSON500 *Error
}
func ParseGetBackupStorageResponse ¶
func ParseGetBackupStorageResponse(rsp *http.Response) (*GetBackupStorageResponse, error)
ParseGetBackupStorageResponse parses an HTTP response from a GetBackupStorageWithResponse call
func (GetBackupStorageResponse) Status ¶
func (r GetBackupStorageResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackupStorageResponse) StatusCode ¶
func (r GetBackupStorageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseClusterBackupResponse ¶
type GetDatabaseClusterBackupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterBackup
JSON400 *Error
JSON500 *Error
}
func ParseGetDatabaseClusterBackupResponse ¶
func ParseGetDatabaseClusterBackupResponse(rsp *http.Response) (*GetDatabaseClusterBackupResponse, error)
ParseGetDatabaseClusterBackupResponse parses an HTTP response from a GetDatabaseClusterBackupWithResponse call
func (GetDatabaseClusterBackupResponse) Status ¶
func (r GetDatabaseClusterBackupResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseClusterBackupResponse) StatusCode ¶
func (r GetDatabaseClusterBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseClusterComponentsResponse ¶ added in v1.0.0
type GetDatabaseClusterComponentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterComponents
JSON400 *Error
JSON500 *Error
}
func ParseGetDatabaseClusterComponentsResponse ¶ added in v1.0.0
func ParseGetDatabaseClusterComponentsResponse(rsp *http.Response) (*GetDatabaseClusterComponentsResponse, error)
ParseGetDatabaseClusterComponentsResponse parses an HTTP response from a GetDatabaseClusterComponentsWithResponse call
func (GetDatabaseClusterComponentsResponse) Status ¶ added in v1.0.0
func (r GetDatabaseClusterComponentsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseClusterComponentsResponse) StatusCode ¶ added in v1.0.0
func (r GetDatabaseClusterComponentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseClusterCredentialsResponse ¶
type GetDatabaseClusterCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterCredential
JSON400 *Error
JSON500 *Error
}
func ParseGetDatabaseClusterCredentialsResponse ¶
func ParseGetDatabaseClusterCredentialsResponse(rsp *http.Response) (*GetDatabaseClusterCredentialsResponse, error)
ParseGetDatabaseClusterCredentialsResponse parses an HTTP response from a GetDatabaseClusterCredentialsWithResponse call
func (GetDatabaseClusterCredentialsResponse) Status ¶
func (r GetDatabaseClusterCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseClusterCredentialsResponse) StatusCode ¶
func (r GetDatabaseClusterCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseClusterPitrResponse ¶
type GetDatabaseClusterPitrResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterPitr
JSON400 *Error
JSON500 *Error
}
func ParseGetDatabaseClusterPitrResponse ¶
func ParseGetDatabaseClusterPitrResponse(rsp *http.Response) (*GetDatabaseClusterPitrResponse, error)
ParseGetDatabaseClusterPitrResponse parses an HTTP response from a GetDatabaseClusterPitrWithResponse call
func (GetDatabaseClusterPitrResponse) Status ¶
func (r GetDatabaseClusterPitrResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseClusterPitrResponse) StatusCode ¶
func (r GetDatabaseClusterPitrResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseClusterResponse ¶
type GetDatabaseClusterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseCluster
JSON400 *Error
JSON500 *Error
}
func ParseGetDatabaseClusterResponse ¶
func ParseGetDatabaseClusterResponse(rsp *http.Response) (*GetDatabaseClusterResponse, error)
ParseGetDatabaseClusterResponse parses an HTTP response from a GetDatabaseClusterWithResponse call
func (GetDatabaseClusterResponse) Status ¶
func (r GetDatabaseClusterResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseClusterResponse) StatusCode ¶
func (r GetDatabaseClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseClusterRestoreResponse ¶
type GetDatabaseClusterRestoreResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterRestore
JSON400 *Error
JSON500 *Error
}
func ParseGetDatabaseClusterRestoreResponse ¶
func ParseGetDatabaseClusterRestoreResponse(rsp *http.Response) (*GetDatabaseClusterRestoreResponse, error)
ParseGetDatabaseClusterRestoreResponse parses an HTTP response from a GetDatabaseClusterRestoreWithResponse call
func (GetDatabaseClusterRestoreResponse) Status ¶
func (r GetDatabaseClusterRestoreResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseClusterRestoreResponse) StatusCode ¶
func (r GetDatabaseClusterRestoreResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseEngineResponse ¶
type GetDatabaseEngineResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseEngine
JSON400 *Error
JSON500 *Error
}
func ParseGetDatabaseEngineResponse ¶
func ParseGetDatabaseEngineResponse(rsp *http.Response) (*GetDatabaseEngineResponse, error)
ParseGetDatabaseEngineResponse parses an HTTP response from a GetDatabaseEngineWithResponse call
func (GetDatabaseEngineResponse) Status ¶
func (r GetDatabaseEngineResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseEngineResponse) StatusCode ¶
func (r GetDatabaseEngineResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetKubernetesClusterInfoResponse ¶
type GetKubernetesClusterInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *KubernetesClusterInfo
JSON400 *Error
JSON500 *Error
}
func ParseGetKubernetesClusterInfoResponse ¶
func ParseGetKubernetesClusterInfoResponse(rsp *http.Response) (*GetKubernetesClusterInfoResponse, error)
ParseGetKubernetesClusterInfoResponse parses an HTTP response from a GetKubernetesClusterInfoWithResponse call
func (GetKubernetesClusterInfoResponse) Status ¶
func (r GetKubernetesClusterInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetKubernetesClusterInfoResponse) StatusCode ¶
func (r GetKubernetesClusterInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetKubernetesClusterResourcesResponse ¶
type GetKubernetesClusterResourcesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *KubernetesClusterResources
JSON400 *Error
JSON500 *Error
}
func ParseGetKubernetesClusterResourcesResponse ¶
func ParseGetKubernetesClusterResourcesResponse(rsp *http.Response) (*GetKubernetesClusterResourcesResponse, error)
ParseGetKubernetesClusterResourcesResponse parses an HTTP response from a GetKubernetesClusterResourcesWithResponse call
func (GetKubernetesClusterResourcesResponse) Status ¶
func (r GetKubernetesClusterResourcesResponse) Status() string
Status returns HTTPResponse.Status
func (GetKubernetesClusterResourcesResponse) StatusCode ¶
func (r GetKubernetesClusterResourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLoadBalancerConfigResponse ¶ added in v1.9.0
type GetLoadBalancerConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LoadBalancerConfig
JSON400 *Error
JSON500 *Error
}
func ParseGetLoadBalancerConfigResponse ¶ added in v1.9.0
func ParseGetLoadBalancerConfigResponse(rsp *http.Response) (*GetLoadBalancerConfigResponse, error)
ParseGetLoadBalancerConfigResponse parses an HTTP response from a GetLoadBalancerConfigWithResponse call
func (GetLoadBalancerConfigResponse) Status ¶ added in v1.9.0
func (r GetLoadBalancerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetLoadBalancerConfigResponse) StatusCode ¶ added in v1.9.0
func (r GetLoadBalancerConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMonitoringInstanceResponse ¶
type GetMonitoringInstanceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MonitoringInstance
JSON400 *Error
JSON404 *Error
JSON500 *Error
}
func ParseGetMonitoringInstanceResponse ¶
func ParseGetMonitoringInstanceResponse(rsp *http.Response) (*GetMonitoringInstanceResponse, error)
ParseGetMonitoringInstanceResponse parses an HTTP response from a GetMonitoringInstanceWithResponse call
func (GetMonitoringInstanceResponse) Status ¶
func (r GetMonitoringInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (GetMonitoringInstanceResponse) StatusCode ¶
func (r GetMonitoringInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPodSchedulingPolicyResponse ¶ added in v1.7.0
type GetPodSchedulingPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PodSchedulingPolicy
JSON400 *Error
JSON500 *Error
}
func ParseGetPodSchedulingPolicyResponse ¶ added in v1.7.0
func ParseGetPodSchedulingPolicyResponse(rsp *http.Response) (*GetPodSchedulingPolicyResponse, error)
ParseGetPodSchedulingPolicyResponse parses an HTTP response from a GetPodSchedulingPolicyWithResponse call
func (GetPodSchedulingPolicyResponse) Status ¶ added in v1.7.0
func (r GetPodSchedulingPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (GetPodSchedulingPolicyResponse) StatusCode ¶ added in v1.7.0
func (r GetPodSchedulingPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSettingsResponse ¶ added in v1.0.0
func ParseGetSettingsResponse ¶ added in v1.0.0
func ParseGetSettingsResponse(rsp *http.Response) (*GetSettingsResponse, error)
ParseGetSettingsResponse parses an HTTP response from a GetSettingsWithResponse call
func (GetSettingsResponse) Status ¶ added in v1.0.0
func (r GetSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetSettingsResponse) StatusCode ¶ added in v1.0.0
func (r GetSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSplitHorizonDNSConfigResponse ¶ added in v1.10.0
type GetSplitHorizonDNSConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SplitHorizonDNSConfig
JSON400 *Error
JSON404 *Error
JSON500 *Error
}
func ParseGetSplitHorizonDNSConfigResponse ¶ added in v1.10.0
func ParseGetSplitHorizonDNSConfigResponse(rsp *http.Response) (*GetSplitHorizonDNSConfigResponse, error)
ParseGetSplitHorizonDNSConfigResponse parses an HTTP response from a GetSplitHorizonDNSConfigWithResponse call
func (GetSplitHorizonDNSConfigResponse) Status ¶ added in v1.10.0
func (r GetSplitHorizonDNSConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetSplitHorizonDNSConfigResponse) StatusCode ¶ added in v1.10.0
func (r GetSplitHorizonDNSConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUpgradePlanResponse ¶ added in v1.1.0
type GetUpgradePlanResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UpgradePlan
JSON400 *Error
JSON500 *Error
}
func ParseGetUpgradePlanResponse ¶ added in v1.1.0
func ParseGetUpgradePlanResponse(rsp *http.Response) (*GetUpgradePlanResponse, error)
ParseGetUpgradePlanResponse parses an HTTP response from a GetUpgradePlanWithResponse call
func (GetUpgradePlanResponse) Status ¶ added in v1.1.0
func (r GetUpgradePlanResponse) Status() string
Status returns HTTPResponse.Status
func (GetUpgradePlanResponse) StatusCode ¶ added in v1.1.0
func (r GetUpgradePlanResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserPermissionsResponse ¶ added in v1.2.0
type GetUserPermissionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserPermissions
JSON400 *Error
JSON500 *Error
}
func ParseGetUserPermissionsResponse ¶ added in v1.2.0
func ParseGetUserPermissionsResponse(rsp *http.Response) (*GetUserPermissionsResponse, error)
ParseGetUserPermissionsResponse parses an HTTP response from a GetUserPermissionsWithResponse call
func (GetUserPermissionsResponse) Status ¶ added in v1.2.0
func (r GetUserPermissionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserPermissionsResponse) StatusCode ¶ added in v1.2.0
func (r GetUserPermissionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
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 List of storage class names that are available in the cluster.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
StorageClassNames []string `json:"storageClassNames"`
StorageClasses *[]StorageClass `json:"storageClasses,omitempty"`
}
KubernetesClusterInfo kubernetes cluster info
type KubernetesClusterResources ¶
type KubernetesClusterResources struct {
Available ResourcesAvailable `json:"available"`
Capacity ResourcesCapacity `json:"capacity"`
}
KubernetesClusterResources kubernetes cluster resources
type ListBackupStoragesResponse ¶
type ListBackupStoragesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BackupStoragesList
JSON400 *Error
JSON500 *Error
}
func ParseListBackupStoragesResponse ¶
func ParseListBackupStoragesResponse(rsp *http.Response) (*ListBackupStoragesResponse, error)
ParseListBackupStoragesResponse parses an HTTP response from a ListBackupStoragesWithResponse call
func (ListBackupStoragesResponse) Status ¶
func (r ListBackupStoragesResponse) Status() string
Status returns HTTPResponse.Status
func (ListBackupStoragesResponse) StatusCode ¶
func (r ListBackupStoragesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDataImportJobsResponse ¶ added in v1.8.0
type ListDataImportJobsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DataImportJobList
JSON500 *Error
}
func ParseListDataImportJobsResponse ¶ added in v1.8.0
func ParseListDataImportJobsResponse(rsp *http.Response) (*ListDataImportJobsResponse, error)
ParseListDataImportJobsResponse parses an HTTP response from a ListDataImportJobsWithResponse call
func (ListDataImportJobsResponse) Status ¶ added in v1.8.0
func (r ListDataImportJobsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDataImportJobsResponse) StatusCode ¶ added in v1.8.0
func (r ListDataImportJobsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDataImportersParams ¶ added in v1.8.0
type ListDataImportersParams struct {
// SupportedEngines Filter data importers by supported database engine type. Accepts a comma-separated list.
SupportedEngines *[]string `form:"supportedEngines,omitempty" json:"supportedEngines,omitempty"`
}
ListDataImportersParams defines parameters for ListDataImporters.
type ListDataImportersResponse ¶ added in v1.8.0
type ListDataImportersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DataImporterList
JSON400 *Error
JSON500 *Error
}
func ParseListDataImportersResponse ¶ added in v1.8.0
func ParseListDataImportersResponse(rsp *http.Response) (*ListDataImportersResponse, error)
ParseListDataImportersResponse parses an HTTP response from a ListDataImportersWithResponse call
func (ListDataImportersResponse) Status ¶ added in v1.8.0
func (r ListDataImportersResponse) Status() string
Status returns HTTPResponse.Status
func (ListDataImportersResponse) StatusCode ¶ added in v1.8.0
func (r ListDataImportersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabaseClusterBackupsResponse ¶
type ListDatabaseClusterBackupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterBackupList
JSON400 *Error
JSON500 *Error
}
func ParseListDatabaseClusterBackupsResponse ¶
func ParseListDatabaseClusterBackupsResponse(rsp *http.Response) (*ListDatabaseClusterBackupsResponse, error)
ParseListDatabaseClusterBackupsResponse parses an HTTP response from a ListDatabaseClusterBackupsWithResponse call
func (ListDatabaseClusterBackupsResponse) Status ¶
func (r ListDatabaseClusterBackupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabaseClusterBackupsResponse) StatusCode ¶
func (r ListDatabaseClusterBackupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabaseClusterRestoresResponse ¶
type ListDatabaseClusterRestoresResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterRestoreList
JSON400 *Error
JSON500 *Error
}
func ParseListDatabaseClusterRestoresResponse ¶
func ParseListDatabaseClusterRestoresResponse(rsp *http.Response) (*ListDatabaseClusterRestoresResponse, error)
ParseListDatabaseClusterRestoresResponse parses an HTTP response from a ListDatabaseClusterRestoresWithResponse call
func (ListDatabaseClusterRestoresResponse) Status ¶
func (r ListDatabaseClusterRestoresResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabaseClusterRestoresResponse) StatusCode ¶
func (r ListDatabaseClusterRestoresResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabaseClustersResponse ¶
type ListDatabaseClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterList
JSON400 *Error
JSON500 *Error
}
func ParseListDatabaseClustersResponse ¶
func ParseListDatabaseClustersResponse(rsp *http.Response) (*ListDatabaseClustersResponse, error)
ParseListDatabaseClustersResponse parses an HTTP response from a ListDatabaseClustersWithResponse call
func (ListDatabaseClustersResponse) Status ¶
func (r ListDatabaseClustersResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabaseClustersResponse) StatusCode ¶
func (r ListDatabaseClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabaseEnginesResponse ¶
type ListDatabaseEnginesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseEngineList
JSON400 *Error
JSON500 *Error
}
func ParseListDatabaseEnginesResponse ¶
func ParseListDatabaseEnginesResponse(rsp *http.Response) (*ListDatabaseEnginesResponse, error)
ParseListDatabaseEnginesResponse parses an HTTP response from a ListDatabaseEnginesWithResponse call
func (ListDatabaseEnginesResponse) Status ¶
func (r ListDatabaseEnginesResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabaseEnginesResponse) StatusCode ¶
func (r ListDatabaseEnginesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListLoadBalancerConfigResponse ¶ added in v1.9.0
type ListLoadBalancerConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LoadBalancerConfigList
JSON400 *Error
JSON500 *Error
}
func ParseListLoadBalancerConfigResponse ¶ added in v1.9.0
func ParseListLoadBalancerConfigResponse(rsp *http.Response) (*ListLoadBalancerConfigResponse, error)
ParseListLoadBalancerConfigResponse parses an HTTP response from a ListLoadBalancerConfigWithResponse call
func (ListLoadBalancerConfigResponse) Status ¶ added in v1.9.0
func (r ListLoadBalancerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (ListLoadBalancerConfigResponse) StatusCode ¶ added in v1.9.0
func (r ListLoadBalancerConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMonitoringInstancesResponse ¶
type ListMonitoringInstancesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MonitoringInstancesList
JSON400 *Error
JSON500 *Error
}
func ParseListMonitoringInstancesResponse ¶
func ParseListMonitoringInstancesResponse(rsp *http.Response) (*ListMonitoringInstancesResponse, error)
ParseListMonitoringInstancesResponse parses an HTTP response from a ListMonitoringInstancesWithResponse call
func (ListMonitoringInstancesResponse) Status ¶
func (r ListMonitoringInstancesResponse) Status() string
Status returns HTTPResponse.Status
func (ListMonitoringInstancesResponse) StatusCode ¶
func (r ListMonitoringInstancesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListNamespacesResponse ¶
type ListNamespacesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *NamespaceList
}
func ParseListNamespacesResponse ¶
func ParseListNamespacesResponse(rsp *http.Response) (*ListNamespacesResponse, error)
ParseListNamespacesResponse parses an HTTP response from a ListNamespacesWithResponse call
func (ListNamespacesResponse) Status ¶
func (r ListNamespacesResponse) Status() string
Status returns HTTPResponse.Status
func (ListNamespacesResponse) StatusCode ¶
func (r ListNamespacesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPodSchedulingPolicyParams ¶ added in v1.7.0
type ListPodSchedulingPolicyParams struct {
// EngineType Database engine type that Pod Scheduling Policy is applicable to.
EngineType *ListPodSchedulingPolicyParamsEngineType `form:"engineType,omitempty" json:"engineType,omitempty"`
// HasRules Return list of Pod Scheduling Policy that has at least 1 rule.
HasRules *bool `form:"hasRules,omitempty" json:"hasRules,omitempty"`
}
ListPodSchedulingPolicyParams defines parameters for ListPodSchedulingPolicy.
type ListPodSchedulingPolicyParamsEngineType ¶ added in v1.7.0
type ListPodSchedulingPolicyParamsEngineType string
ListPodSchedulingPolicyParamsEngineType defines parameters for ListPodSchedulingPolicy.
const ( Postgresql ListPodSchedulingPolicyParamsEngineType = "postgresql" Psmdb ListPodSchedulingPolicyParamsEngineType = "psmdb" Pxc ListPodSchedulingPolicyParamsEngineType = "pxc" )
Defines values for ListPodSchedulingPolicyParamsEngineType.
type ListPodSchedulingPolicyResponse ¶ added in v1.7.0
type ListPodSchedulingPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PodSchedulingPolicyList
JSON400 *Error
JSON500 *Error
}
func ParseListPodSchedulingPolicyResponse ¶ added in v1.7.0
func ParseListPodSchedulingPolicyResponse(rsp *http.Response) (*ListPodSchedulingPolicyResponse, error)
ParseListPodSchedulingPolicyResponse parses an HTTP response from a ListPodSchedulingPolicyWithResponse call
func (ListPodSchedulingPolicyResponse) Status ¶ added in v1.7.0
func (r ListPodSchedulingPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (ListPodSchedulingPolicyResponse) StatusCode ¶ added in v1.7.0
func (r ListPodSchedulingPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSplitHorizonDNSConfigsResponse ¶ added in v1.10.0
type ListSplitHorizonDNSConfigsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SplitHorizonDNSConfigList
JSON400 *Error
JSON500 *Error
}
func ParseListSplitHorizonDNSConfigsResponse ¶ added in v1.10.0
func ParseListSplitHorizonDNSConfigsResponse(rsp *http.Response) (*ListSplitHorizonDNSConfigsResponse, error)
ParseListSplitHorizonDNSConfigsResponse parses an HTTP response from a ListSplitHorizonDNSConfigsWithResponse call
func (ListSplitHorizonDNSConfigsResponse) Status ¶ added in v1.10.0
func (r ListSplitHorizonDNSConfigsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSplitHorizonDNSConfigsResponse) StatusCode ¶ added in v1.10.0
func (r ListSplitHorizonDNSConfigsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadBalancerConfig ¶ added in v1.9.0
type LoadBalancerConfig 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 LoadBalancerConfigSpec defines the desired state of LoadBalancerConfig.
Spec *struct {
// Annotations Annotations key-value pairs to apply as annotations to the load balancer
Annotations *map[string]string `json:"annotations,omitempty"`
} `json:"spec,omitempty"`
// Status LoadBalancerConfigStatus defines the observed state of LoadBalancerConfig.
Status *struct {
// InUse InUse is a flag that indicates if the config is used by any DB cluster.
InUse *bool `json:"inUse,omitempty"`
// LastObservedGeneration LastObservedGeneration is the most recent generation observed for this LoadBalancerConfig.
LastObservedGeneration *int64 `json:"lastObservedGeneration,omitempty"`
} `json:"status,omitempty"`
}
LoadBalancerConfig LoadBalancerConfig is the Schema for the Load Balancer Config API.
type LoadBalancerConfigList ¶ added in v1.9.0
type LoadBalancerConfigList 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 *[]LoadBalancerConfig `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"`
}
LoadBalancerConfigList LoadBalancerConfigList is an object that contains the list of the existing load balancer configs.
type MonitoringInstance ¶
type MonitoringInstance = MonitoringInstanceBaseWithName
MonitoringInstance Monitoring instance information
type MonitoringInstanceBase ¶
type MonitoringInstanceBase struct {
// AllowedNamespaces List of namespaces allowed to use this monitoring instance
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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"`
Namespace string `json:"namespace,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
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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"`
Namespace string `json:"namespace,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
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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"`
// Scopes OIDC scopes
Scopes []string `json:"scopes"`
}
OIDCConfig Everest OIDC provider configuration
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 PodSchedulingPolicy ¶ added in v1.7.0
type PodSchedulingPolicy 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 PodSchedulingPolicySpec defines the desired state of PodSchedulingPolicy.
Spec *struct {
// AffinityConfig AffinityConfig is a configuration for the affinity settings depending on the engine type.
AffinityConfig *struct {
// Postgresql PostgreSQL is the affinity configuration for the PostgreSQL DB clusters.
Postgresql *struct {
// Engine Engine is the affinity configuration for the DB Engine pods.
Engine *struct {
// NodeAffinity Describes node affinity scheduling rules for the pod.
NodeAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node matches the corresponding matchExpressions; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// Preference A node selector term, associated with the corresponding weight.
Preference struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"preference"`
// Weight Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to an update), the system
// may or may not try to eventually evict the pod from its node.
RequiredDuringSchedulingIgnoredDuringExecution *struct {
// NodeSelectorTerms Required. A list of node selector terms. The terms are ORed.
NodeSelectorTerms []struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"nodeSelectorTerms"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"nodeAffinity,omitempty"`
// PodAffinity Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
PodAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAffinity,omitempty"`
// PodAntiAffinity Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
PodAntiAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the anti-affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling anti-affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the anti-affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the anti-affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAntiAffinity,omitempty"`
} `json:"engine,omitempty"`
// Proxy Proxy is the affinity configuration for the DB Proxy pods.
Proxy *struct {
// NodeAffinity Describes node affinity scheduling rules for the pod.
NodeAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node matches the corresponding matchExpressions; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// Preference A node selector term, associated with the corresponding weight.
Preference struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"preference"`
// Weight Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to an update), the system
// may or may not try to eventually evict the pod from its node.
RequiredDuringSchedulingIgnoredDuringExecution *struct {
// NodeSelectorTerms Required. A list of node selector terms. The terms are ORed.
NodeSelectorTerms []struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"nodeSelectorTerms"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"nodeAffinity,omitempty"`
// PodAffinity Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
PodAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAffinity,omitempty"`
// PodAntiAffinity Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
PodAntiAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the anti-affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling anti-affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the anti-affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the anti-affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAntiAffinity,omitempty"`
} `json:"proxy,omitempty"`
} `json:"postgresql,omitempty"`
// Psmdb PSMDB is the affinity configuration for the PSMDB DB clusters.
Psmdb *struct {
// ConfigServer ConfigServer is the affinity configuration for the DB Config Server pods.
ConfigServer *struct {
// NodeAffinity Describes node affinity scheduling rules for the pod.
NodeAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node matches the corresponding matchExpressions; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// Preference A node selector term, associated with the corresponding weight.
Preference struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"preference"`
// Weight Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to an update), the system
// may or may not try to eventually evict the pod from its node.
RequiredDuringSchedulingIgnoredDuringExecution *struct {
// NodeSelectorTerms Required. A list of node selector terms. The terms are ORed.
NodeSelectorTerms []struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"nodeSelectorTerms"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"nodeAffinity,omitempty"`
// PodAffinity Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
PodAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAffinity,omitempty"`
// PodAntiAffinity Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
PodAntiAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the anti-affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling anti-affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the anti-affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the anti-affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAntiAffinity,omitempty"`
} `json:"configServer,omitempty"`
// Engine Engine is the affinity configuration for the DB Engine pods.
Engine *struct {
// NodeAffinity Describes node affinity scheduling rules for the pod.
NodeAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node matches the corresponding matchExpressions; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// Preference A node selector term, associated with the corresponding weight.
Preference struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"preference"`
// Weight Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to an update), the system
// may or may not try to eventually evict the pod from its node.
RequiredDuringSchedulingIgnoredDuringExecution *struct {
// NodeSelectorTerms Required. A list of node selector terms. The terms are ORed.
NodeSelectorTerms []struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"nodeSelectorTerms"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"nodeAffinity,omitempty"`
// PodAffinity Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
PodAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAffinity,omitempty"`
// PodAntiAffinity Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
PodAntiAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the anti-affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling anti-affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the anti-affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the anti-affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAntiAffinity,omitempty"`
} `json:"engine,omitempty"`
// Proxy Proxy is the affinity configuration for the DB Proxy pods.
Proxy *struct {
// NodeAffinity Describes node affinity scheduling rules for the pod.
NodeAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node matches the corresponding matchExpressions; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// Preference A node selector term, associated with the corresponding weight.
Preference struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"preference"`
// Weight Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to an update), the system
// may or may not try to eventually evict the pod from its node.
RequiredDuringSchedulingIgnoredDuringExecution *struct {
// NodeSelectorTerms Required. A list of node selector terms. The terms are ORed.
NodeSelectorTerms []struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"nodeSelectorTerms"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"nodeAffinity,omitempty"`
// PodAffinity Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
PodAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAffinity,omitempty"`
// PodAntiAffinity Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
PodAntiAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the anti-affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling anti-affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the anti-affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the anti-affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAntiAffinity,omitempty"`
} `json:"proxy,omitempty"`
} `json:"psmdb,omitempty"`
// Pxc PXC is the affinity configuration for the PXC DB clusters.
Pxc *struct {
// Engine Engine is the affinity configuration for the DB Engine pods.
Engine *struct {
// NodeAffinity Describes node affinity scheduling rules for the pod.
NodeAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node matches the corresponding matchExpressions; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// Preference A node selector term, associated with the corresponding weight.
Preference struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"preference"`
// Weight Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to an update), the system
// may or may not try to eventually evict the pod from its node.
RequiredDuringSchedulingIgnoredDuringExecution *struct {
// NodeSelectorTerms Required. A list of node selector terms. The terms are ORed.
NodeSelectorTerms []struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"nodeSelectorTerms"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"nodeAffinity,omitempty"`
// PodAffinity Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
PodAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAffinity,omitempty"`
// PodAntiAffinity Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
PodAntiAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the anti-affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling anti-affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the anti-affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the anti-affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAntiAffinity,omitempty"`
} `json:"engine,omitempty"`
// Proxy Proxy is the affinity configuration for the DB Proxy pods.
Proxy *struct {
// NodeAffinity Describes node affinity scheduling rules for the pod.
NodeAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node matches the corresponding matchExpressions; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// Preference A node selector term, associated with the corresponding weight.
Preference struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"preference"`
// Weight Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to an update), the system
// may or may not try to eventually evict the pod from its node.
RequiredDuringSchedulingIgnoredDuringExecution *struct {
// NodeSelectorTerms Required. A list of node selector terms. The terms are ORed.
NodeSelectorTerms []struct {
// MatchExpressions A list of node selector requirements by node's labels.
MatchExpressions *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchFields A list of node selector requirements by node's fields.
MatchFields *[]struct {
// Key The label key that the selector applies to.
Key string `json:"key"`
// Operator Represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
Operator string `json:"operator"`
// Values An array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. If the operator is Gt or Lt, the values
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchFields,omitempty"`
} `json:"nodeSelectorTerms"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"nodeAffinity,omitempty"`
// PodAffinity Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
PodAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAffinity,omitempty"`
// PodAntiAffinity Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).
PodAntiAffinity *struct {
// PreferredDuringSchedulingIgnoredDuringExecution The scheduler will prefer to schedule pods to nodes that satisfy
// the anti-affinity expressions specified by this field, but it may choose
// a node that violates one or more of the expressions. The node that is
// most preferred is the one with the greatest sum of weights, i.e.
// for each node that meets all of the scheduling requirements (resource
// request, requiredDuringScheduling anti-affinity expressions, etc.),
// compute a sum by iterating through the elements of this field and adding
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
PreferredDuringSchedulingIgnoredDuringExecution *[]struct {
// PodAffinityTerm Required. A pod affinity term, associated with the corresponding weight.
PodAffinityTerm struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"podAffinityTerm"`
// Weight weight associated with matching the corresponding podAffinityTerm,
// in the range 1-100.
Weight int32 `json:"weight"`
} `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
// RequiredDuringSchedulingIgnoredDuringExecution If the anti-affinity requirements specified by this field are not met at
// scheduling time, the pod will not be scheduled onto the node.
// If the anti-affinity requirements specified by this field cease to be met
// at some point during pod execution (e.g. due to a pod label update), the
// system may or may not try to eventually evict the pod from its node.
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
RequiredDuringSchedulingIgnoredDuringExecution *[]struct {
// LabelSelector A label query over a set of resources, in this case pods.
// If it's null, this PodAffinityTerm matches with no Pods.
LabelSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"labelSelector,omitempty"`
// MatchLabelKeys MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both matchLabelKeys and labelSelector.
// Also, matchLabelKeys cannot be set when labelSelector isn't set.
MatchLabelKeys *[]string `json:"matchLabelKeys,omitempty"`
// MismatchLabelKeys MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
// incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
// The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
// Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
MismatchLabelKeys *[]string `json:"mismatchLabelKeys,omitempty"`
// NamespaceSelector A label query over the set of namespaces that the term applies to.
// The term is applied to the union of the namespaces selected by this field
// and the ones listed in the namespaces field.
// null selector and null or empty namespaces list means "this pod's namespace".
// An empty selector ({}) matches all namespaces.
NamespaceSelector *struct {
// MatchExpressions matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions *[]struct {
// Key key is the label key that the selector applies to.
Key string `json:"key"`
// Operator operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator string `json:"operator"`
// Values values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
Values *[]string `json:"values,omitempty"`
} `json:"matchExpressions,omitempty"`
// MatchLabels matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels *map[string]string `json:"matchLabels,omitempty"`
} `json:"namespaceSelector,omitempty"`
// Namespaces namespaces specifies a static list of namespace names that the term applies to.
// The term is applied to the union of the namespaces listed in this field
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
Namespaces *[]string `json:"namespaces,omitempty"`
// TopologyKey This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
// whose value of the label with key topologyKey matches that of any node on which any of the
// selected pods is running.
// Empty topologyKey is not allowed.
TopologyKey string `json:"topologyKey"`
} `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
} `json:"podAntiAffinity,omitempty"`
} `json:"proxy,omitempty"`
} `json:"pxc,omitempty"`
} `json:"affinityConfig,omitempty"`
// EngineType EngineType is type of DB engine that this policy can be applied to.
EngineType PodSchedulingPolicySpecEngineType `json:"engineType"`
} `json:"spec,omitempty"`
// Status PodSchedulingPolicyStatus defines the observed state of PodSchedulingPolicy.
Status *struct {
// InUse InUse is a flag that indicates if the policy is used by any DB cluster.
InUse *bool `json:"inUse,omitempty"`
// LastObservedGeneration LastObservedGeneration is the most recent generation observed for this PodSchedulingPolicy.
LastObservedGeneration *int64 `json:"lastObservedGeneration,omitempty"`
} `json:"status,omitempty"`
}
PodSchedulingPolicy PodSchedulingPolicy is the Schema for the Pod Scheduling Policy API.
type PodSchedulingPolicyList ¶ added in v1.7.0
type PodSchedulingPolicyList 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 *[]PodSchedulingPolicy `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"`
}
PodSchedulingPolicyList PodSchedulingPolicyList is an object that contains the list of the existing pod scheduling policies.
type PodSchedulingPolicySpecEngineType ¶ added in v1.7.0
type PodSchedulingPolicySpecEngineType string
PodSchedulingPolicySpecEngineType EngineType is type of DB engine that this policy can be applied to.
const ( PodSchedulingPolicySpecEngineTypePostgresql PodSchedulingPolicySpecEngineType = "postgresql" PodSchedulingPolicySpecEngineTypePsmdb PodSchedulingPolicySpecEngineType = "psmdb" PodSchedulingPolicySpecEngineTypePxc PodSchedulingPolicySpecEngineType = "pxc" )
Defines values for PodSchedulingPolicySpecEngineType.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
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 Secret ¶ added in v1.8.0
type Secret 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"`
// Data Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
Data *map[string][]byte `json:"data,omitempty"`
// Immutable Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
Immutable *bool `json:"immutable,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 Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// StringData stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.
StringData *map[string]string `json:"stringData,omitempty"`
// Type Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
Type *string `json:"type,omitempty"`
}
Secret Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.
type Settings ¶ added in v1.0.0
type Settings struct {
// OidcConfig Everest OIDC provider configuration
OidcConfig OIDCConfig `json:"oidcConfig"`
}
Settings Everest global settings
type SplitHorizonDNSConfig ¶ added in v1.10.0
type SplitHorizonDNSConfig 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 Spec defines the desired state of SplitHorizonDNSConfig
Spec struct {
// BaseDomainNameSuffix BaseDomainNameSuffix is the base domain name suffix for generating domain names for each Pod in ReplicaSet.
// It should be a valid domain name suffix.
BaseDomainNameSuffix string `json:"baseDomainNameSuffix"`
// Tls TLS is the TLS configuration for the split-horizon DNS configuration.
Tls struct {
// Certificate Certificate is the TLS certificate and key for the split-horizon DNS configuration.
Certificate *struct {
// CaCrt CACert is based64 encoded ca.pem file content.
// It is provided as a write-only input field for convenience.
// When this field is set, a webhook writes this value in the Secret specified by `.spec.tls.secretName`
// and empties this field.
// This field is not stored in the API.
CaCrt string `json:"ca.crt"`
// CaKey CA Private Key is based64 encoded ca-key.pem file content.
// It is provided as a write-only input field for convenience.
// When this field is set, a webhook writes this value in the Secret specified by `.spec.tls.secretName`
// and empties this field.
// This field is not stored in the API.
CaKey string `json:"ca.key"`
} `json:"certificate,omitempty"`
// SecretName SecretName is the name of the secret containing the TLS certificate and key for the split-horizon DNS configuration.
SecretName string `json:"secretName"`
} `json:"tls"`
} `json:"spec"`
// Status Status defines the observed state of SplitHorizonDNSConfig
Status *struct {
// InUse InUse is a flag that indicates if the config is used by any DB cluster.
InUse *bool `json:"inUse,omitempty"`
// LastObservedGeneration LastObservedGeneration is the most recent generation observed for this SplitHorizonDNSConfig.
LastObservedGeneration *int64 `json:"lastObservedGeneration,omitempty"`
} `json:"status,omitempty"`
}
SplitHorizonDNSConfig SplitHorizonDNSConfig is the Schema for the splithorizondnsconfigs API.
type SplitHorizonDNSConfigList ¶ added in v1.10.0
type SplitHorizonDNSConfigList 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 *[]SplitHorizonDNSConfig `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"`
}
SplitHorizonDNSConfigList SplitHorizonDNSConfigList is an object that contains the list of the existing split-horizon dns configs.
type SplitHorizonDNSConfigUpdateParams ¶ added in v1.10.0
type SplitHorizonDNSConfigUpdateParams struct {
// BaseDomainNameSuffix BaseDomainNameSuffix is the base domain name suffix for generating domain names for each Pod in ReplicaSet.
// It should be a valid domain name suffix.
BaseDomainNameSuffix *string `json:"baseDomainNameSuffix,omitempty"`
// Certificate Certificate is the TLS certificate and key for the split-horizon DNS configuration.
Certificate *struct {
// CaCrt CACert is based64 encoded ca.pem file content.
// It is provided as a write-only input field for convenience.
// When this field is set, a webhook writes this value in the Secret specified by `.spec.tls.secretName`
// and empties this field.
// This field is not stored in the API.
CaCrt string `json:"ca.crt"`
// CaKey CAKey is based64 encoded ca-key.pem file content.
// It is provided as a write-only input field for convenience.
// When this field is set, a webhook writes this value in the Secret specified by `.spec.tls.secretName`
// and empties this field.
// This field is not stored in the API.
CaKey string `json:"ca.key"`
} `json:"certificate,omitempty"`
}
SplitHorizonDNSConfigUpdateParams SplitHorizonDNSConfigUpdateParams is the Schema for the splithorizondnsconfigs update API.
type StorageClass ¶ added in v1.6.0
type StorageClass struct {
// AllowVolumeExpansion allowVolumeExpansion shows whether the storage class allow volume expand.
AllowVolumeExpansion *bool `json:"allowVolumeExpansion,omitempty"`
// Metadata Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Metadata *map[string]interface{} `json:"metadata,omitempty"`
}
StorageClass StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.
StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
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
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
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 UpdateBackupStorageResponse ¶
type UpdateBackupStorageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BackupStorage
JSON400 *Error
JSON500 *Error
}
func ParseUpdateBackupStorageResponse ¶
func ParseUpdateBackupStorageResponse(rsp *http.Response) (*UpdateBackupStorageResponse, error)
ParseUpdateBackupStorageResponse parses an HTTP response from a UpdateBackupStorageWithResponse call
func (UpdateBackupStorageResponse) Status ¶
func (r UpdateBackupStorageResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateBackupStorageResponse) StatusCode ¶
func (r UpdateBackupStorageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDatabaseClusterJSONRequestBody ¶
type UpdateDatabaseClusterJSONRequestBody = DatabaseCluster
UpdateDatabaseClusterJSONRequestBody defines body for UpdateDatabaseCluster for application/json ContentType.
type UpdateDatabaseClusterResponse ¶
type UpdateDatabaseClusterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseCluster
JSON400 *Error
JSON500 *Error
}
func ParseUpdateDatabaseClusterResponse ¶
func ParseUpdateDatabaseClusterResponse(rsp *http.Response) (*UpdateDatabaseClusterResponse, error)
ParseUpdateDatabaseClusterResponse parses an HTTP response from a UpdateDatabaseClusterWithResponse call
func (UpdateDatabaseClusterResponse) Status ¶
func (r UpdateDatabaseClusterResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDatabaseClusterResponse) StatusCode ¶
func (r UpdateDatabaseClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDatabaseClusterRestoreJSONRequestBody ¶
type UpdateDatabaseClusterRestoreJSONRequestBody = DatabaseClusterRestore
UpdateDatabaseClusterRestoreJSONRequestBody defines body for UpdateDatabaseClusterRestore for application/json ContentType.
type UpdateDatabaseClusterRestoreResponse ¶
type UpdateDatabaseClusterRestoreResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseClusterRestore
JSON201 *DatabaseClusterRestore
JSON400 *Error
JSON500 *Error
}
func ParseUpdateDatabaseClusterRestoreResponse ¶
func ParseUpdateDatabaseClusterRestoreResponse(rsp *http.Response) (*UpdateDatabaseClusterRestoreResponse, error)
ParseUpdateDatabaseClusterRestoreResponse parses an HTTP response from a UpdateDatabaseClusterRestoreWithResponse call
func (UpdateDatabaseClusterRestoreResponse) Status ¶
func (r UpdateDatabaseClusterRestoreResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDatabaseClusterRestoreResponse) StatusCode ¶
func (r UpdateDatabaseClusterRestoreResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDatabaseEngineJSONRequestBody ¶
type UpdateDatabaseEngineJSONRequestBody = DatabaseEngine
UpdateDatabaseEngineJSONRequestBody defines body for UpdateDatabaseEngine for application/json ContentType.
type UpdateDatabaseEngineResponse ¶
type UpdateDatabaseEngineResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatabaseEngine
JSON400 *Error
JSON500 *Error
}
func ParseUpdateDatabaseEngineResponse ¶
func ParseUpdateDatabaseEngineResponse(rsp *http.Response) (*UpdateDatabaseEngineResponse, error)
ParseUpdateDatabaseEngineResponse parses an HTTP response from a UpdateDatabaseEngineWithResponse call
func (UpdateDatabaseEngineResponse) Status ¶
func (r UpdateDatabaseEngineResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDatabaseEngineResponse) StatusCode ¶
func (r UpdateDatabaseEngineResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLoadBalancerConfigJSONRequestBody ¶ added in v1.9.0
type UpdateLoadBalancerConfigJSONRequestBody = LoadBalancerConfig
UpdateLoadBalancerConfigJSONRequestBody defines body for UpdateLoadBalancerConfig for application/json ContentType.
type UpdateLoadBalancerConfigResponse ¶ added in v1.9.0
type UpdateLoadBalancerConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LoadBalancerConfig
JSON400 *Error
JSON500 *Error
}
func ParseUpdateLoadBalancerConfigResponse ¶ added in v1.9.0
func ParseUpdateLoadBalancerConfigResponse(rsp *http.Response) (*UpdateLoadBalancerConfigResponse, error)
ParseUpdateLoadBalancerConfigResponse parses an HTTP response from a UpdateLoadBalancerConfigWithResponse call
func (UpdateLoadBalancerConfigResponse) Status ¶ added in v1.9.0
func (r UpdateLoadBalancerConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLoadBalancerConfigResponse) StatusCode ¶ added in v1.9.0
func (r UpdateLoadBalancerConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMonitoringInstanceJSONRequestBody ¶
type UpdateMonitoringInstanceJSONRequestBody = MonitoringInstanceUpdateParams
UpdateMonitoringInstanceJSONRequestBody defines body for UpdateMonitoringInstance for application/json ContentType.
type UpdateMonitoringInstanceResponse ¶
type UpdateMonitoringInstanceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MonitoringInstance
JSON400 *Error
JSON404 *Error
JSON500 *Error
}
func ParseUpdateMonitoringInstanceResponse ¶
func ParseUpdateMonitoringInstanceResponse(rsp *http.Response) (*UpdateMonitoringInstanceResponse, error)
ParseUpdateMonitoringInstanceResponse parses an HTTP response from a UpdateMonitoringInstanceWithResponse call
func (UpdateMonitoringInstanceResponse) Status ¶
func (r UpdateMonitoringInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateMonitoringInstanceResponse) StatusCode ¶
func (r UpdateMonitoringInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePodSchedulingPolicyJSONRequestBody ¶ added in v1.7.0
type UpdatePodSchedulingPolicyJSONRequestBody = PodSchedulingPolicy
UpdatePodSchedulingPolicyJSONRequestBody defines body for UpdatePodSchedulingPolicy for application/json ContentType.
type UpdatePodSchedulingPolicyResponse ¶ added in v1.7.0
type UpdatePodSchedulingPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PodSchedulingPolicy
JSON400 *Error
JSON500 *Error
}
func ParseUpdatePodSchedulingPolicyResponse ¶ added in v1.7.0
func ParseUpdatePodSchedulingPolicyResponse(rsp *http.Response) (*UpdatePodSchedulingPolicyResponse, error)
ParseUpdatePodSchedulingPolicyResponse parses an HTTP response from a UpdatePodSchedulingPolicyWithResponse call
func (UpdatePodSchedulingPolicyResponse) Status ¶ added in v1.7.0
func (r UpdatePodSchedulingPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePodSchedulingPolicyResponse) StatusCode ¶ added in v1.7.0
func (r UpdatePodSchedulingPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSplitHorizonDNSConfigJSONRequestBody ¶ added in v1.10.0
type UpdateSplitHorizonDNSConfigJSONRequestBody = SplitHorizonDNSConfigUpdateParams
UpdateSplitHorizonDNSConfigJSONRequestBody defines body for UpdateSplitHorizonDNSConfig for application/json ContentType.
type UpdateSplitHorizonDNSConfigResponse ¶ added in v1.10.0
type UpdateSplitHorizonDNSConfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SplitHorizonDNSConfig
JSON400 *Error
JSON404 *Error
JSON500 *Error
}
func ParseUpdateSplitHorizonDNSConfigResponse ¶ added in v1.10.0
func ParseUpdateSplitHorizonDNSConfigResponse(rsp *http.Response) (*UpdateSplitHorizonDNSConfigResponse, error)
ParseUpdateSplitHorizonDNSConfigResponse parses an HTTP response from a UpdateSplitHorizonDNSConfigWithResponse call
func (UpdateSplitHorizonDNSConfigResponse) Status ¶ added in v1.10.0
func (r UpdateSplitHorizonDNSConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSplitHorizonDNSConfigResponse) StatusCode ¶ added in v1.10.0
func (r UpdateSplitHorizonDNSConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Upgrade ¶ added in v1.1.0
type Upgrade struct {
// CurrentVersion The current operator version
CurrentVersion *string `json:"currentVersion,omitempty"`
// Name Name of the operator
Name *string `json:"name,omitempty"`
// TargetVersion The next version of the operator to upgrade to.
TargetVersion *string `json:"targetVersion,omitempty"`
}
Upgrade defines model for Upgrade.
type UpgradePlan ¶ added in v1.1.0
type UpgradePlan struct {
PendingActions *[]UpgradeTask `json:"pendingActions,omitempty"`
Upgrades *[]Upgrade `json:"upgrades,omitempty"`
}
UpgradePlan Operators upgrade plan
type UpgradePlanApproval ¶ added in v1.1.0
type UpgradePlanApproval = map[string]interface{}
UpgradePlanApproval This no-op object is used to trigger the operator upgrade in a namespace.
type UpgradeTask ¶ added in v1.1.0
type UpgradeTask 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 *UpgradeTaskPendingTask `json:"pendingTask,omitempty"`
}
UpgradeTask defines model for UpgradeTask.
type UpgradeTaskPendingTask ¶ added in v1.1.0
type UpgradeTaskPendingTask string
UpgradeTaskPendingTask Pending task for the database cluster
const ( NotReady UpgradeTaskPendingTask = "notReady" Ready UpgradeTaskPendingTask = "ready" Restart UpgradeTaskPendingTask = "restart" UpgradeEngine UpgradeTaskPendingTask = "upgradeEngine" )
Defines values for UpgradeTaskPendingTask.
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.
type UserPermissions ¶ added in v1.2.0
type UserPermissions struct {
Enabled bool `json:"enabled"`
Permissions *[][]string `json:"permissions,omitempty"`
}
UserPermissions defines model for UserPermissions.
type Version ¶
type Version struct {
FullCommit string `json:"fullCommit"`
ProjectName string `json:"projectName"`
Version string `json:"version"`
}
Version Everest version info
type VersionInfoResponse ¶
func ParseVersionInfoResponse ¶
func ParseVersionInfoResponse(rsp *http.Response) (*VersionInfoResponse, error)
ParseVersionInfoResponse parses an HTTP response from a VersionInfoWithResponse call
func (VersionInfoResponse) Status ¶
func (r VersionInfoResponse) Status() string
Status returns HTTPResponse.Status
func (VersionInfoResponse) StatusCode ¶
func (r VersionInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode