Documentation
¶
Overview ¶
Package spec contains types and an HTTP client generated from the public OpenAPI specification at docs/api-reference/openapi.yaml.
Do not edit spec.gen.go by hand — run `make generate` from the raff-go repo root to regenerate it after changing the spec.
Package spec provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.
Index ¶
- Constants
- func NewAddAppCustomDomainRequest(server string, serviceID AppServiceRef, body AddAppCustomDomainJSONRequestBody) (*http.Request, error)
- func NewAddAppCustomDomainRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
- func NewAddK8SNodePoolRequest(server string, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, ...) (*http.Request, error)
- func NewAddK8SNodePoolRequestWithBody(server string, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, ...) (*http.Request, error)
- func NewAddMemberRequest(server string, body AddMemberJSONRequestBody) (*http.Request, error)
- func NewAddMemberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddProjectMemberRequest(server string, id ProjectIDPath, body AddProjectMemberJSONRequestBody) (*http.Request, error)
- func NewAddProjectMemberRequestWithBody(server string, id ProjectIDPath, contentType string, body io.Reader) (*http.Request, error)
- func NewAddVMTagRequest(server string, id VMIDPath, params *AddVMTagParams, ...) (*http.Request, error)
- func NewAddVMTagRequestWithBody(server string, id VMIDPath, params *AddVMTagParams, contentType string, ...) (*http.Request, error)
- func NewAppendVMNoteRequest(server string, id VMIDPath, pType AppendVMNoteParamsType, ...) (*http.Request, error)
- func NewAppendVMNoteRequestWithBody(server string, id VMIDPath, pType AppendVMNoteParamsType, ...) (*http.Request, error)
- func NewAssignK8SClusterFirewallRequest(server string, clusterID K8SClusterIDPath, ...) (*http.Request, error)
- func NewAssignK8SClusterFirewallRequestWithBody(server string, clusterID K8SClusterIDPath, ...) (*http.Request, error)
- func NewAttachVMIPRequest(server string, id VMIDPath, params *AttachVMIPParams, ...) (*http.Request, error)
- func NewAttachVMIPRequestWithBody(server string, id VMIDPath, params *AttachVMIPParams, contentType string, ...) (*http.Request, error)
- func NewAttachVMSecurityGroupRequest(server string, id VMIDPath, params *AttachVMSecurityGroupParams, ...) (*http.Request, error)
- func NewAttachVMSecurityGroupRequestWithBody(server string, id VMIDPath, params *AttachVMSecurityGroupParams, ...) (*http.Request, error)
- func NewAttachVMToVPCRequest(server string, id VMIDPath, params *AttachVMToVPCParams, ...) (*http.Request, error)
- func NewAttachVMToVPCRequestWithBody(server string, id VMIDPath, params *AttachVMToVPCParams, contentType string, ...) (*http.Request, error)
- func NewAttachVolumeRequest(server string, id int, params *AttachVolumeParams, ...) (*http.Request, error)
- func NewAttachVolumeRequestWithBody(server string, id int, params *AttachVolumeParams, contentType string, ...) (*http.Request, error)
- func NewBulkSetAppEnvVarsRequest(server string, serviceID AppServiceRef, body BulkSetAppEnvVarsJSONRequestBody) (*http.Request, error)
- func NewBulkSetAppEnvVarsRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
- func NewCancelAppJobRunRequest(server string, runID openapi_types.UUID) (*http.Request, error)
- func NewCancelInvitationRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewChangeIPRequest(server string, id IPIDPath, params *ChangeIPParams) (*http.Request, error)
- func NewConnectDatabaseVPCRequest(server string, databaseID DatabaseIDPath, ...) (*http.Request, error)
- func NewConnectDatabaseVPCRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
- func NewConvertLambdaRequest(server string, body ConvertLambdaJSONRequestBody) (*http.Request, error)
- func NewConvertLambdaRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAPIKeyRequest(server string, body CreateAPIKeyJSONRequestBody) (*http.Request, error)
- func NewCreateAPIKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAccountInvitationRequest(server string, body CreateAccountInvitationJSONRequestBody) (*http.Request, error)
- func NewCreateAccountInvitationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAppDeploymentRequest(server string, serviceID AppServiceRef, ...) (*http.Request, error)
- func NewCreateAppDeploymentRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAppServiceRequest(server string, params *CreateAppServiceParams, ...) (*http.Request, error)
- func NewCreateAppServiceRequestWithBody(server string, params *CreateAppServiceParams, contentType string, ...) (*http.Request, error)
- func NewCreateBackupRequest(server string, params *CreateBackupParams, body CreateBackupJSONRequestBody) (*http.Request, error)
- func NewCreateBackupRequestWithBody(server string, params *CreateBackupParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateBackupScheduleRequest(server string, params *CreateBackupScheduleParams, ...) (*http.Request, error)
- func NewCreateBackupScheduleRequestWithBody(server string, params *CreateBackupScheduleParams, contentType string, ...) (*http.Request, error)
- func NewCreateDatabaseBackupRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
- func NewCreateDatabaseRequest(server string, params *CreateDatabaseParams, ...) (*http.Request, error)
- func NewCreateDatabaseRequestWithBody(server string, params *CreateDatabaseParams, contentType string, ...) (*http.Request, error)
- func NewCreateFunctionBindingRequest(server string, functionID FunctionRef, ...) (*http.Request, error)
- func NewCreateFunctionBindingRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFunctionDeploymentRequest(server string, functionID FunctionRef, ...) (*http.Request, error)
- func NewCreateFunctionDeploymentRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFunctionRequest(server string, params *CreateFunctionParams, ...) (*http.Request, error)
- func NewCreateFunctionRequestWithBody(server string, params *CreateFunctionParams, contentType string, ...) (*http.Request, error)
- func NewCreateFunctionTriggerRequest(server string, functionID FunctionRef, ...) (*http.Request, error)
- func NewCreateFunctionTriggerRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateK8SClusterRequest(server string, params *CreateK8SClusterParams, ...) (*http.Request, error)
- func NewCreateK8SClusterRequestWithBody(server string, params *CreateK8SClusterParams, contentType string, ...) (*http.Request, error)
- func NewCreateProjectInvitationRequest(server string, id ProjectIDPath, body CreateProjectInvitationJSONRequestBody) (*http.Request, error)
- func NewCreateProjectInvitationRequestWithBody(server string, id ProjectIDPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error)
- func NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRoleRequest(server string, body CreateRoleJSONRequestBody) (*http.Request, error)
- func NewCreateRoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSSHKeyRequest(server string, body CreateSSHKeyJSONRequestBody) (*http.Request, error)
- func NewCreateSSHKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSecurityGroupRequest(server string, params *CreateSecurityGroupParams, ...) (*http.Request, error)
- func NewCreateSecurityGroupRequestWithBody(server string, params *CreateSecurityGroupParams, contentType string, ...) (*http.Request, error)
- func NewCreateSnapshotRequest(server string, params *CreateSnapshotParams, ...) (*http.Request, error)
- func NewCreateSnapshotRequestWithBody(server string, params *CreateSnapshotParams, contentType string, ...) (*http.Request, error)
- func NewCreateVMRequest(server string, params *CreateVMParams, body CreateVMJSONRequestBody) (*http.Request, error)
- func NewCreateVMRequestWithBody(server string, params *CreateVMParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateVPCRequest(server string, params *CreateVPCParams, body CreateVPCJSONRequestBody) (*http.Request, error)
- func NewCreateVPCRequestWithBody(server string, params *CreateVPCParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateVolumeRequest(server string, params *CreateVolumeParams, body CreateVolumeJSONRequestBody) (*http.Request, error)
- func NewCreateVolumeRequestWithBody(server string, params *CreateVolumeParams, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAppCustomDomainRequest(server string, domainID AppDomainIDPath) (*http.Request, error)
- func NewDeleteAppEnvVarRequest(server string, serviceID AppServiceRef, key string) (*http.Request, error)
- func NewDeleteAppServiceRequest(server string, serviceID AppServiceRef) (*http.Request, error)
- func NewDeleteBackupChainRequest(server string, id openapi_types.UUID, params *DeleteBackupChainParams) (*http.Request, error)
- func NewDeleteBackupRequest(server string, id openapi_types.UUID, params *DeleteBackupParams) (*http.Request, error)
- func NewDeleteBackupScheduleRequest(server string, id int, params *DeleteBackupScheduleParams) (*http.Request, error)
- func NewDeleteDatabaseRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
- func NewDeleteFunctionBindingRequest(server string, functionID FunctionRef, bindingID openapi_types.UUID) (*http.Request, error)
- func NewDeleteFunctionEnvVarRequest(server string, functionID FunctionRef, key string) (*http.Request, error)
- func NewDeleteFunctionRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewDeleteFunctionTriggerRequest(server string, functionID FunctionRef, triggerID openapi_types.UUID) (*http.Request, error)
- func NewDeleteK8SClusterRequest(server string, clusterID K8SClusterIDPath, params *DeleteK8SClusterParams) (*http.Request, error)
- func NewDeleteK8SNodePoolRequest(server string, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*http.Request, error)
- func NewDeleteK8STcpPortRequest(server string, clusterID K8SClusterIDPath, port int, ...) (*http.Request, error)
- func NewDeleteProjectRequest(server string, id ProjectIDPath) (*http.Request, error)
- func NewDeleteRoleRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteSSHKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteSecurityGroupRequest(server string, id SecurityGroupResourceIDPath, ...) (*http.Request, error)
- func NewDeleteSnapshotRequest(server string, id int, params *DeleteSnapshotParams) (*http.Request, error)
- func NewDeleteVMRequest(server string, id VMIDPath, params *DeleteVMParams, ...) (*http.Request, error)
- func NewDeleteVMRequestWithBody(server string, id VMIDPath, params *DeleteVMParams, contentType string, ...) (*http.Request, error)
- func NewDeleteVMsBulkRequest(server string, params *DeleteVMsBulkParams, body DeleteVMsBulkJSONRequestBody) (*http.Request, error)
- func NewDeleteVMsBulkRequestWithBody(server string, params *DeleteVMsBulkParams, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteVPCRequest(server string, id VPCIDPath, params *DeleteVPCParams) (*http.Request, error)
- func NewDeleteVolumeRequest(server string, id int, params *DeleteVolumeParams) (*http.Request, error)
- func NewDetachVMFromVPCRequest(server string, id VMIDPath, nicID NICIDPath, params *DetachVMFromVPCParams) (*http.Request, error)
- func NewDetachVMIPRequest(server string, id VMIDPath, nicID NICIDPath, params *DetachVMIPParams) (*http.Request, error)
- func NewDetachVMSecurityGroupRequest(server string, id VMIDPath, sgid SecurityGroupIDPath, nicID NICIDPath, ...) (*http.Request, error)
- func NewDetachVolumeRequest(server string, id int, params *DetachVolumeParams) (*http.Request, error)
- func NewFactoryResetVMRequest(server string, id VMIDPath, params *FactoryResetVMParams) (*http.Request, error)
- func NewGetAPIKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetAppDeploymentLogsRequest(server string, deploymentID AppDeploymentIDPath) (*http.Request, error)
- func NewGetAppDeploymentRequest(server string, deploymentID AppDeploymentIDPath) (*http.Request, error)
- func NewGetAppServiceMetricsRequest(server string, serviceID AppServiceRef, params *GetAppServiceMetricsParams) (*http.Request, error)
- func NewGetAppServiceRequest(server string, serviceID AppServiceRef) (*http.Request, error)
- func NewGetAppSpendSettingsRequest(server string) (*http.Request, error)
- func NewGetAppsPricingRequest(server string) (*http.Request, error)
- func NewGetAppsUsageRequest(server string, params *GetAppsUsageParams) (*http.Request, error)
- func NewGetBackupRequest(server string, id openapi_types.UUID, params *GetBackupParams) (*http.Request, error)
- func NewGetBackupScheduleRequest(server string, id int, params *GetBackupScheduleParams) (*http.Request, error)
- func NewGetDatabaseConnectionRequest(server string, databaseID DatabaseIDPath, params *GetDatabaseConnectionParams) (*http.Request, error)
- func NewGetDatabaseLogsRequest(server string, databaseID DatabaseIDPath, params *GetDatabaseLogsParams) (*http.Request, error)
- func NewGetDatabaseMetricsHistoryRequest(server string, databaseID DatabaseIDPath, ...) (*http.Request, error)
- func NewGetDatabaseMetricsRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
- func NewGetDatabaseRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
- func NewGetDatabaseSlowQueriesRequest(server string, databaseID DatabaseIDPath, params *GetDatabaseSlowQueriesParams) (*http.Request, error)
- func NewGetFunctionDeploymentLogsRequest(server string, functionID FunctionRef, deploymentID openapi_types.UUID) (*http.Request, error)
- func NewGetFunctionDeploymentRequest(server string, functionID FunctionRef, deploymentID openapi_types.UUID) (*http.Request, error)
- func NewGetFunctionMetricsRequest(server string, functionID FunctionRef, params *GetFunctionMetricsParams) (*http.Request, error)
- func NewGetFunctionRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewGetFunctionSourceRequest(server string, functionID FunctionRef, params *GetFunctionSourceParams) (*http.Request, error)
- func NewGetFunctionsPricingRequest(server string) (*http.Request, error)
- func NewGetFunctionsSpendSettingsRequest(server string) (*http.Request, error)
- func NewGetFunctionsUsageRequest(server string, params *GetFunctionsUsageParams) (*http.Request, error)
- func NewGetIPRequest(server string, id IPIDPath) (*http.Request, error)
- func NewGetK8SClusterFirewallRequest(server string, clusterID K8SClusterIDPath, params *GetK8SClusterFirewallParams) (*http.Request, error)
- func NewGetK8SClusterMetricsRequest(server string, clusterID K8SClusterIDPath, params *GetK8SClusterMetricsParams) (*http.Request, error)
- func NewGetK8SClusterRequest(server string, clusterID K8SClusterIDPath, params *GetK8SClusterParams) (*http.Request, error)
- func NewGetK8SClusterStatsRequest(server string, params *GetK8SClusterStatsParams) (*http.Request, error)
- func NewGetK8SKubeconfigRequest(server string, clusterID K8SClusterIDPath, params *GetK8SKubeconfigParams) (*http.Request, error)
- func NewGetK8SMetalLBPoolRequest(server string, clusterID K8SClusterIDPath, params *GetK8SMetalLBPoolParams) (*http.Request, error)
- func NewGetMemberRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetProjectMemberRequest(server string, id ProjectIDPath, memberID openapi_types.UUID) (*http.Request, error)
- func NewGetProjectRequest(server string, id ProjectIDPath) (*http.Request, error)
- func NewGetRoleRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetSSHKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetSecurityGroupRequest(server string, id SecurityGroupResourceIDPath, params *GetSecurityGroupParams) (*http.Request, error)
- func NewGetSnapshotRequest(server string, id int, params *GetSnapshotParams) (*http.Request, error)
- func NewGetVMNotesRequest(server string, id VMIDPath, params *GetVMNotesParams) (*http.Request, error)
- func NewGetVMRequest(server string, id VMIDPath) (*http.Request, error)
- func NewGetVPCRequest(server string, id VPCIDPath, params *GetVPCParams) (*http.Request, error)
- func NewGetVolumeRequest(server string, id int, params *GetVolumeParams) (*http.Request, error)
- func NewHardRebootVMRequest(server string, id VMIDPath, params *HardRebootVMParams) (*http.Request, error)
- func NewHealthCheckRequest(server string) (*http.Request, error)
- func NewListAPIKeysRequest(server string, params *ListAPIKeysParams) (*http.Request, error)
- func NewListAppCustomDomainsRequest(server string, serviceID AppServiceRef) (*http.Request, error)
- func NewListAppDeploymentsRequest(server string, serviceID AppServiceRef, params *ListAppDeploymentsParams) (*http.Request, error)
- func NewListAppEnvVarsRequest(server string, serviceID AppServiceRef) (*http.Request, error)
- func NewListAppJobRunsRequest(server string, serviceID AppServiceRef) (*http.Request, error)
- func NewListAppLogsRequest(server string, serviceID AppServiceRef, params *ListAppLogsParams) (*http.Request, error)
- func NewListAppServicesRequest(server string, params *ListAppServicesParams) (*http.Request, error)
- func NewListAppTiersRequest(server string, params *ListAppTiersParams) (*http.Request, error)
- func NewListBackupPricingRequest(server string, params *ListBackupPricingParams) (*http.Request, error)
- func NewListBackupSchedulesRequest(server string, params *ListBackupSchedulesParams) (*http.Request, error)
- func NewListBackupsRequest(server string, params *ListBackupsParams) (*http.Request, error)
- func NewListDatabaseBackupsRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
- func NewListDatabaseEnginesRequest(server string) (*http.Request, error)
- func NewListDatabaseExtensionsRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
- func NewListDatabasePlansRequest(server string, params *ListDatabasePlansParams) (*http.Request, error)
- func NewListDatabasePricingRequest(server string, params *ListDatabasePricingParams) (*http.Request, error)
- func NewListDatabasesRequest(server string) (*http.Request, error)
- func NewListFunctionBindingsRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewListFunctionDeploymentsRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewListFunctionEnvVarsRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewListFunctionInvocationsRequest(server string, functionID FunctionRef, params *ListFunctionInvocationsParams) (*http.Request, error)
- func NewListFunctionLogsRequest(server string, functionID FunctionRef, params *ListFunctionLogsParams) (*http.Request, error)
- func NewListFunctionRevisionsRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewListFunctionRuntimesRequest(server string) (*http.Request, error)
- func NewListFunctionTriggerRunsRequest(server string, functionID FunctionRef, params *ListFunctionTriggerRunsParams) (*http.Request, error)
- func NewListFunctionTriggersRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewListFunctionsRequest(server string, params *ListFunctionsParams) (*http.Request, error)
- func NewListIPPricingRequest(server string) (*http.Request, error)
- func NewListIPsRequest(server string, params *ListIPsParams) (*http.Request, error)
- func NewListK8SClusterEventsRequest(server string, clusterID K8SClusterIDPath, params *ListK8SClusterEventsParams) (*http.Request, error)
- func NewListK8SClusterNodesRequest(server string, clusterID K8SClusterIDPath, params *ListK8SClusterNodesParams) (*http.Request, error)
- func NewListK8SClusterUpgradesRequest(server string, clusterID K8SClusterIDPath, ...) (*http.Request, error)
- func NewListK8SClustersRequest(server string, params *ListK8SClustersParams) (*http.Request, error)
- func NewListK8SNodePlansRequest(server string) (*http.Request, error)
- func NewListK8SNodePoolsRequest(server string, clusterID K8SClusterIDPath, params *ListK8SNodePoolsParams) (*http.Request, error)
- func NewListK8STcpPortsRequest(server string, clusterID K8SClusterIDPath, params *ListK8STcpPortsParams) (*http.Request, error)
- func NewListK8SVersionsRequest(server string) (*http.Request, error)
- func NewListKubernetesPricingRequest(server string) (*http.Request, error)
- func NewListMembersRequest(server string, params *ListMembersParams) (*http.Request, error)
- func NewListPermissionsRequest(server string, params *ListPermissionsParams) (*http.Request, error)
- func NewListProjectMembersRequest(server string, id ProjectIDPath, params *ListProjectMembersParams) (*http.Request, error)
- func NewListProjectsRequest(server string, params *ListProjectsParams) (*http.Request, error)
- func NewListRegionsRequest(server string) (*http.Request, error)
- func NewListRolesRequest(server string, params *ListRolesParams) (*http.Request, error)
- func NewListSSHKeysRequest(server string) (*http.Request, error)
- func NewListSecurityGroupTemplatesRequest(server string) (*http.Request, error)
- func NewListSecurityGroupsRequest(server string, params *ListSecurityGroupsParams) (*http.Request, error)
- func NewListSnapshotPricingRequest(server string, params *ListSnapshotPricingParams) (*http.Request, error)
- func NewListSnapshotsRequest(server string, params *ListSnapshotsParams) (*http.Request, error)
- func NewListTemplatesRequest(server string, params *ListTemplatesParams) (*http.Request, error)
- func NewListVMNetworksRequest(server string, id VMIDPath, params *ListVMNetworksParams) (*http.Request, error)
- func NewListVMPricingRequest(server string, params *ListVMPricingParams) (*http.Request, error)
- func NewListVMsRequest(server string, params *ListVMsParams) (*http.Request, error)
- func NewListVPCCIDRSuggestionsRequest(server string, params *ListVPCCIDRSuggestionsParams) (*http.Request, error)
- func NewListVPCsRequest(server string, params *ListVPCsParams) (*http.Request, error)
- func NewListVolumePricingRequest(server string, params *ListVolumePricingParams) (*http.Request, error)
- func NewListVolumesRequest(server string, params *ListVolumesParams) (*http.Request, error)
- func NewPauseAppServiceRequest(server string, serviceID AppServiceRef) (*http.Request, error)
- func NewPauseFunctionRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewRebootVMRequest(server string, id VMIDPath, params *RebootVMParams) (*http.Request, error)
- func NewRegenerateAPIKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewReinstallVMRequest(server string, id VMIDPath, params *ReinstallVMParams, ...) (*http.Request, error)
- func NewReinstallVMRequestWithBody(server string, id VMIDPath, params *ReinstallVMParams, contentType string, ...) (*http.Request, error)
- func NewReleaseIPRequest(server string, id IPIDPath, params *ReleaseIPParams) (*http.Request, error)
- func NewRemoveMemberRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewRemoveProjectMemberRequest(server string, id ProjectIDPath, memberID openapi_types.UUID) (*http.Request, error)
- func NewRemoveVMTagRequest(server string, id VMIDPath, tagID TagIDPath, params *RemoveVMTagParams) (*http.Request, error)
- func NewRenameK8SClusterRequest(server string, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, ...) (*http.Request, error)
- func NewRenameK8SClusterRequestWithBody(server string, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, ...) (*http.Request, error)
- func NewRenameSnapshotRequest(server string, id int, params *RenameSnapshotParams, ...) (*http.Request, error)
- func NewRenameSnapshotRequestWithBody(server string, id int, params *RenameSnapshotParams, contentType string, ...) (*http.Request, error)
- func NewRenameVMRequest(server string, id VMIDPath, params *RenameVMParams, ...) (*http.Request, error)
- func NewRenameVMRequestWithBody(server string, id VMIDPath, params *RenameVMParams, contentType string, ...) (*http.Request, error)
- func NewRequestAppSourceUploadRequest(server string, serviceID AppServiceRef) (*http.Request, error)
- func NewRequestFunctionSourceUploadRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewReserveIPRequest(server string, params *ReserveIPParams, body ReserveIPJSONRequestBody) (*http.Request, error)
- func NewReserveIPRequestWithBody(server string, params *ReserveIPParams, contentType string, body io.Reader) (*http.Request, error)
- func NewResetBackupChainRequest(server string, id openapi_types.UUID, params *ResetBackupChainParams) (*http.Request, error)
- func NewResetK8SClusterFirewallRequest(server string, clusterID K8SClusterIDPath, ...) (*http.Request, error)
- func NewResetVMPasswordRequest(server string, id VMIDPath, params *ResetVMPasswordParams) (*http.Request, error)
- func NewResizeVMDiskRequest(server string, id VMIDPath, params *ResizeVMDiskParams, ...) (*http.Request, error)
- func NewResizeVMDiskRequestWithBody(server string, id VMIDPath, params *ResizeVMDiskParams, contentType string, ...) (*http.Request, error)
- func NewResizeVMRequest(server string, id VMIDPath, params *ResizeVMParams, ...) (*http.Request, error)
- func NewResizeVMRequestWithBody(server string, id VMIDPath, params *ResizeVMParams, contentType string, ...) (*http.Request, error)
- func NewResizeVolumeRequest(server string, id int, params *ResizeVolumeParams, ...) (*http.Request, error)
- func NewResizeVolumeRequestWithBody(server string, id int, params *ResizeVolumeParams, contentType string, ...) (*http.Request, error)
- func NewRestoreBackupRequest(server string, id openapi_types.UUID, params *RestoreBackupParams) (*http.Request, error)
- func NewRestoreDatabaseRequest(server string, databaseID DatabaseIDPath, body RestoreDatabaseJSONRequestBody) (*http.Request, error)
- func NewRestoreDatabaseRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
- func NewRestoreSnapshotRequest(server string, id int, params *RestoreSnapshotParams) (*http.Request, error)
- func NewResumeAppServiceRequest(server string, serviceID AppServiceRef) (*http.Request, error)
- func NewResumeDatabaseRequest(server string, databaseID string) (*http.Request, error)
- func NewResumeFunctionRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewRetryAppDomainVerificationRequest(server string, domainID AppDomainIDPath) (*http.Request, error)
- func NewRevealAppEnvVarsRequest(server string, serviceID AppServiceRef) (*http.Request, error)
- func NewRevealFunctionEnvVarsRequest(server string, functionID FunctionRef) (*http.Request, error)
- func NewRevokeAPIKeyRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewRollbackAppServiceRequest(server string, serviceID AppServiceRef, body RollbackAppServiceJSONRequestBody) (*http.Request, error)
- func NewRollbackAppServiceRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
- func NewRollbackFunctionRequest(server string, functionID FunctionRef, body RollbackFunctionJSONRequestBody) (*http.Request, error)
- func NewRollbackFunctionRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
- func NewRotateDatabaseCredentialsRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
- func NewRotateFunctionBindingRequest(server string, functionID FunctionRef, bindingID openapi_types.UUID) (*http.Request, error)
- func NewRotateK8SKubeconfigAccessRequest(server string, clusterID K8SClusterIDPath, ...) (*http.Request, error)
- func NewRunAppJobRequest(server string, serviceID AppServiceRef) (*http.Request, error)
- func NewSaveVMDiskAsImageRequest(server string, id VMIDPath, params *SaveVMDiskAsImageParams, ...) (*http.Request, error)
- func NewSaveVMDiskAsImageRequestWithBody(server string, id VMIDPath, params *SaveVMDiskAsImageParams, ...) (*http.Request, error)
- func NewScaleAppServiceRequest(server string, serviceID AppServiceRef, body ScaleAppServiceJSONRequestBody) (*http.Request, error)
- func NewScaleAppServiceRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
- func NewScaleDatabaseRequest(server string, databaseID DatabaseIDPath, body ScaleDatabaseJSONRequestBody) (*http.Request, error)
- func NewScaleDatabaseRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
- func NewScaleK8SNodePoolRequest(server string, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*http.Request, error)
- func NewScaleK8SNodePoolRequestWithBody(server string, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*http.Request, error)
- func NewSetAppEnvVarRequest(server string, serviceID AppServiceRef, body SetAppEnvVarJSONRequestBody) (*http.Request, error)
- func NewSetAppEnvVarRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
- func NewSetDatabaseExtensionRequest(server string, databaseID DatabaseIDPath, ...) (*http.Request, error)
- func NewSetDatabaseExtensionRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
- func NewSetDatabasePublicAccessRequest(server string, databaseID DatabaseIDPath, ...) (*http.Request, error)
- func NewSetDatabasePublicAccessRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
- func NewSetFunctionEnvVarRequest(server string, functionID FunctionRef, body SetFunctionEnvVarJSONRequestBody) (*http.Request, error)
- func NewSetFunctionEnvVarRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
- func NewStartVMRequest(server string, id VMIDPath, params *StartVMParams) (*http.Request, error)
- func NewStopVMRequest(server string, id VMIDPath, params *StopVMParams) (*http.Request, error)
- func NewUpdateAPIKeyRequest(server string, id openapi_types.UUID, body UpdateAPIKeyJSONRequestBody) (*http.Request, error)
- func NewUpdateAPIKeyRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAppSpendSettingsRequest(server string, body UpdateAppSpendSettingsJSONRequestBody) (*http.Request, error)
- func NewUpdateAppSpendSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateBackupScheduleRequest(server string, id int, params *UpdateBackupScheduleParams, ...) (*http.Request, error)
- func NewUpdateBackupScheduleRequestWithBody(server string, id int, params *UpdateBackupScheduleParams, contentType string, ...) (*http.Request, error)
- func NewUpdateDatabaseRequest(server string, databaseID DatabaseIDPath, body UpdateDatabaseJSONRequestBody) (*http.Request, error)
- func NewUpdateDatabaseRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFunctionRequest(server string, functionID FunctionRef, body UpdateFunctionJSONRequestBody) (*http.Request, error)
- func NewUpdateFunctionRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFunctionTriggerRequest(server string, functionID FunctionRef, triggerID openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateFunctionTriggerRequestWithBody(server string, functionID FunctionRef, triggerID openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateFunctionsSpendSettingsRequest(server string, body UpdateFunctionsSpendSettingsJSONRequestBody) (*http.Request, error)
- func NewUpdateFunctionsSpendSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateK8SClusterMaintenanceRequest(server string, clusterID K8SClusterIDPath, ...) (*http.Request, error)
- func NewUpdateK8SClusterMaintenanceRequestWithBody(server string, clusterID K8SClusterIDPath, ...) (*http.Request, error)
- func NewUpdateK8SMetalLBPoolRequest(server string, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, ...) (*http.Request, error)
- func NewUpdateK8SMetalLBPoolRequestWithBody(server string, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, ...) (*http.Request, error)
- func NewUpdateK8SNodePoolRequest(server string, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*http.Request, error)
- func NewUpdateK8SNodePoolRequestWithBody(server string, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*http.Request, error)
- func NewUpdateMemberRequest(server string, id openapi_types.UUID, body UpdateMemberJSONRequestBody) (*http.Request, error)
- func NewUpdateMemberRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateProjectMemberRequest(server string, id ProjectIDPath, memberID openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateProjectMemberRequestWithBody(server string, id ProjectIDPath, memberID openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateProjectRequest(server string, id ProjectIDPath, body UpdateProjectJSONRequestBody) (*http.Request, error)
- func NewUpdateProjectRequestWithBody(server string, id ProjectIDPath, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateRoleRequest(server string, id openapi_types.UUID, body UpdateRoleJSONRequestBody) (*http.Request, error)
- func NewUpdateRoleRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSSHKeyRequest(server string, id openapi_types.UUID, body UpdateSSHKeyJSONRequestBody) (*http.Request, error)
- func NewUpdateSSHKeyRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSecurityGroupRequest(server string, id SecurityGroupResourceIDPath, ...) (*http.Request, error)
- func NewUpdateSecurityGroupRequestWithBody(server string, id SecurityGroupResourceIDPath, ...) (*http.Request, error)
- func NewUpdateVMNoteRequest(server string, id VMIDPath, pType UpdateVMNoteParamsType, ...) (*http.Request, error)
- func NewUpdateVMNoteRequestWithBody(server string, id VMIDPath, pType UpdateVMNoteParamsType, ...) (*http.Request, error)
- func NewUpdateVMTagRequest(server string, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, ...) (*http.Request, error)
- func NewUpdateVMTagRequestWithBody(server string, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, ...) (*http.Request, error)
- func NewUpdateVPCRequest(server string, id VPCIDPath, params *UpdateVPCParams, ...) (*http.Request, error)
- func NewUpdateVPCRequestWithBody(server string, id VPCIDPath, params *UpdateVPCParams, contentType string, ...) (*http.Request, error)
- func NewUpgradeK8SClusterHARequest(server string, clusterID K8SClusterIDPath, params *UpgradeK8SClusterHAParams) (*http.Request, error)
- func NewUpgradeK8SClusterVersionRequest(server string, clusterID K8SClusterIDPath, ...) (*http.Request, error)
- func NewUpgradeK8SClusterVersionRequestWithBody(server string, clusterID K8SClusterIDPath, ...) (*http.Request, error)
- func NewUpsertVMNoteRequest(server string, id VMIDPath, pType UpsertVMNoteParamsType, ...) (*http.Request, error)
- func NewUpsertVMNoteRequestWithBody(server string, id VMIDPath, pType UpsertVMNoteParamsType, ...) (*http.Request, error)
- type APIKey
- type APIKeyProjectAccess
- type APIKeyRateLimitTier
- type APIKeyScope
- type APIKeyWithSecret
- type APIKeyWithSecretRateLimitTier
- type APIKeyWithSecretScope
- type AddAppCustomDomainJSONBody
- type AddAppCustomDomainJSONRequestBody
- type AddAppCustomDomainResponse
- type AddK8SNodePoolJSONRequestBody
- type AddK8SNodePoolParams
- type AddK8SNodePoolRequest
- type AddK8SNodePoolResponse
- type AddMemberJSONRequestBody
- type AddMemberRequest
- type AddMemberResponse
- type AddProjectMemberJSONRequestBody
- type AddProjectMemberRequest
- type AddProjectMemberResponse
- type AddVMTagJSONRequestBody
- type AddVMTagParams
- type AddVMTagRequest
- type AddVMTagResponse
- type AppBuildLogLine
- type AppCustomDomain
- type AppCustomDomainStatus
- type AppDeployment
- type AppDeploymentChannel
- type AppDeploymentIDPath
- type AppDeploymentStatus
- type AppDomainIDPath
- type AppEnvVar
- type AppJobRun
- type AppJobRunTrigger
- type AppLogLine
- type AppMetricSeries
- type AppService
- type AppServiceBillingType
- type AppServiceBuilder
- type AppServiceRef
- type AppServiceServiceType
- type AppServiceSourceType
- type AppServiceStatus
- type AppSpendSettings
- type AppSpendSettingsCapAction
- type AppTier
- type AppUsage
- type AppendVMNoteJSONRequestBody
- type AppendVMNoteParams
- type AppendVMNoteParamsType
- type AppendVMNoteResponse
- type AssignK8SClusterFirewallJSONBody
- type AssignK8SClusterFirewallJSONRequestBody
- type AssignK8SClusterFirewallParams
- type AssignK8SClusterFirewallResponse
- type AttachIPRequest
- type AttachIPRequestType
- type AttachIPResponse
- type AttachSecurityGroupRequest
- type AttachVMIPJSONRequestBody
- type AttachVMIPParams
- type AttachVMIPResponse
- type AttachVMSecurityGroupJSONRequestBody
- type AttachVMSecurityGroupParams
- type AttachVMSecurityGroupResponse
- type AttachVMToVPCJSONRequestBody
- type AttachVMToVPCParams
- type AttachVMToVPCResponse
- type AttachVPCRequest
- type AttachVolumeJSONRequestBody
- type AttachVolumeParams
- type AttachVolumeRequest
- type AttachVolumeResponse
- type Backup
- type BackupRegion
- type BackupSchedule
- type BackupScheduleLastRunStatus
- type BackupScheduleRegion
- type BackupScheduleType
- type BadRequest
- type BillingError
- type BillingErrorReason
- type BillingValidationFailed
- type BulkDeleteVMItemResult
- type BulkDeleteVMsResult
- type BulkSetAppEnvVarsJSONBody
- type BulkSetAppEnvVarsJSONRequestBody
- type BulkSetAppEnvVarsResponse
- type CIDRSuggestion
- type CIDRSuggestionSize
- type CIDRSuggestionsResponse
- type CancelAppJobRunResponse
- type CancelInvitationResponse
- type ChangeIPParams
- type ChangeIPResponse
- type Client
- func (c *Client) AddAppCustomDomain(ctx context.Context, serviceID AppServiceRef, ...) (*http.Response, error)
- func (c *Client) AddAppCustomDomainWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*http.Response, error)
- func (c *Client) AddK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, ...) (*http.Response, error)
- func (c *Client) AddK8SNodePoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, ...) (*http.Response, error)
- func (c *Client) AddMember(ctx context.Context, body AddMemberJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddMemberWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddProjectMember(ctx context.Context, id ProjectIDPath, body AddProjectMemberJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddProjectMemberWithBody(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddVMTag(ctx context.Context, id VMIDPath, params *AddVMTagParams, ...) (*http.Response, error)
- func (c *Client) AddVMTagWithBody(ctx context.Context, id VMIDPath, params *AddVMTagParams, contentType string, ...) (*http.Response, error)
- func (c *Client) AppendVMNote(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, ...) (*http.Response, error)
- func (c *Client) AppendVMNoteWithBody(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, ...) (*http.Response, error)
- func (c *Client) AssignK8SClusterFirewall(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) AssignK8SClusterFirewallWithBody(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) AttachVMIP(ctx context.Context, id VMIDPath, params *AttachVMIPParams, ...) (*http.Response, error)
- func (c *Client) AttachVMIPWithBody(ctx context.Context, id VMIDPath, params *AttachVMIPParams, contentType string, ...) (*http.Response, error)
- func (c *Client) AttachVMSecurityGroup(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, ...) (*http.Response, error)
- func (c *Client) AttachVMSecurityGroupWithBody(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, ...) (*http.Response, error)
- func (c *Client) AttachVMToVPC(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, ...) (*http.Response, error)
- func (c *Client) AttachVMToVPCWithBody(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, ...) (*http.Response, error)
- func (c *Client) AttachVolume(ctx context.Context, id int, params *AttachVolumeParams, ...) (*http.Response, error)
- func (c *Client) AttachVolumeWithBody(ctx context.Context, id int, params *AttachVolumeParams, contentType string, ...) (*http.Response, error)
- func (c *Client) BulkSetAppEnvVars(ctx context.Context, serviceID AppServiceRef, ...) (*http.Response, error)
- func (c *Client) BulkSetAppEnvVarsWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*http.Response, error)
- func (c *Client) CancelAppJobRun(ctx context.Context, runID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CancelInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ChangeIP(ctx context.Context, id IPIDPath, params *ChangeIPParams, ...) (*http.Response, error)
- func (c *Client) ConnectDatabaseVPC(ctx context.Context, databaseID DatabaseIDPath, ...) (*http.Response, error)
- func (c *Client) ConnectDatabaseVPCWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*http.Response, error)
- func (c *Client) ConvertLambda(ctx context.Context, body ConvertLambdaJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConvertLambdaWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAPIKey(ctx context.Context, body CreateAPIKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAccountInvitation(ctx context.Context, body CreateAccountInvitationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAccountInvitationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAppDeployment(ctx context.Context, serviceID AppServiceRef, ...) (*http.Response, error)
- func (c *Client) CreateAppDeploymentWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateAppService(ctx context.Context, params *CreateAppServiceParams, ...) (*http.Response, error)
- func (c *Client) CreateAppServiceWithBody(ctx context.Context, params *CreateAppServiceParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateBackup(ctx context.Context, params *CreateBackupParams, ...) (*http.Response, error)
- func (c *Client) CreateBackupSchedule(ctx context.Context, params *CreateBackupScheduleParams, ...) (*http.Response, error)
- func (c *Client) CreateBackupScheduleWithBody(ctx context.Context, params *CreateBackupScheduleParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateBackupWithBody(ctx context.Context, params *CreateBackupParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateDatabase(ctx context.Context, params *CreateDatabaseParams, ...) (*http.Response, error)
- func (c *Client) CreateDatabaseBackup(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateDatabaseWithBody(ctx context.Context, params *CreateDatabaseParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateFunction(ctx context.Context, params *CreateFunctionParams, ...) (*http.Response, error)
- func (c *Client) CreateFunctionBinding(ctx context.Context, functionID FunctionRef, ...) (*http.Response, error)
- func (c *Client) CreateFunctionBindingWithBody(ctx context.Context, functionID FunctionRef, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateFunctionDeployment(ctx context.Context, functionID FunctionRef, ...) (*http.Response, error)
- func (c *Client) CreateFunctionDeploymentWithBody(ctx context.Context, functionID FunctionRef, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateFunctionTrigger(ctx context.Context, functionID FunctionRef, ...) (*http.Response, error)
- func (c *Client) CreateFunctionTriggerWithBody(ctx context.Context, functionID FunctionRef, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateFunctionWithBody(ctx context.Context, params *CreateFunctionParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateK8SCluster(ctx context.Context, params *CreateK8SClusterParams, ...) (*http.Response, error)
- func (c *Client) CreateK8SClusterWithBody(ctx context.Context, params *CreateK8SClusterParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateProjectInvitation(ctx context.Context, id ProjectIDPath, ...) (*http.Response, error)
- func (c *Client) CreateProjectInvitationWithBody(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateRole(ctx context.Context, body CreateRoleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRoleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSSHKey(ctx context.Context, body CreateSSHKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSSHKeyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSecurityGroup(ctx context.Context, params *CreateSecurityGroupParams, ...) (*http.Response, error)
- func (c *Client) CreateSecurityGroupWithBody(ctx context.Context, params *CreateSecurityGroupParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSnapshot(ctx context.Context, params *CreateSnapshotParams, ...) (*http.Response, error)
- func (c *Client) CreateSnapshotWithBody(ctx context.Context, params *CreateSnapshotParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateVM(ctx context.Context, params *CreateVMParams, body CreateVMJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateVMWithBody(ctx context.Context, params *CreateVMParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateVPC(ctx context.Context, params *CreateVPCParams, body CreateVPCJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateVPCWithBody(ctx context.Context, params *CreateVPCParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateVolume(ctx context.Context, params *CreateVolumeParams, ...) (*http.Response, error)
- func (c *Client) CreateVolumeWithBody(ctx context.Context, params *CreateVolumeParams, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteAppCustomDomain(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAppEnvVar(ctx context.Context, serviceID AppServiceRef, key string, ...) (*http.Response, error)
- func (c *Client) DeleteAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteBackup(ctx context.Context, id openapi_types.UUID, params *DeleteBackupParams, ...) (*http.Response, error)
- func (c *Client) DeleteBackupChain(ctx context.Context, id openapi_types.UUID, params *DeleteBackupChainParams, ...) (*http.Response, error)
- func (c *Client) DeleteBackupSchedule(ctx context.Context, id int, params *DeleteBackupScheduleParams, ...) (*http.Response, error)
- func (c *Client) DeleteDatabase(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFunctionBinding(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteFunctionEnvVar(ctx context.Context, functionID FunctionRef, key string, ...) (*http.Response, error)
- func (c *Client) DeleteFunctionTrigger(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteK8SCluster(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) DeleteK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*http.Response, error)
- func (c *Client) DeleteK8STcpPort(ctx context.Context, clusterID K8SClusterIDPath, port int, ...) (*http.Response, error)
- func (c *Client) DeleteProject(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteRole(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSSHKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSecurityGroup(ctx context.Context, id SecurityGroupResourceIDPath, ...) (*http.Response, error)
- func (c *Client) DeleteSnapshot(ctx context.Context, id int, params *DeleteSnapshotParams, ...) (*http.Response, error)
- func (c *Client) DeleteVM(ctx context.Context, id VMIDPath, params *DeleteVMParams, ...) (*http.Response, error)
- func (c *Client) DeleteVMWithBody(ctx context.Context, id VMIDPath, params *DeleteVMParams, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteVMsBulk(ctx context.Context, params *DeleteVMsBulkParams, ...) (*http.Response, error)
- func (c *Client) DeleteVMsBulkWithBody(ctx context.Context, params *DeleteVMsBulkParams, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteVPC(ctx context.Context, id VPCIDPath, params *DeleteVPCParams, ...) (*http.Response, error)
- func (c *Client) DeleteVolume(ctx context.Context, id int, params *DeleteVolumeParams, ...) (*http.Response, error)
- func (c *Client) DetachVMFromVPC(ctx context.Context, id VMIDPath, nicID NICIDPath, ...) (*http.Response, error)
- func (c *Client) DetachVMIP(ctx context.Context, id VMIDPath, nicID NICIDPath, params *DetachVMIPParams, ...) (*http.Response, error)
- func (c *Client) DetachVMSecurityGroup(ctx context.Context, id VMIDPath, sgid SecurityGroupIDPath, nicID NICIDPath, ...) (*http.Response, error)
- func (c *Client) DetachVolume(ctx context.Context, id int, params *DetachVolumeParams, ...) (*http.Response, error)
- func (c *Client) FactoryResetVM(ctx context.Context, id VMIDPath, params *FactoryResetVMParams, ...) (*http.Response, error)
- func (c *Client) GetAPIKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppDeployment(ctx context.Context, deploymentID AppDeploymentIDPath, ...) (*http.Response, error)
- func (c *Client) GetAppDeploymentLogs(ctx context.Context, deploymentID AppDeploymentIDPath, ...) (*http.Response, error)
- func (c *Client) GetAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppServiceMetrics(ctx context.Context, serviceID AppServiceRef, ...) (*http.Response, error)
- func (c *Client) GetAppSpendSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppsPricing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAppsUsage(ctx context.Context, params *GetAppsUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBackup(ctx context.Context, id openapi_types.UUID, params *GetBackupParams, ...) (*http.Response, error)
- func (c *Client) GetBackupSchedule(ctx context.Context, id int, params *GetBackupScheduleParams, ...) (*http.Response, error)
- func (c *Client) GetDatabase(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDatabaseConnection(ctx context.Context, databaseID DatabaseIDPath, ...) (*http.Response, error)
- func (c *Client) GetDatabaseLogs(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseLogsParams, ...) (*http.Response, error)
- func (c *Client) GetDatabaseMetrics(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDatabaseMetricsHistory(ctx context.Context, databaseID DatabaseIDPath, ...) (*http.Response, error)
- func (c *Client) GetDatabaseSlowQueries(ctx context.Context, databaseID DatabaseIDPath, ...) (*http.Response, error)
- func (c *Client) GetFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFunctionDeployment(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetFunctionDeploymentLogs(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetFunctionMetrics(ctx context.Context, functionID FunctionRef, params *GetFunctionMetricsParams, ...) (*http.Response, error)
- func (c *Client) GetFunctionSource(ctx context.Context, functionID FunctionRef, params *GetFunctionSourceParams, ...) (*http.Response, error)
- func (c *Client) GetFunctionsPricing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFunctionsSpendSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFunctionsUsage(ctx context.Context, params *GetFunctionsUsageParams, ...) (*http.Response, error)
- func (c *Client) GetIP(ctx context.Context, id IPIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetK8SCluster(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterParams, ...) (*http.Response, error)
- func (c *Client) GetK8SClusterFirewall(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) GetK8SClusterMetrics(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) GetK8SClusterStats(ctx context.Context, params *GetK8SClusterStatsParams, ...) (*http.Response, error)
- func (c *Client) GetK8SKubeconfig(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) GetK8SMetalLBPool(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) GetMember(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProject(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjectMember(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetRole(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSSHKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecurityGroup(ctx context.Context, id SecurityGroupResourceIDPath, ...) (*http.Response, error)
- func (c *Client) GetSnapshot(ctx context.Context, id int, params *GetSnapshotParams, ...) (*http.Response, error)
- func (c *Client) GetVM(ctx context.Context, id VMIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVMNotes(ctx context.Context, id VMIDPath, params *GetVMNotesParams, ...) (*http.Response, error)
- func (c *Client) GetVPC(ctx context.Context, id VPCIDPath, params *GetVPCParams, ...) (*http.Response, error)
- func (c *Client) GetVolume(ctx context.Context, id int, params *GetVolumeParams, ...) (*http.Response, error)
- func (c *Client) HardRebootVM(ctx context.Context, id VMIDPath, params *HardRebootVMParams, ...) (*http.Response, error)
- func (c *Client) HealthCheck(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAPIKeys(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAppCustomDomains(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAppDeployments(ctx context.Context, serviceID AppServiceRef, params *ListAppDeploymentsParams, ...) (*http.Response, error)
- func (c *Client) ListAppEnvVars(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAppJobRuns(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAppLogs(ctx context.Context, serviceID AppServiceRef, params *ListAppLogsParams, ...) (*http.Response, error)
- func (c *Client) ListAppServices(ctx context.Context, params *ListAppServicesParams, ...) (*http.Response, error)
- func (c *Client) ListAppTiers(ctx context.Context, params *ListAppTiersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListBackupPricing(ctx context.Context, params *ListBackupPricingParams, ...) (*http.Response, error)
- func (c *Client) ListBackupSchedules(ctx context.Context, params *ListBackupSchedulesParams, ...) (*http.Response, error)
- func (c *Client) ListBackups(ctx context.Context, params *ListBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDatabaseBackups(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDatabaseEngines(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDatabaseExtensions(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDatabasePlans(ctx context.Context, params *ListDatabasePlansParams, ...) (*http.Response, error)
- func (c *Client) ListDatabasePricing(ctx context.Context, params *ListDatabasePricingParams, ...) (*http.Response, error)
- func (c *Client) ListDatabases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFunctionBindings(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFunctionDeployments(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFunctionEnvVars(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFunctionInvocations(ctx context.Context, functionID FunctionRef, ...) (*http.Response, error)
- func (c *Client) ListFunctionLogs(ctx context.Context, functionID FunctionRef, params *ListFunctionLogsParams, ...) (*http.Response, error)
- func (c *Client) ListFunctionRevisions(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFunctionRuntimes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFunctionTriggerRuns(ctx context.Context, functionID FunctionRef, ...) (*http.Response, error)
- func (c *Client) ListFunctionTriggers(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFunctions(ctx context.Context, params *ListFunctionsParams, ...) (*http.Response, error)
- func (c *Client) ListIPPricing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListIPs(ctx context.Context, params *ListIPsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListK8SClusterEvents(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) ListK8SClusterNodes(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) ListK8SClusterUpgrades(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) ListK8SClusters(ctx context.Context, params *ListK8SClustersParams, ...) (*http.Response, error)
- func (c *Client) ListK8SNodePlans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListK8SNodePools(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) ListK8STcpPorts(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8STcpPortsParams, ...) (*http.Response, error)
- func (c *Client) ListK8SVersions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListKubernetesPricing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMembers(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPermissions(ctx context.Context, params *ListPermissionsParams, ...) (*http.Response, error)
- func (c *Client) ListProjectMembers(ctx context.Context, id ProjectIDPath, params *ListProjectMembersParams, ...) (*http.Response, error)
- func (c *Client) ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRegions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRoles(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSSHKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSecurityGroupTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSecurityGroups(ctx context.Context, params *ListSecurityGroupsParams, ...) (*http.Response, error)
- func (c *Client) ListSnapshotPricing(ctx context.Context, params *ListSnapshotPricingParams, ...) (*http.Response, error)
- func (c *Client) ListSnapshots(ctx context.Context, params *ListSnapshotsParams, ...) (*http.Response, error)
- func (c *Client) ListTemplates(ctx context.Context, params *ListTemplatesParams, ...) (*http.Response, error)
- func (c *Client) ListVMNetworks(ctx context.Context, id VMIDPath, params *ListVMNetworksParams, ...) (*http.Response, error)
- func (c *Client) ListVMPricing(ctx context.Context, params *ListVMPricingParams, ...) (*http.Response, error)
- func (c *Client) ListVMs(ctx context.Context, params *ListVMsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListVPCCIDRSuggestions(ctx context.Context, params *ListVPCCIDRSuggestionsParams, ...) (*http.Response, error)
- func (c *Client) ListVPCs(ctx context.Context, params *ListVPCsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListVolumePricing(ctx context.Context, params *ListVolumePricingParams, ...) (*http.Response, error)
- func (c *Client) ListVolumes(ctx context.Context, params *ListVolumesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PauseAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PauseFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RebootVM(ctx context.Context, id VMIDPath, params *RebootVMParams, ...) (*http.Response, error)
- func (c *Client) RegenerateAPIKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReinstallVM(ctx context.Context, id VMIDPath, params *ReinstallVMParams, ...) (*http.Response, error)
- func (c *Client) ReinstallVMWithBody(ctx context.Context, id VMIDPath, params *ReinstallVMParams, ...) (*http.Response, error)
- func (c *Client) ReleaseIP(ctx context.Context, id IPIDPath, params *ReleaseIPParams, ...) (*http.Response, error)
- func (c *Client) RemoveMember(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveProjectMember(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RemoveVMTag(ctx context.Context, id VMIDPath, tagID TagIDPath, params *RemoveVMTagParams, ...) (*http.Response, error)
- func (c *Client) RenameK8SCluster(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) RenameK8SClusterWithBody(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) RenameSnapshot(ctx context.Context, id int, params *RenameSnapshotParams, ...) (*http.Response, error)
- func (c *Client) RenameSnapshotWithBody(ctx context.Context, id int, params *RenameSnapshotParams, contentType string, ...) (*http.Response, error)
- func (c *Client) RenameVM(ctx context.Context, id VMIDPath, params *RenameVMParams, ...) (*http.Response, error)
- func (c *Client) RenameVMWithBody(ctx context.Context, id VMIDPath, params *RenameVMParams, contentType string, ...) (*http.Response, error)
- func (c *Client) RequestAppSourceUpload(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RequestFunctionSourceUpload(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReserveIP(ctx context.Context, params *ReserveIPParams, body ReserveIPJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReserveIPWithBody(ctx context.Context, params *ReserveIPParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ResetBackupChain(ctx context.Context, id openapi_types.UUID, params *ResetBackupChainParams, ...) (*http.Response, error)
- func (c *Client) ResetK8SClusterFirewall(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) ResetVMPassword(ctx context.Context, id VMIDPath, params *ResetVMPasswordParams, ...) (*http.Response, error)
- func (c *Client) ResizeVM(ctx context.Context, id VMIDPath, params *ResizeVMParams, ...) (*http.Response, error)
- func (c *Client) ResizeVMDisk(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, ...) (*http.Response, error)
- func (c *Client) ResizeVMDiskWithBody(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, ...) (*http.Response, error)
- func (c *Client) ResizeVMWithBody(ctx context.Context, id VMIDPath, params *ResizeVMParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ResizeVolume(ctx context.Context, id int, params *ResizeVolumeParams, ...) (*http.Response, error)
- func (c *Client) ResizeVolumeWithBody(ctx context.Context, id int, params *ResizeVolumeParams, contentType string, ...) (*http.Response, error)
- func (c *Client) RestoreBackup(ctx context.Context, id openapi_types.UUID, params *RestoreBackupParams, ...) (*http.Response, error)
- func (c *Client) RestoreDatabase(ctx context.Context, databaseID DatabaseIDPath, ...) (*http.Response, error)
- func (c *Client) RestoreDatabaseWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*http.Response, error)
- func (c *Client) RestoreSnapshot(ctx context.Context, id int, params *RestoreSnapshotParams, ...) (*http.Response, error)
- func (c *Client) ResumeAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResumeDatabase(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResumeFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RetryAppDomainVerification(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RevealAppEnvVars(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RevealFunctionEnvVars(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RevokeAPIKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RollbackAppService(ctx context.Context, serviceID AppServiceRef, ...) (*http.Response, error)
- func (c *Client) RollbackAppServiceWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*http.Response, error)
- func (c *Client) RollbackFunction(ctx context.Context, functionID FunctionRef, ...) (*http.Response, error)
- func (c *Client) RollbackFunctionWithBody(ctx context.Context, functionID FunctionRef, contentType string, ...) (*http.Response, error)
- func (c *Client) RotateDatabaseCredentials(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RotateFunctionBinding(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RotateK8SKubeconfigAccess(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) RunAppJob(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SaveVMDiskAsImage(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, ...) (*http.Response, error)
- func (c *Client) SaveVMDiskAsImageWithBody(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, ...) (*http.Response, error)
- func (c *Client) ScaleAppService(ctx context.Context, serviceID AppServiceRef, ...) (*http.Response, error)
- func (c *Client) ScaleAppServiceWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*http.Response, error)
- func (c *Client) ScaleDatabase(ctx context.Context, databaseID DatabaseIDPath, ...) (*http.Response, error)
- func (c *Client) ScaleDatabaseWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*http.Response, error)
- func (c *Client) ScaleK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*http.Response, error)
- func (c *Client) ScaleK8SNodePoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*http.Response, error)
- func (c *Client) SetAppEnvVar(ctx context.Context, serviceID AppServiceRef, body SetAppEnvVarJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetAppEnvVarWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*http.Response, error)
- func (c *Client) SetDatabaseExtension(ctx context.Context, databaseID DatabaseIDPath, ...) (*http.Response, error)
- func (c *Client) SetDatabaseExtensionWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*http.Response, error)
- func (c *Client) SetDatabasePublicAccess(ctx context.Context, databaseID DatabaseIDPath, ...) (*http.Response, error)
- func (c *Client) SetDatabasePublicAccessWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*http.Response, error)
- func (c *Client) SetFunctionEnvVar(ctx context.Context, functionID FunctionRef, ...) (*http.Response, error)
- func (c *Client) SetFunctionEnvVarWithBody(ctx context.Context, functionID FunctionRef, contentType string, ...) (*http.Response, error)
- func (c *Client) StartVM(ctx context.Context, id VMIDPath, params *StartVMParams, ...) (*http.Response, error)
- func (c *Client) StopVM(ctx context.Context, id VMIDPath, params *StopVMParams, ...) (*http.Response, error)
- func (c *Client) UpdateAPIKey(ctx context.Context, id openapi_types.UUID, body UpdateAPIKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAPIKeyWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAppSpendSettings(ctx context.Context, body UpdateAppSpendSettingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAppSpendSettingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateBackupSchedule(ctx context.Context, id int, params *UpdateBackupScheduleParams, ...) (*http.Response, error)
- func (c *Client) UpdateBackupScheduleWithBody(ctx context.Context, id int, params *UpdateBackupScheduleParams, ...) (*http.Response, error)
- func (c *Client) UpdateDatabase(ctx context.Context, databaseID DatabaseIDPath, ...) (*http.Response, error)
- func (c *Client) UpdateDatabaseWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateFunction(ctx context.Context, functionID FunctionRef, ...) (*http.Response, error)
- func (c *Client) UpdateFunctionTrigger(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateFunctionTriggerWithBody(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateFunctionWithBody(ctx context.Context, functionID FunctionRef, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateFunctionsSpendSettings(ctx context.Context, body UpdateFunctionsSpendSettingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateFunctionsSpendSettingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateK8SClusterMaintenance(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) UpdateK8SClusterMaintenanceWithBody(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) UpdateK8SMetalLBPool(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) UpdateK8SMetalLBPoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) UpdateK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*http.Response, error)
- func (c *Client) UpdateK8SNodePoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*http.Response, error)
- func (c *Client) UpdateMember(ctx context.Context, id openapi_types.UUID, body UpdateMemberJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateMemberWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateProject(ctx context.Context, id ProjectIDPath, body UpdateProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateProjectMember(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateProjectMemberWithBody(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateProjectWithBody(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateRole(ctx context.Context, id openapi_types.UUID, body UpdateRoleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateRoleWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSSHKey(ctx context.Context, id openapi_types.UUID, body UpdateSSHKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateSSHKeyWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSecurityGroup(ctx context.Context, id SecurityGroupResourceIDPath, ...) (*http.Response, error)
- func (c *Client) UpdateSecurityGroupWithBody(ctx context.Context, id SecurityGroupResourceIDPath, ...) (*http.Response, error)
- func (c *Client) UpdateVMNote(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, ...) (*http.Response, error)
- func (c *Client) UpdateVMNoteWithBody(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, ...) (*http.Response, error)
- func (c *Client) UpdateVMTag(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, ...) (*http.Response, error)
- func (c *Client) UpdateVMTagWithBody(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, ...) (*http.Response, error)
- func (c *Client) UpdateVPC(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, ...) (*http.Response, error)
- func (c *Client) UpdateVPCWithBody(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, contentType string, ...) (*http.Response, error)
- func (c *Client) UpgradeK8SClusterHA(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) UpgradeK8SClusterVersion(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) UpgradeK8SClusterVersionWithBody(ctx context.Context, clusterID K8SClusterIDPath, ...) (*http.Response, error)
- func (c *Client) UpsertVMNote(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, ...) (*http.Response, error)
- func (c *Client) UpsertVMNoteWithBody(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddAppCustomDomainWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*AddAppCustomDomainResponse, error)
- func (c *ClientWithResponses) AddAppCustomDomainWithResponse(ctx context.Context, serviceID AppServiceRef, ...) (*AddAppCustomDomainResponse, error)
- func (c *ClientWithResponses) AddK8SNodePoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, ...) (*AddK8SNodePoolResponse, error)
- func (c *ClientWithResponses) AddK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, ...) (*AddK8SNodePoolResponse, error)
- func (c *ClientWithResponses) AddMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AddMemberResponse, error)
- func (c *ClientWithResponses) AddMemberWithResponse(ctx context.Context, body AddMemberJSONRequestBody, ...) (*AddMemberResponse, error)
- func (c *ClientWithResponses) AddProjectMemberWithBodyWithResponse(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, ...) (*AddProjectMemberResponse, error)
- func (c *ClientWithResponses) AddProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, body AddProjectMemberJSONRequestBody, ...) (*AddProjectMemberResponse, error)
- func (c *ClientWithResponses) AddVMTagWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AddVMTagParams, contentType string, ...) (*AddVMTagResponse, error)
- func (c *ClientWithResponses) AddVMTagWithResponse(ctx context.Context, id VMIDPath, params *AddVMTagParams, ...) (*AddVMTagResponse, error)
- func (c *ClientWithResponses) AppendVMNoteWithBodyWithResponse(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, ...) (*AppendVMNoteResponse, error)
- func (c *ClientWithResponses) AppendVMNoteWithResponse(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, ...) (*AppendVMNoteResponse, error)
- func (c *ClientWithResponses) AssignK8SClusterFirewallWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*AssignK8SClusterFirewallResponse, error)
- func (c *ClientWithResponses) AssignK8SClusterFirewallWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*AssignK8SClusterFirewallResponse, error)
- func (c *ClientWithResponses) AttachVMIPWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AttachVMIPParams, contentType string, ...) (*AttachVMIPResponse, error)
- func (c *ClientWithResponses) AttachVMIPWithResponse(ctx context.Context, id VMIDPath, params *AttachVMIPParams, ...) (*AttachVMIPResponse, error)
- func (c *ClientWithResponses) AttachVMSecurityGroupWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, ...) (*AttachVMSecurityGroupResponse, error)
- func (c *ClientWithResponses) AttachVMSecurityGroupWithResponse(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, ...) (*AttachVMSecurityGroupResponse, error)
- func (c *ClientWithResponses) AttachVMToVPCWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, ...) (*AttachVMToVPCResponse, error)
- func (c *ClientWithResponses) AttachVMToVPCWithResponse(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, ...) (*AttachVMToVPCResponse, error)
- func (c *ClientWithResponses) AttachVolumeWithBodyWithResponse(ctx context.Context, id int, params *AttachVolumeParams, contentType string, ...) (*AttachVolumeResponse, error)
- func (c *ClientWithResponses) AttachVolumeWithResponse(ctx context.Context, id int, params *AttachVolumeParams, ...) (*AttachVolumeResponse, error)
- func (c *ClientWithResponses) BulkSetAppEnvVarsWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*BulkSetAppEnvVarsResponse, error)
- func (c *ClientWithResponses) BulkSetAppEnvVarsWithResponse(ctx context.Context, serviceID AppServiceRef, ...) (*BulkSetAppEnvVarsResponse, error)
- func (c *ClientWithResponses) CancelAppJobRunWithResponse(ctx context.Context, runID openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelAppJobRunResponse, error)
- func (c *ClientWithResponses) CancelInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelInvitationResponse, error)
- func (c *ClientWithResponses) ChangeIPWithResponse(ctx context.Context, id IPIDPath, params *ChangeIPParams, ...) (*ChangeIPResponse, error)
- func (c *ClientWithResponses) ConnectDatabaseVPCWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*ConnectDatabaseVPCResponse, error)
- func (c *ClientWithResponses) ConnectDatabaseVPCWithResponse(ctx context.Context, databaseID DatabaseIDPath, ...) (*ConnectDatabaseVPCResponse, error)
- func (c *ClientWithResponses) ConvertLambdaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ConvertLambdaResponse, error)
- func (c *ClientWithResponses) ConvertLambdaWithResponse(ctx context.Context, body ConvertLambdaJSONRequestBody, ...) (*ConvertLambdaResponse, error)
- func (c *ClientWithResponses) CreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAPIKeyResponse, error)
- func (c *ClientWithResponses) CreateAPIKeyWithResponse(ctx context.Context, body CreateAPIKeyJSONRequestBody, ...) (*CreateAPIKeyResponse, error)
- func (c *ClientWithResponses) CreateAccountInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAccountInvitationResponse, error)
- func (c *ClientWithResponses) CreateAccountInvitationWithResponse(ctx context.Context, body CreateAccountInvitationJSONRequestBody, ...) (*CreateAccountInvitationResponse, error)
- func (c *ClientWithResponses) CreateAppDeploymentWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*CreateAppDeploymentResponse, error)
- func (c *ClientWithResponses) CreateAppDeploymentWithResponse(ctx context.Context, serviceID AppServiceRef, ...) (*CreateAppDeploymentResponse, error)
- func (c *ClientWithResponses) CreateAppServiceWithBodyWithResponse(ctx context.Context, params *CreateAppServiceParams, contentType string, ...) (*CreateAppServiceResponse, error)
- func (c *ClientWithResponses) CreateAppServiceWithResponse(ctx context.Context, params *CreateAppServiceParams, ...) (*CreateAppServiceResponse, error)
- func (c *ClientWithResponses) CreateBackupScheduleWithBodyWithResponse(ctx context.Context, params *CreateBackupScheduleParams, contentType string, ...) (*CreateBackupScheduleResponse, error)
- func (c *ClientWithResponses) CreateBackupScheduleWithResponse(ctx context.Context, params *CreateBackupScheduleParams, ...) (*CreateBackupScheduleResponse, error)
- func (c *ClientWithResponses) CreateBackupWithBodyWithResponse(ctx context.Context, params *CreateBackupParams, contentType string, ...) (*CreateBackupResponse, error)
- func (c *ClientWithResponses) CreateBackupWithResponse(ctx context.Context, params *CreateBackupParams, ...) (*CreateBackupResponse, error)
- func (c *ClientWithResponses) CreateDatabaseBackupWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*CreateDatabaseBackupResponse, error)
- func (c *ClientWithResponses) CreateDatabaseWithBodyWithResponse(ctx context.Context, params *CreateDatabaseParams, contentType string, ...) (*CreateDatabaseResponse, error)
- func (c *ClientWithResponses) CreateDatabaseWithResponse(ctx context.Context, params *CreateDatabaseParams, ...) (*CreateDatabaseResponse, error)
- func (c *ClientWithResponses) CreateFunctionBindingWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, ...) (*CreateFunctionBindingResponse, error)
- func (c *ClientWithResponses) CreateFunctionBindingWithResponse(ctx context.Context, functionID FunctionRef, ...) (*CreateFunctionBindingResponse, error)
- func (c *ClientWithResponses) CreateFunctionDeploymentWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, ...) (*CreateFunctionDeploymentResponse, error)
- func (c *ClientWithResponses) CreateFunctionDeploymentWithResponse(ctx context.Context, functionID FunctionRef, ...) (*CreateFunctionDeploymentResponse, error)
- func (c *ClientWithResponses) CreateFunctionTriggerWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, ...) (*CreateFunctionTriggerResponse, error)
- func (c *ClientWithResponses) CreateFunctionTriggerWithResponse(ctx context.Context, functionID FunctionRef, ...) (*CreateFunctionTriggerResponse, error)
- func (c *ClientWithResponses) CreateFunctionWithBodyWithResponse(ctx context.Context, params *CreateFunctionParams, contentType string, ...) (*CreateFunctionResponse, error)
- func (c *ClientWithResponses) CreateFunctionWithResponse(ctx context.Context, params *CreateFunctionParams, ...) (*CreateFunctionResponse, error)
- func (c *ClientWithResponses) CreateK8SClusterWithBodyWithResponse(ctx context.Context, params *CreateK8SClusterParams, contentType string, ...) (*CreateK8SClusterResponse, error)
- func (c *ClientWithResponses) CreateK8SClusterWithResponse(ctx context.Context, params *CreateK8SClusterParams, ...) (*CreateK8SClusterResponse, error)
- func (c *ClientWithResponses) CreateProjectInvitationWithBodyWithResponse(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, ...) (*CreateProjectInvitationResponse, error)
- func (c *ClientWithResponses) CreateProjectInvitationWithResponse(ctx context.Context, id ProjectIDPath, ...) (*CreateProjectInvitationResponse, error)
- func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, ...) (*CreateProjectResponse, error)
- func (c *ClientWithResponses) CreateRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateRoleResponse, error)
- func (c *ClientWithResponses) CreateRoleWithResponse(ctx context.Context, body CreateRoleJSONRequestBody, ...) (*CreateRoleResponse, error)
- func (c *ClientWithResponses) CreateSSHKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSSHKeyResponse, error)
- func (c *ClientWithResponses) CreateSSHKeyWithResponse(ctx context.Context, body CreateSSHKeyJSONRequestBody, ...) (*CreateSSHKeyResponse, error)
- func (c *ClientWithResponses) CreateSecurityGroupWithBodyWithResponse(ctx context.Context, params *CreateSecurityGroupParams, contentType string, ...) (*CreateSecurityGroupResponse, error)
- func (c *ClientWithResponses) CreateSecurityGroupWithResponse(ctx context.Context, params *CreateSecurityGroupParams, ...) (*CreateSecurityGroupResponse, error)
- func (c *ClientWithResponses) CreateSnapshotWithBodyWithResponse(ctx context.Context, params *CreateSnapshotParams, contentType string, ...) (*CreateSnapshotResponse, error)
- func (c *ClientWithResponses) CreateSnapshotWithResponse(ctx context.Context, params *CreateSnapshotParams, ...) (*CreateSnapshotResponse, error)
- func (c *ClientWithResponses) CreateVMWithBodyWithResponse(ctx context.Context, params *CreateVMParams, contentType string, ...) (*CreateVMResponse, error)
- func (c *ClientWithResponses) CreateVMWithResponse(ctx context.Context, params *CreateVMParams, body CreateVMJSONRequestBody, ...) (*CreateVMResponse, error)
- func (c *ClientWithResponses) CreateVPCWithBodyWithResponse(ctx context.Context, params *CreateVPCParams, contentType string, ...) (*CreateVPCResponse, error)
- func (c *ClientWithResponses) CreateVPCWithResponse(ctx context.Context, params *CreateVPCParams, body CreateVPCJSONRequestBody, ...) (*CreateVPCResponse, error)
- func (c *ClientWithResponses) CreateVolumeWithBodyWithResponse(ctx context.Context, params *CreateVolumeParams, contentType string, ...) (*CreateVolumeResponse, error)
- func (c *ClientWithResponses) CreateVolumeWithResponse(ctx context.Context, params *CreateVolumeParams, ...) (*CreateVolumeResponse, error)
- func (c *ClientWithResponses) DeleteAppCustomDomainWithResponse(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*DeleteAppCustomDomainResponse, error)
- func (c *ClientWithResponses) DeleteAppEnvVarWithResponse(ctx context.Context, serviceID AppServiceRef, key string, ...) (*DeleteAppEnvVarResponse, error)
- func (c *ClientWithResponses) DeleteAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*DeleteAppServiceResponse, error)
- func (c *ClientWithResponses) DeleteBackupChainWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteBackupChainParams, ...) (*DeleteBackupChainResponse, error)
- func (c *ClientWithResponses) DeleteBackupScheduleWithResponse(ctx context.Context, id int, params *DeleteBackupScheduleParams, ...) (*DeleteBackupScheduleResponse, error)
- func (c *ClientWithResponses) DeleteBackupWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteBackupParams, ...) (*DeleteBackupResponse, error)
- func (c *ClientWithResponses) DeleteDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*DeleteDatabaseResponse, error)
- func (c *ClientWithResponses) DeleteFunctionBindingWithResponse(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, ...) (*DeleteFunctionBindingResponse, error)
- func (c *ClientWithResponses) DeleteFunctionEnvVarWithResponse(ctx context.Context, functionID FunctionRef, key string, ...) (*DeleteFunctionEnvVarResponse, error)
- func (c *ClientWithResponses) DeleteFunctionTriggerWithResponse(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, ...) (*DeleteFunctionTriggerResponse, error)
- func (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)
- func (c *ClientWithResponses) DeleteK8SClusterWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*DeleteK8SClusterResponse, error)
- func (c *ClientWithResponses) DeleteK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*DeleteK8SNodePoolResponse, error)
- func (c *ClientWithResponses) DeleteK8STcpPortWithResponse(ctx context.Context, clusterID K8SClusterIDPath, port int, ...) (*DeleteK8STcpPortResponse, error)
- func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
- func (c *ClientWithResponses) DeleteRoleWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteRoleResponse, error)
- func (c *ClientWithResponses) DeleteSSHKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSSHKeyResponse, error)
- func (c *ClientWithResponses) DeleteSecurityGroupWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, ...) (*DeleteSecurityGroupResponse, error)
- func (c *ClientWithResponses) DeleteSnapshotWithResponse(ctx context.Context, id int, params *DeleteSnapshotParams, ...) (*DeleteSnapshotResponse, error)
- func (c *ClientWithResponses) DeleteVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *DeleteVMParams, contentType string, ...) (*DeleteVMResponse, error)
- func (c *ClientWithResponses) DeleteVMWithResponse(ctx context.Context, id VMIDPath, params *DeleteVMParams, ...) (*DeleteVMResponse, error)
- func (c *ClientWithResponses) DeleteVMsBulkWithBodyWithResponse(ctx context.Context, params *DeleteVMsBulkParams, contentType string, ...) (*DeleteVMsBulkResponse, error)
- func (c *ClientWithResponses) DeleteVMsBulkWithResponse(ctx context.Context, params *DeleteVMsBulkParams, ...) (*DeleteVMsBulkResponse, error)
- func (c *ClientWithResponses) DeleteVPCWithResponse(ctx context.Context, id VPCIDPath, params *DeleteVPCParams, ...) (*DeleteVPCResponse, error)
- func (c *ClientWithResponses) DeleteVolumeWithResponse(ctx context.Context, id int, params *DeleteVolumeParams, ...) (*DeleteVolumeResponse, error)
- func (c *ClientWithResponses) DetachVMFromVPCWithResponse(ctx context.Context, id VMIDPath, nicID NICIDPath, ...) (*DetachVMFromVPCResponse, error)
- func (c *ClientWithResponses) DetachVMIPWithResponse(ctx context.Context, id VMIDPath, nicID NICIDPath, params *DetachVMIPParams, ...) (*DetachVMIPResponse, error)
- func (c *ClientWithResponses) DetachVMSecurityGroupWithResponse(ctx context.Context, id VMIDPath, sgid SecurityGroupIDPath, nicID NICIDPath, ...) (*DetachVMSecurityGroupResponse, error)
- func (c *ClientWithResponses) DetachVolumeWithResponse(ctx context.Context, id int, params *DetachVolumeParams, ...) (*DetachVolumeResponse, error)
- func (c *ClientWithResponses) FactoryResetVMWithResponse(ctx context.Context, id VMIDPath, params *FactoryResetVMParams, ...) (*FactoryResetVMResponse, error)
- func (c *ClientWithResponses) GetAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAPIKeyResponse, error)
- func (c *ClientWithResponses) GetAppDeploymentLogsWithResponse(ctx context.Context, deploymentID AppDeploymentIDPath, ...) (*GetAppDeploymentLogsResponse, error)
- func (c *ClientWithResponses) GetAppDeploymentWithResponse(ctx context.Context, deploymentID AppDeploymentIDPath, ...) (*GetAppDeploymentResponse, error)
- func (c *ClientWithResponses) GetAppServiceMetricsWithResponse(ctx context.Context, serviceID AppServiceRef, ...) (*GetAppServiceMetricsResponse, error)
- func (c *ClientWithResponses) GetAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*GetAppServiceResponse, error)
- func (c *ClientWithResponses) GetAppSpendSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAppSpendSettingsResponse, error)
- func (c *ClientWithResponses) GetAppsPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAppsPricingResponse, error)
- func (c *ClientWithResponses) GetAppsUsageWithResponse(ctx context.Context, params *GetAppsUsageParams, reqEditors ...RequestEditorFn) (*GetAppsUsageResponse, error)
- func (c *ClientWithResponses) GetBackupScheduleWithResponse(ctx context.Context, id int, params *GetBackupScheduleParams, ...) (*GetBackupScheduleResponse, error)
- func (c *ClientWithResponses) GetBackupWithResponse(ctx context.Context, id openapi_types.UUID, params *GetBackupParams, ...) (*GetBackupResponse, error)
- func (c *ClientWithResponses) GetDatabaseConnectionWithResponse(ctx context.Context, databaseID DatabaseIDPath, ...) (*GetDatabaseConnectionResponse, error)
- func (c *ClientWithResponses) GetDatabaseLogsWithResponse(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseLogsParams, ...) (*GetDatabaseLogsResponse, error)
- func (c *ClientWithResponses) GetDatabaseMetricsHistoryWithResponse(ctx context.Context, databaseID DatabaseIDPath, ...) (*GetDatabaseMetricsHistoryResponse, error)
- func (c *ClientWithResponses) GetDatabaseMetricsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*GetDatabaseMetricsResponse, error)
- func (c *ClientWithResponses) GetDatabaseSlowQueriesWithResponse(ctx context.Context, databaseID DatabaseIDPath, ...) (*GetDatabaseSlowQueriesResponse, error)
- func (c *ClientWithResponses) GetDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*GetDatabaseResponse, error)
- func (c *ClientWithResponses) GetFunctionDeploymentLogsWithResponse(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, ...) (*GetFunctionDeploymentLogsResponse, error)
- func (c *ClientWithResponses) GetFunctionDeploymentWithResponse(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, ...) (*GetFunctionDeploymentResponse, error)
- func (c *ClientWithResponses) GetFunctionMetricsWithResponse(ctx context.Context, functionID FunctionRef, params *GetFunctionMetricsParams, ...) (*GetFunctionMetricsResponse, error)
- func (c *ClientWithResponses) GetFunctionSourceWithResponse(ctx context.Context, functionID FunctionRef, params *GetFunctionSourceParams, ...) (*GetFunctionSourceResponse, error)
- func (c *ClientWithResponses) GetFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)
- func (c *ClientWithResponses) GetFunctionsPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFunctionsPricingResponse, error)
- func (c *ClientWithResponses) GetFunctionsSpendSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFunctionsSpendSettingsResponse, error)
- func (c *ClientWithResponses) GetFunctionsUsageWithResponse(ctx context.Context, params *GetFunctionsUsageParams, ...) (*GetFunctionsUsageResponse, error)
- func (c *ClientWithResponses) GetIPWithResponse(ctx context.Context, id IPIDPath, reqEditors ...RequestEditorFn) (*GetIPResponse, error)
- func (c *ClientWithResponses) GetK8SClusterFirewallWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*GetK8SClusterFirewallResponse, error)
- func (c *ClientWithResponses) GetK8SClusterMetricsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*GetK8SClusterMetricsResponse, error)
- func (c *ClientWithResponses) GetK8SClusterStatsWithResponse(ctx context.Context, params *GetK8SClusterStatsParams, ...) (*GetK8SClusterStatsResponse, error)
- func (c *ClientWithResponses) GetK8SClusterWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterParams, ...) (*GetK8SClusterResponse, error)
- func (c *ClientWithResponses) GetK8SKubeconfigWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*GetK8SKubeconfigResponse, error)
- func (c *ClientWithResponses) GetK8SMetalLBPoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*GetK8SMetalLBPoolResponse, error)
- func (c *ClientWithResponses) GetMemberWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMemberResponse, error)
- func (c *ClientWithResponses) GetProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, ...) (*GetProjectMemberResponse, error)
- func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
- func (c *ClientWithResponses) GetRoleWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRoleResponse, error)
- func (c *ClientWithResponses) GetSSHKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSSHKeyResponse, error)
- func (c *ClientWithResponses) GetSecurityGroupWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, ...) (*GetSecurityGroupResponse, error)
- func (c *ClientWithResponses) GetSnapshotWithResponse(ctx context.Context, id int, params *GetSnapshotParams, ...) (*GetSnapshotResponse, error)
- func (c *ClientWithResponses) GetVMNotesWithResponse(ctx context.Context, id VMIDPath, params *GetVMNotesParams, ...) (*GetVMNotesResponse, error)
- func (c *ClientWithResponses) GetVMWithResponse(ctx context.Context, id VMIDPath, reqEditors ...RequestEditorFn) (*GetVMResponse, error)
- func (c *ClientWithResponses) GetVPCWithResponse(ctx context.Context, id VPCIDPath, params *GetVPCParams, ...) (*GetVPCResponse, error)
- func (c *ClientWithResponses) GetVolumeWithResponse(ctx context.Context, id int, params *GetVolumeParams, ...) (*GetVolumeResponse, error)
- func (c *ClientWithResponses) HardRebootVMWithResponse(ctx context.Context, id VMIDPath, params *HardRebootVMParams, ...) (*HardRebootVMResponse, error)
- func (c *ClientWithResponses) HealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthCheckResponse, error)
- func (c *ClientWithResponses) ListAPIKeysWithResponse(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)
- func (c *ClientWithResponses) ListAppCustomDomainsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ListAppCustomDomainsResponse, error)
- func (c *ClientWithResponses) ListAppDeploymentsWithResponse(ctx context.Context, serviceID AppServiceRef, params *ListAppDeploymentsParams, ...) (*ListAppDeploymentsResponse, error)
- func (c *ClientWithResponses) ListAppEnvVarsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ListAppEnvVarsResponse, error)
- func (c *ClientWithResponses) ListAppJobRunsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ListAppJobRunsResponse, error)
- func (c *ClientWithResponses) ListAppLogsWithResponse(ctx context.Context, serviceID AppServiceRef, params *ListAppLogsParams, ...) (*ListAppLogsResponse, error)
- func (c *ClientWithResponses) ListAppServicesWithResponse(ctx context.Context, params *ListAppServicesParams, ...) (*ListAppServicesResponse, error)
- func (c *ClientWithResponses) ListAppTiersWithResponse(ctx context.Context, params *ListAppTiersParams, reqEditors ...RequestEditorFn) (*ListAppTiersResponse, error)
- func (c *ClientWithResponses) ListBackupPricingWithResponse(ctx context.Context, params *ListBackupPricingParams, ...) (*ListBackupPricingResponse, error)
- func (c *ClientWithResponses) ListBackupSchedulesWithResponse(ctx context.Context, params *ListBackupSchedulesParams, ...) (*ListBackupSchedulesResponse, error)
- func (c *ClientWithResponses) ListBackupsWithResponse(ctx context.Context, params *ListBackupsParams, reqEditors ...RequestEditorFn) (*ListBackupsResponse, error)
- func (c *ClientWithResponses) ListDatabaseBackupsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*ListDatabaseBackupsResponse, error)
- func (c *ClientWithResponses) ListDatabaseEnginesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatabaseEnginesResponse, error)
- func (c *ClientWithResponses) ListDatabaseExtensionsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*ListDatabaseExtensionsResponse, error)
- func (c *ClientWithResponses) ListDatabasePlansWithResponse(ctx context.Context, params *ListDatabasePlansParams, ...) (*ListDatabasePlansResponse, error)
- func (c *ClientWithResponses) ListDatabasePricingWithResponse(ctx context.Context, params *ListDatabasePricingParams, ...) (*ListDatabasePricingResponse, error)
- func (c *ClientWithResponses) ListDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatabasesResponse, error)
- func (c *ClientWithResponses) ListFunctionBindingsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionBindingsResponse, error)
- func (c *ClientWithResponses) ListFunctionDeploymentsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionDeploymentsResponse, error)
- func (c *ClientWithResponses) ListFunctionEnvVarsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionEnvVarsResponse, error)
- func (c *ClientWithResponses) ListFunctionInvocationsWithResponse(ctx context.Context, functionID FunctionRef, ...) (*ListFunctionInvocationsResponse, error)
- func (c *ClientWithResponses) ListFunctionLogsWithResponse(ctx context.Context, functionID FunctionRef, params *ListFunctionLogsParams, ...) (*ListFunctionLogsResponse, error)
- func (c *ClientWithResponses) ListFunctionRevisionsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionRevisionsResponse, error)
- func (c *ClientWithResponses) ListFunctionRuntimesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListFunctionRuntimesResponse, error)
- func (c *ClientWithResponses) ListFunctionTriggerRunsWithResponse(ctx context.Context, functionID FunctionRef, ...) (*ListFunctionTriggerRunsResponse, error)
- func (c *ClientWithResponses) ListFunctionTriggersWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionTriggersResponse, error)
- func (c *ClientWithResponses) ListFunctionsWithResponse(ctx context.Context, params *ListFunctionsParams, ...) (*ListFunctionsResponse, error)
- func (c *ClientWithResponses) ListIPPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListIPPricingResponse, error)
- func (c *ClientWithResponses) ListIPsWithResponse(ctx context.Context, params *ListIPsParams, reqEditors ...RequestEditorFn) (*ListIPsResponse, error)
- func (c *ClientWithResponses) ListK8SClusterEventsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*ListK8SClusterEventsResponse, error)
- func (c *ClientWithResponses) ListK8SClusterNodesWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*ListK8SClusterNodesResponse, error)
- func (c *ClientWithResponses) ListK8SClusterUpgradesWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*ListK8SClusterUpgradesResponse, error)
- func (c *ClientWithResponses) ListK8SClustersWithResponse(ctx context.Context, params *ListK8SClustersParams, ...) (*ListK8SClustersResponse, error)
- func (c *ClientWithResponses) ListK8SNodePlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListK8SNodePlansResponse, error)
- func (c *ClientWithResponses) ListK8SNodePoolsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*ListK8SNodePoolsResponse, error)
- func (c *ClientWithResponses) ListK8STcpPortsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8STcpPortsParams, ...) (*ListK8STcpPortsResponse, error)
- func (c *ClientWithResponses) ListK8SVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListK8SVersionsResponse, error)
- func (c *ClientWithResponses) ListKubernetesPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListKubernetesPricingResponse, error)
- func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
- func (c *ClientWithResponses) ListPermissionsWithResponse(ctx context.Context, params *ListPermissionsParams, ...) (*ListPermissionsResponse, error)
- func (c *ClientWithResponses) ListProjectMembersWithResponse(ctx context.Context, id ProjectIDPath, params *ListProjectMembersParams, ...) (*ListProjectMembersResponse, error)
- func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
- func (c *ClientWithResponses) ListRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRegionsResponse, error)
- func (c *ClientWithResponses) ListRolesWithResponse(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)
- func (c *ClientWithResponses) ListSSHKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSSHKeysResponse, error)
- func (c *ClientWithResponses) ListSecurityGroupTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecurityGroupTemplatesResponse, error)
- func (c *ClientWithResponses) ListSecurityGroupsWithResponse(ctx context.Context, params *ListSecurityGroupsParams, ...) (*ListSecurityGroupsResponse, error)
- func (c *ClientWithResponses) ListSnapshotPricingWithResponse(ctx context.Context, params *ListSnapshotPricingParams, ...) (*ListSnapshotPricingResponse, error)
- func (c *ClientWithResponses) ListSnapshotsWithResponse(ctx context.Context, params *ListSnapshotsParams, ...) (*ListSnapshotsResponse, error)
- func (c *ClientWithResponses) ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, ...) (*ListTemplatesResponse, error)
- func (c *ClientWithResponses) ListVMNetworksWithResponse(ctx context.Context, id VMIDPath, params *ListVMNetworksParams, ...) (*ListVMNetworksResponse, error)
- func (c *ClientWithResponses) ListVMPricingWithResponse(ctx context.Context, params *ListVMPricingParams, ...) (*ListVMPricingResponse, error)
- func (c *ClientWithResponses) ListVMsWithResponse(ctx context.Context, params *ListVMsParams, reqEditors ...RequestEditorFn) (*ListVMsResponse, error)
- func (c *ClientWithResponses) ListVPCCIDRSuggestionsWithResponse(ctx context.Context, params *ListVPCCIDRSuggestionsParams, ...) (*ListVPCCIDRSuggestionsResponse, error)
- func (c *ClientWithResponses) ListVPCsWithResponse(ctx context.Context, params *ListVPCsParams, reqEditors ...RequestEditorFn) (*ListVPCsResponse, error)
- func (c *ClientWithResponses) ListVolumePricingWithResponse(ctx context.Context, params *ListVolumePricingParams, ...) (*ListVolumePricingResponse, error)
- func (c *ClientWithResponses) ListVolumesWithResponse(ctx context.Context, params *ListVolumesParams, reqEditors ...RequestEditorFn) (*ListVolumesResponse, error)
- func (c *ClientWithResponses) PauseAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*PauseAppServiceResponse, error)
- func (c *ClientWithResponses) PauseFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*PauseFunctionResponse, error)
- func (c *ClientWithResponses) RebootVMWithResponse(ctx context.Context, id VMIDPath, params *RebootVMParams, ...) (*RebootVMResponse, error)
- func (c *ClientWithResponses) RegenerateAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RegenerateAPIKeyResponse, error)
- func (c *ClientWithResponses) ReinstallVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *ReinstallVMParams, ...) (*ReinstallVMResponse, error)
- func (c *ClientWithResponses) ReinstallVMWithResponse(ctx context.Context, id VMIDPath, params *ReinstallVMParams, ...) (*ReinstallVMResponse, error)
- func (c *ClientWithResponses) ReleaseIPWithResponse(ctx context.Context, id IPIDPath, params *ReleaseIPParams, ...) (*ReleaseIPResponse, error)
- func (c *ClientWithResponses) RemoveMemberWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveMemberResponse, error)
- func (c *ClientWithResponses) RemoveProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, ...) (*RemoveProjectMemberResponse, error)
- func (c *ClientWithResponses) RemoveVMTagWithResponse(ctx context.Context, id VMIDPath, tagID TagIDPath, params *RemoveVMTagParams, ...) (*RemoveVMTagResponse, error)
- func (c *ClientWithResponses) RenameK8SClusterWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*RenameK8SClusterResponse, error)
- func (c *ClientWithResponses) RenameK8SClusterWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*RenameK8SClusterResponse, error)
- func (c *ClientWithResponses) RenameSnapshotWithBodyWithResponse(ctx context.Context, id int, params *RenameSnapshotParams, contentType string, ...) (*RenameSnapshotResponse, error)
- func (c *ClientWithResponses) RenameSnapshotWithResponse(ctx context.Context, id int, params *RenameSnapshotParams, ...) (*RenameSnapshotResponse, error)
- func (c *ClientWithResponses) RenameVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *RenameVMParams, contentType string, ...) (*RenameVMResponse, error)
- func (c *ClientWithResponses) RenameVMWithResponse(ctx context.Context, id VMIDPath, params *RenameVMParams, ...) (*RenameVMResponse, error)
- func (c *ClientWithResponses) RequestAppSourceUploadWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*RequestAppSourceUploadResponse, error)
- func (c *ClientWithResponses) RequestFunctionSourceUploadWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*RequestFunctionSourceUploadResponse, error)
- func (c *ClientWithResponses) ReserveIPWithBodyWithResponse(ctx context.Context, params *ReserveIPParams, contentType string, ...) (*ReserveIPResponse, error)
- func (c *ClientWithResponses) ReserveIPWithResponse(ctx context.Context, params *ReserveIPParams, body ReserveIPJSONRequestBody, ...) (*ReserveIPResponse, error)
- func (c *ClientWithResponses) ResetBackupChainWithResponse(ctx context.Context, id openapi_types.UUID, params *ResetBackupChainParams, ...) (*ResetBackupChainResponse, error)
- func (c *ClientWithResponses) ResetK8SClusterFirewallWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*ResetK8SClusterFirewallResponse, error)
- func (c *ClientWithResponses) ResetVMPasswordWithResponse(ctx context.Context, id VMIDPath, params *ResetVMPasswordParams, ...) (*ResetVMPasswordResponse, error)
- func (c *ClientWithResponses) ResizeVMDiskWithBodyWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, ...) (*ResizeVMDiskResponse, error)
- func (c *ClientWithResponses) ResizeVMDiskWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, ...) (*ResizeVMDiskResponse, error)
- func (c *ClientWithResponses) ResizeVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMParams, contentType string, ...) (*ResizeVMResponse, error)
- func (c *ClientWithResponses) ResizeVMWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMParams, ...) (*ResizeVMResponse, error)
- func (c *ClientWithResponses) ResizeVolumeWithBodyWithResponse(ctx context.Context, id int, params *ResizeVolumeParams, contentType string, ...) (*ResizeVolumeResponse, error)
- func (c *ClientWithResponses) ResizeVolumeWithResponse(ctx context.Context, id int, params *ResizeVolumeParams, ...) (*ResizeVolumeResponse, error)
- func (c *ClientWithResponses) RestoreBackupWithResponse(ctx context.Context, id openapi_types.UUID, params *RestoreBackupParams, ...) (*RestoreBackupResponse, error)
- func (c *ClientWithResponses) RestoreDatabaseWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*RestoreDatabaseResponse, error)
- func (c *ClientWithResponses) RestoreDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, ...) (*RestoreDatabaseResponse, error)
- func (c *ClientWithResponses) RestoreSnapshotWithResponse(ctx context.Context, id int, params *RestoreSnapshotParams, ...) (*RestoreSnapshotResponse, error)
- func (c *ClientWithResponses) ResumeAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ResumeAppServiceResponse, error)
- func (c *ClientWithResponses) ResumeDatabaseWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*ResumeDatabaseResponse, error)
- func (c *ClientWithResponses) ResumeFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ResumeFunctionResponse, error)
- func (c *ClientWithResponses) RetryAppDomainVerificationWithResponse(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*RetryAppDomainVerificationResponse, error)
- func (c *ClientWithResponses) RevealAppEnvVarsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*RevealAppEnvVarsResponse, error)
- func (c *ClientWithResponses) RevealFunctionEnvVarsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*RevealFunctionEnvVarsResponse, error)
- func (c *ClientWithResponses) RevokeAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeAPIKeyResponse, error)
- func (c *ClientWithResponses) RollbackAppServiceWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*RollbackAppServiceResponse, error)
- func (c *ClientWithResponses) RollbackAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, ...) (*RollbackAppServiceResponse, error)
- func (c *ClientWithResponses) RollbackFunctionWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, ...) (*RollbackFunctionResponse, error)
- func (c *ClientWithResponses) RollbackFunctionWithResponse(ctx context.Context, functionID FunctionRef, ...) (*RollbackFunctionResponse, error)
- func (c *ClientWithResponses) RotateDatabaseCredentialsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*RotateDatabaseCredentialsResponse, error)
- func (c *ClientWithResponses) RotateFunctionBindingWithResponse(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, ...) (*RotateFunctionBindingResponse, error)
- func (c *ClientWithResponses) RotateK8SKubeconfigAccessWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*RotateK8SKubeconfigAccessResponse, error)
- func (c *ClientWithResponses) RunAppJobWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*RunAppJobResponse, error)
- func (c *ClientWithResponses) SaveVMDiskAsImageWithBodyWithResponse(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, ...) (*SaveVMDiskAsImageResponse, error)
- func (c *ClientWithResponses) SaveVMDiskAsImageWithResponse(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, ...) (*SaveVMDiskAsImageResponse, error)
- func (c *ClientWithResponses) ScaleAppServiceWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*ScaleAppServiceResponse, error)
- func (c *ClientWithResponses) ScaleAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, ...) (*ScaleAppServiceResponse, error)
- func (c *ClientWithResponses) ScaleDatabaseWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*ScaleDatabaseResponse, error)
- func (c *ClientWithResponses) ScaleDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, ...) (*ScaleDatabaseResponse, error)
- func (c *ClientWithResponses) ScaleK8SNodePoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*ScaleK8SNodePoolResponse, error)
- func (c *ClientWithResponses) ScaleK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*ScaleK8SNodePoolResponse, error)
- func (c *ClientWithResponses) SetAppEnvVarWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, ...) (*SetAppEnvVarResponse, error)
- func (c *ClientWithResponses) SetAppEnvVarWithResponse(ctx context.Context, serviceID AppServiceRef, body SetAppEnvVarJSONRequestBody, ...) (*SetAppEnvVarResponse, error)
- func (c *ClientWithResponses) SetDatabaseExtensionWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*SetDatabaseExtensionResponse, error)
- func (c *ClientWithResponses) SetDatabaseExtensionWithResponse(ctx context.Context, databaseID DatabaseIDPath, ...) (*SetDatabaseExtensionResponse, error)
- func (c *ClientWithResponses) SetDatabasePublicAccessWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*SetDatabasePublicAccessResponse, error)
- func (c *ClientWithResponses) SetDatabasePublicAccessWithResponse(ctx context.Context, databaseID DatabaseIDPath, ...) (*SetDatabasePublicAccessResponse, error)
- func (c *ClientWithResponses) SetFunctionEnvVarWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, ...) (*SetFunctionEnvVarResponse, error)
- func (c *ClientWithResponses) SetFunctionEnvVarWithResponse(ctx context.Context, functionID FunctionRef, ...) (*SetFunctionEnvVarResponse, error)
- func (c *ClientWithResponses) StartVMWithResponse(ctx context.Context, id VMIDPath, params *StartVMParams, ...) (*StartVMResponse, error)
- func (c *ClientWithResponses) StopVMWithResponse(ctx context.Context, id VMIDPath, params *StopVMParams, ...) (*StopVMResponse, error)
- func (c *ClientWithResponses) UpdateAPIKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateAPIKeyResponse, error)
- func (c *ClientWithResponses) UpdateAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateAPIKeyJSONRequestBody, ...) (*UpdateAPIKeyResponse, error)
- func (c *ClientWithResponses) UpdateAppSpendSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateAppSpendSettingsResponse, error)
- func (c *ClientWithResponses) UpdateAppSpendSettingsWithResponse(ctx context.Context, body UpdateAppSpendSettingsJSONRequestBody, ...) (*UpdateAppSpendSettingsResponse, error)
- func (c *ClientWithResponses) UpdateBackupScheduleWithBodyWithResponse(ctx context.Context, id int, params *UpdateBackupScheduleParams, ...) (*UpdateBackupScheduleResponse, error)
- func (c *ClientWithResponses) UpdateBackupScheduleWithResponse(ctx context.Context, id int, params *UpdateBackupScheduleParams, ...) (*UpdateBackupScheduleResponse, error)
- func (c *ClientWithResponses) UpdateDatabaseWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, ...) (*UpdateDatabaseResponse, error)
- func (c *ClientWithResponses) UpdateDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, ...) (*UpdateDatabaseResponse, error)
- func (c *ClientWithResponses) UpdateFunctionTriggerWithBodyWithResponse(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, ...) (*UpdateFunctionTriggerResponse, error)
- func (c *ClientWithResponses) UpdateFunctionTriggerWithResponse(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, ...) (*UpdateFunctionTriggerResponse, error)
- func (c *ClientWithResponses) UpdateFunctionWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, ...) (*UpdateFunctionResponse, error)
- func (c *ClientWithResponses) UpdateFunctionWithResponse(ctx context.Context, functionID FunctionRef, ...) (*UpdateFunctionResponse, error)
- func (c *ClientWithResponses) UpdateFunctionsSpendSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateFunctionsSpendSettingsResponse, error)
- func (c *ClientWithResponses) UpdateFunctionsSpendSettingsWithResponse(ctx context.Context, body UpdateFunctionsSpendSettingsJSONRequestBody, ...) (*UpdateFunctionsSpendSettingsResponse, error)
- func (c *ClientWithResponses) UpdateK8SClusterMaintenanceWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*UpdateK8SClusterMaintenanceResponse, error)
- func (c *ClientWithResponses) UpdateK8SClusterMaintenanceWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*UpdateK8SClusterMaintenanceResponse, error)
- func (c *ClientWithResponses) UpdateK8SMetalLBPoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*UpdateK8SMetalLBPoolResponse, error)
- func (c *ClientWithResponses) UpdateK8SMetalLBPoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*UpdateK8SMetalLBPoolResponse, error)
- func (c *ClientWithResponses) UpdateK8SNodePoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*UpdateK8SNodePoolResponse, error)
- func (c *ClientWithResponses) UpdateK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, ...) (*UpdateK8SNodePoolResponse, error)
- func (c *ClientWithResponses) UpdateMemberWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateMemberResponse, error)
- func (c *ClientWithResponses) UpdateMemberWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateMemberJSONRequestBody, ...) (*UpdateMemberResponse, error)
- func (c *ClientWithResponses) UpdateProjectMemberWithBodyWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, ...) (*UpdateProjectMemberResponse, error)
- func (c *ClientWithResponses) UpdateProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, ...) (*UpdateProjectMemberResponse, error)
- func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, ...) (*UpdateProjectResponse, error)
- func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, id ProjectIDPath, body UpdateProjectJSONRequestBody, ...) (*UpdateProjectResponse, error)
- func (c *ClientWithResponses) UpdateRoleWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateRoleResponse, error)
- func (c *ClientWithResponses) UpdateRoleWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateRoleJSONRequestBody, ...) (*UpdateRoleResponse, error)
- func (c *ClientWithResponses) UpdateSSHKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateSSHKeyResponse, error)
- func (c *ClientWithResponses) UpdateSSHKeyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateSSHKeyJSONRequestBody, ...) (*UpdateSSHKeyResponse, error)
- func (c *ClientWithResponses) UpdateSecurityGroupWithBodyWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, ...) (*UpdateSecurityGroupResponse, error)
- func (c *ClientWithResponses) UpdateSecurityGroupWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, ...) (*UpdateSecurityGroupResponse, error)
- func (c *ClientWithResponses) UpdateVMNoteWithBodyWithResponse(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, ...) (*UpdateVMNoteResponse, error)
- func (c *ClientWithResponses) UpdateVMNoteWithResponse(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, ...) (*UpdateVMNoteResponse, error)
- func (c *ClientWithResponses) UpdateVMTagWithBodyWithResponse(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, ...) (*UpdateVMTagResponse, error)
- func (c *ClientWithResponses) UpdateVMTagWithResponse(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, ...) (*UpdateVMTagResponse, error)
- func (c *ClientWithResponses) UpdateVPCWithBodyWithResponse(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, contentType string, ...) (*UpdateVPCResponse, error)
- func (c *ClientWithResponses) UpdateVPCWithResponse(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, ...) (*UpdateVPCResponse, error)
- func (c *ClientWithResponses) UpgradeK8SClusterHAWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*UpgradeK8SClusterHAResponse, error)
- func (c *ClientWithResponses) UpgradeK8SClusterVersionWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*UpgradeK8SClusterVersionResponse, error)
- func (c *ClientWithResponses) UpgradeK8SClusterVersionWithResponse(ctx context.Context, clusterID K8SClusterIDPath, ...) (*UpgradeK8SClusterVersionResponse, error)
- func (c *ClientWithResponses) UpsertVMNoteWithBodyWithResponse(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, ...) (*UpsertVMNoteResponse, error)
- func (c *ClientWithResponses) UpsertVMNoteWithResponse(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, ...) (*UpsertVMNoteResponse, error)
- type ClientWithResponsesInterface
- type ConnectDatabaseVPCJSONRequestBody
- type ConnectDatabaseVPCRequest
- type ConnectDatabaseVPCResponse
- type ConvertLambdaJSONRequestBody
- type ConvertLambdaRequest
- type ConvertLambdaRequestMode
- type ConvertLambdaResponse
- type ConvertLambdaResult
- type ConvertLambdaResultRuntime
- type CreateAPIKeyJSONRequestBody
- type CreateAPIKeyRequest
- type CreateAPIKeyRequestRateLimitTier
- type CreateAPIKeyResponse
- type CreateAccountInvitationJSONRequestBody
- type CreateAccountInvitationResponse
- type CreateAppDeploymentJSONRequestBody
- type CreateAppDeploymentRequest
- type CreateAppDeploymentRequestChannel
- type CreateAppDeploymentResponse
- type CreateAppServiceJSONRequestBody
- type CreateAppServiceParams
- type CreateAppServiceRequest
- type CreateAppServiceRequestBuilder
- type CreateAppServiceRequestServiceType
- type CreateAppServiceRequestSourceType
- type CreateAppServiceResponse
- type CreateBackupJSONRequestBody
- type CreateBackupParams
- type CreateBackupRequest
- type CreateBackupResponse
- type CreateBackupScheduleJSONRequestBody
- type CreateBackupScheduleParams
- type CreateBackupScheduleRequest
- type CreateBackupScheduleRequestDayOfWeek
- type CreateBackupScheduleRequestType
- type CreateBackupScheduleResponse
- type CreateDatabaseBackupResponse
- type CreateDatabaseJSONRequestBody
- type CreateDatabaseParams
- type CreateDatabaseRequest
- type CreateDatabaseRequestRegion
- type CreateDatabaseResponse
- type CreateFunctionBindingJSONRequestBody
- type CreateFunctionBindingRequest
- type CreateFunctionBindingRequestBindingType
- type CreateFunctionBindingResponse
- type CreateFunctionDeploymentJSONRequestBody
- type CreateFunctionDeploymentRequest
- type CreateFunctionDeploymentRequestChannel
- type CreateFunctionDeploymentRequestTemplate
- type CreateFunctionDeploymentResponse
- type CreateFunctionJSONRequestBody
- type CreateFunctionParams
- type CreateFunctionRequest
- type CreateFunctionRequestRegion
- type CreateFunctionRequestRuntime
- type CreateFunctionRequestSourceType
- type CreateFunctionResponse
- type CreateFunctionTriggerJSONRequestBody
- type CreateFunctionTriggerRequest
- type CreateFunctionTriggerRequestTriggerType
- type CreateFunctionTriggerResponse
- type CreateInvitationRequest
- type CreateK8SClusterJSONRequestBody
- type CreateK8SClusterParams
- type CreateK8SClusterRequest
- type CreateK8SClusterRequestRegion
- type CreateK8SClusterRequestStorageNodeCount
- type CreateK8SClusterResponse
- type CreateProjectInvitationJSONRequestBody
- type CreateProjectInvitationResponse
- type CreateProjectJSONRequestBody
- type CreateProjectRequest
- type CreateProjectRequestDefaultRegion
- type CreateProjectResponse
- type CreateRoleJSONRequestBody
- type CreateRoleRequest
- type CreateRoleRequestScope
- type CreateRoleResponse
- type CreateSSHKeyJSONRequestBody
- type CreateSSHKeyRequest
- type CreateSSHKeyResponse
- type CreateSecurityGroupJSONRequestBody
- type CreateSecurityGroupParams
- type CreateSecurityGroupRequest
- type CreateSecurityGroupResponse
- type CreateSnapshotJSONRequestBody
- type CreateSnapshotParams
- type CreateSnapshotRequest
- type CreateSnapshotRequestResourceType
- type CreateSnapshotResponse
- type CreateVMJSONRequestBody
- type CreateVMParams
- type CreateVMRequest
- type CreateVMRequestBackupType
- type CreateVMRequestExtraStorageType
- type CreateVMRequestRegion
- type CreateVMResponse
- type CreateVPCJSONRequestBody
- type CreateVPCParams
- type CreateVPCRequest
- type CreateVPCRequestRegion
- type CreateVPCResponse
- type CreateVolumeJSONRequestBody
- type CreateVolumeParams
- type CreateVolumeRequest
- type CreateVolumeRequestFilesystemType
- type CreateVolumeRequestRegion
- type CreateVolumeRequestVolumeType
- type CreateVolumeResponse
- type Database
- type DatabaseBackup
- type DatabaseBackupBackupType
- type DatabaseBackupStatus
- type DatabaseBillingType
- type DatabaseConnection
- type DatabaseEngine
- type DatabaseEngineInfo
- type DatabaseExtension
- type DatabaseHAPricing
- type DatabaseIDPath
- type DatabaseMetrics
- type DatabaseMetricsPoint
- type DatabasePricingPlan
- type DatabasePricingPlanRegion
- type DatabasePublicAccessRequest
- type DatabaseRegion
- type DatabaseReplicaPricing
- type DatabaseSlowQuery
- type DatabaseStatus
- type DatabaseStoragePricing
- type DeleteAppCustomDomainResponse
- type DeleteAppEnvVarResponse
- type DeleteAppServiceResponse
- type DeleteBackupChainParams
- type DeleteBackupChainResponse
- type DeleteBackupParams
- type DeleteBackupResponse
- type DeleteBackupScheduleParams
- type DeleteBackupScheduleResponse
- type DeleteDatabaseResponse
- type DeleteFunctionBindingResponse
- type DeleteFunctionEnvVarResponse
- type DeleteFunctionResponse
- type DeleteFunctionTriggerResponse
- type DeleteK8SClusterParams
- type DeleteK8SClusterResponse
- type DeleteK8SNodePoolParams
- type DeleteK8SNodePoolResponse
- type DeleteK8STcpPortParams
- type DeleteK8STcpPortResponse
- type DeleteProjectResponse
- type DeleteRoleResponse
- type DeleteSSHKeyResponse
- type DeleteSecurityGroupParams
- type DeleteSecurityGroupResponse
- type DeleteSnapshotParams
- type DeleteSnapshotResponse
- type DeleteVMJSONRequestBody
- type DeleteVMParams
- type DeleteVMRequest
- type DeleteVMRequestVolumeAction
- type DeleteVMResponse
- type DeleteVMsBulkJSONRequestBody
- type DeleteVMsBulkParams
- type DeleteVMsBulkRequest
- type DeleteVMsBulkRequestVolumeAction
- type DeleteVMsBulkResponse
- type DeleteVPCParams
- type DeleteVPCResponse
- type DeleteVolumeParams
- type DeleteVolumeResponse
- type DetachVMFromVPCParams
- type DetachVMFromVPCResponse
- type DetachVMIPParams
- type DetachVMIPResponse
- type DetachVMSecurityGroupParams
- type DetachVMSecurityGroupResponse
- type DetachVolumeParams
- type DetachVolumeResponse
- type Error
- type FactoryResetVMParams
- type FactoryResetVMResponse
- type FloatingIP
- type FloatingIPRegion
- type FloatingIPStatus
- type FloatingIPType
- type Function
- type FunctionBinding
- type FunctionBindingBindingType
- type FunctionBindingStatus
- type FunctionBuildLogLine
- type FunctionDeployment
- type FunctionDeploymentChannel
- type FunctionDeploymentStatus
- type FunctionEnvVar
- type FunctionInvocation
- type FunctionLogLine
- type FunctionLogLineLevel
- type FunctionLogLineStream
- type FunctionMetrics
- type FunctionMetricsSeriesName
- type FunctionRef
- type FunctionRegion
- type FunctionRevision
- type FunctionRevisionStatus
- type FunctionRuntime
- type FunctionRuntimeInfo
- type FunctionRuntimeInfoID
- type FunctionSourceFile
- type FunctionSourceType
- type FunctionSourceUpload
- type FunctionStatus
- type FunctionTrigger
- type FunctionTriggerLastStatus
- type FunctionTriggerRun
- type FunctionTriggerRunStatus
- type FunctionTriggerTriggerType
- type FunctionsPricing
- type FunctionsSpendSettings
- type FunctionsSpendSettingsCapAction
- type FunctionsUsage
- type GetAPIKeyResponse
- type GetAppDeploymentLogsResponse
- type GetAppDeploymentResponse
- type GetAppServiceMetricsParams
- type GetAppServiceMetricsResponse
- type GetAppServiceResponse
- type GetAppSpendSettingsResponse
- type GetAppsPricingResponse
- type GetAppsUsageParams
- type GetAppsUsageResponse
- type GetBackupParams
- type GetBackupResponse
- type GetBackupScheduleParams
- type GetBackupScheduleResponse
- type GetDatabaseConnectionParams
- type GetDatabaseConnectionResponse
- type GetDatabaseLogsParams
- type GetDatabaseLogsResponse
- type GetDatabaseMetricsHistoryParams
- type GetDatabaseMetricsHistoryResponse
- type GetDatabaseMetricsResponse
- type GetDatabaseResponse
- type GetDatabaseSlowQueriesParams
- type GetDatabaseSlowQueriesResponse
- type GetFunctionDeploymentLogsResponse
- type GetFunctionDeploymentResponse
- type GetFunctionMetricsParams
- type GetFunctionMetricsParamsWindow
- type GetFunctionMetricsResponse
- type GetFunctionResponse
- type GetFunctionSourceParams
- type GetFunctionSourceResponse
- type GetFunctionsPricingResponse
- type GetFunctionsSpendSettingsResponse
- type GetFunctionsUsageParams
- type GetFunctionsUsageResponse
- type GetIPResponse
- type GetK8SClusterFirewallParams
- type GetK8SClusterFirewallResponse
- type GetK8SClusterMetricsParams
- type GetK8SClusterMetricsResponse
- type GetK8SClusterParams
- type GetK8SClusterResponse
- type GetK8SClusterStatsParams
- type GetK8SClusterStatsResponse
- type GetK8SKubeconfigParams
- type GetK8SKubeconfigResponse
- type GetK8SMetalLBPoolParams
- type GetK8SMetalLBPoolResponse
- type GetMemberResponse
- type GetProjectMemberResponse
- type GetProjectResponse
- type GetRoleResponse
- type GetSSHKeyResponse
- type GetSecurityGroupParams
- type GetSecurityGroupResponse
- type GetSnapshotParams
- type GetSnapshotResponse
- type GetVMNotesParams
- type GetVMNotesParamsType
- type GetVMNotesResponse
- type GetVMResponse
- type GetVPCParams
- type GetVPCResponse
- type GetVolumeParams
- type GetVolumeResponse
- type HardRebootVMParams
- type HardRebootVMResponse
- type HealthCheckResponse
- type HttpRequestDoer
- type IPIDPath
- type IPPricing
- type IPPricingTier
- type InsufficientBalance
- type Invitation
- type InvitationType
- type K8SCluster
- type K8SClusterBillingType
- type K8SClusterEvent
- type K8SClusterIDPath
- type K8SClusterNode
- type K8SClusterNodeRole
- type K8SClusterNodeStatus
- type K8SClusterRegion
- type K8SClusterStats
- type K8SClusterStatus
- type K8SControlPlaneHealth
- type K8SFirewallState
- type K8SHAPricing
- type K8SMetalLBPool
- type K8SNode
- type K8SNodeMetrics
- type K8SNodePlan
- type K8SNodePlanRegion
- type K8SNodePool
- type K8SNodePoolInput
- type K8SNodePoolStatus
- type K8SNodeRole
- type K8SNodeStatus
- type K8SPoolIDPath
- type K8SStoragePricing
- type K8STcpForward
- type K8SVersion
- type ListAPIKeysParams
- type ListAPIKeysParamsScope
- type ListAPIKeysResponse
- type ListAppCustomDomainsResponse
- type ListAppDeploymentsParams
- type ListAppDeploymentsResponse
- type ListAppEnvVarsResponse
- type ListAppJobRunsResponse
- type ListAppLogsParams
- type ListAppLogsResponse
- type ListAppServicesParams
- type ListAppServicesParamsServiceType
- type ListAppServicesResponse
- type ListAppTiersParams
- type ListAppTiersResponse
- type ListBackupPricingParams
- type ListBackupPricingParamsRegion
- type ListBackupPricingResponse
- type ListBackupSchedulesParams
- type ListBackupSchedulesResponse
- type ListBackupsParams
- type ListBackupsResponse
- type ListDatabaseBackupsResponse
- type ListDatabaseEnginesResponse
- type ListDatabaseExtensionsResponse
- type ListDatabasePlansParams
- type ListDatabasePlansResponse
- type ListDatabasePricingParams
- type ListDatabasePricingResponse
- type ListDatabasesResponse
- type ListFunctionBindingsResponse
- type ListFunctionDeploymentsResponse
- type ListFunctionEnvVarsResponse
- type ListFunctionInvocationsParams
- type ListFunctionInvocationsResponse
- type ListFunctionLogsParams
- type ListFunctionLogsParamsLevel
- type ListFunctionLogsResponse
- type ListFunctionRevisionsResponse
- type ListFunctionRuntimesResponse
- type ListFunctionTriggerRunsParams
- type ListFunctionTriggerRunsResponse
- type ListFunctionTriggersResponse
- type ListFunctionsParams
- type ListFunctionsParamsStatus
- type ListFunctionsResponse
- type ListIPPricingResponse
- type ListIPsParams
- type ListIPsParamsStatus
- type ListIPsResponse
- type ListK8SClusterEventsParams
- type ListK8SClusterEventsResponse
- type ListK8SClusterNodesParams
- type ListK8SClusterNodesResponse
- type ListK8SClusterUpgrades200UpgradeMode
- type ListK8SClusterUpgrades200UpgradeStatus
- type ListK8SClusterUpgradesParams
- type ListK8SClusterUpgradesResponse
- type ListK8SClustersParams
- type ListK8SClustersResponse
- type ListK8SNodePlansResponse
- type ListK8SNodePoolsParams
- type ListK8SNodePoolsResponse
- type ListK8STcpPortsParams
- type ListK8STcpPortsResponse
- type ListK8SVersionsResponse
- type ListKubernetesPricingResponse
- type ListMembersParams
- type ListMembersParamsStatus
- type ListMembersResponse
- type ListPermissionsParams
- type ListPermissionsParamsScope
- type ListPermissionsResponse
- type ListProjectMembersParams
- type ListProjectMembersParamsStatus
- type ListProjectMembersResponse
- type ListProjectsParams
- type ListProjectsResponse
- type ListRegionsResponse
- type ListRolesParams
- type ListRolesParamsScope
- type ListRolesResponse
- type ListSSHKeysResponse
- type ListSecurityGroupTemplatesResponse
- type ListSecurityGroupsParams
- type ListSecurityGroupsResponse
- type ListSnapshotPricingParams
- type ListSnapshotPricingParamsRegion
- type ListSnapshotPricingResponse
- type ListSnapshotsParams
- type ListSnapshotsParamsType
- type ListSnapshotsResponse
- type ListTemplatesParams
- type ListTemplatesParamsCategory
- type ListTemplatesParamsRegion
- type ListTemplatesParamsVMType
- type ListTemplatesResponse
- type ListVMNetworksParams
- type ListVMNetworksParamsType
- type ListVMNetworksResponse
- type ListVMPricingParams
- type ListVMPricingParamsRegion
- type ListVMPricingParamsType
- type ListVMPricingResponse
- type ListVMsParams
- type ListVMsParamsRegion
- type ListVMsParamsStatus
- type ListVMsResponse
- type ListVPCCIDRSuggestionsParams
- type ListVPCCIDRSuggestionsResponse
- type ListVPCsParams
- type ListVPCsResponse
- type ListVolumePricingParams
- type ListVolumePricingParamsRegion
- type ListVolumePricingResponse
- type ListVolumesParams
- type ListVolumesParamsRegion
- type ListVolumesResponse
- type Member
- type MemberStatus
- type MissingProjectID
- type NICIDPath
- type NotFound
- type NoteTypePath
- type PauseAppServiceResponse
- type PauseFunctionResponse
- type Permission
- type PermissionScope
- type Project
- type ProjectDefaultRegion
- type ProjectIDHeader
- type ProjectIDPath
- type ProjectMember
- type ProjectMemberStatus
- type RebootVMParams
- type RebootVMResponse
- type RegenerateAPIKeyResponse
- type Region
- type ReinstallVMJSONRequestBody
- type ReinstallVMParams
- type ReinstallVMRequest
- type ReinstallVMResponse
- type ReleaseIPParams
- type ReleaseIPResponse
- type RemoveMemberResponse
- type RemoveProjectMemberResponse
- type RemoveVMTagParams
- type RemoveVMTagResponse
- type RenameK8SClusterJSONBody
- type RenameK8SClusterJSONRequestBody
- type RenameK8SClusterParams
- type RenameK8SClusterResponse
- type RenameSnapshotJSONRequestBody
- type RenameSnapshotParams
- type RenameSnapshotRequest
- type RenameSnapshotResponse
- type RenameVMJSONRequestBody
- type RenameVMParams
- type RenameVMRequest
- type RenameVMResponse
- type RequestAppSourceUploadResponse
- type RequestEditorFn
- type RequestFunctionSourceUploadResponse
- type ReserveIPJSONRequestBody
- type ReserveIPParams
- type ReserveIPRequest
- type ReserveIPRequestBillingPeriod
- type ReserveIPRequestRegion
- type ReserveIPRequestType
- type ReserveIPResponse
- type ResetBackupChainParams
- type ResetBackupChainResponse
- type ResetK8SClusterFirewallParams
- type ResetK8SClusterFirewallResponse
- type ResetVMPasswordParams
- type ResetVMPasswordResponse
- type ResizeBillingDetails
- type ResizeBillingDetailsType
- type ResizeResponse
- type ResizeVMDiskJSONRequestBody
- type ResizeVMDiskParams
- type ResizeVMDiskRequest
- type ResizeVMDiskResponse
- type ResizeVMJSONRequestBody
- type ResizeVMParams
- type ResizeVMRequest
- type ResizeVMResponse
- type ResizeVolumeJSONRequestBody
- type ResizeVolumeParams
- type ResizeVolumeRequest
- type ResizeVolumeResponse
- type RestoreBackupParams
- type RestoreBackupResponse
- type RestoreDatabaseJSONRequestBody
- type RestoreDatabaseRequest
- type RestoreDatabaseResponse
- type RestoreSnapshotParams
- type RestoreSnapshotResponse
- type ResumeAppServiceResponse
- type ResumeDatabaseResponse
- type ResumeFunctionResponse
- type RetryAppDomainVerificationResponse
- type RevealAppEnvVarsResponse
- type RevealFunctionEnvVarsResponse
- type RevokeAPIKeyResponse
- type Role
- type RoleScope
- type RollbackAppServiceJSONBody
- type RollbackAppServiceJSONRequestBody
- type RollbackAppServiceResponse
- type RollbackFunctionJSONBody
- type RollbackFunctionJSONRequestBody
- type RollbackFunctionResponse
- type RotateDatabaseCredentialsResponse
- type RotateFunctionBindingResponse
- type RotateK8SKubeconfigAccessParams
- type RotateK8SKubeconfigAccessResponse
- type RunAppJobResponse
- type SSHKey
- type SSHKeyKeyType
- type SaveImageRequest
- type SaveVMDiskAsImageJSONRequestBody
- type SaveVMDiskAsImageParams
- type SaveVMDiskAsImageResponse
- type ScaleAppServiceJSONRequestBody
- type ScaleAppServiceRequest
- type ScaleAppServiceResponse
- type ScaleDatabaseJSONRequestBody
- type ScaleDatabaseRequest
- type ScaleDatabaseResponse
- type ScaleK8SNodePoolJSONBody
- type ScaleK8SNodePoolJSONRequestBody
- type ScaleK8SNodePoolParams
- type ScaleK8SNodePoolResponse
- type SecurityGroup
- type SecurityGroupIDPath
- type SecurityGroupResourceIDPath
- type SecurityGroupRule
- type SecurityGroupRuleProtocol
- type SecurityGroupRuleRuleType
- type SecurityGroupTemplate
- type SetAppEnvVarJSONBody
- type SetAppEnvVarJSONRequestBody
- type SetAppEnvVarResponse
- type SetDatabaseExtensionJSONRequestBody
- type SetDatabaseExtensionRequest
- type SetDatabaseExtensionResponse
- type SetDatabasePublicAccessJSONRequestBody
- type SetDatabasePublicAccessResponse
- type SetFunctionEnvVarJSONBody
- type SetFunctionEnvVarJSONRequestBody
- type SetFunctionEnvVarResponse
- type Snapshot
- type SnapshotStatus
- type SnapshotType
- type StartVMParams
- type StartVMResponse
- type StopVMParams
- type StopVMResponse
- type StoragePricing
- type StoragePricingRegion
- type SuccessResponse
- type TagIDPath
- type Template
- type TemplateCategory
- type TemplateRegion
- type Unauthorized
- type UpdateAPIKeyJSONRequestBody
- type UpdateAPIKeyRequest
- type UpdateAPIKeyRequestRateLimitTier
- type UpdateAPIKeyResponse
- type UpdateAppSpendSettingsJSONBody
- type UpdateAppSpendSettingsJSONBodyCapAction
- type UpdateAppSpendSettingsJSONRequestBody
- type UpdateAppSpendSettingsResponse
- type UpdateBackupScheduleJSONRequestBody
- type UpdateBackupScheduleParams
- type UpdateBackupScheduleRequest
- type UpdateBackupScheduleRequestDayOfWeek
- type UpdateBackupScheduleRequestType
- type UpdateBackupScheduleResponse
- type UpdateDatabaseJSONRequestBody
- type UpdateDatabaseRequest
- type UpdateDatabaseResponse
- type UpdateFunctionJSONRequestBody
- type UpdateFunctionRequest
- type UpdateFunctionResponse
- type UpdateFunctionTriggerJSONBody
- type UpdateFunctionTriggerJSONRequestBody
- type UpdateFunctionTriggerResponse
- type UpdateFunctionsSpendSettingsJSONBody
- type UpdateFunctionsSpendSettingsJSONRequestBody
- type UpdateFunctionsSpendSettingsResponse
- type UpdateK8SClusterMaintenanceJSONBody
- type UpdateK8SClusterMaintenanceJSONBodyUpgradeMode
- type UpdateK8SClusterMaintenanceJSONRequestBody
- type UpdateK8SClusterMaintenanceParams
- type UpdateK8SClusterMaintenanceResponse
- type UpdateK8SMetalLBPoolJSONBody
- type UpdateK8SMetalLBPoolJSONRequestBody
- type UpdateK8SMetalLBPoolParams
- type UpdateK8SMetalLBPoolResponse
- type UpdateK8SNodePoolJSONRequestBody
- type UpdateK8SNodePoolParams
- type UpdateK8SNodePoolRequest
- type UpdateK8SNodePoolResponse
- type UpdateMemberJSONRequestBody
- type UpdateMemberRequest
- type UpdateMemberRequestStatus
- type UpdateMemberResponse
- type UpdateProjectJSONRequestBody
- type UpdateProjectMemberJSONRequestBody
- type UpdateProjectMemberResponse
- type UpdateProjectRequest
- type UpdateProjectRequestDefaultRegion
- type UpdateProjectResponse
- type UpdateRoleJSONRequestBody
- type UpdateRoleRequest
- type UpdateRoleResponse
- type UpdateSSHKeyJSONRequestBody
- type UpdateSSHKeyRequest
- type UpdateSSHKeyResponse
- type UpdateSecurityGroupJSONRequestBody
- type UpdateSecurityGroupParams
- type UpdateSecurityGroupRequest
- type UpdateSecurityGroupResponse
- type UpdateVMNoteJSONRequestBody
- type UpdateVMNoteParams
- type UpdateVMNoteParamsType
- type UpdateVMNoteResponse
- type UpdateVMTagJSONRequestBody
- type UpdateVMTagParams
- type UpdateVMTagRequest
- type UpdateVMTagResponse
- type UpdateVPCJSONRequestBody
- type UpdateVPCParams
- type UpdateVPCRequest
- type UpdateVPCResponse
- type UpgradeK8SClusterHAParams
- type UpgradeK8SClusterHAResponse
- type UpgradeK8SClusterVersionJSONBody
- type UpgradeK8SClusterVersionJSONRequestBody
- type UpgradeK8SClusterVersionParams
- type UpgradeK8SClusterVersionResponse
- type UpsertVMNoteJSONRequestBody
- type UpsertVMNoteParams
- type UpsertVMNoteParamsType
- type UpsertVMNoteRequest
- type UpsertVMNoteResponse
- type VM
- type VMBillingType
- type VMIDPath
- type VMImage
- type VMImageRegion
- type VMNetwork
- type VMNetworkType
- type VMNote
- type VMNoteType
- type VMNotesResponse
- type VMPricingPlan
- type VMPricingPlanRegion
- type VMPricingPlanVMType
- type VMRegion
- type VMStatus
- type VMTag
- type VMTagsResponse
- type VPC
- type VPCDetail
- type VPCIDPath
- type VPCLease
- type VPCRegion
- type Volume
- type VolumeRegion
- type VolumeStatus
- type VolumeVolumeType
Constants ¶
const (
ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewAddAppCustomDomainRequest ¶ added in v0.4.0
func NewAddAppCustomDomainRequest(server string, serviceID AppServiceRef, body AddAppCustomDomainJSONRequestBody) (*http.Request, error)
NewAddAppCustomDomainRequest calls the generic AddAppCustomDomain builder with application/json body
func NewAddAppCustomDomainRequestWithBody ¶ added in v0.4.0
func NewAddAppCustomDomainRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
NewAddAppCustomDomainRequestWithBody generates requests for AddAppCustomDomain with any type of body
func NewAddK8SNodePoolRequest ¶ added in v0.4.0
func NewAddK8SNodePoolRequest(server string, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, body AddK8SNodePoolJSONRequestBody) (*http.Request, error)
NewAddK8SNodePoolRequest calls the generic AddK8SNodePool builder with application/json body
func NewAddK8SNodePoolRequestWithBody ¶ added in v0.4.0
func NewAddK8SNodePoolRequestWithBody(server string, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, contentType string, body io.Reader) (*http.Request, error)
NewAddK8SNodePoolRequestWithBody generates requests for AddK8SNodePool with any type of body
func NewAddMemberRequest ¶
func NewAddMemberRequest(server string, body AddMemberJSONRequestBody) (*http.Request, error)
NewAddMemberRequest calls the generic AddMember builder with application/json body
func NewAddMemberRequestWithBody ¶
func NewAddMemberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAddMemberRequestWithBody generates requests for AddMember with any type of body
func NewAddProjectMemberRequest ¶
func NewAddProjectMemberRequest(server string, id ProjectIDPath, body AddProjectMemberJSONRequestBody) (*http.Request, error)
NewAddProjectMemberRequest calls the generic AddProjectMember builder with application/json body
func NewAddProjectMemberRequestWithBody ¶
func NewAddProjectMemberRequestWithBody(server string, id ProjectIDPath, contentType string, body io.Reader) (*http.Request, error)
NewAddProjectMemberRequestWithBody generates requests for AddProjectMember with any type of body
func NewAddVMTagRequest ¶
func NewAddVMTagRequest(server string, id VMIDPath, params *AddVMTagParams, body AddVMTagJSONRequestBody) (*http.Request, error)
NewAddVMTagRequest calls the generic AddVMTag builder with application/json body
func NewAddVMTagRequestWithBody ¶
func NewAddVMTagRequestWithBody(server string, id VMIDPath, params *AddVMTagParams, contentType string, body io.Reader) (*http.Request, error)
NewAddVMTagRequestWithBody generates requests for AddVMTag with any type of body
func NewAppendVMNoteRequest ¶
func NewAppendVMNoteRequest(server string, id VMIDPath, pType AppendVMNoteParamsType, params *AppendVMNoteParams, body AppendVMNoteJSONRequestBody) (*http.Request, error)
NewAppendVMNoteRequest calls the generic AppendVMNote builder with application/json body
func NewAppendVMNoteRequestWithBody ¶
func NewAppendVMNoteRequestWithBody(server string, id VMIDPath, pType AppendVMNoteParamsType, params *AppendVMNoteParams, contentType string, body io.Reader) (*http.Request, error)
NewAppendVMNoteRequestWithBody generates requests for AppendVMNote with any type of body
func NewAssignK8SClusterFirewallRequest ¶ added in v0.4.0
func NewAssignK8SClusterFirewallRequest(server string, clusterID K8SClusterIDPath, params *AssignK8SClusterFirewallParams, body AssignK8SClusterFirewallJSONRequestBody) (*http.Request, error)
NewAssignK8SClusterFirewallRequest calls the generic AssignK8SClusterFirewall builder with application/json body
func NewAssignK8SClusterFirewallRequestWithBody ¶ added in v0.4.0
func NewAssignK8SClusterFirewallRequestWithBody(server string, clusterID K8SClusterIDPath, params *AssignK8SClusterFirewallParams, contentType string, body io.Reader) (*http.Request, error)
NewAssignK8SClusterFirewallRequestWithBody generates requests for AssignK8SClusterFirewall with any type of body
func NewAttachVMIPRequest ¶
func NewAttachVMIPRequest(server string, id VMIDPath, params *AttachVMIPParams, body AttachVMIPJSONRequestBody) (*http.Request, error)
NewAttachVMIPRequest calls the generic AttachVMIP builder with application/json body
func NewAttachVMIPRequestWithBody ¶
func NewAttachVMIPRequestWithBody(server string, id VMIDPath, params *AttachVMIPParams, contentType string, body io.Reader) (*http.Request, error)
NewAttachVMIPRequestWithBody generates requests for AttachVMIP with any type of body
func NewAttachVMSecurityGroupRequest ¶
func NewAttachVMSecurityGroupRequest(server string, id VMIDPath, params *AttachVMSecurityGroupParams, body AttachVMSecurityGroupJSONRequestBody) (*http.Request, error)
NewAttachVMSecurityGroupRequest calls the generic AttachVMSecurityGroup builder with application/json body
func NewAttachVMSecurityGroupRequestWithBody ¶
func NewAttachVMSecurityGroupRequestWithBody(server string, id VMIDPath, params *AttachVMSecurityGroupParams, contentType string, body io.Reader) (*http.Request, error)
NewAttachVMSecurityGroupRequestWithBody generates requests for AttachVMSecurityGroup with any type of body
func NewAttachVMToVPCRequest ¶
func NewAttachVMToVPCRequest(server string, id VMIDPath, params *AttachVMToVPCParams, body AttachVMToVPCJSONRequestBody) (*http.Request, error)
NewAttachVMToVPCRequest calls the generic AttachVMToVPC builder with application/json body
func NewAttachVMToVPCRequestWithBody ¶
func NewAttachVMToVPCRequestWithBody(server string, id VMIDPath, params *AttachVMToVPCParams, contentType string, body io.Reader) (*http.Request, error)
NewAttachVMToVPCRequestWithBody generates requests for AttachVMToVPC with any type of body
func NewAttachVolumeRequest ¶
func NewAttachVolumeRequest(server string, id int, params *AttachVolumeParams, body AttachVolumeJSONRequestBody) (*http.Request, error)
NewAttachVolumeRequest calls the generic AttachVolume builder with application/json body
func NewAttachVolumeRequestWithBody ¶
func NewAttachVolumeRequestWithBody(server string, id int, params *AttachVolumeParams, contentType string, body io.Reader) (*http.Request, error)
NewAttachVolumeRequestWithBody generates requests for AttachVolume with any type of body
func NewBulkSetAppEnvVarsRequest ¶ added in v0.4.0
func NewBulkSetAppEnvVarsRequest(server string, serviceID AppServiceRef, body BulkSetAppEnvVarsJSONRequestBody) (*http.Request, error)
NewBulkSetAppEnvVarsRequest calls the generic BulkSetAppEnvVars builder with application/json body
func NewBulkSetAppEnvVarsRequestWithBody ¶ added in v0.4.0
func NewBulkSetAppEnvVarsRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
NewBulkSetAppEnvVarsRequestWithBody generates requests for BulkSetAppEnvVars with any type of body
func NewCancelAppJobRunRequest ¶ added in v0.4.0
NewCancelAppJobRunRequest generates requests for CancelAppJobRun
func NewCancelInvitationRequest ¶
NewCancelInvitationRequest generates requests for CancelInvitation
func NewChangeIPRequest ¶
NewChangeIPRequest generates requests for ChangeIP
func NewConnectDatabaseVPCRequest ¶ added in v0.4.0
func NewConnectDatabaseVPCRequest(server string, databaseID DatabaseIDPath, body ConnectDatabaseVPCJSONRequestBody) (*http.Request, error)
NewConnectDatabaseVPCRequest calls the generic ConnectDatabaseVPC builder with application/json body
func NewConnectDatabaseVPCRequestWithBody ¶ added in v0.4.0
func NewConnectDatabaseVPCRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
NewConnectDatabaseVPCRequestWithBody generates requests for ConnectDatabaseVPC with any type of body
func NewConvertLambdaRequest ¶ added in v0.4.0
func NewConvertLambdaRequest(server string, body ConvertLambdaJSONRequestBody) (*http.Request, error)
NewConvertLambdaRequest calls the generic ConvertLambda builder with application/json body
func NewConvertLambdaRequestWithBody ¶ added in v0.4.0
func NewConvertLambdaRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewConvertLambdaRequestWithBody generates requests for ConvertLambda with any type of body
func NewCreateAPIKeyRequest ¶
func NewCreateAPIKeyRequest(server string, body CreateAPIKeyJSONRequestBody) (*http.Request, error)
NewCreateAPIKeyRequest calls the generic CreateAPIKey builder with application/json body
func NewCreateAPIKeyRequestWithBody ¶
func NewCreateAPIKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAPIKeyRequestWithBody generates requests for CreateAPIKey with any type of body
func NewCreateAccountInvitationRequest ¶
func NewCreateAccountInvitationRequest(server string, body CreateAccountInvitationJSONRequestBody) (*http.Request, error)
NewCreateAccountInvitationRequest calls the generic CreateAccountInvitation builder with application/json body
func NewCreateAccountInvitationRequestWithBody ¶
func NewCreateAccountInvitationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAccountInvitationRequestWithBody generates requests for CreateAccountInvitation with any type of body
func NewCreateAppDeploymentRequest ¶ added in v0.4.0
func NewCreateAppDeploymentRequest(server string, serviceID AppServiceRef, body CreateAppDeploymentJSONRequestBody) (*http.Request, error)
NewCreateAppDeploymentRequest calls the generic CreateAppDeployment builder with application/json body
func NewCreateAppDeploymentRequestWithBody ¶ added in v0.4.0
func NewCreateAppDeploymentRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
NewCreateAppDeploymentRequestWithBody generates requests for CreateAppDeployment with any type of body
func NewCreateAppServiceRequest ¶ added in v0.4.0
func NewCreateAppServiceRequest(server string, params *CreateAppServiceParams, body CreateAppServiceJSONRequestBody) (*http.Request, error)
NewCreateAppServiceRequest calls the generic CreateAppService builder with application/json body
func NewCreateAppServiceRequestWithBody ¶ added in v0.4.0
func NewCreateAppServiceRequestWithBody(server string, params *CreateAppServiceParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateAppServiceRequestWithBody generates requests for CreateAppService with any type of body
func NewCreateBackupRequest ¶
func NewCreateBackupRequest(server string, params *CreateBackupParams, body CreateBackupJSONRequestBody) (*http.Request, error)
NewCreateBackupRequest calls the generic CreateBackup builder with application/json body
func NewCreateBackupRequestWithBody ¶
func NewCreateBackupRequestWithBody(server string, params *CreateBackupParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateBackupRequestWithBody generates requests for CreateBackup with any type of body
func NewCreateBackupScheduleRequest ¶
func NewCreateBackupScheduleRequest(server string, params *CreateBackupScheduleParams, body CreateBackupScheduleJSONRequestBody) (*http.Request, error)
NewCreateBackupScheduleRequest calls the generic CreateBackupSchedule builder with application/json body
func NewCreateBackupScheduleRequestWithBody ¶
func NewCreateBackupScheduleRequestWithBody(server string, params *CreateBackupScheduleParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateBackupScheduleRequestWithBody generates requests for CreateBackupSchedule with any type of body
func NewCreateDatabaseBackupRequest ¶ added in v0.4.0
func NewCreateDatabaseBackupRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
NewCreateDatabaseBackupRequest generates requests for CreateDatabaseBackup
func NewCreateDatabaseRequest ¶ added in v0.4.0
func NewCreateDatabaseRequest(server string, params *CreateDatabaseParams, body CreateDatabaseJSONRequestBody) (*http.Request, error)
NewCreateDatabaseRequest calls the generic CreateDatabase builder with application/json body
func NewCreateDatabaseRequestWithBody ¶ added in v0.4.0
func NewCreateDatabaseRequestWithBody(server string, params *CreateDatabaseParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateDatabaseRequestWithBody generates requests for CreateDatabase with any type of body
func NewCreateFunctionBindingRequest ¶ added in v0.4.0
func NewCreateFunctionBindingRequest(server string, functionID FunctionRef, body CreateFunctionBindingJSONRequestBody) (*http.Request, error)
NewCreateFunctionBindingRequest calls the generic CreateFunctionBinding builder with application/json body
func NewCreateFunctionBindingRequestWithBody ¶ added in v0.4.0
func NewCreateFunctionBindingRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
NewCreateFunctionBindingRequestWithBody generates requests for CreateFunctionBinding with any type of body
func NewCreateFunctionDeploymentRequest ¶ added in v0.4.0
func NewCreateFunctionDeploymentRequest(server string, functionID FunctionRef, body CreateFunctionDeploymentJSONRequestBody) (*http.Request, error)
NewCreateFunctionDeploymentRequest calls the generic CreateFunctionDeployment builder with application/json body
func NewCreateFunctionDeploymentRequestWithBody ¶ added in v0.4.0
func NewCreateFunctionDeploymentRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
NewCreateFunctionDeploymentRequestWithBody generates requests for CreateFunctionDeployment with any type of body
func NewCreateFunctionRequest ¶ added in v0.4.0
func NewCreateFunctionRequest(server string, params *CreateFunctionParams, body CreateFunctionJSONRequestBody) (*http.Request, error)
NewCreateFunctionRequest calls the generic CreateFunction builder with application/json body
func NewCreateFunctionRequestWithBody ¶ added in v0.4.0
func NewCreateFunctionRequestWithBody(server string, params *CreateFunctionParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateFunctionRequestWithBody generates requests for CreateFunction with any type of body
func NewCreateFunctionTriggerRequest ¶ added in v0.4.0
func NewCreateFunctionTriggerRequest(server string, functionID FunctionRef, body CreateFunctionTriggerJSONRequestBody) (*http.Request, error)
NewCreateFunctionTriggerRequest calls the generic CreateFunctionTrigger builder with application/json body
func NewCreateFunctionTriggerRequestWithBody ¶ added in v0.4.0
func NewCreateFunctionTriggerRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
NewCreateFunctionTriggerRequestWithBody generates requests for CreateFunctionTrigger with any type of body
func NewCreateK8SClusterRequest ¶ added in v0.4.0
func NewCreateK8SClusterRequest(server string, params *CreateK8SClusterParams, body CreateK8SClusterJSONRequestBody) (*http.Request, error)
NewCreateK8SClusterRequest calls the generic CreateK8SCluster builder with application/json body
func NewCreateK8SClusterRequestWithBody ¶ added in v0.4.0
func NewCreateK8SClusterRequestWithBody(server string, params *CreateK8SClusterParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateK8SClusterRequestWithBody generates requests for CreateK8SCluster with any type of body
func NewCreateProjectInvitationRequest ¶
func NewCreateProjectInvitationRequest(server string, id ProjectIDPath, body CreateProjectInvitationJSONRequestBody) (*http.Request, error)
NewCreateProjectInvitationRequest calls the generic CreateProjectInvitation builder with application/json body
func NewCreateProjectInvitationRequestWithBody ¶
func NewCreateProjectInvitationRequestWithBody(server string, id ProjectIDPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectInvitationRequestWithBody generates requests for CreateProjectInvitation with any type of body
func NewCreateProjectRequest ¶
func NewCreateProjectRequest(server string, body CreateProjectJSONRequestBody) (*http.Request, error)
NewCreateProjectRequest calls the generic CreateProject builder with application/json body
func NewCreateProjectRequestWithBody ¶
func NewCreateProjectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProjectRequestWithBody generates requests for CreateProject with any type of body
func NewCreateRoleRequest ¶
func NewCreateRoleRequest(server string, body CreateRoleJSONRequestBody) (*http.Request, error)
NewCreateRoleRequest calls the generic CreateRole builder with application/json body
func NewCreateRoleRequestWithBody ¶
func NewCreateRoleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRoleRequestWithBody generates requests for CreateRole with any type of body
func NewCreateSSHKeyRequest ¶
func NewCreateSSHKeyRequest(server string, body CreateSSHKeyJSONRequestBody) (*http.Request, error)
NewCreateSSHKeyRequest calls the generic CreateSSHKey builder with application/json body
func NewCreateSSHKeyRequestWithBody ¶
func NewCreateSSHKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSSHKeyRequestWithBody generates requests for CreateSSHKey with any type of body
func NewCreateSecurityGroupRequest ¶
func NewCreateSecurityGroupRequest(server string, params *CreateSecurityGroupParams, body CreateSecurityGroupJSONRequestBody) (*http.Request, error)
NewCreateSecurityGroupRequest calls the generic CreateSecurityGroup builder with application/json body
func NewCreateSecurityGroupRequestWithBody ¶
func NewCreateSecurityGroupRequestWithBody(server string, params *CreateSecurityGroupParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSecurityGroupRequestWithBody generates requests for CreateSecurityGroup with any type of body
func NewCreateSnapshotRequest ¶
func NewCreateSnapshotRequest(server string, params *CreateSnapshotParams, body CreateSnapshotJSONRequestBody) (*http.Request, error)
NewCreateSnapshotRequest calls the generic CreateSnapshot builder with application/json body
func NewCreateSnapshotRequestWithBody ¶
func NewCreateSnapshotRequestWithBody(server string, params *CreateSnapshotParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSnapshotRequestWithBody generates requests for CreateSnapshot with any type of body
func NewCreateVMRequest ¶
func NewCreateVMRequest(server string, params *CreateVMParams, body CreateVMJSONRequestBody) (*http.Request, error)
NewCreateVMRequest calls the generic CreateVM builder with application/json body
func NewCreateVMRequestWithBody ¶
func NewCreateVMRequestWithBody(server string, params *CreateVMParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateVMRequestWithBody generates requests for CreateVM with any type of body
func NewCreateVPCRequest ¶
func NewCreateVPCRequest(server string, params *CreateVPCParams, body CreateVPCJSONRequestBody) (*http.Request, error)
NewCreateVPCRequest calls the generic CreateVPC builder with application/json body
func NewCreateVPCRequestWithBody ¶
func NewCreateVPCRequestWithBody(server string, params *CreateVPCParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateVPCRequestWithBody generates requests for CreateVPC with any type of body
func NewCreateVolumeRequest ¶
func NewCreateVolumeRequest(server string, params *CreateVolumeParams, body CreateVolumeJSONRequestBody) (*http.Request, error)
NewCreateVolumeRequest calls the generic CreateVolume builder with application/json body
func NewCreateVolumeRequestWithBody ¶
func NewCreateVolumeRequestWithBody(server string, params *CreateVolumeParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateVolumeRequestWithBody generates requests for CreateVolume with any type of body
func NewDeleteAppCustomDomainRequest ¶ added in v0.4.0
func NewDeleteAppCustomDomainRequest(server string, domainID AppDomainIDPath) (*http.Request, error)
NewDeleteAppCustomDomainRequest generates requests for DeleteAppCustomDomain
func NewDeleteAppEnvVarRequest ¶ added in v0.4.0
func NewDeleteAppEnvVarRequest(server string, serviceID AppServiceRef, key string) (*http.Request, error)
NewDeleteAppEnvVarRequest generates requests for DeleteAppEnvVar
func NewDeleteAppServiceRequest ¶ added in v0.4.0
func NewDeleteAppServiceRequest(server string, serviceID AppServiceRef) (*http.Request, error)
NewDeleteAppServiceRequest generates requests for DeleteAppService
func NewDeleteBackupChainRequest ¶ added in v0.3.4
func NewDeleteBackupChainRequest(server string, id openapi_types.UUID, params *DeleteBackupChainParams) (*http.Request, error)
NewDeleteBackupChainRequest generates requests for DeleteBackupChain
func NewDeleteBackupRequest ¶
func NewDeleteBackupRequest(server string, id openapi_types.UUID, params *DeleteBackupParams) (*http.Request, error)
NewDeleteBackupRequest generates requests for DeleteBackup
func NewDeleteBackupScheduleRequest ¶
func NewDeleteBackupScheduleRequest(server string, id int, params *DeleteBackupScheduleParams) (*http.Request, error)
NewDeleteBackupScheduleRequest generates requests for DeleteBackupSchedule
func NewDeleteDatabaseRequest ¶ added in v0.4.0
func NewDeleteDatabaseRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
NewDeleteDatabaseRequest generates requests for DeleteDatabase
func NewDeleteFunctionBindingRequest ¶ added in v0.4.0
func NewDeleteFunctionBindingRequest(server string, functionID FunctionRef, bindingID openapi_types.UUID) (*http.Request, error)
NewDeleteFunctionBindingRequest generates requests for DeleteFunctionBinding
func NewDeleteFunctionEnvVarRequest ¶ added in v0.4.0
func NewDeleteFunctionEnvVarRequest(server string, functionID FunctionRef, key string) (*http.Request, error)
NewDeleteFunctionEnvVarRequest generates requests for DeleteFunctionEnvVar
func NewDeleteFunctionRequest ¶ added in v0.4.0
func NewDeleteFunctionRequest(server string, functionID FunctionRef) (*http.Request, error)
NewDeleteFunctionRequest generates requests for DeleteFunction
func NewDeleteFunctionTriggerRequest ¶ added in v0.4.0
func NewDeleteFunctionTriggerRequest(server string, functionID FunctionRef, triggerID openapi_types.UUID) (*http.Request, error)
NewDeleteFunctionTriggerRequest generates requests for DeleteFunctionTrigger
func NewDeleteK8SClusterRequest ¶ added in v0.4.0
func NewDeleteK8SClusterRequest(server string, clusterID K8SClusterIDPath, params *DeleteK8SClusterParams) (*http.Request, error)
NewDeleteK8SClusterRequest generates requests for DeleteK8SCluster
func NewDeleteK8SNodePoolRequest ¶ added in v0.4.0
func NewDeleteK8SNodePoolRequest(server string, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *DeleteK8SNodePoolParams) (*http.Request, error)
NewDeleteK8SNodePoolRequest generates requests for DeleteK8SNodePool
func NewDeleteK8STcpPortRequest ¶ added in v0.4.0
func NewDeleteK8STcpPortRequest(server string, clusterID K8SClusterIDPath, port int, params *DeleteK8STcpPortParams) (*http.Request, error)
NewDeleteK8STcpPortRequest generates requests for DeleteK8STcpPort
func NewDeleteProjectRequest ¶
func NewDeleteProjectRequest(server string, id ProjectIDPath) (*http.Request, error)
NewDeleteProjectRequest generates requests for DeleteProject
func NewDeleteRoleRequest ¶
NewDeleteRoleRequest generates requests for DeleteRole
func NewDeleteSSHKeyRequest ¶
NewDeleteSSHKeyRequest generates requests for DeleteSSHKey
func NewDeleteSecurityGroupRequest ¶
func NewDeleteSecurityGroupRequest(server string, id SecurityGroupResourceIDPath, params *DeleteSecurityGroupParams) (*http.Request, error)
NewDeleteSecurityGroupRequest generates requests for DeleteSecurityGroup
func NewDeleteSnapshotRequest ¶
func NewDeleteSnapshotRequest(server string, id int, params *DeleteSnapshotParams) (*http.Request, error)
NewDeleteSnapshotRequest generates requests for DeleteSnapshot
func NewDeleteVMRequest ¶
func NewDeleteVMRequest(server string, id VMIDPath, params *DeleteVMParams, body DeleteVMJSONRequestBody) (*http.Request, error)
NewDeleteVMRequest calls the generic DeleteVM builder with application/json body
func NewDeleteVMRequestWithBody ¶
func NewDeleteVMRequestWithBody(server string, id VMIDPath, params *DeleteVMParams, contentType string, body io.Reader) (*http.Request, error)
NewDeleteVMRequestWithBody generates requests for DeleteVM with any type of body
func NewDeleteVMsBulkRequest ¶
func NewDeleteVMsBulkRequest(server string, params *DeleteVMsBulkParams, body DeleteVMsBulkJSONRequestBody) (*http.Request, error)
NewDeleteVMsBulkRequest calls the generic DeleteVMsBulk builder with application/json body
func NewDeleteVMsBulkRequestWithBody ¶
func NewDeleteVMsBulkRequestWithBody(server string, params *DeleteVMsBulkParams, contentType string, body io.Reader) (*http.Request, error)
NewDeleteVMsBulkRequestWithBody generates requests for DeleteVMsBulk with any type of body
func NewDeleteVPCRequest ¶
func NewDeleteVPCRequest(server string, id VPCIDPath, params *DeleteVPCParams) (*http.Request, error)
NewDeleteVPCRequest generates requests for DeleteVPC
func NewDeleteVolumeRequest ¶
func NewDeleteVolumeRequest(server string, id int, params *DeleteVolumeParams) (*http.Request, error)
NewDeleteVolumeRequest generates requests for DeleteVolume
func NewDetachVMFromVPCRequest ¶
func NewDetachVMFromVPCRequest(server string, id VMIDPath, nicID NICIDPath, params *DetachVMFromVPCParams) (*http.Request, error)
NewDetachVMFromVPCRequest generates requests for DetachVMFromVPC
func NewDetachVMIPRequest ¶
func NewDetachVMIPRequest(server string, id VMIDPath, nicID NICIDPath, params *DetachVMIPParams) (*http.Request, error)
NewDetachVMIPRequest generates requests for DetachVMIP
func NewDetachVMSecurityGroupRequest ¶
func NewDetachVMSecurityGroupRequest(server string, id VMIDPath, sgid SecurityGroupIDPath, nicID NICIDPath, params *DetachVMSecurityGroupParams) (*http.Request, error)
NewDetachVMSecurityGroupRequest generates requests for DetachVMSecurityGroup
func NewDetachVolumeRequest ¶
func NewDetachVolumeRequest(server string, id int, params *DetachVolumeParams) (*http.Request, error)
NewDetachVolumeRequest generates requests for DetachVolume
func NewFactoryResetVMRequest ¶
func NewFactoryResetVMRequest(server string, id VMIDPath, params *FactoryResetVMParams) (*http.Request, error)
NewFactoryResetVMRequest generates requests for FactoryResetVM
func NewGetAPIKeyRequest ¶
NewGetAPIKeyRequest generates requests for GetAPIKey
func NewGetAppDeploymentLogsRequest ¶ added in v0.4.0
func NewGetAppDeploymentLogsRequest(server string, deploymentID AppDeploymentIDPath) (*http.Request, error)
NewGetAppDeploymentLogsRequest generates requests for GetAppDeploymentLogs
func NewGetAppDeploymentRequest ¶ added in v0.4.0
func NewGetAppDeploymentRequest(server string, deploymentID AppDeploymentIDPath) (*http.Request, error)
NewGetAppDeploymentRequest generates requests for GetAppDeployment
func NewGetAppServiceMetricsRequest ¶ added in v0.4.0
func NewGetAppServiceMetricsRequest(server string, serviceID AppServiceRef, params *GetAppServiceMetricsParams) (*http.Request, error)
NewGetAppServiceMetricsRequest generates requests for GetAppServiceMetrics
func NewGetAppServiceRequest ¶ added in v0.4.0
func NewGetAppServiceRequest(server string, serviceID AppServiceRef) (*http.Request, error)
NewGetAppServiceRequest generates requests for GetAppService
func NewGetAppSpendSettingsRequest ¶ added in v0.4.0
NewGetAppSpendSettingsRequest generates requests for GetAppSpendSettings
func NewGetAppsPricingRequest ¶ added in v0.4.0
NewGetAppsPricingRequest generates requests for GetAppsPricing
func NewGetAppsUsageRequest ¶ added in v0.4.0
func NewGetAppsUsageRequest(server string, params *GetAppsUsageParams) (*http.Request, error)
NewGetAppsUsageRequest generates requests for GetAppsUsage
func NewGetBackupRequest ¶
func NewGetBackupRequest(server string, id openapi_types.UUID, params *GetBackupParams) (*http.Request, error)
NewGetBackupRequest generates requests for GetBackup
func NewGetBackupScheduleRequest ¶
func NewGetBackupScheduleRequest(server string, id int, params *GetBackupScheduleParams) (*http.Request, error)
NewGetBackupScheduleRequest generates requests for GetBackupSchedule
func NewGetDatabaseConnectionRequest ¶ added in v0.4.0
func NewGetDatabaseConnectionRequest(server string, databaseID DatabaseIDPath, params *GetDatabaseConnectionParams) (*http.Request, error)
NewGetDatabaseConnectionRequest generates requests for GetDatabaseConnection
func NewGetDatabaseLogsRequest ¶ added in v0.4.0
func NewGetDatabaseLogsRequest(server string, databaseID DatabaseIDPath, params *GetDatabaseLogsParams) (*http.Request, error)
NewGetDatabaseLogsRequest generates requests for GetDatabaseLogs
func NewGetDatabaseMetricsHistoryRequest ¶ added in v0.4.0
func NewGetDatabaseMetricsHistoryRequest(server string, databaseID DatabaseIDPath, params *GetDatabaseMetricsHistoryParams) (*http.Request, error)
NewGetDatabaseMetricsHistoryRequest generates requests for GetDatabaseMetricsHistory
func NewGetDatabaseMetricsRequest ¶ added in v0.4.0
func NewGetDatabaseMetricsRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
NewGetDatabaseMetricsRequest generates requests for GetDatabaseMetrics
func NewGetDatabaseRequest ¶ added in v0.4.0
func NewGetDatabaseRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
NewGetDatabaseRequest generates requests for GetDatabase
func NewGetDatabaseSlowQueriesRequest ¶ added in v0.4.0
func NewGetDatabaseSlowQueriesRequest(server string, databaseID DatabaseIDPath, params *GetDatabaseSlowQueriesParams) (*http.Request, error)
NewGetDatabaseSlowQueriesRequest generates requests for GetDatabaseSlowQueries
func NewGetFunctionDeploymentLogsRequest ¶ added in v0.4.0
func NewGetFunctionDeploymentLogsRequest(server string, functionID FunctionRef, deploymentID openapi_types.UUID) (*http.Request, error)
NewGetFunctionDeploymentLogsRequest generates requests for GetFunctionDeploymentLogs
func NewGetFunctionDeploymentRequest ¶ added in v0.4.0
func NewGetFunctionDeploymentRequest(server string, functionID FunctionRef, deploymentID openapi_types.UUID) (*http.Request, error)
NewGetFunctionDeploymentRequest generates requests for GetFunctionDeployment
func NewGetFunctionMetricsRequest ¶ added in v0.4.0
func NewGetFunctionMetricsRequest(server string, functionID FunctionRef, params *GetFunctionMetricsParams) (*http.Request, error)
NewGetFunctionMetricsRequest generates requests for GetFunctionMetrics
func NewGetFunctionRequest ¶ added in v0.4.0
func NewGetFunctionRequest(server string, functionID FunctionRef) (*http.Request, error)
NewGetFunctionRequest generates requests for GetFunction
func NewGetFunctionSourceRequest ¶ added in v0.4.0
func NewGetFunctionSourceRequest(server string, functionID FunctionRef, params *GetFunctionSourceParams) (*http.Request, error)
NewGetFunctionSourceRequest generates requests for GetFunctionSource
func NewGetFunctionsPricingRequest ¶ added in v0.4.0
NewGetFunctionsPricingRequest generates requests for GetFunctionsPricing
func NewGetFunctionsSpendSettingsRequest ¶ added in v0.4.0
NewGetFunctionsSpendSettingsRequest generates requests for GetFunctionsSpendSettings
func NewGetFunctionsUsageRequest ¶ added in v0.4.0
func NewGetFunctionsUsageRequest(server string, params *GetFunctionsUsageParams) (*http.Request, error)
NewGetFunctionsUsageRequest generates requests for GetFunctionsUsage
func NewGetIPRequest ¶
NewGetIPRequest generates requests for GetIP
func NewGetK8SClusterFirewallRequest ¶ added in v0.4.0
func NewGetK8SClusterFirewallRequest(server string, clusterID K8SClusterIDPath, params *GetK8SClusterFirewallParams) (*http.Request, error)
NewGetK8SClusterFirewallRequest generates requests for GetK8SClusterFirewall
func NewGetK8SClusterMetricsRequest ¶ added in v0.4.0
func NewGetK8SClusterMetricsRequest(server string, clusterID K8SClusterIDPath, params *GetK8SClusterMetricsParams) (*http.Request, error)
NewGetK8SClusterMetricsRequest generates requests for GetK8SClusterMetrics
func NewGetK8SClusterRequest ¶ added in v0.4.0
func NewGetK8SClusterRequest(server string, clusterID K8SClusterIDPath, params *GetK8SClusterParams) (*http.Request, error)
NewGetK8SClusterRequest generates requests for GetK8SCluster
func NewGetK8SClusterStatsRequest ¶ added in v0.4.0
func NewGetK8SClusterStatsRequest(server string, params *GetK8SClusterStatsParams) (*http.Request, error)
NewGetK8SClusterStatsRequest generates requests for GetK8SClusterStats
func NewGetK8SKubeconfigRequest ¶ added in v0.4.0
func NewGetK8SKubeconfigRequest(server string, clusterID K8SClusterIDPath, params *GetK8SKubeconfigParams) (*http.Request, error)
NewGetK8SKubeconfigRequest generates requests for GetK8SKubeconfig
func NewGetK8SMetalLBPoolRequest ¶ added in v0.4.0
func NewGetK8SMetalLBPoolRequest(server string, clusterID K8SClusterIDPath, params *GetK8SMetalLBPoolParams) (*http.Request, error)
NewGetK8SMetalLBPoolRequest generates requests for GetK8SMetalLBPool
func NewGetMemberRequest ¶
NewGetMemberRequest generates requests for GetMember
func NewGetProjectMemberRequest ¶
func NewGetProjectMemberRequest(server string, id ProjectIDPath, memberID openapi_types.UUID) (*http.Request, error)
NewGetProjectMemberRequest generates requests for GetProjectMember
func NewGetProjectRequest ¶
func NewGetProjectRequest(server string, id ProjectIDPath) (*http.Request, error)
NewGetProjectRequest generates requests for GetProject
func NewGetRoleRequest ¶
NewGetRoleRequest generates requests for GetRole
func NewGetSSHKeyRequest ¶
NewGetSSHKeyRequest generates requests for GetSSHKey
func NewGetSecurityGroupRequest ¶
func NewGetSecurityGroupRequest(server string, id SecurityGroupResourceIDPath, params *GetSecurityGroupParams) (*http.Request, error)
NewGetSecurityGroupRequest generates requests for GetSecurityGroup
func NewGetSnapshotRequest ¶
NewGetSnapshotRequest generates requests for GetSnapshot
func NewGetVMNotesRequest ¶
func NewGetVMNotesRequest(server string, id VMIDPath, params *GetVMNotesParams) (*http.Request, error)
NewGetVMNotesRequest generates requests for GetVMNotes
func NewGetVMRequest ¶
NewGetVMRequest generates requests for GetVM
func NewGetVPCRequest ¶
NewGetVPCRequest generates requests for GetVPC
func NewGetVolumeRequest ¶
NewGetVolumeRequest generates requests for GetVolume
func NewHardRebootVMRequest ¶
func NewHardRebootVMRequest(server string, id VMIDPath, params *HardRebootVMParams) (*http.Request, error)
NewHardRebootVMRequest generates requests for HardRebootVM
func NewHealthCheckRequest ¶
NewHealthCheckRequest generates requests for HealthCheck
func NewListAPIKeysRequest ¶
func NewListAPIKeysRequest(server string, params *ListAPIKeysParams) (*http.Request, error)
NewListAPIKeysRequest generates requests for ListAPIKeys
func NewListAppCustomDomainsRequest ¶ added in v0.4.0
func NewListAppCustomDomainsRequest(server string, serviceID AppServiceRef) (*http.Request, error)
NewListAppCustomDomainsRequest generates requests for ListAppCustomDomains
func NewListAppDeploymentsRequest ¶ added in v0.4.0
func NewListAppDeploymentsRequest(server string, serviceID AppServiceRef, params *ListAppDeploymentsParams) (*http.Request, error)
NewListAppDeploymentsRequest generates requests for ListAppDeployments
func NewListAppEnvVarsRequest ¶ added in v0.4.0
func NewListAppEnvVarsRequest(server string, serviceID AppServiceRef) (*http.Request, error)
NewListAppEnvVarsRequest generates requests for ListAppEnvVars
func NewListAppJobRunsRequest ¶ added in v0.4.0
func NewListAppJobRunsRequest(server string, serviceID AppServiceRef) (*http.Request, error)
NewListAppJobRunsRequest generates requests for ListAppJobRuns
func NewListAppLogsRequest ¶ added in v0.4.0
func NewListAppLogsRequest(server string, serviceID AppServiceRef, params *ListAppLogsParams) (*http.Request, error)
NewListAppLogsRequest generates requests for ListAppLogs
func NewListAppServicesRequest ¶ added in v0.4.0
func NewListAppServicesRequest(server string, params *ListAppServicesParams) (*http.Request, error)
NewListAppServicesRequest generates requests for ListAppServices
func NewListAppTiersRequest ¶ added in v0.4.0
func NewListAppTiersRequest(server string, params *ListAppTiersParams) (*http.Request, error)
NewListAppTiersRequest generates requests for ListAppTiers
func NewListBackupPricingRequest ¶
func NewListBackupPricingRequest(server string, params *ListBackupPricingParams) (*http.Request, error)
NewListBackupPricingRequest generates requests for ListBackupPricing
func NewListBackupSchedulesRequest ¶
func NewListBackupSchedulesRequest(server string, params *ListBackupSchedulesParams) (*http.Request, error)
NewListBackupSchedulesRequest generates requests for ListBackupSchedules
func NewListBackupsRequest ¶
func NewListBackupsRequest(server string, params *ListBackupsParams) (*http.Request, error)
NewListBackupsRequest generates requests for ListBackups
func NewListDatabaseBackupsRequest ¶ added in v0.4.0
func NewListDatabaseBackupsRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
NewListDatabaseBackupsRequest generates requests for ListDatabaseBackups
func NewListDatabaseEnginesRequest ¶ added in v0.4.0
NewListDatabaseEnginesRequest generates requests for ListDatabaseEngines
func NewListDatabaseExtensionsRequest ¶ added in v0.4.0
func NewListDatabaseExtensionsRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
NewListDatabaseExtensionsRequest generates requests for ListDatabaseExtensions
func NewListDatabasePlansRequest ¶ added in v0.4.0
func NewListDatabasePlansRequest(server string, params *ListDatabasePlansParams) (*http.Request, error)
NewListDatabasePlansRequest generates requests for ListDatabasePlans
func NewListDatabasePricingRequest ¶ added in v0.4.0
func NewListDatabasePricingRequest(server string, params *ListDatabasePricingParams) (*http.Request, error)
NewListDatabasePricingRequest generates requests for ListDatabasePricing
func NewListDatabasesRequest ¶ added in v0.4.0
NewListDatabasesRequest generates requests for ListDatabases
func NewListFunctionBindingsRequest ¶ added in v0.4.0
func NewListFunctionBindingsRequest(server string, functionID FunctionRef) (*http.Request, error)
NewListFunctionBindingsRequest generates requests for ListFunctionBindings
func NewListFunctionDeploymentsRequest ¶ added in v0.4.0
func NewListFunctionDeploymentsRequest(server string, functionID FunctionRef) (*http.Request, error)
NewListFunctionDeploymentsRequest generates requests for ListFunctionDeployments
func NewListFunctionEnvVarsRequest ¶ added in v0.4.0
func NewListFunctionEnvVarsRequest(server string, functionID FunctionRef) (*http.Request, error)
NewListFunctionEnvVarsRequest generates requests for ListFunctionEnvVars
func NewListFunctionInvocationsRequest ¶ added in v0.4.0
func NewListFunctionInvocationsRequest(server string, functionID FunctionRef, params *ListFunctionInvocationsParams) (*http.Request, error)
NewListFunctionInvocationsRequest generates requests for ListFunctionInvocations
func NewListFunctionLogsRequest ¶ added in v0.4.0
func NewListFunctionLogsRequest(server string, functionID FunctionRef, params *ListFunctionLogsParams) (*http.Request, error)
NewListFunctionLogsRequest generates requests for ListFunctionLogs
func NewListFunctionRevisionsRequest ¶ added in v0.4.0
func NewListFunctionRevisionsRequest(server string, functionID FunctionRef) (*http.Request, error)
NewListFunctionRevisionsRequest generates requests for ListFunctionRevisions
func NewListFunctionRuntimesRequest ¶ added in v0.4.0
NewListFunctionRuntimesRequest generates requests for ListFunctionRuntimes
func NewListFunctionTriggerRunsRequest ¶ added in v0.4.0
func NewListFunctionTriggerRunsRequest(server string, functionID FunctionRef, params *ListFunctionTriggerRunsParams) (*http.Request, error)
NewListFunctionTriggerRunsRequest generates requests for ListFunctionTriggerRuns
func NewListFunctionTriggersRequest ¶ added in v0.4.0
func NewListFunctionTriggersRequest(server string, functionID FunctionRef) (*http.Request, error)
NewListFunctionTriggersRequest generates requests for ListFunctionTriggers
func NewListFunctionsRequest ¶ added in v0.4.0
func NewListFunctionsRequest(server string, params *ListFunctionsParams) (*http.Request, error)
NewListFunctionsRequest generates requests for ListFunctions
func NewListIPPricingRequest ¶
NewListIPPricingRequest generates requests for ListIPPricing
func NewListIPsRequest ¶
func NewListIPsRequest(server string, params *ListIPsParams) (*http.Request, error)
NewListIPsRequest generates requests for ListIPs
func NewListK8SClusterEventsRequest ¶ added in v0.4.0
func NewListK8SClusterEventsRequest(server string, clusterID K8SClusterIDPath, params *ListK8SClusterEventsParams) (*http.Request, error)
NewListK8SClusterEventsRequest generates requests for ListK8SClusterEvents
func NewListK8SClusterNodesRequest ¶ added in v0.4.0
func NewListK8SClusterNodesRequest(server string, clusterID K8SClusterIDPath, params *ListK8SClusterNodesParams) (*http.Request, error)
NewListK8SClusterNodesRequest generates requests for ListK8SClusterNodes
func NewListK8SClusterUpgradesRequest ¶ added in v0.4.0
func NewListK8SClusterUpgradesRequest(server string, clusterID K8SClusterIDPath, params *ListK8SClusterUpgradesParams) (*http.Request, error)
NewListK8SClusterUpgradesRequest generates requests for ListK8SClusterUpgrades
func NewListK8SClustersRequest ¶ added in v0.4.0
func NewListK8SClustersRequest(server string, params *ListK8SClustersParams) (*http.Request, error)
NewListK8SClustersRequest generates requests for ListK8SClusters
func NewListK8SNodePlansRequest ¶ added in v0.4.0
NewListK8SNodePlansRequest generates requests for ListK8SNodePlans
func NewListK8SNodePoolsRequest ¶ added in v0.4.0
func NewListK8SNodePoolsRequest(server string, clusterID K8SClusterIDPath, params *ListK8SNodePoolsParams) (*http.Request, error)
NewListK8SNodePoolsRequest generates requests for ListK8SNodePools
func NewListK8STcpPortsRequest ¶ added in v0.4.0
func NewListK8STcpPortsRequest(server string, clusterID K8SClusterIDPath, params *ListK8STcpPortsParams) (*http.Request, error)
NewListK8STcpPortsRequest generates requests for ListK8STcpPorts
func NewListK8SVersionsRequest ¶ added in v0.4.0
NewListK8SVersionsRequest generates requests for ListK8SVersions
func NewListKubernetesPricingRequest ¶ added in v0.4.0
NewListKubernetesPricingRequest generates requests for ListKubernetesPricing
func NewListMembersRequest ¶
func NewListMembersRequest(server string, params *ListMembersParams) (*http.Request, error)
NewListMembersRequest generates requests for ListMembers
func NewListPermissionsRequest ¶
func NewListPermissionsRequest(server string, params *ListPermissionsParams) (*http.Request, error)
NewListPermissionsRequest generates requests for ListPermissions
func NewListProjectMembersRequest ¶
func NewListProjectMembersRequest(server string, id ProjectIDPath, params *ListProjectMembersParams) (*http.Request, error)
NewListProjectMembersRequest generates requests for ListProjectMembers
func NewListProjectsRequest ¶
func NewListProjectsRequest(server string, params *ListProjectsParams) (*http.Request, error)
NewListProjectsRequest generates requests for ListProjects
func NewListRegionsRequest ¶
NewListRegionsRequest generates requests for ListRegions
func NewListRolesRequest ¶
func NewListRolesRequest(server string, params *ListRolesParams) (*http.Request, error)
NewListRolesRequest generates requests for ListRoles
func NewListSSHKeysRequest ¶
NewListSSHKeysRequest generates requests for ListSSHKeys
func NewListSecurityGroupTemplatesRequest ¶
NewListSecurityGroupTemplatesRequest generates requests for ListSecurityGroupTemplates
func NewListSecurityGroupsRequest ¶
func NewListSecurityGroupsRequest(server string, params *ListSecurityGroupsParams) (*http.Request, error)
NewListSecurityGroupsRequest generates requests for ListSecurityGroups
func NewListSnapshotPricingRequest ¶
func NewListSnapshotPricingRequest(server string, params *ListSnapshotPricingParams) (*http.Request, error)
NewListSnapshotPricingRequest generates requests for ListSnapshotPricing
func NewListSnapshotsRequest ¶
func NewListSnapshotsRequest(server string, params *ListSnapshotsParams) (*http.Request, error)
NewListSnapshotsRequest generates requests for ListSnapshots
func NewListTemplatesRequest ¶
func NewListTemplatesRequest(server string, params *ListTemplatesParams) (*http.Request, error)
NewListTemplatesRequest generates requests for ListTemplates
func NewListVMNetworksRequest ¶
func NewListVMNetworksRequest(server string, id VMIDPath, params *ListVMNetworksParams) (*http.Request, error)
NewListVMNetworksRequest generates requests for ListVMNetworks
func NewListVMPricingRequest ¶
func NewListVMPricingRequest(server string, params *ListVMPricingParams) (*http.Request, error)
NewListVMPricingRequest generates requests for ListVMPricing
func NewListVMsRequest ¶
func NewListVMsRequest(server string, params *ListVMsParams) (*http.Request, error)
NewListVMsRequest generates requests for ListVMs
func NewListVPCCIDRSuggestionsRequest ¶
func NewListVPCCIDRSuggestionsRequest(server string, params *ListVPCCIDRSuggestionsParams) (*http.Request, error)
NewListVPCCIDRSuggestionsRequest generates requests for ListVPCCIDRSuggestions
func NewListVPCsRequest ¶
func NewListVPCsRequest(server string, params *ListVPCsParams) (*http.Request, error)
NewListVPCsRequest generates requests for ListVPCs
func NewListVolumePricingRequest ¶
func NewListVolumePricingRequest(server string, params *ListVolumePricingParams) (*http.Request, error)
NewListVolumePricingRequest generates requests for ListVolumePricing
func NewListVolumesRequest ¶
func NewListVolumesRequest(server string, params *ListVolumesParams) (*http.Request, error)
NewListVolumesRequest generates requests for ListVolumes
func NewPauseAppServiceRequest ¶ added in v0.4.0
func NewPauseAppServiceRequest(server string, serviceID AppServiceRef) (*http.Request, error)
NewPauseAppServiceRequest generates requests for PauseAppService
func NewPauseFunctionRequest ¶ added in v0.4.0
func NewPauseFunctionRequest(server string, functionID FunctionRef) (*http.Request, error)
NewPauseFunctionRequest generates requests for PauseFunction
func NewRebootVMRequest ¶
NewRebootVMRequest generates requests for RebootVM
func NewRegenerateAPIKeyRequest ¶
NewRegenerateAPIKeyRequest generates requests for RegenerateAPIKey
func NewReinstallVMRequest ¶
func NewReinstallVMRequest(server string, id VMIDPath, params *ReinstallVMParams, body ReinstallVMJSONRequestBody) (*http.Request, error)
NewReinstallVMRequest calls the generic ReinstallVM builder with application/json body
func NewReinstallVMRequestWithBody ¶
func NewReinstallVMRequestWithBody(server string, id VMIDPath, params *ReinstallVMParams, contentType string, body io.Reader) (*http.Request, error)
NewReinstallVMRequestWithBody generates requests for ReinstallVM with any type of body
func NewReleaseIPRequest ¶
func NewReleaseIPRequest(server string, id IPIDPath, params *ReleaseIPParams) (*http.Request, error)
NewReleaseIPRequest generates requests for ReleaseIP
func NewRemoveMemberRequest ¶
NewRemoveMemberRequest generates requests for RemoveMember
func NewRemoveProjectMemberRequest ¶
func NewRemoveProjectMemberRequest(server string, id ProjectIDPath, memberID openapi_types.UUID) (*http.Request, error)
NewRemoveProjectMemberRequest generates requests for RemoveProjectMember
func NewRemoveVMTagRequest ¶
func NewRemoveVMTagRequest(server string, id VMIDPath, tagID TagIDPath, params *RemoveVMTagParams) (*http.Request, error)
NewRemoveVMTagRequest generates requests for RemoveVMTag
func NewRenameK8SClusterRequest ¶ added in v0.4.0
func NewRenameK8SClusterRequest(server string, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, body RenameK8SClusterJSONRequestBody) (*http.Request, error)
NewRenameK8SClusterRequest calls the generic RenameK8SCluster builder with application/json body
func NewRenameK8SClusterRequestWithBody ¶ added in v0.4.0
func NewRenameK8SClusterRequestWithBody(server string, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, contentType string, body io.Reader) (*http.Request, error)
NewRenameK8SClusterRequestWithBody generates requests for RenameK8SCluster with any type of body
func NewRenameSnapshotRequest ¶
func NewRenameSnapshotRequest(server string, id int, params *RenameSnapshotParams, body RenameSnapshotJSONRequestBody) (*http.Request, error)
NewRenameSnapshotRequest calls the generic RenameSnapshot builder with application/json body
func NewRenameSnapshotRequestWithBody ¶
func NewRenameSnapshotRequestWithBody(server string, id int, params *RenameSnapshotParams, contentType string, body io.Reader) (*http.Request, error)
NewRenameSnapshotRequestWithBody generates requests for RenameSnapshot with any type of body
func NewRenameVMRequest ¶
func NewRenameVMRequest(server string, id VMIDPath, params *RenameVMParams, body RenameVMJSONRequestBody) (*http.Request, error)
NewRenameVMRequest calls the generic RenameVM builder with application/json body
func NewRenameVMRequestWithBody ¶
func NewRenameVMRequestWithBody(server string, id VMIDPath, params *RenameVMParams, contentType string, body io.Reader) (*http.Request, error)
NewRenameVMRequestWithBody generates requests for RenameVM with any type of body
func NewRequestAppSourceUploadRequest ¶ added in v0.4.0
func NewRequestAppSourceUploadRequest(server string, serviceID AppServiceRef) (*http.Request, error)
NewRequestAppSourceUploadRequest generates requests for RequestAppSourceUpload
func NewRequestFunctionSourceUploadRequest ¶ added in v0.4.0
func NewRequestFunctionSourceUploadRequest(server string, functionID FunctionRef) (*http.Request, error)
NewRequestFunctionSourceUploadRequest generates requests for RequestFunctionSourceUpload
func NewReserveIPRequest ¶
func NewReserveIPRequest(server string, params *ReserveIPParams, body ReserveIPJSONRequestBody) (*http.Request, error)
NewReserveIPRequest calls the generic ReserveIP builder with application/json body
func NewReserveIPRequestWithBody ¶
func NewReserveIPRequestWithBody(server string, params *ReserveIPParams, contentType string, body io.Reader) (*http.Request, error)
NewReserveIPRequestWithBody generates requests for ReserveIP with any type of body
func NewResetBackupChainRequest ¶ added in v0.3.4
func NewResetBackupChainRequest(server string, id openapi_types.UUID, params *ResetBackupChainParams) (*http.Request, error)
NewResetBackupChainRequest generates requests for ResetBackupChain
func NewResetK8SClusterFirewallRequest ¶ added in v0.4.0
func NewResetK8SClusterFirewallRequest(server string, clusterID K8SClusterIDPath, params *ResetK8SClusterFirewallParams) (*http.Request, error)
NewResetK8SClusterFirewallRequest generates requests for ResetK8SClusterFirewall
func NewResetVMPasswordRequest ¶
func NewResetVMPasswordRequest(server string, id VMIDPath, params *ResetVMPasswordParams) (*http.Request, error)
NewResetVMPasswordRequest generates requests for ResetVMPassword
func NewResizeVMDiskRequest ¶
func NewResizeVMDiskRequest(server string, id VMIDPath, params *ResizeVMDiskParams, body ResizeVMDiskJSONRequestBody) (*http.Request, error)
NewResizeVMDiskRequest calls the generic ResizeVMDisk builder with application/json body
func NewResizeVMDiskRequestWithBody ¶
func NewResizeVMDiskRequestWithBody(server string, id VMIDPath, params *ResizeVMDiskParams, contentType string, body io.Reader) (*http.Request, error)
NewResizeVMDiskRequestWithBody generates requests for ResizeVMDisk with any type of body
func NewResizeVMRequest ¶
func NewResizeVMRequest(server string, id VMIDPath, params *ResizeVMParams, body ResizeVMJSONRequestBody) (*http.Request, error)
NewResizeVMRequest calls the generic ResizeVM builder with application/json body
func NewResizeVMRequestWithBody ¶
func NewResizeVMRequestWithBody(server string, id VMIDPath, params *ResizeVMParams, contentType string, body io.Reader) (*http.Request, error)
NewResizeVMRequestWithBody generates requests for ResizeVM with any type of body
func NewResizeVolumeRequest ¶
func NewResizeVolumeRequest(server string, id int, params *ResizeVolumeParams, body ResizeVolumeJSONRequestBody) (*http.Request, error)
NewResizeVolumeRequest calls the generic ResizeVolume builder with application/json body
func NewResizeVolumeRequestWithBody ¶
func NewResizeVolumeRequestWithBody(server string, id int, params *ResizeVolumeParams, contentType string, body io.Reader) (*http.Request, error)
NewResizeVolumeRequestWithBody generates requests for ResizeVolume with any type of body
func NewRestoreBackupRequest ¶
func NewRestoreBackupRequest(server string, id openapi_types.UUID, params *RestoreBackupParams) (*http.Request, error)
NewRestoreBackupRequest generates requests for RestoreBackup
func NewRestoreDatabaseRequest ¶ added in v0.4.0
func NewRestoreDatabaseRequest(server string, databaseID DatabaseIDPath, body RestoreDatabaseJSONRequestBody) (*http.Request, error)
NewRestoreDatabaseRequest calls the generic RestoreDatabase builder with application/json body
func NewRestoreDatabaseRequestWithBody ¶ added in v0.4.0
func NewRestoreDatabaseRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
NewRestoreDatabaseRequestWithBody generates requests for RestoreDatabase with any type of body
func NewRestoreSnapshotRequest ¶
func NewRestoreSnapshotRequest(server string, id int, params *RestoreSnapshotParams) (*http.Request, error)
NewRestoreSnapshotRequest generates requests for RestoreSnapshot
func NewResumeAppServiceRequest ¶ added in v0.4.0
func NewResumeAppServiceRequest(server string, serviceID AppServiceRef) (*http.Request, error)
NewResumeAppServiceRequest generates requests for ResumeAppService
func NewResumeDatabaseRequest ¶ added in v0.4.0
NewResumeDatabaseRequest generates requests for ResumeDatabase
func NewResumeFunctionRequest ¶ added in v0.4.0
func NewResumeFunctionRequest(server string, functionID FunctionRef) (*http.Request, error)
NewResumeFunctionRequest generates requests for ResumeFunction
func NewRetryAppDomainVerificationRequest ¶ added in v0.4.0
func NewRetryAppDomainVerificationRequest(server string, domainID AppDomainIDPath) (*http.Request, error)
NewRetryAppDomainVerificationRequest generates requests for RetryAppDomainVerification
func NewRevealAppEnvVarsRequest ¶ added in v0.4.0
func NewRevealAppEnvVarsRequest(server string, serviceID AppServiceRef) (*http.Request, error)
NewRevealAppEnvVarsRequest generates requests for RevealAppEnvVars
func NewRevealFunctionEnvVarsRequest ¶ added in v0.4.0
func NewRevealFunctionEnvVarsRequest(server string, functionID FunctionRef) (*http.Request, error)
NewRevealFunctionEnvVarsRequest generates requests for RevealFunctionEnvVars
func NewRevokeAPIKeyRequest ¶
NewRevokeAPIKeyRequest generates requests for RevokeAPIKey
func NewRollbackAppServiceRequest ¶ added in v0.4.0
func NewRollbackAppServiceRequest(server string, serviceID AppServiceRef, body RollbackAppServiceJSONRequestBody) (*http.Request, error)
NewRollbackAppServiceRequest calls the generic RollbackAppService builder with application/json body
func NewRollbackAppServiceRequestWithBody ¶ added in v0.4.0
func NewRollbackAppServiceRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
NewRollbackAppServiceRequestWithBody generates requests for RollbackAppService with any type of body
func NewRollbackFunctionRequest ¶ added in v0.4.0
func NewRollbackFunctionRequest(server string, functionID FunctionRef, body RollbackFunctionJSONRequestBody) (*http.Request, error)
NewRollbackFunctionRequest calls the generic RollbackFunction builder with application/json body
func NewRollbackFunctionRequestWithBody ¶ added in v0.4.0
func NewRollbackFunctionRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
NewRollbackFunctionRequestWithBody generates requests for RollbackFunction with any type of body
func NewRotateDatabaseCredentialsRequest ¶ added in v0.4.0
func NewRotateDatabaseCredentialsRequest(server string, databaseID DatabaseIDPath) (*http.Request, error)
NewRotateDatabaseCredentialsRequest generates requests for RotateDatabaseCredentials
func NewRotateFunctionBindingRequest ¶ added in v0.4.0
func NewRotateFunctionBindingRequest(server string, functionID FunctionRef, bindingID openapi_types.UUID) (*http.Request, error)
NewRotateFunctionBindingRequest generates requests for RotateFunctionBinding
func NewRotateK8SKubeconfigAccessRequest ¶ added in v0.5.0
func NewRotateK8SKubeconfigAccessRequest(server string, clusterID K8SClusterIDPath, params *RotateK8SKubeconfigAccessParams) (*http.Request, error)
NewRotateK8SKubeconfigAccessRequest generates requests for RotateK8SKubeconfigAccess
func NewRunAppJobRequest ¶ added in v0.4.0
func NewRunAppJobRequest(server string, serviceID AppServiceRef) (*http.Request, error)
NewRunAppJobRequest generates requests for RunAppJob
func NewSaveVMDiskAsImageRequest ¶
func NewSaveVMDiskAsImageRequest(server string, id VMIDPath, params *SaveVMDiskAsImageParams, body SaveVMDiskAsImageJSONRequestBody) (*http.Request, error)
NewSaveVMDiskAsImageRequest calls the generic SaveVMDiskAsImage builder with application/json body
func NewSaveVMDiskAsImageRequestWithBody ¶
func NewSaveVMDiskAsImageRequestWithBody(server string, id VMIDPath, params *SaveVMDiskAsImageParams, contentType string, body io.Reader) (*http.Request, error)
NewSaveVMDiskAsImageRequestWithBody generates requests for SaveVMDiskAsImage with any type of body
func NewScaleAppServiceRequest ¶ added in v0.4.0
func NewScaleAppServiceRequest(server string, serviceID AppServiceRef, body ScaleAppServiceJSONRequestBody) (*http.Request, error)
NewScaleAppServiceRequest calls the generic ScaleAppService builder with application/json body
func NewScaleAppServiceRequestWithBody ¶ added in v0.4.0
func NewScaleAppServiceRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
NewScaleAppServiceRequestWithBody generates requests for ScaleAppService with any type of body
func NewScaleDatabaseRequest ¶ added in v0.4.0
func NewScaleDatabaseRequest(server string, databaseID DatabaseIDPath, body ScaleDatabaseJSONRequestBody) (*http.Request, error)
NewScaleDatabaseRequest calls the generic ScaleDatabase builder with application/json body
func NewScaleDatabaseRequestWithBody ¶ added in v0.4.0
func NewScaleDatabaseRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
NewScaleDatabaseRequestWithBody generates requests for ScaleDatabase with any type of body
func NewScaleK8SNodePoolRequest ¶ added in v0.4.0
func NewScaleK8SNodePoolRequest(server string, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *ScaleK8SNodePoolParams, body ScaleK8SNodePoolJSONRequestBody) (*http.Request, error)
NewScaleK8SNodePoolRequest calls the generic ScaleK8SNodePool builder with application/json body
func NewScaleK8SNodePoolRequestWithBody ¶ added in v0.4.0
func NewScaleK8SNodePoolRequestWithBody(server string, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *ScaleK8SNodePoolParams, contentType string, body io.Reader) (*http.Request, error)
NewScaleK8SNodePoolRequestWithBody generates requests for ScaleK8SNodePool with any type of body
func NewSetAppEnvVarRequest ¶ added in v0.4.0
func NewSetAppEnvVarRequest(server string, serviceID AppServiceRef, body SetAppEnvVarJSONRequestBody) (*http.Request, error)
NewSetAppEnvVarRequest calls the generic SetAppEnvVar builder with application/json body
func NewSetAppEnvVarRequestWithBody ¶ added in v0.4.0
func NewSetAppEnvVarRequestWithBody(server string, serviceID AppServiceRef, contentType string, body io.Reader) (*http.Request, error)
NewSetAppEnvVarRequestWithBody generates requests for SetAppEnvVar with any type of body
func NewSetDatabaseExtensionRequest ¶ added in v0.4.0
func NewSetDatabaseExtensionRequest(server string, databaseID DatabaseIDPath, body SetDatabaseExtensionJSONRequestBody) (*http.Request, error)
NewSetDatabaseExtensionRequest calls the generic SetDatabaseExtension builder with application/json body
func NewSetDatabaseExtensionRequestWithBody ¶ added in v0.4.0
func NewSetDatabaseExtensionRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
NewSetDatabaseExtensionRequestWithBody generates requests for SetDatabaseExtension with any type of body
func NewSetDatabasePublicAccessRequest ¶ added in v0.4.0
func NewSetDatabasePublicAccessRequest(server string, databaseID DatabaseIDPath, body SetDatabasePublicAccessJSONRequestBody) (*http.Request, error)
NewSetDatabasePublicAccessRequest calls the generic SetDatabasePublicAccess builder with application/json body
func NewSetDatabasePublicAccessRequestWithBody ¶ added in v0.4.0
func NewSetDatabasePublicAccessRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
NewSetDatabasePublicAccessRequestWithBody generates requests for SetDatabasePublicAccess with any type of body
func NewSetFunctionEnvVarRequest ¶ added in v0.4.0
func NewSetFunctionEnvVarRequest(server string, functionID FunctionRef, body SetFunctionEnvVarJSONRequestBody) (*http.Request, error)
NewSetFunctionEnvVarRequest calls the generic SetFunctionEnvVar builder with application/json body
func NewSetFunctionEnvVarRequestWithBody ¶ added in v0.4.0
func NewSetFunctionEnvVarRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
NewSetFunctionEnvVarRequestWithBody generates requests for SetFunctionEnvVar with any type of body
func NewStartVMRequest ¶
NewStartVMRequest generates requests for StartVM
func NewStopVMRequest ¶
NewStopVMRequest generates requests for StopVM
func NewUpdateAPIKeyRequest ¶
func NewUpdateAPIKeyRequest(server string, id openapi_types.UUID, body UpdateAPIKeyJSONRequestBody) (*http.Request, error)
NewUpdateAPIKeyRequest calls the generic UpdateAPIKey builder with application/json body
func NewUpdateAPIKeyRequestWithBody ¶
func NewUpdateAPIKeyRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAPIKeyRequestWithBody generates requests for UpdateAPIKey with any type of body
func NewUpdateAppSpendSettingsRequest ¶ added in v0.4.0
func NewUpdateAppSpendSettingsRequest(server string, body UpdateAppSpendSettingsJSONRequestBody) (*http.Request, error)
NewUpdateAppSpendSettingsRequest calls the generic UpdateAppSpendSettings builder with application/json body
func NewUpdateAppSpendSettingsRequestWithBody ¶ added in v0.4.0
func NewUpdateAppSpendSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAppSpendSettingsRequestWithBody generates requests for UpdateAppSpendSettings with any type of body
func NewUpdateBackupScheduleRequest ¶
func NewUpdateBackupScheduleRequest(server string, id int, params *UpdateBackupScheduleParams, body UpdateBackupScheduleJSONRequestBody) (*http.Request, error)
NewUpdateBackupScheduleRequest calls the generic UpdateBackupSchedule builder with application/json body
func NewUpdateBackupScheduleRequestWithBody ¶
func NewUpdateBackupScheduleRequestWithBody(server string, id int, params *UpdateBackupScheduleParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateBackupScheduleRequestWithBody generates requests for UpdateBackupSchedule with any type of body
func NewUpdateDatabaseRequest ¶ added in v0.4.0
func NewUpdateDatabaseRequest(server string, databaseID DatabaseIDPath, body UpdateDatabaseJSONRequestBody) (*http.Request, error)
NewUpdateDatabaseRequest calls the generic UpdateDatabase builder with application/json body
func NewUpdateDatabaseRequestWithBody ¶ added in v0.4.0
func NewUpdateDatabaseRequestWithBody(server string, databaseID DatabaseIDPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDatabaseRequestWithBody generates requests for UpdateDatabase with any type of body
func NewUpdateFunctionRequest ¶ added in v0.4.0
func NewUpdateFunctionRequest(server string, functionID FunctionRef, body UpdateFunctionJSONRequestBody) (*http.Request, error)
NewUpdateFunctionRequest calls the generic UpdateFunction builder with application/json body
func NewUpdateFunctionRequestWithBody ¶ added in v0.4.0
func NewUpdateFunctionRequestWithBody(server string, functionID FunctionRef, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFunctionRequestWithBody generates requests for UpdateFunction with any type of body
func NewUpdateFunctionTriggerRequest ¶ added in v0.4.0
func NewUpdateFunctionTriggerRequest(server string, functionID FunctionRef, triggerID openapi_types.UUID, body UpdateFunctionTriggerJSONRequestBody) (*http.Request, error)
NewUpdateFunctionTriggerRequest calls the generic UpdateFunctionTrigger builder with application/json body
func NewUpdateFunctionTriggerRequestWithBody ¶ added in v0.4.0
func NewUpdateFunctionTriggerRequestWithBody(server string, functionID FunctionRef, triggerID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFunctionTriggerRequestWithBody generates requests for UpdateFunctionTrigger with any type of body
func NewUpdateFunctionsSpendSettingsRequest ¶ added in v0.4.0
func NewUpdateFunctionsSpendSettingsRequest(server string, body UpdateFunctionsSpendSettingsJSONRequestBody) (*http.Request, error)
NewUpdateFunctionsSpendSettingsRequest calls the generic UpdateFunctionsSpendSettings builder with application/json body
func NewUpdateFunctionsSpendSettingsRequestWithBody ¶ added in v0.4.0
func NewUpdateFunctionsSpendSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFunctionsSpendSettingsRequestWithBody generates requests for UpdateFunctionsSpendSettings with any type of body
func NewUpdateK8SClusterMaintenanceRequest ¶ added in v0.4.0
func NewUpdateK8SClusterMaintenanceRequest(server string, clusterID K8SClusterIDPath, params *UpdateK8SClusterMaintenanceParams, body UpdateK8SClusterMaintenanceJSONRequestBody) (*http.Request, error)
NewUpdateK8SClusterMaintenanceRequest calls the generic UpdateK8SClusterMaintenance builder with application/json body
func NewUpdateK8SClusterMaintenanceRequestWithBody ¶ added in v0.4.0
func NewUpdateK8SClusterMaintenanceRequestWithBody(server string, clusterID K8SClusterIDPath, params *UpdateK8SClusterMaintenanceParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateK8SClusterMaintenanceRequestWithBody generates requests for UpdateK8SClusterMaintenance with any type of body
func NewUpdateK8SMetalLBPoolRequest ¶ added in v0.4.0
func NewUpdateK8SMetalLBPoolRequest(server string, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, body UpdateK8SMetalLBPoolJSONRequestBody) (*http.Request, error)
NewUpdateK8SMetalLBPoolRequest calls the generic UpdateK8SMetalLBPool builder with application/json body
func NewUpdateK8SMetalLBPoolRequestWithBody ¶ added in v0.4.0
func NewUpdateK8SMetalLBPoolRequestWithBody(server string, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateK8SMetalLBPoolRequestWithBody generates requests for UpdateK8SMetalLBPool with any type of body
func NewUpdateK8SNodePoolRequest ¶ added in v0.4.0
func NewUpdateK8SNodePoolRequest(server string, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *UpdateK8SNodePoolParams, body UpdateK8SNodePoolJSONRequestBody) (*http.Request, error)
NewUpdateK8SNodePoolRequest calls the generic UpdateK8SNodePool builder with application/json body
func NewUpdateK8SNodePoolRequestWithBody ¶ added in v0.4.0
func NewUpdateK8SNodePoolRequestWithBody(server string, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *UpdateK8SNodePoolParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateK8SNodePoolRequestWithBody generates requests for UpdateK8SNodePool with any type of body
func NewUpdateMemberRequest ¶
func NewUpdateMemberRequest(server string, id openapi_types.UUID, body UpdateMemberJSONRequestBody) (*http.Request, error)
NewUpdateMemberRequest calls the generic UpdateMember builder with application/json body
func NewUpdateMemberRequestWithBody ¶
func NewUpdateMemberRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMemberRequestWithBody generates requests for UpdateMember with any type of body
func NewUpdateProjectMemberRequest ¶
func NewUpdateProjectMemberRequest(server string, id ProjectIDPath, memberID openapi_types.UUID, body UpdateProjectMemberJSONRequestBody) (*http.Request, error)
NewUpdateProjectMemberRequest calls the generic UpdateProjectMember builder with application/json body
func NewUpdateProjectMemberRequestWithBody ¶
func NewUpdateProjectMemberRequestWithBody(server string, id ProjectIDPath, memberID openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProjectMemberRequestWithBody generates requests for UpdateProjectMember with any type of body
func NewUpdateProjectRequest ¶
func NewUpdateProjectRequest(server string, id ProjectIDPath, body UpdateProjectJSONRequestBody) (*http.Request, error)
NewUpdateProjectRequest calls the generic UpdateProject builder with application/json body
func NewUpdateProjectRequestWithBody ¶
func NewUpdateProjectRequestWithBody(server string, id ProjectIDPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProjectRequestWithBody generates requests for UpdateProject with any type of body
func NewUpdateRoleRequest ¶
func NewUpdateRoleRequest(server string, id openapi_types.UUID, body UpdateRoleJSONRequestBody) (*http.Request, error)
NewUpdateRoleRequest calls the generic UpdateRole builder with application/json body
func NewUpdateRoleRequestWithBody ¶
func NewUpdateRoleRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRoleRequestWithBody generates requests for UpdateRole with any type of body
func NewUpdateSSHKeyRequest ¶
func NewUpdateSSHKeyRequest(server string, id openapi_types.UUID, body UpdateSSHKeyJSONRequestBody) (*http.Request, error)
NewUpdateSSHKeyRequest calls the generic UpdateSSHKey builder with application/json body
func NewUpdateSSHKeyRequestWithBody ¶
func NewUpdateSSHKeyRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSSHKeyRequestWithBody generates requests for UpdateSSHKey with any type of body
func NewUpdateSecurityGroupRequest ¶
func NewUpdateSecurityGroupRequest(server string, id SecurityGroupResourceIDPath, params *UpdateSecurityGroupParams, body UpdateSecurityGroupJSONRequestBody) (*http.Request, error)
NewUpdateSecurityGroupRequest calls the generic UpdateSecurityGroup builder with application/json body
func NewUpdateSecurityGroupRequestWithBody ¶
func NewUpdateSecurityGroupRequestWithBody(server string, id SecurityGroupResourceIDPath, params *UpdateSecurityGroupParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSecurityGroupRequestWithBody generates requests for UpdateSecurityGroup with any type of body
func NewUpdateVMNoteRequest ¶
func NewUpdateVMNoteRequest(server string, id VMIDPath, pType UpdateVMNoteParamsType, params *UpdateVMNoteParams, body UpdateVMNoteJSONRequestBody) (*http.Request, error)
NewUpdateVMNoteRequest calls the generic UpdateVMNote builder with application/json body
func NewUpdateVMNoteRequestWithBody ¶
func NewUpdateVMNoteRequestWithBody(server string, id VMIDPath, pType UpdateVMNoteParamsType, params *UpdateVMNoteParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVMNoteRequestWithBody generates requests for UpdateVMNote with any type of body
func NewUpdateVMTagRequest ¶
func NewUpdateVMTagRequest(server string, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, body UpdateVMTagJSONRequestBody) (*http.Request, error)
NewUpdateVMTagRequest calls the generic UpdateVMTag builder with application/json body
func NewUpdateVMTagRequestWithBody ¶
func NewUpdateVMTagRequestWithBody(server string, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVMTagRequestWithBody generates requests for UpdateVMTag with any type of body
func NewUpdateVPCRequest ¶
func NewUpdateVPCRequest(server string, id VPCIDPath, params *UpdateVPCParams, body UpdateVPCJSONRequestBody) (*http.Request, error)
NewUpdateVPCRequest calls the generic UpdateVPC builder with application/json body
func NewUpdateVPCRequestWithBody ¶
func NewUpdateVPCRequestWithBody(server string, id VPCIDPath, params *UpdateVPCParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateVPCRequestWithBody generates requests for UpdateVPC with any type of body
func NewUpgradeK8SClusterHARequest ¶ added in v0.4.0
func NewUpgradeK8SClusterHARequest(server string, clusterID K8SClusterIDPath, params *UpgradeK8SClusterHAParams) (*http.Request, error)
NewUpgradeK8SClusterHARequest generates requests for UpgradeK8SClusterHA
func NewUpgradeK8SClusterVersionRequest ¶ added in v0.4.0
func NewUpgradeK8SClusterVersionRequest(server string, clusterID K8SClusterIDPath, params *UpgradeK8SClusterVersionParams, body UpgradeK8SClusterVersionJSONRequestBody) (*http.Request, error)
NewUpgradeK8SClusterVersionRequest calls the generic UpgradeK8SClusterVersion builder with application/json body
func NewUpgradeK8SClusterVersionRequestWithBody ¶ added in v0.4.0
func NewUpgradeK8SClusterVersionRequestWithBody(server string, clusterID K8SClusterIDPath, params *UpgradeK8SClusterVersionParams, contentType string, body io.Reader) (*http.Request, error)
NewUpgradeK8SClusterVersionRequestWithBody generates requests for UpgradeK8SClusterVersion with any type of body
func NewUpsertVMNoteRequest ¶
func NewUpsertVMNoteRequest(server string, id VMIDPath, pType UpsertVMNoteParamsType, params *UpsertVMNoteParams, body UpsertVMNoteJSONRequestBody) (*http.Request, error)
NewUpsertVMNoteRequest calls the generic UpsertVMNote builder with application/json body
func NewUpsertVMNoteRequestWithBody ¶
func NewUpsertVMNoteRequestWithBody(server string, id VMIDPath, pType UpsertVMNoteParamsType, params *UpsertVMNoteParams, contentType string, body io.Reader) (*http.Request, error)
NewUpsertVMNoteRequestWithBody generates requests for UpsertVMNote with any type of body
Types ¶
type APIKey ¶
type APIKey struct {
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CreatedBy *openapi_types.UUID `json:"created_by,omitempty"`
// ExpiresAt When the key auto-expires. Omitted for never-expires keys.
ExpiresAt *time.Time `json:"expires_at,omitempty"`
ID openapi_types.UUID `json:"id"`
IsActive bool `json:"is_active"`
// KeyPrefix First 13 characters of the key — the `raff_` prefix plus the first 8 hex characters (e.g. `raff_17d70fcf`). The full secret is only returned once at create or regenerate time.
KeyPrefix string `json:"key_prefix"`
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
Name string `json:"name"`
// ProjectAccesses Per-project access grants
ProjectAccesses *[]APIKeyProjectAccess `json:"project_accesses,omitempty"`
// RateLimitTier Rate-limit tier. Standard is 30 RPS / burst 60; High is 100 RPS / burst 200.
RateLimitTier *APIKeyRateLimitTier `json:"rate_limit_tier,omitempty"`
// RoleID Account-level role this key uses
RoleID *openapi_types.UUID `json:"role_id,omitempty"`
RoleName *string `json:"role_name,omitempty"`
RoleSlug *string `json:"role_slug,omitempty"`
// Scope Always `public` for customer-created keys
Scope *APIKeyScope `json:"scope,omitempty"`
}
APIKey defines model for APIKey.
type APIKeyProjectAccess ¶
type APIKeyProjectAccess struct {
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
ProjectName *string `json:"project_name,omitempty"`
RoleID *openapi_types.UUID `json:"role_id,omitempty"`
RoleName *string `json:"role_name,omitempty"`
RoleSlug *string `json:"role_slug,omitempty"`
}
APIKeyProjectAccess defines model for APIKeyProjectAccess.
type APIKeyRateLimitTier ¶
type APIKeyRateLimitTier string
APIKeyRateLimitTier Rate-limit tier. Standard is 30 RPS / burst 60; High is 100 RPS / burst 200.
const ( APIKeyRateLimitTierHigh APIKeyRateLimitTier = "high" APIKeyRateLimitTierStandard APIKeyRateLimitTier = "standard" )
Defines values for APIKeyRateLimitTier.
func (APIKeyRateLimitTier) Valid ¶
func (e APIKeyRateLimitTier) Valid() bool
Valid indicates whether the value is a known member of the APIKeyRateLimitTier enum.
type APIKeyScope ¶
type APIKeyScope string
APIKeyScope Always `public` for customer-created keys
const (
APIKeyScopePublic APIKeyScope = "public"
)
Defines values for APIKeyScope.
func (APIKeyScope) Valid ¶
func (e APIKeyScope) Valid() bool
Valid indicates whether the value is a known member of the APIKeyScope enum.
type APIKeyWithSecret ¶
type APIKeyWithSecret struct {
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CreatedBy *openapi_types.UUID `json:"created_by,omitempty"`
// ExpiresAt When the key auto-expires. Omitted for never-expires keys.
ExpiresAt *time.Time `json:"expires_at,omitempty"`
ID openapi_types.UUID `json:"id"`
IsActive bool `json:"is_active"`
// KeyPrefix First 13 characters of the key — the `raff_` prefix plus the first 8 hex characters (e.g. `raff_17d70fcf`). The full secret is only returned once at create or regenerate time.
KeyPrefix string `json:"key_prefix"`
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
Name string `json:"name"`
// ProjectAccesses Per-project access grants
ProjectAccesses *[]APIKeyProjectAccess `json:"project_accesses,omitempty"`
// RateLimitTier Rate-limit tier. Standard is 30 RPS / burst 60; High is 100 RPS / burst 200.
RateLimitTier *APIKeyWithSecretRateLimitTier `json:"rate_limit_tier,omitempty"`
// RoleID Account-level role this key uses
RoleID *openapi_types.UUID `json:"role_id,omitempty"`
RoleName *string `json:"role_name,omitempty"`
RoleSlug *string `json:"role_slug,omitempty"`
// Scope Always `public` for customer-created keys
Scope *APIKeyWithSecretScope `json:"scope,omitempty"`
// Secret The full API key. **Returned only once** — at create or regenerate time. Store immediately; the secret cannot be retrieved later.
Secret string `json:"secret"`
}
APIKeyWithSecret defines model for APIKeyWithSecret.
type APIKeyWithSecretRateLimitTier ¶
type APIKeyWithSecretRateLimitTier string
APIKeyWithSecretRateLimitTier Rate-limit tier. Standard is 30 RPS / burst 60; High is 100 RPS / burst 200.
const ( APIKeyWithSecretRateLimitTierHigh APIKeyWithSecretRateLimitTier = "high" APIKeyWithSecretRateLimitTierStandard APIKeyWithSecretRateLimitTier = "standard" )
Defines values for APIKeyWithSecretRateLimitTier.
func (APIKeyWithSecretRateLimitTier) Valid ¶
func (e APIKeyWithSecretRateLimitTier) Valid() bool
Valid indicates whether the value is a known member of the APIKeyWithSecretRateLimitTier enum.
type APIKeyWithSecretScope ¶
type APIKeyWithSecretScope string
APIKeyWithSecretScope Always `public` for customer-created keys
const (
APIKeyWithSecretScopePublic APIKeyWithSecretScope = "public"
)
Defines values for APIKeyWithSecretScope.
func (APIKeyWithSecretScope) Valid ¶
func (e APIKeyWithSecretScope) Valid() bool
Valid indicates whether the value is a known member of the APIKeyWithSecretScope enum.
type AddAppCustomDomainJSONBody ¶ added in v0.4.0
type AddAppCustomDomainJSONBody struct {
Domain string `json:"domain"`
}
AddAppCustomDomainJSONBody defines parameters for AddAppCustomDomain.
type AddAppCustomDomainJSONRequestBody ¶ added in v0.4.0
type AddAppCustomDomainJSONRequestBody AddAppCustomDomainJSONBody
AddAppCustomDomainJSONRequestBody defines body for AddAppCustomDomain for application/json ContentType.
type AddAppCustomDomainResponse ¶ added in v0.4.0
type AddAppCustomDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Domain *AppCustomDomain `json:"domain,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseAddAppCustomDomainResponse ¶ added in v0.4.0
func ParseAddAppCustomDomainResponse(rsp *http.Response) (*AddAppCustomDomainResponse, error)
ParseAddAppCustomDomainResponse parses an HTTP response from a AddAppCustomDomainWithResponse call
func (AddAppCustomDomainResponse) Status ¶ added in v0.4.0
func (r AddAppCustomDomainResponse) Status() string
Status returns HTTPResponse.Status
func (AddAppCustomDomainResponse) StatusCode ¶ added in v0.4.0
func (r AddAppCustomDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddK8SNodePoolJSONRequestBody ¶ added in v0.4.0
type AddK8SNodePoolJSONRequestBody = AddK8SNodePoolRequest
AddK8SNodePoolJSONRequestBody defines body for AddK8SNodePool for application/json ContentType.
type AddK8SNodePoolParams ¶ added in v0.4.0
type AddK8SNodePoolParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
AddK8SNodePoolParams defines parameters for AddK8SNodePool.
type AddK8SNodePoolRequest ¶ added in v0.4.0
type AddK8SNodePoolRequest struct {
AutoscaleEnabled *bool `json:"autoscale_enabled,omitempty"`
Labels *string `json:"labels,omitempty"`
MaxNodes *int `json:"max_nodes,omitempty"`
MinNodes *int `json:"min_nodes,omitempty"`
Name string `json:"name"`
NodeCount int `json:"node_count"`
// PlanID Omit to inherit the cluster's worker plan. All pools share it — a differing plan is rejected.
PlanID *int `json:"plan_id,omitempty"`
Taints *string `json:"taints,omitempty"`
}
AddK8SNodePoolRequest defines model for AddK8sNodePoolRequest.
type AddK8SNodePoolResponse ¶ added in v0.4.0
type AddK8SNodePoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
NodePool *K8SNodePool `json:"node_pool,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
JSON409 *Error
}
func ParseAddK8SNodePoolResponse ¶ added in v0.4.0
func ParseAddK8SNodePoolResponse(rsp *http.Response) (*AddK8SNodePoolResponse, error)
ParseAddK8SNodePoolResponse parses an HTTP response from a AddK8SNodePoolWithResponse call
func (AddK8SNodePoolResponse) Status ¶ added in v0.4.0
func (r AddK8SNodePoolResponse) Status() string
Status returns HTTPResponse.Status
func (AddK8SNodePoolResponse) StatusCode ¶ added in v0.4.0
func (r AddK8SNodePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddMemberJSONRequestBody ¶
type AddMemberJSONRequestBody = AddMemberRequest
AddMemberJSONRequestBody defines body for AddMember for application/json ContentType.
type AddMemberRequest ¶
type AddMemberRequest struct {
// APIKeyID API key UUID to grant account-level access via this membership. Mutually exclusive with `email` and `target_user_id`.
APIKeyID *openapi_types.UUID `json:"api_key_id,omitempty"`
// Email Email to invite. Mutually exclusive with `target_user_id` and `api_key_id`.
Email *openapi_types.Email `json:"email,omitempty"`
// RoleID Role UUID. Required.
RoleID *openapi_types.UUID `json:"role_id,omitempty"`
// TargetUserID User UUID to add directly. The user must already exist on Raff (e.g. an existing project-only member). Mutually exclusive with `email` and `api_key_id`.
TargetUserID *openapi_types.UUID `json:"target_user_id,omitempty"`
}
AddMemberRequest defines model for AddMemberRequest.
type AddMemberResponse ¶
type AddMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *Member `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
}
func ParseAddMemberResponse ¶
func ParseAddMemberResponse(rsp *http.Response) (*AddMemberResponse, error)
ParseAddMemberResponse parses an HTTP response from a AddMemberWithResponse call
func (AddMemberResponse) Status ¶
func (r AddMemberResponse) Status() string
Status returns HTTPResponse.Status
func (AddMemberResponse) StatusCode ¶
func (r AddMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddProjectMemberJSONRequestBody ¶
type AddProjectMemberJSONRequestBody = AddProjectMemberRequest
AddProjectMemberJSONRequestBody defines body for AddProjectMember for application/json ContentType.
type AddProjectMemberRequest ¶
type AddProjectMemberRequest struct {
// APIKeyID API key UUID to grant access to this project. Mutually exclusive with `target_user_id`.
APIKeyID *openapi_types.UUID `json:"api_key_id,omitempty"`
RoleID openapi_types.UUID `json:"role_id"`
// TargetUserID User UUID to add. Must already be an account member. Mutually exclusive with `api_key_id`.
TargetUserID *openapi_types.UUID `json:"target_user_id,omitempty"`
}
AddProjectMemberRequest defines model for AddProjectMemberRequest.
type AddProjectMemberResponse ¶
type AddProjectMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *ProjectMember `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseAddProjectMemberResponse ¶
func ParseAddProjectMemberResponse(rsp *http.Response) (*AddProjectMemberResponse, error)
ParseAddProjectMemberResponse parses an HTTP response from a AddProjectMemberWithResponse call
func (AddProjectMemberResponse) Status ¶
func (r AddProjectMemberResponse) Status() string
Status returns HTTPResponse.Status
func (AddProjectMemberResponse) StatusCode ¶
func (r AddProjectMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddVMTagJSONRequestBody ¶
type AddVMTagJSONRequestBody = AddVMTagRequest
AddVMTagJSONRequestBody defines body for AddVMTag for application/json ContentType.
type AddVMTagParams ¶
type AddVMTagParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
AddVMTagParams defines parameters for AddVMTag.
type AddVMTagRequest ¶
type AddVMTagRequest struct {
// Name Tag name.
Name string `json:"name"`
// Priority Display priority (lower sorts first). Defaults to 0.
Priority *int `json:"priority,omitempty"`
}
AddVMTagRequest defines model for AddVMTagRequest.
type AddVMTagResponse ¶
type AddVMTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VMTagsResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseAddVMTagResponse ¶
func ParseAddVMTagResponse(rsp *http.Response) (*AddVMTagResponse, error)
ParseAddVMTagResponse parses an HTTP response from a AddVMTagWithResponse call
func (AddVMTagResponse) Status ¶
func (r AddVMTagResponse) Status() string
Status returns HTTPResponse.Status
func (AddVMTagResponse) StatusCode ¶
func (r AddVMTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppBuildLogLine ¶ added in v0.4.0
type AppBuildLogLine struct {
Component *string `json:"component,omitempty"`
Message *string `json:"message,omitempty"`
Stream *string `json:"stream,omitempty"`
Timestamp *time.Time `json:"timestamp,omitempty"`
}
AppBuildLogLine defines model for AppBuildLogLine.
type AppCustomDomain ¶ added in v0.4.0
type AppCustomDomain struct {
// CnameTarget CNAME record to create at your DNS provider
CnameTarget *string `json:"cname_target,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Domain *string `json:"domain,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
LastCheckedAt *time.Time `json:"last_checked_at,omitempty"`
ServiceID *openapi_types.UUID `json:"service_id,omitempty"`
Status *AppCustomDomainStatus `json:"status,omitempty"`
StatusMessage *string `json:"status_message,omitempty"`
// VerificationTxtName TXT record name for domain ownership verification
VerificationTxtName *string `json:"verification_txt_name,omitempty"`
VerificationTxtValue *string `json:"verification_txt_value,omitempty"`
}
AppCustomDomain defines model for AppCustomDomain.
type AppCustomDomainStatus ¶ added in v0.4.0
type AppCustomDomainStatus string
AppCustomDomainStatus defines model for AppCustomDomain.Status.
const ( AppCustomDomainStatusActive AppCustomDomainStatus = "active" AppCustomDomainStatusDNSVerified AppCustomDomainStatus = "dns_verified" AppCustomDomainStatusError AppCustomDomainStatus = "error" AppCustomDomainStatusIssuingCert AppCustomDomainStatus = "issuing_cert" AppCustomDomainStatusPendingDNS AppCustomDomainStatus = "pending_dns" AppCustomDomainStatusVerifying AppCustomDomainStatus = "verifying" )
Defines values for AppCustomDomainStatus.
func (AppCustomDomainStatus) Valid ¶ added in v0.4.0
func (e AppCustomDomainStatus) Valid() bool
Valid indicates whether the value is a known member of the AppCustomDomainStatus enum.
type AppDeployment ¶ added in v0.4.0
type AppDeployment struct {
BuildDurationMs *int `json:"build_duration_ms,omitempty"`
Channel *AppDeploymentChannel `json:"channel,omitempty"`
CommitMessage *string `json:"commit_message,omitempty"`
CommitSha *string `json:"commit_sha,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
DeploymentNumber *int `json:"deployment_number,omitempty"`
Error *string `json:"error,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
ImageDigest *string `json:"image_digest,omitempty"`
// RollbackOf Set when this deployment is a rollback
RollbackOf *openapi_types.UUID `json:"rollback_of,omitempty"`
ServiceID *openapi_types.UUID `json:"service_id,omitempty"`
StartedAt *time.Time `json:"started_at,omitempty"`
Status *AppDeploymentStatus `json:"status,omitempty"`
}
AppDeployment defines model for AppDeployment.
type AppDeploymentChannel ¶ added in v0.4.0
type AppDeploymentChannel string
AppDeploymentChannel defines model for AppDeployment.Channel.
const ( AppDeploymentChannelCli AppDeploymentChannel = "cli" AppDeploymentChannelCompose AppDeploymentChannel = "compose" AppDeploymentChannelConsole AppDeploymentChannel = "console" AppDeploymentChannelGitPush AppDeploymentChannel = "git_push" AppDeploymentChannelRollback AppDeploymentChannel = "rollback" )
Defines values for AppDeploymentChannel.
func (AppDeploymentChannel) Valid ¶ added in v0.4.0
func (e AppDeploymentChannel) Valid() bool
Valid indicates whether the value is a known member of the AppDeploymentChannel enum.
type AppDeploymentIDPath ¶ added in v0.4.0
type AppDeploymentIDPath = openapi_types.UUID
AppDeploymentIDPath defines model for AppDeploymentIDPath.
type AppDeploymentStatus ¶ added in v0.4.0
type AppDeploymentStatus string
AppDeploymentStatus defines model for AppDeployment.Status.
const ( AppDeploymentStatusBuilding AppDeploymentStatus = "building" AppDeploymentStatusCanceled AppDeploymentStatus = "canceled" AppDeploymentStatusDeploying AppDeploymentStatus = "deploying" AppDeploymentStatusFailed AppDeploymentStatus = "failed" AppDeploymentStatusLive AppDeploymentStatus = "live" AppDeploymentStatusQueued AppDeploymentStatus = "queued" AppDeploymentStatusSuperseded AppDeploymentStatus = "superseded" )
Defines values for AppDeploymentStatus.
func (AppDeploymentStatus) Valid ¶ added in v0.4.0
func (e AppDeploymentStatus) Valid() bool
Valid indicates whether the value is a known member of the AppDeploymentStatus enum.
type AppDomainIDPath ¶ added in v0.4.0
type AppDomainIDPath = openapi_types.UUID
AppDomainIDPath defines model for AppDomainIDPath.
type AppEnvVar ¶ added in v0.4.0
type AppEnvVar struct {
IsSecret *bool `json:"is_secret,omitempty"`
// IsSystem Managed by the platform (e.g. bindings) — read-only
IsSystem *bool `json:"is_system,omitempty"`
Key *string `json:"key,omitempty"`
// Value Empty for secrets unless fetched via the reveal endpoint
Value *string `json:"value,omitempty"`
}
AppEnvVar defines model for AppEnvVar.
type AppJobRun ¶ added in v0.4.0
type AppJobRun struct {
DeploymentID *openapi_types.UUID `json:"deployment_id,omitempty"`
Error *string `json:"error,omitempty"`
ExitCode *int `json:"exit_code,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
ScheduledFor *time.Time `json:"scheduled_for,omitempty"`
ServiceID *openapi_types.UUID `json:"service_id,omitempty"`
StartedAt *time.Time `json:"started_at,omitempty"`
Status *string `json:"status,omitempty"`
Trigger *AppJobRunTrigger `json:"trigger,omitempty"`
}
AppJobRun defines model for AppJobRun.
type AppJobRunTrigger ¶ added in v0.4.0
type AppJobRunTrigger string
AppJobRunTrigger defines model for AppJobRun.Trigger.
const ( AppJobRunTriggerManual AppJobRunTrigger = "manual" AppJobRunTriggerSchedule AppJobRunTrigger = "schedule" )
Defines values for AppJobRunTrigger.
func (AppJobRunTrigger) Valid ¶ added in v0.4.0
func (e AppJobRunTrigger) Valid() bool
Valid indicates whether the value is a known member of the AppJobRunTrigger enum.
type AppLogLine ¶ added in v0.4.0
type AppLogLine struct {
Component *string `json:"component,omitempty"`
Level *string `json:"level,omitempty"`
Message *string `json:"message,omitempty"`
// Stream `stdout` or `stderr`
Stream *string `json:"stream,omitempty"`
Timestamp *time.Time `json:"timestamp,omitempty"`
}
AppLogLine defines model for AppLogLine.
type AppMetricSeries ¶ added in v0.4.0
type AppMetricSeries struct {
Name *string `json:"name,omitempty"`
Timestamps *[]time.Time `json:"timestamps,omitempty"`
Values *[]float32 `json:"values,omitempty"`
}
AppMetricSeries defines model for AppMetricSeries.
type AppService ¶ added in v0.4.0
type AppService struct {
AutoscalingEnabled *bool `json:"autoscaling_enabled,omitempty"`
AutoscalingMetric *string `json:"autoscaling_metric,omitempty"`
AutoscalingTarget *int `json:"autoscaling_target,omitempty"`
BillingType *AppServiceBillingType `json:"billing_type,omitempty"`
Builder *AppServiceBuilder `json:"builder,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// CronSchedule Cron services only
CronSchedule *string `json:"cron_schedule,omitempty"`
CronTimezone *string `json:"cron_timezone,omitempty"`
CurrentDeploymentID *openapi_types.UUID `json:"current_deployment_id,omitempty"`
Description *string `json:"description,omitempty"`
DockerfilePath *string `json:"dockerfile_path,omitempty"`
HealthCheckPath *string `json:"health_check_path,omitempty"`
HTTPPort *int `json:"http_port,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
// ImageRef Prebuilt image source only
ImageRef *string `json:"image_ref,omitempty"`
// InternalHost In-cluster hostname (private services)
InternalHost *string `json:"internal_host,omitempty"`
MaxReplicas *int `json:"max_replicas,omitempty"`
MinReplicas *int `json:"min_replicas,omitempty"`
// Name Display name, unique within the project
Name *string `json:"name,omitempty"`
// PausedByCap True when a spend cap paused the service
PausedByCap *bool `json:"paused_by_cap,omitempty"`
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
Region *string `json:"region,omitempty"`
Replicas *int `json:"replicas,omitempty"`
RepoBranch *string `json:"repo_branch,omitempty"`
// RepoFullName GitHub source only (owner/name)
RepoFullName *string `json:"repo_full_name,omitempty"`
RepoRootDir *string `json:"repo_root_dir,omitempty"`
ScaleToZero *bool `json:"scale_to_zero,omitempty"`
// ServiceID Short reference id used in URLs
ServiceID *string `json:"service_id,omitempty"`
ServiceType *AppServiceServiceType `json:"service_type,omitempty"`
// Slug URL label — the name plus a short random suffix
Slug *string `json:"slug,omitempty"`
SourceType *AppServiceSourceType `json:"source_type,omitempty"`
StartCommand *string `json:"start_command,omitempty"`
Status *AppServiceStatus `json:"status,omitempty"`
StatusMessage *string `json:"status_message,omitempty"`
// TierID Pricing tier ID (see `GET /api/v1/apps/tiers`)
TierID *int `json:"tier_id,omitempty"`
TierName *string `json:"tier_name,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// URL Public HTTPS endpoint (web services; automatic TLS)
URL *string `json:"url,omitempty"`
}
AppService An app service on the Raff PaaS — a web service, private service, worker, cron job, or one-off job.
type AppServiceBillingType ¶ added in v0.4.0
type AppServiceBillingType string
AppServiceBillingType defines model for AppService.BillingType.
const ( AppServiceBillingTypePayg AppServiceBillingType = "payg" AppServiceBillingTypeSubscription AppServiceBillingType = "subscription" )
Defines values for AppServiceBillingType.
func (AppServiceBillingType) Valid ¶ added in v0.4.0
func (e AppServiceBillingType) Valid() bool
Valid indicates whether the value is a known member of the AppServiceBillingType enum.
type AppServiceBuilder ¶ added in v0.4.0
type AppServiceBuilder string
AppServiceBuilder defines model for AppService.Builder.
const ( AppServiceBuilderBuildpacks AppServiceBuilder = "buildpacks" AppServiceBuilderDockerfile AppServiceBuilder = "dockerfile" AppServiceBuilderImage AppServiceBuilder = "image" )
Defines values for AppServiceBuilder.
func (AppServiceBuilder) Valid ¶ added in v0.4.0
func (e AppServiceBuilder) Valid() bool
Valid indicates whether the value is a known member of the AppServiceBuilder enum.
type AppServiceRef ¶ added in v0.4.0
type AppServiceRef = string
AppServiceRef defines model for AppServiceRef.
type AppServiceServiceType ¶ added in v0.4.0
type AppServiceServiceType string
AppServiceServiceType defines model for AppService.ServiceType.
const ( AppServiceServiceTypeCron AppServiceServiceType = "cron" AppServiceServiceTypeJob AppServiceServiceType = "job" AppServiceServiceTypePrivate AppServiceServiceType = "private" AppServiceServiceTypeWeb AppServiceServiceType = "web" AppServiceServiceTypeWorker AppServiceServiceType = "worker" )
Defines values for AppServiceServiceType.
func (AppServiceServiceType) Valid ¶ added in v0.4.0
func (e AppServiceServiceType) Valid() bool
Valid indicates whether the value is a known member of the AppServiceServiceType enum.
type AppServiceSourceType ¶ added in v0.4.0
type AppServiceSourceType string
AppServiceSourceType defines model for AppService.SourceType.
const ( AppServiceSourceTypeCompose AppServiceSourceType = "compose" AppServiceSourceTypeGit AppServiceSourceType = "git" AppServiceSourceTypeImage AppServiceSourceType = "image" AppServiceSourceTypeTemplate AppServiceSourceType = "template" )
Defines values for AppServiceSourceType.
func (AppServiceSourceType) Valid ¶ added in v0.4.0
func (e AppServiceSourceType) Valid() bool
Valid indicates whether the value is a known member of the AppServiceSourceType enum.
type AppServiceStatus ¶ added in v0.4.0
type AppServiceStatus string
AppServiceStatus defines model for AppService.Status.
const ( AppServiceStatusBuilding AppServiceStatus = "building" AppServiceStatusDeleted AppServiceStatus = "deleted" AppServiceStatusDeleting AppServiceStatus = "deleting" AppServiceStatusDeploying AppServiceStatus = "deploying" AppServiceStatusError AppServiceStatus = "error" AppServiceStatusLive AppServiceStatus = "live" AppServiceStatusPaused AppServiceStatus = "paused" AppServiceStatusPending AppServiceStatus = "pending" AppServiceStatusSuspended AppServiceStatus = "suspended" )
Defines values for AppServiceStatus.
func (AppServiceStatus) Valid ¶ added in v0.4.0
func (e AppServiceStatus) Valid() bool
Valid indicates whether the value is a known member of the AppServiceStatus enum.
type AppSpendSettings ¶ added in v0.4.0
type AppSpendSettings struct {
CapAction *AppSpendSettingsCapAction `json:"cap_action,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
MonthlyCapUsd *float32 `json:"monthly_cap_usd,omitempty"`
PausedByCap *bool `json:"paused_by_cap,omitempty"`
}
AppSpendSettings defines model for AppSpendSettings.
type AppSpendSettingsCapAction ¶ added in v0.4.0
type AppSpendSettingsCapAction string
AppSpendSettingsCapAction defines model for AppSpendSettings.CapAction.
const (
AppSpendSettingsCapActionPause AppSpendSettingsCapAction = "pause"
)
Defines values for AppSpendSettingsCapAction.
func (AppSpendSettingsCapAction) Valid ¶ added in v0.4.0
func (e AppSpendSettingsCapAction) Valid() bool
Valid indicates whether the value is a known member of the AppSpendSettingsCapAction enum.
type AppTier ¶ added in v0.4.0
type AppTier struct {
EphemeralGib *int `json:"ephemeral_gib,omitempty"`
ID *int `json:"id,omitempty"`
MemoryMib *int `json:"memory_mib,omitempty"`
Name *string `json:"name,omitempty"`
PricePerHour *float32 `json:"price_per_hour,omitempty"`
PricePerMonth *float32 `json:"price_per_month,omitempty"`
Region *string `json:"region,omitempty"`
Vcpu *float32 `json:"vcpu,omitempty"`
YearlyPrice *float32 `json:"yearly_price,omitempty"`
}
AppTier One Apps pricing tier — compute size and price.
type AppUsage ¶ added in v0.4.0
type AppUsage struct {
PeriodEnd *time.Time `json:"period_end,omitempty"`
PeriodStart *time.Time `json:"period_start,omitempty"`
Services *[]struct {
EstimatedCostUsd *float32 `json:"estimated_cost_usd,omitempty"`
ReplicaHours *float32 `json:"replica_hours,omitempty"`
ServiceID *string `json:"service_id,omitempty"`
ServiceName *string `json:"service_name,omitempty"`
TierID *int `json:"tier_id,omitempty"`
} `json:"services,omitempty"`
Success *bool `json:"success,omitempty"`
TotalEstimatedCostUsd *float32 `json:"total_estimated_cost_usd,omitempty"`
}
AppUsage defines model for AppUsage.
type AppendVMNoteJSONRequestBody ¶
type AppendVMNoteJSONRequestBody = UpsertVMNoteRequest
AppendVMNoteJSONRequestBody defines body for AppendVMNote for application/json ContentType.
type AppendVMNoteParams ¶
type AppendVMNoteParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
AppendVMNoteParams defines parameters for AppendVMNote.
type AppendVMNoteParamsType ¶
type AppendVMNoteParamsType string
AppendVMNoteParamsType defines parameters for AppendVMNote.
const ( AppendVMNoteParamsTypeAccount AppendVMNoteParamsType = "account" AppendVMNoteParamsTypePersonal AppendVMNoteParamsType = "personal" )
Defines values for AppendVMNoteParamsType.
func (AppendVMNoteParamsType) Valid ¶
func (e AppendVMNoteParamsType) Valid() bool
Valid indicates whether the value is a known member of the AppendVMNoteParamsType enum.
type AppendVMNoteResponse ¶
type AppendVMNoteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Note A free-form note attached to a VM. `personal` notes are visible only to the writer; `account` notes are shared across the account.
Note *VMNote `json:"note,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseAppendVMNoteResponse ¶
func ParseAppendVMNoteResponse(rsp *http.Response) (*AppendVMNoteResponse, error)
ParseAppendVMNoteResponse parses an HTTP response from a AppendVMNoteWithResponse call
func (AppendVMNoteResponse) Status ¶
func (r AppendVMNoteResponse) Status() string
Status returns HTTPResponse.Status
func (AppendVMNoteResponse) StatusCode ¶
func (r AppendVMNoteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AssignK8SClusterFirewallJSONBody ¶ added in v0.4.0
type AssignK8SClusterFirewallJSONBody struct {
SecurityGroupID openapi_types.UUID `json:"security_group_id"`
}
AssignK8SClusterFirewallJSONBody defines parameters for AssignK8SClusterFirewall.
type AssignK8SClusterFirewallJSONRequestBody ¶ added in v0.4.0
type AssignK8SClusterFirewallJSONRequestBody AssignK8SClusterFirewallJSONBody
AssignK8SClusterFirewallJSONRequestBody defines body for AssignK8SClusterFirewall for application/json ContentType.
type AssignK8SClusterFirewallParams ¶ added in v0.4.0
type AssignK8SClusterFirewallParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
AssignK8SClusterFirewallParams defines parameters for AssignK8SClusterFirewall.
type AssignK8SClusterFirewallResponse ¶ added in v0.4.0
type AssignK8SClusterFirewallResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseAssignK8SClusterFirewallResponse ¶ added in v0.4.0
func ParseAssignK8SClusterFirewallResponse(rsp *http.Response) (*AssignK8SClusterFirewallResponse, error)
ParseAssignK8SClusterFirewallResponse parses an HTTP response from a AssignK8SClusterFirewallWithResponse call
func (AssignK8SClusterFirewallResponse) Status ¶ added in v0.4.0
func (r AssignK8SClusterFirewallResponse) Status() string
Status returns HTTPResponse.Status
func (AssignK8SClusterFirewallResponse) StatusCode ¶ added in v0.4.0
func (r AssignK8SClusterFirewallResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttachIPRequest ¶
type AttachIPRequest struct {
// IPID ID of a previously reserved IP. The IP must belong to the same account, be reserved, and not already attached to another VM. No new billing on attach — you're already paying for the reserved IP. Use this to add up to 4 public IPv4 addresses to a VM.
IPID *openapi_types.UUID `json:"ip_id,omitempty"`
// SecurityGroups Security group IDs (UUIDs) to apply to the new NIC.
SecurityGroups *[]openapi_types.UUID `json:"security_groups,omitempty"`
// Type IP family to auto-allocate. Used only when `ip_id` is omitted. Defaults to `IPv4`. Available only while the VM has no public IP of that family; the IP is included with the VM at no extra charge and is released back to the pool on detach.
Type *AttachIPRequestType `json:"type,omitempty"`
}
AttachIPRequest Provide **either** `ip_id` (attach an existing reserved IP) **or** `type` (auto-allocate a new IP). Don't combine — `ip_id` takes precedence and `type` is ignored when both are sent.
type AttachIPRequestType ¶
type AttachIPRequestType string
AttachIPRequestType IP family to auto-allocate. Used only when `ip_id` is omitted. Defaults to `IPv4`. Available only while the VM has no public IP of that family; the IP is included with the VM at no extra charge and is released back to the pool on detach.
const ( AttachIPRequestTypeIPv4 AttachIPRequestType = "IPv4" AttachIPRequestTypeIPv6 AttachIPRequestType = "IPv6" )
Defines values for AttachIPRequestType.
func (AttachIPRequestType) Valid ¶
func (e AttachIPRequestType) Valid() bool
Valid indicates whether the value is a known member of the AttachIPRequestType enum.
type AttachIPResponse ¶
type AttachIPResponse struct {
Data *struct {
// IPAddress The attached IP address.
IPAddress *string `json:"ip_address,omitempty"`
Mac *string `json:"mac,omitempty"`
// NicID NIC identifier for this attachment. Use it when detaching.
NicID *int `json:"nic_id,omitempty"`
// VMID VM the IP was attached to.
VMID *openapi_types.UUID `json:"vm_id,omitempty"`
} `json:"data,omitempty"`
Message *string `json:"message,omitempty"`
Success bool `json:"success"`
}
AttachIPResponse defines model for AttachIPResponse.
type AttachSecurityGroupRequest ¶
type AttachSecurityGroupRequest struct {
// NicID NIC to attach the security group to. Get from `GET /api/v1/vms/{id}/networks`.
NicID int `json:"nic_id"`
// SecurityGroupID Security group to attach.
SecurityGroupID openapi_types.UUID `json:"security_group_id"`
}
AttachSecurityGroupRequest defines model for AttachSecurityGroupRequest.
type AttachVMIPJSONRequestBody ¶
type AttachVMIPJSONRequestBody = AttachIPRequest
AttachVMIPJSONRequestBody defines body for AttachVMIP for application/json ContentType.
type AttachVMIPParams ¶
type AttachVMIPParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
AttachVMIPParams defines parameters for AttachVMIP.
type AttachVMIPResponse ¶
type AttachVMIPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AttachIPResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON403 *BillingValidationFailed
JSON404 *NotFound
}
func ParseAttachVMIPResponse ¶
func ParseAttachVMIPResponse(rsp *http.Response) (*AttachVMIPResponse, error)
ParseAttachVMIPResponse parses an HTTP response from a AttachVMIPWithResponse call
func (AttachVMIPResponse) Status ¶
func (r AttachVMIPResponse) Status() string
Status returns HTTPResponse.Status
func (AttachVMIPResponse) StatusCode ¶
func (r AttachVMIPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttachVMSecurityGroupJSONRequestBody ¶
type AttachVMSecurityGroupJSONRequestBody = AttachSecurityGroupRequest
AttachVMSecurityGroupJSONRequestBody defines body for AttachVMSecurityGroup for application/json ContentType.
type AttachVMSecurityGroupParams ¶
type AttachVMSecurityGroupParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
AttachVMSecurityGroupParams defines parameters for AttachVMSecurityGroup.
type AttachVMSecurityGroupResponse ¶
type AttachVMSecurityGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseAttachVMSecurityGroupResponse ¶
func ParseAttachVMSecurityGroupResponse(rsp *http.Response) (*AttachVMSecurityGroupResponse, error)
ParseAttachVMSecurityGroupResponse parses an HTTP response from a AttachVMSecurityGroupWithResponse call
func (AttachVMSecurityGroupResponse) Status ¶
func (r AttachVMSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AttachVMSecurityGroupResponse) StatusCode ¶
func (r AttachVMSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttachVMToVPCJSONRequestBody ¶
type AttachVMToVPCJSONRequestBody = AttachVPCRequest
AttachVMToVPCJSONRequestBody defines body for AttachVMToVPC for application/json ContentType.
type AttachVMToVPCParams ¶
type AttachVMToVPCParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
AttachVMToVPCParams defines parameters for AttachVMToVPC.
type AttachVMToVPCResponse ¶
type AttachVMToVPCResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseAttachVMToVPCResponse ¶
func ParseAttachVMToVPCResponse(rsp *http.Response) (*AttachVMToVPCResponse, error)
ParseAttachVMToVPCResponse parses an HTTP response from a AttachVMToVPCWithResponse call
func (AttachVMToVPCResponse) Status ¶
func (r AttachVMToVPCResponse) Status() string
Status returns HTTPResponse.Status
func (AttachVMToVPCResponse) StatusCode ¶
func (r AttachVMToVPCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttachVPCRequest ¶
type AttachVPCRequest struct {
// IP Specific private IP within the VPC's CIDR range. Auto-assigned if omitted.
IP *string `json:"ip,omitempty"`
// VpcID VPC to attach the VM to.
VpcID openapi_types.UUID `json:"vpc_id"`
}
AttachVPCRequest defines model for AttachVPCRequest.
type AttachVolumeJSONRequestBody ¶
type AttachVolumeJSONRequestBody = AttachVolumeRequest
AttachVolumeJSONRequestBody defines body for AttachVolume for application/json ContentType.
type AttachVolumeParams ¶
type AttachVolumeParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
AttachVolumeParams defines parameters for AttachVolume.
type AttachVolumeRequest ¶
type AttachVolumeRequest struct {
// VMID UUID of the VM to attach this volume to. VM must be in the same region as the volume.
VMID openapi_types.UUID `json:"vm_id"`
}
AttachVolumeRequest defines model for AttachVolumeRequest.
type AttachVolumeResponse ¶
type AttachVolumeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Volume `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseAttachVolumeResponse ¶
func ParseAttachVolumeResponse(rsp *http.Response) (*AttachVolumeResponse, error)
ParseAttachVolumeResponse parses an HTTP response from a AttachVolumeWithResponse call
func (AttachVolumeResponse) Status ¶
func (r AttachVolumeResponse) Status() string
Status returns HTTPResponse.Status
func (AttachVolumeResponse) StatusCode ¶
func (r AttachVolumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Backup ¶
type Backup struct {
// AccountID Account that owns the backup
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// CreatedBy User ID that created the backup
CreatedBy *string `json:"created_by,omitempty"`
// ExpireDate When the backup will be auto-pruned (only set when retention applies)
ExpireDate *time.Time `json:"expire_date,omitempty"`
// ID Backup ID
ID openapi_types.UUID `json:"id"`
// IncrementID Restore-point position within an incremental backup series.
//
// - `null` — legacy standalone backup (no series).
// - `0` — first restore point of a series.
// - `1`, `2`, … — subsequent restore points in the same series.
//
// Backups that share the same series are deleted together. Deleting a single
// restore point that has older points in its series triggers a series-wide delete.
// Use [Delete backup series](/api-reference/virtual-machines/delete-backup-series)
// to remove a whole series explicitly, or
// [Reset backup series](/api-reference/virtual-machines/reset-backup-series)
// to start a fresh baseline on the next backup.
IncrementID *int `json:"increment_id,omitempty"`
// Name Backup display name
Name string `json:"name"`
// PricePerHour Hourly storage cost in USD
PricePerHour *string `json:"price_per_hour,omitempty"`
// ProductVM Source VM UUID
ProductVM *openapi_types.UUID `json:"product_vm,omitempty"`
// ProjectID Project the backup belongs to
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
// Region Region the backup is stored in
Region *BackupRegion `json:"region,omitempty"`
// Status Backup lifecycle status. Common values:
// - `pending` — creation queued
// - `creating` — backup being captured
// - `ready` — available for restore
// - `restoring` — currently restoring to a VM
// - `failed` — creation or restore failed
Status string `json:"status"`
// StorageSize Backup size in **MB**. For incremental restore points this is the per-increment delta;
// for legacy standalone backups it is the full image size. Display in MB up to 1024,
// else convert to GB (`storage_size / 1024`). Pricing math: `(storage_size / 1024) * price_per_gb`.
StorageSize int `json:"storage_size"`
}
Backup defines model for Backup.
type BackupRegion ¶
type BackupRegion string
BackupRegion Region the backup is stored in
const (
BackupRegionUsEast BackupRegion = "us-east"
)
Defines values for BackupRegion.
func (BackupRegion) Valid ¶
func (e BackupRegion) Valid() bool
Valid indicates whether the value is a known member of the BackupRegion enum.
type BackupSchedule ¶
type BackupSchedule struct {
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
// ConsecutiveFailures Consecutive failed runs. Resets to 0 on the next successful run.
ConsecutiveFailures *int `json:"consecutive_failures,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CreatedBy *string `json:"created_by,omitempty"`
// Enabled Whether the schedule is active. Disabled schedules never run.
Enabled *bool `json:"enabled,omitempty"`
// ID Backup schedule ID. Use this value in `/backup-schedules/{id}` for get, update, and delete.
ID int `json:"id"`
// KeepCount Number of backups retained before auto-pruning
KeepCount int `json:"keep_count"`
// LastRunAt Last time this schedule ran. Absent if it has never run.
LastRunAt *time.Time `json:"last_run_at,omitempty"`
// LastRunStatus Outcome of the most recent run. Absent if it has never run.
LastRunStatus *BackupScheduleLastRunStatus `json:"last_run_status,omitempty"`
// Name Schedule display name
Name string `json:"name"`
// NextRunAt Next time this schedule runs (UTC).
NextRunAt *time.Time `json:"next_run_at,omitempty"`
// PricePerHour Hourly cost in USD
PricePerHour *string `json:"price_per_hour,omitempty"`
// ProductVM Source VM UUID
ProductVM *openapi_types.UUID `json:"product_vm,omitempty"`
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
Region *BackupScheduleRegion `json:"region,omitempty"`
// Runtime Human-readable schedule (e.g. `Daily at 8am`, `Saturday 8am`)
Runtime *string `json:"runtime,omitempty"`
// Size Total size of backups currently retained for this schedule
Size *string `json:"size,omitempty"`
// Type Schedule frequency
Type BackupScheduleType `json:"type"`
}
BackupSchedule defines model for BackupSchedule.
type BackupScheduleLastRunStatus ¶ added in v0.4.0
type BackupScheduleLastRunStatus string
BackupScheduleLastRunStatus Outcome of the most recent run. Absent if it has never run.
const ( BackupScheduleLastRunStatusFailed BackupScheduleLastRunStatus = "failed" BackupScheduleLastRunStatusSkipped BackupScheduleLastRunStatus = "skipped" BackupScheduleLastRunStatusSucceeded BackupScheduleLastRunStatus = "succeeded" )
Defines values for BackupScheduleLastRunStatus.
func (BackupScheduleLastRunStatus) Valid ¶ added in v0.4.0
func (e BackupScheduleLastRunStatus) Valid() bool
Valid indicates whether the value is a known member of the BackupScheduleLastRunStatus enum.
type BackupScheduleRegion ¶
type BackupScheduleRegion string
BackupScheduleRegion defines model for BackupSchedule.Region.
const (
BackupScheduleRegionUsEast BackupScheduleRegion = "us-east"
)
Defines values for BackupScheduleRegion.
func (BackupScheduleRegion) Valid ¶
func (e BackupScheduleRegion) Valid() bool
Valid indicates whether the value is a known member of the BackupScheduleRegion enum.
type BackupScheduleType ¶
type BackupScheduleType string
BackupScheduleType Schedule frequency
const ( BackupScheduleTypeDaily BackupScheduleType = "daily" BackupScheduleTypeWeekly BackupScheduleType = "weekly" )
Defines values for BackupScheduleType.
func (BackupScheduleType) Valid ¶
func (e BackupScheduleType) Valid() bool
Valid indicates whether the value is a known member of the BackupScheduleType enum.
type BillingError ¶
type BillingError struct {
Error string `json:"error"`
Message *string `json:"message,omitempty"`
// Reason Machine-readable reason code:
// - `banned` — account has been suspended
// - `failed` — last payment failed; balance top-up needed
// - `no_billing_customer` — billing has not been set up for this account
Reason BillingErrorReason `json:"reason"`
}
BillingError Billing validation error response. Returned when the account is not in good standing for paid operations.
type BillingErrorReason ¶
type BillingErrorReason string
BillingErrorReason Machine-readable reason code: - `banned` — account has been suspended - `failed` — last payment failed; balance top-up needed - `no_billing_customer` — billing has not been set up for this account
const ( BillingErrorReasonBanned BillingErrorReason = "banned" BillingErrorReasonFailed BillingErrorReason = "failed" BillingErrorReasonNoBillingCustomer BillingErrorReason = "no_billing_customer" )
Defines values for BillingErrorReason.
func (BillingErrorReason) Valid ¶
func (e BillingErrorReason) Valid() bool
Valid indicates whether the value is a known member of the BillingErrorReason enum.
type BillingValidationFailed ¶
type BillingValidationFailed = BillingError
BillingValidationFailed Billing validation error response. Returned when the account is not in good standing for paid operations.
type BulkDeleteVMItemResult ¶
type BulkDeleteVMItemResult struct {
// Error Error detail if deletion failed.
Error *string `json:"error,omitempty"`
// ID VM ID.
ID *openapi_types.UUID `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
BulkDeleteVMItemResult defines model for BulkDeleteVMItemResult.
type BulkDeleteVMsResult ¶
type BulkDeleteVMsResult struct {
// FailedCount Number of VMs that failed to delete.
FailedCount *int `json:"failed_count,omitempty"`
Message *string `json:"message,omitempty"`
// Results Per-VM deletion results.
Results *[]BulkDeleteVMItemResult `json:"results,omitempty"`
// Success `true` if at least one VM was deleted successfully.
Success *bool `json:"success,omitempty"`
// SuccessCount Number of VMs successfully deleted.
SuccessCount *int `json:"success_count,omitempty"`
// TotalCount Number of VMs requested for deletion.
TotalCount *int `json:"total_count,omitempty"`
}
BulkDeleteVMsResult defines model for BulkDeleteVMsResult.
type BulkSetAppEnvVarsJSONBody ¶ added in v0.4.0
type BulkSetAppEnvVarsJSONBody struct {
Redeploy *bool `json:"redeploy,omitempty"`
Vars []struct {
IsSecret *bool `json:"is_secret,omitempty"`
Key string `json:"key"`
Value string `json:"value"`
} `json:"vars"`
}
BulkSetAppEnvVarsJSONBody defines parameters for BulkSetAppEnvVars.
type BulkSetAppEnvVarsJSONRequestBody ¶ added in v0.4.0
type BulkSetAppEnvVarsJSONRequestBody BulkSetAppEnvVarsJSONBody
BulkSetAppEnvVarsJSONRequestBody defines body for BulkSetAppEnvVars for application/json ContentType.
type BulkSetAppEnvVarsResponse ¶ added in v0.4.0
type BulkSetAppEnvVarsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DeploymentID *openapi_types.UUID `json:"deployment_id,omitempty"`
EnvVars *[]AppEnvVar `json:"env_vars,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseBulkSetAppEnvVarsResponse ¶ added in v0.4.0
func ParseBulkSetAppEnvVarsResponse(rsp *http.Response) (*BulkSetAppEnvVarsResponse, error)
ParseBulkSetAppEnvVarsResponse parses an HTTP response from a BulkSetAppEnvVarsWithResponse call
func (BulkSetAppEnvVarsResponse) Status ¶ added in v0.4.0
func (r BulkSetAppEnvVarsResponse) Status() string
Status returns HTTPResponse.Status
func (BulkSetAppEnvVarsResponse) StatusCode ¶ added in v0.4.0
func (r BulkSetAppEnvVarsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CIDRSuggestion ¶
type CIDRSuggestion struct {
AvailableIps *int `json:"available_ips,omitempty"`
Cidr *string `json:"cidr,omitempty"`
Size *CIDRSuggestionSize `json:"size,omitempty"`
}
CIDRSuggestion defines model for CIDRSuggestion.
type CIDRSuggestionSize ¶
type CIDRSuggestionSize string
CIDRSuggestionSize defines model for CIDRSuggestion.Size.
const ( Large CIDRSuggestionSize = "large" Medium CIDRSuggestionSize = "medium" Small CIDRSuggestionSize = "small" )
Defines values for CIDRSuggestionSize.
func (CIDRSuggestionSize) Valid ¶
func (e CIDRSuggestionSize) Valid() bool
Valid indicates whether the value is a known member of the CIDRSuggestionSize enum.
type CIDRSuggestionsResponse ¶
type CIDRSuggestionsResponse struct {
// Alternatives Other non-overlapping CIDRs to choose from, sized small/medium/large.
Alternatives *[]CIDRSuggestion `json:"alternatives,omitempty"`
// ExistingCount Number of VPCs you already have.
ExistingCount *int `json:"existing_count,omitempty"`
Success bool `json:"success"`
// Suggested Recommended CIDR — non-overlapping and right-sized for typical use.
Suggested *string `json:"suggested,omitempty"`
// SuggestedIps Number of usable IPs in the suggested block.
SuggestedIps *int `json:"suggested_ips,omitempty"`
}
CIDRSuggestionsResponse defines model for CIDRSuggestionsResponse.
type CancelAppJobRunResponse ¶ added in v0.4.0
type CancelAppJobRunResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Run *AppJobRun `json:"run,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseCancelAppJobRunResponse ¶ added in v0.4.0
func ParseCancelAppJobRunResponse(rsp *http.Response) (*CancelAppJobRunResponse, error)
ParseCancelAppJobRunResponse parses an HTTP response from a CancelAppJobRunWithResponse call
func (CancelAppJobRunResponse) Status ¶ added in v0.4.0
func (r CancelAppJobRunResponse) Status() string
Status returns HTTPResponse.Status
func (CancelAppJobRunResponse) StatusCode ¶ added in v0.4.0
func (r CancelAppJobRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelInvitationResponse ¶
type CancelInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseCancelInvitationResponse ¶
func ParseCancelInvitationResponse(rsp *http.Response) (*CancelInvitationResponse, error)
ParseCancelInvitationResponse parses an HTTP response from a CancelInvitationWithResponse call
func (CancelInvitationResponse) Status ¶
func (r CancelInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (CancelInvitationResponse) StatusCode ¶
func (r CancelInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChangeIPParams ¶
type ChangeIPParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ChangeIPParams defines parameters for ChangeIP.
type ChangeIPResponse ¶
type ChangeIPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// NewIP A floating public IP address.
NewIP *FloatingIP `json:"new_ip,omitempty"`
// OldIP A floating public IP address.
OldIP *FloatingIP `json:"old_ip,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseChangeIPResponse ¶
func ParseChangeIPResponse(rsp *http.Response) (*ChangeIPResponse, error)
ParseChangeIPResponse parses an HTTP response from a ChangeIPWithResponse call
func (ChangeIPResponse) Status ¶
func (r ChangeIPResponse) Status() string
Status returns HTTPResponse.Status
func (ChangeIPResponse) StatusCode ¶
func (r ChangeIPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) AddAppCustomDomain ¶ added in v0.4.0
func (c *Client) AddAppCustomDomain(ctx context.Context, serviceID AppServiceRef, body AddAppCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddAppCustomDomainWithBody ¶ added in v0.4.0
func (*Client) AddK8SNodePool ¶ added in v0.4.0
func (c *Client) AddK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, body AddK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddK8SNodePoolWithBody ¶ added in v0.4.0
func (c *Client) AddK8SNodePoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddMember ¶
func (c *Client) AddMember(ctx context.Context, body AddMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddMemberWithBody ¶
func (*Client) AddProjectMember ¶
func (c *Client) AddProjectMember(ctx context.Context, id ProjectIDPath, body AddProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddProjectMemberWithBody ¶
func (*Client) AddVMTag ¶
func (c *Client) AddVMTag(ctx context.Context, id VMIDPath, params *AddVMTagParams, body AddVMTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddVMTagWithBody ¶
func (*Client) AppendVMNote ¶
func (c *Client) AppendVMNote(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, params *AppendVMNoteParams, body AppendVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AppendVMNoteWithBody ¶
func (c *Client) AppendVMNoteWithBody(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, params *AppendVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssignK8SClusterFirewall ¶ added in v0.4.0
func (c *Client) AssignK8SClusterFirewall(ctx context.Context, clusterID K8SClusterIDPath, params *AssignK8SClusterFirewallParams, body AssignK8SClusterFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AssignK8SClusterFirewallWithBody ¶ added in v0.4.0
func (c *Client) AssignK8SClusterFirewallWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *AssignK8SClusterFirewallParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AttachVMIP ¶
func (c *Client) AttachVMIP(ctx context.Context, id VMIDPath, params *AttachVMIPParams, body AttachVMIPJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AttachVMIPWithBody ¶
func (*Client) AttachVMSecurityGroup ¶
func (c *Client) AttachVMSecurityGroup(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, body AttachVMSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AttachVMSecurityGroupWithBody ¶
func (*Client) AttachVMToVPC ¶
func (c *Client) AttachVMToVPC(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, body AttachVMToVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AttachVMToVPCWithBody ¶
func (*Client) AttachVolume ¶
func (c *Client) AttachVolume(ctx context.Context, id int, params *AttachVolumeParams, body AttachVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AttachVolumeWithBody ¶
func (*Client) BulkSetAppEnvVars ¶ added in v0.4.0
func (c *Client) BulkSetAppEnvVars(ctx context.Context, serviceID AppServiceRef, body BulkSetAppEnvVarsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BulkSetAppEnvVarsWithBody ¶ added in v0.4.0
func (*Client) CancelAppJobRun ¶ added in v0.4.0
func (c *Client) CancelAppJobRun(ctx context.Context, runID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CancelInvitation ¶
func (c *Client) CancelInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ChangeIP ¶
func (c *Client) ChangeIP(ctx context.Context, id IPIDPath, params *ChangeIPParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectDatabaseVPC ¶ added in v0.4.0
func (c *Client) ConnectDatabaseVPC(ctx context.Context, databaseID DatabaseIDPath, body ConnectDatabaseVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectDatabaseVPCWithBody ¶ added in v0.4.0
func (*Client) ConvertLambda ¶ added in v0.4.0
func (c *Client) ConvertLambda(ctx context.Context, body ConvertLambdaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConvertLambdaWithBody ¶ added in v0.4.0
func (*Client) CreateAPIKey ¶
func (c *Client) CreateAPIKey(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAPIKeyWithBody ¶
func (*Client) CreateAccountInvitation ¶
func (c *Client) CreateAccountInvitation(ctx context.Context, body CreateAccountInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAccountInvitationWithBody ¶
func (*Client) CreateAppDeployment ¶ added in v0.4.0
func (c *Client) CreateAppDeployment(ctx context.Context, serviceID AppServiceRef, body CreateAppDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAppDeploymentWithBody ¶ added in v0.4.0
func (*Client) CreateAppService ¶ added in v0.4.0
func (c *Client) CreateAppService(ctx context.Context, params *CreateAppServiceParams, body CreateAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAppServiceWithBody ¶ added in v0.4.0
func (*Client) CreateBackup ¶
func (c *Client) CreateBackup(ctx context.Context, params *CreateBackupParams, body CreateBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBackupSchedule ¶
func (c *Client) CreateBackupSchedule(ctx context.Context, params *CreateBackupScheduleParams, body CreateBackupScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBackupScheduleWithBody ¶
func (*Client) CreateBackupWithBody ¶
func (*Client) CreateDatabase ¶ added in v0.4.0
func (c *Client) CreateDatabase(ctx context.Context, params *CreateDatabaseParams, body CreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDatabaseBackup ¶ added in v0.4.0
func (c *Client) CreateDatabaseBackup(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDatabaseWithBody ¶ added in v0.4.0
func (*Client) CreateFunction ¶ added in v0.4.0
func (c *Client) CreateFunction(ctx context.Context, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateFunctionBinding ¶ added in v0.4.0
func (c *Client) CreateFunctionBinding(ctx context.Context, functionID FunctionRef, body CreateFunctionBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateFunctionBindingWithBody ¶ added in v0.4.0
func (*Client) CreateFunctionDeployment ¶ added in v0.4.0
func (c *Client) CreateFunctionDeployment(ctx context.Context, functionID FunctionRef, body CreateFunctionDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateFunctionDeploymentWithBody ¶ added in v0.4.0
func (*Client) CreateFunctionTrigger ¶ added in v0.4.0
func (c *Client) CreateFunctionTrigger(ctx context.Context, functionID FunctionRef, body CreateFunctionTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateFunctionTriggerWithBody ¶ added in v0.4.0
func (*Client) CreateFunctionWithBody ¶ added in v0.4.0
func (*Client) CreateK8SCluster ¶ added in v0.4.0
func (c *Client) CreateK8SCluster(ctx context.Context, params *CreateK8SClusterParams, body CreateK8SClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateK8SClusterWithBody ¶ added in v0.4.0
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProjectInvitation ¶
func (c *Client) CreateProjectInvitation(ctx context.Context, id ProjectIDPath, body CreateProjectInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProjectInvitationWithBody ¶
func (*Client) CreateProjectWithBody ¶
func (*Client) CreateRole ¶
func (c *Client) CreateRole(ctx context.Context, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateRoleWithBody ¶
func (*Client) CreateSSHKey ¶
func (c *Client) CreateSSHKey(ctx context.Context, body CreateSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSSHKeyWithBody ¶
func (*Client) CreateSecurityGroup ¶
func (c *Client) CreateSecurityGroup(ctx context.Context, params *CreateSecurityGroupParams, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSecurityGroupWithBody ¶
func (*Client) CreateSnapshot ¶
func (c *Client) CreateSnapshot(ctx context.Context, params *CreateSnapshotParams, body CreateSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSnapshotWithBody ¶
func (*Client) CreateVM ¶
func (c *Client) CreateVM(ctx context.Context, params *CreateVMParams, body CreateVMJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateVMWithBody ¶
func (*Client) CreateVPC ¶
func (c *Client) CreateVPC(ctx context.Context, params *CreateVPCParams, body CreateVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateVPCWithBody ¶
func (*Client) CreateVolume ¶
func (c *Client) CreateVolume(ctx context.Context, params *CreateVolumeParams, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateVolumeWithBody ¶
func (*Client) DeleteAppCustomDomain ¶ added in v0.4.0
func (c *Client) DeleteAppCustomDomain(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteAppEnvVar ¶ added in v0.4.0
func (c *Client) DeleteAppEnvVar(ctx context.Context, serviceID AppServiceRef, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteAppService ¶ added in v0.4.0
func (c *Client) DeleteAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteBackup ¶
func (c *Client) DeleteBackup(ctx context.Context, id openapi_types.UUID, params *DeleteBackupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteBackupChain ¶ added in v0.3.4
func (c *Client) DeleteBackupChain(ctx context.Context, id openapi_types.UUID, params *DeleteBackupChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteBackupSchedule ¶
func (c *Client) DeleteBackupSchedule(ctx context.Context, id int, params *DeleteBackupScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteDatabase ¶ added in v0.4.0
func (c *Client) DeleteDatabase(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteFunction ¶ added in v0.4.0
func (c *Client) DeleteFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteFunctionBinding ¶ added in v0.4.0
func (c *Client) DeleteFunctionBinding(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteFunctionEnvVar ¶ added in v0.4.0
func (c *Client) DeleteFunctionEnvVar(ctx context.Context, functionID FunctionRef, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteFunctionTrigger ¶ added in v0.4.0
func (c *Client) DeleteFunctionTrigger(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteK8SCluster ¶ added in v0.4.0
func (c *Client) DeleteK8SCluster(ctx context.Context, clusterID K8SClusterIDPath, params *DeleteK8SClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteK8SNodePool ¶ added in v0.4.0
func (c *Client) DeleteK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *DeleteK8SNodePoolParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteK8STcpPort ¶ added in v0.4.0
func (c *Client) DeleteK8STcpPort(ctx context.Context, clusterID K8SClusterIDPath, port int, params *DeleteK8STcpPortParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteRole ¶
func (c *Client) DeleteRole(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSSHKey ¶
func (c *Client) DeleteSSHKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSecurityGroup ¶
func (c *Client) DeleteSecurityGroup(ctx context.Context, id SecurityGroupResourceIDPath, params *DeleteSecurityGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSnapshot ¶
func (c *Client) DeleteSnapshot(ctx context.Context, id int, params *DeleteSnapshotParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteVM ¶
func (c *Client) DeleteVM(ctx context.Context, id VMIDPath, params *DeleteVMParams, body DeleteVMJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteVMWithBody ¶
func (*Client) DeleteVMsBulk ¶
func (c *Client) DeleteVMsBulk(ctx context.Context, params *DeleteVMsBulkParams, body DeleteVMsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteVMsBulkWithBody ¶
func (*Client) DeleteVPC ¶
func (c *Client) DeleteVPC(ctx context.Context, id VPCIDPath, params *DeleteVPCParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteVolume ¶
func (c *Client) DeleteVolume(ctx context.Context, id int, params *DeleteVolumeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DetachVMFromVPC ¶
func (c *Client) DetachVMFromVPC(ctx context.Context, id VMIDPath, nicID NICIDPath, params *DetachVMFromVPCParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DetachVMIP ¶
func (c *Client) DetachVMIP(ctx context.Context, id VMIDPath, nicID NICIDPath, params *DetachVMIPParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DetachVMSecurityGroup ¶
func (c *Client) DetachVMSecurityGroup(ctx context.Context, id VMIDPath, sgid SecurityGroupIDPath, nicID NICIDPath, params *DetachVMSecurityGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DetachVolume ¶
func (c *Client) DetachVolume(ctx context.Context, id int, params *DetachVolumeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FactoryResetVM ¶
func (c *Client) FactoryResetVM(ctx context.Context, id VMIDPath, params *FactoryResetVMParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAPIKey ¶
func (c *Client) GetAPIKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppDeployment ¶ added in v0.4.0
func (c *Client) GetAppDeployment(ctx context.Context, deploymentID AppDeploymentIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppDeploymentLogs ¶ added in v0.4.0
func (c *Client) GetAppDeploymentLogs(ctx context.Context, deploymentID AppDeploymentIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppService ¶ added in v0.4.0
func (c *Client) GetAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppServiceMetrics ¶ added in v0.4.0
func (c *Client) GetAppServiceMetrics(ctx context.Context, serviceID AppServiceRef, params *GetAppServiceMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAppSpendSettings ¶ added in v0.4.0
func (*Client) GetAppsPricing ¶ added in v0.4.0
func (*Client) GetAppsUsage ¶ added in v0.4.0
func (c *Client) GetAppsUsage(ctx context.Context, params *GetAppsUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBackup ¶
func (c *Client) GetBackup(ctx context.Context, id openapi_types.UUID, params *GetBackupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBackupSchedule ¶
func (c *Client) GetBackupSchedule(ctx context.Context, id int, params *GetBackupScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDatabase ¶ added in v0.4.0
func (c *Client) GetDatabase(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDatabaseConnection ¶ added in v0.4.0
func (c *Client) GetDatabaseConnection(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseConnectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDatabaseLogs ¶ added in v0.4.0
func (c *Client) GetDatabaseLogs(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDatabaseMetrics ¶ added in v0.4.0
func (c *Client) GetDatabaseMetrics(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDatabaseMetricsHistory ¶ added in v0.4.0
func (c *Client) GetDatabaseMetricsHistory(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseMetricsHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDatabaseSlowQueries ¶ added in v0.4.0
func (c *Client) GetDatabaseSlowQueries(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseSlowQueriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFunction ¶ added in v0.4.0
func (c *Client) GetFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFunctionDeployment ¶ added in v0.4.0
func (c *Client) GetFunctionDeployment(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFunctionDeploymentLogs ¶ added in v0.4.0
func (c *Client) GetFunctionDeploymentLogs(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFunctionMetrics ¶ added in v0.4.0
func (c *Client) GetFunctionMetrics(ctx context.Context, functionID FunctionRef, params *GetFunctionMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFunctionSource ¶ added in v0.4.0
func (c *Client) GetFunctionSource(ctx context.Context, functionID FunctionRef, params *GetFunctionSourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFunctionsPricing ¶ added in v0.4.0
func (*Client) GetFunctionsSpendSettings ¶ added in v0.4.0
func (*Client) GetFunctionsUsage ¶ added in v0.4.0
func (c *Client) GetFunctionsUsage(ctx context.Context, params *GetFunctionsUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetK8SCluster ¶ added in v0.4.0
func (c *Client) GetK8SCluster(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetK8SClusterFirewall ¶ added in v0.4.0
func (c *Client) GetK8SClusterFirewall(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterFirewallParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetK8SClusterMetrics ¶ added in v0.4.0
func (c *Client) GetK8SClusterMetrics(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetK8SClusterStats ¶ added in v0.4.0
func (c *Client) GetK8SClusterStats(ctx context.Context, params *GetK8SClusterStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetK8SKubeconfig ¶ added in v0.4.0
func (c *Client) GetK8SKubeconfig(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SKubeconfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetK8SMetalLBPool ¶ added in v0.4.0
func (c *Client) GetK8SMetalLBPool(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SMetalLBPoolParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMember ¶
func (c *Client) GetMember(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProject ¶
func (c *Client) GetProject(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProjectMember ¶
func (c *Client) GetProjectMember(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRole ¶
func (c *Client) GetRole(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSSHKey ¶
func (c *Client) GetSSHKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSecurityGroup ¶
func (c *Client) GetSecurityGroup(ctx context.Context, id SecurityGroupResourceIDPath, params *GetSecurityGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSnapshot ¶
func (c *Client) GetSnapshot(ctx context.Context, id int, params *GetSnapshotParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetVMNotes ¶
func (c *Client) GetVMNotes(ctx context.Context, id VMIDPath, params *GetVMNotesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetVPC ¶
func (c *Client) GetVPC(ctx context.Context, id VPCIDPath, params *GetVPCParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetVolume ¶
func (c *Client) GetVolume(ctx context.Context, id int, params *GetVolumeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HardRebootVM ¶
func (c *Client) HardRebootVM(ctx context.Context, id VMIDPath, params *HardRebootVMParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HealthCheck ¶
func (*Client) ListAPIKeys ¶
func (c *Client) ListAPIKeys(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAppCustomDomains ¶ added in v0.4.0
func (c *Client) ListAppCustomDomains(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAppDeployments ¶ added in v0.4.0
func (c *Client) ListAppDeployments(ctx context.Context, serviceID AppServiceRef, params *ListAppDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAppEnvVars ¶ added in v0.4.0
func (c *Client) ListAppEnvVars(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAppJobRuns ¶ added in v0.4.0
func (c *Client) ListAppJobRuns(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAppLogs ¶ added in v0.4.0
func (c *Client) ListAppLogs(ctx context.Context, serviceID AppServiceRef, params *ListAppLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAppServices ¶ added in v0.4.0
func (c *Client) ListAppServices(ctx context.Context, params *ListAppServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAppTiers ¶ added in v0.4.0
func (c *Client) ListAppTiers(ctx context.Context, params *ListAppTiersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListBackupPricing ¶
func (c *Client) ListBackupPricing(ctx context.Context, params *ListBackupPricingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListBackupSchedules ¶
func (c *Client) ListBackupSchedules(ctx context.Context, params *ListBackupSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListBackups ¶
func (c *Client) ListBackups(ctx context.Context, params *ListBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDatabaseBackups ¶ added in v0.4.0
func (c *Client) ListDatabaseBackups(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDatabaseEngines ¶ added in v0.4.0
func (*Client) ListDatabaseExtensions ¶ added in v0.4.0
func (c *Client) ListDatabaseExtensions(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDatabasePlans ¶ added in v0.4.0
func (c *Client) ListDatabasePlans(ctx context.Context, params *ListDatabasePlansParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDatabasePricing ¶ added in v0.4.0
func (c *Client) ListDatabasePricing(ctx context.Context, params *ListDatabasePricingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDatabases ¶ added in v0.4.0
func (*Client) ListFunctionBindings ¶ added in v0.4.0
func (c *Client) ListFunctionBindings(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFunctionDeployments ¶ added in v0.4.0
func (c *Client) ListFunctionDeployments(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFunctionEnvVars ¶ added in v0.4.0
func (c *Client) ListFunctionEnvVars(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFunctionInvocations ¶ added in v0.4.0
func (c *Client) ListFunctionInvocations(ctx context.Context, functionID FunctionRef, params *ListFunctionInvocationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFunctionLogs ¶ added in v0.4.0
func (c *Client) ListFunctionLogs(ctx context.Context, functionID FunctionRef, params *ListFunctionLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFunctionRevisions ¶ added in v0.4.0
func (c *Client) ListFunctionRevisions(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFunctionRuntimes ¶ added in v0.4.0
func (*Client) ListFunctionTriggerRuns ¶ added in v0.4.0
func (c *Client) ListFunctionTriggerRuns(ctx context.Context, functionID FunctionRef, params *ListFunctionTriggerRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFunctionTriggers ¶ added in v0.4.0
func (c *Client) ListFunctionTriggers(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFunctions ¶ added in v0.4.0
func (c *Client) ListFunctions(ctx context.Context, params *ListFunctionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIPPricing ¶
func (*Client) ListIPs ¶
func (c *Client) ListIPs(ctx context.Context, params *ListIPsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListK8SClusterEvents ¶ added in v0.4.0
func (c *Client) ListK8SClusterEvents(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListK8SClusterNodes ¶ added in v0.4.0
func (c *Client) ListK8SClusterNodes(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListK8SClusterUpgrades ¶ added in v0.4.0
func (c *Client) ListK8SClusterUpgrades(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterUpgradesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListK8SClusters ¶ added in v0.4.0
func (c *Client) ListK8SClusters(ctx context.Context, params *ListK8SClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListK8SNodePlans ¶ added in v0.4.0
func (*Client) ListK8SNodePools ¶ added in v0.4.0
func (c *Client) ListK8SNodePools(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SNodePoolsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListK8STcpPorts ¶ added in v0.4.0
func (c *Client) ListK8STcpPorts(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8STcpPortsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListK8SVersions ¶ added in v0.4.0
func (*Client) ListKubernetesPricing ¶ added in v0.4.0
func (*Client) ListMembers ¶
func (c *Client) ListMembers(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPermissions ¶
func (c *Client) ListPermissions(ctx context.Context, params *ListPermissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjectMembers ¶
func (c *Client) ListProjectMembers(ctx context.Context, id ProjectIDPath, params *ListProjectMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProjects ¶
func (c *Client) ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListRegions ¶
func (*Client) ListRoles ¶
func (c *Client) ListRoles(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSSHKeys ¶
func (*Client) ListSecurityGroupTemplates ¶
func (*Client) ListSecurityGroups ¶
func (c *Client) ListSecurityGroups(ctx context.Context, params *ListSecurityGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSnapshotPricing ¶
func (c *Client) ListSnapshotPricing(ctx context.Context, params *ListSnapshotPricingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSnapshots ¶
func (c *Client) ListSnapshots(ctx context.Context, params *ListSnapshotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListTemplates ¶
func (c *Client) ListTemplates(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListVMNetworks ¶
func (c *Client) ListVMNetworks(ctx context.Context, id VMIDPath, params *ListVMNetworksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListVMPricing ¶
func (c *Client) ListVMPricing(ctx context.Context, params *ListVMPricingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListVMs ¶
func (c *Client) ListVMs(ctx context.Context, params *ListVMsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListVPCCIDRSuggestions ¶
func (c *Client) ListVPCCIDRSuggestions(ctx context.Context, params *ListVPCCIDRSuggestionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListVPCs ¶
func (c *Client) ListVPCs(ctx context.Context, params *ListVPCsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListVolumePricing ¶
func (c *Client) ListVolumePricing(ctx context.Context, params *ListVolumePricingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListVolumes ¶
func (c *Client) ListVolumes(ctx context.Context, params *ListVolumesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PauseAppService ¶ added in v0.4.0
func (c *Client) PauseAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PauseFunction ¶ added in v0.4.0
func (c *Client) PauseFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RebootVM ¶
func (c *Client) RebootVM(ctx context.Context, id VMIDPath, params *RebootVMParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RegenerateAPIKey ¶
func (c *Client) RegenerateAPIKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReinstallVM ¶
func (c *Client) ReinstallVM(ctx context.Context, id VMIDPath, params *ReinstallVMParams, body ReinstallVMJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReinstallVMWithBody ¶
func (*Client) ReleaseIP ¶
func (c *Client) ReleaseIP(ctx context.Context, id IPIDPath, params *ReleaseIPParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveMember ¶
func (c *Client) RemoveMember(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveProjectMember ¶
func (c *Client) RemoveProjectMember(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveVMTag ¶
func (c *Client) RemoveVMTag(ctx context.Context, id VMIDPath, tagID TagIDPath, params *RemoveVMTagParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RenameK8SCluster ¶ added in v0.4.0
func (c *Client) RenameK8SCluster(ctx context.Context, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, body RenameK8SClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RenameK8SClusterWithBody ¶ added in v0.4.0
func (c *Client) RenameK8SClusterWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RenameSnapshot ¶
func (c *Client) RenameSnapshot(ctx context.Context, id int, params *RenameSnapshotParams, body RenameSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RenameSnapshotWithBody ¶
func (*Client) RenameVM ¶
func (c *Client) RenameVM(ctx context.Context, id VMIDPath, params *RenameVMParams, body RenameVMJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RenameVMWithBody ¶
func (*Client) RequestAppSourceUpload ¶ added in v0.4.0
func (c *Client) RequestAppSourceUpload(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RequestFunctionSourceUpload ¶ added in v0.4.0
func (c *Client) RequestFunctionSourceUpload(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReserveIP ¶
func (c *Client) ReserveIP(ctx context.Context, params *ReserveIPParams, body ReserveIPJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReserveIPWithBody ¶
func (*Client) ResetBackupChain ¶ added in v0.3.4
func (c *Client) ResetBackupChain(ctx context.Context, id openapi_types.UUID, params *ResetBackupChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetK8SClusterFirewall ¶ added in v0.4.0
func (c *Client) ResetK8SClusterFirewall(ctx context.Context, clusterID K8SClusterIDPath, params *ResetK8SClusterFirewallParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetVMPassword ¶
func (c *Client) ResetVMPassword(ctx context.Context, id VMIDPath, params *ResetVMPasswordParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResizeVM ¶
func (c *Client) ResizeVM(ctx context.Context, id VMIDPath, params *ResizeVMParams, body ResizeVMJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResizeVMDisk ¶
func (c *Client) ResizeVMDisk(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, body ResizeVMDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResizeVMDiskWithBody ¶
func (*Client) ResizeVMWithBody ¶
func (*Client) ResizeVolume ¶
func (c *Client) ResizeVolume(ctx context.Context, id int, params *ResizeVolumeParams, body ResizeVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResizeVolumeWithBody ¶
func (*Client) RestoreBackup ¶
func (c *Client) RestoreBackup(ctx context.Context, id openapi_types.UUID, params *RestoreBackupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RestoreDatabase ¶ added in v0.4.0
func (c *Client) RestoreDatabase(ctx context.Context, databaseID DatabaseIDPath, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RestoreDatabaseWithBody ¶ added in v0.4.0
func (*Client) RestoreSnapshot ¶
func (c *Client) RestoreSnapshot(ctx context.Context, id int, params *RestoreSnapshotParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResumeAppService ¶ added in v0.4.0
func (c *Client) ResumeAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResumeDatabase ¶ added in v0.4.0
func (*Client) ResumeFunction ¶ added in v0.4.0
func (c *Client) ResumeFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RetryAppDomainVerification ¶ added in v0.4.0
func (c *Client) RetryAppDomainVerification(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RevealAppEnvVars ¶ added in v0.4.0
func (c *Client) RevealAppEnvVars(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RevealFunctionEnvVars ¶ added in v0.4.0
func (c *Client) RevealFunctionEnvVars(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RevokeAPIKey ¶
func (c *Client) RevokeAPIKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RollbackAppService ¶ added in v0.4.0
func (c *Client) RollbackAppService(ctx context.Context, serviceID AppServiceRef, body RollbackAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RollbackAppServiceWithBody ¶ added in v0.4.0
func (*Client) RollbackFunction ¶ added in v0.4.0
func (c *Client) RollbackFunction(ctx context.Context, functionID FunctionRef, body RollbackFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RollbackFunctionWithBody ¶ added in v0.4.0
func (*Client) RotateDatabaseCredentials ¶ added in v0.4.0
func (c *Client) RotateDatabaseCredentials(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RotateFunctionBinding ¶ added in v0.4.0
func (c *Client) RotateFunctionBinding(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RotateK8SKubeconfigAccess ¶ added in v0.5.0
func (c *Client) RotateK8SKubeconfigAccess(ctx context.Context, clusterID K8SClusterIDPath, params *RotateK8SKubeconfigAccessParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RunAppJob ¶ added in v0.4.0
func (c *Client) RunAppJob(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SaveVMDiskAsImage ¶
func (c *Client) SaveVMDiskAsImage(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, body SaveVMDiskAsImageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SaveVMDiskAsImageWithBody ¶
func (*Client) ScaleAppService ¶ added in v0.4.0
func (c *Client) ScaleAppService(ctx context.Context, serviceID AppServiceRef, body ScaleAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ScaleAppServiceWithBody ¶ added in v0.4.0
func (*Client) ScaleDatabase ¶ added in v0.4.0
func (c *Client) ScaleDatabase(ctx context.Context, databaseID DatabaseIDPath, body ScaleDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ScaleDatabaseWithBody ¶ added in v0.4.0
func (*Client) ScaleK8SNodePool ¶ added in v0.4.0
func (c *Client) ScaleK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *ScaleK8SNodePoolParams, body ScaleK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ScaleK8SNodePoolWithBody ¶ added in v0.4.0
func (c *Client) ScaleK8SNodePoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *ScaleK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetAppEnvVar ¶ added in v0.4.0
func (c *Client) SetAppEnvVar(ctx context.Context, serviceID AppServiceRef, body SetAppEnvVarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetAppEnvVarWithBody ¶ added in v0.4.0
func (*Client) SetDatabaseExtension ¶ added in v0.4.0
func (c *Client) SetDatabaseExtension(ctx context.Context, databaseID DatabaseIDPath, body SetDatabaseExtensionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetDatabaseExtensionWithBody ¶ added in v0.4.0
func (*Client) SetDatabasePublicAccess ¶ added in v0.4.0
func (c *Client) SetDatabasePublicAccess(ctx context.Context, databaseID DatabaseIDPath, body SetDatabasePublicAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetDatabasePublicAccessWithBody ¶ added in v0.4.0
func (*Client) SetFunctionEnvVar ¶ added in v0.4.0
func (c *Client) SetFunctionEnvVar(ctx context.Context, functionID FunctionRef, body SetFunctionEnvVarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetFunctionEnvVarWithBody ¶ added in v0.4.0
func (*Client) StartVM ¶
func (c *Client) StartVM(ctx context.Context, id VMIDPath, params *StartVMParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StopVM ¶
func (c *Client) StopVM(ctx context.Context, id VMIDPath, params *StopVMParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAPIKey ¶
func (c *Client) UpdateAPIKey(ctx context.Context, id openapi_types.UUID, body UpdateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAPIKeyWithBody ¶
func (*Client) UpdateAppSpendSettings ¶ added in v0.4.0
func (c *Client) UpdateAppSpendSettings(ctx context.Context, body UpdateAppSpendSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAppSpendSettingsWithBody ¶ added in v0.4.0
func (*Client) UpdateBackupSchedule ¶
func (c *Client) UpdateBackupSchedule(ctx context.Context, id int, params *UpdateBackupScheduleParams, body UpdateBackupScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateBackupScheduleWithBody ¶
func (*Client) UpdateDatabase ¶ added in v0.4.0
func (c *Client) UpdateDatabase(ctx context.Context, databaseID DatabaseIDPath, body UpdateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDatabaseWithBody ¶ added in v0.4.0
func (*Client) UpdateFunction ¶ added in v0.4.0
func (c *Client) UpdateFunction(ctx context.Context, functionID FunctionRef, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateFunctionTrigger ¶ added in v0.4.0
func (c *Client) UpdateFunctionTrigger(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, body UpdateFunctionTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateFunctionTriggerWithBody ¶ added in v0.4.0
func (c *Client) UpdateFunctionTriggerWithBody(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateFunctionWithBody ¶ added in v0.4.0
func (*Client) UpdateFunctionsSpendSettings ¶ added in v0.4.0
func (c *Client) UpdateFunctionsSpendSettings(ctx context.Context, body UpdateFunctionsSpendSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateFunctionsSpendSettingsWithBody ¶ added in v0.4.0
func (*Client) UpdateK8SClusterMaintenance ¶ added in v0.4.0
func (c *Client) UpdateK8SClusterMaintenance(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SClusterMaintenanceParams, body UpdateK8SClusterMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateK8SClusterMaintenanceWithBody ¶ added in v0.4.0
func (c *Client) UpdateK8SClusterMaintenanceWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SClusterMaintenanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateK8SMetalLBPool ¶ added in v0.4.0
func (c *Client) UpdateK8SMetalLBPool(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, body UpdateK8SMetalLBPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateK8SMetalLBPoolWithBody ¶ added in v0.4.0
func (c *Client) UpdateK8SMetalLBPoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateK8SNodePool ¶ added in v0.4.0
func (c *Client) UpdateK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *UpdateK8SNodePoolParams, body UpdateK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateK8SNodePoolWithBody ¶ added in v0.4.0
func (c *Client) UpdateK8SNodePoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *UpdateK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateMember ¶
func (c *Client) UpdateMember(ctx context.Context, id openapi_types.UUID, body UpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateMemberWithBody ¶
func (*Client) UpdateProject ¶
func (c *Client) UpdateProject(ctx context.Context, id ProjectIDPath, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateProjectMember ¶
func (c *Client) UpdateProjectMember(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, body UpdateProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateProjectMemberWithBody ¶
func (c *Client) UpdateProjectMemberWithBody(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateProjectWithBody ¶
func (*Client) UpdateRole ¶
func (c *Client) UpdateRole(ctx context.Context, id openapi_types.UUID, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateRoleWithBody ¶
func (*Client) UpdateSSHKey ¶
func (c *Client) UpdateSSHKey(ctx context.Context, id openapi_types.UUID, body UpdateSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSSHKeyWithBody ¶
func (*Client) UpdateSecurityGroup ¶
func (c *Client) UpdateSecurityGroup(ctx context.Context, id SecurityGroupResourceIDPath, params *UpdateSecurityGroupParams, body UpdateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSecurityGroupWithBody ¶
func (c *Client) UpdateSecurityGroupWithBody(ctx context.Context, id SecurityGroupResourceIDPath, params *UpdateSecurityGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateVMNote ¶
func (c *Client) UpdateVMNote(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, params *UpdateVMNoteParams, body UpdateVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateVMNoteWithBody ¶
func (c *Client) UpdateVMNoteWithBody(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, params *UpdateVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateVMTag ¶
func (c *Client) UpdateVMTag(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, body UpdateVMTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateVMTagWithBody ¶
func (*Client) UpdateVPC ¶
func (c *Client) UpdateVPC(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, body UpdateVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateVPCWithBody ¶
func (*Client) UpgradeK8SClusterHA ¶ added in v0.4.0
func (c *Client) UpgradeK8SClusterHA(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterHAParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpgradeK8SClusterVersion ¶ added in v0.4.0
func (c *Client) UpgradeK8SClusterVersion(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterVersionParams, body UpgradeK8SClusterVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpgradeK8SClusterVersionWithBody ¶ added in v0.4.0
func (c *Client) UpgradeK8SClusterVersionWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterVersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpsertVMNote ¶
func (c *Client) UpsertVMNote(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, params *UpsertVMNoteParams, body UpsertVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpsertVMNoteWithBody ¶
func (c *Client) UpsertVMNoteWithBody(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, params *UpsertVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// ListAPIKeys request
ListAPIKeys(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAPIKeyWithBody request with any body
CreateAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAPIKey(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeAPIKey request
RevokeAPIKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAPIKey request
GetAPIKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAPIKeyWithBody request with any body
UpdateAPIKeyWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAPIKey(ctx context.Context, id openapi_types.UUID, body UpdateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegenerateAPIKey request
RegenerateAPIKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppDeployment request
GetAppDeployment(ctx context.Context, deploymentID AppDeploymentIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppDeploymentLogs request
GetAppDeploymentLogs(ctx context.Context, deploymentID AppDeploymentIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAppCustomDomain request
DeleteAppCustomDomain(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetryAppDomainVerification request
RetryAppDomainVerification(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelAppJobRun request
CancelAppJobRun(ctx context.Context, runID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAppServices request
ListAppServices(ctx context.Context, params *ListAppServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAppServiceWithBody request with any body
CreateAppServiceWithBody(ctx context.Context, params *CreateAppServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAppService(ctx context.Context, params *CreateAppServiceParams, body CreateAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAppService request
DeleteAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppService request
GetAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAppDeployments request
ListAppDeployments(ctx context.Context, serviceID AppServiceRef, params *ListAppDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAppDeploymentWithBody request with any body
CreateAppDeploymentWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAppDeployment(ctx context.Context, serviceID AppServiceRef, body CreateAppDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAppCustomDomains request
ListAppCustomDomains(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddAppCustomDomainWithBody request with any body
AddAppCustomDomainWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddAppCustomDomain(ctx context.Context, serviceID AppServiceRef, body AddAppCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAppEnvVars request
ListAppEnvVars(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAppEnvVarWithBody request with any body
SetAppEnvVarWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAppEnvVar(ctx context.Context, serviceID AppServiceRef, body SetAppEnvVarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkSetAppEnvVarsWithBody request with any body
BulkSetAppEnvVarsWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkSetAppEnvVars(ctx context.Context, serviceID AppServiceRef, body BulkSetAppEnvVarsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevealAppEnvVars request
RevealAppEnvVars(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAppEnvVar request
DeleteAppEnvVar(ctx context.Context, serviceID AppServiceRef, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RunAppJob request
RunAppJob(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAppJobRuns request
ListAppJobRuns(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAppLogs request
ListAppLogs(ctx context.Context, serviceID AppServiceRef, params *ListAppLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppServiceMetrics request
GetAppServiceMetrics(ctx context.Context, serviceID AppServiceRef, params *GetAppServiceMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PauseAppService request
PauseAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResumeAppService request
ResumeAppService(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// RollbackAppServiceWithBody request with any body
RollbackAppServiceWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RollbackAppService(ctx context.Context, serviceID AppServiceRef, body RollbackAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScaleAppServiceWithBody request with any body
ScaleAppServiceWithBody(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ScaleAppService(ctx context.Context, serviceID AppServiceRef, body ScaleAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestAppSourceUpload request
RequestAppSourceUpload(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppSpendSettings request
GetAppSpendSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAppSpendSettingsWithBody request with any body
UpdateAppSpendSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAppSpendSettings(ctx context.Context, body UpdateAppSpendSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAppTiers request
ListAppTiers(ctx context.Context, params *ListAppTiersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppsUsage request
GetAppsUsage(ctx context.Context, params *GetAppsUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBackupSchedules request
ListBackupSchedules(ctx context.Context, params *ListBackupSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBackupScheduleWithBody request with any body
CreateBackupScheduleWithBody(ctx context.Context, params *CreateBackupScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBackupSchedule(ctx context.Context, params *CreateBackupScheduleParams, body CreateBackupScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBackupSchedule request
DeleteBackupSchedule(ctx context.Context, id int, params *DeleteBackupScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackupSchedule request
GetBackupSchedule(ctx context.Context, id int, params *GetBackupScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBackupScheduleWithBody request with any body
UpdateBackupScheduleWithBody(ctx context.Context, id int, params *UpdateBackupScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBackupSchedule(ctx context.Context, id int, params *UpdateBackupScheduleParams, body UpdateBackupScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBackups request
ListBackups(ctx context.Context, params *ListBackupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBackupWithBody request with any body
CreateBackupWithBody(ctx context.Context, params *CreateBackupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBackup(ctx context.Context, params *CreateBackupParams, body CreateBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBackup request
DeleteBackup(ctx context.Context, id openapi_types.UUID, params *DeleteBackupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBackup request
GetBackup(ctx context.Context, id openapi_types.UUID, params *GetBackupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBackupChain request
DeleteBackupChain(ctx context.Context, id openapi_types.UUID, params *DeleteBackupChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreBackup request
RestoreBackup(ctx context.Context, id openapi_types.UUID, params *RestoreBackupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabases request
ListDatabases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatabaseWithBody request with any body
CreateDatabaseWithBody(ctx context.Context, params *CreateDatabaseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDatabase(ctx context.Context, params *CreateDatabaseParams, body CreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabaseEngines request
ListDatabaseEngines(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabasePlans request
ListDatabasePlans(ctx context.Context, params *ListDatabasePlansParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDatabase request
DeleteDatabase(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabase request
GetDatabase(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatabaseWithBody request with any body
UpdateDatabaseWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDatabase(ctx context.Context, databaseID DatabaseIDPath, body UpdateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabaseBackups request
ListDatabaseBackups(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatabaseBackup request
CreateDatabaseBackup(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseConnection request
GetDatabaseConnection(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseConnectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateDatabaseCredentials request
RotateDatabaseCredentials(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabaseExtensions request
ListDatabaseExtensions(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetDatabaseExtensionWithBody request with any body
SetDatabaseExtensionWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetDatabaseExtension(ctx context.Context, databaseID DatabaseIDPath, body SetDatabaseExtensionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseLogs request
GetDatabaseLogs(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseMetrics request
GetDatabaseMetrics(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseMetricsHistory request
GetDatabaseMetricsHistory(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseMetricsHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetDatabasePublicAccessWithBody request with any body
SetDatabasePublicAccessWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetDatabasePublicAccess(ctx context.Context, databaseID DatabaseIDPath, body SetDatabasePublicAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreDatabaseWithBody request with any body
RestoreDatabaseWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RestoreDatabase(ctx context.Context, databaseID DatabaseIDPath, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResumeDatabase request
ResumeDatabase(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScaleDatabaseWithBody request with any body
ScaleDatabaseWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ScaleDatabase(ctx context.Context, databaseID DatabaseIDPath, body ScaleDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDatabaseSlowQueries request
GetDatabaseSlowQueries(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseSlowQueriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectDatabaseVPCWithBody request with any body
ConnectDatabaseVPCWithBody(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectDatabaseVPC(ctx context.Context, databaseID DatabaseIDPath, body ConnectDatabaseVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctions request
ListFunctions(ctx context.Context, params *ListFunctionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFunctionWithBody request with any body
CreateFunctionWithBody(ctx context.Context, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFunction(ctx context.Context, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConvertLambdaWithBody request with any body
ConvertLambdaWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConvertLambda(ctx context.Context, body ConvertLambdaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunctionsSpendSettings request
GetFunctionsSpendSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFunctionsSpendSettingsWithBody request with any body
UpdateFunctionsSpendSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFunctionsSpendSettings(ctx context.Context, body UpdateFunctionsSpendSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunctionsUsage request
GetFunctionsUsage(ctx context.Context, params *GetFunctionsUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFunction request
DeleteFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunction request
GetFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFunctionWithBody request with any body
UpdateFunctionWithBody(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFunction(ctx context.Context, functionID FunctionRef, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctionBindings request
ListFunctionBindings(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFunctionBindingWithBody request with any body
CreateFunctionBindingWithBody(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFunctionBinding(ctx context.Context, functionID FunctionRef, body CreateFunctionBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFunctionBinding request
DeleteFunctionBinding(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateFunctionBinding request
RotateFunctionBinding(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctionDeployments request
ListFunctionDeployments(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFunctionDeploymentWithBody request with any body
CreateFunctionDeploymentWithBody(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFunctionDeployment(ctx context.Context, functionID FunctionRef, body CreateFunctionDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunctionDeployment request
GetFunctionDeployment(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunctionDeploymentLogs request
GetFunctionDeploymentLogs(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctionEnvVars request
ListFunctionEnvVars(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetFunctionEnvVarWithBody request with any body
SetFunctionEnvVarWithBody(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetFunctionEnvVar(ctx context.Context, functionID FunctionRef, body SetFunctionEnvVarJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevealFunctionEnvVars request
RevealFunctionEnvVars(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFunctionEnvVar request
DeleteFunctionEnvVar(ctx context.Context, functionID FunctionRef, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctionInvocations request
ListFunctionInvocations(ctx context.Context, functionID FunctionRef, params *ListFunctionInvocationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctionLogs request
ListFunctionLogs(ctx context.Context, functionID FunctionRef, params *ListFunctionLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunctionMetrics request
GetFunctionMetrics(ctx context.Context, functionID FunctionRef, params *GetFunctionMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PauseFunction request
PauseFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResumeFunction request
ResumeFunction(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctionRevisions request
ListFunctionRevisions(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// RollbackFunctionWithBody request with any body
RollbackFunctionWithBody(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RollbackFunction(ctx context.Context, functionID FunctionRef, body RollbackFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunctionSource request
GetFunctionSource(ctx context.Context, functionID FunctionRef, params *GetFunctionSourceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestFunctionSourceUpload request
RequestFunctionSourceUpload(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctionTriggerRuns request
ListFunctionTriggerRuns(ctx context.Context, functionID FunctionRef, params *ListFunctionTriggerRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctionTriggers request
ListFunctionTriggers(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFunctionTriggerWithBody request with any body
CreateFunctionTriggerWithBody(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFunctionTrigger(ctx context.Context, functionID FunctionRef, body CreateFunctionTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFunctionTrigger request
DeleteFunctionTrigger(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFunctionTriggerWithBody request with any body
UpdateFunctionTriggerWithBody(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFunctionTrigger(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, body UpdateFunctionTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAccountInvitationWithBody request with any body
CreateAccountInvitationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAccountInvitation(ctx context.Context, body CreateAccountInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelInvitation request
CancelInvitation(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIPs request
ListIPs(ctx context.Context, params *ListIPsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReserveIPWithBody request with any body
ReserveIPWithBody(ctx context.Context, params *ReserveIPParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReserveIP(ctx context.Context, params *ReserveIPParams, body ReserveIPJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIP request
GetIP(ctx context.Context, id IPIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangeIP request
ChangeIP(ctx context.Context, id IPIDPath, params *ChangeIPParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReleaseIP request
ReleaseIP(ctx context.Context, id IPIDPath, params *ReleaseIPParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListK8SClusters request
ListK8SClusters(ctx context.Context, params *ListK8SClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateK8SClusterWithBody request with any body
CreateK8SClusterWithBody(ctx context.Context, params *CreateK8SClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateK8SCluster(ctx context.Context, params *CreateK8SClusterParams, body CreateK8SClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetK8SClusterStats request
GetK8SClusterStats(ctx context.Context, params *GetK8SClusterStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteK8SCluster request
DeleteK8SCluster(ctx context.Context, clusterID K8SClusterIDPath, params *DeleteK8SClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetK8SCluster request
GetK8SCluster(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameK8SClusterWithBody request with any body
RenameK8SClusterWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameK8SCluster(ctx context.Context, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, body RenameK8SClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListK8SClusterEvents request
ListK8SClusterEvents(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetK8SClusterFirewall request
ResetK8SClusterFirewall(ctx context.Context, clusterID K8SClusterIDPath, params *ResetK8SClusterFirewallParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetK8SClusterFirewall request
GetK8SClusterFirewall(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterFirewallParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AssignK8SClusterFirewallWithBody request with any body
AssignK8SClusterFirewallWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *AssignK8SClusterFirewallParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AssignK8SClusterFirewall(ctx context.Context, clusterID K8SClusterIDPath, params *AssignK8SClusterFirewallParams, body AssignK8SClusterFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpgradeK8SClusterHA request
UpgradeK8SClusterHA(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterHAParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetK8SKubeconfig request
GetK8SKubeconfig(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SKubeconfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateK8SKubeconfigAccess request
RotateK8SKubeconfigAccess(ctx context.Context, clusterID K8SClusterIDPath, params *RotateK8SKubeconfigAccessParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateK8SClusterMaintenanceWithBody request with any body
UpdateK8SClusterMaintenanceWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SClusterMaintenanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateK8SClusterMaintenance(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SClusterMaintenanceParams, body UpdateK8SClusterMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetK8SMetalLBPool request
GetK8SMetalLBPool(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SMetalLBPoolParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateK8SMetalLBPoolWithBody request with any body
UpdateK8SMetalLBPoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateK8SMetalLBPool(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, body UpdateK8SMetalLBPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetK8SClusterMetrics request
GetK8SClusterMetrics(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListK8SClusterNodes request
ListK8SClusterNodes(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListK8SNodePools request
ListK8SNodePools(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SNodePoolsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddK8SNodePoolWithBody request with any body
AddK8SNodePoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, body AddK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteK8SNodePool request
DeleteK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *DeleteK8SNodePoolParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateK8SNodePoolWithBody request with any body
UpdateK8SNodePoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *UpdateK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *UpdateK8SNodePoolParams, body UpdateK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScaleK8SNodePoolWithBody request with any body
ScaleK8SNodePoolWithBody(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *ScaleK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ScaleK8SNodePool(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *ScaleK8SNodePoolParams, body ScaleK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListK8STcpPorts request
ListK8STcpPorts(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8STcpPortsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteK8STcpPort request
DeleteK8STcpPort(ctx context.Context, clusterID K8SClusterIDPath, port int, params *DeleteK8STcpPortParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpgradeK8SClusterVersionWithBody request with any body
UpgradeK8SClusterVersionWithBody(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterVersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpgradeK8SClusterVersion(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterVersionParams, body UpgradeK8SClusterVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListK8SClusterUpgrades request
ListK8SClusterUpgrades(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterUpgradesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListK8SNodePlans request
ListK8SNodePlans(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListK8SVersions request
ListK8SVersions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMembers request
ListMembers(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddMemberWithBody request with any body
AddMemberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddMember(ctx context.Context, body AddMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveMember request
RemoveMember(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMember request
GetMember(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMemberWithBody request with any body
UpdateMemberWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMember(ctx context.Context, id openapi_types.UUID, body UpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPermissions request
ListPermissions(ctx context.Context, params *ListPermissionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjects request
ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectWithBody request with any body
CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProject request
DeleteProject(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProject request
GetProject(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProjectWithBody request with any body
UpdateProjectWithBody(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProject(ctx context.Context, id ProjectIDPath, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProjectInvitationWithBody request with any body
CreateProjectInvitationWithBody(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProjectInvitation(ctx context.Context, id ProjectIDPath, body CreateProjectInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjectMembers request
ListProjectMembers(ctx context.Context, id ProjectIDPath, params *ListProjectMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddProjectMemberWithBody request with any body
AddProjectMemberWithBody(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddProjectMember(ctx context.Context, id ProjectIDPath, body AddProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveProjectMember request
RemoveProjectMember(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjectMember request
GetProjectMember(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProjectMemberWithBody request with any body
UpdateProjectMemberWithBody(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProjectMember(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, body UpdateProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFunctionRuntimes request
ListFunctionRuntimes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAppsPricing request
GetAppsPricing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBackupPricing request
ListBackupPricing(ctx context.Context, params *ListBackupPricingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatabasePricing request
ListDatabasePricing(ctx context.Context, params *ListDatabasePricingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFunctionsPricing request
GetFunctionsPricing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIPPricing request
ListIPPricing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListKubernetesPricing request
ListKubernetesPricing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSnapshotPricing request
ListSnapshotPricing(ctx context.Context, params *ListSnapshotPricingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVMPricing request
ListVMPricing(ctx context.Context, params *ListVMPricingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVolumePricing request
ListVolumePricing(ctx context.Context, params *ListVolumePricingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRegions request
ListRegions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTemplates request
ListTemplates(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRoles request
ListRoles(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRoleWithBody request with any body
CreateRoleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRole(ctx context.Context, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRole request
DeleteRole(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRole request
GetRole(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRoleWithBody request with any body
UpdateRoleWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRole(ctx context.Context, id openapi_types.UUID, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSecurityGroups request
ListSecurityGroups(ctx context.Context, params *ListSecurityGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSecurityGroupWithBody request with any body
CreateSecurityGroupWithBody(ctx context.Context, params *CreateSecurityGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSecurityGroup(ctx context.Context, params *CreateSecurityGroupParams, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSecurityGroupTemplates request
ListSecurityGroupTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSecurityGroup request
DeleteSecurityGroup(ctx context.Context, id SecurityGroupResourceIDPath, params *DeleteSecurityGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSecurityGroup request
GetSecurityGroup(ctx context.Context, id SecurityGroupResourceIDPath, params *GetSecurityGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSecurityGroupWithBody request with any body
UpdateSecurityGroupWithBody(ctx context.Context, id SecurityGroupResourceIDPath, params *UpdateSecurityGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSecurityGroup(ctx context.Context, id SecurityGroupResourceIDPath, params *UpdateSecurityGroupParams, body UpdateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSnapshots request
ListSnapshots(ctx context.Context, params *ListSnapshotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSnapshotWithBody request with any body
CreateSnapshotWithBody(ctx context.Context, params *CreateSnapshotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSnapshot(ctx context.Context, params *CreateSnapshotParams, body CreateSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSnapshot request
DeleteSnapshot(ctx context.Context, id int, params *DeleteSnapshotParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSnapshot request
GetSnapshot(ctx context.Context, id int, params *GetSnapshotParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameSnapshotWithBody request with any body
RenameSnapshotWithBody(ctx context.Context, id int, params *RenameSnapshotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameSnapshot(ctx context.Context, id int, params *RenameSnapshotParams, body RenameSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RestoreSnapshot request
RestoreSnapshot(ctx context.Context, id int, params *RestoreSnapshotParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSSHKeys request
ListSSHKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSSHKeyWithBody request with any body
CreateSSHKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSSHKey(ctx context.Context, body CreateSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSSHKey request
DeleteSSHKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSSHKey request
GetSSHKey(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSSHKeyWithBody request with any body
UpdateSSHKeyWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSSHKey(ctx context.Context, id openapi_types.UUID, body UpdateSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVMs request
ListVMs(ctx context.Context, params *ListVMsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVMWithBody request with any body
CreateVMWithBody(ctx context.Context, params *CreateVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVM(ctx context.Context, params *CreateVMParams, body CreateVMJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVMsBulkWithBody request with any body
DeleteVMsBulkWithBody(ctx context.Context, params *DeleteVMsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVMsBulk(ctx context.Context, params *DeleteVMsBulkParams, body DeleteVMsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVMWithBody request with any body
DeleteVMWithBody(ctx context.Context, id VMIDPath, params *DeleteVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteVM(ctx context.Context, id VMIDPath, params *DeleteVMParams, body DeleteVMJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVM request
GetVM(ctx context.Context, id VMIDPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetBackupChain request
ResetBackupChain(ctx context.Context, id openapi_types.UUID, params *ResetBackupChainParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeVMDiskWithBody request with any body
ResizeVMDiskWithBody(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeVMDisk(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, body ResizeVMDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FactoryResetVM request
FactoryResetVM(ctx context.Context, id VMIDPath, params *FactoryResetVMParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachVMIPWithBody request with any body
AttachVMIPWithBody(ctx context.Context, id VMIDPath, params *AttachVMIPParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachVMIP(ctx context.Context, id VMIDPath, params *AttachVMIPParams, body AttachVMIPJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetachVMIP request
DetachVMIP(ctx context.Context, id VMIDPath, nicID NICIDPath, params *DetachVMIPParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVMNetworks request
ListVMNetworks(ctx context.Context, id VMIDPath, params *ListVMNetworksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVMNotes request
GetVMNotes(ctx context.Context, id VMIDPath, params *GetVMNotesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVMNoteWithBody request with any body
UpdateVMNoteWithBody(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, params *UpdateVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVMNote(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, params *UpdateVMNoteParams, body UpdateVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertVMNoteWithBody request with any body
UpsertVMNoteWithBody(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, params *UpsertVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertVMNote(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, params *UpsertVMNoteParams, body UpsertVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppendVMNoteWithBody request with any body
AppendVMNoteWithBody(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, params *AppendVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppendVMNote(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, params *AppendVMNoteParams, body AppendVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebootVM request
RebootVM(ctx context.Context, id VMIDPath, params *RebootVMParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HardRebootVM request
HardRebootVM(ctx context.Context, id VMIDPath, params *HardRebootVMParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReinstallVMWithBody request with any body
ReinstallVMWithBody(ctx context.Context, id VMIDPath, params *ReinstallVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReinstallVM(ctx context.Context, id VMIDPath, params *ReinstallVMParams, body ReinstallVMJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameVMWithBody request with any body
RenameVMWithBody(ctx context.Context, id VMIDPath, params *RenameVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameVM(ctx context.Context, id VMIDPath, params *RenameVMParams, body RenameVMJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetVMPassword request
ResetVMPassword(ctx context.Context, id VMIDPath, params *ResetVMPasswordParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeVMWithBody request with any body
ResizeVMWithBody(ctx context.Context, id VMIDPath, params *ResizeVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeVM(ctx context.Context, id VMIDPath, params *ResizeVMParams, body ResizeVMJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SaveVMDiskAsImageWithBody request with any body
SaveVMDiskAsImageWithBody(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SaveVMDiskAsImage(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, body SaveVMDiskAsImageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachVMSecurityGroupWithBody request with any body
AttachVMSecurityGroupWithBody(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachVMSecurityGroup(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, body AttachVMSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetachVMSecurityGroup request
DetachVMSecurityGroup(ctx context.Context, id VMIDPath, sgid SecurityGroupIDPath, nicID NICIDPath, params *DetachVMSecurityGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartVM request
StartVM(ctx context.Context, id VMIDPath, params *StartVMParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// StopVM request
StopVM(ctx context.Context, id VMIDPath, params *StopVMParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddVMTagWithBody request with any body
AddVMTagWithBody(ctx context.Context, id VMIDPath, params *AddVMTagParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddVMTag(ctx context.Context, id VMIDPath, params *AddVMTagParams, body AddVMTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveVMTag request
RemoveVMTag(ctx context.Context, id VMIDPath, tagID TagIDPath, params *RemoveVMTagParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVMTagWithBody request with any body
UpdateVMTagWithBody(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVMTag(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, body UpdateVMTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachVMToVPCWithBody request with any body
AttachVMToVPCWithBody(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachVMToVPC(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, body AttachVMToVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetachVMFromVPC request
DetachVMFromVPC(ctx context.Context, id VMIDPath, nicID NICIDPath, params *DetachVMFromVPCParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVolumes request
ListVolumes(ctx context.Context, params *ListVolumesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVolumeWithBody request with any body
CreateVolumeWithBody(ctx context.Context, params *CreateVolumeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVolume(ctx context.Context, params *CreateVolumeParams, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVolume request
DeleteVolume(ctx context.Context, id int, params *DeleteVolumeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVolume request
GetVolume(ctx context.Context, id int, params *GetVolumeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResizeVolumeWithBody request with any body
ResizeVolumeWithBody(ctx context.Context, id int, params *ResizeVolumeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResizeVolume(ctx context.Context, id int, params *ResizeVolumeParams, body ResizeVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AttachVolumeWithBody request with any body
AttachVolumeWithBody(ctx context.Context, id int, params *AttachVolumeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AttachVolume(ctx context.Context, id int, params *AttachVolumeParams, body AttachVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DetachVolume request
DetachVolume(ctx context.Context, id int, params *DetachVolumeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVPCs request
ListVPCs(ctx context.Context, params *ListVPCsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateVPCWithBody request with any body
CreateVPCWithBody(ctx context.Context, params *CreateVPCParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateVPC(ctx context.Context, params *CreateVPCParams, body CreateVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListVPCCIDRSuggestions request
ListVPCCIDRSuggestions(ctx context.Context, params *ListVPCCIDRSuggestionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteVPC request
DeleteVPC(ctx context.Context, id VPCIDPath, params *DeleteVPCParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVPC request
GetVPC(ctx context.Context, id VPCIDPath, params *GetVPCParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateVPCWithBody request with any body
UpdateVPCWithBody(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateVPC(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, body UpdateVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// HealthCheck request
HealthCheck(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) AddAppCustomDomainWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AddAppCustomDomainWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAppCustomDomainResponse, error)
AddAppCustomDomainWithBodyWithResponse request with arbitrary body returning *AddAppCustomDomainResponse
func (*ClientWithResponses) AddAppCustomDomainWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AddAppCustomDomainWithResponse(ctx context.Context, serviceID AppServiceRef, body AddAppCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*AddAppCustomDomainResponse, error)
func (*ClientWithResponses) AddK8SNodePoolWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AddK8SNodePoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddK8SNodePoolResponse, error)
AddK8SNodePoolWithBodyWithResponse request with arbitrary body returning *AddK8SNodePoolResponse
func (*ClientWithResponses) AddK8SNodePoolWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AddK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, body AddK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*AddK8SNodePoolResponse, error)
func (*ClientWithResponses) AddMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) AddMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMemberResponse, error)
AddMemberWithBodyWithResponse request with arbitrary body returning *AddMemberResponse
func (*ClientWithResponses) AddMemberWithResponse ¶
func (c *ClientWithResponses) AddMemberWithResponse(ctx context.Context, body AddMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMemberResponse, error)
func (*ClientWithResponses) AddProjectMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) AddProjectMemberWithBodyWithResponse(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddProjectMemberResponse, error)
AddProjectMemberWithBodyWithResponse request with arbitrary body returning *AddProjectMemberResponse
func (*ClientWithResponses) AddProjectMemberWithResponse ¶
func (c *ClientWithResponses) AddProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, body AddProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*AddProjectMemberResponse, error)
func (*ClientWithResponses) AddVMTagWithBodyWithResponse ¶
func (c *ClientWithResponses) AddVMTagWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AddVMTagParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddVMTagResponse, error)
AddVMTagWithBodyWithResponse request with arbitrary body returning *AddVMTagResponse
func (*ClientWithResponses) AddVMTagWithResponse ¶
func (c *ClientWithResponses) AddVMTagWithResponse(ctx context.Context, id VMIDPath, params *AddVMTagParams, body AddVMTagJSONRequestBody, reqEditors ...RequestEditorFn) (*AddVMTagResponse, error)
func (*ClientWithResponses) AppendVMNoteWithBodyWithResponse ¶
func (c *ClientWithResponses) AppendVMNoteWithBodyWithResponse(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, params *AppendVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppendVMNoteResponse, error)
AppendVMNoteWithBodyWithResponse request with arbitrary body returning *AppendVMNoteResponse
func (*ClientWithResponses) AppendVMNoteWithResponse ¶
func (c *ClientWithResponses) AppendVMNoteWithResponse(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, params *AppendVMNoteParams, body AppendVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*AppendVMNoteResponse, error)
func (*ClientWithResponses) AssignK8SClusterFirewallWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AssignK8SClusterFirewallWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *AssignK8SClusterFirewallParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignK8SClusterFirewallResponse, error)
AssignK8SClusterFirewallWithBodyWithResponse request with arbitrary body returning *AssignK8SClusterFirewallResponse
func (*ClientWithResponses) AssignK8SClusterFirewallWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) AssignK8SClusterFirewallWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *AssignK8SClusterFirewallParams, body AssignK8SClusterFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignK8SClusterFirewallResponse, error)
func (*ClientWithResponses) AttachVMIPWithBodyWithResponse ¶
func (c *ClientWithResponses) AttachVMIPWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AttachVMIPParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachVMIPResponse, error)
AttachVMIPWithBodyWithResponse request with arbitrary body returning *AttachVMIPResponse
func (*ClientWithResponses) AttachVMIPWithResponse ¶
func (c *ClientWithResponses) AttachVMIPWithResponse(ctx context.Context, id VMIDPath, params *AttachVMIPParams, body AttachVMIPJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachVMIPResponse, error)
func (*ClientWithResponses) AttachVMSecurityGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) AttachVMSecurityGroupWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachVMSecurityGroupResponse, error)
AttachVMSecurityGroupWithBodyWithResponse request with arbitrary body returning *AttachVMSecurityGroupResponse
func (*ClientWithResponses) AttachVMSecurityGroupWithResponse ¶
func (c *ClientWithResponses) AttachVMSecurityGroupWithResponse(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, body AttachVMSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachVMSecurityGroupResponse, error)
func (*ClientWithResponses) AttachVMToVPCWithBodyWithResponse ¶
func (c *ClientWithResponses) AttachVMToVPCWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachVMToVPCResponse, error)
AttachVMToVPCWithBodyWithResponse request with arbitrary body returning *AttachVMToVPCResponse
func (*ClientWithResponses) AttachVMToVPCWithResponse ¶
func (c *ClientWithResponses) AttachVMToVPCWithResponse(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, body AttachVMToVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachVMToVPCResponse, error)
func (*ClientWithResponses) AttachVolumeWithBodyWithResponse ¶
func (c *ClientWithResponses) AttachVolumeWithBodyWithResponse(ctx context.Context, id int, params *AttachVolumeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachVolumeResponse, error)
AttachVolumeWithBodyWithResponse request with arbitrary body returning *AttachVolumeResponse
func (*ClientWithResponses) AttachVolumeWithResponse ¶
func (c *ClientWithResponses) AttachVolumeWithResponse(ctx context.Context, id int, params *AttachVolumeParams, body AttachVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachVolumeResponse, error)
func (*ClientWithResponses) BulkSetAppEnvVarsWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) BulkSetAppEnvVarsWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkSetAppEnvVarsResponse, error)
BulkSetAppEnvVarsWithBodyWithResponse request with arbitrary body returning *BulkSetAppEnvVarsResponse
func (*ClientWithResponses) BulkSetAppEnvVarsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) BulkSetAppEnvVarsWithResponse(ctx context.Context, serviceID AppServiceRef, body BulkSetAppEnvVarsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkSetAppEnvVarsResponse, error)
func (*ClientWithResponses) CancelAppJobRunWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CancelAppJobRunWithResponse(ctx context.Context, runID openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelAppJobRunResponse, error)
CancelAppJobRunWithResponse request returning *CancelAppJobRunResponse
func (*ClientWithResponses) CancelInvitationWithResponse ¶
func (c *ClientWithResponses) CancelInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelInvitationResponse, error)
CancelInvitationWithResponse request returning *CancelInvitationResponse
func (*ClientWithResponses) ChangeIPWithResponse ¶
func (c *ClientWithResponses) ChangeIPWithResponse(ctx context.Context, id IPIDPath, params *ChangeIPParams, reqEditors ...RequestEditorFn) (*ChangeIPResponse, error)
ChangeIPWithResponse request returning *ChangeIPResponse
func (*ClientWithResponses) ConnectDatabaseVPCWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ConnectDatabaseVPCWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectDatabaseVPCResponse, error)
ConnectDatabaseVPCWithBodyWithResponse request with arbitrary body returning *ConnectDatabaseVPCResponse
func (*ClientWithResponses) ConnectDatabaseVPCWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ConnectDatabaseVPCWithResponse(ctx context.Context, databaseID DatabaseIDPath, body ConnectDatabaseVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectDatabaseVPCResponse, error)
func (*ClientWithResponses) ConvertLambdaWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ConvertLambdaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConvertLambdaResponse, error)
ConvertLambdaWithBodyWithResponse request with arbitrary body returning *ConvertLambdaResponse
func (*ClientWithResponses) ConvertLambdaWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ConvertLambdaWithResponse(ctx context.Context, body ConvertLambdaJSONRequestBody, reqEditors ...RequestEditorFn) (*ConvertLambdaResponse, error)
func (*ClientWithResponses) CreateAPIKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
CreateAPIKeyWithBodyWithResponse request with arbitrary body returning *CreateAPIKeyResponse
func (*ClientWithResponses) CreateAPIKeyWithResponse ¶
func (c *ClientWithResponses) CreateAPIKeyWithResponse(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
func (*ClientWithResponses) CreateAccountInvitationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAccountInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccountInvitationResponse, error)
CreateAccountInvitationWithBodyWithResponse request with arbitrary body returning *CreateAccountInvitationResponse
func (*ClientWithResponses) CreateAccountInvitationWithResponse ¶
func (c *ClientWithResponses) CreateAccountInvitationWithResponse(ctx context.Context, body CreateAccountInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccountInvitationResponse, error)
func (*ClientWithResponses) CreateAppDeploymentWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateAppDeploymentWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAppDeploymentResponse, error)
CreateAppDeploymentWithBodyWithResponse request with arbitrary body returning *CreateAppDeploymentResponse
func (*ClientWithResponses) CreateAppDeploymentWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateAppDeploymentWithResponse(ctx context.Context, serviceID AppServiceRef, body CreateAppDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAppDeploymentResponse, error)
func (*ClientWithResponses) CreateAppServiceWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateAppServiceWithBodyWithResponse(ctx context.Context, params *CreateAppServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAppServiceResponse, error)
CreateAppServiceWithBodyWithResponse request with arbitrary body returning *CreateAppServiceResponse
func (*ClientWithResponses) CreateAppServiceWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateAppServiceWithResponse(ctx context.Context, params *CreateAppServiceParams, body CreateAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAppServiceResponse, error)
func (*ClientWithResponses) CreateBackupScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBackupScheduleWithBodyWithResponse(ctx context.Context, params *CreateBackupScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBackupScheduleResponse, error)
CreateBackupScheduleWithBodyWithResponse request with arbitrary body returning *CreateBackupScheduleResponse
func (*ClientWithResponses) CreateBackupScheduleWithResponse ¶
func (c *ClientWithResponses) CreateBackupScheduleWithResponse(ctx context.Context, params *CreateBackupScheduleParams, body CreateBackupScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBackupScheduleResponse, error)
func (*ClientWithResponses) CreateBackupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBackupWithBodyWithResponse(ctx context.Context, params *CreateBackupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBackupResponse, error)
CreateBackupWithBodyWithResponse request with arbitrary body returning *CreateBackupResponse
func (*ClientWithResponses) CreateBackupWithResponse ¶
func (c *ClientWithResponses) CreateBackupWithResponse(ctx context.Context, params *CreateBackupParams, body CreateBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBackupResponse, error)
func (*ClientWithResponses) CreateDatabaseBackupWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateDatabaseBackupWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*CreateDatabaseBackupResponse, error)
CreateDatabaseBackupWithResponse request returning *CreateDatabaseBackupResponse
func (*ClientWithResponses) CreateDatabaseWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateDatabaseWithBodyWithResponse(ctx context.Context, params *CreateDatabaseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseResponse, error)
CreateDatabaseWithBodyWithResponse request with arbitrary body returning *CreateDatabaseResponse
func (*ClientWithResponses) CreateDatabaseWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateDatabaseWithResponse(ctx context.Context, params *CreateDatabaseParams, body CreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseResponse, error)
func (*ClientWithResponses) CreateFunctionBindingWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateFunctionBindingWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionBindingResponse, error)
CreateFunctionBindingWithBodyWithResponse request with arbitrary body returning *CreateFunctionBindingResponse
func (*ClientWithResponses) CreateFunctionBindingWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateFunctionBindingWithResponse(ctx context.Context, functionID FunctionRef, body CreateFunctionBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionBindingResponse, error)
func (*ClientWithResponses) CreateFunctionDeploymentWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateFunctionDeploymentWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionDeploymentResponse, error)
CreateFunctionDeploymentWithBodyWithResponse request with arbitrary body returning *CreateFunctionDeploymentResponse
func (*ClientWithResponses) CreateFunctionDeploymentWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateFunctionDeploymentWithResponse(ctx context.Context, functionID FunctionRef, body CreateFunctionDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionDeploymentResponse, error)
func (*ClientWithResponses) CreateFunctionTriggerWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateFunctionTriggerWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionTriggerResponse, error)
CreateFunctionTriggerWithBodyWithResponse request with arbitrary body returning *CreateFunctionTriggerResponse
func (*ClientWithResponses) CreateFunctionTriggerWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateFunctionTriggerWithResponse(ctx context.Context, functionID FunctionRef, body CreateFunctionTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionTriggerResponse, error)
func (*ClientWithResponses) CreateFunctionWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateFunctionWithBodyWithResponse(ctx context.Context, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)
CreateFunctionWithBodyWithResponse request with arbitrary body returning *CreateFunctionResponse
func (*ClientWithResponses) CreateFunctionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateFunctionWithResponse(ctx context.Context, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)
func (*ClientWithResponses) CreateK8SClusterWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateK8SClusterWithBodyWithResponse(ctx context.Context, params *CreateK8SClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateK8SClusterResponse, error)
CreateK8SClusterWithBodyWithResponse request with arbitrary body returning *CreateK8SClusterResponse
func (*ClientWithResponses) CreateK8SClusterWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CreateK8SClusterWithResponse(ctx context.Context, params *CreateK8SClusterParams, body CreateK8SClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateK8SClusterResponse, error)
func (*ClientWithResponses) CreateProjectInvitationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectInvitationWithBodyWithResponse(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectInvitationResponse, error)
CreateProjectInvitationWithBodyWithResponse request with arbitrary body returning *CreateProjectInvitationResponse
func (*ClientWithResponses) CreateProjectInvitationWithResponse ¶
func (c *ClientWithResponses) CreateProjectInvitationWithResponse(ctx context.Context, id ProjectIDPath, body CreateProjectInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectInvitationResponse, error)
func (*ClientWithResponses) CreateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithBodyWithResponse request with arbitrary body returning *CreateProjectResponse
func (*ClientWithResponses) CreateProjectWithResponse ¶
func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
func (*ClientWithResponses) CreateRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)
CreateRoleWithBodyWithResponse request with arbitrary body returning *CreateRoleResponse
func (*ClientWithResponses) CreateRoleWithResponse ¶
func (c *ClientWithResponses) CreateRoleWithResponse(ctx context.Context, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)
func (*ClientWithResponses) CreateSSHKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSSHKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSSHKeyResponse, error)
CreateSSHKeyWithBodyWithResponse request with arbitrary body returning *CreateSSHKeyResponse
func (*ClientWithResponses) CreateSSHKeyWithResponse ¶
func (c *ClientWithResponses) CreateSSHKeyWithResponse(ctx context.Context, body CreateSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSSHKeyResponse, error)
func (*ClientWithResponses) CreateSecurityGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSecurityGroupWithBodyWithResponse(ctx context.Context, params *CreateSecurityGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error)
CreateSecurityGroupWithBodyWithResponse request with arbitrary body returning *CreateSecurityGroupResponse
func (*ClientWithResponses) CreateSecurityGroupWithResponse ¶
func (c *ClientWithResponses) CreateSecurityGroupWithResponse(ctx context.Context, params *CreateSecurityGroupParams, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error)
func (*ClientWithResponses) CreateSnapshotWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSnapshotWithBodyWithResponse(ctx context.Context, params *CreateSnapshotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSnapshotResponse, error)
CreateSnapshotWithBodyWithResponse request with arbitrary body returning *CreateSnapshotResponse
func (*ClientWithResponses) CreateSnapshotWithResponse ¶
func (c *ClientWithResponses) CreateSnapshotWithResponse(ctx context.Context, params *CreateSnapshotParams, body CreateSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSnapshotResponse, error)
func (*ClientWithResponses) CreateVMWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVMWithBodyWithResponse(ctx context.Context, params *CreateVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVMResponse, error)
CreateVMWithBodyWithResponse request with arbitrary body returning *CreateVMResponse
func (*ClientWithResponses) CreateVMWithResponse ¶
func (c *ClientWithResponses) CreateVMWithResponse(ctx context.Context, params *CreateVMParams, body CreateVMJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVMResponse, error)
func (*ClientWithResponses) CreateVPCWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVPCWithBodyWithResponse(ctx context.Context, params *CreateVPCParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVPCResponse, error)
CreateVPCWithBodyWithResponse request with arbitrary body returning *CreateVPCResponse
func (*ClientWithResponses) CreateVPCWithResponse ¶
func (c *ClientWithResponses) CreateVPCWithResponse(ctx context.Context, params *CreateVPCParams, body CreateVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVPCResponse, error)
func (*ClientWithResponses) CreateVolumeWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateVolumeWithBodyWithResponse(ctx context.Context, params *CreateVolumeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)
CreateVolumeWithBodyWithResponse request with arbitrary body returning *CreateVolumeResponse
func (*ClientWithResponses) CreateVolumeWithResponse ¶
func (c *ClientWithResponses) CreateVolumeWithResponse(ctx context.Context, params *CreateVolumeParams, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)
func (*ClientWithResponses) DeleteAppCustomDomainWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteAppCustomDomainWithResponse(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*DeleteAppCustomDomainResponse, error)
DeleteAppCustomDomainWithResponse request returning *DeleteAppCustomDomainResponse
func (*ClientWithResponses) DeleteAppEnvVarWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteAppEnvVarWithResponse(ctx context.Context, serviceID AppServiceRef, key string, reqEditors ...RequestEditorFn) (*DeleteAppEnvVarResponse, error)
DeleteAppEnvVarWithResponse request returning *DeleteAppEnvVarResponse
func (*ClientWithResponses) DeleteAppServiceWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*DeleteAppServiceResponse, error)
DeleteAppServiceWithResponse request returning *DeleteAppServiceResponse
func (*ClientWithResponses) DeleteBackupChainWithResponse ¶ added in v0.3.4
func (c *ClientWithResponses) DeleteBackupChainWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteBackupChainParams, reqEditors ...RequestEditorFn) (*DeleteBackupChainResponse, error)
DeleteBackupChainWithResponse request returning *DeleteBackupChainResponse
func (*ClientWithResponses) DeleteBackupScheduleWithResponse ¶
func (c *ClientWithResponses) DeleteBackupScheduleWithResponse(ctx context.Context, id int, params *DeleteBackupScheduleParams, reqEditors ...RequestEditorFn) (*DeleteBackupScheduleResponse, error)
DeleteBackupScheduleWithResponse request returning *DeleteBackupScheduleResponse
func (*ClientWithResponses) DeleteBackupWithResponse ¶
func (c *ClientWithResponses) DeleteBackupWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteBackupParams, reqEditors ...RequestEditorFn) (*DeleteBackupResponse, error)
DeleteBackupWithResponse request returning *DeleteBackupResponse
func (*ClientWithResponses) DeleteDatabaseWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*DeleteDatabaseResponse, error)
DeleteDatabaseWithResponse request returning *DeleteDatabaseResponse
func (*ClientWithResponses) DeleteFunctionBindingWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteFunctionBindingWithResponse(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteFunctionBindingResponse, error)
DeleteFunctionBindingWithResponse request returning *DeleteFunctionBindingResponse
func (*ClientWithResponses) DeleteFunctionEnvVarWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteFunctionEnvVarWithResponse(ctx context.Context, functionID FunctionRef, key string, reqEditors ...RequestEditorFn) (*DeleteFunctionEnvVarResponse, error)
DeleteFunctionEnvVarWithResponse request returning *DeleteFunctionEnvVarResponse
func (*ClientWithResponses) DeleteFunctionTriggerWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteFunctionTriggerWithResponse(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteFunctionTriggerResponse, error)
DeleteFunctionTriggerWithResponse request returning *DeleteFunctionTriggerResponse
func (*ClientWithResponses) DeleteFunctionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)
DeleteFunctionWithResponse request returning *DeleteFunctionResponse
func (*ClientWithResponses) DeleteK8SClusterWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteK8SClusterWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *DeleteK8SClusterParams, reqEditors ...RequestEditorFn) (*DeleteK8SClusterResponse, error)
DeleteK8SClusterWithResponse request returning *DeleteK8SClusterResponse
func (*ClientWithResponses) DeleteK8SNodePoolWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *DeleteK8SNodePoolParams, reqEditors ...RequestEditorFn) (*DeleteK8SNodePoolResponse, error)
DeleteK8SNodePoolWithResponse request returning *DeleteK8SNodePoolResponse
func (*ClientWithResponses) DeleteK8STcpPortWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) DeleteK8STcpPortWithResponse(ctx context.Context, clusterID K8SClusterIDPath, port int, params *DeleteK8STcpPortParams, reqEditors ...RequestEditorFn) (*DeleteK8STcpPortResponse, error)
DeleteK8STcpPortWithResponse request returning *DeleteK8STcpPortResponse
func (*ClientWithResponses) DeleteProjectWithResponse ¶
func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
DeleteProjectWithResponse request returning *DeleteProjectResponse
func (*ClientWithResponses) DeleteRoleWithResponse ¶
func (c *ClientWithResponses) DeleteRoleWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteRoleResponse, error)
DeleteRoleWithResponse request returning *DeleteRoleResponse
func (*ClientWithResponses) DeleteSSHKeyWithResponse ¶
func (c *ClientWithResponses) DeleteSSHKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSSHKeyResponse, error)
DeleteSSHKeyWithResponse request returning *DeleteSSHKeyResponse
func (*ClientWithResponses) DeleteSecurityGroupWithResponse ¶
func (c *ClientWithResponses) DeleteSecurityGroupWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, params *DeleteSecurityGroupParams, reqEditors ...RequestEditorFn) (*DeleteSecurityGroupResponse, error)
DeleteSecurityGroupWithResponse request returning *DeleteSecurityGroupResponse
func (*ClientWithResponses) DeleteSnapshotWithResponse ¶
func (c *ClientWithResponses) DeleteSnapshotWithResponse(ctx context.Context, id int, params *DeleteSnapshotParams, reqEditors ...RequestEditorFn) (*DeleteSnapshotResponse, error)
DeleteSnapshotWithResponse request returning *DeleteSnapshotResponse
func (*ClientWithResponses) DeleteVMWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *DeleteVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVMResponse, error)
DeleteVMWithBodyWithResponse request with arbitrary body returning *DeleteVMResponse
func (*ClientWithResponses) DeleteVMWithResponse ¶
func (c *ClientWithResponses) DeleteVMWithResponse(ctx context.Context, id VMIDPath, params *DeleteVMParams, body DeleteVMJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVMResponse, error)
func (*ClientWithResponses) DeleteVMsBulkWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteVMsBulkWithBodyWithResponse(ctx context.Context, params *DeleteVMsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVMsBulkResponse, error)
DeleteVMsBulkWithBodyWithResponse request with arbitrary body returning *DeleteVMsBulkResponse
func (*ClientWithResponses) DeleteVMsBulkWithResponse ¶
func (c *ClientWithResponses) DeleteVMsBulkWithResponse(ctx context.Context, params *DeleteVMsBulkParams, body DeleteVMsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVMsBulkResponse, error)
func (*ClientWithResponses) DeleteVPCWithResponse ¶
func (c *ClientWithResponses) DeleteVPCWithResponse(ctx context.Context, id VPCIDPath, params *DeleteVPCParams, reqEditors ...RequestEditorFn) (*DeleteVPCResponse, error)
DeleteVPCWithResponse request returning *DeleteVPCResponse
func (*ClientWithResponses) DeleteVolumeWithResponse ¶
func (c *ClientWithResponses) DeleteVolumeWithResponse(ctx context.Context, id int, params *DeleteVolumeParams, reqEditors ...RequestEditorFn) (*DeleteVolumeResponse, error)
DeleteVolumeWithResponse request returning *DeleteVolumeResponse
func (*ClientWithResponses) DetachVMFromVPCWithResponse ¶
func (c *ClientWithResponses) DetachVMFromVPCWithResponse(ctx context.Context, id VMIDPath, nicID NICIDPath, params *DetachVMFromVPCParams, reqEditors ...RequestEditorFn) (*DetachVMFromVPCResponse, error)
DetachVMFromVPCWithResponse request returning *DetachVMFromVPCResponse
func (*ClientWithResponses) DetachVMIPWithResponse ¶
func (c *ClientWithResponses) DetachVMIPWithResponse(ctx context.Context, id VMIDPath, nicID NICIDPath, params *DetachVMIPParams, reqEditors ...RequestEditorFn) (*DetachVMIPResponse, error)
DetachVMIPWithResponse request returning *DetachVMIPResponse
func (*ClientWithResponses) DetachVMSecurityGroupWithResponse ¶
func (c *ClientWithResponses) DetachVMSecurityGroupWithResponse(ctx context.Context, id VMIDPath, sgid SecurityGroupIDPath, nicID NICIDPath, params *DetachVMSecurityGroupParams, reqEditors ...RequestEditorFn) (*DetachVMSecurityGroupResponse, error)
DetachVMSecurityGroupWithResponse request returning *DetachVMSecurityGroupResponse
func (*ClientWithResponses) DetachVolumeWithResponse ¶
func (c *ClientWithResponses) DetachVolumeWithResponse(ctx context.Context, id int, params *DetachVolumeParams, reqEditors ...RequestEditorFn) (*DetachVolumeResponse, error)
DetachVolumeWithResponse request returning *DetachVolumeResponse
func (*ClientWithResponses) FactoryResetVMWithResponse ¶
func (c *ClientWithResponses) FactoryResetVMWithResponse(ctx context.Context, id VMIDPath, params *FactoryResetVMParams, reqEditors ...RequestEditorFn) (*FactoryResetVMResponse, error)
FactoryResetVMWithResponse request returning *FactoryResetVMResponse
func (*ClientWithResponses) GetAPIKeyWithResponse ¶
func (c *ClientWithResponses) GetAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAPIKeyResponse, error)
GetAPIKeyWithResponse request returning *GetAPIKeyResponse
func (*ClientWithResponses) GetAppDeploymentLogsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetAppDeploymentLogsWithResponse(ctx context.Context, deploymentID AppDeploymentIDPath, reqEditors ...RequestEditorFn) (*GetAppDeploymentLogsResponse, error)
GetAppDeploymentLogsWithResponse request returning *GetAppDeploymentLogsResponse
func (*ClientWithResponses) GetAppDeploymentWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetAppDeploymentWithResponse(ctx context.Context, deploymentID AppDeploymentIDPath, reqEditors ...RequestEditorFn) (*GetAppDeploymentResponse, error)
GetAppDeploymentWithResponse request returning *GetAppDeploymentResponse
func (*ClientWithResponses) GetAppServiceMetricsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetAppServiceMetricsWithResponse(ctx context.Context, serviceID AppServiceRef, params *GetAppServiceMetricsParams, reqEditors ...RequestEditorFn) (*GetAppServiceMetricsResponse, error)
GetAppServiceMetricsWithResponse request returning *GetAppServiceMetricsResponse
func (*ClientWithResponses) GetAppServiceWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*GetAppServiceResponse, error)
GetAppServiceWithResponse request returning *GetAppServiceResponse
func (*ClientWithResponses) GetAppSpendSettingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetAppSpendSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAppSpendSettingsResponse, error)
GetAppSpendSettingsWithResponse request returning *GetAppSpendSettingsResponse
func (*ClientWithResponses) GetAppsPricingWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetAppsPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAppsPricingResponse, error)
GetAppsPricingWithResponse request returning *GetAppsPricingResponse
func (*ClientWithResponses) GetAppsUsageWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetAppsUsageWithResponse(ctx context.Context, params *GetAppsUsageParams, reqEditors ...RequestEditorFn) (*GetAppsUsageResponse, error)
GetAppsUsageWithResponse request returning *GetAppsUsageResponse
func (*ClientWithResponses) GetBackupScheduleWithResponse ¶
func (c *ClientWithResponses) GetBackupScheduleWithResponse(ctx context.Context, id int, params *GetBackupScheduleParams, reqEditors ...RequestEditorFn) (*GetBackupScheduleResponse, error)
GetBackupScheduleWithResponse request returning *GetBackupScheduleResponse
func (*ClientWithResponses) GetBackupWithResponse ¶
func (c *ClientWithResponses) GetBackupWithResponse(ctx context.Context, id openapi_types.UUID, params *GetBackupParams, reqEditors ...RequestEditorFn) (*GetBackupResponse, error)
GetBackupWithResponse request returning *GetBackupResponse
func (*ClientWithResponses) GetDatabaseConnectionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetDatabaseConnectionWithResponse(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseConnectionParams, reqEditors ...RequestEditorFn) (*GetDatabaseConnectionResponse, error)
GetDatabaseConnectionWithResponse request returning *GetDatabaseConnectionResponse
func (*ClientWithResponses) GetDatabaseLogsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetDatabaseLogsWithResponse(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseLogsParams, reqEditors ...RequestEditorFn) (*GetDatabaseLogsResponse, error)
GetDatabaseLogsWithResponse request returning *GetDatabaseLogsResponse
func (*ClientWithResponses) GetDatabaseMetricsHistoryWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetDatabaseMetricsHistoryWithResponse(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseMetricsHistoryParams, reqEditors ...RequestEditorFn) (*GetDatabaseMetricsHistoryResponse, error)
GetDatabaseMetricsHistoryWithResponse request returning *GetDatabaseMetricsHistoryResponse
func (*ClientWithResponses) GetDatabaseMetricsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetDatabaseMetricsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*GetDatabaseMetricsResponse, error)
GetDatabaseMetricsWithResponse request returning *GetDatabaseMetricsResponse
func (*ClientWithResponses) GetDatabaseSlowQueriesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetDatabaseSlowQueriesWithResponse(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseSlowQueriesParams, reqEditors ...RequestEditorFn) (*GetDatabaseSlowQueriesResponse, error)
GetDatabaseSlowQueriesWithResponse request returning *GetDatabaseSlowQueriesResponse
func (*ClientWithResponses) GetDatabaseWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*GetDatabaseResponse, error)
GetDatabaseWithResponse request returning *GetDatabaseResponse
func (*ClientWithResponses) GetFunctionDeploymentLogsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetFunctionDeploymentLogsWithResponse(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetFunctionDeploymentLogsResponse, error)
GetFunctionDeploymentLogsWithResponse request returning *GetFunctionDeploymentLogsResponse
func (*ClientWithResponses) GetFunctionDeploymentWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetFunctionDeploymentWithResponse(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetFunctionDeploymentResponse, error)
GetFunctionDeploymentWithResponse request returning *GetFunctionDeploymentResponse
func (*ClientWithResponses) GetFunctionMetricsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetFunctionMetricsWithResponse(ctx context.Context, functionID FunctionRef, params *GetFunctionMetricsParams, reqEditors ...RequestEditorFn) (*GetFunctionMetricsResponse, error)
GetFunctionMetricsWithResponse request returning *GetFunctionMetricsResponse
func (*ClientWithResponses) GetFunctionSourceWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetFunctionSourceWithResponse(ctx context.Context, functionID FunctionRef, params *GetFunctionSourceParams, reqEditors ...RequestEditorFn) (*GetFunctionSourceResponse, error)
GetFunctionSourceWithResponse request returning *GetFunctionSourceResponse
func (*ClientWithResponses) GetFunctionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)
GetFunctionWithResponse request returning *GetFunctionResponse
func (*ClientWithResponses) GetFunctionsPricingWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetFunctionsPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFunctionsPricingResponse, error)
GetFunctionsPricingWithResponse request returning *GetFunctionsPricingResponse
func (*ClientWithResponses) GetFunctionsSpendSettingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetFunctionsSpendSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFunctionsSpendSettingsResponse, error)
GetFunctionsSpendSettingsWithResponse request returning *GetFunctionsSpendSettingsResponse
func (*ClientWithResponses) GetFunctionsUsageWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetFunctionsUsageWithResponse(ctx context.Context, params *GetFunctionsUsageParams, reqEditors ...RequestEditorFn) (*GetFunctionsUsageResponse, error)
GetFunctionsUsageWithResponse request returning *GetFunctionsUsageResponse
func (*ClientWithResponses) GetIPWithResponse ¶
func (c *ClientWithResponses) GetIPWithResponse(ctx context.Context, id IPIDPath, reqEditors ...RequestEditorFn) (*GetIPResponse, error)
GetIPWithResponse request returning *GetIPResponse
func (*ClientWithResponses) GetK8SClusterFirewallWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetK8SClusterFirewallWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterFirewallParams, reqEditors ...RequestEditorFn) (*GetK8SClusterFirewallResponse, error)
GetK8SClusterFirewallWithResponse request returning *GetK8SClusterFirewallResponse
func (*ClientWithResponses) GetK8SClusterMetricsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetK8SClusterMetricsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterMetricsParams, reqEditors ...RequestEditorFn) (*GetK8SClusterMetricsResponse, error)
GetK8SClusterMetricsWithResponse request returning *GetK8SClusterMetricsResponse
func (*ClientWithResponses) GetK8SClusterStatsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetK8SClusterStatsWithResponse(ctx context.Context, params *GetK8SClusterStatsParams, reqEditors ...RequestEditorFn) (*GetK8SClusterStatsResponse, error)
GetK8SClusterStatsWithResponse request returning *GetK8SClusterStatsResponse
func (*ClientWithResponses) GetK8SClusterWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetK8SClusterWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterParams, reqEditors ...RequestEditorFn) (*GetK8SClusterResponse, error)
GetK8SClusterWithResponse request returning *GetK8SClusterResponse
func (*ClientWithResponses) GetK8SKubeconfigWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetK8SKubeconfigWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SKubeconfigParams, reqEditors ...RequestEditorFn) (*GetK8SKubeconfigResponse, error)
GetK8SKubeconfigWithResponse request returning *GetK8SKubeconfigResponse
func (*ClientWithResponses) GetK8SMetalLBPoolWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) GetK8SMetalLBPoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SMetalLBPoolParams, reqEditors ...RequestEditorFn) (*GetK8SMetalLBPoolResponse, error)
GetK8SMetalLBPoolWithResponse request returning *GetK8SMetalLBPoolResponse
func (*ClientWithResponses) GetMemberWithResponse ¶
func (c *ClientWithResponses) GetMemberWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMemberResponse, error)
GetMemberWithResponse request returning *GetMemberResponse
func (*ClientWithResponses) GetProjectMemberWithResponse ¶
func (c *ClientWithResponses) GetProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProjectMemberResponse, error)
GetProjectMemberWithResponse request returning *GetProjectMemberResponse
func (*ClientWithResponses) GetProjectWithResponse ¶
func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
GetProjectWithResponse request returning *GetProjectResponse
func (*ClientWithResponses) GetRoleWithResponse ¶
func (c *ClientWithResponses) GetRoleWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRoleResponse, error)
GetRoleWithResponse request returning *GetRoleResponse
func (*ClientWithResponses) GetSSHKeyWithResponse ¶
func (c *ClientWithResponses) GetSSHKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSSHKeyResponse, error)
GetSSHKeyWithResponse request returning *GetSSHKeyResponse
func (*ClientWithResponses) GetSecurityGroupWithResponse ¶
func (c *ClientWithResponses) GetSecurityGroupWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, params *GetSecurityGroupParams, reqEditors ...RequestEditorFn) (*GetSecurityGroupResponse, error)
GetSecurityGroupWithResponse request returning *GetSecurityGroupResponse
func (*ClientWithResponses) GetSnapshotWithResponse ¶
func (c *ClientWithResponses) GetSnapshotWithResponse(ctx context.Context, id int, params *GetSnapshotParams, reqEditors ...RequestEditorFn) (*GetSnapshotResponse, error)
GetSnapshotWithResponse request returning *GetSnapshotResponse
func (*ClientWithResponses) GetVMNotesWithResponse ¶
func (c *ClientWithResponses) GetVMNotesWithResponse(ctx context.Context, id VMIDPath, params *GetVMNotesParams, reqEditors ...RequestEditorFn) (*GetVMNotesResponse, error)
GetVMNotesWithResponse request returning *GetVMNotesResponse
func (*ClientWithResponses) GetVMWithResponse ¶
func (c *ClientWithResponses) GetVMWithResponse(ctx context.Context, id VMIDPath, reqEditors ...RequestEditorFn) (*GetVMResponse, error)
GetVMWithResponse request returning *GetVMResponse
func (*ClientWithResponses) GetVPCWithResponse ¶
func (c *ClientWithResponses) GetVPCWithResponse(ctx context.Context, id VPCIDPath, params *GetVPCParams, reqEditors ...RequestEditorFn) (*GetVPCResponse, error)
GetVPCWithResponse request returning *GetVPCResponse
func (*ClientWithResponses) GetVolumeWithResponse ¶
func (c *ClientWithResponses) GetVolumeWithResponse(ctx context.Context, id int, params *GetVolumeParams, reqEditors ...RequestEditorFn) (*GetVolumeResponse, error)
GetVolumeWithResponse request returning *GetVolumeResponse
func (*ClientWithResponses) HardRebootVMWithResponse ¶
func (c *ClientWithResponses) HardRebootVMWithResponse(ctx context.Context, id VMIDPath, params *HardRebootVMParams, reqEditors ...RequestEditorFn) (*HardRebootVMResponse, error)
HardRebootVMWithResponse request returning *HardRebootVMResponse
func (*ClientWithResponses) HealthCheckWithResponse ¶
func (c *ClientWithResponses) HealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthCheckResponse, error)
HealthCheckWithResponse request returning *HealthCheckResponse
func (*ClientWithResponses) ListAPIKeysWithResponse ¶
func (c *ClientWithResponses) ListAPIKeysWithResponse(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)
ListAPIKeysWithResponse request returning *ListAPIKeysResponse
func (*ClientWithResponses) ListAppCustomDomainsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListAppCustomDomainsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ListAppCustomDomainsResponse, error)
ListAppCustomDomainsWithResponse request returning *ListAppCustomDomainsResponse
func (*ClientWithResponses) ListAppDeploymentsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListAppDeploymentsWithResponse(ctx context.Context, serviceID AppServiceRef, params *ListAppDeploymentsParams, reqEditors ...RequestEditorFn) (*ListAppDeploymentsResponse, error)
ListAppDeploymentsWithResponse request returning *ListAppDeploymentsResponse
func (*ClientWithResponses) ListAppEnvVarsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListAppEnvVarsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ListAppEnvVarsResponse, error)
ListAppEnvVarsWithResponse request returning *ListAppEnvVarsResponse
func (*ClientWithResponses) ListAppJobRunsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListAppJobRunsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ListAppJobRunsResponse, error)
ListAppJobRunsWithResponse request returning *ListAppJobRunsResponse
func (*ClientWithResponses) ListAppLogsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListAppLogsWithResponse(ctx context.Context, serviceID AppServiceRef, params *ListAppLogsParams, reqEditors ...RequestEditorFn) (*ListAppLogsResponse, error)
ListAppLogsWithResponse request returning *ListAppLogsResponse
func (*ClientWithResponses) ListAppServicesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListAppServicesWithResponse(ctx context.Context, params *ListAppServicesParams, reqEditors ...RequestEditorFn) (*ListAppServicesResponse, error)
ListAppServicesWithResponse request returning *ListAppServicesResponse
func (*ClientWithResponses) ListAppTiersWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListAppTiersWithResponse(ctx context.Context, params *ListAppTiersParams, reqEditors ...RequestEditorFn) (*ListAppTiersResponse, error)
ListAppTiersWithResponse request returning *ListAppTiersResponse
func (*ClientWithResponses) ListBackupPricingWithResponse ¶
func (c *ClientWithResponses) ListBackupPricingWithResponse(ctx context.Context, params *ListBackupPricingParams, reqEditors ...RequestEditorFn) (*ListBackupPricingResponse, error)
ListBackupPricingWithResponse request returning *ListBackupPricingResponse
func (*ClientWithResponses) ListBackupSchedulesWithResponse ¶
func (c *ClientWithResponses) ListBackupSchedulesWithResponse(ctx context.Context, params *ListBackupSchedulesParams, reqEditors ...RequestEditorFn) (*ListBackupSchedulesResponse, error)
ListBackupSchedulesWithResponse request returning *ListBackupSchedulesResponse
func (*ClientWithResponses) ListBackupsWithResponse ¶
func (c *ClientWithResponses) ListBackupsWithResponse(ctx context.Context, params *ListBackupsParams, reqEditors ...RequestEditorFn) (*ListBackupsResponse, error)
ListBackupsWithResponse request returning *ListBackupsResponse
func (*ClientWithResponses) ListDatabaseBackupsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListDatabaseBackupsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*ListDatabaseBackupsResponse, error)
ListDatabaseBackupsWithResponse request returning *ListDatabaseBackupsResponse
func (*ClientWithResponses) ListDatabaseEnginesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListDatabaseEnginesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatabaseEnginesResponse, error)
ListDatabaseEnginesWithResponse request returning *ListDatabaseEnginesResponse
func (*ClientWithResponses) ListDatabaseExtensionsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListDatabaseExtensionsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*ListDatabaseExtensionsResponse, error)
ListDatabaseExtensionsWithResponse request returning *ListDatabaseExtensionsResponse
func (*ClientWithResponses) ListDatabasePlansWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListDatabasePlansWithResponse(ctx context.Context, params *ListDatabasePlansParams, reqEditors ...RequestEditorFn) (*ListDatabasePlansResponse, error)
ListDatabasePlansWithResponse request returning *ListDatabasePlansResponse
func (*ClientWithResponses) ListDatabasePricingWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListDatabasePricingWithResponse(ctx context.Context, params *ListDatabasePricingParams, reqEditors ...RequestEditorFn) (*ListDatabasePricingResponse, error)
ListDatabasePricingWithResponse request returning *ListDatabasePricingResponse
func (*ClientWithResponses) ListDatabasesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatabasesResponse, error)
ListDatabasesWithResponse request returning *ListDatabasesResponse
func (*ClientWithResponses) ListFunctionBindingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListFunctionBindingsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionBindingsResponse, error)
ListFunctionBindingsWithResponse request returning *ListFunctionBindingsResponse
func (*ClientWithResponses) ListFunctionDeploymentsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListFunctionDeploymentsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionDeploymentsResponse, error)
ListFunctionDeploymentsWithResponse request returning *ListFunctionDeploymentsResponse
func (*ClientWithResponses) ListFunctionEnvVarsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListFunctionEnvVarsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionEnvVarsResponse, error)
ListFunctionEnvVarsWithResponse request returning *ListFunctionEnvVarsResponse
func (*ClientWithResponses) ListFunctionInvocationsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListFunctionInvocationsWithResponse(ctx context.Context, functionID FunctionRef, params *ListFunctionInvocationsParams, reqEditors ...RequestEditorFn) (*ListFunctionInvocationsResponse, error)
ListFunctionInvocationsWithResponse request returning *ListFunctionInvocationsResponse
func (*ClientWithResponses) ListFunctionLogsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListFunctionLogsWithResponse(ctx context.Context, functionID FunctionRef, params *ListFunctionLogsParams, reqEditors ...RequestEditorFn) (*ListFunctionLogsResponse, error)
ListFunctionLogsWithResponse request returning *ListFunctionLogsResponse
func (*ClientWithResponses) ListFunctionRevisionsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListFunctionRevisionsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionRevisionsResponse, error)
ListFunctionRevisionsWithResponse request returning *ListFunctionRevisionsResponse
func (*ClientWithResponses) ListFunctionRuntimesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListFunctionRuntimesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListFunctionRuntimesResponse, error)
ListFunctionRuntimesWithResponse request returning *ListFunctionRuntimesResponse
func (*ClientWithResponses) ListFunctionTriggerRunsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListFunctionTriggerRunsWithResponse(ctx context.Context, functionID FunctionRef, params *ListFunctionTriggerRunsParams, reqEditors ...RequestEditorFn) (*ListFunctionTriggerRunsResponse, error)
ListFunctionTriggerRunsWithResponse request returning *ListFunctionTriggerRunsResponse
func (*ClientWithResponses) ListFunctionTriggersWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListFunctionTriggersWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionTriggersResponse, error)
ListFunctionTriggersWithResponse request returning *ListFunctionTriggersResponse
func (*ClientWithResponses) ListFunctionsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListFunctionsWithResponse(ctx context.Context, params *ListFunctionsParams, reqEditors ...RequestEditorFn) (*ListFunctionsResponse, error)
ListFunctionsWithResponse request returning *ListFunctionsResponse
func (*ClientWithResponses) ListIPPricingWithResponse ¶
func (c *ClientWithResponses) ListIPPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListIPPricingResponse, error)
ListIPPricingWithResponse request returning *ListIPPricingResponse
func (*ClientWithResponses) ListIPsWithResponse ¶
func (c *ClientWithResponses) ListIPsWithResponse(ctx context.Context, params *ListIPsParams, reqEditors ...RequestEditorFn) (*ListIPsResponse, error)
ListIPsWithResponse request returning *ListIPsResponse
func (*ClientWithResponses) ListK8SClusterEventsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListK8SClusterEventsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterEventsParams, reqEditors ...RequestEditorFn) (*ListK8SClusterEventsResponse, error)
ListK8SClusterEventsWithResponse request returning *ListK8SClusterEventsResponse
func (*ClientWithResponses) ListK8SClusterNodesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListK8SClusterNodesWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterNodesParams, reqEditors ...RequestEditorFn) (*ListK8SClusterNodesResponse, error)
ListK8SClusterNodesWithResponse request returning *ListK8SClusterNodesResponse
func (*ClientWithResponses) ListK8SClusterUpgradesWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListK8SClusterUpgradesWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterUpgradesParams, reqEditors ...RequestEditorFn) (*ListK8SClusterUpgradesResponse, error)
ListK8SClusterUpgradesWithResponse request returning *ListK8SClusterUpgradesResponse
func (*ClientWithResponses) ListK8SClustersWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListK8SClustersWithResponse(ctx context.Context, params *ListK8SClustersParams, reqEditors ...RequestEditorFn) (*ListK8SClustersResponse, error)
ListK8SClustersWithResponse request returning *ListK8SClustersResponse
func (*ClientWithResponses) ListK8SNodePlansWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListK8SNodePlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListK8SNodePlansResponse, error)
ListK8SNodePlansWithResponse request returning *ListK8SNodePlansResponse
func (*ClientWithResponses) ListK8SNodePoolsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListK8SNodePoolsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SNodePoolsParams, reqEditors ...RequestEditorFn) (*ListK8SNodePoolsResponse, error)
ListK8SNodePoolsWithResponse request returning *ListK8SNodePoolsResponse
func (*ClientWithResponses) ListK8STcpPortsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListK8STcpPortsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8STcpPortsParams, reqEditors ...RequestEditorFn) (*ListK8STcpPortsResponse, error)
ListK8STcpPortsWithResponse request returning *ListK8STcpPortsResponse
func (*ClientWithResponses) ListK8SVersionsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListK8SVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListK8SVersionsResponse, error)
ListK8SVersionsWithResponse request returning *ListK8SVersionsResponse
func (*ClientWithResponses) ListKubernetesPricingWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ListKubernetesPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListKubernetesPricingResponse, error)
ListKubernetesPricingWithResponse request returning *ListKubernetesPricingResponse
func (*ClientWithResponses) ListMembersWithResponse ¶
func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
ListMembersWithResponse request returning *ListMembersResponse
func (*ClientWithResponses) ListPermissionsWithResponse ¶
func (c *ClientWithResponses) ListPermissionsWithResponse(ctx context.Context, params *ListPermissionsParams, reqEditors ...RequestEditorFn) (*ListPermissionsResponse, error)
ListPermissionsWithResponse request returning *ListPermissionsResponse
func (*ClientWithResponses) ListProjectMembersWithResponse ¶
func (c *ClientWithResponses) ListProjectMembersWithResponse(ctx context.Context, id ProjectIDPath, params *ListProjectMembersParams, reqEditors ...RequestEditorFn) (*ListProjectMembersResponse, error)
ListProjectMembersWithResponse request returning *ListProjectMembersResponse
func (*ClientWithResponses) ListProjectsWithResponse ¶
func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
ListProjectsWithResponse request returning *ListProjectsResponse
func (*ClientWithResponses) ListRegionsWithResponse ¶
func (c *ClientWithResponses) ListRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRegionsResponse, error)
ListRegionsWithResponse request returning *ListRegionsResponse
func (*ClientWithResponses) ListRolesWithResponse ¶
func (c *ClientWithResponses) ListRolesWithResponse(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)
ListRolesWithResponse request returning *ListRolesResponse
func (*ClientWithResponses) ListSSHKeysWithResponse ¶
func (c *ClientWithResponses) ListSSHKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSSHKeysResponse, error)
ListSSHKeysWithResponse request returning *ListSSHKeysResponse
func (*ClientWithResponses) ListSecurityGroupTemplatesWithResponse ¶
func (c *ClientWithResponses) ListSecurityGroupTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecurityGroupTemplatesResponse, error)
ListSecurityGroupTemplatesWithResponse request returning *ListSecurityGroupTemplatesResponse
func (*ClientWithResponses) ListSecurityGroupsWithResponse ¶
func (c *ClientWithResponses) ListSecurityGroupsWithResponse(ctx context.Context, params *ListSecurityGroupsParams, reqEditors ...RequestEditorFn) (*ListSecurityGroupsResponse, error)
ListSecurityGroupsWithResponse request returning *ListSecurityGroupsResponse
func (*ClientWithResponses) ListSnapshotPricingWithResponse ¶
func (c *ClientWithResponses) ListSnapshotPricingWithResponse(ctx context.Context, params *ListSnapshotPricingParams, reqEditors ...RequestEditorFn) (*ListSnapshotPricingResponse, error)
ListSnapshotPricingWithResponse request returning *ListSnapshotPricingResponse
func (*ClientWithResponses) ListSnapshotsWithResponse ¶
func (c *ClientWithResponses) ListSnapshotsWithResponse(ctx context.Context, params *ListSnapshotsParams, reqEditors ...RequestEditorFn) (*ListSnapshotsResponse, error)
ListSnapshotsWithResponse request returning *ListSnapshotsResponse
func (*ClientWithResponses) ListTemplatesWithResponse ¶
func (c *ClientWithResponses) ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*ListTemplatesResponse, error)
ListTemplatesWithResponse request returning *ListTemplatesResponse
func (*ClientWithResponses) ListVMNetworksWithResponse ¶
func (c *ClientWithResponses) ListVMNetworksWithResponse(ctx context.Context, id VMIDPath, params *ListVMNetworksParams, reqEditors ...RequestEditorFn) (*ListVMNetworksResponse, error)
ListVMNetworksWithResponse request returning *ListVMNetworksResponse
func (*ClientWithResponses) ListVMPricingWithResponse ¶
func (c *ClientWithResponses) ListVMPricingWithResponse(ctx context.Context, params *ListVMPricingParams, reqEditors ...RequestEditorFn) (*ListVMPricingResponse, error)
ListVMPricingWithResponse request returning *ListVMPricingResponse
func (*ClientWithResponses) ListVMsWithResponse ¶
func (c *ClientWithResponses) ListVMsWithResponse(ctx context.Context, params *ListVMsParams, reqEditors ...RequestEditorFn) (*ListVMsResponse, error)
ListVMsWithResponse request returning *ListVMsResponse
func (*ClientWithResponses) ListVPCCIDRSuggestionsWithResponse ¶
func (c *ClientWithResponses) ListVPCCIDRSuggestionsWithResponse(ctx context.Context, params *ListVPCCIDRSuggestionsParams, reqEditors ...RequestEditorFn) (*ListVPCCIDRSuggestionsResponse, error)
ListVPCCIDRSuggestionsWithResponse request returning *ListVPCCIDRSuggestionsResponse
func (*ClientWithResponses) ListVPCsWithResponse ¶
func (c *ClientWithResponses) ListVPCsWithResponse(ctx context.Context, params *ListVPCsParams, reqEditors ...RequestEditorFn) (*ListVPCsResponse, error)
ListVPCsWithResponse request returning *ListVPCsResponse
func (*ClientWithResponses) ListVolumePricingWithResponse ¶
func (c *ClientWithResponses) ListVolumePricingWithResponse(ctx context.Context, params *ListVolumePricingParams, reqEditors ...RequestEditorFn) (*ListVolumePricingResponse, error)
ListVolumePricingWithResponse request returning *ListVolumePricingResponse
func (*ClientWithResponses) ListVolumesWithResponse ¶
func (c *ClientWithResponses) ListVolumesWithResponse(ctx context.Context, params *ListVolumesParams, reqEditors ...RequestEditorFn) (*ListVolumesResponse, error)
ListVolumesWithResponse request returning *ListVolumesResponse
func (*ClientWithResponses) PauseAppServiceWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) PauseAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*PauseAppServiceResponse, error)
PauseAppServiceWithResponse request returning *PauseAppServiceResponse
func (*ClientWithResponses) PauseFunctionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) PauseFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*PauseFunctionResponse, error)
PauseFunctionWithResponse request returning *PauseFunctionResponse
func (*ClientWithResponses) RebootVMWithResponse ¶
func (c *ClientWithResponses) RebootVMWithResponse(ctx context.Context, id VMIDPath, params *RebootVMParams, reqEditors ...RequestEditorFn) (*RebootVMResponse, error)
RebootVMWithResponse request returning *RebootVMResponse
func (*ClientWithResponses) RegenerateAPIKeyWithResponse ¶
func (c *ClientWithResponses) RegenerateAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RegenerateAPIKeyResponse, error)
RegenerateAPIKeyWithResponse request returning *RegenerateAPIKeyResponse
func (*ClientWithResponses) ReinstallVMWithBodyWithResponse ¶
func (c *ClientWithResponses) ReinstallVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *ReinstallVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReinstallVMResponse, error)
ReinstallVMWithBodyWithResponse request with arbitrary body returning *ReinstallVMResponse
func (*ClientWithResponses) ReinstallVMWithResponse ¶
func (c *ClientWithResponses) ReinstallVMWithResponse(ctx context.Context, id VMIDPath, params *ReinstallVMParams, body ReinstallVMJSONRequestBody, reqEditors ...RequestEditorFn) (*ReinstallVMResponse, error)
func (*ClientWithResponses) ReleaseIPWithResponse ¶
func (c *ClientWithResponses) ReleaseIPWithResponse(ctx context.Context, id IPIDPath, params *ReleaseIPParams, reqEditors ...RequestEditorFn) (*ReleaseIPResponse, error)
ReleaseIPWithResponse request returning *ReleaseIPResponse
func (*ClientWithResponses) RemoveMemberWithResponse ¶
func (c *ClientWithResponses) RemoveMemberWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveMemberResponse, error)
RemoveMemberWithResponse request returning *RemoveMemberResponse
func (*ClientWithResponses) RemoveProjectMemberWithResponse ¶
func (c *ClientWithResponses) RemoveProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveProjectMemberResponse, error)
RemoveProjectMemberWithResponse request returning *RemoveProjectMemberResponse
func (*ClientWithResponses) RemoveVMTagWithResponse ¶
func (c *ClientWithResponses) RemoveVMTagWithResponse(ctx context.Context, id VMIDPath, tagID TagIDPath, params *RemoveVMTagParams, reqEditors ...RequestEditorFn) (*RemoveVMTagResponse, error)
RemoveVMTagWithResponse request returning *RemoveVMTagResponse
func (*ClientWithResponses) RenameK8SClusterWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RenameK8SClusterWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameK8SClusterResponse, error)
RenameK8SClusterWithBodyWithResponse request with arbitrary body returning *RenameK8SClusterResponse
func (*ClientWithResponses) RenameK8SClusterWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RenameK8SClusterWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, body RenameK8SClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameK8SClusterResponse, error)
func (*ClientWithResponses) RenameSnapshotWithBodyWithResponse ¶
func (c *ClientWithResponses) RenameSnapshotWithBodyWithResponse(ctx context.Context, id int, params *RenameSnapshotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameSnapshotResponse, error)
RenameSnapshotWithBodyWithResponse request with arbitrary body returning *RenameSnapshotResponse
func (*ClientWithResponses) RenameSnapshotWithResponse ¶
func (c *ClientWithResponses) RenameSnapshotWithResponse(ctx context.Context, id int, params *RenameSnapshotParams, body RenameSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameSnapshotResponse, error)
func (*ClientWithResponses) RenameVMWithBodyWithResponse ¶
func (c *ClientWithResponses) RenameVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *RenameVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameVMResponse, error)
RenameVMWithBodyWithResponse request with arbitrary body returning *RenameVMResponse
func (*ClientWithResponses) RenameVMWithResponse ¶
func (c *ClientWithResponses) RenameVMWithResponse(ctx context.Context, id VMIDPath, params *RenameVMParams, body RenameVMJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameVMResponse, error)
func (*ClientWithResponses) RequestAppSourceUploadWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RequestAppSourceUploadWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*RequestAppSourceUploadResponse, error)
RequestAppSourceUploadWithResponse request returning *RequestAppSourceUploadResponse
func (*ClientWithResponses) RequestFunctionSourceUploadWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RequestFunctionSourceUploadWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*RequestFunctionSourceUploadResponse, error)
RequestFunctionSourceUploadWithResponse request returning *RequestFunctionSourceUploadResponse
func (*ClientWithResponses) ReserveIPWithBodyWithResponse ¶
func (c *ClientWithResponses) ReserveIPWithBodyWithResponse(ctx context.Context, params *ReserveIPParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReserveIPResponse, error)
ReserveIPWithBodyWithResponse request with arbitrary body returning *ReserveIPResponse
func (*ClientWithResponses) ReserveIPWithResponse ¶
func (c *ClientWithResponses) ReserveIPWithResponse(ctx context.Context, params *ReserveIPParams, body ReserveIPJSONRequestBody, reqEditors ...RequestEditorFn) (*ReserveIPResponse, error)
func (*ClientWithResponses) ResetBackupChainWithResponse ¶ added in v0.3.4
func (c *ClientWithResponses) ResetBackupChainWithResponse(ctx context.Context, id openapi_types.UUID, params *ResetBackupChainParams, reqEditors ...RequestEditorFn) (*ResetBackupChainResponse, error)
ResetBackupChainWithResponse request returning *ResetBackupChainResponse
func (*ClientWithResponses) ResetK8SClusterFirewallWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ResetK8SClusterFirewallWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ResetK8SClusterFirewallParams, reqEditors ...RequestEditorFn) (*ResetK8SClusterFirewallResponse, error)
ResetK8SClusterFirewallWithResponse request returning *ResetK8SClusterFirewallResponse
func (*ClientWithResponses) ResetVMPasswordWithResponse ¶
func (c *ClientWithResponses) ResetVMPasswordWithResponse(ctx context.Context, id VMIDPath, params *ResetVMPasswordParams, reqEditors ...RequestEditorFn) (*ResetVMPasswordResponse, error)
ResetVMPasswordWithResponse request returning *ResetVMPasswordResponse
func (*ClientWithResponses) ResizeVMDiskWithBodyWithResponse ¶
func (c *ClientWithResponses) ResizeVMDiskWithBodyWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeVMDiskResponse, error)
ResizeVMDiskWithBodyWithResponse request with arbitrary body returning *ResizeVMDiskResponse
func (*ClientWithResponses) ResizeVMDiskWithResponse ¶
func (c *ClientWithResponses) ResizeVMDiskWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, body ResizeVMDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeVMDiskResponse, error)
func (*ClientWithResponses) ResizeVMWithBodyWithResponse ¶
func (c *ClientWithResponses) ResizeVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeVMResponse, error)
ResizeVMWithBodyWithResponse request with arbitrary body returning *ResizeVMResponse
func (*ClientWithResponses) ResizeVMWithResponse ¶
func (c *ClientWithResponses) ResizeVMWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMParams, body ResizeVMJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeVMResponse, error)
func (*ClientWithResponses) ResizeVolumeWithBodyWithResponse ¶
func (c *ClientWithResponses) ResizeVolumeWithBodyWithResponse(ctx context.Context, id int, params *ResizeVolumeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeVolumeResponse, error)
ResizeVolumeWithBodyWithResponse request with arbitrary body returning *ResizeVolumeResponse
func (*ClientWithResponses) ResizeVolumeWithResponse ¶
func (c *ClientWithResponses) ResizeVolumeWithResponse(ctx context.Context, id int, params *ResizeVolumeParams, body ResizeVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeVolumeResponse, error)
func (*ClientWithResponses) RestoreBackupWithResponse ¶
func (c *ClientWithResponses) RestoreBackupWithResponse(ctx context.Context, id openapi_types.UUID, params *RestoreBackupParams, reqEditors ...RequestEditorFn) (*RestoreBackupResponse, error)
RestoreBackupWithResponse request returning *RestoreBackupResponse
func (*ClientWithResponses) RestoreDatabaseWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RestoreDatabaseWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)
RestoreDatabaseWithBodyWithResponse request with arbitrary body returning *RestoreDatabaseResponse
func (*ClientWithResponses) RestoreDatabaseWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RestoreDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)
func (*ClientWithResponses) RestoreSnapshotWithResponse ¶
func (c *ClientWithResponses) RestoreSnapshotWithResponse(ctx context.Context, id int, params *RestoreSnapshotParams, reqEditors ...RequestEditorFn) (*RestoreSnapshotResponse, error)
RestoreSnapshotWithResponse request returning *RestoreSnapshotResponse
func (*ClientWithResponses) ResumeAppServiceWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ResumeAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ResumeAppServiceResponse, error)
ResumeAppServiceWithResponse request returning *ResumeAppServiceResponse
func (*ClientWithResponses) ResumeDatabaseWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ResumeDatabaseWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*ResumeDatabaseResponse, error)
ResumeDatabaseWithResponse request returning *ResumeDatabaseResponse
func (*ClientWithResponses) ResumeFunctionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ResumeFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ResumeFunctionResponse, error)
ResumeFunctionWithResponse request returning *ResumeFunctionResponse
func (*ClientWithResponses) RetryAppDomainVerificationWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RetryAppDomainVerificationWithResponse(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*RetryAppDomainVerificationResponse, error)
RetryAppDomainVerificationWithResponse request returning *RetryAppDomainVerificationResponse
func (*ClientWithResponses) RevealAppEnvVarsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RevealAppEnvVarsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*RevealAppEnvVarsResponse, error)
RevealAppEnvVarsWithResponse request returning *RevealAppEnvVarsResponse
func (*ClientWithResponses) RevealFunctionEnvVarsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RevealFunctionEnvVarsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*RevealFunctionEnvVarsResponse, error)
RevealFunctionEnvVarsWithResponse request returning *RevealFunctionEnvVarsResponse
func (*ClientWithResponses) RevokeAPIKeyWithResponse ¶
func (c *ClientWithResponses) RevokeAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeAPIKeyResponse, error)
RevokeAPIKeyWithResponse request returning *RevokeAPIKeyResponse
func (*ClientWithResponses) RollbackAppServiceWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RollbackAppServiceWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RollbackAppServiceResponse, error)
RollbackAppServiceWithBodyWithResponse request with arbitrary body returning *RollbackAppServiceResponse
func (*ClientWithResponses) RollbackAppServiceWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RollbackAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, body RollbackAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*RollbackAppServiceResponse, error)
func (*ClientWithResponses) RollbackFunctionWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RollbackFunctionWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RollbackFunctionResponse, error)
RollbackFunctionWithBodyWithResponse request with arbitrary body returning *RollbackFunctionResponse
func (*ClientWithResponses) RollbackFunctionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RollbackFunctionWithResponse(ctx context.Context, functionID FunctionRef, body RollbackFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*RollbackFunctionResponse, error)
func (*ClientWithResponses) RotateDatabaseCredentialsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RotateDatabaseCredentialsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*RotateDatabaseCredentialsResponse, error)
RotateDatabaseCredentialsWithResponse request returning *RotateDatabaseCredentialsResponse
func (*ClientWithResponses) RotateFunctionBindingWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RotateFunctionBindingWithResponse(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, reqEditors ...RequestEditorFn) (*RotateFunctionBindingResponse, error)
RotateFunctionBindingWithResponse request returning *RotateFunctionBindingResponse
func (*ClientWithResponses) RotateK8SKubeconfigAccessWithResponse ¶ added in v0.5.0
func (c *ClientWithResponses) RotateK8SKubeconfigAccessWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *RotateK8SKubeconfigAccessParams, reqEditors ...RequestEditorFn) (*RotateK8SKubeconfigAccessResponse, error)
RotateK8SKubeconfigAccessWithResponse request returning *RotateK8SKubeconfigAccessResponse
func (*ClientWithResponses) RunAppJobWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) RunAppJobWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*RunAppJobResponse, error)
RunAppJobWithResponse request returning *RunAppJobResponse
func (*ClientWithResponses) SaveVMDiskAsImageWithBodyWithResponse ¶
func (c *ClientWithResponses) SaveVMDiskAsImageWithBodyWithResponse(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveVMDiskAsImageResponse, error)
SaveVMDiskAsImageWithBodyWithResponse request with arbitrary body returning *SaveVMDiskAsImageResponse
func (*ClientWithResponses) SaveVMDiskAsImageWithResponse ¶
func (c *ClientWithResponses) SaveVMDiskAsImageWithResponse(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, body SaveVMDiskAsImageJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveVMDiskAsImageResponse, error)
func (*ClientWithResponses) ScaleAppServiceWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ScaleAppServiceWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleAppServiceResponse, error)
ScaleAppServiceWithBodyWithResponse request with arbitrary body returning *ScaleAppServiceResponse
func (*ClientWithResponses) ScaleAppServiceWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ScaleAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, body ScaleAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleAppServiceResponse, error)
func (*ClientWithResponses) ScaleDatabaseWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ScaleDatabaseWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleDatabaseResponse, error)
ScaleDatabaseWithBodyWithResponse request with arbitrary body returning *ScaleDatabaseResponse
func (*ClientWithResponses) ScaleDatabaseWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ScaleDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, body ScaleDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleDatabaseResponse, error)
func (*ClientWithResponses) ScaleK8SNodePoolWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ScaleK8SNodePoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *ScaleK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleK8SNodePoolResponse, error)
ScaleK8SNodePoolWithBodyWithResponse request with arbitrary body returning *ScaleK8SNodePoolResponse
func (*ClientWithResponses) ScaleK8SNodePoolWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) ScaleK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *ScaleK8SNodePoolParams, body ScaleK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleK8SNodePoolResponse, error)
func (*ClientWithResponses) SetAppEnvVarWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) SetAppEnvVarWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAppEnvVarResponse, error)
SetAppEnvVarWithBodyWithResponse request with arbitrary body returning *SetAppEnvVarResponse
func (*ClientWithResponses) SetAppEnvVarWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) SetAppEnvVarWithResponse(ctx context.Context, serviceID AppServiceRef, body SetAppEnvVarJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAppEnvVarResponse, error)
func (*ClientWithResponses) SetDatabaseExtensionWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) SetDatabaseExtensionWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDatabaseExtensionResponse, error)
SetDatabaseExtensionWithBodyWithResponse request with arbitrary body returning *SetDatabaseExtensionResponse
func (*ClientWithResponses) SetDatabaseExtensionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) SetDatabaseExtensionWithResponse(ctx context.Context, databaseID DatabaseIDPath, body SetDatabaseExtensionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDatabaseExtensionResponse, error)
func (*ClientWithResponses) SetDatabasePublicAccessWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) SetDatabasePublicAccessWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDatabasePublicAccessResponse, error)
SetDatabasePublicAccessWithBodyWithResponse request with arbitrary body returning *SetDatabasePublicAccessResponse
func (*ClientWithResponses) SetDatabasePublicAccessWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) SetDatabasePublicAccessWithResponse(ctx context.Context, databaseID DatabaseIDPath, body SetDatabasePublicAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDatabasePublicAccessResponse, error)
func (*ClientWithResponses) SetFunctionEnvVarWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) SetFunctionEnvVarWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetFunctionEnvVarResponse, error)
SetFunctionEnvVarWithBodyWithResponse request with arbitrary body returning *SetFunctionEnvVarResponse
func (*ClientWithResponses) SetFunctionEnvVarWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) SetFunctionEnvVarWithResponse(ctx context.Context, functionID FunctionRef, body SetFunctionEnvVarJSONRequestBody, reqEditors ...RequestEditorFn) (*SetFunctionEnvVarResponse, error)
func (*ClientWithResponses) StartVMWithResponse ¶
func (c *ClientWithResponses) StartVMWithResponse(ctx context.Context, id VMIDPath, params *StartVMParams, reqEditors ...RequestEditorFn) (*StartVMResponse, error)
StartVMWithResponse request returning *StartVMResponse
func (*ClientWithResponses) StopVMWithResponse ¶
func (c *ClientWithResponses) StopVMWithResponse(ctx context.Context, id VMIDPath, params *StopVMParams, reqEditors ...RequestEditorFn) (*StopVMResponse, error)
StopVMWithResponse request returning *StopVMResponse
func (*ClientWithResponses) UpdateAPIKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAPIKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAPIKeyResponse, error)
UpdateAPIKeyWithBodyWithResponse request with arbitrary body returning *UpdateAPIKeyResponse
func (*ClientWithResponses) UpdateAPIKeyWithResponse ¶
func (c *ClientWithResponses) UpdateAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAPIKeyResponse, error)
func (*ClientWithResponses) UpdateAppSpendSettingsWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateAppSpendSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppSpendSettingsResponse, error)
UpdateAppSpendSettingsWithBodyWithResponse request with arbitrary body returning *UpdateAppSpendSettingsResponse
func (*ClientWithResponses) UpdateAppSpendSettingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateAppSpendSettingsWithResponse(ctx context.Context, body UpdateAppSpendSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppSpendSettingsResponse, error)
func (*ClientWithResponses) UpdateBackupScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBackupScheduleWithBodyWithResponse(ctx context.Context, id int, params *UpdateBackupScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBackupScheduleResponse, error)
UpdateBackupScheduleWithBodyWithResponse request with arbitrary body returning *UpdateBackupScheduleResponse
func (*ClientWithResponses) UpdateBackupScheduleWithResponse ¶
func (c *ClientWithResponses) UpdateBackupScheduleWithResponse(ctx context.Context, id int, params *UpdateBackupScheduleParams, body UpdateBackupScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBackupScheduleResponse, error)
func (*ClientWithResponses) UpdateDatabaseWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateDatabaseWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseResponse, error)
UpdateDatabaseWithBodyWithResponse request with arbitrary body returning *UpdateDatabaseResponse
func (*ClientWithResponses) UpdateDatabaseWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, body UpdateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseResponse, error)
func (*ClientWithResponses) UpdateFunctionTriggerWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateFunctionTriggerWithBodyWithResponse(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionTriggerResponse, error)
UpdateFunctionTriggerWithBodyWithResponse request with arbitrary body returning *UpdateFunctionTriggerResponse
func (*ClientWithResponses) UpdateFunctionTriggerWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateFunctionTriggerWithResponse(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, body UpdateFunctionTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionTriggerResponse, error)
func (*ClientWithResponses) UpdateFunctionWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateFunctionWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)
UpdateFunctionWithBodyWithResponse request with arbitrary body returning *UpdateFunctionResponse
func (*ClientWithResponses) UpdateFunctionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateFunctionWithResponse(ctx context.Context, functionID FunctionRef, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)
func (*ClientWithResponses) UpdateFunctionsSpendSettingsWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateFunctionsSpendSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionsSpendSettingsResponse, error)
UpdateFunctionsSpendSettingsWithBodyWithResponse request with arbitrary body returning *UpdateFunctionsSpendSettingsResponse
func (*ClientWithResponses) UpdateFunctionsSpendSettingsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateFunctionsSpendSettingsWithResponse(ctx context.Context, body UpdateFunctionsSpendSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionsSpendSettingsResponse, error)
func (*ClientWithResponses) UpdateK8SClusterMaintenanceWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateK8SClusterMaintenanceWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SClusterMaintenanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateK8SClusterMaintenanceResponse, error)
UpdateK8SClusterMaintenanceWithBodyWithResponse request with arbitrary body returning *UpdateK8SClusterMaintenanceResponse
func (*ClientWithResponses) UpdateK8SClusterMaintenanceWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateK8SClusterMaintenanceWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SClusterMaintenanceParams, body UpdateK8SClusterMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateK8SClusterMaintenanceResponse, error)
func (*ClientWithResponses) UpdateK8SMetalLBPoolWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateK8SMetalLBPoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateK8SMetalLBPoolResponse, error)
UpdateK8SMetalLBPoolWithBodyWithResponse request with arbitrary body returning *UpdateK8SMetalLBPoolResponse
func (*ClientWithResponses) UpdateK8SMetalLBPoolWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateK8SMetalLBPoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, body UpdateK8SMetalLBPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateK8SMetalLBPoolResponse, error)
func (*ClientWithResponses) UpdateK8SNodePoolWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateK8SNodePoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *UpdateK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateK8SNodePoolResponse, error)
UpdateK8SNodePoolWithBodyWithResponse request with arbitrary body returning *UpdateK8SNodePoolResponse
func (*ClientWithResponses) UpdateK8SNodePoolWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpdateK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *UpdateK8SNodePoolParams, body UpdateK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateK8SNodePoolResponse, error)
func (*ClientWithResponses) UpdateMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMemberWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMemberResponse, error)
UpdateMemberWithBodyWithResponse request with arbitrary body returning *UpdateMemberResponse
func (*ClientWithResponses) UpdateMemberWithResponse ¶
func (c *ClientWithResponses) UpdateMemberWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMemberResponse, error)
func (*ClientWithResponses) UpdateProjectMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateProjectMemberWithBodyWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectMemberResponse, error)
UpdateProjectMemberWithBodyWithResponse request with arbitrary body returning *UpdateProjectMemberResponse
func (*ClientWithResponses) UpdateProjectMemberWithResponse ¶
func (c *ClientWithResponses) UpdateProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, body UpdateProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectMemberResponse, error)
func (*ClientWithResponses) UpdateProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
UpdateProjectWithBodyWithResponse request with arbitrary body returning *UpdateProjectResponse
func (*ClientWithResponses) UpdateProjectWithResponse ¶
func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, id ProjectIDPath, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
func (*ClientWithResponses) UpdateRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateRoleWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRoleResponse, error)
UpdateRoleWithBodyWithResponse request with arbitrary body returning *UpdateRoleResponse
func (*ClientWithResponses) UpdateRoleWithResponse ¶
func (c *ClientWithResponses) UpdateRoleWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRoleResponse, error)
func (*ClientWithResponses) UpdateSSHKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSSHKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSSHKeyResponse, error)
UpdateSSHKeyWithBodyWithResponse request with arbitrary body returning *UpdateSSHKeyResponse
func (*ClientWithResponses) UpdateSSHKeyWithResponse ¶
func (c *ClientWithResponses) UpdateSSHKeyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSSHKeyResponse, error)
func (*ClientWithResponses) UpdateSecurityGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSecurityGroupWithBodyWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, params *UpdateSecurityGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupResponse, error)
UpdateSecurityGroupWithBodyWithResponse request with arbitrary body returning *UpdateSecurityGroupResponse
func (*ClientWithResponses) UpdateSecurityGroupWithResponse ¶
func (c *ClientWithResponses) UpdateSecurityGroupWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, params *UpdateSecurityGroupParams, body UpdateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupResponse, error)
func (*ClientWithResponses) UpdateVMNoteWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateVMNoteWithBodyWithResponse(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, params *UpdateVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVMNoteResponse, error)
UpdateVMNoteWithBodyWithResponse request with arbitrary body returning *UpdateVMNoteResponse
func (*ClientWithResponses) UpdateVMNoteWithResponse ¶
func (c *ClientWithResponses) UpdateVMNoteWithResponse(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, params *UpdateVMNoteParams, body UpdateVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVMNoteResponse, error)
func (*ClientWithResponses) UpdateVMTagWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateVMTagWithBodyWithResponse(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVMTagResponse, error)
UpdateVMTagWithBodyWithResponse request with arbitrary body returning *UpdateVMTagResponse
func (*ClientWithResponses) UpdateVMTagWithResponse ¶
func (c *ClientWithResponses) UpdateVMTagWithResponse(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, body UpdateVMTagJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVMTagResponse, error)
func (*ClientWithResponses) UpdateVPCWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateVPCWithBodyWithResponse(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVPCResponse, error)
UpdateVPCWithBodyWithResponse request with arbitrary body returning *UpdateVPCResponse
func (*ClientWithResponses) UpdateVPCWithResponse ¶
func (c *ClientWithResponses) UpdateVPCWithResponse(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, body UpdateVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVPCResponse, error)
func (*ClientWithResponses) UpgradeK8SClusterHAWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpgradeK8SClusterHAWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterHAParams, reqEditors ...RequestEditorFn) (*UpgradeK8SClusterHAResponse, error)
UpgradeK8SClusterHAWithResponse request returning *UpgradeK8SClusterHAResponse
func (*ClientWithResponses) UpgradeK8SClusterVersionWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpgradeK8SClusterVersionWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterVersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeK8SClusterVersionResponse, error)
UpgradeK8SClusterVersionWithBodyWithResponse request with arbitrary body returning *UpgradeK8SClusterVersionResponse
func (*ClientWithResponses) UpgradeK8SClusterVersionWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) UpgradeK8SClusterVersionWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterVersionParams, body UpgradeK8SClusterVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeK8SClusterVersionResponse, error)
func (*ClientWithResponses) UpsertVMNoteWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertVMNoteWithBodyWithResponse(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, params *UpsertVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertVMNoteResponse, error)
UpsertVMNoteWithBodyWithResponse request with arbitrary body returning *UpsertVMNoteResponse
func (*ClientWithResponses) UpsertVMNoteWithResponse ¶
func (c *ClientWithResponses) UpsertVMNoteWithResponse(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, params *UpsertVMNoteParams, body UpsertVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertVMNoteResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListAPIKeysWithResponse request
ListAPIKeysWithResponse(ctx context.Context, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)
// CreateAPIKeyWithBodyWithResponse request with any body
CreateAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
CreateAPIKeyWithResponse(ctx context.Context, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)
// RevokeAPIKeyWithResponse request
RevokeAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RevokeAPIKeyResponse, error)
// GetAPIKeyWithResponse request
GetAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAPIKeyResponse, error)
// UpdateAPIKeyWithBodyWithResponse request with any body
UpdateAPIKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAPIKeyResponse, error)
UpdateAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAPIKeyResponse, error)
// RegenerateAPIKeyWithResponse request
RegenerateAPIKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RegenerateAPIKeyResponse, error)
// GetAppDeploymentWithResponse request
GetAppDeploymentWithResponse(ctx context.Context, deploymentID AppDeploymentIDPath, reqEditors ...RequestEditorFn) (*GetAppDeploymentResponse, error)
// GetAppDeploymentLogsWithResponse request
GetAppDeploymentLogsWithResponse(ctx context.Context, deploymentID AppDeploymentIDPath, reqEditors ...RequestEditorFn) (*GetAppDeploymentLogsResponse, error)
// DeleteAppCustomDomainWithResponse request
DeleteAppCustomDomainWithResponse(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*DeleteAppCustomDomainResponse, error)
// RetryAppDomainVerificationWithResponse request
RetryAppDomainVerificationWithResponse(ctx context.Context, domainID AppDomainIDPath, reqEditors ...RequestEditorFn) (*RetryAppDomainVerificationResponse, error)
// CancelAppJobRunWithResponse request
CancelAppJobRunWithResponse(ctx context.Context, runID openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelAppJobRunResponse, error)
// ListAppServicesWithResponse request
ListAppServicesWithResponse(ctx context.Context, params *ListAppServicesParams, reqEditors ...RequestEditorFn) (*ListAppServicesResponse, error)
// CreateAppServiceWithBodyWithResponse request with any body
CreateAppServiceWithBodyWithResponse(ctx context.Context, params *CreateAppServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAppServiceResponse, error)
CreateAppServiceWithResponse(ctx context.Context, params *CreateAppServiceParams, body CreateAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAppServiceResponse, error)
// DeleteAppServiceWithResponse request
DeleteAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*DeleteAppServiceResponse, error)
// GetAppServiceWithResponse request
GetAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*GetAppServiceResponse, error)
// ListAppDeploymentsWithResponse request
ListAppDeploymentsWithResponse(ctx context.Context, serviceID AppServiceRef, params *ListAppDeploymentsParams, reqEditors ...RequestEditorFn) (*ListAppDeploymentsResponse, error)
// CreateAppDeploymentWithBodyWithResponse request with any body
CreateAppDeploymentWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAppDeploymentResponse, error)
CreateAppDeploymentWithResponse(ctx context.Context, serviceID AppServiceRef, body CreateAppDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAppDeploymentResponse, error)
// ListAppCustomDomainsWithResponse request
ListAppCustomDomainsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ListAppCustomDomainsResponse, error)
// AddAppCustomDomainWithBodyWithResponse request with any body
AddAppCustomDomainWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddAppCustomDomainResponse, error)
AddAppCustomDomainWithResponse(ctx context.Context, serviceID AppServiceRef, body AddAppCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*AddAppCustomDomainResponse, error)
// ListAppEnvVarsWithResponse request
ListAppEnvVarsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ListAppEnvVarsResponse, error)
// SetAppEnvVarWithBodyWithResponse request with any body
SetAppEnvVarWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAppEnvVarResponse, error)
SetAppEnvVarWithResponse(ctx context.Context, serviceID AppServiceRef, body SetAppEnvVarJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAppEnvVarResponse, error)
// BulkSetAppEnvVarsWithBodyWithResponse request with any body
BulkSetAppEnvVarsWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkSetAppEnvVarsResponse, error)
BulkSetAppEnvVarsWithResponse(ctx context.Context, serviceID AppServiceRef, body BulkSetAppEnvVarsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkSetAppEnvVarsResponse, error)
// RevealAppEnvVarsWithResponse request
RevealAppEnvVarsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*RevealAppEnvVarsResponse, error)
// DeleteAppEnvVarWithResponse request
DeleteAppEnvVarWithResponse(ctx context.Context, serviceID AppServiceRef, key string, reqEditors ...RequestEditorFn) (*DeleteAppEnvVarResponse, error)
// RunAppJobWithResponse request
RunAppJobWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*RunAppJobResponse, error)
// ListAppJobRunsWithResponse request
ListAppJobRunsWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ListAppJobRunsResponse, error)
// ListAppLogsWithResponse request
ListAppLogsWithResponse(ctx context.Context, serviceID AppServiceRef, params *ListAppLogsParams, reqEditors ...RequestEditorFn) (*ListAppLogsResponse, error)
// GetAppServiceMetricsWithResponse request
GetAppServiceMetricsWithResponse(ctx context.Context, serviceID AppServiceRef, params *GetAppServiceMetricsParams, reqEditors ...RequestEditorFn) (*GetAppServiceMetricsResponse, error)
// PauseAppServiceWithResponse request
PauseAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*PauseAppServiceResponse, error)
// ResumeAppServiceWithResponse request
ResumeAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*ResumeAppServiceResponse, error)
// RollbackAppServiceWithBodyWithResponse request with any body
RollbackAppServiceWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RollbackAppServiceResponse, error)
RollbackAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, body RollbackAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*RollbackAppServiceResponse, error)
// ScaleAppServiceWithBodyWithResponse request with any body
ScaleAppServiceWithBodyWithResponse(ctx context.Context, serviceID AppServiceRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleAppServiceResponse, error)
ScaleAppServiceWithResponse(ctx context.Context, serviceID AppServiceRef, body ScaleAppServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleAppServiceResponse, error)
// RequestAppSourceUploadWithResponse request
RequestAppSourceUploadWithResponse(ctx context.Context, serviceID AppServiceRef, reqEditors ...RequestEditorFn) (*RequestAppSourceUploadResponse, error)
// GetAppSpendSettingsWithResponse request
GetAppSpendSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAppSpendSettingsResponse, error)
// UpdateAppSpendSettingsWithBodyWithResponse request with any body
UpdateAppSpendSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppSpendSettingsResponse, error)
UpdateAppSpendSettingsWithResponse(ctx context.Context, body UpdateAppSpendSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppSpendSettingsResponse, error)
// ListAppTiersWithResponse request
ListAppTiersWithResponse(ctx context.Context, params *ListAppTiersParams, reqEditors ...RequestEditorFn) (*ListAppTiersResponse, error)
// GetAppsUsageWithResponse request
GetAppsUsageWithResponse(ctx context.Context, params *GetAppsUsageParams, reqEditors ...RequestEditorFn) (*GetAppsUsageResponse, error)
// ListBackupSchedulesWithResponse request
ListBackupSchedulesWithResponse(ctx context.Context, params *ListBackupSchedulesParams, reqEditors ...RequestEditorFn) (*ListBackupSchedulesResponse, error)
// CreateBackupScheduleWithBodyWithResponse request with any body
CreateBackupScheduleWithBodyWithResponse(ctx context.Context, params *CreateBackupScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBackupScheduleResponse, error)
CreateBackupScheduleWithResponse(ctx context.Context, params *CreateBackupScheduleParams, body CreateBackupScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBackupScheduleResponse, error)
// DeleteBackupScheduleWithResponse request
DeleteBackupScheduleWithResponse(ctx context.Context, id int, params *DeleteBackupScheduleParams, reqEditors ...RequestEditorFn) (*DeleteBackupScheduleResponse, error)
// GetBackupScheduleWithResponse request
GetBackupScheduleWithResponse(ctx context.Context, id int, params *GetBackupScheduleParams, reqEditors ...RequestEditorFn) (*GetBackupScheduleResponse, error)
// UpdateBackupScheduleWithBodyWithResponse request with any body
UpdateBackupScheduleWithBodyWithResponse(ctx context.Context, id int, params *UpdateBackupScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBackupScheduleResponse, error)
UpdateBackupScheduleWithResponse(ctx context.Context, id int, params *UpdateBackupScheduleParams, body UpdateBackupScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBackupScheduleResponse, error)
// ListBackupsWithResponse request
ListBackupsWithResponse(ctx context.Context, params *ListBackupsParams, reqEditors ...RequestEditorFn) (*ListBackupsResponse, error)
// CreateBackupWithBodyWithResponse request with any body
CreateBackupWithBodyWithResponse(ctx context.Context, params *CreateBackupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBackupResponse, error)
CreateBackupWithResponse(ctx context.Context, params *CreateBackupParams, body CreateBackupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBackupResponse, error)
// DeleteBackupWithResponse request
DeleteBackupWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteBackupParams, reqEditors ...RequestEditorFn) (*DeleteBackupResponse, error)
// GetBackupWithResponse request
GetBackupWithResponse(ctx context.Context, id openapi_types.UUID, params *GetBackupParams, reqEditors ...RequestEditorFn) (*GetBackupResponse, error)
// DeleteBackupChainWithResponse request
DeleteBackupChainWithResponse(ctx context.Context, id openapi_types.UUID, params *DeleteBackupChainParams, reqEditors ...RequestEditorFn) (*DeleteBackupChainResponse, error)
// RestoreBackupWithResponse request
RestoreBackupWithResponse(ctx context.Context, id openapi_types.UUID, params *RestoreBackupParams, reqEditors ...RequestEditorFn) (*RestoreBackupResponse, error)
// ListDatabasesWithResponse request
ListDatabasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatabasesResponse, error)
// CreateDatabaseWithBodyWithResponse request with any body
CreateDatabaseWithBodyWithResponse(ctx context.Context, params *CreateDatabaseParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatabaseResponse, error)
CreateDatabaseWithResponse(ctx context.Context, params *CreateDatabaseParams, body CreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatabaseResponse, error)
// ListDatabaseEnginesWithResponse request
ListDatabaseEnginesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatabaseEnginesResponse, error)
// ListDatabasePlansWithResponse request
ListDatabasePlansWithResponse(ctx context.Context, params *ListDatabasePlansParams, reqEditors ...RequestEditorFn) (*ListDatabasePlansResponse, error)
// DeleteDatabaseWithResponse request
DeleteDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*DeleteDatabaseResponse, error)
// GetDatabaseWithResponse request
GetDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*GetDatabaseResponse, error)
// UpdateDatabaseWithBodyWithResponse request with any body
UpdateDatabaseWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatabaseResponse, error)
UpdateDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, body UpdateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatabaseResponse, error)
// ListDatabaseBackupsWithResponse request
ListDatabaseBackupsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*ListDatabaseBackupsResponse, error)
// CreateDatabaseBackupWithResponse request
CreateDatabaseBackupWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*CreateDatabaseBackupResponse, error)
// GetDatabaseConnectionWithResponse request
GetDatabaseConnectionWithResponse(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseConnectionParams, reqEditors ...RequestEditorFn) (*GetDatabaseConnectionResponse, error)
// RotateDatabaseCredentialsWithResponse request
RotateDatabaseCredentialsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*RotateDatabaseCredentialsResponse, error)
// ListDatabaseExtensionsWithResponse request
ListDatabaseExtensionsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*ListDatabaseExtensionsResponse, error)
// SetDatabaseExtensionWithBodyWithResponse request with any body
SetDatabaseExtensionWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDatabaseExtensionResponse, error)
SetDatabaseExtensionWithResponse(ctx context.Context, databaseID DatabaseIDPath, body SetDatabaseExtensionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDatabaseExtensionResponse, error)
// GetDatabaseLogsWithResponse request
GetDatabaseLogsWithResponse(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseLogsParams, reqEditors ...RequestEditorFn) (*GetDatabaseLogsResponse, error)
// GetDatabaseMetricsWithResponse request
GetDatabaseMetricsWithResponse(ctx context.Context, databaseID DatabaseIDPath, reqEditors ...RequestEditorFn) (*GetDatabaseMetricsResponse, error)
// GetDatabaseMetricsHistoryWithResponse request
GetDatabaseMetricsHistoryWithResponse(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseMetricsHistoryParams, reqEditors ...RequestEditorFn) (*GetDatabaseMetricsHistoryResponse, error)
// SetDatabasePublicAccessWithBodyWithResponse request with any body
SetDatabasePublicAccessWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDatabasePublicAccessResponse, error)
SetDatabasePublicAccessWithResponse(ctx context.Context, databaseID DatabaseIDPath, body SetDatabasePublicAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDatabasePublicAccessResponse, error)
// RestoreDatabaseWithBodyWithResponse request with any body
RestoreDatabaseWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)
RestoreDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, body RestoreDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*RestoreDatabaseResponse, error)
// ResumeDatabaseWithResponse request
ResumeDatabaseWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*ResumeDatabaseResponse, error)
// ScaleDatabaseWithBodyWithResponse request with any body
ScaleDatabaseWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleDatabaseResponse, error)
ScaleDatabaseWithResponse(ctx context.Context, databaseID DatabaseIDPath, body ScaleDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleDatabaseResponse, error)
// GetDatabaseSlowQueriesWithResponse request
GetDatabaseSlowQueriesWithResponse(ctx context.Context, databaseID DatabaseIDPath, params *GetDatabaseSlowQueriesParams, reqEditors ...RequestEditorFn) (*GetDatabaseSlowQueriesResponse, error)
// ConnectDatabaseVPCWithBodyWithResponse request with any body
ConnectDatabaseVPCWithBodyWithResponse(ctx context.Context, databaseID DatabaseIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectDatabaseVPCResponse, error)
ConnectDatabaseVPCWithResponse(ctx context.Context, databaseID DatabaseIDPath, body ConnectDatabaseVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectDatabaseVPCResponse, error)
// ListFunctionsWithResponse request
ListFunctionsWithResponse(ctx context.Context, params *ListFunctionsParams, reqEditors ...RequestEditorFn) (*ListFunctionsResponse, error)
// CreateFunctionWithBodyWithResponse request with any body
CreateFunctionWithBodyWithResponse(ctx context.Context, params *CreateFunctionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)
CreateFunctionWithResponse(ctx context.Context, params *CreateFunctionParams, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)
// ConvertLambdaWithBodyWithResponse request with any body
ConvertLambdaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConvertLambdaResponse, error)
ConvertLambdaWithResponse(ctx context.Context, body ConvertLambdaJSONRequestBody, reqEditors ...RequestEditorFn) (*ConvertLambdaResponse, error)
// GetFunctionsSpendSettingsWithResponse request
GetFunctionsSpendSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFunctionsSpendSettingsResponse, error)
// UpdateFunctionsSpendSettingsWithBodyWithResponse request with any body
UpdateFunctionsSpendSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionsSpendSettingsResponse, error)
UpdateFunctionsSpendSettingsWithResponse(ctx context.Context, body UpdateFunctionsSpendSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionsSpendSettingsResponse, error)
// GetFunctionsUsageWithResponse request
GetFunctionsUsageWithResponse(ctx context.Context, params *GetFunctionsUsageParams, reqEditors ...RequestEditorFn) (*GetFunctionsUsageResponse, error)
// DeleteFunctionWithResponse request
DeleteFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)
// GetFunctionWithResponse request
GetFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)
// UpdateFunctionWithBodyWithResponse request with any body
UpdateFunctionWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)
UpdateFunctionWithResponse(ctx context.Context, functionID FunctionRef, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)
// ListFunctionBindingsWithResponse request
ListFunctionBindingsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionBindingsResponse, error)
// CreateFunctionBindingWithBodyWithResponse request with any body
CreateFunctionBindingWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionBindingResponse, error)
CreateFunctionBindingWithResponse(ctx context.Context, functionID FunctionRef, body CreateFunctionBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionBindingResponse, error)
// DeleteFunctionBindingWithResponse request
DeleteFunctionBindingWithResponse(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteFunctionBindingResponse, error)
// RotateFunctionBindingWithResponse request
RotateFunctionBindingWithResponse(ctx context.Context, functionID FunctionRef, bindingID openapi_types.UUID, reqEditors ...RequestEditorFn) (*RotateFunctionBindingResponse, error)
// ListFunctionDeploymentsWithResponse request
ListFunctionDeploymentsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionDeploymentsResponse, error)
// CreateFunctionDeploymentWithBodyWithResponse request with any body
CreateFunctionDeploymentWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionDeploymentResponse, error)
CreateFunctionDeploymentWithResponse(ctx context.Context, functionID FunctionRef, body CreateFunctionDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionDeploymentResponse, error)
// GetFunctionDeploymentWithResponse request
GetFunctionDeploymentWithResponse(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetFunctionDeploymentResponse, error)
// GetFunctionDeploymentLogsWithResponse request
GetFunctionDeploymentLogsWithResponse(ctx context.Context, functionID FunctionRef, deploymentID openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetFunctionDeploymentLogsResponse, error)
// ListFunctionEnvVarsWithResponse request
ListFunctionEnvVarsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionEnvVarsResponse, error)
// SetFunctionEnvVarWithBodyWithResponse request with any body
SetFunctionEnvVarWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetFunctionEnvVarResponse, error)
SetFunctionEnvVarWithResponse(ctx context.Context, functionID FunctionRef, body SetFunctionEnvVarJSONRequestBody, reqEditors ...RequestEditorFn) (*SetFunctionEnvVarResponse, error)
// RevealFunctionEnvVarsWithResponse request
RevealFunctionEnvVarsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*RevealFunctionEnvVarsResponse, error)
// DeleteFunctionEnvVarWithResponse request
DeleteFunctionEnvVarWithResponse(ctx context.Context, functionID FunctionRef, key string, reqEditors ...RequestEditorFn) (*DeleteFunctionEnvVarResponse, error)
// ListFunctionInvocationsWithResponse request
ListFunctionInvocationsWithResponse(ctx context.Context, functionID FunctionRef, params *ListFunctionInvocationsParams, reqEditors ...RequestEditorFn) (*ListFunctionInvocationsResponse, error)
// ListFunctionLogsWithResponse request
ListFunctionLogsWithResponse(ctx context.Context, functionID FunctionRef, params *ListFunctionLogsParams, reqEditors ...RequestEditorFn) (*ListFunctionLogsResponse, error)
// GetFunctionMetricsWithResponse request
GetFunctionMetricsWithResponse(ctx context.Context, functionID FunctionRef, params *GetFunctionMetricsParams, reqEditors ...RequestEditorFn) (*GetFunctionMetricsResponse, error)
// PauseFunctionWithResponse request
PauseFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*PauseFunctionResponse, error)
// ResumeFunctionWithResponse request
ResumeFunctionWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ResumeFunctionResponse, error)
// ListFunctionRevisionsWithResponse request
ListFunctionRevisionsWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionRevisionsResponse, error)
// RollbackFunctionWithBodyWithResponse request with any body
RollbackFunctionWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RollbackFunctionResponse, error)
RollbackFunctionWithResponse(ctx context.Context, functionID FunctionRef, body RollbackFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*RollbackFunctionResponse, error)
// GetFunctionSourceWithResponse request
GetFunctionSourceWithResponse(ctx context.Context, functionID FunctionRef, params *GetFunctionSourceParams, reqEditors ...RequestEditorFn) (*GetFunctionSourceResponse, error)
// RequestFunctionSourceUploadWithResponse request
RequestFunctionSourceUploadWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*RequestFunctionSourceUploadResponse, error)
// ListFunctionTriggerRunsWithResponse request
ListFunctionTriggerRunsWithResponse(ctx context.Context, functionID FunctionRef, params *ListFunctionTriggerRunsParams, reqEditors ...RequestEditorFn) (*ListFunctionTriggerRunsResponse, error)
// ListFunctionTriggersWithResponse request
ListFunctionTriggersWithResponse(ctx context.Context, functionID FunctionRef, reqEditors ...RequestEditorFn) (*ListFunctionTriggersResponse, error)
// CreateFunctionTriggerWithBodyWithResponse request with any body
CreateFunctionTriggerWithBodyWithResponse(ctx context.Context, functionID FunctionRef, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFunctionTriggerResponse, error)
CreateFunctionTriggerWithResponse(ctx context.Context, functionID FunctionRef, body CreateFunctionTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionTriggerResponse, error)
// DeleteFunctionTriggerWithResponse request
DeleteFunctionTriggerWithResponse(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteFunctionTriggerResponse, error)
// UpdateFunctionTriggerWithBodyWithResponse request with any body
UpdateFunctionTriggerWithBodyWithResponse(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionTriggerResponse, error)
UpdateFunctionTriggerWithResponse(ctx context.Context, functionID FunctionRef, triggerID openapi_types.UUID, body UpdateFunctionTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionTriggerResponse, error)
// CreateAccountInvitationWithBodyWithResponse request with any body
CreateAccountInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccountInvitationResponse, error)
CreateAccountInvitationWithResponse(ctx context.Context, body CreateAccountInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccountInvitationResponse, error)
// CancelInvitationWithResponse request
CancelInvitationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelInvitationResponse, error)
// ListIPsWithResponse request
ListIPsWithResponse(ctx context.Context, params *ListIPsParams, reqEditors ...RequestEditorFn) (*ListIPsResponse, error)
// ReserveIPWithBodyWithResponse request with any body
ReserveIPWithBodyWithResponse(ctx context.Context, params *ReserveIPParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReserveIPResponse, error)
ReserveIPWithResponse(ctx context.Context, params *ReserveIPParams, body ReserveIPJSONRequestBody, reqEditors ...RequestEditorFn) (*ReserveIPResponse, error)
// GetIPWithResponse request
GetIPWithResponse(ctx context.Context, id IPIDPath, reqEditors ...RequestEditorFn) (*GetIPResponse, error)
// ChangeIPWithResponse request
ChangeIPWithResponse(ctx context.Context, id IPIDPath, params *ChangeIPParams, reqEditors ...RequestEditorFn) (*ChangeIPResponse, error)
// ReleaseIPWithResponse request
ReleaseIPWithResponse(ctx context.Context, id IPIDPath, params *ReleaseIPParams, reqEditors ...RequestEditorFn) (*ReleaseIPResponse, error)
// ListK8SClustersWithResponse request
ListK8SClustersWithResponse(ctx context.Context, params *ListK8SClustersParams, reqEditors ...RequestEditorFn) (*ListK8SClustersResponse, error)
// CreateK8SClusterWithBodyWithResponse request with any body
CreateK8SClusterWithBodyWithResponse(ctx context.Context, params *CreateK8SClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateK8SClusterResponse, error)
CreateK8SClusterWithResponse(ctx context.Context, params *CreateK8SClusterParams, body CreateK8SClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateK8SClusterResponse, error)
// GetK8SClusterStatsWithResponse request
GetK8SClusterStatsWithResponse(ctx context.Context, params *GetK8SClusterStatsParams, reqEditors ...RequestEditorFn) (*GetK8SClusterStatsResponse, error)
// DeleteK8SClusterWithResponse request
DeleteK8SClusterWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *DeleteK8SClusterParams, reqEditors ...RequestEditorFn) (*DeleteK8SClusterResponse, error)
// GetK8SClusterWithResponse request
GetK8SClusterWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterParams, reqEditors ...RequestEditorFn) (*GetK8SClusterResponse, error)
// RenameK8SClusterWithBodyWithResponse request with any body
RenameK8SClusterWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameK8SClusterResponse, error)
RenameK8SClusterWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *RenameK8SClusterParams, body RenameK8SClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameK8SClusterResponse, error)
// ListK8SClusterEventsWithResponse request
ListK8SClusterEventsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterEventsParams, reqEditors ...RequestEditorFn) (*ListK8SClusterEventsResponse, error)
// ResetK8SClusterFirewallWithResponse request
ResetK8SClusterFirewallWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ResetK8SClusterFirewallParams, reqEditors ...RequestEditorFn) (*ResetK8SClusterFirewallResponse, error)
// GetK8SClusterFirewallWithResponse request
GetK8SClusterFirewallWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterFirewallParams, reqEditors ...RequestEditorFn) (*GetK8SClusterFirewallResponse, error)
// AssignK8SClusterFirewallWithBodyWithResponse request with any body
AssignK8SClusterFirewallWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *AssignK8SClusterFirewallParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AssignK8SClusterFirewallResponse, error)
AssignK8SClusterFirewallWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *AssignK8SClusterFirewallParams, body AssignK8SClusterFirewallJSONRequestBody, reqEditors ...RequestEditorFn) (*AssignK8SClusterFirewallResponse, error)
// UpgradeK8SClusterHAWithResponse request
UpgradeK8SClusterHAWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterHAParams, reqEditors ...RequestEditorFn) (*UpgradeK8SClusterHAResponse, error)
// GetK8SKubeconfigWithResponse request
GetK8SKubeconfigWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SKubeconfigParams, reqEditors ...RequestEditorFn) (*GetK8SKubeconfigResponse, error)
// RotateK8SKubeconfigAccessWithResponse request
RotateK8SKubeconfigAccessWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *RotateK8SKubeconfigAccessParams, reqEditors ...RequestEditorFn) (*RotateK8SKubeconfigAccessResponse, error)
// UpdateK8SClusterMaintenanceWithBodyWithResponse request with any body
UpdateK8SClusterMaintenanceWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SClusterMaintenanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateK8SClusterMaintenanceResponse, error)
UpdateK8SClusterMaintenanceWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SClusterMaintenanceParams, body UpdateK8SClusterMaintenanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateK8SClusterMaintenanceResponse, error)
// GetK8SMetalLBPoolWithResponse request
GetK8SMetalLBPoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SMetalLBPoolParams, reqEditors ...RequestEditorFn) (*GetK8SMetalLBPoolResponse, error)
// UpdateK8SMetalLBPoolWithBodyWithResponse request with any body
UpdateK8SMetalLBPoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateK8SMetalLBPoolResponse, error)
UpdateK8SMetalLBPoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpdateK8SMetalLBPoolParams, body UpdateK8SMetalLBPoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateK8SMetalLBPoolResponse, error)
// GetK8SClusterMetricsWithResponse request
GetK8SClusterMetricsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *GetK8SClusterMetricsParams, reqEditors ...RequestEditorFn) (*GetK8SClusterMetricsResponse, error)
// ListK8SClusterNodesWithResponse request
ListK8SClusterNodesWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterNodesParams, reqEditors ...RequestEditorFn) (*ListK8SClusterNodesResponse, error)
// ListK8SNodePoolsWithResponse request
ListK8SNodePoolsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SNodePoolsParams, reqEditors ...RequestEditorFn) (*ListK8SNodePoolsResponse, error)
// AddK8SNodePoolWithBodyWithResponse request with any body
AddK8SNodePoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddK8SNodePoolResponse, error)
AddK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *AddK8SNodePoolParams, body AddK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*AddK8SNodePoolResponse, error)
// DeleteK8SNodePoolWithResponse request
DeleteK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *DeleteK8SNodePoolParams, reqEditors ...RequestEditorFn) (*DeleteK8SNodePoolResponse, error)
// UpdateK8SNodePoolWithBodyWithResponse request with any body
UpdateK8SNodePoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *UpdateK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateK8SNodePoolResponse, error)
UpdateK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *UpdateK8SNodePoolParams, body UpdateK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateK8SNodePoolResponse, error)
// ScaleK8SNodePoolWithBodyWithResponse request with any body
ScaleK8SNodePoolWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *ScaleK8SNodePoolParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleK8SNodePoolResponse, error)
ScaleK8SNodePoolWithResponse(ctx context.Context, clusterID K8SClusterIDPath, poolID K8SPoolIDPath, params *ScaleK8SNodePoolParams, body ScaleK8SNodePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleK8SNodePoolResponse, error)
// ListK8STcpPortsWithResponse request
ListK8STcpPortsWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8STcpPortsParams, reqEditors ...RequestEditorFn) (*ListK8STcpPortsResponse, error)
// DeleteK8STcpPortWithResponse request
DeleteK8STcpPortWithResponse(ctx context.Context, clusterID K8SClusterIDPath, port int, params *DeleteK8STcpPortParams, reqEditors ...RequestEditorFn) (*DeleteK8STcpPortResponse, error)
// UpgradeK8SClusterVersionWithBodyWithResponse request with any body
UpgradeK8SClusterVersionWithBodyWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterVersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeK8SClusterVersionResponse, error)
UpgradeK8SClusterVersionWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *UpgradeK8SClusterVersionParams, body UpgradeK8SClusterVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeK8SClusterVersionResponse, error)
// ListK8SClusterUpgradesWithResponse request
ListK8SClusterUpgradesWithResponse(ctx context.Context, clusterID K8SClusterIDPath, params *ListK8SClusterUpgradesParams, reqEditors ...RequestEditorFn) (*ListK8SClusterUpgradesResponse, error)
// ListK8SNodePlansWithResponse request
ListK8SNodePlansWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListK8SNodePlansResponse, error)
// ListK8SVersionsWithResponse request
ListK8SVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListK8SVersionsResponse, error)
// ListMembersWithResponse request
ListMembersWithResponse(ctx context.Context, params *ListMembersParams, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)
// AddMemberWithBodyWithResponse request with any body
AddMemberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMemberResponse, error)
AddMemberWithResponse(ctx context.Context, body AddMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMemberResponse, error)
// RemoveMemberWithResponse request
RemoveMemberWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveMemberResponse, error)
// GetMemberWithResponse request
GetMemberWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMemberResponse, error)
// UpdateMemberWithBodyWithResponse request with any body
UpdateMemberWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMemberResponse, error)
UpdateMemberWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMemberResponse, error)
// ListPermissionsWithResponse request
ListPermissionsWithResponse(ctx context.Context, params *ListPermissionsParams, reqEditors ...RequestEditorFn) (*ListPermissionsResponse, error)
// ListProjectsWithResponse request
ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
// CreateProjectWithBodyWithResponse request with any body
CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)
// DeleteProjectWithResponse request
DeleteProjectWithResponse(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)
// GetProjectWithResponse request
GetProjectWithResponse(ctx context.Context, id ProjectIDPath, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)
// UpdateProjectWithBodyWithResponse request with any body
UpdateProjectWithBodyWithResponse(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
UpdateProjectWithResponse(ctx context.Context, id ProjectIDPath, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)
// CreateProjectInvitationWithBodyWithResponse request with any body
CreateProjectInvitationWithBodyWithResponse(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectInvitationResponse, error)
CreateProjectInvitationWithResponse(ctx context.Context, id ProjectIDPath, body CreateProjectInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectInvitationResponse, error)
// ListProjectMembersWithResponse request
ListProjectMembersWithResponse(ctx context.Context, id ProjectIDPath, params *ListProjectMembersParams, reqEditors ...RequestEditorFn) (*ListProjectMembersResponse, error)
// AddProjectMemberWithBodyWithResponse request with any body
AddProjectMemberWithBodyWithResponse(ctx context.Context, id ProjectIDPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddProjectMemberResponse, error)
AddProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, body AddProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*AddProjectMemberResponse, error)
// RemoveProjectMemberWithResponse request
RemoveProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveProjectMemberResponse, error)
// GetProjectMemberWithResponse request
GetProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProjectMemberResponse, error)
// UpdateProjectMemberWithBodyWithResponse request with any body
UpdateProjectMemberWithBodyWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectMemberResponse, error)
UpdateProjectMemberWithResponse(ctx context.Context, id ProjectIDPath, memberID openapi_types.UUID, body UpdateProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectMemberResponse, error)
// ListFunctionRuntimesWithResponse request
ListFunctionRuntimesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListFunctionRuntimesResponse, error)
// GetAppsPricingWithResponse request
GetAppsPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAppsPricingResponse, error)
// ListBackupPricingWithResponse request
ListBackupPricingWithResponse(ctx context.Context, params *ListBackupPricingParams, reqEditors ...RequestEditorFn) (*ListBackupPricingResponse, error)
// ListDatabasePricingWithResponse request
ListDatabasePricingWithResponse(ctx context.Context, params *ListDatabasePricingParams, reqEditors ...RequestEditorFn) (*ListDatabasePricingResponse, error)
// GetFunctionsPricingWithResponse request
GetFunctionsPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFunctionsPricingResponse, error)
// ListIPPricingWithResponse request
ListIPPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListIPPricingResponse, error)
// ListKubernetesPricingWithResponse request
ListKubernetesPricingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListKubernetesPricingResponse, error)
// ListSnapshotPricingWithResponse request
ListSnapshotPricingWithResponse(ctx context.Context, params *ListSnapshotPricingParams, reqEditors ...RequestEditorFn) (*ListSnapshotPricingResponse, error)
// ListVMPricingWithResponse request
ListVMPricingWithResponse(ctx context.Context, params *ListVMPricingParams, reqEditors ...RequestEditorFn) (*ListVMPricingResponse, error)
// ListVolumePricingWithResponse request
ListVolumePricingWithResponse(ctx context.Context, params *ListVolumePricingParams, reqEditors ...RequestEditorFn) (*ListVolumePricingResponse, error)
// ListRegionsWithResponse request
ListRegionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRegionsResponse, error)
// ListTemplatesWithResponse request
ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*ListTemplatesResponse, error)
// ListRolesWithResponse request
ListRolesWithResponse(ctx context.Context, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)
// CreateRoleWithBodyWithResponse request with any body
CreateRoleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)
CreateRoleWithResponse(ctx context.Context, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)
// DeleteRoleWithResponse request
DeleteRoleWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteRoleResponse, error)
// GetRoleWithResponse request
GetRoleWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRoleResponse, error)
// UpdateRoleWithBodyWithResponse request with any body
UpdateRoleWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRoleResponse, error)
UpdateRoleWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRoleResponse, error)
// ListSecurityGroupsWithResponse request
ListSecurityGroupsWithResponse(ctx context.Context, params *ListSecurityGroupsParams, reqEditors ...RequestEditorFn) (*ListSecurityGroupsResponse, error)
// CreateSecurityGroupWithBodyWithResponse request with any body
CreateSecurityGroupWithBodyWithResponse(ctx context.Context, params *CreateSecurityGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error)
CreateSecurityGroupWithResponse(ctx context.Context, params *CreateSecurityGroupParams, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error)
// ListSecurityGroupTemplatesWithResponse request
ListSecurityGroupTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecurityGroupTemplatesResponse, error)
// DeleteSecurityGroupWithResponse request
DeleteSecurityGroupWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, params *DeleteSecurityGroupParams, reqEditors ...RequestEditorFn) (*DeleteSecurityGroupResponse, error)
// GetSecurityGroupWithResponse request
GetSecurityGroupWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, params *GetSecurityGroupParams, reqEditors ...RequestEditorFn) (*GetSecurityGroupResponse, error)
// UpdateSecurityGroupWithBodyWithResponse request with any body
UpdateSecurityGroupWithBodyWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, params *UpdateSecurityGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupResponse, error)
UpdateSecurityGroupWithResponse(ctx context.Context, id SecurityGroupResourceIDPath, params *UpdateSecurityGroupParams, body UpdateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecurityGroupResponse, error)
// ListSnapshotsWithResponse request
ListSnapshotsWithResponse(ctx context.Context, params *ListSnapshotsParams, reqEditors ...RequestEditorFn) (*ListSnapshotsResponse, error)
// CreateSnapshotWithBodyWithResponse request with any body
CreateSnapshotWithBodyWithResponse(ctx context.Context, params *CreateSnapshotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSnapshotResponse, error)
CreateSnapshotWithResponse(ctx context.Context, params *CreateSnapshotParams, body CreateSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSnapshotResponse, error)
// DeleteSnapshotWithResponse request
DeleteSnapshotWithResponse(ctx context.Context, id int, params *DeleteSnapshotParams, reqEditors ...RequestEditorFn) (*DeleteSnapshotResponse, error)
// GetSnapshotWithResponse request
GetSnapshotWithResponse(ctx context.Context, id int, params *GetSnapshotParams, reqEditors ...RequestEditorFn) (*GetSnapshotResponse, error)
// RenameSnapshotWithBodyWithResponse request with any body
RenameSnapshotWithBodyWithResponse(ctx context.Context, id int, params *RenameSnapshotParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameSnapshotResponse, error)
RenameSnapshotWithResponse(ctx context.Context, id int, params *RenameSnapshotParams, body RenameSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameSnapshotResponse, error)
// RestoreSnapshotWithResponse request
RestoreSnapshotWithResponse(ctx context.Context, id int, params *RestoreSnapshotParams, reqEditors ...RequestEditorFn) (*RestoreSnapshotResponse, error)
// ListSSHKeysWithResponse request
ListSSHKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSSHKeysResponse, error)
// CreateSSHKeyWithBodyWithResponse request with any body
CreateSSHKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSSHKeyResponse, error)
CreateSSHKeyWithResponse(ctx context.Context, body CreateSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSSHKeyResponse, error)
// DeleteSSHKeyWithResponse request
DeleteSSHKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSSHKeyResponse, error)
// GetSSHKeyWithResponse request
GetSSHKeyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSSHKeyResponse, error)
// UpdateSSHKeyWithBodyWithResponse request with any body
UpdateSSHKeyWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSSHKeyResponse, error)
UpdateSSHKeyWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateSSHKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSSHKeyResponse, error)
// ListVMsWithResponse request
ListVMsWithResponse(ctx context.Context, params *ListVMsParams, reqEditors ...RequestEditorFn) (*ListVMsResponse, error)
// CreateVMWithBodyWithResponse request with any body
CreateVMWithBodyWithResponse(ctx context.Context, params *CreateVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVMResponse, error)
CreateVMWithResponse(ctx context.Context, params *CreateVMParams, body CreateVMJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVMResponse, error)
// DeleteVMsBulkWithBodyWithResponse request with any body
DeleteVMsBulkWithBodyWithResponse(ctx context.Context, params *DeleteVMsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVMsBulkResponse, error)
DeleteVMsBulkWithResponse(ctx context.Context, params *DeleteVMsBulkParams, body DeleteVMsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVMsBulkResponse, error)
// DeleteVMWithBodyWithResponse request with any body
DeleteVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *DeleteVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteVMResponse, error)
DeleteVMWithResponse(ctx context.Context, id VMIDPath, params *DeleteVMParams, body DeleteVMJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteVMResponse, error)
// GetVMWithResponse request
GetVMWithResponse(ctx context.Context, id VMIDPath, reqEditors ...RequestEditorFn) (*GetVMResponse, error)
// ResetBackupChainWithResponse request
ResetBackupChainWithResponse(ctx context.Context, id openapi_types.UUID, params *ResetBackupChainParams, reqEditors ...RequestEditorFn) (*ResetBackupChainResponse, error)
// ResizeVMDiskWithBodyWithResponse request with any body
ResizeVMDiskWithBodyWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeVMDiskResponse, error)
ResizeVMDiskWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMDiskParams, body ResizeVMDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeVMDiskResponse, error)
// FactoryResetVMWithResponse request
FactoryResetVMWithResponse(ctx context.Context, id VMIDPath, params *FactoryResetVMParams, reqEditors ...RequestEditorFn) (*FactoryResetVMResponse, error)
// AttachVMIPWithBodyWithResponse request with any body
AttachVMIPWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AttachVMIPParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachVMIPResponse, error)
AttachVMIPWithResponse(ctx context.Context, id VMIDPath, params *AttachVMIPParams, body AttachVMIPJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachVMIPResponse, error)
// DetachVMIPWithResponse request
DetachVMIPWithResponse(ctx context.Context, id VMIDPath, nicID NICIDPath, params *DetachVMIPParams, reqEditors ...RequestEditorFn) (*DetachVMIPResponse, error)
// ListVMNetworksWithResponse request
ListVMNetworksWithResponse(ctx context.Context, id VMIDPath, params *ListVMNetworksParams, reqEditors ...RequestEditorFn) (*ListVMNetworksResponse, error)
// GetVMNotesWithResponse request
GetVMNotesWithResponse(ctx context.Context, id VMIDPath, params *GetVMNotesParams, reqEditors ...RequestEditorFn) (*GetVMNotesResponse, error)
// UpdateVMNoteWithBodyWithResponse request with any body
UpdateVMNoteWithBodyWithResponse(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, params *UpdateVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVMNoteResponse, error)
UpdateVMNoteWithResponse(ctx context.Context, id VMIDPath, pType UpdateVMNoteParamsType, params *UpdateVMNoteParams, body UpdateVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVMNoteResponse, error)
// UpsertVMNoteWithBodyWithResponse request with any body
UpsertVMNoteWithBodyWithResponse(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, params *UpsertVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertVMNoteResponse, error)
UpsertVMNoteWithResponse(ctx context.Context, id VMIDPath, pType UpsertVMNoteParamsType, params *UpsertVMNoteParams, body UpsertVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertVMNoteResponse, error)
// AppendVMNoteWithBodyWithResponse request with any body
AppendVMNoteWithBodyWithResponse(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, params *AppendVMNoteParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppendVMNoteResponse, error)
AppendVMNoteWithResponse(ctx context.Context, id VMIDPath, pType AppendVMNoteParamsType, params *AppendVMNoteParams, body AppendVMNoteJSONRequestBody, reqEditors ...RequestEditorFn) (*AppendVMNoteResponse, error)
// RebootVMWithResponse request
RebootVMWithResponse(ctx context.Context, id VMIDPath, params *RebootVMParams, reqEditors ...RequestEditorFn) (*RebootVMResponse, error)
// HardRebootVMWithResponse request
HardRebootVMWithResponse(ctx context.Context, id VMIDPath, params *HardRebootVMParams, reqEditors ...RequestEditorFn) (*HardRebootVMResponse, error)
// ReinstallVMWithBodyWithResponse request with any body
ReinstallVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *ReinstallVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReinstallVMResponse, error)
ReinstallVMWithResponse(ctx context.Context, id VMIDPath, params *ReinstallVMParams, body ReinstallVMJSONRequestBody, reqEditors ...RequestEditorFn) (*ReinstallVMResponse, error)
// RenameVMWithBodyWithResponse request with any body
RenameVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *RenameVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameVMResponse, error)
RenameVMWithResponse(ctx context.Context, id VMIDPath, params *RenameVMParams, body RenameVMJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameVMResponse, error)
// ResetVMPasswordWithResponse request
ResetVMPasswordWithResponse(ctx context.Context, id VMIDPath, params *ResetVMPasswordParams, reqEditors ...RequestEditorFn) (*ResetVMPasswordResponse, error)
// ResizeVMWithBodyWithResponse request with any body
ResizeVMWithBodyWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeVMResponse, error)
ResizeVMWithResponse(ctx context.Context, id VMIDPath, params *ResizeVMParams, body ResizeVMJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeVMResponse, error)
// SaveVMDiskAsImageWithBodyWithResponse request with any body
SaveVMDiskAsImageWithBodyWithResponse(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveVMDiskAsImageResponse, error)
SaveVMDiskAsImageWithResponse(ctx context.Context, id VMIDPath, params *SaveVMDiskAsImageParams, body SaveVMDiskAsImageJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveVMDiskAsImageResponse, error)
// AttachVMSecurityGroupWithBodyWithResponse request with any body
AttachVMSecurityGroupWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachVMSecurityGroupResponse, error)
AttachVMSecurityGroupWithResponse(ctx context.Context, id VMIDPath, params *AttachVMSecurityGroupParams, body AttachVMSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachVMSecurityGroupResponse, error)
// DetachVMSecurityGroupWithResponse request
DetachVMSecurityGroupWithResponse(ctx context.Context, id VMIDPath, sgid SecurityGroupIDPath, nicID NICIDPath, params *DetachVMSecurityGroupParams, reqEditors ...RequestEditorFn) (*DetachVMSecurityGroupResponse, error)
// StartVMWithResponse request
StartVMWithResponse(ctx context.Context, id VMIDPath, params *StartVMParams, reqEditors ...RequestEditorFn) (*StartVMResponse, error)
// StopVMWithResponse request
StopVMWithResponse(ctx context.Context, id VMIDPath, params *StopVMParams, reqEditors ...RequestEditorFn) (*StopVMResponse, error)
// AddVMTagWithBodyWithResponse request with any body
AddVMTagWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AddVMTagParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddVMTagResponse, error)
AddVMTagWithResponse(ctx context.Context, id VMIDPath, params *AddVMTagParams, body AddVMTagJSONRequestBody, reqEditors ...RequestEditorFn) (*AddVMTagResponse, error)
// RemoveVMTagWithResponse request
RemoveVMTagWithResponse(ctx context.Context, id VMIDPath, tagID TagIDPath, params *RemoveVMTagParams, reqEditors ...RequestEditorFn) (*RemoveVMTagResponse, error)
// UpdateVMTagWithBodyWithResponse request with any body
UpdateVMTagWithBodyWithResponse(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVMTagResponse, error)
UpdateVMTagWithResponse(ctx context.Context, id VMIDPath, tagID TagIDPath, params *UpdateVMTagParams, body UpdateVMTagJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVMTagResponse, error)
// AttachVMToVPCWithBodyWithResponse request with any body
AttachVMToVPCWithBodyWithResponse(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachVMToVPCResponse, error)
AttachVMToVPCWithResponse(ctx context.Context, id VMIDPath, params *AttachVMToVPCParams, body AttachVMToVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachVMToVPCResponse, error)
// DetachVMFromVPCWithResponse request
DetachVMFromVPCWithResponse(ctx context.Context, id VMIDPath, nicID NICIDPath, params *DetachVMFromVPCParams, reqEditors ...RequestEditorFn) (*DetachVMFromVPCResponse, error)
// ListVolumesWithResponse request
ListVolumesWithResponse(ctx context.Context, params *ListVolumesParams, reqEditors ...RequestEditorFn) (*ListVolumesResponse, error)
// CreateVolumeWithBodyWithResponse request with any body
CreateVolumeWithBodyWithResponse(ctx context.Context, params *CreateVolumeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)
CreateVolumeWithResponse(ctx context.Context, params *CreateVolumeParams, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)
// DeleteVolumeWithResponse request
DeleteVolumeWithResponse(ctx context.Context, id int, params *DeleteVolumeParams, reqEditors ...RequestEditorFn) (*DeleteVolumeResponse, error)
// GetVolumeWithResponse request
GetVolumeWithResponse(ctx context.Context, id int, params *GetVolumeParams, reqEditors ...RequestEditorFn) (*GetVolumeResponse, error)
// ResizeVolumeWithBodyWithResponse request with any body
ResizeVolumeWithBodyWithResponse(ctx context.Context, id int, params *ResizeVolumeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeVolumeResponse, error)
ResizeVolumeWithResponse(ctx context.Context, id int, params *ResizeVolumeParams, body ResizeVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeVolumeResponse, error)
// AttachVolumeWithBodyWithResponse request with any body
AttachVolumeWithBodyWithResponse(ctx context.Context, id int, params *AttachVolumeParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachVolumeResponse, error)
AttachVolumeWithResponse(ctx context.Context, id int, params *AttachVolumeParams, body AttachVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachVolumeResponse, error)
// DetachVolumeWithResponse request
DetachVolumeWithResponse(ctx context.Context, id int, params *DetachVolumeParams, reqEditors ...RequestEditorFn) (*DetachVolumeResponse, error)
// ListVPCsWithResponse request
ListVPCsWithResponse(ctx context.Context, params *ListVPCsParams, reqEditors ...RequestEditorFn) (*ListVPCsResponse, error)
// CreateVPCWithBodyWithResponse request with any body
CreateVPCWithBodyWithResponse(ctx context.Context, params *CreateVPCParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVPCResponse, error)
CreateVPCWithResponse(ctx context.Context, params *CreateVPCParams, body CreateVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVPCResponse, error)
// ListVPCCIDRSuggestionsWithResponse request
ListVPCCIDRSuggestionsWithResponse(ctx context.Context, params *ListVPCCIDRSuggestionsParams, reqEditors ...RequestEditorFn) (*ListVPCCIDRSuggestionsResponse, error)
// DeleteVPCWithResponse request
DeleteVPCWithResponse(ctx context.Context, id VPCIDPath, params *DeleteVPCParams, reqEditors ...RequestEditorFn) (*DeleteVPCResponse, error)
// GetVPCWithResponse request
GetVPCWithResponse(ctx context.Context, id VPCIDPath, params *GetVPCParams, reqEditors ...RequestEditorFn) (*GetVPCResponse, error)
// UpdateVPCWithBodyWithResponse request with any body
UpdateVPCWithBodyWithResponse(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVPCResponse, error)
UpdateVPCWithResponse(ctx context.Context, id VPCIDPath, params *UpdateVPCParams, body UpdateVPCJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVPCResponse, error)
// HealthCheckWithResponse request
HealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthCheckResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConnectDatabaseVPCJSONRequestBody ¶ added in v0.4.0
type ConnectDatabaseVPCJSONRequestBody = ConnectDatabaseVPCRequest
ConnectDatabaseVPCJSONRequestBody defines body for ConnectDatabaseVPC for application/json ContentType.
type ConnectDatabaseVPCRequest ¶ added in v0.4.0
type ConnectDatabaseVPCRequest struct {
// VpcID VPC to attach the database's private endpoint to
VpcID openapi_types.UUID `json:"vpc_id"`
}
ConnectDatabaseVPCRequest defines model for ConnectDatabaseVPCRequest.
type ConnectDatabaseVPCResponse ¶ added in v0.4.0
type ConnectDatabaseVPCResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Database A managed database instance. The private endpoint `{database_id}.db.raffusercloud.com` lives inside the attached VPC; public access is optional. TLS is always required.
Database *Database `json:"database,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseConnectDatabaseVPCResponse ¶ added in v0.4.0
func ParseConnectDatabaseVPCResponse(rsp *http.Response) (*ConnectDatabaseVPCResponse, error)
ParseConnectDatabaseVPCResponse parses an HTTP response from a ConnectDatabaseVPCWithResponse call
func (ConnectDatabaseVPCResponse) Status ¶ added in v0.4.0
func (r ConnectDatabaseVPCResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectDatabaseVPCResponse) StatusCode ¶ added in v0.4.0
func (r ConnectDatabaseVPCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConvertLambdaJSONRequestBody ¶ added in v0.4.0
type ConvertLambdaJSONRequestBody = ConvertLambdaRequest
ConvertLambdaJSONRequestBody defines body for ConvertLambda for application/json ContentType.
type ConvertLambdaRequest ¶ added in v0.4.0
type ConvertLambdaRequest struct {
EnvVars *map[string]string `json:"env_vars,omitempty"`
Files []FunctionSourceFile `json:"files"`
// Handler Lambda handler, e.g. `lambda_function.handler`
Handler *string `json:"handler,omitempty"`
// LambdaRuntime AWS runtime id, e.g. `python3.12`, `nodejs20.x`, `go1.x`
LambdaRuntime string `json:"lambda_runtime"`
MemoryMb *int `json:"memory_mb,omitempty"`
// Mode `rewrite` = AI portable-handler rewrite; `adapter` = run unchanged via a static shim (free)
Mode *ConvertLambdaRequestMode `json:"mode,omitempty"`
TimeoutSeconds *int `json:"timeout_seconds,omitempty"`
// TriggerConfigJSON Optional EventBridge/S3/FunctionURL config to map
TriggerConfigJSON *string `json:"trigger_config_json,omitempty"`
}
ConvertLambdaRequest defines model for ConvertLambdaRequest.
type ConvertLambdaRequestMode ¶ added in v0.4.0
type ConvertLambdaRequestMode string
ConvertLambdaRequestMode `rewrite` = AI portable-handler rewrite; `adapter` = run unchanged via a static shim (free)
const ( Adapter ConvertLambdaRequestMode = "adapter" Rewrite ConvertLambdaRequestMode = "rewrite" )
Defines values for ConvertLambdaRequestMode.
func (ConvertLambdaRequestMode) Valid ¶ added in v0.4.0
func (e ConvertLambdaRequestMode) Valid() bool
Valid indicates whether the value is a known member of the ConvertLambdaRequestMode enum.
type ConvertLambdaResponse ¶ added in v0.4.0
type ConvertLambdaResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *ConvertLambdaResult `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseConvertLambdaResponse ¶ added in v0.4.0
func ParseConvertLambdaResponse(rsp *http.Response) (*ConvertLambdaResponse, error)
ParseConvertLambdaResponse parses an HTTP response from a ConvertLambdaWithResponse call
func (ConvertLambdaResponse) Status ¶ added in v0.4.0
func (r ConvertLambdaResponse) Status() string
Status returns HTTPResponse.Status
func (ConvertLambdaResponse) StatusCode ¶ added in v0.4.0
func (r ConvertLambdaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConvertLambdaResult ¶ added in v0.4.0
type ConvertLambdaResult struct {
Charged *bool `json:"charged,omitempty"`
ConversionPrice *float32 `json:"conversion_price,omitempty"`
ConvertedFiles *[]FunctionSourceFile `json:"converted_files,omitempty"`
FreeRemainingMonth *int `json:"free_remaining_month,omitempty"`
// OutOfScope Items that are not migrated, with alternatives
OutOfScope *[]string `json:"out_of_scope,omitempty"`
// ProposedTriggers Ready-made trigger payloads mapped from EventBridge schedules
ProposedTriggers *[]string `json:"proposed_triggers,omitempty"`
// RaffToml Mapped configuration (review before deploying)
RaffToml *string `json:"raff_toml,omitempty"`
Runtime *ConvertLambdaResultRuntime `json:"runtime,omitempty"`
// Warnings Every guess or behavior difference — review before deploying
Warnings *[]string `json:"warnings,omitempty"`
}
ConvertLambdaResult defines model for ConvertLambdaResult.
type ConvertLambdaResultRuntime ¶ added in v0.4.0
type ConvertLambdaResultRuntime string
ConvertLambdaResultRuntime defines model for ConvertLambdaResult.Runtime.
const ( ConvertLambdaResultRuntimeGo ConvertLambdaResultRuntime = "go" ConvertLambdaResultRuntimeNode ConvertLambdaResultRuntime = "node" ConvertLambdaResultRuntimePython ConvertLambdaResultRuntime = "python" )
Defines values for ConvertLambdaResultRuntime.
func (ConvertLambdaResultRuntime) Valid ¶ added in v0.4.0
func (e ConvertLambdaResultRuntime) Valid() bool
Valid indicates whether the value is a known member of the ConvertLambdaResultRuntime enum.
type CreateAPIKeyJSONRequestBody ¶
type CreateAPIKeyJSONRequestBody = CreateAPIKeyRequest
CreateAPIKeyJSONRequestBody defines body for CreateAPIKey for application/json ContentType.
type CreateAPIKeyRequest ¶
type CreateAPIKeyRequest struct {
// ExpiresAt Optional expiration timestamp. Omit for never-expires keys.
ExpiresAt *time.Time `json:"expires_at,omitempty"`
// Name A descriptive label for the key (e.g. `Production CI`, `Backups Lambda`)
Name string `json:"name"`
// RateLimitTier `standard` (30 RPS) by default. `high` (100 RPS) requires support approval — request via email if you need it.
RateLimitTier *CreateAPIKeyRequestRateLimitTier `json:"rate_limit_tier,omitempty"`
// RoleID Account-level role to assign. The key inherits this role's `account.*` permissions. To grant per-project access, add the key as a Project Member after creation.
RoleID *openapi_types.UUID `json:"role_id,omitempty"`
}
CreateAPIKeyRequest defines model for CreateAPIKeyRequest.
type CreateAPIKeyRequestRateLimitTier ¶
type CreateAPIKeyRequestRateLimitTier string
CreateAPIKeyRequestRateLimitTier `standard` (30 RPS) by default. `high` (100 RPS) requires support approval — request via email if you need it.
const ( CreateAPIKeyRequestRateLimitTierHigh CreateAPIKeyRequestRateLimitTier = "high" CreateAPIKeyRequestRateLimitTierStandard CreateAPIKeyRequestRateLimitTier = "standard" )
Defines values for CreateAPIKeyRequestRateLimitTier.
func (CreateAPIKeyRequestRateLimitTier) Valid ¶
func (e CreateAPIKeyRequestRateLimitTier) Valid() bool
Valid indicates whether the value is a known member of the CreateAPIKeyRequestRateLimitTier enum.
type CreateAPIKeyResponse ¶
type CreateAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *APIKeyWithSecret `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
}
func ParseCreateAPIKeyResponse ¶
func ParseCreateAPIKeyResponse(rsp *http.Response) (*CreateAPIKeyResponse, error)
ParseCreateAPIKeyResponse parses an HTTP response from a CreateAPIKeyWithResponse call
func (CreateAPIKeyResponse) Status ¶
func (r CreateAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAPIKeyResponse) StatusCode ¶
func (r CreateAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAccountInvitationJSONRequestBody ¶
type CreateAccountInvitationJSONRequestBody = CreateInvitationRequest
CreateAccountInvitationJSONRequestBody defines body for CreateAccountInvitation for application/json ContentType.
type CreateAccountInvitationResponse ¶
type CreateAccountInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *Invitation `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
}
func ParseCreateAccountInvitationResponse ¶
func ParseCreateAccountInvitationResponse(rsp *http.Response) (*CreateAccountInvitationResponse, error)
ParseCreateAccountInvitationResponse parses an HTTP response from a CreateAccountInvitationWithResponse call
func (CreateAccountInvitationResponse) Status ¶
func (r CreateAccountInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAccountInvitationResponse) StatusCode ¶
func (r CreateAccountInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAppDeploymentJSONRequestBody ¶ added in v0.4.0
type CreateAppDeploymentJSONRequestBody = CreateAppDeploymentRequest
CreateAppDeploymentJSONRequestBody defines body for CreateAppDeployment for application/json ContentType.
type CreateAppDeploymentRequest ¶ added in v0.4.0
type CreateAppDeploymentRequest struct {
Channel *CreateAppDeploymentRequestChannel `json:"channel,omitempty"`
// ImageRef Prebuilt image reference
ImageRef *string `json:"image_ref,omitempty"`
// SourceBlobKey Blob key from a completed source upload
SourceBlobKey *string `json:"source_blob_key,omitempty"`
}
CreateAppDeploymentRequest Provide a source_blob_key or an image_ref. Git-connected services deploy their branch head when neither is given.
type CreateAppDeploymentRequestChannel ¶ added in v0.4.0
type CreateAppDeploymentRequestChannel string
CreateAppDeploymentRequestChannel defines model for CreateAppDeploymentRequest.Channel.
const ( CreateAppDeploymentRequestChannelCli CreateAppDeploymentRequestChannel = "cli" CreateAppDeploymentRequestChannelCompose CreateAppDeploymentRequestChannel = "compose" CreateAppDeploymentRequestChannelConsole CreateAppDeploymentRequestChannel = "console" CreateAppDeploymentRequestChannelGitPush CreateAppDeploymentRequestChannel = "git_push" )
Defines values for CreateAppDeploymentRequestChannel.
func (CreateAppDeploymentRequestChannel) Valid ¶ added in v0.4.0
func (e CreateAppDeploymentRequestChannel) Valid() bool
Valid indicates whether the value is a known member of the CreateAppDeploymentRequestChannel enum.
type CreateAppDeploymentResponse ¶ added in v0.4.0
type CreateAppDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Deployment *AppDeployment `json:"deployment,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseCreateAppDeploymentResponse ¶ added in v0.4.0
func ParseCreateAppDeploymentResponse(rsp *http.Response) (*CreateAppDeploymentResponse, error)
ParseCreateAppDeploymentResponse parses an HTTP response from a CreateAppDeploymentWithResponse call
func (CreateAppDeploymentResponse) Status ¶ added in v0.4.0
func (r CreateAppDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAppDeploymentResponse) StatusCode ¶ added in v0.4.0
func (r CreateAppDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAppServiceJSONRequestBody ¶ added in v0.4.0
type CreateAppServiceJSONRequestBody = CreateAppServiceRequest
CreateAppServiceJSONRequestBody defines body for CreateAppService for application/json ContentType.
type CreateAppServiceParams ¶ added in v0.4.0
type CreateAppServiceParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
CreateAppServiceParams defines parameters for CreateAppService.
type CreateAppServiceRequest ¶ added in v0.4.0
type CreateAppServiceRequest struct {
AutoscalingEnabled *bool `json:"autoscaling_enabled,omitempty"`
Builder *CreateAppServiceRequestBuilder `json:"builder,omitempty"`
CronSchedule *string `json:"cron_schedule,omitempty"`
CronTimezone *string `json:"cron_timezone,omitempty"`
// DeployNow Queue a deployment immediately (prebuilt-image services)
DeployNow *bool `json:"deploy_now,omitempty"`
Description *string `json:"description,omitempty"`
DockerfilePath *string `json:"dockerfile_path,omitempty"`
HealthCheckPath *string `json:"health_check_path,omitempty"`
HTTPPort *int `json:"http_port,omitempty"`
// ImageRef Prebuilt image reference (for source_type `image`)
ImageRef *string `json:"image_ref,omitempty"`
MaxReplicas *int `json:"max_replicas,omitempty"`
MinReplicas *int `json:"min_replicas,omitempty"`
Name string `json:"name"`
Region *string `json:"region,omitempty"`
Replicas *int `json:"replicas,omitempty"`
RepoBranch *string `json:"repo_branch,omitempty"`
// RepoFullName GitHub repo (owner/name) for source_type `git`
RepoFullName *string `json:"repo_full_name,omitempty"`
RepoRootDir *string `json:"repo_root_dir,omitempty"`
ScaleToZero *bool `json:"scale_to_zero,omitempty"`
ServiceType CreateAppServiceRequestServiceType `json:"service_type"`
SourceType *CreateAppServiceRequestSourceType `json:"source_type,omitempty"`
StartCommand *string `json:"start_command,omitempty"`
TierID *int `json:"tier_id,omitempty"`
}
CreateAppServiceRequest defines model for CreateAppServiceRequest.
type CreateAppServiceRequestBuilder ¶ added in v0.4.0
type CreateAppServiceRequestBuilder string
CreateAppServiceRequestBuilder defines model for CreateAppServiceRequest.Builder.
const ( CreateAppServiceRequestBuilderBuildpacks CreateAppServiceRequestBuilder = "buildpacks" CreateAppServiceRequestBuilderDockerfile CreateAppServiceRequestBuilder = "dockerfile" CreateAppServiceRequestBuilderImage CreateAppServiceRequestBuilder = "image" )
Defines values for CreateAppServiceRequestBuilder.
func (CreateAppServiceRequestBuilder) Valid ¶ added in v0.4.0
func (e CreateAppServiceRequestBuilder) Valid() bool
Valid indicates whether the value is a known member of the CreateAppServiceRequestBuilder enum.
type CreateAppServiceRequestServiceType ¶ added in v0.4.0
type CreateAppServiceRequestServiceType string
CreateAppServiceRequestServiceType defines model for CreateAppServiceRequest.ServiceType.
const ( CreateAppServiceRequestServiceTypeCron CreateAppServiceRequestServiceType = "cron" CreateAppServiceRequestServiceTypeJob CreateAppServiceRequestServiceType = "job" CreateAppServiceRequestServiceTypePrivate CreateAppServiceRequestServiceType = "private" CreateAppServiceRequestServiceTypeWeb CreateAppServiceRequestServiceType = "web" CreateAppServiceRequestServiceTypeWorker CreateAppServiceRequestServiceType = "worker" )
Defines values for CreateAppServiceRequestServiceType.
func (CreateAppServiceRequestServiceType) Valid ¶ added in v0.4.0
func (e CreateAppServiceRequestServiceType) Valid() bool
Valid indicates whether the value is a known member of the CreateAppServiceRequestServiceType enum.
type CreateAppServiceRequestSourceType ¶ added in v0.4.0
type CreateAppServiceRequestSourceType string
CreateAppServiceRequestSourceType defines model for CreateAppServiceRequest.SourceType.
const ( CreateAppServiceRequestSourceTypeCompose CreateAppServiceRequestSourceType = "compose" CreateAppServiceRequestSourceTypeGit CreateAppServiceRequestSourceType = "git" CreateAppServiceRequestSourceTypeImage CreateAppServiceRequestSourceType = "image" CreateAppServiceRequestSourceTypeTemplate CreateAppServiceRequestSourceType = "template" )
Defines values for CreateAppServiceRequestSourceType.
func (CreateAppServiceRequestSourceType) Valid ¶ added in v0.4.0
func (e CreateAppServiceRequestSourceType) Valid() bool
Valid indicates whether the value is a known member of the CreateAppServiceRequestSourceType enum.
type CreateAppServiceResponse ¶ added in v0.4.0
type CreateAppServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
// DeploymentID Set when a deployment was queued at create time
DeploymentID *openapi_types.UUID `json:"deployment_id,omitempty"`
// Service An app service on the Raff PaaS — a web service, private service, worker, cron job, or one-off job.
Service *AppService `json:"service,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON403 *BillingValidationFailed
}
func ParseCreateAppServiceResponse ¶ added in v0.4.0
func ParseCreateAppServiceResponse(rsp *http.Response) (*CreateAppServiceResponse, error)
ParseCreateAppServiceResponse parses an HTTP response from a CreateAppServiceWithResponse call
func (CreateAppServiceResponse) Status ¶ added in v0.4.0
func (r CreateAppServiceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAppServiceResponse) StatusCode ¶ added in v0.4.0
func (r CreateAppServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBackupJSONRequestBody ¶
type CreateBackupJSONRequestBody = CreateBackupRequest
CreateBackupJSONRequestBody defines body for CreateBackup for application/json ContentType.
type CreateBackupParams ¶
type CreateBackupParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
CreateBackupParams defines parameters for CreateBackup.
type CreateBackupRequest ¶
type CreateBackupRequest struct {
// Name Optional backup display name. Defaults to a timestamped name.
Name *string `json:"name,omitempty"`
// VMID Source VM UUID
VMID openapi_types.UUID `json:"vm_id"`
}
CreateBackupRequest defines model for CreateBackupRequest.
type CreateBackupResponse ¶
type CreateBackupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *struct {
Data *Backup `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON403 *BillingValidationFailed
}
func ParseCreateBackupResponse ¶
func ParseCreateBackupResponse(rsp *http.Response) (*CreateBackupResponse, error)
ParseCreateBackupResponse parses an HTTP response from a CreateBackupWithResponse call
func (CreateBackupResponse) Status ¶
func (r CreateBackupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBackupResponse) StatusCode ¶
func (r CreateBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBackupScheduleJSONRequestBody ¶
type CreateBackupScheduleJSONRequestBody = CreateBackupScheduleRequest
CreateBackupScheduleJSONRequestBody defines body for CreateBackupSchedule for application/json ContentType.
type CreateBackupScheduleParams ¶
type CreateBackupScheduleParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
CreateBackupScheduleParams defines parameters for CreateBackupSchedule.
type CreateBackupScheduleRequest ¶
type CreateBackupScheduleRequest struct {
// DayOfWeek Day of week. Required when `type` is `weekly`.
DayOfWeek *CreateBackupScheduleRequestDayOfWeek `json:"day_of_week,omitempty"`
// KeepCount Number of backups to retain before auto-pruning (2-100)
KeepCount int `json:"keep_count"`
// Time Time of day to run the backup (e.g. `8am`, `13:00`)
Time string `json:"time"`
// Type Schedule frequency
Type CreateBackupScheduleRequestType `json:"type"`
// VMID Target VM UUID
VMID openapi_types.UUID `json:"vm_id"`
}
CreateBackupScheduleRequest defines model for CreateBackupScheduleRequest.
type CreateBackupScheduleRequestDayOfWeek ¶
type CreateBackupScheduleRequestDayOfWeek string
CreateBackupScheduleRequestDayOfWeek Day of week. Required when `type` is `weekly`.
const ( CreateBackupScheduleRequestDayOfWeekFriday CreateBackupScheduleRequestDayOfWeek = "Friday" CreateBackupScheduleRequestDayOfWeekMonday CreateBackupScheduleRequestDayOfWeek = "Monday" CreateBackupScheduleRequestDayOfWeekSaturday CreateBackupScheduleRequestDayOfWeek = "Saturday" CreateBackupScheduleRequestDayOfWeekSunday CreateBackupScheduleRequestDayOfWeek = "Sunday" CreateBackupScheduleRequestDayOfWeekThursday CreateBackupScheduleRequestDayOfWeek = "Thursday" CreateBackupScheduleRequestDayOfWeekTuesday CreateBackupScheduleRequestDayOfWeek = "Tuesday" CreateBackupScheduleRequestDayOfWeekWednesday CreateBackupScheduleRequestDayOfWeek = "Wednesday" )
Defines values for CreateBackupScheduleRequestDayOfWeek.
func (CreateBackupScheduleRequestDayOfWeek) Valid ¶
func (e CreateBackupScheduleRequestDayOfWeek) Valid() bool
Valid indicates whether the value is a known member of the CreateBackupScheduleRequestDayOfWeek enum.
type CreateBackupScheduleRequestType ¶
type CreateBackupScheduleRequestType string
CreateBackupScheduleRequestType Schedule frequency
const ( CreateBackupScheduleRequestTypeDaily CreateBackupScheduleRequestType = "daily" CreateBackupScheduleRequestTypeWeekly CreateBackupScheduleRequestType = "weekly" )
Defines values for CreateBackupScheduleRequestType.
func (CreateBackupScheduleRequestType) Valid ¶
func (e CreateBackupScheduleRequestType) Valid() bool
Valid indicates whether the value is a known member of the CreateBackupScheduleRequestType enum.
type CreateBackupScheduleResponse ¶
type CreateBackupScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *BackupSchedule `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseCreateBackupScheduleResponse ¶
func ParseCreateBackupScheduleResponse(rsp *http.Response) (*CreateBackupScheduleResponse, error)
ParseCreateBackupScheduleResponse parses an HTTP response from a CreateBackupScheduleWithResponse call
func (CreateBackupScheduleResponse) Status ¶
func (r CreateBackupScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBackupScheduleResponse) StatusCode ¶
func (r CreateBackupScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatabaseBackupResponse ¶ added in v0.4.0
type CreateDatabaseBackupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Backup *DatabaseBackup `json:"backup,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseCreateDatabaseBackupResponse ¶ added in v0.4.0
func ParseCreateDatabaseBackupResponse(rsp *http.Response) (*CreateDatabaseBackupResponse, error)
ParseCreateDatabaseBackupResponse parses an HTTP response from a CreateDatabaseBackupWithResponse call
func (CreateDatabaseBackupResponse) Status ¶ added in v0.4.0
func (r CreateDatabaseBackupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDatabaseBackupResponse) StatusCode ¶ added in v0.4.0
func (r CreateDatabaseBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDatabaseJSONRequestBody ¶ added in v0.4.0
type CreateDatabaseJSONRequestBody = CreateDatabaseRequest
CreateDatabaseJSONRequestBody defines body for CreateDatabase for application/json ContentType.
type CreateDatabaseParams ¶ added in v0.4.0
type CreateDatabaseParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
CreateDatabaseParams defines parameters for CreateDatabase.
type CreateDatabaseRequest ¶ added in v0.4.0
type CreateDatabaseRequest struct {
// Engine Database engine identifier. Defaults to `postgres` on create; the live catalog (including availability and versions) is `GET /api/v1/databases/engines`.
Engine *DatabaseEngine `json:"engine,omitempty"`
// EngineConfig Engine configuration overrides (allowlisted keys only)
EngineConfig *map[string]string `json:"engine_config,omitempty"`
// EngineVersion Engine major version from the engine catalog. Omit for the default version.
EngineVersion *string `json:"engine_version,omitempty"`
// HaEnabled Enable high availability (+70% of the plan price)
HaEnabled *bool `json:"ha_enabled,omitempty"`
// Name Display name, unique within the account
Name string `json:"name"`
// PlanID Pricing plan ID from `GET /api/v1/databases/plans`
PlanID int `json:"plan_id"`
// PublicAccess Enable public access at create time
PublicAccess *bool `json:"public_access,omitempty"`
// Region Data center region
Region *CreateDatabaseRequestRegion `json:"region,omitempty"`
// ReplicaCount Read replicas (PostgreSQL only; Valkey rejects a count above 0)
ReplicaCount *int `json:"replica_count,omitempty"`
// StorageGb Storage in GB. Omit to use the plan's included allotment; storage above it bills at $0.12/GB/month.
StorageGb *int `json:"storage_gb,omitempty"`
// VpcID VPC to place the private endpoint in. Omit to create without VPC connectivity and attach one later via `POST /api/v1/databases/{database_id}/vpc`.
VpcID *openapi_types.UUID `json:"vpc_id,omitempty"`
}
CreateDatabaseRequest defines model for CreateDatabaseRequest.
type CreateDatabaseRequestRegion ¶ added in v0.4.0
type CreateDatabaseRequestRegion string
CreateDatabaseRequestRegion Data center region
const (
CreateDatabaseRequestRegionUsEast CreateDatabaseRequestRegion = "us-east"
)
Defines values for CreateDatabaseRequestRegion.
func (CreateDatabaseRequestRegion) Valid ¶ added in v0.4.0
func (e CreateDatabaseRequestRegion) Valid() bool
Valid indicates whether the value is a known member of the CreateDatabaseRequestRegion enum.
type CreateDatabaseResponse ¶ added in v0.4.0
type CreateDatabaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
// Database A managed database instance. The private endpoint `{database_id}.db.raffusercloud.com` lives inside the attached VPC; public access is optional. TLS is always required.
Database *Database `json:"database,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON403 *BillingValidationFailed
}
func ParseCreateDatabaseResponse ¶ added in v0.4.0
func ParseCreateDatabaseResponse(rsp *http.Response) (*CreateDatabaseResponse, error)
ParseCreateDatabaseResponse parses an HTTP response from a CreateDatabaseWithResponse call
func (CreateDatabaseResponse) Status ¶ added in v0.4.0
func (r CreateDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDatabaseResponse) StatusCode ¶ added in v0.4.0
func (r CreateDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFunctionBindingJSONRequestBody ¶ added in v0.4.0
type CreateFunctionBindingJSONRequestBody = CreateFunctionBindingRequest
CreateFunctionBindingJSONRequestBody defines body for CreateFunctionBinding for application/json ContentType.
type CreateFunctionBindingRequest ¶ added in v0.4.0
type CreateFunctionBindingRequest struct {
BindingType CreateFunctionBindingRequestBindingType `json:"binding_type"`
// EnvPrefix Env key prefix (default DATABASE / STORAGE)
EnvPrefix *string `json:"env_prefix,omitempty"`
// ResourceID A managed database or Object Storage bucket you own
ResourceID openapi_types.UUID `json:"resource_id"`
}
CreateFunctionBindingRequest defines model for CreateFunctionBindingRequest.
type CreateFunctionBindingRequestBindingType ¶ added in v0.4.0
type CreateFunctionBindingRequestBindingType string
CreateFunctionBindingRequestBindingType defines model for CreateFunctionBindingRequest.BindingType.
const ( CreateFunctionBindingRequestBindingTypeBucket CreateFunctionBindingRequestBindingType = "bucket" CreateFunctionBindingRequestBindingTypeDatabase CreateFunctionBindingRequestBindingType = "database" )
Defines values for CreateFunctionBindingRequestBindingType.
func (CreateFunctionBindingRequestBindingType) Valid ¶ added in v0.4.0
func (e CreateFunctionBindingRequestBindingType) Valid() bool
Valid indicates whether the value is a known member of the CreateFunctionBindingRequestBindingType enum.
type CreateFunctionBindingResponse ¶ added in v0.4.0
type CreateFunctionBindingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Binding *FunctionBinding `json:"binding,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseCreateFunctionBindingResponse ¶ added in v0.4.0
func ParseCreateFunctionBindingResponse(rsp *http.Response) (*CreateFunctionBindingResponse, error)
ParseCreateFunctionBindingResponse parses an HTTP response from a CreateFunctionBindingWithResponse call
func (CreateFunctionBindingResponse) Status ¶ added in v0.4.0
func (r CreateFunctionBindingResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFunctionBindingResponse) StatusCode ¶ added in v0.4.0
func (r CreateFunctionBindingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFunctionDeploymentJSONRequestBody ¶ added in v0.4.0
type CreateFunctionDeploymentJSONRequestBody = CreateFunctionDeploymentRequest
CreateFunctionDeploymentJSONRequestBody defines body for CreateFunctionDeployment for application/json ContentType.
type CreateFunctionDeploymentRequest ¶ added in v0.4.0
type CreateFunctionDeploymentRequest struct {
Channel *CreateFunctionDeploymentRequestChannel `json:"channel,omitempty"`
// Files Inline source files (small edits)
Files *[]FunctionSourceFile `json:"files,omitempty"`
Message *string `json:"message,omitempty"`
// SourceBlobKey From a completed source upload
SourceBlobKey *string `json:"source_blob_key,omitempty"`
// Template Deploy a starter template instead of uploaded source
Template *CreateFunctionDeploymentRequestTemplate `json:"template,omitempty"`
}
CreateFunctionDeploymentRequest defines model for CreateFunctionDeploymentRequest.
type CreateFunctionDeploymentRequestChannel ¶ added in v0.4.0
type CreateFunctionDeploymentRequestChannel string
CreateFunctionDeploymentRequestChannel defines model for CreateFunctionDeploymentRequest.Channel.
const ( CreateFunctionDeploymentRequestChannelCli CreateFunctionDeploymentRequestChannel = "cli" CreateFunctionDeploymentRequestChannelConsole CreateFunctionDeploymentRequestChannel = "console" )
Defines values for CreateFunctionDeploymentRequestChannel.
func (CreateFunctionDeploymentRequestChannel) Valid ¶ added in v0.4.0
func (e CreateFunctionDeploymentRequestChannel) Valid() bool
Valid indicates whether the value is a known member of the CreateFunctionDeploymentRequestChannel enum.
type CreateFunctionDeploymentRequestTemplate ¶ added in v0.4.0
type CreateFunctionDeploymentRequestTemplate string
CreateFunctionDeploymentRequestTemplate Deploy a starter template instead of uploaded source
const ( CreateFunctionDeploymentRequestTemplateGo CreateFunctionDeploymentRequestTemplate = "go" CreateFunctionDeploymentRequestTemplateNode CreateFunctionDeploymentRequestTemplate = "node" CreateFunctionDeploymentRequestTemplatePython CreateFunctionDeploymentRequestTemplate = "python" CreateFunctionDeploymentRequestTemplateTypescript CreateFunctionDeploymentRequestTemplate = "typescript" )
Defines values for CreateFunctionDeploymentRequestTemplate.
func (CreateFunctionDeploymentRequestTemplate) Valid ¶ added in v0.4.0
func (e CreateFunctionDeploymentRequestTemplate) Valid() bool
Valid indicates whether the value is a known member of the CreateFunctionDeploymentRequestTemplate enum.
type CreateFunctionDeploymentResponse ¶ added in v0.4.0
type CreateFunctionDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *struct {
Deployment *FunctionDeployment `json:"deployment,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseCreateFunctionDeploymentResponse ¶ added in v0.4.0
func ParseCreateFunctionDeploymentResponse(rsp *http.Response) (*CreateFunctionDeploymentResponse, error)
ParseCreateFunctionDeploymentResponse parses an HTTP response from a CreateFunctionDeploymentWithResponse call
func (CreateFunctionDeploymentResponse) Status ¶ added in v0.4.0
func (r CreateFunctionDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFunctionDeploymentResponse) StatusCode ¶ added in v0.4.0
func (r CreateFunctionDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFunctionJSONRequestBody ¶ added in v0.4.0
type CreateFunctionJSONRequestBody = CreateFunctionRequest
CreateFunctionJSONRequestBody defines body for CreateFunction for application/json ContentType.
type CreateFunctionParams ¶ added in v0.4.0
type CreateFunctionParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
CreateFunctionParams defines parameters for CreateFunction.
type CreateFunctionRequest ¶ added in v0.4.0
type CreateFunctionRequest struct {
Description *string `json:"description,omitempty"`
// ExtendedTimeout Allow timeouts up to 86400s (24h)
ExtendedTimeout *bool `json:"extended_timeout,omitempty"`
MaxScale *int `json:"max_scale,omitempty"`
MemoryMb *int `json:"memory_mb,omitempty"`
MinScale *int `json:"min_scale,omitempty"`
Name string `json:"name"`
Region *CreateFunctionRequestRegion `json:"region,omitempty"`
Runtime CreateFunctionRequestRuntime `json:"runtime"`
// Slug Optional URL label base (a random suffix is always appended)
Slug *string `json:"slug,omitempty"`
SourceType *CreateFunctionRequestSourceType `json:"source_type,omitempty"`
TimeoutSeconds *int `json:"timeout_seconds,omitempty"`
}
CreateFunctionRequest defines model for CreateFunctionRequest.
type CreateFunctionRequestRegion ¶ added in v0.4.0
type CreateFunctionRequestRegion string
CreateFunctionRequestRegion defines model for CreateFunctionRequest.Region.
const (
CreateFunctionRequestRegionUsEast CreateFunctionRequestRegion = "us-east"
)
Defines values for CreateFunctionRequestRegion.
func (CreateFunctionRequestRegion) Valid ¶ added in v0.4.0
func (e CreateFunctionRequestRegion) Valid() bool
Valid indicates whether the value is a known member of the CreateFunctionRequestRegion enum.
type CreateFunctionRequestRuntime ¶ added in v0.4.0
type CreateFunctionRequestRuntime string
CreateFunctionRequestRuntime defines model for CreateFunctionRequest.Runtime.
const ( CreateFunctionRequestRuntimeDocker CreateFunctionRequestRuntime = "docker" CreateFunctionRequestRuntimeGo CreateFunctionRequestRuntime = "go" CreateFunctionRequestRuntimeNode CreateFunctionRequestRuntime = "node" CreateFunctionRequestRuntimePython CreateFunctionRequestRuntime = "python" )
Defines values for CreateFunctionRequestRuntime.
func (CreateFunctionRequestRuntime) Valid ¶ added in v0.4.0
func (e CreateFunctionRequestRuntime) Valid() bool
Valid indicates whether the value is a known member of the CreateFunctionRequestRuntime enum.
type CreateFunctionRequestSourceType ¶ added in v0.4.0
type CreateFunctionRequestSourceType string
CreateFunctionRequestSourceType defines model for CreateFunctionRequest.SourceType.
const ( CreateFunctionRequestSourceTypeCli CreateFunctionRequestSourceType = "cli" CreateFunctionRequestSourceTypeConsole CreateFunctionRequestSourceType = "console" CreateFunctionRequestSourceTypeGithub CreateFunctionRequestSourceType = "github" )
Defines values for CreateFunctionRequestSourceType.
func (CreateFunctionRequestSourceType) Valid ¶ added in v0.4.0
func (e CreateFunctionRequestSourceType) Valid() bool
Valid indicates whether the value is a known member of the CreateFunctionRequestSourceType enum.
type CreateFunctionResponse ¶ added in v0.4.0
type CreateFunctionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *struct {
// Function A serverless function. Handlers are standard (ASGI / Web Fetch / net/http / any container listening on $PORT) — nothing Raff-specific.
Function *Function `json:"function,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseCreateFunctionResponse ¶ added in v0.4.0
func ParseCreateFunctionResponse(rsp *http.Response) (*CreateFunctionResponse, error)
ParseCreateFunctionResponse parses an HTTP response from a CreateFunctionWithResponse call
func (CreateFunctionResponse) Status ¶ added in v0.4.0
func (r CreateFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFunctionResponse) StatusCode ¶ added in v0.4.0
func (r CreateFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFunctionTriggerJSONRequestBody ¶ added in v0.4.0
type CreateFunctionTriggerJSONRequestBody = CreateFunctionTriggerRequest
CreateFunctionTriggerJSONRequestBody defines body for CreateFunctionTrigger for application/json ContentType.
type CreateFunctionTriggerRequest ¶ added in v0.4.0
type CreateFunctionTriggerRequest struct {
// BucketID Required for `s3` — an Object Storage bucket you own
BucketID *openapi_types.UUID `json:"bucket_id,omitempty"`
// CronExpression 5-field cron (required for `cron`)
CronExpression *string `json:"cron_expression,omitempty"`
// KeyPrefix Only objects whose key starts with this fire the trigger
KeyPrefix *string `json:"key_prefix,omitempty"`
// KeySuffix Only objects whose key ends with this fire the trigger
KeySuffix *string `json:"key_suffix,omitempty"`
// PayloadJSON JSON merged into the CloudEvent data (cron/once)
PayloadJSON *string `json:"payload_json,omitempty"`
// RunAt Required for `once`
RunAt *time.Time `json:"run_at,omitempty"`
// S3Events Default s3:ObjectCreated:*; also s3:ObjectRemoved:*
S3Events *[]string `json:"s3_events,omitempty"`
// Timezone IANA name, default UTC
Timezone *string `json:"timezone,omitempty"`
TriggerType CreateFunctionTriggerRequestTriggerType `json:"trigger_type"`
}
CreateFunctionTriggerRequest defines model for CreateFunctionTriggerRequest.
type CreateFunctionTriggerRequestTriggerType ¶ added in v0.4.0
type CreateFunctionTriggerRequestTriggerType string
CreateFunctionTriggerRequestTriggerType defines model for CreateFunctionTriggerRequest.TriggerType.
const ( CreateFunctionTriggerRequestTriggerTypeCron CreateFunctionTriggerRequestTriggerType = "cron" CreateFunctionTriggerRequestTriggerTypeOnce CreateFunctionTriggerRequestTriggerType = "once" CreateFunctionTriggerRequestTriggerTypeS3 CreateFunctionTriggerRequestTriggerType = "s3" )
Defines values for CreateFunctionTriggerRequestTriggerType.
func (CreateFunctionTriggerRequestTriggerType) Valid ¶ added in v0.4.0
func (e CreateFunctionTriggerRequestTriggerType) Valid() bool
Valid indicates whether the value is a known member of the CreateFunctionTriggerRequestTriggerType enum.
type CreateFunctionTriggerResponse ¶ added in v0.4.0
type CreateFunctionTriggerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *struct {
Trigger *FunctionTrigger `json:"trigger,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseCreateFunctionTriggerResponse ¶ added in v0.4.0
func ParseCreateFunctionTriggerResponse(rsp *http.Response) (*CreateFunctionTriggerResponse, error)
ParseCreateFunctionTriggerResponse parses an HTTP response from a CreateFunctionTriggerWithResponse call
func (CreateFunctionTriggerResponse) Status ¶ added in v0.4.0
func (r CreateFunctionTriggerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFunctionTriggerResponse) StatusCode ¶ added in v0.4.0
func (r CreateFunctionTriggerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInvitationRequest ¶
type CreateInvitationRequest struct {
// Email Recipient's email address. Must not already be a member.
Email openapi_types.Email `json:"email"`
// RoleID Role the invitee will receive on acceptance. Must be `scope: account` for account invites or `scope: project` for project invites.
RoleID openapi_types.UUID `json:"role_id"`
}
CreateInvitationRequest defines model for CreateInvitationRequest.
type CreateK8SClusterJSONRequestBody ¶ added in v0.4.0
type CreateK8SClusterJSONRequestBody = CreateK8SClusterRequest
CreateK8SClusterJSONRequestBody defines body for CreateK8SCluster for application/json ContentType.
type CreateK8SClusterParams ¶ added in v0.4.0
type CreateK8SClusterParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
// IdempotencyKey Any unique string (max 128 chars). Reuse the same value when retrying a failed or timed-out request.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
CreateK8SClusterParams defines parameters for CreateK8SCluster.
type CreateK8SClusterRequest ¶ added in v0.4.0
type CreateK8SClusterRequest struct {
// ClusterCidr Pod network override (private IPv4, /12–/24)
ClusterCidr *string `json:"cluster_cidr,omitempty"`
// FirewallEnabled Attach the platform baseline firewall to the public gateway
FirewallEnabled *bool `json:"firewall_enabled,omitempty"`
// FirewallSecurityGroupID Use one of your security groups instead of the baseline
FirewallSecurityGroupID *openapi_types.UUID `json:"firewall_security_group_id,omitempty"`
// HaEnabled 3-master highly available control plane (flat monthly fee)
HaEnabled *bool `json:"ha_enabled,omitempty"`
// K8SVersionID From [List Kubernetes versions](#tag/Kubernetes/operation/listK8sVersions). Omit for the default version.
K8SVersionID *int `json:"k8s_version_id,omitempty"`
// MetallbEnabled Install MetalLB for `LoadBalancer` services
MetallbEnabled *bool `json:"metallb_enabled,omitempty"`
// Name 1–63 lowercase letters, digits or hyphens; unique within the account
Name string `json:"name"`
// NodePools At least one pool with at least 2 nodes in total
NodePools []K8SNodePoolInput `json:"node_pools"`
Region *CreateK8SClusterRequestRegion `json:"region,omitempty"`
// ServiceCidr Service network override (private IPv4, /12–/24)
ServiceCidr *string `json:"service_cidr,omitempty"`
// StorageNodeCount Dedicated Longhorn storage nodes (0 disables in-cluster block storage)
StorageNodeCount *CreateK8SClusterRequestStorageNodeCount `json:"storage_node_count,omitempty"`
// StorageNodeDiskGb Data disk per storage node; required when `storage_node_count` > 0. Bounds from [List Kubernetes node plans](#tag/Kubernetes/operation/listK8sNodePlans) `storage_pricing`.
StorageNodeDiskGb *int `json:"storage_node_disk_gb,omitempty"`
// TraefikEnabled Install the Traefik ingress controller
TraefikEnabled *bool `json:"traefik_enabled,omitempty"`
}
CreateK8SClusterRequest defines model for CreateK8sClusterRequest.
type CreateK8SClusterRequestRegion ¶ added in v0.4.0
type CreateK8SClusterRequestRegion string
CreateK8SClusterRequestRegion defines model for CreateK8SClusterRequest.Region.
const (
CreateK8SClusterRequestRegionUsEast CreateK8SClusterRequestRegion = "us-east"
)
Defines values for CreateK8SClusterRequestRegion.
func (CreateK8SClusterRequestRegion) Valid ¶ added in v0.4.0
func (e CreateK8SClusterRequestRegion) Valid() bool
Valid indicates whether the value is a known member of the CreateK8SClusterRequestRegion enum.
type CreateK8SClusterRequestStorageNodeCount ¶ added in v0.4.0
type CreateK8SClusterRequestStorageNodeCount int
CreateK8SClusterRequestStorageNodeCount Dedicated Longhorn storage nodes (0 disables in-cluster block storage)
const ( N0 CreateK8SClusterRequestStorageNodeCount = 0 N2 CreateK8SClusterRequestStorageNodeCount = 2 N3 CreateK8SClusterRequestStorageNodeCount = 3 )
Defines values for CreateK8SClusterRequestStorageNodeCount.
func (CreateK8SClusterRequestStorageNodeCount) Valid ¶ added in v0.4.0
func (e CreateK8SClusterRequestStorageNodeCount) Valid() bool
Valid indicates whether the value is a known member of the CreateK8SClusterRequestStorageNodeCount enum.
type CreateK8SClusterResponse ¶ added in v0.4.0
type CreateK8SClusterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Cluster *K8SCluster `json:"cluster,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
}
func ParseCreateK8SClusterResponse ¶ added in v0.4.0
func ParseCreateK8SClusterResponse(rsp *http.Response) (*CreateK8SClusterResponse, error)
ParseCreateK8SClusterResponse parses an HTTP response from a CreateK8SClusterWithResponse call
func (CreateK8SClusterResponse) Status ¶ added in v0.4.0
func (r CreateK8SClusterResponse) Status() string
Status returns HTTPResponse.Status
func (CreateK8SClusterResponse) StatusCode ¶ added in v0.4.0
func (r CreateK8SClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectInvitationJSONRequestBody ¶
type CreateProjectInvitationJSONRequestBody = CreateInvitationRequest
CreateProjectInvitationJSONRequestBody defines body for CreateProjectInvitation for application/json ContentType.
type CreateProjectInvitationResponse ¶
type CreateProjectInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *Invitation `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseCreateProjectInvitationResponse ¶
func ParseCreateProjectInvitationResponse(rsp *http.Response) (*CreateProjectInvitationResponse, error)
ParseCreateProjectInvitationResponse parses an HTTP response from a CreateProjectInvitationWithResponse call
func (CreateProjectInvitationResponse) Status ¶
func (r CreateProjectInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProjectInvitationResponse) StatusCode ¶
func (r CreateProjectInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProjectJSONRequestBody ¶
type CreateProjectJSONRequestBody = CreateProjectRequest
CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.
type CreateProjectRequest ¶
type CreateProjectRequest struct {
// DefaultRegion Default region for resources
DefaultRegion *CreateProjectRequestDefaultRegion `json:"default_region,omitempty"`
// Description Project description
Description *string `json:"description,omitempty"`
// Name Project name
Name string `json:"name"`
}
CreateProjectRequest defines model for CreateProjectRequest.
type CreateProjectRequestDefaultRegion ¶
type CreateProjectRequestDefaultRegion string
CreateProjectRequestDefaultRegion Default region for resources
const (
CreateProjectRequestDefaultRegionUsEast CreateProjectRequestDefaultRegion = "us-east"
)
Defines values for CreateProjectRequestDefaultRegion.
func (CreateProjectRequestDefaultRegion) Valid ¶
func (e CreateProjectRequestDefaultRegion) Valid() bool
Valid indicates whether the value is a known member of the CreateProjectRequestDefaultRegion enum.
type CreateProjectResponse ¶
type CreateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *Project `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseCreateProjectResponse ¶
func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)
ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call
func (CreateProjectResponse) Status ¶
func (r CreateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProjectResponse) StatusCode ¶
func (r CreateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRoleJSONRequestBody ¶
type CreateRoleJSONRequestBody = CreateRoleRequest
CreateRoleJSONRequestBody defines body for CreateRole for application/json ContentType.
type CreateRoleRequest ¶
type CreateRoleRequest struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
Permissions []string `json:"permissions"`
Scope CreateRoleRequestScope `json:"scope"`
Slug string `json:"slug"`
}
CreateRoleRequest defines model for CreateRoleRequest.
type CreateRoleRequestScope ¶
type CreateRoleRequestScope string
CreateRoleRequestScope defines model for CreateRoleRequest.Scope.
const ( CreateRoleRequestScopeAccount CreateRoleRequestScope = "account" CreateRoleRequestScopeProject CreateRoleRequestScope = "project" )
Defines values for CreateRoleRequestScope.
func (CreateRoleRequestScope) Valid ¶
func (e CreateRoleRequestScope) Valid() bool
Valid indicates whether the value is a known member of the CreateRoleRequestScope enum.
type CreateRoleResponse ¶
type CreateRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *Role `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
}
func ParseCreateRoleResponse ¶
func ParseCreateRoleResponse(rsp *http.Response) (*CreateRoleResponse, error)
ParseCreateRoleResponse parses an HTTP response from a CreateRoleWithResponse call
func (CreateRoleResponse) Status ¶
func (r CreateRoleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRoleResponse) StatusCode ¶
func (r CreateRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSSHKeyJSONRequestBody ¶
type CreateSSHKeyJSONRequestBody = CreateSSHKeyRequest
CreateSSHKeyJSONRequestBody defines body for CreateSSHKey for application/json ContentType.
type CreateSSHKeyRequest ¶
type CreateSSHKeyRequest struct {
// Name SSH key display name
Name string `json:"name"`
// PublicKey Full SSH public key string
PublicKey string `json:"public_key"`
}
CreateSSHKeyRequest defines model for CreateSSHKeyRequest.
type CreateSSHKeyResponse ¶
type CreateSSHKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *SSHKey `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseCreateSSHKeyResponse ¶
func ParseCreateSSHKeyResponse(rsp *http.Response) (*CreateSSHKeyResponse, error)
ParseCreateSSHKeyResponse parses an HTTP response from a CreateSSHKeyWithResponse call
func (CreateSSHKeyResponse) Status ¶
func (r CreateSSHKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSSHKeyResponse) StatusCode ¶
func (r CreateSSHKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSecurityGroupJSONRequestBody ¶
type CreateSecurityGroupJSONRequestBody = CreateSecurityGroupRequest
CreateSecurityGroupJSONRequestBody defines body for CreateSecurityGroup for application/json ContentType.
type CreateSecurityGroupParams ¶
type CreateSecurityGroupParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
CreateSecurityGroupParams defines parameters for CreateSecurityGroup.
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
Rules *[]SecurityGroupRule `json:"rules,omitempty"`
// TemplateID Seed from a template. Template rules are copied, then merged with any explicit `rules`.
TemplateID *string `json:"template_id,omitempty"`
}
CreateSecurityGroupRequest defines model for CreateSecurityGroupRequest.
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
// Data A security group — a named set of inbound/outbound rules that can be attached to VM NICs.
Data *SecurityGroup `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseCreateSecurityGroupResponse ¶
func ParseCreateSecurityGroupResponse(rsp *http.Response) (*CreateSecurityGroupResponse, error)
ParseCreateSecurityGroupResponse parses an HTTP response from a CreateSecurityGroupWithResponse call
func (CreateSecurityGroupResponse) Status ¶
func (r CreateSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSecurityGroupResponse) StatusCode ¶
func (r CreateSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSnapshotJSONRequestBody ¶
type CreateSnapshotJSONRequestBody = CreateSnapshotRequest
CreateSnapshotJSONRequestBody defines body for CreateSnapshot for application/json ContentType.
type CreateSnapshotParams ¶
type CreateSnapshotParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
CreateSnapshotParams defines parameters for CreateSnapshot.
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct {
// Name Snapshot display name
Name string `json:"name"`
// ResourceID Source VM UUID. Required when `resource_type` is `vm`.
ResourceID *openapi_types.UUID `json:"resource_id,omitempty"`
// ResourceType Source type for the snapshot
ResourceType CreateSnapshotRequestResourceType `json:"resource_type"`
// VolumeID Source volume ID. Required when `resource_type` is `volume`.
VolumeID *int `json:"volume_id,omitempty"`
}
CreateSnapshotRequest defines model for CreateSnapshotRequest.
type CreateSnapshotRequestResourceType ¶
type CreateSnapshotRequestResourceType string
CreateSnapshotRequestResourceType Source type for the snapshot
const ( CreateSnapshotRequestResourceTypeVM CreateSnapshotRequestResourceType = "vm" CreateSnapshotRequestResourceTypeVolume CreateSnapshotRequestResourceType = "volume" )
Defines values for CreateSnapshotRequestResourceType.
func (CreateSnapshotRequestResourceType) Valid ¶
func (e CreateSnapshotRequestResourceType) Valid() bool
Valid indicates whether the value is a known member of the CreateSnapshotRequestResourceType enum.
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *Snapshot `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON403 *BillingValidationFailed
}
func ParseCreateSnapshotResponse ¶
func ParseCreateSnapshotResponse(rsp *http.Response) (*CreateSnapshotResponse, error)
ParseCreateSnapshotResponse parses an HTTP response from a CreateSnapshotWithResponse call
func (CreateSnapshotResponse) Status ¶
func (r CreateSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSnapshotResponse) StatusCode ¶
func (r CreateSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVMJSONRequestBody ¶
type CreateVMJSONRequestBody = CreateVMRequest
CreateVMJSONRequestBody defines body for CreateVM for application/json ContentType.
type CreateVMParams ¶
type CreateVMParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
CreateVMParams defines parameters for CreateVM.
type CreateVMRequest ¶
type CreateVMRequest struct {
// BackupDate Day of the week for weekly backups (e.g. `Saturday`). Required when `backup_type` is `weekly`, ignored for daily backups. Valid values: Monday–Sunday.
BackupDate *string `json:"backup_date,omitempty"`
// BackupTime Time of day to run backups (e.g. `8am`). Defaults to `8am` if not specified.
BackupTime *string `json:"backup_time,omitempty"`
// BackupType Set `daily` for daily backups or `weekly` for weekly backups. Use `none` or omit for no backups.
BackupType *CreateVMRequestBackupType `json:"backup_type,omitempty"`
// ExtraStorage Additional block storage volume in GB (0–10,000). Attached as a separate disk to the VM.
ExtraStorage *int `json:"extra_storage,omitempty"`
// ExtraStorageType Filesystem type for extra storage. Required for Linux VMs with extra storage (defaults to ext4 if omitted). For Windows VMs, storage is automatically formatted as NTFS — this field is ignored.
ExtraStorageType *CreateVMRequestExtraStorageType `json:"extra_storage_type,omitempty"`
// Name VM display name
Name string `json:"name"`
// Password Root password for the VM. Required for Windows VMs. For Linux VMs, required if no SSH keys are provided. Both SSH keys and password can be set on Linux. Must be at least 12 characters with: 2+ uppercase letters, 2+ digits, 1+ special character (@+-_.,!). Only alphanumeric characters and @+-_.,! are allowed.
Password *string `json:"password,omitempty"`
// PricingID Pricing plan ID that determines vCPU, RAM, storage, and bandwidth. Use `GET /api/v1/public/pricing/vm` to list available plans.
PricingID int `json:"pricing_id"`
// Region Data center region
Region CreateVMRequestRegion `json:"region"`
// SkipPublicIP When `true`, the VM is created without a public IPv4 address. It will only be reachable on its VPC private IP, so a VPC is required — pass `vpc_id` (existing) or `vpc_name` + `vpc_cidr` (new), or leave VPC fields empty to auto-create one. Combining `skip_public_ip=true` with `skip_vpc=true` is rejected because the VM would have no network at all.
SkipPublicIP *bool `json:"skip_public_ip,omitempty"`
// SkipVpc When `true`, no VPC is created or attached. The VM will only have its public IP — no private networking. Cannot be combined with `skip_public_ip=true`.
SkipVpc *bool `json:"skip_vpc,omitempty"`
// SSHKeys SSH public keys for VM access. Required for Linux VMs if no password is provided. Ignored for Windows VMs.
SSHKeys *[]string `json:"ssh_keys,omitempty"`
// Tags Custom tags for the VM
Tags *[]string `json:"tags,omitempty"`
// TemplateID OS template ID. Use `GET /api/v1/public/templates` to list available templates.
TemplateID openapi_types.UUID `json:"template_id"`
// VpcCidr CIDR block for the new VPC (e.g. `10.0.1.0/24`). Must be used together with `vpc_name`.
VpcCidr *string `json:"vpc_cidr,omitempty"`
// VpcID Attach VM to an existing VPC by its ID. If omitted along with `vpc_name`, a VPC is auto-created.
VpcID *openapi_types.UUID `json:"vpc_id,omitempty"`
// VpcName Create a new VPC with this name. Must be used together with `vpc_cidr`.
VpcName *string `json:"vpc_name,omitempty"`
}
CreateVMRequest defines model for CreateVMRequest.
type CreateVMRequestBackupType ¶
type CreateVMRequestBackupType string
CreateVMRequestBackupType Set `daily` for daily backups or `weekly` for weekly backups. Use `none` or omit for no backups.
const ( CreateVMRequestBackupTypeDaily CreateVMRequestBackupType = "daily" CreateVMRequestBackupTypeNone CreateVMRequestBackupType = "none" CreateVMRequestBackupTypeWeekly CreateVMRequestBackupType = "weekly" )
Defines values for CreateVMRequestBackupType.
func (CreateVMRequestBackupType) Valid ¶
func (e CreateVMRequestBackupType) Valid() bool
Valid indicates whether the value is a known member of the CreateVMRequestBackupType enum.
type CreateVMRequestExtraStorageType ¶
type CreateVMRequestExtraStorageType string
CreateVMRequestExtraStorageType Filesystem type for extra storage. Required for Linux VMs with extra storage (defaults to ext4 if omitted). For Windows VMs, storage is automatically formatted as NTFS — this field is ignored.
const ( CreateVMRequestExtraStorageTypeBtrfs CreateVMRequestExtraStorageType = "btrfs" CreateVMRequestExtraStorageTypeExt4 CreateVMRequestExtraStorageType = "ext4" CreateVMRequestExtraStorageTypeXfs CreateVMRequestExtraStorageType = "xfs" )
Defines values for CreateVMRequestExtraStorageType.
func (CreateVMRequestExtraStorageType) Valid ¶
func (e CreateVMRequestExtraStorageType) Valid() bool
Valid indicates whether the value is a known member of the CreateVMRequestExtraStorageType enum.
type CreateVMRequestRegion ¶
type CreateVMRequestRegion string
CreateVMRequestRegion Data center region
const (
CreateVMRequestRegionUsEast CreateVMRequestRegion = "us-east"
)
Defines values for CreateVMRequestRegion.
func (CreateVMRequestRegion) Valid ¶
func (e CreateVMRequestRegion) Valid() bool
Valid indicates whether the value is a known member of the CreateVMRequestRegion enum.
type CreateVMResponse ¶
type CreateVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *VM `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON403 *BillingValidationFailed
}
func ParseCreateVMResponse ¶
func ParseCreateVMResponse(rsp *http.Response) (*CreateVMResponse, error)
ParseCreateVMResponse parses an HTTP response from a CreateVMWithResponse call
func (CreateVMResponse) Status ¶
func (r CreateVMResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVMResponse) StatusCode ¶
func (r CreateVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVPCJSONRequestBody ¶
type CreateVPCJSONRequestBody = CreateVPCRequest
CreateVPCJSONRequestBody defines body for CreateVPC for application/json ContentType.
type CreateVPCParams ¶
type CreateVPCParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
CreateVPCParams defines parameters for CreateVPC.
type CreateVPCRequest ¶
type CreateVPCRequest struct {
// Cidr CIDR block. Must not overlap with other VPCs in the account. See `GET /api/v1/vpcs/cidr-suggestions` for non-overlapping options.
Cidr string `json:"cidr"`
// Name VPC name.
Name string `json:"name"`
// Region Region for the VPC. Defaults to `us-east`.
Region *CreateVPCRequestRegion `json:"region,omitempty"`
}
CreateVPCRequest defines model for CreateVPCRequest.
type CreateVPCRequestRegion ¶
type CreateVPCRequestRegion string
CreateVPCRequestRegion Region for the VPC. Defaults to `us-east`.
const (
CreateVPCRequestRegionUsEast CreateVPCRequestRegion = "us-east"
)
Defines values for CreateVPCRequestRegion.
func (CreateVPCRequestRegion) Valid ¶
func (e CreateVPCRequestRegion) Valid() bool
Valid indicates whether the value is a known member of the CreateVPCRequestRegion enum.
type CreateVPCResponse ¶
type CreateVPCResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
// Data A virtual private cloud (VPC).
Data *VPC `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON403 *BillingValidationFailed
}
func ParseCreateVPCResponse ¶
func ParseCreateVPCResponse(rsp *http.Response) (*CreateVPCResponse, error)
ParseCreateVPCResponse parses an HTTP response from a CreateVPCWithResponse call
func (CreateVPCResponse) Status ¶
func (r CreateVPCResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVPCResponse) StatusCode ¶
func (r CreateVPCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVolumeJSONRequestBody ¶
type CreateVolumeJSONRequestBody = CreateVolumeRequest
CreateVolumeJSONRequestBody defines body for CreateVolume for application/json ContentType.
type CreateVolumeParams ¶
type CreateVolumeParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
CreateVolumeParams defines parameters for CreateVolume.
type CreateVolumeRequest ¶
type CreateVolumeRequest struct {
// FilesystemType Filesystem to format the volume with on first attach. Linux only — Windows VMs use NTFS automatically. Defaults to `ext4`.
FilesystemType *CreateVolumeRequestFilesystemType `json:"filesystem_type,omitempty"`
// Name Volume display name
Name string `json:"name"`
// Region Region. Defaults to the project's default region.
Region *CreateVolumeRequestRegion `json:"region,omitempty"`
// Size Volume size in GB
Size int `json:"size"`
// VMID Optional. Attach the volume to this VM at create time. VM must be in the same region.
VMID *openapi_types.UUID `json:"vm_id,omitempty"`
// VolumeType Storage class
VolumeType CreateVolumeRequestVolumeType `json:"volume_type"`
}
CreateVolumeRequest defines model for CreateVolumeRequest.
type CreateVolumeRequestFilesystemType ¶
type CreateVolumeRequestFilesystemType string
CreateVolumeRequestFilesystemType Filesystem to format the volume with on first attach. Linux only — Windows VMs use NTFS automatically. Defaults to `ext4`.
const ( CreateVolumeRequestFilesystemTypeBtrfs CreateVolumeRequestFilesystemType = "btrfs" CreateVolumeRequestFilesystemTypeExt4 CreateVolumeRequestFilesystemType = "ext4" CreateVolumeRequestFilesystemTypeXfs CreateVolumeRequestFilesystemType = "xfs" )
Defines values for CreateVolumeRequestFilesystemType.
func (CreateVolumeRequestFilesystemType) Valid ¶
func (e CreateVolumeRequestFilesystemType) Valid() bool
Valid indicates whether the value is a known member of the CreateVolumeRequestFilesystemType enum.
type CreateVolumeRequestRegion ¶
type CreateVolumeRequestRegion string
CreateVolumeRequestRegion Region. Defaults to the project's default region.
const (
CreateVolumeRequestRegionUsEast CreateVolumeRequestRegion = "us-east"
)
Defines values for CreateVolumeRequestRegion.
func (CreateVolumeRequestRegion) Valid ¶
func (e CreateVolumeRequestRegion) Valid() bool
Valid indicates whether the value is a known member of the CreateVolumeRequestRegion enum.
type CreateVolumeRequestVolumeType ¶
type CreateVolumeRequestVolumeType string
CreateVolumeRequestVolumeType Storage class
const (
CreateVolumeRequestVolumeTypeNvme CreateVolumeRequestVolumeType = "nvme"
)
Defines values for CreateVolumeRequestVolumeType.
func (CreateVolumeRequestVolumeType) Valid ¶
func (e CreateVolumeRequestVolumeType) Valid() bool
Valid indicates whether the value is a known member of the CreateVolumeRequestVolumeType enum.
type CreateVolumeResponse ¶
type CreateVolumeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *struct {
Data *Volume `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON403 *BillingValidationFailed
}
func ParseCreateVolumeResponse ¶
func ParseCreateVolumeResponse(rsp *http.Response) (*CreateVolumeResponse, error)
ParseCreateVolumeResponse parses an HTTP response from a CreateVolumeWithResponse call
func (CreateVolumeResponse) Status ¶
func (r CreateVolumeResponse) Status() string
Status returns HTTPResponse.Status
func (CreateVolumeResponse) StatusCode ¶
func (r CreateVolumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Database ¶ added in v0.4.0
type Database struct {
// BillingType Billing type for this database
BillingType *DatabaseBillingType `json:"billing_type,omitempty"`
// ConnectionHost Private endpoint hostname, resolvable inside the attached VPC
ConnectionHost *string `json:"connection_host,omitempty"`
// ConnectionPort Private endpoint port. PostgreSQL: 6432 pooled (PgBouncer, transaction mode), 5432 direct. Valkey: 6379 (TLS).
ConnectionPort *int `json:"connection_port,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// DatabaseID Short reference id used in URLs and DNS hostnames, e.g. `a1b2c3d4`
DatabaseID *string `json:"database_id,omitempty"`
// Engine Database engine identifier. Defaults to `postgres` on create; the live catalog (including availability and versions) is `GET /api/v1/databases/engines`.
Engine *DatabaseEngine `json:"engine,omitempty"`
// EngineVersion Engine major version
EngineVersion *string `json:"engine_version,omitempty"`
// HaEnabled High availability — a standby that takes over automatically on failure (Sentinel failover for Valkey). Adds 70% of the plan price.
HaEnabled *bool `json:"ha_enabled,omitempty"`
// ID Unique database identifier
ID *openapi_types.UUID `json:"id,omitempty"`
// MonthlyPrice Monthly price in USD
MonthlyPrice *float32 `json:"monthly_price,omitempty"`
// Name Display name
Name *string `json:"name,omitempty"`
// PlanID Pricing plan ID (see `GET /api/v1/databases/plans`)
PlanID *int `json:"plan_id,omitempty"`
// PricePerHour Hourly billing rate in USD
PricePerHour *float32 `json:"price_per_hour,omitempty"`
// ProjectID Project this database belongs to
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
// PublicAccess Whether public access is enabled
PublicAccess *bool `json:"public_access,omitempty"`
// PublicAllowlist Source CIDRs allowed on the public endpoint. Empty = allow all sources.
PublicAllowlist *[]string `json:"public_allowlist,omitempty"`
// PublicDNSHostname Public endpoint hostname (empty when public access is off)
PublicDNSHostname *string `json:"public_dns_hostname,omitempty"`
// PublicPort Public port from the reserved range 25060–26060; `0` when public access is off. For PostgreSQL, `public_port` is the pooled endpoint and `public_port + 1` is the direct endpoint.
PublicPort *int `json:"public_port,omitempty"`
// Region Data center region
Region *DatabaseRegion `json:"region,omitempty"`
// ReplicaCount Number of read replicas (PostgreSQL only; always 0 for Valkey)
ReplicaCount *int `json:"replica_count,omitempty"`
// Status Lifecycle status. Creation: `pending` → `deploying` → `running`. `warning` means running with a degraded component; `suspended` means a free-tier database paused for idleness (resume any time — data is kept); `failed` means provisioning or a scale operation failed.
Status *DatabaseStatus `json:"status,omitempty"`
// StatusMessage Human-readable detail for `warning` and `failed` states
StatusMessage *string `json:"status_message,omitempty"`
// StorageGb Provisioned storage in GB. Storage above the plan's included allotment bills at $0.12/GB/month.
StorageGb *int `json:"storage_gb,omitempty"`
// SubscriptionID Subscription ID if billing_type is subscription
SubscriptionID *openapi_types.UUID `json:"subscription_id,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// VpcID VPC the private endpoint is attached to (empty if not yet connected)
VpcID *openapi_types.UUID `json:"vpc_id,omitempty"`
}
Database A managed database instance. The private endpoint `{database_id}.db.raffusercloud.com` lives inside the attached VPC; public access is optional. TLS is always required.
type DatabaseBackup ¶ added in v0.4.0
type DatabaseBackup struct {
// BackupTimestamp Consistency point of the backup
BackupTimestamp *time.Time `json:"backup_timestamp,omitempty"`
// BackupType `base` = nightly automatic backup; `on_demand` = manually requested
BackupType *DatabaseBackupBackupType `json:"backup_type,omitempty"`
CompletedAt *time.Time `json:"completed_at,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// DatabaseID Database this backup belongs to
DatabaseID *openapi_types.UUID `json:"database_id,omitempty"`
// ExpiresAt When the backup leaves retention
ExpiresAt *time.Time `json:"expires_at,omitempty"`
// ID Backup identifier — use as `backup_id` when restoring
ID *openapi_types.UUID `json:"id,omitempty"`
// S3Path Object storage location of the backup artifact
S3Path *string `json:"s3_path,omitempty"`
// SizeBytes Backup size in bytes (0 while running)
SizeBytes *int `json:"size_bytes,omitempty"`
// Status Only `completed` backups are restorable
Status *DatabaseBackupStatus `json:"status,omitempty"`
}
DatabaseBackup defines model for DatabaseBackup.
type DatabaseBackupBackupType ¶ added in v0.4.0
type DatabaseBackupBackupType string
DatabaseBackupBackupType `base` = nightly automatic backup; `on_demand` = manually requested
const ( Base DatabaseBackupBackupType = "base" OnDemand DatabaseBackupBackupType = "on_demand" )
Defines values for DatabaseBackupBackupType.
func (DatabaseBackupBackupType) Valid ¶ added in v0.4.0
func (e DatabaseBackupBackupType) Valid() bool
Valid indicates whether the value is a known member of the DatabaseBackupBackupType enum.
type DatabaseBackupStatus ¶ added in v0.4.0
type DatabaseBackupStatus string
DatabaseBackupStatus Only `completed` backups are restorable
const ( DatabaseBackupStatusCompleted DatabaseBackupStatus = "completed" DatabaseBackupStatusFailed DatabaseBackupStatus = "failed" DatabaseBackupStatusRunning DatabaseBackupStatus = "running" )
Defines values for DatabaseBackupStatus.
func (DatabaseBackupStatus) Valid ¶ added in v0.4.0
func (e DatabaseBackupStatus) Valid() bool
Valid indicates whether the value is a known member of the DatabaseBackupStatus enum.
type DatabaseBillingType ¶ added in v0.4.0
type DatabaseBillingType string
DatabaseBillingType Billing type for this database
const ( DatabaseBillingTypePayg DatabaseBillingType = "payg" DatabaseBillingTypeSubscription DatabaseBillingType = "subscription" )
Defines values for DatabaseBillingType.
func (DatabaseBillingType) Valid ¶ added in v0.4.0
func (e DatabaseBillingType) Valid() bool
Valid indicates whether the value is a known member of the DatabaseBillingType enum.
type DatabaseConnection ¶ added in v0.4.0
type DatabaseConnection struct {
// CaCert PEM CA bundle your client must trust, for engines whose certificates come from a private CA (currently Kafka). Empty for other engines.
CaCert *string `json:"ca_cert,omitempty"`
// ConnectionURI Ready-to-use connection URI (includes the password only when revealed)
ConnectionURI *string `json:"connection_uri,omitempty"`
// DatabaseName Default database name
DatabaseName *string `json:"database_name,omitempty"`
// Host Endpoint hostname
Host *string `json:"host,omitempty"`
// Password Password — empty unless the request was made with `reveal=true`
Password *string `json:"password,omitempty"`
// Port Endpoint port
Port *int `json:"port,omitempty"`
// Username Database user
Username *string `json:"username,omitempty"`
}
DatabaseConnection defines model for DatabaseConnection.
type DatabaseEngine ¶ added in v0.4.0
type DatabaseEngine string
DatabaseEngine Database engine identifier. Defaults to `postgres` on create; the live catalog (including availability and versions) is `GET /api/v1/databases/engines`.
const ( Clickhouse DatabaseEngine = "clickhouse" Kafka DatabaseEngine = "kafka" Mysql DatabaseEngine = "mysql" Postgres DatabaseEngine = "postgres" Valkey DatabaseEngine = "valkey" )
Defines values for DatabaseEngine.
func (DatabaseEngine) Valid ¶ added in v0.4.0
func (e DatabaseEngine) Valid() bool
Valid indicates whether the value is a known member of the DatabaseEngine enum.
type DatabaseEngineInfo ¶ added in v0.4.0
type DatabaseEngineInfo struct {
// Available Whether this engine can be created. MySQL is listed but not yet available.
Available *bool `json:"available,omitempty"`
DisplayName *string `json:"display_name,omitempty"`
// Engine Database engine identifier. Defaults to `postgres` on create; the live catalog (including availability and versions) is `GET /api/v1/databases/engines`.
Engine *DatabaseEngine `json:"engine,omitempty"`
// Versions Supported major versions
Versions *[]string `json:"versions,omitempty"`
}
DatabaseEngineInfo defines model for DatabaseEngineInfo.
type DatabaseExtension ¶ added in v0.4.0
type DatabaseExtension struct {
Description *string `json:"description,omitempty"`
DisplayName *string `json:"display_name,omitempty"`
// Installed Whether the extension is currently installed
Installed *bool `json:"installed,omitempty"`
// Name Extension name, used with `POST /api/v1/databases/{database_id}/extensions`
Name *string `json:"name,omitempty"`
// Version Installed version (empty when not installed)
Version *string `json:"version,omitempty"`
}
DatabaseExtension A PostgreSQL extension from the allowlist.
type DatabaseHAPricing ¶ added in v0.4.0
type DatabaseHAPricing struct {
// Engine Database engine identifier. Defaults to `postgres` on create; the live catalog (including availability and versions) is `GET /api/v1/databases/engines`.
Engine *DatabaseEngine `json:"engine,omitempty"`
// PriceMultiplier Fraction of the plan price added for high availability
PriceMultiplier *float32 `json:"price_multiplier,omitempty"`
}
DatabaseHAPricing High availability pricing for one engine. An HA plan costs `price_per_month * (1 + price_multiplier)`.
type DatabaseIDPath ¶ added in v0.4.0
type DatabaseIDPath = string
DatabaseIDPath defines model for DatabaseIDPath.
type DatabaseMetrics ¶ added in v0.4.0
type DatabaseMetrics struct {
// ArchiveLagBytes WAL archiving lag in bytes (PostgreSQL)
ArchiveLagBytes *int `json:"archive_lag_bytes,omitempty"`
// ConnectionsActive Active client connections
ConnectionsActive *int `json:"connections_active,omitempty"`
// ConnectionsMax Connection limit
ConnectionsMax *int `json:"connections_max,omitempty"`
// CPUCapacityMillicores CPU capacity, millicores
CPUCapacityMillicores *int `json:"cpu_capacity_millicores,omitempty"`
// CPUUsedMillicores CPU in use, millicores
CPUUsedMillicores *int `json:"cpu_used_millicores,omitempty"`
// MemCapacityBytes Memory capacity, bytes
MemCapacityBytes *int `json:"mem_capacity_bytes,omitempty"`
// MemUsedBytes Memory in use, bytes
MemUsedBytes *int `json:"mem_used_bytes,omitempty"`
// MetricsUpdatedAt When this snapshot was taken
MetricsUpdatedAt *time.Time `json:"metrics_updated_at,omitempty"`
// ReplicationLagBytes Standby/replica lag in bytes (0 without HA or replicas)
ReplicationLagBytes *int `json:"replication_lag_bytes,omitempty"`
// StorageCapacityBytes Storage capacity, bytes
StorageCapacityBytes *int `json:"storage_capacity_bytes,omitempty"`
// StorageUsedBytes Storage in use, bytes
StorageUsedBytes *int `json:"storage_used_bytes,omitempty"`
}
DatabaseMetrics Latest usage snapshot, refreshed about every 60 seconds. Zero values mean not measured yet.
type DatabaseMetricsPoint ¶ added in v0.4.0
type DatabaseMetricsPoint struct {
ArchiveLagBytes *int `json:"archive_lag_bytes,omitempty"`
ConnectionsActive *int `json:"connections_active,omitempty"`
ConnectionsMax *int `json:"connections_max,omitempty"`
CPUCapacityMillicores *int `json:"cpu_capacity_millicores,omitempty"`
CPUUsedMillicores *int `json:"cpu_used_millicores,omitempty"`
MemCapacityBytes *int `json:"mem_capacity_bytes,omitempty"`
MemUsedBytes *int `json:"mem_used_bytes,omitempty"`
RecordedAt *time.Time `json:"recorded_at,omitempty"`
ReplicationLagBytes *int `json:"replication_lag_bytes,omitempty"`
StorageCapacityBytes *int `json:"storage_capacity_bytes,omitempty"`
StorageUsedBytes *int `json:"storage_used_bytes,omitempty"`
}
DatabaseMetricsPoint One bucketed point in the metrics history.
type DatabasePricingPlan ¶ added in v0.4.0
type DatabasePricingPlan struct {
// Engine Database engine identifier. Defaults to `postgres` on create; the live catalog (including availability and versions) is `GET /api/v1/databases/engines`.
Engine DatabaseEngine `json:"engine"`
// ID Plan ID
ID int `json:"id"`
// IsFreeTier Free plan — one per account, no HA or replicas, fixed storage,
// pauses after 7 idle days (resume keeps all data).
IsFreeTier *bool `json:"is_free_tier,omitempty"`
// MaxConnections Client connection limit enforced by the engine. 0 means the engine default.
MaxConnections *int `json:"max_connections,omitempty"`
// MemoryGib RAM in GiB
MemoryGib int `json:"memory_gib"`
// MemoryMib RAM override in MiB for sub-GiB plans (free Valkey = 512). 0 means `memory_gib` applies.
MemoryMib *int `json:"memory_mib,omitempty"`
// Name Plan name
Name string `json:"name"`
// PricePerHour Hourly price in USD
PricePerHour float32 `json:"price_per_hour"`
// PricePerMonth Monthly price in USD
PricePerMonth float32 `json:"price_per_month"`
// Region Region this plan is available in
Region DatabasePricingPlanRegion `json:"region"`
// StorageGib Included SSD storage in GiB
StorageGib int `json:"storage_gib"`
// Vcpu Number of vCPU cores
Vcpu int `json:"vcpu"`
}
DatabasePricingPlan defines model for DatabasePricingPlan.
type DatabasePricingPlanRegion ¶ added in v0.4.0
type DatabasePricingPlanRegion string
DatabasePricingPlanRegion Region this plan is available in
const (
DatabasePricingPlanRegionUsEast DatabasePricingPlanRegion = "us-east"
)
Defines values for DatabasePricingPlanRegion.
func (DatabasePricingPlanRegion) Valid ¶ added in v0.4.0
func (e DatabasePricingPlanRegion) Valid() bool
Valid indicates whether the value is a known member of the DatabasePricingPlanRegion enum.
type DatabasePublicAccessRequest ¶ added in v0.4.0
type DatabasePublicAccessRequest struct {
// Allowlist Source CIDRs allowed to connect. Omit to keep the stored list; pass `[]` to allow all sources.
Allowlist *[]string `json:"allowlist,omitempty"`
// Enabled Enable or disable public access
Enabled bool `json:"enabled"`
}
DatabasePublicAccessRequest defines model for DatabasePublicAccessRequest.
type DatabaseRegion ¶ added in v0.4.0
type DatabaseRegion string
DatabaseRegion Data center region
const (
DatabaseRegionUsEast DatabaseRegion = "us-east"
)
Defines values for DatabaseRegion.
func (DatabaseRegion) Valid ¶ added in v0.4.0
func (e DatabaseRegion) Valid() bool
Valid indicates whether the value is a known member of the DatabaseRegion enum.
type DatabaseReplicaPricing ¶ added in v0.4.0
type DatabaseReplicaPricing struct {
// Engine Database engine identifier. Defaults to `postgres` on create; the live catalog (including availability and versions) is `GET /api/v1/databases/engines`.
Engine *DatabaseEngine `json:"engine,omitempty"`
// PriceMultiplier Multiplier applied to the replica base price
PriceMultiplier *float32 `json:"price_multiplier,omitempty"`
// PricePerMonth Monthly price per read replica in USD
PricePerMonth *float32 `json:"price_per_month,omitempty"`
}
DatabaseReplicaPricing Read replica pricing for one engine.
type DatabaseSlowQuery ¶ added in v0.4.0
type DatabaseSlowQuery struct {
// Calls Number of executions aggregated into this entry
Calls *int `json:"calls,omitempty"`
// MeanMs Mean execution time in milliseconds
MeanMs *float32 `json:"mean_ms,omitempty"`
// Query Normalized query text (PostgreSQL) or the slow command (Valkey)
Query *string `json:"query,omitempty"`
// Rows Total rows returned or affected (PostgreSQL)
Rows *int `json:"rows,omitempty"`
// TotalMs Total execution time in milliseconds
TotalMs *float32 `json:"total_ms,omitempty"`
}
DatabaseSlowQuery One slow-query entry. PostgreSQL rows are `pg_stat_statements` aggregates per normalized query; Valkey rows are individual slow commands from `SLOWLOG` (`calls` is 1, `rows` is not applicable).
type DatabaseStatus ¶ added in v0.4.0
type DatabaseStatus string
DatabaseStatus Lifecycle status. Creation: `pending` → `deploying` → `running`. `warning` means running with a degraded component; `suspended` means a free-tier database paused for idleness (resume any time — data is kept); `failed` means provisioning or a scale operation failed.
const ( DatabaseStatusDeleted DatabaseStatus = "deleted" DatabaseStatusDeleting DatabaseStatus = "deleting" DatabaseStatusDeploying DatabaseStatus = "deploying" DatabaseStatusFailed DatabaseStatus = "failed" DatabaseStatusPending DatabaseStatus = "pending" DatabaseStatusRunning DatabaseStatus = "running" DatabaseStatusSuspended DatabaseStatus = "suspended" DatabaseStatusWarning DatabaseStatus = "warning" )
Defines values for DatabaseStatus.
func (DatabaseStatus) Valid ¶ added in v0.4.0
func (e DatabaseStatus) Valid() bool
Valid indicates whether the value is a known member of the DatabaseStatus enum.
type DatabaseStoragePricing ¶ added in v0.4.0
type DatabaseStoragePricing struct {
// Engine Database engine identifier. Defaults to `postgres` on create; the live catalog (including availability and versions) is `GET /api/v1/databases/engines`.
Engine *DatabaseEngine `json:"engine,omitempty"`
// MaxGb Maximum storage in GB
MaxGb *int `json:"max_gb,omitempty"`
// MinGb Minimum storage in GB
MinGb *int `json:"min_gb,omitempty"`
// PricePerGbMonth Price per GB per month in USD
PricePerGbMonth *float32 `json:"price_per_gb_month,omitempty"`
}
DatabaseStoragePricing Extra storage pricing for one engine.
type DeleteAppCustomDomainResponse ¶ added in v0.4.0
type DeleteAppCustomDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Accepted *bool `json:"accepted,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteAppCustomDomainResponse ¶ added in v0.4.0
func ParseDeleteAppCustomDomainResponse(rsp *http.Response) (*DeleteAppCustomDomainResponse, error)
ParseDeleteAppCustomDomainResponse parses an HTTP response from a DeleteAppCustomDomainWithResponse call
func (DeleteAppCustomDomainResponse) Status ¶ added in v0.4.0
func (r DeleteAppCustomDomainResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAppCustomDomainResponse) StatusCode ¶ added in v0.4.0
func (r DeleteAppCustomDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAppEnvVarResponse ¶ added in v0.4.0
type DeleteAppEnvVarResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DeploymentID *openapi_types.UUID `json:"deployment_id,omitempty"`
EnvVars *[]AppEnvVar `json:"env_vars,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteAppEnvVarResponse ¶ added in v0.4.0
func ParseDeleteAppEnvVarResponse(rsp *http.Response) (*DeleteAppEnvVarResponse, error)
ParseDeleteAppEnvVarResponse parses an HTTP response from a DeleteAppEnvVarWithResponse call
func (DeleteAppEnvVarResponse) Status ¶ added in v0.4.0
func (r DeleteAppEnvVarResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAppEnvVarResponse) StatusCode ¶ added in v0.4.0
func (r DeleteAppEnvVarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAppServiceResponse ¶ added in v0.4.0
type DeleteAppServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Accepted *bool `json:"accepted,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteAppServiceResponse ¶ added in v0.4.0
func ParseDeleteAppServiceResponse(rsp *http.Response) (*DeleteAppServiceResponse, error)
ParseDeleteAppServiceResponse parses an HTTP response from a DeleteAppServiceWithResponse call
func (DeleteAppServiceResponse) Status ¶ added in v0.4.0
func (r DeleteAppServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAppServiceResponse) StatusCode ¶ added in v0.4.0
func (r DeleteAppServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteBackupChainParams ¶ added in v0.3.4
type DeleteBackupChainParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteBackupChainParams defines parameters for DeleteBackupChain.
type DeleteBackupChainResponse ¶ added in v0.3.4
type DeleteBackupChainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseDeleteBackupChainResponse ¶ added in v0.3.4
func ParseDeleteBackupChainResponse(rsp *http.Response) (*DeleteBackupChainResponse, error)
ParseDeleteBackupChainResponse parses an HTTP response from a DeleteBackupChainWithResponse call
func (DeleteBackupChainResponse) Status ¶ added in v0.3.4
func (r DeleteBackupChainResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBackupChainResponse) StatusCode ¶ added in v0.3.4
func (r DeleteBackupChainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteBackupParams ¶
type DeleteBackupParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteBackupParams defines parameters for DeleteBackup.
type DeleteBackupResponse ¶
type DeleteBackupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseDeleteBackupResponse ¶
func ParseDeleteBackupResponse(rsp *http.Response) (*DeleteBackupResponse, error)
ParseDeleteBackupResponse parses an HTTP response from a DeleteBackupWithResponse call
func (DeleteBackupResponse) Status ¶
func (r DeleteBackupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBackupResponse) StatusCode ¶
func (r DeleteBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteBackupScheduleParams ¶
type DeleteBackupScheduleParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteBackupScheduleParams defines parameters for DeleteBackupSchedule.
type DeleteBackupScheduleResponse ¶
type DeleteBackupScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseDeleteBackupScheduleResponse ¶
func ParseDeleteBackupScheduleResponse(rsp *http.Response) (*DeleteBackupScheduleResponse, error)
ParseDeleteBackupScheduleResponse parses an HTTP response from a DeleteBackupScheduleWithResponse call
func (DeleteBackupScheduleResponse) Status ¶
func (r DeleteBackupScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBackupScheduleResponse) StatusCode ¶
func (r DeleteBackupScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDatabaseResponse ¶ added in v0.4.0
type DeleteDatabaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteDatabaseResponse ¶ added in v0.4.0
func ParseDeleteDatabaseResponse(rsp *http.Response) (*DeleteDatabaseResponse, error)
ParseDeleteDatabaseResponse parses an HTTP response from a DeleteDatabaseWithResponse call
func (DeleteDatabaseResponse) Status ¶ added in v0.4.0
func (r DeleteDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDatabaseResponse) StatusCode ¶ added in v0.4.0
func (r DeleteDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFunctionBindingResponse ¶ added in v0.4.0
type DeleteFunctionBindingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteFunctionBindingResponse ¶ added in v0.4.0
func ParseDeleteFunctionBindingResponse(rsp *http.Response) (*DeleteFunctionBindingResponse, error)
ParseDeleteFunctionBindingResponse parses an HTTP response from a DeleteFunctionBindingWithResponse call
func (DeleteFunctionBindingResponse) Status ¶ added in v0.4.0
func (r DeleteFunctionBindingResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFunctionBindingResponse) StatusCode ¶ added in v0.4.0
func (r DeleteFunctionBindingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFunctionEnvVarResponse ¶ added in v0.4.0
type DeleteFunctionEnvVarResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteFunctionEnvVarResponse ¶ added in v0.4.0
func ParseDeleteFunctionEnvVarResponse(rsp *http.Response) (*DeleteFunctionEnvVarResponse, error)
ParseDeleteFunctionEnvVarResponse parses an HTTP response from a DeleteFunctionEnvVarWithResponse call
func (DeleteFunctionEnvVarResponse) Status ¶ added in v0.4.0
func (r DeleteFunctionEnvVarResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFunctionEnvVarResponse) StatusCode ¶ added in v0.4.0
func (r DeleteFunctionEnvVarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFunctionResponse ¶ added in v0.4.0
type DeleteFunctionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteFunctionResponse ¶ added in v0.4.0
func ParseDeleteFunctionResponse(rsp *http.Response) (*DeleteFunctionResponse, error)
ParseDeleteFunctionResponse parses an HTTP response from a DeleteFunctionWithResponse call
func (DeleteFunctionResponse) Status ¶ added in v0.4.0
func (r DeleteFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFunctionResponse) StatusCode ¶ added in v0.4.0
func (r DeleteFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFunctionTriggerResponse ¶ added in v0.4.0
type DeleteFunctionTriggerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteFunctionTriggerResponse ¶ added in v0.4.0
func ParseDeleteFunctionTriggerResponse(rsp *http.Response) (*DeleteFunctionTriggerResponse, error)
ParseDeleteFunctionTriggerResponse parses an HTTP response from a DeleteFunctionTriggerWithResponse call
func (DeleteFunctionTriggerResponse) Status ¶ added in v0.4.0
func (r DeleteFunctionTriggerResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFunctionTriggerResponse) StatusCode ¶ added in v0.4.0
func (r DeleteFunctionTriggerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteK8SClusterParams ¶ added in v0.4.0
type DeleteK8SClusterParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteK8SClusterParams defines parameters for DeleteK8SCluster.
type DeleteK8SClusterResponse ¶ added in v0.4.0
type DeleteK8SClusterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseDeleteK8SClusterResponse ¶ added in v0.4.0
func ParseDeleteK8SClusterResponse(rsp *http.Response) (*DeleteK8SClusterResponse, error)
ParseDeleteK8SClusterResponse parses an HTTP response from a DeleteK8SClusterWithResponse call
func (DeleteK8SClusterResponse) Status ¶ added in v0.4.0
func (r DeleteK8SClusterResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteK8SClusterResponse) StatusCode ¶ added in v0.4.0
func (r DeleteK8SClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteK8SNodePoolParams ¶ added in v0.4.0
type DeleteK8SNodePoolParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteK8SNodePoolParams defines parameters for DeleteK8SNodePool.
type DeleteK8SNodePoolResponse ¶ added in v0.4.0
type DeleteK8SNodePoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseDeleteK8SNodePoolResponse ¶ added in v0.4.0
func ParseDeleteK8SNodePoolResponse(rsp *http.Response) (*DeleteK8SNodePoolResponse, error)
ParseDeleteK8SNodePoolResponse parses an HTTP response from a DeleteK8SNodePoolWithResponse call
func (DeleteK8SNodePoolResponse) Status ¶ added in v0.4.0
func (r DeleteK8SNodePoolResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteK8SNodePoolResponse) StatusCode ¶ added in v0.4.0
func (r DeleteK8SNodePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteK8STcpPortParams ¶ added in v0.4.0
type DeleteK8STcpPortParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteK8STcpPortParams defines parameters for DeleteK8STcpPort.
type DeleteK8STcpPortResponse ¶ added in v0.4.0
type DeleteK8STcpPortResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseDeleteK8STcpPortResponse ¶ added in v0.4.0
func ParseDeleteK8STcpPortResponse(rsp *http.Response) (*DeleteK8STcpPortResponse, error)
ParseDeleteK8STcpPortResponse parses an HTTP response from a DeleteK8STcpPortWithResponse call
func (DeleteK8STcpPortResponse) Status ¶ added in v0.4.0
func (r DeleteK8STcpPortResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteK8STcpPortResponse) StatusCode ¶ added in v0.4.0
func (r DeleteK8STcpPortResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProjectResponse ¶
type DeleteProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteProjectResponse ¶
func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)
ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call
func (DeleteProjectResponse) Status ¶
func (r DeleteProjectResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProjectResponse) StatusCode ¶
func (r DeleteProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRoleResponse ¶
type DeleteRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseDeleteRoleResponse ¶
func ParseDeleteRoleResponse(rsp *http.Response) (*DeleteRoleResponse, error)
ParseDeleteRoleResponse parses an HTTP response from a DeleteRoleWithResponse call
func (DeleteRoleResponse) Status ¶
func (r DeleteRoleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRoleResponse) StatusCode ¶
func (r DeleteRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSSHKeyResponse ¶
type DeleteSSHKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *SSHKey `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseDeleteSSHKeyResponse ¶
func ParseDeleteSSHKeyResponse(rsp *http.Response) (*DeleteSSHKeyResponse, error)
ParseDeleteSSHKeyResponse parses an HTTP response from a DeleteSSHKeyWithResponse call
func (DeleteSSHKeyResponse) Status ¶
func (r DeleteSSHKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSSHKeyResponse) StatusCode ¶
func (r DeleteSSHKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSecurityGroupParams ¶
type DeleteSecurityGroupParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteSecurityGroupParams defines parameters for DeleteSecurityGroup.
type DeleteSecurityGroupResponse ¶
type DeleteSecurityGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteSecurityGroupResponse ¶
func ParseDeleteSecurityGroupResponse(rsp *http.Response) (*DeleteSecurityGroupResponse, error)
ParseDeleteSecurityGroupResponse parses an HTTP response from a DeleteSecurityGroupWithResponse call
func (DeleteSecurityGroupResponse) Status ¶
func (r DeleteSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSecurityGroupResponse) StatusCode ¶
func (r DeleteSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSnapshotParams ¶
type DeleteSnapshotParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteSnapshotParams defines parameters for DeleteSnapshot.
type DeleteSnapshotResponse ¶
type DeleteSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseDeleteSnapshotResponse ¶
func ParseDeleteSnapshotResponse(rsp *http.Response) (*DeleteSnapshotResponse, error)
ParseDeleteSnapshotResponse parses an HTTP response from a DeleteSnapshotWithResponse call
func (DeleteSnapshotResponse) Status ¶
func (r DeleteSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSnapshotResponse) StatusCode ¶
func (r DeleteSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVMJSONRequestBody ¶
type DeleteVMJSONRequestBody = DeleteVMRequest
DeleteVMJSONRequestBody defines body for DeleteVM for application/json ContentType.
type DeleteVMParams ¶
type DeleteVMParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteVMParams defines parameters for DeleteVM.
type DeleteVMRequest ¶
type DeleteVMRequest struct {
// DeleteVpc Whether to delete the associated VPC. Only succeeds if no other VMs are using it.
DeleteVpc *bool `json:"delete_vpc,omitempty"`
// VolumeAction What to do with attached volumes. `detach` keeps them (still billable), `delete` removes them permanently.
VolumeAction *DeleteVMRequestVolumeAction `json:"volume_action,omitempty"`
}
DeleteVMRequest defines model for DeleteVMRequest.
type DeleteVMRequestVolumeAction ¶
type DeleteVMRequestVolumeAction string
DeleteVMRequestVolumeAction What to do with attached volumes. `detach` keeps them (still billable), `delete` removes them permanently.
const ( DeleteVMRequestVolumeActionDelete DeleteVMRequestVolumeAction = "delete" DeleteVMRequestVolumeActionDetach DeleteVMRequestVolumeAction = "detach" )
Defines values for DeleteVMRequestVolumeAction.
func (DeleteVMRequestVolumeAction) Valid ¶
func (e DeleteVMRequestVolumeAction) Valid() bool
Valid indicates whether the value is a known member of the DeleteVMRequestVolumeAction enum.
type DeleteVMResponse ¶
type DeleteVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON404 *NotFound
}
func ParseDeleteVMResponse ¶
func ParseDeleteVMResponse(rsp *http.Response) (*DeleteVMResponse, error)
ParseDeleteVMResponse parses an HTTP response from a DeleteVMWithResponse call
func (DeleteVMResponse) Status ¶
func (r DeleteVMResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVMResponse) StatusCode ¶
func (r DeleteVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVMsBulkJSONRequestBody ¶
type DeleteVMsBulkJSONRequestBody = DeleteVMsBulkRequest
DeleteVMsBulkJSONRequestBody defines body for DeleteVMsBulk for application/json ContentType.
type DeleteVMsBulkParams ¶
type DeleteVMsBulkParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteVMsBulkParams defines parameters for DeleteVMsBulk.
type DeleteVMsBulkRequest ¶
type DeleteVMsBulkRequest struct {
// DeleteVpc Whether to delete associated VPCs. Only succeeds if no other VMs are using them.
DeleteVpc *bool `json:"delete_vpc,omitempty"`
// Ids VM IDs to delete (1–50).
Ids []openapi_types.UUID `json:"ids"`
// VolumeAction What to do with attached volumes. `detach` keeps them (still billable), `delete` removes them permanently.
VolumeAction *DeleteVMsBulkRequestVolumeAction `json:"volume_action,omitempty"`
}
DeleteVMsBulkRequest defines model for DeleteVMsBulkRequest.
type DeleteVMsBulkRequestVolumeAction ¶
type DeleteVMsBulkRequestVolumeAction string
DeleteVMsBulkRequestVolumeAction What to do with attached volumes. `detach` keeps them (still billable), `delete` removes them permanently.
const ( DeleteVMsBulkRequestVolumeActionDelete DeleteVMsBulkRequestVolumeAction = "delete" DeleteVMsBulkRequestVolumeActionDetach DeleteVMsBulkRequestVolumeAction = "detach" )
Defines values for DeleteVMsBulkRequestVolumeAction.
func (DeleteVMsBulkRequestVolumeAction) Valid ¶
func (e DeleteVMsBulkRequestVolumeAction) Valid() bool
Valid indicates whether the value is a known member of the DeleteVMsBulkRequestVolumeAction enum.
type DeleteVMsBulkResponse ¶
type DeleteVMsBulkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BulkDeleteVMsResult
JSON400 *MissingProjectID
}
func ParseDeleteVMsBulkResponse ¶
func ParseDeleteVMsBulkResponse(rsp *http.Response) (*DeleteVMsBulkResponse, error)
ParseDeleteVMsBulkResponse parses an HTTP response from a DeleteVMsBulkWithResponse call
func (DeleteVMsBulkResponse) Status ¶
func (r DeleteVMsBulkResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVMsBulkResponse) StatusCode ¶
func (r DeleteVMsBulkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVPCParams ¶
type DeleteVPCParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteVPCParams defines parameters for DeleteVPC.
type DeleteVPCResponse ¶
type DeleteVPCResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteVPCResponse ¶
func ParseDeleteVPCResponse(rsp *http.Response) (*DeleteVPCResponse, error)
ParseDeleteVPCResponse parses an HTTP response from a DeleteVPCWithResponse call
func (DeleteVPCResponse) Status ¶
func (r DeleteVPCResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVPCResponse) StatusCode ¶
func (r DeleteVPCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteVolumeParams ¶
type DeleteVolumeParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DeleteVolumeParams defines parameters for DeleteVolume.
type DeleteVolumeResponse ¶
type DeleteVolumeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseDeleteVolumeResponse ¶
func ParseDeleteVolumeResponse(rsp *http.Response) (*DeleteVolumeResponse, error)
ParseDeleteVolumeResponse parses an HTTP response from a DeleteVolumeWithResponse call
func (DeleteVolumeResponse) Status ¶
func (r DeleteVolumeResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteVolumeResponse) StatusCode ¶
func (r DeleteVolumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DetachVMFromVPCParams ¶
type DetachVMFromVPCParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DetachVMFromVPCParams defines parameters for DetachVMFromVPC.
type DetachVMFromVPCResponse ¶
type DetachVMFromVPCResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDetachVMFromVPCResponse ¶
func ParseDetachVMFromVPCResponse(rsp *http.Response) (*DetachVMFromVPCResponse, error)
ParseDetachVMFromVPCResponse parses an HTTP response from a DetachVMFromVPCWithResponse call
func (DetachVMFromVPCResponse) Status ¶
func (r DetachVMFromVPCResponse) Status() string
Status returns HTTPResponse.Status
func (DetachVMFromVPCResponse) StatusCode ¶
func (r DetachVMFromVPCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DetachVMIPParams ¶
type DetachVMIPParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DetachVMIPParams defines parameters for DetachVMIP.
type DetachVMIPResponse ¶
type DetachVMIPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDetachVMIPResponse ¶
func ParseDetachVMIPResponse(rsp *http.Response) (*DetachVMIPResponse, error)
ParseDetachVMIPResponse parses an HTTP response from a DetachVMIPWithResponse call
func (DetachVMIPResponse) Status ¶
func (r DetachVMIPResponse) Status() string
Status returns HTTPResponse.Status
func (DetachVMIPResponse) StatusCode ¶
func (r DetachVMIPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DetachVMSecurityGroupParams ¶
type DetachVMSecurityGroupParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DetachVMSecurityGroupParams defines parameters for DetachVMSecurityGroup.
type DetachVMSecurityGroupResponse ¶
type DetachVMSecurityGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDetachVMSecurityGroupResponse ¶
func ParseDetachVMSecurityGroupResponse(rsp *http.Response) (*DetachVMSecurityGroupResponse, error)
ParseDetachVMSecurityGroupResponse parses an HTTP response from a DetachVMSecurityGroupWithResponse call
func (DetachVMSecurityGroupResponse) Status ¶
func (r DetachVMSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DetachVMSecurityGroupResponse) StatusCode ¶
func (r DetachVMSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DetachVolumeParams ¶
type DetachVolumeParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
DetachVolumeParams defines parameters for DetachVolume.
type DetachVolumeResponse ¶
type DetachVolumeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Volume `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseDetachVolumeResponse ¶
func ParseDetachVolumeResponse(rsp *http.Response) (*DetachVolumeResponse, error)
ParseDetachVolumeResponse parses an HTTP response from a DetachVolumeWithResponse call
func (DetachVolumeResponse) Status ¶
func (r DetachVolumeResponse) Status() string
Status returns HTTPResponse.Status
func (DetachVolumeResponse) StatusCode ¶
func (r DetachVolumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Error ¶
type Error struct {
Error *string `json:"error,omitempty"`
Message *string `json:"message,omitempty"`
}
Error defines model for Error.
type FactoryResetVMParams ¶
type FactoryResetVMParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
FactoryResetVMParams defines parameters for FactoryResetVM.
type FactoryResetVMResponse ¶
type FactoryResetVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseFactoryResetVMResponse ¶
func ParseFactoryResetVMResponse(rsp *http.Response) (*FactoryResetVMResponse, error)
ParseFactoryResetVMResponse parses an HTTP response from a FactoryResetVMWithResponse call
func (FactoryResetVMResponse) Status ¶
func (r FactoryResetVMResponse) Status() string
Status returns HTTPResponse.Status
func (FactoryResetVMResponse) StatusCode ¶
func (r FactoryResetVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FloatingIP ¶
type FloatingIP struct {
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// CreatedBy User who reserved the IP.
CreatedBy *openapi_types.UUID `json:"created_by,omitempty"`
// ID IP identifier.
ID openapi_types.UUID `json:"id"`
// IPAddress The IP address.
IPAddress string `json:"ip_address"`
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
Region *FloatingIPRegion `json:"region,omitempty"`
// Reserved Whether the IP is reserved (held for the account regardless of VM attachment). A reserved IP can be either `free` (held but not attached) or `in-use` (held and attached).
Reserved bool `json:"reserved"`
// Status - `free` — IP is in the pool, not currently attached to any VM.
// - `in-use` — currently attached to a VM.
Status FloatingIPStatus `json:"status"`
// Type IP family.
Type FloatingIPType `json:"type"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
FloatingIP A floating public IP address.
type FloatingIPRegion ¶
type FloatingIPRegion string
FloatingIPRegion defines model for FloatingIP.Region.
const (
FloatingIPRegionUsEast FloatingIPRegion = "us-east"
)
Defines values for FloatingIPRegion.
func (FloatingIPRegion) Valid ¶
func (e FloatingIPRegion) Valid() bool
Valid indicates whether the value is a known member of the FloatingIPRegion enum.
type FloatingIPStatus ¶
type FloatingIPStatus string
FloatingIPStatus - `free` — IP is in the pool, not currently attached to any VM. - `in-use` — currently attached to a VM.
const ( FloatingIPStatusFree FloatingIPStatus = "free" FloatingIPStatusInUse FloatingIPStatus = "in-use" )
Defines values for FloatingIPStatus.
func (FloatingIPStatus) Valid ¶
func (e FloatingIPStatus) Valid() bool
Valid indicates whether the value is a known member of the FloatingIPStatus enum.
type FloatingIPType ¶
type FloatingIPType string
FloatingIPType IP family.
const ( FloatingIPTypeIPv4 FloatingIPType = "IPv4" FloatingIPTypeIPv6 FloatingIPType = "IPv6" )
Defines values for FloatingIPType.
func (FloatingIPType) Valid ¶
func (e FloatingIPType) Valid() bool
Valid indicates whether the value is a known member of the FloatingIPType enum.
type Function ¶ added in v0.4.0
type Function struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
CurrentRevisionNumber *int `json:"current_revision_number,omitempty"`
Description *string `json:"description,omitempty"`
ExtendedTimeout *bool `json:"extended_timeout,omitempty"`
// FunctionID Short reference id, e.g. `fn-a1b2c3d4`
FunctionID *string `json:"function_id,omitempty"`
// HandlerKind `asgi`, `fetch`, `net_http` or `container`
HandlerKind *string `json:"handler_kind,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
MaxScale *int `json:"max_scale,omitempty"`
// MemoryMb One of: 128, 256, 512, 1024, 2048, 4096
MemoryMb *int `json:"memory_mb,omitempty"`
// MinScale 0 = scale to zero (idle bills nothing); ≥1 keeps warm instances at 30% of the memory rate
MinScale *int `json:"min_scale,omitempty"`
// Name Display name, unique within the account
Name *string `json:"name,omitempty"`
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
Region *FunctionRegion `json:"region,omitempty"`
RepoBranch *string `json:"repo_branch,omitempty"`
// RepoFullName GitHub source only
RepoFullName *string `json:"repo_full_name,omitempty"`
RepoRootDir *string `json:"repo_root_dir,omitempty"`
Runtime *FunctionRuntime `json:"runtime,omitempty"`
// Slug URL label — the name plus a short random suffix (never collides across accounts)
Slug *string `json:"slug,omitempty"`
SourceType *FunctionSourceType `json:"source_type,omitempty"`
Status *FunctionStatus `json:"status,omitempty"`
StatusMessage *string `json:"status_message,omitempty"`
// TimeoutSeconds Up to 3600, or 86400 with `extended_timeout`
TimeoutSeconds *int `json:"timeout_seconds,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// URL `https://{slug}.fn.raffusercloud.com` — HTTPS with automatic TLS
URL *string `json:"url,omitempty"`
}
Function A serverless function. Handlers are standard (ASGI / Web Fetch / net/http / any container listening on $PORT) — nothing Raff-specific.
type FunctionBinding ¶ added in v0.4.0
type FunctionBinding struct {
BindingType *FunctionBindingBindingType `json:"binding_type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
EnvPrefix *string `json:"env_prefix,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
InjectedKeys *[]string `json:"injected_keys,omitempty"`
ResourceID *openapi_types.UUID `json:"resource_id,omitempty"`
ResourceName *string `json:"resource_name,omitempty"`
Status *FunctionBindingStatus `json:"status,omitempty"`
StatusMessage *string `json:"status_message,omitempty"`
}
FunctionBinding defines model for FunctionBinding.
type FunctionBindingBindingType ¶ added in v0.4.0
type FunctionBindingBindingType string
FunctionBindingBindingType defines model for FunctionBinding.BindingType.
const ( FunctionBindingBindingTypeBucket FunctionBindingBindingType = "bucket" FunctionBindingBindingTypeDatabase FunctionBindingBindingType = "database" )
Defines values for FunctionBindingBindingType.
func (FunctionBindingBindingType) Valid ¶ added in v0.4.0
func (e FunctionBindingBindingType) Valid() bool
Valid indicates whether the value is a known member of the FunctionBindingBindingType enum.
type FunctionBindingStatus ¶ added in v0.4.0
type FunctionBindingStatus string
FunctionBindingStatus defines model for FunctionBinding.Status.
const ( FunctionBindingStatusActive FunctionBindingStatus = "active" FunctionBindingStatusDeleting FunctionBindingStatus = "deleting" FunctionBindingStatusError FunctionBindingStatus = "error" FunctionBindingStatusProvisioning FunctionBindingStatus = "provisioning" FunctionBindingStatusRotating FunctionBindingStatus = "rotating" )
Defines values for FunctionBindingStatus.
func (FunctionBindingStatus) Valid ¶ added in v0.4.0
func (e FunctionBindingStatus) Valid() bool
Valid indicates whether the value is a known member of the FunctionBindingStatus enum.
type FunctionBuildLogLine ¶ added in v0.4.0
type FunctionBuildLogLine struct {
Message *string `json:"message,omitempty"`
Step *string `json:"step,omitempty"`
Timestamp *string `json:"timestamp,omitempty"`
}
FunctionBuildLogLine defines model for FunctionBuildLogLine.
type FunctionDeployment ¶ added in v0.4.0
type FunctionDeployment struct {
BuildDurationMs *int `json:"build_duration_ms,omitempty"`
Channel *FunctionDeploymentChannel `json:"channel,omitempty"`
CommitSha *string `json:"commit_sha,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Error *string `json:"error,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
// RevisionID Set when the deployment succeeds
RevisionID *openapi_types.UUID `json:"revision_id,omitempty"`
StartedAt *time.Time `json:"started_at,omitempty"`
Status *FunctionDeploymentStatus `json:"status,omitempty"`
}
FunctionDeployment defines model for FunctionDeployment.
type FunctionDeploymentChannel ¶ added in v0.4.0
type FunctionDeploymentChannel string
FunctionDeploymentChannel defines model for FunctionDeployment.Channel.
const ( FunctionDeploymentChannelCli FunctionDeploymentChannel = "cli" FunctionDeploymentChannelConsole FunctionDeploymentChannel = "console" FunctionDeploymentChannelGithub FunctionDeploymentChannel = "github" )
Defines values for FunctionDeploymentChannel.
func (FunctionDeploymentChannel) Valid ¶ added in v0.4.0
func (e FunctionDeploymentChannel) Valid() bool
Valid indicates whether the value is a known member of the FunctionDeploymentChannel enum.
type FunctionDeploymentStatus ¶ added in v0.4.0
type FunctionDeploymentStatus string
FunctionDeploymentStatus defines model for FunctionDeployment.Status.
const ( FunctionDeploymentStatusBuilding FunctionDeploymentStatus = "building" FunctionDeploymentStatusDeploying FunctionDeploymentStatus = "deploying" FunctionDeploymentStatusFailed FunctionDeploymentStatus = "failed" FunctionDeploymentStatusQueued FunctionDeploymentStatus = "queued" FunctionDeploymentStatusReady FunctionDeploymentStatus = "ready" )
Defines values for FunctionDeploymentStatus.
func (FunctionDeploymentStatus) Valid ¶ added in v0.4.0
func (e FunctionDeploymentStatus) Valid() bool
Valid indicates whether the value is a known member of the FunctionDeploymentStatus enum.
type FunctionEnvVar ¶ added in v0.4.0
type FunctionEnvVar struct {
// BindingID Owning binding for system vars
BindingID *openapi_types.UUID `json:"binding_id,omitempty"`
IsSecret *bool `json:"is_secret,omitempty"`
// IsSystem Managed by the platform (e.g. bindings) — read-only
IsSystem *bool `json:"is_system,omitempty"`
Key *string `json:"key,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// Value Empty for secrets unless fetched via the reveal endpoint
Value *string `json:"value,omitempty"`
}
FunctionEnvVar defines model for FunctionEnvVar.
type FunctionInvocation ¶ added in v0.4.0
type FunctionInvocation struct {
DurationMs *float32 `json:"duration_ms,omitempty"`
Method *string `json:"method,omitempty"`
Path *string `json:"path,omitempty"`
Status *int `json:"status,omitempty"`
Timestamp *time.Time `json:"timestamp,omitempty"`
}
FunctionInvocation defines model for FunctionInvocation.
type FunctionLogLine ¶ added in v0.4.0
type FunctionLogLine struct {
Level *FunctionLogLineLevel `json:"level,omitempty"`
Message *string `json:"message,omitempty"`
Stream *FunctionLogLineStream `json:"stream,omitempty"`
Timestamp *time.Time `json:"timestamp,omitempty"`
}
FunctionLogLine defines model for FunctionLogLine.
type FunctionLogLineLevel ¶ added in v0.4.0
type FunctionLogLineLevel string
FunctionLogLineLevel defines model for FunctionLogLine.Level.
const ( FunctionLogLineLevelDebug FunctionLogLineLevel = "debug" FunctionLogLineLevelError FunctionLogLineLevel = "error" FunctionLogLineLevelInfo FunctionLogLineLevel = "info" FunctionLogLineLevelWarn FunctionLogLineLevel = "warn" )
Defines values for FunctionLogLineLevel.
func (FunctionLogLineLevel) Valid ¶ added in v0.4.0
func (e FunctionLogLineLevel) Valid() bool
Valid indicates whether the value is a known member of the FunctionLogLineLevel enum.
type FunctionLogLineStream ¶ added in v0.4.0
type FunctionLogLineStream string
FunctionLogLineStream defines model for FunctionLogLine.Stream.
const ( Stderr FunctionLogLineStream = "stderr" Stdout FunctionLogLineStream = "stdout" )
Defines values for FunctionLogLineStream.
func (FunctionLogLineStream) Valid ¶ added in v0.4.0
func (e FunctionLogLineStream) Valid() bool
Valid indicates whether the value is a known member of the FunctionLogLineStream enum.
type FunctionMetrics ¶ added in v0.4.0
type FunctionMetrics struct {
ErrorRatePct *float32 `json:"error_rate_pct,omitempty"`
InvocationsTotal *int `json:"invocations_total,omitempty"`
P50Ms *float32 `json:"p50_ms,omitempty"`
P95Ms *float32 `json:"p95_ms,omitempty"`
Series *[]struct {
Name *FunctionMetricsSeriesName `json:"name,omitempty"`
Points *[]struct {
Timestamp *time.Time `json:"timestamp,omitempty"`
Value *float32 `json:"value,omitempty"`
} `json:"points,omitempty"`
} `json:"series,omitempty"`
}
FunctionMetrics defines model for FunctionMetrics.
type FunctionMetricsSeriesName ¶ added in v0.4.0
type FunctionMetricsSeriesName string
FunctionMetricsSeriesName defines model for FunctionMetrics.Series.Name.
const ( Errors FunctionMetricsSeriesName = "errors" Invocations FunctionMetricsSeriesName = "invocations" P50Ms FunctionMetricsSeriesName = "p50_ms" P95Ms FunctionMetricsSeriesName = "p95_ms" )
Defines values for FunctionMetricsSeriesName.
func (FunctionMetricsSeriesName) Valid ¶ added in v0.4.0
func (e FunctionMetricsSeriesName) Valid() bool
Valid indicates whether the value is a known member of the FunctionMetricsSeriesName enum.
type FunctionRef ¶ added in v0.4.0
type FunctionRef = string
FunctionRef defines model for FunctionRef.
type FunctionRegion ¶ added in v0.4.0
type FunctionRegion string
FunctionRegion defines model for Function.Region.
const (
FunctionRegionUsEast FunctionRegion = "us-east"
)
Defines values for FunctionRegion.
func (FunctionRegion) Valid ¶ added in v0.4.0
func (e FunctionRegion) Valid() bool
Valid indicates whether the value is a known member of the FunctionRegion enum.
type FunctionRevision ¶ added in v0.4.0
type FunctionRevision struct {
CommitSha *string `json:"commit_sha,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
IsCurrent *bool `json:"is_current,omitempty"`
Message *string `json:"message,omitempty"`
RevisionNumber *int `json:"revision_number,omitempty"`
Status *FunctionRevisionStatus `json:"status,omitempty"`
}
FunctionRevision defines model for FunctionRevision.
type FunctionRevisionStatus ¶ added in v0.4.0
type FunctionRevisionStatus string
FunctionRevisionStatus defines model for FunctionRevision.Status.
const ( FunctionRevisionStatusActive FunctionRevisionStatus = "active" FunctionRevisionStatusFailed FunctionRevisionStatus = "failed" FunctionRevisionStatusSuperseded FunctionRevisionStatus = "superseded" )
Defines values for FunctionRevisionStatus.
func (FunctionRevisionStatus) Valid ¶ added in v0.4.0
func (e FunctionRevisionStatus) Valid() bool
Valid indicates whether the value is a known member of the FunctionRevisionStatus enum.
type FunctionRuntime ¶ added in v0.4.0
type FunctionRuntime string
FunctionRuntime defines model for Function.Runtime.
const ( FunctionRuntimeDocker FunctionRuntime = "docker" FunctionRuntimeGo FunctionRuntime = "go" FunctionRuntimeNode FunctionRuntime = "node" FunctionRuntimePython FunctionRuntime = "python" )
Defines values for FunctionRuntime.
func (FunctionRuntime) Valid ¶ added in v0.4.0
func (e FunctionRuntime) Valid() bool
Valid indicates whether the value is a known member of the FunctionRuntime enum.
type FunctionRuntimeInfo ¶ added in v0.4.0
type FunctionRuntimeInfo struct {
Available *bool `json:"available,omitempty"`
DetectHint *string `json:"detect_hint,omitempty"`
HandlerKind *string `json:"handler_kind,omitempty"`
ID *FunctionRuntimeInfoID `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
Signature *string `json:"signature,omitempty"`
}
FunctionRuntimeInfo defines model for FunctionRuntimeInfo.
type FunctionRuntimeInfoID ¶ added in v0.4.0
type FunctionRuntimeInfoID string
FunctionRuntimeInfoID defines model for FunctionRuntimeInfo.ID.
const ( Docker FunctionRuntimeInfoID = "docker" Go FunctionRuntimeInfoID = "go" Node FunctionRuntimeInfoID = "node" Python FunctionRuntimeInfoID = "python" )
Defines values for FunctionRuntimeInfoID.
func (FunctionRuntimeInfoID) Valid ¶ added in v0.4.0
func (e FunctionRuntimeInfoID) Valid() bool
Valid indicates whether the value is a known member of the FunctionRuntimeInfoID enum.
type FunctionSourceFile ¶ added in v0.4.0
FunctionSourceFile defines model for FunctionSourceFile.
type FunctionSourceType ¶ added in v0.4.0
type FunctionSourceType string
FunctionSourceType defines model for Function.SourceType.
const ( FunctionSourceTypeCli FunctionSourceType = "cli" FunctionSourceTypeConsole FunctionSourceType = "console" FunctionSourceTypeGithub FunctionSourceType = "github" )
Defines values for FunctionSourceType.
func (FunctionSourceType) Valid ¶ added in v0.4.0
func (e FunctionSourceType) Valid() bool
Valid indicates whether the value is a known member of the FunctionSourceType enum.
type FunctionSourceUpload ¶ added in v0.4.0
type FunctionSourceUpload struct {
ExpiresInSeconds *int `json:"expires_in_seconds,omitempty"`
SourceBlobKey *string `json:"source_blob_key,omitempty"`
// UploadURL Presigned URL — PUT the zip here (Content-Type application/zip)
UploadURL *string `json:"upload_url,omitempty"`
}
FunctionSourceUpload defines model for FunctionSourceUpload.
type FunctionStatus ¶ added in v0.4.0
type FunctionStatus string
FunctionStatus defines model for Function.Status.
const ( FunctionStatusBuilding FunctionStatus = "building" FunctionStatusDeleting FunctionStatus = "deleting" FunctionStatusError FunctionStatus = "error" FunctionStatusLive FunctionStatus = "live" FunctionStatusPaused FunctionStatus = "paused" FunctionStatusPending FunctionStatus = "pending" )
Defines values for FunctionStatus.
func (FunctionStatus) Valid ¶ added in v0.4.0
func (e FunctionStatus) Valid() bool
Valid indicates whether the value is a known member of the FunctionStatus enum.
type FunctionTrigger ¶ added in v0.4.0
type FunctionTrigger struct {
// BucketID Source bucket (`s3` type)
BucketID *openapi_types.UUID `json:"bucket_id,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CronExpression *string `json:"cron_expression,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
KeyPrefix *string `json:"key_prefix,omitempty"`
KeySuffix *string `json:"key_suffix,omitempty"`
LastRunAt *time.Time `json:"last_run_at,omitempty"`
LastStatus *FunctionTriggerLastStatus `json:"last_status,omitempty"`
NextRunAt *time.Time `json:"next_run_at,omitempty"`
PayloadJSON *string `json:"payload_json,omitempty"`
RunAt *time.Time `json:"run_at,omitempty"`
// S3Events Subscribed events, e.g. s3:ObjectCreated:*, s3:ObjectRemoved:*
S3Events *[]string `json:"s3_events,omitempty"`
Timezone *string `json:"timezone,omitempty"`
TriggerType *FunctionTriggerTriggerType `json:"trigger_type,omitempty"`
}
FunctionTrigger defines model for FunctionTrigger.
type FunctionTriggerLastStatus ¶ added in v0.4.0
type FunctionTriggerLastStatus string
FunctionTriggerLastStatus defines model for FunctionTrigger.LastStatus.
const ( FunctionTriggerLastStatusEmpty FunctionTriggerLastStatus = "" FunctionTriggerLastStatusFailed FunctionTriggerLastStatus = "failed" FunctionTriggerLastStatusOk FunctionTriggerLastStatus = "ok" )
Defines values for FunctionTriggerLastStatus.
func (FunctionTriggerLastStatus) Valid ¶ added in v0.4.0
func (e FunctionTriggerLastStatus) Valid() bool
Valid indicates whether the value is a known member of the FunctionTriggerLastStatus enum.
type FunctionTriggerRun ¶ added in v0.4.0
type FunctionTriggerRun struct {
Attempts *int `json:"attempts,omitempty"`
DurationMs *int `json:"duration_ms,omitempty"`
Error *string `json:"error,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
ResponseStatus *int `json:"response_status,omitempty"`
ScheduledFor *time.Time `json:"scheduled_for,omitempty"`
Status *FunctionTriggerRunStatus `json:"status,omitempty"`
TriggerID *openapi_types.UUID `json:"trigger_id,omitempty"`
}
FunctionTriggerRun defines model for FunctionTriggerRun.
type FunctionTriggerRunStatus ¶ added in v0.4.0
type FunctionTriggerRunStatus string
FunctionTriggerRunStatus defines model for FunctionTriggerRun.Status.
const ( FunctionTriggerRunStatusDispatching FunctionTriggerRunStatus = "dispatching" FunctionTriggerRunStatusFailed FunctionTriggerRunStatus = "failed" FunctionTriggerRunStatusOk FunctionTriggerRunStatus = "ok" )
Defines values for FunctionTriggerRunStatus.
func (FunctionTriggerRunStatus) Valid ¶ added in v0.4.0
func (e FunctionTriggerRunStatus) Valid() bool
Valid indicates whether the value is a known member of the FunctionTriggerRunStatus enum.
type FunctionTriggerTriggerType ¶ added in v0.4.0
type FunctionTriggerTriggerType string
FunctionTriggerTriggerType defines model for FunctionTrigger.TriggerType.
const ( FunctionTriggerTriggerTypeCron FunctionTriggerTriggerType = "cron" FunctionTriggerTriggerTypeOnce FunctionTriggerTriggerType = "once" FunctionTriggerTriggerTypeS3 FunctionTriggerTriggerType = "s3" )
Defines values for FunctionTriggerTriggerType.
func (FunctionTriggerTriggerType) Valid ¶ added in v0.4.0
func (e FunctionTriggerTriggerType) Valid() bool
Valid indicates whether the value is a known member of the FunctionTriggerTriggerType enum.
type FunctionsPricing ¶ added in v0.4.0
type FunctionsPricing struct {
// FreeAiConversions Per account per calendar month
FreeAiConversions *int `json:"free_ai_conversions,omitempty"`
// FreeGbSeconds Monthly account-wide free tier
FreeGbSeconds *int `json:"free_gb_seconds,omitempty"`
FreeVcpuSeconds *int `json:"free_vcpu_seconds,omitempty"`
Name *string `json:"name,omitempty"`
// PricePerAiConversion Lambda import AI rewrite, beyond the free allowance
PricePerAiConversion *float32 `json:"price_per_ai_conversion,omitempty"`
// PricePerGbSecond Memory, wall-clock
PricePerGbSecond *float32 `json:"price_per_gb_second,omitempty"`
// PricePerVcpuSecond Active CPU actually consumed
PricePerVcpuSecond *float32 `json:"price_per_vcpu_second,omitempty"`
Region *string `json:"region,omitempty"`
// WarmRateMultiplier Warm instances (min_scale) bill at this fraction of the memory rate
WarmRateMultiplier *float32 `json:"warm_rate_multiplier,omitempty"`
}
FunctionsPricing defines model for FunctionsPricing.
type FunctionsSpendSettings ¶ added in v0.4.0
type FunctionsSpendSettings struct {
CapAction *FunctionsSpendSettingsCapAction `json:"cap_action,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
MonthlyCapUsd *float32 `json:"monthly_cap_usd,omitempty"`
PausedByCap *bool `json:"paused_by_cap,omitempty"`
}
FunctionsSpendSettings defines model for FunctionsSpendSettings.
type FunctionsSpendSettingsCapAction ¶ added in v0.4.0
type FunctionsSpendSettingsCapAction string
FunctionsSpendSettingsCapAction defines model for FunctionsSpendSettings.CapAction.
const (
FunctionsSpendSettingsCapActionPause FunctionsSpendSettingsCapAction = "pause"
)
Defines values for FunctionsSpendSettingsCapAction.
func (FunctionsSpendSettingsCapAction) Valid ¶ added in v0.4.0
func (e FunctionsSpendSettingsCapAction) Valid() bool
Valid indicates whether the value is a known member of the FunctionsSpendSettingsCapAction enum.
type FunctionsUsage ¶ added in v0.4.0
type FunctionsUsage struct {
// AiConversions AI Lambda-rewrites used this calendar month
AiConversions *int `json:"ai_conversions,omitempty"`
// AsOf Metering watermark (near-real-time)
AsOf *time.Time `json:"as_of,omitempty"`
CPUSeconds *float32 `json:"cpu_seconds,omitempty"`
// EstimatedCostUsd Month-to-date, after the free tier
EstimatedCostUsd *float32 `json:"estimated_cost_usd,omitempty"`
FreeGbSecondsRemaining *float32 `json:"free_gb_seconds_remaining,omitempty"`
FreeVcpuSecondsRemaining *float32 `json:"free_vcpu_seconds_remaining,omitempty"`
MemoryGbSeconds *float32 `json:"memory_gb_seconds,omitempty"`
PeriodEnd *time.Time `json:"period_end,omitempty"`
PeriodStart *time.Time `json:"period_start,omitempty"`
// RequestCount Informational — requests are free
RequestCount *int `json:"request_count,omitempty"`
WarmGbSeconds *float32 `json:"warm_gb_seconds,omitempty"`
}
FunctionsUsage defines model for FunctionsUsage.
type GetAPIKeyResponse ¶
type GetAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *APIKey `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetAPIKeyResponse ¶
func ParseGetAPIKeyResponse(rsp *http.Response) (*GetAPIKeyResponse, error)
ParseGetAPIKeyResponse parses an HTTP response from a GetAPIKeyWithResponse call
func (GetAPIKeyResponse) Status ¶
func (r GetAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetAPIKeyResponse) StatusCode ¶
func (r GetAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppDeploymentLogsResponse ¶ added in v0.4.0
type GetAppDeploymentLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Complete *bool `json:"complete,omitempty"`
Lines *[]AppBuildLogLine `json:"lines,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetAppDeploymentLogsResponse ¶ added in v0.4.0
func ParseGetAppDeploymentLogsResponse(rsp *http.Response) (*GetAppDeploymentLogsResponse, error)
ParseGetAppDeploymentLogsResponse parses an HTTP response from a GetAppDeploymentLogsWithResponse call
func (GetAppDeploymentLogsResponse) Status ¶ added in v0.4.0
func (r GetAppDeploymentLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppDeploymentLogsResponse) StatusCode ¶ added in v0.4.0
func (r GetAppDeploymentLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppDeploymentResponse ¶ added in v0.4.0
type GetAppDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Deployment *AppDeployment `json:"deployment,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetAppDeploymentResponse ¶ added in v0.4.0
func ParseGetAppDeploymentResponse(rsp *http.Response) (*GetAppDeploymentResponse, error)
ParseGetAppDeploymentResponse parses an HTTP response from a GetAppDeploymentWithResponse call
func (GetAppDeploymentResponse) Status ¶ added in v0.4.0
func (r GetAppDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppDeploymentResponse) StatusCode ¶ added in v0.4.0
func (r GetAppDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppServiceMetricsParams ¶ added in v0.4.0
type GetAppServiceMetricsParams struct {
// Window Time window, e.g. `1h`, `24h`.
Window *string `form:"window,omitempty" json:"window,omitempty"`
}
GetAppServiceMetricsParams defines parameters for GetAppServiceMetrics.
type GetAppServiceMetricsResponse ¶ added in v0.4.0
type GetAppServiceMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Series *[]AppMetricSeries `json:"series,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetAppServiceMetricsResponse ¶ added in v0.4.0
func ParseGetAppServiceMetricsResponse(rsp *http.Response) (*GetAppServiceMetricsResponse, error)
ParseGetAppServiceMetricsResponse parses an HTTP response from a GetAppServiceMetricsWithResponse call
func (GetAppServiceMetricsResponse) Status ¶ added in v0.4.0
func (r GetAppServiceMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppServiceMetricsResponse) StatusCode ¶ added in v0.4.0
func (r GetAppServiceMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppServiceResponse ¶ added in v0.4.0
type GetAppServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Service An app service on the Raff PaaS — a web service, private service, worker, cron job, or one-off job.
Service *AppService `json:"service,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetAppServiceResponse ¶ added in v0.4.0
func ParseGetAppServiceResponse(rsp *http.Response) (*GetAppServiceResponse, error)
ParseGetAppServiceResponse parses an HTTP response from a GetAppServiceWithResponse call
func (GetAppServiceResponse) Status ¶ added in v0.4.0
func (r GetAppServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppServiceResponse) StatusCode ¶ added in v0.4.0
func (r GetAppServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppSpendSettingsResponse ¶ added in v0.4.0
type GetAppSpendSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Settings *AppSpendSettings `json:"settings,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetAppSpendSettingsResponse ¶ added in v0.4.0
func ParseGetAppSpendSettingsResponse(rsp *http.Response) (*GetAppSpendSettingsResponse, error)
ParseGetAppSpendSettingsResponse parses an HTTP response from a GetAppSpendSettingsWithResponse call
func (GetAppSpendSettingsResponse) Status ¶ added in v0.4.0
func (r GetAppSpendSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppSpendSettingsResponse) StatusCode ¶ added in v0.4.0
func (r GetAppSpendSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppsPricingResponse ¶ added in v0.4.0
type GetAppsPricingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
Tiers *[]AppTier `json:"tiers,omitempty"`
}
}
func ParseGetAppsPricingResponse ¶ added in v0.4.0
func ParseGetAppsPricingResponse(rsp *http.Response) (*GetAppsPricingResponse, error)
ParseGetAppsPricingResponse parses an HTTP response from a GetAppsPricingWithResponse call
func (GetAppsPricingResponse) Status ¶ added in v0.4.0
func (r GetAppsPricingResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppsPricingResponse) StatusCode ¶ added in v0.4.0
func (r GetAppsPricingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAppsUsageParams ¶ added in v0.4.0
type GetAppsUsageParams struct {
// ServiceID Scope to a single service (omit for all services).
ServiceID *string `form:"service_id,omitempty" json:"service_id,omitempty"`
Period *string `form:"period,omitempty" json:"period,omitempty"`
}
GetAppsUsageParams defines parameters for GetAppsUsage.
type GetAppsUsageResponse ¶ added in v0.4.0
type GetAppsUsageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AppUsage
JSON401 *Unauthorized
}
func ParseGetAppsUsageResponse ¶ added in v0.4.0
func ParseGetAppsUsageResponse(rsp *http.Response) (*GetAppsUsageResponse, error)
ParseGetAppsUsageResponse parses an HTTP response from a GetAppsUsageWithResponse call
func (GetAppsUsageResponse) Status ¶ added in v0.4.0
func (r GetAppsUsageResponse) Status() string
Status returns HTTPResponse.Status
func (GetAppsUsageResponse) StatusCode ¶ added in v0.4.0
func (r GetAppsUsageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBackupParams ¶
type GetBackupParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetBackupParams defines parameters for GetBackup.
type GetBackupResponse ¶
type GetBackupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Backup `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetBackupResponse ¶
func ParseGetBackupResponse(rsp *http.Response) (*GetBackupResponse, error)
ParseGetBackupResponse parses an HTTP response from a GetBackupWithResponse call
func (GetBackupResponse) Status ¶
func (r GetBackupResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackupResponse) StatusCode ¶
func (r GetBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBackupScheduleParams ¶
type GetBackupScheduleParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetBackupScheduleParams defines parameters for GetBackupSchedule.
type GetBackupScheduleResponse ¶
type GetBackupScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *BackupSchedule `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetBackupScheduleResponse ¶
func ParseGetBackupScheduleResponse(rsp *http.Response) (*GetBackupScheduleResponse, error)
ParseGetBackupScheduleResponse parses an HTTP response from a GetBackupScheduleWithResponse call
func (GetBackupScheduleResponse) Status ¶
func (r GetBackupScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (GetBackupScheduleResponse) StatusCode ¶
func (r GetBackupScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseConnectionParams ¶ added in v0.4.0
type GetDatabaseConnectionParams struct {
// Reveal Set to `true` to include the password in the response and connection URI
Reveal *bool `form:"reveal,omitempty" json:"reveal,omitempty"`
}
GetDatabaseConnectionParams defines parameters for GetDatabaseConnection.
type GetDatabaseConnectionResponse ¶ added in v0.4.0
type GetDatabaseConnectionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// CaCert PEM CA bundle your client must trust, for engines whose certificates come from a private CA (currently Kafka). Empty for other engines.
CaCert *string `json:"ca_cert,omitempty"`
// ConnectionURI Ready-to-use connection URI (includes the password only when revealed)
ConnectionURI *string `json:"connection_uri,omitempty"`
// DatabaseName Default database name
DatabaseName *string `json:"database_name,omitempty"`
// Host Endpoint hostname
Host *string `json:"host,omitempty"`
// Password Password — empty unless the request was made with `reveal=true`
Password *string `json:"password,omitempty"`
// Port Endpoint port
Port *int `json:"port,omitempty"`
Success *bool `json:"success,omitempty"`
// Username Database user
Username *string `json:"username,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetDatabaseConnectionResponse ¶ added in v0.4.0
func ParseGetDatabaseConnectionResponse(rsp *http.Response) (*GetDatabaseConnectionResponse, error)
ParseGetDatabaseConnectionResponse parses an HTTP response from a GetDatabaseConnectionWithResponse call
func (GetDatabaseConnectionResponse) Status ¶ added in v0.4.0
func (r GetDatabaseConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseConnectionResponse) StatusCode ¶ added in v0.4.0
func (r GetDatabaseConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseLogsParams ¶ added in v0.4.0
type GetDatabaseLogsParams struct {
// Tail Number of log lines to return
Tail *int `form:"tail,omitempty" json:"tail,omitempty"`
}
GetDatabaseLogsParams defines parameters for GetDatabaseLogs.
type GetDatabaseLogsResponse ¶ added in v0.4.0
type GetDatabaseLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Lines *[]string `json:"lines,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetDatabaseLogsResponse ¶ added in v0.4.0
func ParseGetDatabaseLogsResponse(rsp *http.Response) (*GetDatabaseLogsResponse, error)
ParseGetDatabaseLogsResponse parses an HTTP response from a GetDatabaseLogsWithResponse call
func (GetDatabaseLogsResponse) Status ¶ added in v0.4.0
func (r GetDatabaseLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseLogsResponse) StatusCode ¶ added in v0.4.0
func (r GetDatabaseLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseMetricsHistoryParams ¶ added in v0.4.0
type GetDatabaseMetricsHistoryParams struct {
// WindowHours History window in hours
WindowHours *int `form:"window_hours,omitempty" json:"window_hours,omitempty"`
}
GetDatabaseMetricsHistoryParams defines parameters for GetDatabaseMetricsHistory.
type GetDatabaseMetricsHistoryResponse ¶ added in v0.4.0
type GetDatabaseMetricsHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// BucketSeconds Seconds each point covers
BucketSeconds *int `json:"bucket_seconds,omitempty"`
Points *[]DatabaseMetricsPoint `json:"points,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetDatabaseMetricsHistoryResponse ¶ added in v0.4.0
func ParseGetDatabaseMetricsHistoryResponse(rsp *http.Response) (*GetDatabaseMetricsHistoryResponse, error)
ParseGetDatabaseMetricsHistoryResponse parses an HTTP response from a GetDatabaseMetricsHistoryWithResponse call
func (GetDatabaseMetricsHistoryResponse) Status ¶ added in v0.4.0
func (r GetDatabaseMetricsHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseMetricsHistoryResponse) StatusCode ¶ added in v0.4.0
func (r GetDatabaseMetricsHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseMetricsResponse ¶ added in v0.4.0
type GetDatabaseMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// ArchiveLagBytes WAL archiving lag in bytes (PostgreSQL)
ArchiveLagBytes *int `json:"archive_lag_bytes,omitempty"`
// ConnectionsActive Active client connections
ConnectionsActive *int `json:"connections_active,omitempty"`
// ConnectionsMax Connection limit
ConnectionsMax *int `json:"connections_max,omitempty"`
// CPUCapacityMillicores CPU capacity, millicores
CPUCapacityMillicores *int `json:"cpu_capacity_millicores,omitempty"`
// CPUUsedMillicores CPU in use, millicores
CPUUsedMillicores *int `json:"cpu_used_millicores,omitempty"`
// MemCapacityBytes Memory capacity, bytes
MemCapacityBytes *int `json:"mem_capacity_bytes,omitempty"`
// MemUsedBytes Memory in use, bytes
MemUsedBytes *int `json:"mem_used_bytes,omitempty"`
// MetricsUpdatedAt When this snapshot was taken
MetricsUpdatedAt *time.Time `json:"metrics_updated_at,omitempty"`
// ReplicationLagBytes Standby/replica lag in bytes (0 without HA or replicas)
ReplicationLagBytes *int `json:"replication_lag_bytes,omitempty"`
// StorageCapacityBytes Storage capacity, bytes
StorageCapacityBytes *int `json:"storage_capacity_bytes,omitempty"`
// StorageUsedBytes Storage in use, bytes
StorageUsedBytes *int `json:"storage_used_bytes,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetDatabaseMetricsResponse ¶ added in v0.4.0
func ParseGetDatabaseMetricsResponse(rsp *http.Response) (*GetDatabaseMetricsResponse, error)
ParseGetDatabaseMetricsResponse parses an HTTP response from a GetDatabaseMetricsWithResponse call
func (GetDatabaseMetricsResponse) Status ¶ added in v0.4.0
func (r GetDatabaseMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseMetricsResponse) StatusCode ¶ added in v0.4.0
func (r GetDatabaseMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseResponse ¶ added in v0.4.0
type GetDatabaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Database A managed database instance. The private endpoint `{database_id}.db.raffusercloud.com` lives inside the attached VPC; public access is optional. TLS is always required.
Database *Database `json:"database,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetDatabaseResponse ¶ added in v0.4.0
func ParseGetDatabaseResponse(rsp *http.Response) (*GetDatabaseResponse, error)
ParseGetDatabaseResponse parses an HTTP response from a GetDatabaseWithResponse call
func (GetDatabaseResponse) Status ¶ added in v0.4.0
func (r GetDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseResponse) StatusCode ¶ added in v0.4.0
func (r GetDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDatabaseSlowQueriesParams ¶ added in v0.4.0
type GetDatabaseSlowQueriesParams struct {
// Limit Maximum number of entries to return
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetDatabaseSlowQueriesParams defines parameters for GetDatabaseSlowQueries.
type GetDatabaseSlowQueriesResponse ¶ added in v0.4.0
type GetDatabaseSlowQueriesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Collecting Whether slow-query statistics are being collected
Collecting *bool `json:"collecting,omitempty"`
Queries *[]DatabaseSlowQuery `json:"queries,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetDatabaseSlowQueriesResponse ¶ added in v0.4.0
func ParseGetDatabaseSlowQueriesResponse(rsp *http.Response) (*GetDatabaseSlowQueriesResponse, error)
ParseGetDatabaseSlowQueriesResponse parses an HTTP response from a GetDatabaseSlowQueriesWithResponse call
func (GetDatabaseSlowQueriesResponse) Status ¶ added in v0.4.0
func (r GetDatabaseSlowQueriesResponse) Status() string
Status returns HTTPResponse.Status
func (GetDatabaseSlowQueriesResponse) StatusCode ¶ added in v0.4.0
func (r GetDatabaseSlowQueriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionDeploymentLogsResponse ¶ added in v0.4.0
type GetFunctionDeploymentLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Complete *bool `json:"complete,omitempty"`
Lines *[]FunctionBuildLogLine `json:"lines,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetFunctionDeploymentLogsResponse ¶ added in v0.4.0
func ParseGetFunctionDeploymentLogsResponse(rsp *http.Response) (*GetFunctionDeploymentLogsResponse, error)
ParseGetFunctionDeploymentLogsResponse parses an HTTP response from a GetFunctionDeploymentLogsWithResponse call
func (GetFunctionDeploymentLogsResponse) Status ¶ added in v0.4.0
func (r GetFunctionDeploymentLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionDeploymentLogsResponse) StatusCode ¶ added in v0.4.0
func (r GetFunctionDeploymentLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionDeploymentResponse ¶ added in v0.4.0
type GetFunctionDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Deployment *FunctionDeployment `json:"deployment,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetFunctionDeploymentResponse ¶ added in v0.4.0
func ParseGetFunctionDeploymentResponse(rsp *http.Response) (*GetFunctionDeploymentResponse, error)
ParseGetFunctionDeploymentResponse parses an HTTP response from a GetFunctionDeploymentWithResponse call
func (GetFunctionDeploymentResponse) Status ¶ added in v0.4.0
func (r GetFunctionDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionDeploymentResponse) StatusCode ¶ added in v0.4.0
func (r GetFunctionDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionMetricsParams ¶ added in v0.4.0
type GetFunctionMetricsParams struct {
Window *GetFunctionMetricsParamsWindow `form:"window,omitempty" json:"window,omitempty"`
}
GetFunctionMetricsParams defines parameters for GetFunctionMetrics.
type GetFunctionMetricsParamsWindow ¶ added in v0.4.0
type GetFunctionMetricsParamsWindow string
GetFunctionMetricsParamsWindow defines parameters for GetFunctionMetrics.
const ( N1H GetFunctionMetricsParamsWindow = "1h" N24H GetFunctionMetricsParamsWindow = "24h" N7D GetFunctionMetricsParamsWindow = "7d" )
Defines values for GetFunctionMetricsParamsWindow.
func (GetFunctionMetricsParamsWindow) Valid ¶ added in v0.4.0
func (e GetFunctionMetricsParamsWindow) Valid() bool
Valid indicates whether the value is a known member of the GetFunctionMetricsParamsWindow enum.
type GetFunctionMetricsResponse ¶ added in v0.4.0
type GetFunctionMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *FunctionMetrics `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetFunctionMetricsResponse ¶ added in v0.4.0
func ParseGetFunctionMetricsResponse(rsp *http.Response) (*GetFunctionMetricsResponse, error)
ParseGetFunctionMetricsResponse parses an HTTP response from a GetFunctionMetricsWithResponse call
func (GetFunctionMetricsResponse) Status ¶ added in v0.4.0
func (r GetFunctionMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionMetricsResponse) StatusCode ¶ added in v0.4.0
func (r GetFunctionMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionResponse ¶ added in v0.4.0
type GetFunctionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
// Function A serverless function. Handlers are standard (ASGI / Web Fetch / net/http / any container listening on $PORT) — nothing Raff-specific.
Function *Function `json:"function,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetFunctionResponse ¶ added in v0.4.0
func ParseGetFunctionResponse(rsp *http.Response) (*GetFunctionResponse, error)
ParseGetFunctionResponse parses an HTTP response from a GetFunctionWithResponse call
func (GetFunctionResponse) Status ¶ added in v0.4.0
func (r GetFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionResponse) StatusCode ¶ added in v0.4.0
func (r GetFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionSourceParams ¶ added in v0.4.0
type GetFunctionSourceParams struct {
// RevisionID Defaults to the current revision
RevisionID *openapi_types.UUID `form:"revision_id,omitempty" json:"revision_id,omitempty"`
}
GetFunctionSourceParams defines parameters for GetFunctionSource.
type GetFunctionSourceResponse ¶ added in v0.4.0
type GetFunctionSourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
DownloadURL *string `json:"download_url,omitempty"`
Files *[]FunctionSourceFile `json:"files,omitempty"`
InlineTruncated *bool `json:"inline_truncated,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetFunctionSourceResponse ¶ added in v0.4.0
func ParseGetFunctionSourceResponse(rsp *http.Response) (*GetFunctionSourceResponse, error)
ParseGetFunctionSourceResponse parses an HTTP response from a GetFunctionSourceWithResponse call
func (GetFunctionSourceResponse) Status ¶ added in v0.4.0
func (r GetFunctionSourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionSourceResponse) StatusCode ¶ added in v0.4.0
func (r GetFunctionSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionsPricingResponse ¶ added in v0.4.0
type GetFunctionsPricingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Pricing *[]FunctionsPricing `json:"pricing,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
}
func ParseGetFunctionsPricingResponse ¶ added in v0.4.0
func ParseGetFunctionsPricingResponse(rsp *http.Response) (*GetFunctionsPricingResponse, error)
ParseGetFunctionsPricingResponse parses an HTTP response from a GetFunctionsPricingWithResponse call
func (GetFunctionsPricingResponse) Status ¶ added in v0.4.0
func (r GetFunctionsPricingResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionsPricingResponse) StatusCode ¶ added in v0.4.0
func (r GetFunctionsPricingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionsSpendSettingsResponse ¶ added in v0.4.0
type GetFunctionsSpendSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Settings *FunctionsSpendSettings `json:"settings,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetFunctionsSpendSettingsResponse ¶ added in v0.4.0
func ParseGetFunctionsSpendSettingsResponse(rsp *http.Response) (*GetFunctionsSpendSettingsResponse, error)
ParseGetFunctionsSpendSettingsResponse parses an HTTP response from a GetFunctionsSpendSettingsWithResponse call
func (GetFunctionsSpendSettingsResponse) Status ¶ added in v0.4.0
func (r GetFunctionsSpendSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionsSpendSettingsResponse) StatusCode ¶ added in v0.4.0
func (r GetFunctionsSpendSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionsUsageParams ¶ added in v0.4.0
type GetFunctionsUsageParams struct {
// FunctionID Scope to one function (pre-free-tier view; the free tier is account-wide)
FunctionID *string `form:"function_id,omitempty" json:"function_id,omitempty"`
}
GetFunctionsUsageParams defines parameters for GetFunctionsUsage.
type GetFunctionsUsageResponse ¶ added in v0.4.0
type GetFunctionsUsageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *FunctionsUsage `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetFunctionsUsageResponse ¶ added in v0.4.0
func ParseGetFunctionsUsageResponse(rsp *http.Response) (*GetFunctionsUsageResponse, error)
ParseGetFunctionsUsageResponse parses an HTTP response from a GetFunctionsUsageWithResponse call
func (GetFunctionsUsageResponse) Status ¶ added in v0.4.0
func (r GetFunctionsUsageResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionsUsageResponse) StatusCode ¶ added in v0.4.0
func (r GetFunctionsUsageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIPResponse ¶
type GetIPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data A floating public IP address.
Data *FloatingIP `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetIPResponse ¶
func ParseGetIPResponse(rsp *http.Response) (*GetIPResponse, error)
ParseGetIPResponse parses an HTTP response from a GetIPWithResponse call
func (GetIPResponse) Status ¶
func (r GetIPResponse) Status() string
Status returns HTTPResponse.Status
func (GetIPResponse) StatusCode ¶
func (r GetIPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetK8SClusterFirewallParams ¶ added in v0.4.0
type GetK8SClusterFirewallParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetK8SClusterFirewallParams defines parameters for GetK8SClusterFirewall.
type GetK8SClusterFirewallResponse ¶ added in v0.4.0
type GetK8SClusterFirewallResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *K8SFirewallState
JSON404 *NotFound
}
func ParseGetK8SClusterFirewallResponse ¶ added in v0.4.0
func ParseGetK8SClusterFirewallResponse(rsp *http.Response) (*GetK8SClusterFirewallResponse, error)
ParseGetK8SClusterFirewallResponse parses an HTTP response from a GetK8SClusterFirewallWithResponse call
func (GetK8SClusterFirewallResponse) Status ¶ added in v0.4.0
func (r GetK8SClusterFirewallResponse) Status() string
Status returns HTTPResponse.Status
func (GetK8SClusterFirewallResponse) StatusCode ¶ added in v0.4.0
func (r GetK8SClusterFirewallResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetK8SClusterMetricsParams ¶ added in v0.4.0
type GetK8SClusterMetricsParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetK8SClusterMetricsParams defines parameters for GetK8SClusterMetrics.
type GetK8SClusterMetricsResponse ¶ added in v0.4.0
type GetK8SClusterMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// ControlPlane 24-hour control-plane health summary, sampled every minute. Absent until the first sample after the cluster starts running.
ControlPlane *K8SControlPlaneHealth `json:"control_plane,omitempty"`
CPUCapacityMillicores *int `json:"cpu_capacity_millicores,omitempty"`
CPUUsedMillicores *int `json:"cpu_used_millicores,omitempty"`
MemCapacityBytes *int `json:"mem_capacity_bytes,omitempty"`
MemUsedBytes *int `json:"mem_used_bytes,omitempty"`
Nodes *[]K8SNodeMetrics `json:"nodes,omitempty"`
NodesReady *int `json:"nodes_ready,omitempty"`
NodesTotal *int `json:"nodes_total,omitempty"`
PodCapacity *int `json:"pod_capacity,omitempty"`
PodCount *int `json:"pod_count,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
JSON503 *Error
}
func ParseGetK8SClusterMetricsResponse ¶ added in v0.4.0
func ParseGetK8SClusterMetricsResponse(rsp *http.Response) (*GetK8SClusterMetricsResponse, error)
ParseGetK8SClusterMetricsResponse parses an HTTP response from a GetK8SClusterMetricsWithResponse call
func (GetK8SClusterMetricsResponse) Status ¶ added in v0.4.0
func (r GetK8SClusterMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetK8SClusterMetricsResponse) StatusCode ¶ added in v0.4.0
func (r GetK8SClusterMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetK8SClusterParams ¶ added in v0.4.0
type GetK8SClusterParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetK8SClusterParams defines parameters for GetK8SCluster.
type GetK8SClusterResponse ¶ added in v0.4.0
type GetK8SClusterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cluster *K8SCluster `json:"cluster,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetK8SClusterResponse ¶ added in v0.4.0
func ParseGetK8SClusterResponse(rsp *http.Response) (*GetK8SClusterResponse, error)
ParseGetK8SClusterResponse parses an HTTP response from a GetK8SClusterWithResponse call
func (GetK8SClusterResponse) Status ¶ added in v0.4.0
func (r GetK8SClusterResponse) Status() string
Status returns HTTPResponse.Status
func (GetK8SClusterResponse) StatusCode ¶ added in v0.4.0
func (r GetK8SClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetK8SClusterStatsParams ¶ added in v0.4.0
type GetK8SClusterStatsParams struct {
// Ids Comma-separated cluster IDs. Omit for all account clusters.
Ids *string `form:"ids,omitempty" json:"ids,omitempty"`
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetK8SClusterStatsParams defines parameters for GetK8SClusterStats.
type GetK8SClusterStatsResponse ¶ added in v0.4.0
type GetK8SClusterStatsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Stats *[]K8SClusterStats `json:"stats,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetK8SClusterStatsResponse ¶ added in v0.4.0
func ParseGetK8SClusterStatsResponse(rsp *http.Response) (*GetK8SClusterStatsResponse, error)
ParseGetK8SClusterStatsResponse parses an HTTP response from a GetK8SClusterStatsWithResponse call
func (GetK8SClusterStatsResponse) Status ¶ added in v0.4.0
func (r GetK8SClusterStatsResponse) Status() string
Status returns HTTPResponse.Status
func (GetK8SClusterStatsResponse) StatusCode ¶ added in v0.4.0
func (r GetK8SClusterStatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetK8SKubeconfigParams ¶ added in v0.4.0
type GetK8SKubeconfigParams struct {
// ExpiresIn Issue a SHORT-LIVED kubeconfig instead of the admin one: a token with this time-to-live in seconds (10 minutes to 30 days). Expired kubeconfigs stop working on their own; [rotate access](#tag/Kubernetes/operation/rotateK8sKubeconfigAccess) invalidates all of them at once.
ExpiresIn *int `form:"expires_in,omitempty" json:"expires_in,omitempty"`
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetK8SKubeconfigParams defines parameters for GetK8SKubeconfig.
type GetK8SKubeconfigResponse ¶ added in v0.4.0
type GetK8SKubeconfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
APIEndpoint *string `json:"api_endpoint,omitempty"`
// Kubeconfig kubeconfig YAML
Kubeconfig *string `json:"kubeconfig,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetK8SKubeconfigResponse ¶ added in v0.4.0
func ParseGetK8SKubeconfigResponse(rsp *http.Response) (*GetK8SKubeconfigResponse, error)
ParseGetK8SKubeconfigResponse parses an HTTP response from a GetK8SKubeconfigWithResponse call
func (GetK8SKubeconfigResponse) Status ¶ added in v0.4.0
func (r GetK8SKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetK8SKubeconfigResponse) StatusCode ¶ added in v0.4.0
func (r GetK8SKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetK8SMetalLBPoolParams ¶ added in v0.4.0
type GetK8SMetalLBPoolParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetK8SMetalLBPoolParams defines parameters for GetK8SMetalLBPool.
type GetK8SMetalLBPoolResponse ¶ added in v0.4.0
type GetK8SMetalLBPoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Pool *K8SMetalLBPool `json:"pool,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetK8SMetalLBPoolResponse ¶ added in v0.4.0
func ParseGetK8SMetalLBPoolResponse(rsp *http.Response) (*GetK8SMetalLBPoolResponse, error)
ParseGetK8SMetalLBPoolResponse parses an HTTP response from a GetK8SMetalLBPoolWithResponse call
func (GetK8SMetalLBPoolResponse) Status ¶ added in v0.4.0
func (r GetK8SMetalLBPoolResponse) Status() string
Status returns HTTPResponse.Status
func (GetK8SMetalLBPoolResponse) StatusCode ¶ added in v0.4.0
func (r GetK8SMetalLBPoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemberResponse ¶
type GetMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Member `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetMemberResponse ¶
func ParseGetMemberResponse(rsp *http.Response) (*GetMemberResponse, error)
ParseGetMemberResponse parses an HTTP response from a GetMemberWithResponse call
func (GetMemberResponse) Status ¶
func (r GetMemberResponse) Status() string
Status returns HTTPResponse.Status
func (GetMemberResponse) StatusCode ¶
func (r GetMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectMemberResponse ¶
type GetProjectMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *ProjectMember `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetProjectMemberResponse ¶
func ParseGetProjectMemberResponse(rsp *http.Response) (*GetProjectMemberResponse, error)
ParseGetProjectMemberResponse parses an HTTP response from a GetProjectMemberWithResponse call
func (GetProjectMemberResponse) Status ¶
func (r GetProjectMemberResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectMemberResponse) StatusCode ¶
func (r GetProjectMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectResponse ¶
type GetProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Project `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetProjectResponse ¶
func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)
ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call
func (GetProjectResponse) Status ¶
func (r GetProjectResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectResponse) StatusCode ¶
func (r GetProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRoleResponse ¶
type GetRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Role `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetRoleResponse ¶
func ParseGetRoleResponse(rsp *http.Response) (*GetRoleResponse, error)
ParseGetRoleResponse parses an HTTP response from a GetRoleWithResponse call
func (GetRoleResponse) Status ¶
func (r GetRoleResponse) Status() string
Status returns HTTPResponse.Status
func (GetRoleResponse) StatusCode ¶
func (r GetRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSSHKeyResponse ¶
type GetSSHKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *SSHKey `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetSSHKeyResponse ¶
func ParseGetSSHKeyResponse(rsp *http.Response) (*GetSSHKeyResponse, error)
ParseGetSSHKeyResponse parses an HTTP response from a GetSSHKeyWithResponse call
func (GetSSHKeyResponse) Status ¶
func (r GetSSHKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetSSHKeyResponse) StatusCode ¶
func (r GetSSHKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityGroupParams ¶
type GetSecurityGroupParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetSecurityGroupParams defines parameters for GetSecurityGroup.
type GetSecurityGroupResponse ¶
type GetSecurityGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data A security group — a named set of inbound/outbound rules that can be attached to VM NICs.
Data *SecurityGroup `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetSecurityGroupResponse ¶
func ParseGetSecurityGroupResponse(rsp *http.Response) (*GetSecurityGroupResponse, error)
ParseGetSecurityGroupResponse parses an HTTP response from a GetSecurityGroupWithResponse call
func (GetSecurityGroupResponse) Status ¶
func (r GetSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityGroupResponse) StatusCode ¶
func (r GetSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSnapshotParams ¶
type GetSnapshotParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetSnapshotParams defines parameters for GetSnapshot.
type GetSnapshotResponse ¶
type GetSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Snapshot `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetSnapshotResponse ¶
func ParseGetSnapshotResponse(rsp *http.Response) (*GetSnapshotResponse, error)
ParseGetSnapshotResponse parses an HTTP response from a GetSnapshotWithResponse call
func (GetSnapshotResponse) Status ¶
func (r GetSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (GetSnapshotResponse) StatusCode ¶
func (r GetSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVMNotesParams ¶
type GetVMNotesParams struct {
// Type Filter to one note scope. Omit to return both.
Type *GetVMNotesParamsType `form:"type,omitempty" json:"type,omitempty"`
}
GetVMNotesParams defines parameters for GetVMNotes.
type GetVMNotesParamsType ¶
type GetVMNotesParamsType string
GetVMNotesParamsType defines parameters for GetVMNotes.
const ( GetVMNotesParamsTypeAccount GetVMNotesParamsType = "account" GetVMNotesParamsTypePersonal GetVMNotesParamsType = "personal" )
Defines values for GetVMNotesParamsType.
func (GetVMNotesParamsType) Valid ¶
func (e GetVMNotesParamsType) Valid() bool
Valid indicates whether the value is a known member of the GetVMNotesParamsType enum.
type GetVMNotesResponse ¶
type GetVMNotesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VMNotesResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetVMNotesResponse ¶
func ParseGetVMNotesResponse(rsp *http.Response) (*GetVMNotesResponse, error)
ParseGetVMNotesResponse parses an HTTP response from a GetVMNotesWithResponse call
func (GetVMNotesResponse) Status ¶
func (r GetVMNotesResponse) Status() string
Status returns HTTPResponse.Status
func (GetVMNotesResponse) StatusCode ¶
func (r GetVMNotesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVMResponse ¶
type GetVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *VM `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetVMResponse ¶
func ParseGetVMResponse(rsp *http.Response) (*GetVMResponse, error)
ParseGetVMResponse parses an HTTP response from a GetVMWithResponse call
func (GetVMResponse) Status ¶
func (r GetVMResponse) Status() string
Status returns HTTPResponse.Status
func (GetVMResponse) StatusCode ¶
func (r GetVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVPCParams ¶
type GetVPCParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetVPCParams defines parameters for GetVPC.
type GetVPCResponse ¶
type GetVPCResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data Detail wrapper returned by `GET /api/v1/vpcs/{id}`. Contains the core VPC under `vpc`, plus the configured IP range and the current set of IP leases (one entry per attached network interface).
Data *VPCDetail `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetVPCResponse ¶
func ParseGetVPCResponse(rsp *http.Response) (*GetVPCResponse, error)
ParseGetVPCResponse parses an HTTP response from a GetVPCWithResponse call
func (GetVPCResponse) Status ¶
func (r GetVPCResponse) Status() string
Status returns HTTPResponse.Status
func (GetVPCResponse) StatusCode ¶
func (r GetVPCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVolumeParams ¶
type GetVolumeParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
GetVolumeParams defines parameters for GetVolume.
type GetVolumeResponse ¶
type GetVolumeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Volume `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseGetVolumeResponse ¶
func ParseGetVolumeResponse(rsp *http.Response) (*GetVolumeResponse, error)
ParseGetVolumeResponse parses an HTTP response from a GetVolumeWithResponse call
func (GetVolumeResponse) Status ¶
func (r GetVolumeResponse) Status() string
Status returns HTTPResponse.Status
func (GetVolumeResponse) StatusCode ¶
func (r GetVolumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HardRebootVMParams ¶
type HardRebootVMParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
HardRebootVMParams defines parameters for HardRebootVM.
type HardRebootVMResponse ¶
type HardRebootVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseHardRebootVMResponse ¶
func ParseHardRebootVMResponse(rsp *http.Response) (*HardRebootVMResponse, error)
ParseHardRebootVMResponse parses an HTTP response from a HardRebootVMWithResponse call
func (HardRebootVMResponse) Status ¶
func (r HardRebootVMResponse) Status() string
Status returns HTTPResponse.Status
func (HardRebootVMResponse) StatusCode ¶
func (r HardRebootVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HealthCheckResponse ¶
type HealthCheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Status *string `json:"status,omitempty"`
}
}
func ParseHealthCheckResponse ¶
func ParseHealthCheckResponse(rsp *http.Response) (*HealthCheckResponse, error)
ParseHealthCheckResponse parses an HTTP response from a HealthCheckWithResponse call
func (HealthCheckResponse) Status ¶
func (r HealthCheckResponse) Status() string
Status returns HTTPResponse.Status
func (HealthCheckResponse) StatusCode ¶
func (r HealthCheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IPPricing ¶
type IPPricing struct {
// Ipv4 Pricing for a single IP address type.
Ipv4 *IPPricingTier `json:"ipv4,omitempty"`
// Ipv6 Pricing for a single IP address type.
Ipv6 *IPPricingTier `json:"ipv6,omitempty"`
}
IPPricing IP address pricing grouped by type.
type IPPricingTier ¶
type IPPricingTier struct {
// MonthlyPrice Monthly price in USD
MonthlyPrice *float32 `json:"monthly_price,omitempty"`
// PricePerHour Hourly price in USD
PricePerHour *float32 `json:"price_per_hour,omitempty"`
// TwentyFourMonthPrice 24-month commitment price in USD
TwentyFourMonthPrice *float32 `json:"twenty_four_month_price,omitempty"`
// YearlyPrice Yearly commitment price in USD
YearlyPrice *float32 `json:"yearly_price,omitempty"`
}
IPPricingTier Pricing for a single IP address type.
type InsufficientBalance ¶
type InsufficientBalance = Error
InsufficientBalance defines model for InsufficientBalance.
type Invitation ¶
type Invitation struct {
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
AccountName *string `json:"account_name,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Email openapi_types.Email `json:"email"`
// ExpiresAt When the invitation auto-expires. Past this time, the accept link returns an error and the row is removed by a cleanup job.
ExpiresAt *time.Time `json:"expires_at,omitempty"`
ID openapi_types.UUID `json:"id"`
InvitedByEmail *openapi_types.Email `json:"invited_by_email,omitempty"`
InvitedByID *openapi_types.UUID `json:"invited_by_id,omitempty"`
InvitedByName *string `json:"invited_by_name,omitempty"`
// ProjectID Set only when `type` is `project`
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
ProjectName *string `json:"project_name,omitempty"`
RoleID *openapi_types.UUID `json:"role_id,omitempty"`
RoleName *string `json:"role_name,omitempty"`
// Type Account-level or project-level invitation
Type InvitationType `json:"type"`
}
Invitation defines model for Invitation.
type InvitationType ¶
type InvitationType string
InvitationType Account-level or project-level invitation
const ( InvitationTypeAccount InvitationType = "account" InvitationTypeProject InvitationType = "project" )
Defines values for InvitationType.
func (InvitationType) Valid ¶
func (e InvitationType) Valid() bool
Valid indicates whether the value is a known member of the InvitationType enum.
type K8SCluster ¶ added in v0.4.0
type K8SCluster struct {
APIEndpoint *string `json:"api_endpoint,omitempty"`
BillingType *K8SClusterBillingType `json:"billing_type,omitempty"`
// ClusterID Short cluster ID used in URLs and the API endpoint hostname
ClusterID string `json:"cluster_id"`
CreatedAt *time.Time `json:"created_at,omitempty"`
DNSDomain *string `json:"dns_domain,omitempty"`
FirewallEnabled *bool `json:"firewall_enabled,omitempty"`
HaEnabled *bool `json:"ha_enabled,omitempty"`
// ID Internal UUID
ID openapi_types.UUID `json:"id"`
K8SVersion *string `json:"k8s_version,omitempty"`
K8SVersionID *int `json:"k8s_version_id,omitempty"`
// LonghornEnabled Dedicated storage nodes with Longhorn block storage
LonghornEnabled *bool `json:"longhorn_enabled,omitempty"`
// MasterCount 1, or 3 with an HA control plane
MasterCount *int `json:"master_count,omitempty"`
MetallbEnabled *bool `json:"metallb_enabled,omitempty"`
Name string `json:"name"`
NodePools *[]K8SNodePool `json:"node_pools,omitempty"`
// PricePerHour Current hourly price (workers + storage + HA fee; control plane is free)
PricePerHour *float64 `json:"price_per_hour,omitempty"`
PricePerMonth *float64 `json:"price_per_month,omitempty"`
// PrivateVip Cluster gateway IP inside the VPC
PrivateVip *string `json:"private_vip,omitempty"`
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
// Ready `true` when the cluster is running and no node pool is mid-operation — safe to use without interpreting `status`
Ready bool `json:"ready"`
Region *K8SClusterRegion `json:"region,omitempty"`
// Status - `pending` / `deploying` — provisioning
// - `running` — control plane up
// - `warning` — degraded (see `status_message`)
// - `failed` — provisioning failed; infrastructure was torn down (see `status_message`)
// - `deleting` — teardown in progress
// - `delete_failed` — teardown incomplete; nothing removed — retry the delete
Status K8SClusterStatus `json:"status"`
// StatusMessage Human-readable detail for warning/failed/delete_failed
StatusMessage *string `json:"status_message,omitempty"`
TraefikEnabled *bool `json:"traefik_enabled,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// VpcID Dedicated VPC the cluster runs in
VpcID *string `json:"vpc_id,omitempty"`
// WorkerCount Total worker nodes across all pools
WorkerCount *int `json:"worker_count,omitempty"`
}
K8SCluster defines model for K8sCluster.
type K8SClusterBillingType ¶ added in v0.4.0
type K8SClusterBillingType string
K8SClusterBillingType defines model for K8SCluster.BillingType.
const ( K8SClusterBillingTypePayg K8SClusterBillingType = "payg" K8SClusterBillingTypeSubscription K8SClusterBillingType = "subscription" )
Defines values for K8SClusterBillingType.
func (K8SClusterBillingType) Valid ¶ added in v0.4.0
func (e K8SClusterBillingType) Valid() bool
Valid indicates whether the value is a known member of the K8SClusterBillingType enum.
type K8SClusterEvent ¶ added in v0.4.0
type K8SClusterEvent struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
EventType *string `json:"event_type,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
// Progress 0–100 during provisioning
Progress *int `json:"progress,omitempty"`
}
K8SClusterEvent defines model for K8sClusterEvent.
type K8SClusterIDPath ¶ added in v0.4.0
type K8SClusterIDPath = string
K8SClusterIDPath defines model for K8sClusterIDPath.
type K8SClusterNode ¶ added in v0.4.0
type K8SClusterNode struct {
ClusterID *openapi_types.UUID `json:"cluster_id,omitempty"`
CPU *int `json:"cpu,omitempty"`
CPUCapacityMillicores *int `json:"cpu_capacity_millicores,omitempty"`
CPUUsedMillicores *int `json:"cpu_used_millicores,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// Disk GB
Disk *int `json:"disk,omitempty"`
// HasLiveData Live Kubernetes state was reachable for this node
HasLiveData *bool `json:"has_live_data,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
IPAddress *string `json:"ip_address,omitempty"`
KubeletVersion *string `json:"kubelet_version,omitempty"`
// LiveName Kubernetes node name
LiveName *string `json:"live_name,omitempty"`
MemCapacityBytes *int `json:"mem_capacity_bytes,omitempty"`
MemUsedBytes *int `json:"mem_used_bytes,omitempty"`
Name *string `json:"name,omitempty"`
OsImage *string `json:"os_image,omitempty"`
PoolID *openapi_types.UUID `json:"pool_id,omitempty"`
PricePerHour *float64 `json:"price_per_hour,omitempty"`
// RAM GB
RAM *int `json:"ram,omitempty"`
Ready *bool `json:"ready,omitempty"`
// Role `vnf` is the cluster's network gateway
Role *K8SClusterNodeRole `json:"role,omitempty"`
// Status `running` means the kubelet reports Ready; `cordoned` = unschedulable (drain or manual cordon); `not_ready` = joined but failing health checks
Status *K8SClusterNodeStatus `json:"status,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
K8SClusterNode defines model for K8sClusterNode.
type K8SClusterNodeRole ¶ added in v0.4.0
type K8SClusterNodeRole string
K8SClusterNodeRole `vnf` is the cluster's network gateway
const ( K8SClusterNodeRoleMaster K8SClusterNodeRole = "master" K8SClusterNodeRoleStorage K8SClusterNodeRole = "storage" K8SClusterNodeRoleVnf K8SClusterNodeRole = "vnf" K8SClusterNodeRoleWorker K8SClusterNodeRole = "worker" )
Defines values for K8SClusterNodeRole.
func (K8SClusterNodeRole) Valid ¶ added in v0.4.0
func (e K8SClusterNodeRole) Valid() bool
Valid indicates whether the value is a known member of the K8SClusterNodeRole enum.
type K8SClusterNodeStatus ¶ added in v0.4.0
type K8SClusterNodeStatus string
K8SClusterNodeStatus `running` means the kubelet reports Ready; `cordoned` = unschedulable (drain or manual cordon); `not_ready` = joined but failing health checks
const ( K8SClusterNodeStatusCordoned K8SClusterNodeStatus = "cordoned" K8SClusterNodeStatusDeleted K8SClusterNodeStatus = "deleted" K8SClusterNodeStatusDeleting K8SClusterNodeStatus = "deleting" K8SClusterNodeStatusFailed K8SClusterNodeStatus = "failed" K8SClusterNodeStatusNotReady K8SClusterNodeStatus = "not_ready" K8SClusterNodeStatusPending K8SClusterNodeStatus = "pending" K8SClusterNodeStatusProvisioning K8SClusterNodeStatus = "provisioning" K8SClusterNodeStatusRunning K8SClusterNodeStatus = "running" )
Defines values for K8SClusterNodeStatus.
func (K8SClusterNodeStatus) Valid ¶ added in v0.4.0
func (e K8SClusterNodeStatus) Valid() bool
Valid indicates whether the value is a known member of the K8SClusterNodeStatus enum.
type K8SClusterRegion ¶ added in v0.4.0
type K8SClusterRegion string
K8SClusterRegion defines model for K8SCluster.Region.
const (
K8SClusterRegionUsEast K8SClusterRegion = "us-east"
)
Defines values for K8SClusterRegion.
func (K8SClusterRegion) Valid ¶ added in v0.4.0
func (e K8SClusterRegion) Valid() bool
Valid indicates whether the value is a known member of the K8SClusterRegion enum.
type K8SClusterStats ¶ added in v0.4.0
type K8SClusterStats struct {
// ClusterID Short cluster ID
ClusterID *string `json:"cluster_id,omitempty"`
CPUCapacityMillicores *int `json:"cpu_capacity_millicores,omitempty"`
CPUUsedMillicores *int `json:"cpu_used_millicores,omitempty"`
HasData *bool `json:"has_data,omitempty"`
MemCapacityBytes *int `json:"mem_capacity_bytes,omitempty"`
MemUsedBytes *int `json:"mem_used_bytes,omitempty"`
MetricsUpdatedAt *time.Time `json:"metrics_updated_at,omitempty"`
NodesReady *int `json:"nodes_ready,omitempty"`
NodesTotal *int `json:"nodes_total,omitempty"`
PodCount *int `json:"pod_count,omitempty"`
}
K8SClusterStats defines model for K8sClusterStats.
type K8SClusterStatus ¶ added in v0.4.0
type K8SClusterStatus string
K8SClusterStatus - `pending` / `deploying` — provisioning - `running` — control plane up - `warning` — degraded (see `status_message`) - `failed` — provisioning failed; infrastructure was torn down (see `status_message`) - `deleting` — teardown in progress - `delete_failed` — teardown incomplete; nothing removed — retry the delete
const ( K8SClusterStatusDeleteFailed K8SClusterStatus = "delete_failed" K8SClusterStatusDeleted K8SClusterStatus = "deleted" K8SClusterStatusDeleting K8SClusterStatus = "deleting" K8SClusterStatusDeploying K8SClusterStatus = "deploying" K8SClusterStatusFailed K8SClusterStatus = "failed" K8SClusterStatusPending K8SClusterStatus = "pending" K8SClusterStatusRunning K8SClusterStatus = "running" K8SClusterStatusWarning K8SClusterStatus = "warning" )
Defines values for K8SClusterStatus.
func (K8SClusterStatus) Valid ¶ added in v0.4.0
func (e K8SClusterStatus) Valid() bool
Valid indicates whether the value is a known member of the K8SClusterStatus enum.
type K8SControlPlaneHealth ¶ added in v0.4.0
type K8SControlPlaneHealth struct {
Apiserver5Xx24H *int `json:"apiserver_5xx_24h,omitempty"`
// EtcdP99Ms 99th-percentile etcd request latency over the last minute (healthy clusters sit under 15 ms; sustained values above 100 ms degrade the control plane)
EtcdP99Ms *float64 `json:"etcd_p99_ms,omitempty"`
EtcdP99MsMax24H *float64 `json:"etcd_p99_ms_max_24h,omitempty"`
// LeaderChanges24H Scheduler + controller-manager restarts — lost leader leases
LeaderChanges24H *int `json:"leader_changes_24h,omitempty"`
NodesNotReady *int `json:"nodes_not_ready,omitempty"`
NotReadyMinutes24H *int `json:"not_ready_minutes_24h,omitempty"`
RestartsApiserver24H *int `json:"restarts_apiserver_24h,omitempty"`
RestartsCiliumOp24H *int `json:"restarts_cilium_op_24h,omitempty"`
RestartsController24H *int `json:"restarts_controller_24h,omitempty"`
RestartsEtcd24H *int `json:"restarts_etcd_24h,omitempty"`
RestartsScheduler24H *int `json:"restarts_scheduler_24h,omitempty"`
SampledAt *time.Time `json:"sampled_at,omitempty"`
}
K8SControlPlaneHealth 24-hour control-plane health summary, sampled every minute. Absent until the first sample after the cluster starts running.
type K8SFirewallState ¶ added in v0.4.0
type K8SFirewallState struct {
AssignedName *string `json:"assigned_name,omitempty"`
// AssignedSgID Custom security group currently assigned (absent when on the baseline)
AssignedSgID *openapi_types.UUID `json:"assigned_sg_id,omitempty"`
// Available Your security groups that can be assigned
Available *[]struct {
ID *openapi_types.UUID `json:"id,omitempty"`
InboundRules *int `json:"inbound_rules,omitempty"`
Name *string `json:"name,omitempty"`
OutboundRules *int `json:"outbound_rules,omitempty"`
} `json:"available,omitempty"`
// DefaultName Platform baseline security group
DefaultName *string `json:"default_name,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Success *bool `json:"success,omitempty"`
}
K8SFirewallState defines model for K8sFirewallState.
type K8SHAPricing ¶ added in v0.4.0
type K8SHAPricing struct {
// PricePerHour Hourly price in USD
PricePerHour *float32 `json:"price_per_hour,omitempty"`
// PricePerMonth Monthly price in USD
PricePerMonth *float32 `json:"price_per_month,omitempty"`
}
K8SHAPricing Optional highly available control plane pricing. The standard control plane is free.
type K8SMetalLBPool ¶ added in v0.4.0
type K8SMetalLBPool struct {
Addresses *string `json:"addresses,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Found The address pool exists in the cluster
Found *bool `json:"found,omitempty"`
MaxSize *int `json:"max_size,omitempty"`
Size *int `json:"size,omitempty"`
}
K8SMetalLBPool defines model for K8sMetalLBPool.
type K8SNode ¶ added in v0.4.0
type K8SNode struct {
ClusterID *openapi_types.UUID `json:"cluster_id,omitempty"`
CPU *int `json:"cpu,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// Disk GB
Disk *int `json:"disk,omitempty"`
ID *openapi_types.UUID `json:"id,omitempty"`
IPAddress *string `json:"ip_address,omitempty"`
Name *string `json:"name,omitempty"`
PoolID *openapi_types.UUID `json:"pool_id,omitempty"`
PricePerHour *float64 `json:"price_per_hour,omitempty"`
// RAM GB
RAM *int `json:"ram,omitempty"`
// Role `vnf` is the cluster's network gateway
Role *K8SNodeRole `json:"role,omitempty"`
// Status `running` means the kubelet reports Ready; `cordoned` = unschedulable (drain or manual cordon); `not_ready` = joined but failing health checks
Status *K8SNodeStatus `json:"status,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
K8SNode defines model for K8sNode.
type K8SNodeMetrics ¶ added in v0.4.0
type K8SNodeMetrics struct {
CPUCapacityMillicores *int `json:"cpu_capacity_millicores,omitempty"`
CPUUsedMillicores *int `json:"cpu_used_millicores,omitempty"`
InternalIP *string `json:"internal_ip,omitempty"`
MemCapacityBytes *int `json:"mem_capacity_bytes,omitempty"`
MemUsedBytes *int `json:"mem_used_bytes,omitempty"`
// Name Kubernetes node name
Name *string `json:"name,omitempty"`
Ready *bool `json:"ready,omitempty"`
Roles *string `json:"roles,omitempty"`
}
K8SNodeMetrics defines model for K8sNodeMetrics.
type K8SNodePlan ¶ added in v0.4.0
type K8SNodePlan struct {
// ID Node plan ID
ID int `json:"id"`
// MemoryGib RAM in GiB per node
MemoryGib int `json:"memory_gib"`
// Name Node plan name
Name string `json:"name"`
// PricePerHour Hourly price per node in USD (pay-as-you-go)
PricePerHour float32 `json:"price_per_hour"`
// PricePerMonth Monthly price per node in USD
PricePerMonth float32 `json:"price_per_month"`
// Region Region this plan is available in
Region K8SNodePlanRegion `json:"region"`
// SsdGib NVMe root disk in GiB per node (OS, container images, logs, ephemeral storage; persistent volumes come from storage nodes)
SsdGib int `json:"ssd_gib"`
// TotalPrice Monthly price per node in USD (same as price_per_month)
TotalPrice *float32 `json:"total_price,omitempty"`
// TransferGib Monthly data transfer in GiB (0 means unmetered)
TransferGib *int `json:"transfer_gib,omitempty"`
// TwentyFourMonthPrice 24-month commitment price in USD (0 if not offered)
TwentyFourMonthPrice *float32 `json:"twenty_four_month_price,omitempty"`
// Vcpu Number of vCPU cores per node
Vcpu int `json:"vcpu"`
// YearlyPrice Yearly commitment price in USD (0 if not offered)
YearlyPrice *float32 `json:"yearly_price,omitempty"`
}
K8SNodePlan defines model for K8sNodePlan.
type K8SNodePlanRegion ¶ added in v0.4.0
type K8SNodePlanRegion string
K8SNodePlanRegion Region this plan is available in
const (
K8SNodePlanRegionUsEast K8SNodePlanRegion = "us-east"
)
Defines values for K8SNodePlanRegion.
func (K8SNodePlanRegion) Valid ¶ added in v0.4.0
func (e K8SNodePlanRegion) Valid() bool
Valid indicates whether the value is a known member of the K8SNodePlanRegion enum.
type K8SNodePool ¶ added in v0.4.0
type K8SNodePool struct {
// ActualNodeCount Nodes that currently exist (differs from `node_count` while scaling)
ActualNodeCount *int `json:"actual_node_count,omitempty"`
AutoscaleEnabled *bool `json:"autoscale_enabled,omitempty"`
ClusterID *openapi_types.UUID `json:"cluster_id,omitempty"`
CPU *int `json:"cpu,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// Disk GB
Disk *int `json:"disk,omitempty"`
ID openapi_types.UUID `json:"id"`
Labels *string `json:"labels,omitempty"`
MaxNodes *int `json:"max_nodes,omitempty"`
MinNodes *int `json:"min_nodes,omitempty"`
Name string `json:"name"`
// NodeCount Target node count
NodeCount int `json:"node_count"`
Nodes *[]K8SNode `json:"nodes,omitempty"`
PlanID *int `json:"plan_id,omitempty"`
// RAM GB
RAM *int `json:"ram,omitempty"`
// Status `scaling`/`deleting` are asynchronous — watch `status_message` for the outcome (e.g. a drain blocked by a PodDisruptionBudget)
Status K8SNodePoolStatus `json:"status"`
StatusMessage *string `json:"status_message,omitempty"`
Taints *string `json:"taints,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
K8SNodePool defines model for K8sNodePool.
type K8SNodePoolInput ¶ added in v0.4.0
type K8SNodePoolInput struct {
AutoscaleEnabled *bool `json:"autoscale_enabled,omitempty"`
// Labels JSON object of Kubernetes labels applied to the pool's nodes, e.g. `{"workload":"web"}`
Labels *string `json:"labels,omitempty"`
// MaxNodes Autoscaler ceiling
MaxNodes *int `json:"max_nodes,omitempty"`
// MinNodes Autoscaler floor
MinNodes *int `json:"min_nodes,omitempty"`
// Name 1–63 lowercase letters, digits or hyphens; unique within the cluster
Name string `json:"name"`
NodeCount int `json:"node_count"`
// PlanID Worker plan from [List Kubernetes node plans](#tag/Kubernetes/operation/listK8sNodePlans)
PlanID int `json:"plan_id"`
// Taints JSON array of taints, e.g. `[{"key":"gpu","value":"true","effect":"NoSchedule"}]`
Taints *string `json:"taints,omitempty"`
}
K8SNodePoolInput defines model for K8sNodePoolInput.
type K8SNodePoolStatus ¶ added in v0.4.0
type K8SNodePoolStatus string
K8SNodePoolStatus `scaling`/`deleting` are asynchronous — watch `status_message` for the outcome (e.g. a drain blocked by a PodDisruptionBudget)
const ( K8SNodePoolStatusDeleted K8SNodePoolStatus = "deleted" K8SNodePoolStatusDeleting K8SNodePoolStatus = "deleting" K8SNodePoolStatusFailed K8SNodePoolStatus = "failed" K8SNodePoolStatusPending K8SNodePoolStatus = "pending" K8SNodePoolStatusProvisioning K8SNodePoolStatus = "provisioning" K8SNodePoolStatusRunning K8SNodePoolStatus = "running" K8SNodePoolStatusScaling K8SNodePoolStatus = "scaling" )
Defines values for K8SNodePoolStatus.
func (K8SNodePoolStatus) Valid ¶ added in v0.4.0
func (e K8SNodePoolStatus) Valid() bool
Valid indicates whether the value is a known member of the K8SNodePoolStatus enum.
type K8SNodeRole ¶ added in v0.4.0
type K8SNodeRole string
K8SNodeRole `vnf` is the cluster's network gateway
const ( K8SNodeRoleMaster K8SNodeRole = "master" K8SNodeRoleStorage K8SNodeRole = "storage" K8SNodeRoleVnf K8SNodeRole = "vnf" K8SNodeRoleWorker K8SNodeRole = "worker" )
Defines values for K8SNodeRole.
func (K8SNodeRole) Valid ¶ added in v0.4.0
func (e K8SNodeRole) Valid() bool
Valid indicates whether the value is a known member of the K8SNodeRole enum.
type K8SNodeStatus ¶ added in v0.4.0
type K8SNodeStatus string
K8SNodeStatus `running` means the kubelet reports Ready; `cordoned` = unschedulable (drain or manual cordon); `not_ready` = joined but failing health checks
const ( K8SNodeStatusCordoned K8SNodeStatus = "cordoned" K8SNodeStatusDeleted K8SNodeStatus = "deleted" K8SNodeStatusDeleting K8SNodeStatus = "deleting" K8SNodeStatusFailed K8SNodeStatus = "failed" K8SNodeStatusNotReady K8SNodeStatus = "not_ready" K8SNodeStatusPending K8SNodeStatus = "pending" K8SNodeStatusProvisioning K8SNodeStatus = "provisioning" K8SNodeStatusRunning K8SNodeStatus = "running" )
Defines values for K8SNodeStatus.
func (K8SNodeStatus) Valid ¶ added in v0.4.0
func (e K8SNodeStatus) Valid() bool
Valid indicates whether the value is a known member of the K8SNodeStatus enum.
type K8SPoolIDPath ¶ added in v0.4.0
type K8SPoolIDPath = openapi_types.UUID
K8SPoolIDPath defines model for K8sPoolIDPath.
type K8SStoragePricing ¶ added in v0.4.0
type K8SStoragePricing struct {
// DefaultGb Default storage node size in GB
DefaultGb *int `json:"default_gb,omitempty"`
// MaxGb Maximum storage node size in GB
MaxGb *int `json:"max_gb,omitempty"`
// MinGb Minimum storage node size in GB
MinGb *int `json:"min_gb,omitempty"`
// PerGbHour Price per GB per hour in USD
PerGbHour *float32 `json:"per_gb_hour,omitempty"`
// PerGbMonth Price per GB per month in USD
PerGbMonth *float32 `json:"per_gb_month,omitempty"`
}
K8SStoragePricing Per-GB pricing for dedicated NVMe storage nodes.
type K8STcpForward ¶ added in v0.4.0
type K8STcpForward struct {
BackendIP *string `json:"backend_ip,omitempty"`
BackendPort *int `json:"backend_port,omitempty"`
// Endpoint Public address of the forward
Endpoint *string `json:"endpoint,omitempty"`
Index *int `json:"index,omitempty"`
Protocol *string `json:"protocol,omitempty"`
PublicPort *int `json:"public_port,omitempty"`
}
K8STcpForward defines model for K8sTcpForward.
type K8SVersion ¶ added in v0.4.0
type K8SVersion struct {
DisplayName *string `json:"display_name,omitempty"`
ID *int `json:"id,omitempty"`
IsDefault *bool `json:"is_default,omitempty"`
Version *string `json:"version,omitempty"`
}
K8SVersion defines model for K8sVersion.
type ListAPIKeysParams ¶
type ListAPIKeysParams struct {
// Scope Filter by key scope. Customer-created keys are always `public`, so this is rarely useful — included for completeness.
Scope *ListAPIKeysParamsScope `form:"scope,omitempty" json:"scope,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListAPIKeysParams defines parameters for ListAPIKeys.
type ListAPIKeysParamsScope ¶
type ListAPIKeysParamsScope string
ListAPIKeysParamsScope defines parameters for ListAPIKeys.
const (
ListAPIKeysParamsScopePublic ListAPIKeysParamsScope = "public"
)
Defines values for ListAPIKeysParamsScope.
func (ListAPIKeysParamsScope) Valid ¶
func (e ListAPIKeysParamsScope) Valid() bool
Valid indicates whether the value is a known member of the ListAPIKeysParamsScope enum.
type ListAPIKeysResponse ¶
type ListAPIKeysResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]APIKey `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAPIKeysResponse ¶
func ParseListAPIKeysResponse(rsp *http.Response) (*ListAPIKeysResponse, error)
ParseListAPIKeysResponse parses an HTTP response from a ListAPIKeysWithResponse call
func (ListAPIKeysResponse) Status ¶
func (r ListAPIKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListAPIKeysResponse) StatusCode ¶
func (r ListAPIKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAppCustomDomainsResponse ¶ added in v0.4.0
type ListAppCustomDomainsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Domains *[]AppCustomDomain `json:"domains,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseListAppCustomDomainsResponse ¶ added in v0.4.0
func ParseListAppCustomDomainsResponse(rsp *http.Response) (*ListAppCustomDomainsResponse, error)
ParseListAppCustomDomainsResponse parses an HTTP response from a ListAppCustomDomainsWithResponse call
func (ListAppCustomDomainsResponse) Status ¶ added in v0.4.0
func (r ListAppCustomDomainsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAppCustomDomainsResponse) StatusCode ¶ added in v0.4.0
func (r ListAppCustomDomainsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAppDeploymentsParams ¶ added in v0.4.0
type ListAppDeploymentsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAppDeploymentsParams defines parameters for ListAppDeployments.
type ListAppDeploymentsResponse ¶ added in v0.4.0
type ListAppDeploymentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Deployments *[]AppDeployment `json:"deployments,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAppDeploymentsResponse ¶ added in v0.4.0
func ParseListAppDeploymentsResponse(rsp *http.Response) (*ListAppDeploymentsResponse, error)
ParseListAppDeploymentsResponse parses an HTTP response from a ListAppDeploymentsWithResponse call
func (ListAppDeploymentsResponse) Status ¶ added in v0.4.0
func (r ListAppDeploymentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAppDeploymentsResponse) StatusCode ¶ added in v0.4.0
func (r ListAppDeploymentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAppEnvVarsResponse ¶ added in v0.4.0
type ListAppEnvVarsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
EnvVars *[]AppEnvVar `json:"env_vars,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAppEnvVarsResponse ¶ added in v0.4.0
func ParseListAppEnvVarsResponse(rsp *http.Response) (*ListAppEnvVarsResponse, error)
ParseListAppEnvVarsResponse parses an HTTP response from a ListAppEnvVarsWithResponse call
func (ListAppEnvVarsResponse) Status ¶ added in v0.4.0
func (r ListAppEnvVarsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAppEnvVarsResponse) StatusCode ¶ added in v0.4.0
func (r ListAppEnvVarsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAppJobRunsResponse ¶ added in v0.4.0
type ListAppJobRunsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Runs *[]AppJobRun `json:"runs,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseListAppJobRunsResponse ¶ added in v0.4.0
func ParseListAppJobRunsResponse(rsp *http.Response) (*ListAppJobRunsResponse, error)
ParseListAppJobRunsResponse parses an HTTP response from a ListAppJobRunsWithResponse call
func (ListAppJobRunsResponse) Status ¶ added in v0.4.0
func (r ListAppJobRunsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAppJobRunsResponse) StatusCode ¶ added in v0.4.0
func (r ListAppJobRunsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAppLogsParams ¶ added in v0.4.0
type ListAppLogsParams struct {
Level *string `form:"level,omitempty" json:"level,omitempty"`
Search *string `form:"search,omitempty" json:"search,omitempty"`
Since *time.Time `form:"since,omitempty" json:"since,omitempty"`
Until *time.Time `form:"until,omitempty" json:"until,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAppLogsParams defines parameters for ListAppLogs.
type ListAppLogsResponse ¶ added in v0.4.0
type ListAppLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Lines *[]AppLogLine `json:"lines,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseListAppLogsResponse ¶ added in v0.4.0
func ParseListAppLogsResponse(rsp *http.Response) (*ListAppLogsResponse, error)
ParseListAppLogsResponse parses an HTTP response from a ListAppLogsWithResponse call
func (ListAppLogsResponse) Status ¶ added in v0.4.0
func (r ListAppLogsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAppLogsResponse) StatusCode ¶ added in v0.4.0
func (r ListAppLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAppServicesParams ¶ added in v0.4.0
type ListAppServicesParams struct {
ProjectID *openapi_types.UUID `form:"project_id,omitempty" json:"project_id,omitempty"`
// ServiceType Filter by type: `web`, `private`, `worker`, `cron`, or `job`.
ServiceType *ListAppServicesParamsServiceType `form:"service_type,omitempty" json:"service_type,omitempty"`
Status *string `form:"status,omitempty" json:"status,omitempty"`
}
ListAppServicesParams defines parameters for ListAppServices.
type ListAppServicesParamsServiceType ¶ added in v0.4.0
type ListAppServicesParamsServiceType string
ListAppServicesParamsServiceType defines parameters for ListAppServices.
const ( Cron ListAppServicesParamsServiceType = "cron" Job ListAppServicesParamsServiceType = "job" Private ListAppServicesParamsServiceType = "private" Web ListAppServicesParamsServiceType = "web" Worker ListAppServicesParamsServiceType = "worker" )
Defines values for ListAppServicesParamsServiceType.
func (ListAppServicesParamsServiceType) Valid ¶ added in v0.4.0
func (e ListAppServicesParamsServiceType) Valid() bool
Valid indicates whether the value is a known member of the ListAppServicesParamsServiceType enum.
type ListAppServicesResponse ¶ added in v0.4.0
type ListAppServicesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Services *[]AppService `json:"services,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAppServicesResponse ¶ added in v0.4.0
func ParseListAppServicesResponse(rsp *http.Response) (*ListAppServicesResponse, error)
ParseListAppServicesResponse parses an HTTP response from a ListAppServicesWithResponse call
func (ListAppServicesResponse) Status ¶ added in v0.4.0
func (r ListAppServicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListAppServicesResponse) StatusCode ¶ added in v0.4.0
func (r ListAppServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAppTiersParams ¶ added in v0.4.0
type ListAppTiersParams struct {
Region *string `form:"region,omitempty" json:"region,omitempty"`
}
ListAppTiersParams defines parameters for ListAppTiers.
type ListAppTiersResponse ¶ added in v0.4.0
type ListAppTiersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
Tiers *[]AppTier `json:"tiers,omitempty"`
}
}
func ParseListAppTiersResponse ¶ added in v0.4.0
func ParseListAppTiersResponse(rsp *http.Response) (*ListAppTiersResponse, error)
ParseListAppTiersResponse parses an HTTP response from a ListAppTiersWithResponse call
func (ListAppTiersResponse) Status ¶ added in v0.4.0
func (r ListAppTiersResponse) Status() string
Status returns HTTPResponse.Status
func (ListAppTiersResponse) StatusCode ¶ added in v0.4.0
func (r ListAppTiersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBackupPricingParams ¶
type ListBackupPricingParams struct {
// Region Filter by region
Region *ListBackupPricingParamsRegion `form:"region,omitempty" json:"region,omitempty"`
}
ListBackupPricingParams defines parameters for ListBackupPricing.
type ListBackupPricingParamsRegion ¶
type ListBackupPricingParamsRegion string
ListBackupPricingParamsRegion defines parameters for ListBackupPricing.
const (
ListBackupPricingParamsRegionUsEast ListBackupPricingParamsRegion = "us-east"
)
Defines values for ListBackupPricingParamsRegion.
func (ListBackupPricingParamsRegion) Valid ¶
func (e ListBackupPricingParamsRegion) Valid() bool
Valid indicates whether the value is a known member of the ListBackupPricingParamsRegion enum.
type ListBackupPricingResponse ¶
type ListBackupPricingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Pricing Per-GB storage pricing
Pricing *StoragePricing `json:"pricing,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseListBackupPricingResponse ¶
func ParseListBackupPricingResponse(rsp *http.Response) (*ListBackupPricingResponse, error)
ParseListBackupPricingResponse parses an HTTP response from a ListBackupPricingWithResponse call
func (ListBackupPricingResponse) Status ¶
func (r ListBackupPricingResponse) Status() string
Status returns HTTPResponse.Status
func (ListBackupPricingResponse) StatusCode ¶
func (r ListBackupPricingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBackupSchedulesParams ¶
type ListBackupSchedulesParams struct {
// VMID Filter by VM UUID
VMID *openapi_types.UUID `form:"vm_id,omitempty" json:"vm_id,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// XProjectID Optional project ID to scope the list. Omit to list across all accessible projects.
XProjectID *openapi_types.UUID `json:"X-Project-ID,omitempty"`
}
ListBackupSchedulesParams defines parameters for ListBackupSchedules.
type ListBackupSchedulesResponse ¶
type ListBackupSchedulesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]BackupSchedule `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListBackupSchedulesResponse ¶
func ParseListBackupSchedulesResponse(rsp *http.Response) (*ListBackupSchedulesResponse, error)
ParseListBackupSchedulesResponse parses an HTTP response from a ListBackupSchedulesWithResponse call
func (ListBackupSchedulesResponse) Status ¶
func (r ListBackupSchedulesResponse) Status() string
Status returns HTTPResponse.Status
func (ListBackupSchedulesResponse) StatusCode ¶
func (r ListBackupSchedulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBackupsParams ¶
type ListBackupsParams struct {
// VMID Filter by VM UUID
VMID *openapi_types.UUID `form:"vm_id,omitempty" json:"vm_id,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// XProjectID Optional project ID to scope the list. Omit to list across all accessible projects.
XProjectID *openapi_types.UUID `json:"X-Project-ID,omitempty"`
}
ListBackupsParams defines parameters for ListBackups.
type ListBackupsResponse ¶
type ListBackupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Backup `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListBackupsResponse ¶
func ParseListBackupsResponse(rsp *http.Response) (*ListBackupsResponse, error)
ParseListBackupsResponse parses an HTTP response from a ListBackupsWithResponse call
func (ListBackupsResponse) Status ¶
func (r ListBackupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListBackupsResponse) StatusCode ¶
func (r ListBackupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabaseBackupsResponse ¶ added in v0.4.0
type ListDatabaseBackupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Backups *[]DatabaseBackup `json:"backups,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseListDatabaseBackupsResponse ¶ added in v0.4.0
func ParseListDatabaseBackupsResponse(rsp *http.Response) (*ListDatabaseBackupsResponse, error)
ParseListDatabaseBackupsResponse parses an HTTP response from a ListDatabaseBackupsWithResponse call
func (ListDatabaseBackupsResponse) Status ¶ added in v0.4.0
func (r ListDatabaseBackupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabaseBackupsResponse) StatusCode ¶ added in v0.4.0
func (r ListDatabaseBackupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabaseEnginesResponse ¶ added in v0.4.0
type ListDatabaseEnginesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Engines *[]DatabaseEngineInfo `json:"engines,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListDatabaseEnginesResponse ¶ added in v0.4.0
func ParseListDatabaseEnginesResponse(rsp *http.Response) (*ListDatabaseEnginesResponse, error)
ParseListDatabaseEnginesResponse parses an HTTP response from a ListDatabaseEnginesWithResponse call
func (ListDatabaseEnginesResponse) Status ¶ added in v0.4.0
func (r ListDatabaseEnginesResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabaseEnginesResponse) StatusCode ¶ added in v0.4.0
func (r ListDatabaseEnginesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabaseExtensionsResponse ¶ added in v0.4.0
type ListDatabaseExtensionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Extensions *[]DatabaseExtension `json:"extensions,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseListDatabaseExtensionsResponse ¶ added in v0.4.0
func ParseListDatabaseExtensionsResponse(rsp *http.Response) (*ListDatabaseExtensionsResponse, error)
ParseListDatabaseExtensionsResponse parses an HTTP response from a ListDatabaseExtensionsWithResponse call
func (ListDatabaseExtensionsResponse) Status ¶ added in v0.4.0
func (r ListDatabaseExtensionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabaseExtensionsResponse) StatusCode ¶ added in v0.4.0
func (r ListDatabaseExtensionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabasePlansParams ¶ added in v0.4.0
type ListDatabasePlansParams struct {
// Engine Filter plans by engine
Engine *DatabaseEngine `form:"engine,omitempty" json:"engine,omitempty"`
}
ListDatabasePlansParams defines parameters for ListDatabasePlans.
type ListDatabasePlansResponse ¶ added in v0.4.0
type ListDatabasePlansResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
HaPricing *[]DatabaseHAPricing `json:"ha_pricing,omitempty"`
Plans *[]DatabasePricingPlan `json:"plans,omitempty"`
ReplicaPricing *[]DatabaseReplicaPricing `json:"replica_pricing,omitempty"`
StoragePricing *[]DatabaseStoragePricing `json:"storage_pricing,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListDatabasePlansResponse ¶ added in v0.4.0
func ParseListDatabasePlansResponse(rsp *http.Response) (*ListDatabasePlansResponse, error)
ParseListDatabasePlansResponse parses an HTTP response from a ListDatabasePlansWithResponse call
func (ListDatabasePlansResponse) Status ¶ added in v0.4.0
func (r ListDatabasePlansResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabasePlansResponse) StatusCode ¶ added in v0.4.0
func (r ListDatabasePlansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabasePricingParams ¶ added in v0.4.0
type ListDatabasePricingParams struct {
// Engine Filter by database engine
Engine *DatabaseEngine `form:"engine,omitempty" json:"engine,omitempty"`
}
ListDatabasePricingParams defines parameters for ListDatabasePricing.
type ListDatabasePricingResponse ¶ added in v0.4.0
type ListDatabasePricingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// HaPricing High availability pricing per engine
HaPricing *[]DatabaseHAPricing `json:"ha_pricing,omitempty"`
Plans *[]DatabasePricingPlan `json:"plans,omitempty"`
// ReplicaPricing Read replica pricing per engine
ReplicaPricing *[]DatabaseReplicaPricing `json:"replica_pricing,omitempty"`
// StoragePricing Extra storage pricing per engine
StoragePricing *[]DatabaseStoragePricing `json:"storage_pricing,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
}
func ParseListDatabasePricingResponse ¶ added in v0.4.0
func ParseListDatabasePricingResponse(rsp *http.Response) (*ListDatabasePricingResponse, error)
ParseListDatabasePricingResponse parses an HTTP response from a ListDatabasePricingWithResponse call
func (ListDatabasePricingResponse) Status ¶ added in v0.4.0
func (r ListDatabasePricingResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabasePricingResponse) StatusCode ¶ added in v0.4.0
func (r ListDatabasePricingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatabasesResponse ¶ added in v0.4.0
type ListDatabasesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Databases *[]Database `json:"databases,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListDatabasesResponse ¶ added in v0.4.0
func ParseListDatabasesResponse(rsp *http.Response) (*ListDatabasesResponse, error)
ParseListDatabasesResponse parses an HTTP response from a ListDatabasesWithResponse call
func (ListDatabasesResponse) Status ¶ added in v0.4.0
func (r ListDatabasesResponse) Status() string
Status returns HTTPResponse.Status
func (ListDatabasesResponse) StatusCode ¶ added in v0.4.0
func (r ListDatabasesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionBindingsResponse ¶ added in v0.4.0
type ListFunctionBindingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Bindings *[]FunctionBinding `json:"bindings,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListFunctionBindingsResponse ¶ added in v0.4.0
func ParseListFunctionBindingsResponse(rsp *http.Response) (*ListFunctionBindingsResponse, error)
ParseListFunctionBindingsResponse parses an HTTP response from a ListFunctionBindingsWithResponse call
func (ListFunctionBindingsResponse) Status ¶ added in v0.4.0
func (r ListFunctionBindingsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionBindingsResponse) StatusCode ¶ added in v0.4.0
func (r ListFunctionBindingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionDeploymentsResponse ¶ added in v0.4.0
type ListFunctionDeploymentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Deployments *[]FunctionDeployment `json:"deployments,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListFunctionDeploymentsResponse ¶ added in v0.4.0
func ParseListFunctionDeploymentsResponse(rsp *http.Response) (*ListFunctionDeploymentsResponse, error)
ParseListFunctionDeploymentsResponse parses an HTTP response from a ListFunctionDeploymentsWithResponse call
func (ListFunctionDeploymentsResponse) Status ¶ added in v0.4.0
func (r ListFunctionDeploymentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionDeploymentsResponse) StatusCode ¶ added in v0.4.0
func (r ListFunctionDeploymentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionEnvVarsResponse ¶ added in v0.4.0
type ListFunctionEnvVarsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
EnvVars *[]FunctionEnvVar `json:"env_vars,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListFunctionEnvVarsResponse ¶ added in v0.4.0
func ParseListFunctionEnvVarsResponse(rsp *http.Response) (*ListFunctionEnvVarsResponse, error)
ParseListFunctionEnvVarsResponse parses an HTTP response from a ListFunctionEnvVarsWithResponse call
func (ListFunctionEnvVarsResponse) Status ¶ added in v0.4.0
func (r ListFunctionEnvVarsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionEnvVarsResponse) StatusCode ¶ added in v0.4.0
func (r ListFunctionEnvVarsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionInvocationsParams ¶ added in v0.4.0
type ListFunctionInvocationsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListFunctionInvocationsParams defines parameters for ListFunctionInvocations.
type ListFunctionInvocationsResponse ¶ added in v0.4.0
type ListFunctionInvocationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Invocations *[]FunctionInvocation `json:"invocations,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListFunctionInvocationsResponse ¶ added in v0.4.0
func ParseListFunctionInvocationsResponse(rsp *http.Response) (*ListFunctionInvocationsResponse, error)
ParseListFunctionInvocationsResponse parses an HTTP response from a ListFunctionInvocationsWithResponse call
func (ListFunctionInvocationsResponse) Status ¶ added in v0.4.0
func (r ListFunctionInvocationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionInvocationsResponse) StatusCode ¶ added in v0.4.0
func (r ListFunctionInvocationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionLogsParams ¶ added in v0.4.0
type ListFunctionLogsParams struct {
// Since RFC3339 start time (default one hour ago)
Since *time.Time `form:"since,omitempty" json:"since,omitempty"`
Until *time.Time `form:"until,omitempty" json:"until,omitempty"`
Level *ListFunctionLogsParamsLevel `form:"level,omitempty" json:"level,omitempty"`
// Q Substring filter
Q *string `form:"q,omitempty" json:"q,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListFunctionLogsParams defines parameters for ListFunctionLogs.
type ListFunctionLogsParamsLevel ¶ added in v0.4.0
type ListFunctionLogsParamsLevel string
ListFunctionLogsParamsLevel defines parameters for ListFunctionLogs.
const ( ListFunctionLogsParamsLevelDebug ListFunctionLogsParamsLevel = "debug" ListFunctionLogsParamsLevelError ListFunctionLogsParamsLevel = "error" ListFunctionLogsParamsLevelInfo ListFunctionLogsParamsLevel = "info" ListFunctionLogsParamsLevelWarn ListFunctionLogsParamsLevel = "warn" )
Defines values for ListFunctionLogsParamsLevel.
func (ListFunctionLogsParamsLevel) Valid ¶ added in v0.4.0
func (e ListFunctionLogsParamsLevel) Valid() bool
Valid indicates whether the value is a known member of the ListFunctionLogsParamsLevel enum.
type ListFunctionLogsResponse ¶ added in v0.4.0
type ListFunctionLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Lines *[]FunctionLogLine `json:"lines,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListFunctionLogsResponse ¶ added in v0.4.0
func ParseListFunctionLogsResponse(rsp *http.Response) (*ListFunctionLogsResponse, error)
ParseListFunctionLogsResponse parses an HTTP response from a ListFunctionLogsWithResponse call
func (ListFunctionLogsResponse) Status ¶ added in v0.4.0
func (r ListFunctionLogsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionLogsResponse) StatusCode ¶ added in v0.4.0
func (r ListFunctionLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionRevisionsResponse ¶ added in v0.4.0
type ListFunctionRevisionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Revisions *[]FunctionRevision `json:"revisions,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListFunctionRevisionsResponse ¶ added in v0.4.0
func ParseListFunctionRevisionsResponse(rsp *http.Response) (*ListFunctionRevisionsResponse, error)
ParseListFunctionRevisionsResponse parses an HTTP response from a ListFunctionRevisionsWithResponse call
func (ListFunctionRevisionsResponse) Status ¶ added in v0.4.0
func (r ListFunctionRevisionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionRevisionsResponse) StatusCode ¶ added in v0.4.0
func (r ListFunctionRevisionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionRuntimesResponse ¶ added in v0.4.0
type ListFunctionRuntimesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Runtimes *[]FunctionRuntimeInfo `json:"runtimes,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
}
func ParseListFunctionRuntimesResponse ¶ added in v0.4.0
func ParseListFunctionRuntimesResponse(rsp *http.Response) (*ListFunctionRuntimesResponse, error)
ParseListFunctionRuntimesResponse parses an HTTP response from a ListFunctionRuntimesWithResponse call
func (ListFunctionRuntimesResponse) Status ¶ added in v0.4.0
func (r ListFunctionRuntimesResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionRuntimesResponse) StatusCode ¶ added in v0.4.0
func (r ListFunctionRuntimesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionTriggerRunsParams ¶ added in v0.4.0
type ListFunctionTriggerRunsParams struct {
TriggerID *openapi_types.UUID `form:"trigger_id,omitempty" json:"trigger_id,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListFunctionTriggerRunsParams defines parameters for ListFunctionTriggerRuns.
type ListFunctionTriggerRunsResponse ¶ added in v0.4.0
type ListFunctionTriggerRunsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Runs *[]FunctionTriggerRun `json:"runs,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListFunctionTriggerRunsResponse ¶ added in v0.4.0
func ParseListFunctionTriggerRunsResponse(rsp *http.Response) (*ListFunctionTriggerRunsResponse, error)
ParseListFunctionTriggerRunsResponse parses an HTTP response from a ListFunctionTriggerRunsWithResponse call
func (ListFunctionTriggerRunsResponse) Status ¶ added in v0.4.0
func (r ListFunctionTriggerRunsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionTriggerRunsResponse) StatusCode ¶ added in v0.4.0
func (r ListFunctionTriggerRunsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionTriggersResponse ¶ added in v0.4.0
type ListFunctionTriggersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Triggers *[]FunctionTrigger `json:"triggers,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListFunctionTriggersResponse ¶ added in v0.4.0
func ParseListFunctionTriggersResponse(rsp *http.Response) (*ListFunctionTriggersResponse, error)
ParseListFunctionTriggersResponse parses an HTTP response from a ListFunctionTriggersWithResponse call
func (ListFunctionTriggersResponse) Status ¶ added in v0.4.0
func (r ListFunctionTriggersResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionTriggersResponse) StatusCode ¶ added in v0.4.0
func (r ListFunctionTriggersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionsParams ¶ added in v0.4.0
type ListFunctionsParams struct {
// Status Filter by status: `pending`, `building`, `live`, `paused`, `error`.
Status *ListFunctionsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}
ListFunctionsParams defines parameters for ListFunctions.
type ListFunctionsParamsStatus ¶ added in v0.4.0
type ListFunctionsParamsStatus string
ListFunctionsParamsStatus defines parameters for ListFunctions.
const ( ListFunctionsParamsStatusBuilding ListFunctionsParamsStatus = "building" ListFunctionsParamsStatusError ListFunctionsParamsStatus = "error" ListFunctionsParamsStatusLive ListFunctionsParamsStatus = "live" ListFunctionsParamsStatusPaused ListFunctionsParamsStatus = "paused" ListFunctionsParamsStatusPending ListFunctionsParamsStatus = "pending" )
Defines values for ListFunctionsParamsStatus.
func (ListFunctionsParamsStatus) Valid ¶ added in v0.4.0
func (e ListFunctionsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListFunctionsParamsStatus enum.
type ListFunctionsResponse ¶ added in v0.4.0
type ListFunctionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Functions *[]Function `json:"functions,omitempty"`
Total *int `json:"total,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListFunctionsResponse ¶ added in v0.4.0
func ParseListFunctionsResponse(rsp *http.Response) (*ListFunctionsResponse, error)
ParseListFunctionsResponse parses an HTTP response from a ListFunctionsWithResponse call
func (ListFunctionsResponse) Status ¶ added in v0.4.0
func (r ListFunctionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListFunctionsResponse) StatusCode ¶ added in v0.4.0
func (r ListFunctionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIPPricingResponse ¶
type ListIPPricingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Pricing IP address pricing grouped by type.
Pricing *IPPricing `json:"pricing,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseListIPPricingResponse ¶
func ParseListIPPricingResponse(rsp *http.Response) (*ListIPPricingResponse, error)
ParseListIPPricingResponse parses an HTTP response from a ListIPPricingWithResponse call
func (ListIPPricingResponse) Status ¶
func (r ListIPPricingResponse) Status() string
Status returns HTTPResponse.Status
func (ListIPPricingResponse) StatusCode ¶
func (r ListIPPricingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIPsParams ¶
type ListIPsParams struct {
// Reserved When `true`, return only reserved IPs (not currently attached to a VM).
Reserved *bool `form:"reserved,omitempty" json:"reserved,omitempty"`
// Status Filter by IP status:
// - `free` — IP is in the pool. Combined with `reserved=true` it means held for the account but not attached to a VM.
// - `in-use` — currently attached to a VM.
Status *ListIPsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ListIPsParams defines parameters for ListIPs.
type ListIPsParamsStatus ¶
type ListIPsParamsStatus string
ListIPsParamsStatus defines parameters for ListIPs.
const ( ListIPsParamsStatusFree ListIPsParamsStatus = "free" ListIPsParamsStatusInUse ListIPsParamsStatus = "in-use" )
Defines values for ListIPsParamsStatus.
func (ListIPsParamsStatus) Valid ¶
func (e ListIPsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListIPsParamsStatus enum.
type ListIPsResponse ¶
type ListIPsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]FloatingIP `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListIPsResponse ¶
func ParseListIPsResponse(rsp *http.Response) (*ListIPsResponse, error)
ParseListIPsResponse parses an HTTP response from a ListIPsWithResponse call
func (ListIPsResponse) Status ¶
func (r ListIPsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIPsResponse) StatusCode ¶
func (r ListIPsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListK8SClusterEventsParams ¶ added in v0.4.0
type ListK8SClusterEventsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ListK8SClusterEventsParams defines parameters for ListK8SClusterEvents.
type ListK8SClusterEventsResponse ¶ added in v0.4.0
type ListK8SClusterEventsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Events *[]K8SClusterEvent `json:"events,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseListK8SClusterEventsResponse ¶ added in v0.4.0
func ParseListK8SClusterEventsResponse(rsp *http.Response) (*ListK8SClusterEventsResponse, error)
ParseListK8SClusterEventsResponse parses an HTTP response from a ListK8SClusterEventsWithResponse call
func (ListK8SClusterEventsResponse) Status ¶ added in v0.4.0
func (r ListK8SClusterEventsResponse) Status() string
Status returns HTTPResponse.Status
func (ListK8SClusterEventsResponse) StatusCode ¶ added in v0.4.0
func (r ListK8SClusterEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListK8SClusterNodesParams ¶ added in v0.4.0
type ListK8SClusterNodesParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ListK8SClusterNodesParams defines parameters for ListK8SClusterNodes.
type ListK8SClusterNodesResponse ¶ added in v0.4.0
type ListK8SClusterNodesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Nodes *[]K8SClusterNode `json:"nodes,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseListK8SClusterNodesResponse ¶ added in v0.4.0
func ParseListK8SClusterNodesResponse(rsp *http.Response) (*ListK8SClusterNodesResponse, error)
ParseListK8SClusterNodesResponse parses an HTTP response from a ListK8SClusterNodesWithResponse call
func (ListK8SClusterNodesResponse) Status ¶ added in v0.4.0
func (r ListK8SClusterNodesResponse) Status() string
Status returns HTTPResponse.Status
func (ListK8SClusterNodesResponse) StatusCode ¶ added in v0.4.0
func (r ListK8SClusterNodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListK8SClusterUpgrades200UpgradeMode ¶ added in v0.4.0
type ListK8SClusterUpgrades200UpgradeMode string
type ListK8SClusterUpgrades200UpgradeStatus ¶ added in v0.4.0
type ListK8SClusterUpgrades200UpgradeStatus string
type ListK8SClusterUpgradesParams ¶ added in v0.4.0
type ListK8SClusterUpgradesParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ListK8SClusterUpgradesParams defines parameters for ListK8SClusterUpgrades.
type ListK8SClusterUpgradesResponse ¶ added in v0.4.0
type ListK8SClusterUpgradesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Available *[]struct {
IsDefault *bool `json:"is_default,omitempty"`
// IsMinor true for a minor hop, false for a patch
IsMinor *bool `json:"is_minor,omitempty"`
Rke2Version *string `json:"rke2_version,omitempty"`
Version *string `json:"version,omitempty"`
VersionID *int `json:"version_id,omitempty"`
} `json:"available,omitempty"`
CurrentVersion *string `json:"current_version,omitempty"`
// MaintenanceDay 0 (Sunday) to 6 (Saturday)
MaintenanceDay *int `json:"maintenance_day,omitempty"`
// MaintenanceStart Window start hour (UTC); the window is 4 hours
MaintenanceStart *int `json:"maintenance_start,omitempty"`
Success *bool `json:"success,omitempty"`
// TargetVersion Set while an upgrade is in flight or failed
TargetVersion *string `json:"target_version,omitempty"`
UpgradeMode *ListK8SClusterUpgrades200UpgradeMode `json:"upgrade_mode,omitempty"`
UpgradeStatus *ListK8SClusterUpgrades200UpgradeStatus `json:"upgrade_status,omitempty"`
}
JSON404 *NotFound
}
func ParseListK8SClusterUpgradesResponse ¶ added in v0.4.0
func ParseListK8SClusterUpgradesResponse(rsp *http.Response) (*ListK8SClusterUpgradesResponse, error)
ParseListK8SClusterUpgradesResponse parses an HTTP response from a ListK8SClusterUpgradesWithResponse call
func (ListK8SClusterUpgradesResponse) Status ¶ added in v0.4.0
func (r ListK8SClusterUpgradesResponse) Status() string
Status returns HTTPResponse.Status
func (ListK8SClusterUpgradesResponse) StatusCode ¶ added in v0.4.0
func (r ListK8SClusterUpgradesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListK8SClustersParams ¶ added in v0.4.0
type ListK8SClustersParams struct {
// Limit Page size (max 200)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// XProjectID Optional project ID to scope the list. Omit to list across all accessible projects.
XProjectID *openapi_types.UUID `json:"X-Project-ID,omitempty"`
}
ListK8SClustersParams defines parameters for ListK8SClusters.
type ListK8SClustersResponse ¶ added in v0.4.0
type ListK8SClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Clusters *[]K8SCluster `json:"clusters,omitempty"`
Success *bool `json:"success,omitempty"`
// Total Total clusters matching the filter (before pagination)
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListK8SClustersResponse ¶ added in v0.4.0
func ParseListK8SClustersResponse(rsp *http.Response) (*ListK8SClustersResponse, error)
ParseListK8SClustersResponse parses an HTTP response from a ListK8SClustersWithResponse call
func (ListK8SClustersResponse) Status ¶ added in v0.4.0
func (r ListK8SClustersResponse) Status() string
Status returns HTTPResponse.Status
func (ListK8SClustersResponse) StatusCode ¶ added in v0.4.0
func (r ListK8SClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListK8SNodePlansResponse ¶ added in v0.4.0
type ListK8SNodePlansResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// HaPricing Optional highly available control plane pricing. The standard control plane is free.
HaPricing *K8SHAPricing `json:"ha_pricing,omitempty"`
Plans *[]K8SNodePlan `json:"plans,omitempty"`
// StoragePricing Per-GB pricing for dedicated NVMe storage nodes.
StoragePricing *K8SStoragePricing `json:"storage_pricing,omitempty"`
Success *bool `json:"success,omitempty"`
}
}
func ParseListK8SNodePlansResponse ¶ added in v0.4.0
func ParseListK8SNodePlansResponse(rsp *http.Response) (*ListK8SNodePlansResponse, error)
ParseListK8SNodePlansResponse parses an HTTP response from a ListK8SNodePlansWithResponse call
func (ListK8SNodePlansResponse) Status ¶ added in v0.4.0
func (r ListK8SNodePlansResponse) Status() string
Status returns HTTPResponse.Status
func (ListK8SNodePlansResponse) StatusCode ¶ added in v0.4.0
func (r ListK8SNodePlansResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListK8SNodePoolsParams ¶ added in v0.4.0
type ListK8SNodePoolsParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ListK8SNodePoolsParams defines parameters for ListK8SNodePools.
type ListK8SNodePoolsResponse ¶ added in v0.4.0
type ListK8SNodePoolsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
NodePools *[]K8SNodePool `json:"node_pools,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseListK8SNodePoolsResponse ¶ added in v0.4.0
func ParseListK8SNodePoolsResponse(rsp *http.Response) (*ListK8SNodePoolsResponse, error)
ParseListK8SNodePoolsResponse parses an HTTP response from a ListK8SNodePoolsWithResponse call
func (ListK8SNodePoolsResponse) Status ¶ added in v0.4.0
func (r ListK8SNodePoolsResponse) Status() string
Status returns HTTPResponse.Status
func (ListK8SNodePoolsResponse) StatusCode ¶ added in v0.4.0
func (r ListK8SNodePoolsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListK8STcpPortsParams ¶ added in v0.4.0
type ListK8STcpPortsParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ListK8STcpPortsParams defines parameters for ListK8STcpPorts.
type ListK8STcpPortsResponse ¶ added in v0.4.0
type ListK8STcpPortsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Forwards *[]K8STcpForward `json:"forwards,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseListK8STcpPortsResponse ¶ added in v0.4.0
func ParseListK8STcpPortsResponse(rsp *http.Response) (*ListK8STcpPortsResponse, error)
ParseListK8STcpPortsResponse parses an HTTP response from a ListK8STcpPortsWithResponse call
func (ListK8STcpPortsResponse) Status ¶ added in v0.4.0
func (r ListK8STcpPortsResponse) Status() string
Status returns HTTPResponse.Status
func (ListK8STcpPortsResponse) StatusCode ¶ added in v0.4.0
func (r ListK8STcpPortsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListK8SVersionsResponse ¶ added in v0.4.0
type ListK8SVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
Versions *[]K8SVersion `json:"versions,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListK8SVersionsResponse ¶ added in v0.4.0
func ParseListK8SVersionsResponse(rsp *http.Response) (*ListK8SVersionsResponse, error)
ParseListK8SVersionsResponse parses an HTTP response from a ListK8SVersionsWithResponse call
func (ListK8SVersionsResponse) Status ¶ added in v0.4.0
func (r ListK8SVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListK8SVersionsResponse) StatusCode ¶ added in v0.4.0
func (r ListK8SVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListKubernetesPricingResponse ¶ added in v0.4.0
type ListKubernetesPricingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// HaPricing Optional highly available control plane pricing. The standard control plane is free.
HaPricing *K8SHAPricing `json:"ha_pricing,omitempty"`
Plans *[]K8SNodePlan `json:"plans,omitempty"`
// StoragePricing Per-GB pricing for dedicated NVMe storage nodes.
StoragePricing *K8SStoragePricing `json:"storage_pricing,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseListKubernetesPricingResponse ¶ added in v0.4.0
func ParseListKubernetesPricingResponse(rsp *http.Response) (*ListKubernetesPricingResponse, error)
ParseListKubernetesPricingResponse parses an HTTP response from a ListKubernetesPricingWithResponse call
func (ListKubernetesPricingResponse) Status ¶ added in v0.4.0
func (r ListKubernetesPricingResponse) Status() string
Status returns HTTPResponse.Status
func (ListKubernetesPricingResponse) StatusCode ¶ added in v0.4.0
func (r ListKubernetesPricingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMembersParams ¶
type ListMembersParams struct {
// Status Filter by member status
Status *ListMembersParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListMembersParams defines parameters for ListMembers.
type ListMembersParamsStatus ¶
type ListMembersParamsStatus string
ListMembersParamsStatus defines parameters for ListMembers.
const ( ListMembersParamsStatusActive ListMembersParamsStatus = "active" ListMembersParamsStatusPending ListMembersParamsStatus = "pending" ListMembersParamsStatusSuspended ListMembersParamsStatus = "suspended" )
Defines values for ListMembersParamsStatus.
func (ListMembersParamsStatus) Valid ¶
func (e ListMembersParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListMembersParamsStatus enum.
type ListMembersResponse ¶
type ListMembersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Member `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListMembersResponse ¶
func ParseListMembersResponse(rsp *http.Response) (*ListMembersResponse, error)
ParseListMembersResponse parses an HTTP response from a ListMembersWithResponse call
func (ListMembersResponse) Status ¶
func (r ListMembersResponse) Status() string
Status returns HTTPResponse.Status
func (ListMembersResponse) StatusCode ¶
func (r ListMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPermissionsParams ¶
type ListPermissionsParams struct {
// Scope Filter by scope
Scope *ListPermissionsParamsScope `form:"scope,omitempty" json:"scope,omitempty"`
}
ListPermissionsParams defines parameters for ListPermissions.
type ListPermissionsParamsScope ¶
type ListPermissionsParamsScope string
ListPermissionsParamsScope defines parameters for ListPermissions.
const ( ListPermissionsParamsScopeAccount ListPermissionsParamsScope = "account" ListPermissionsParamsScopeProject ListPermissionsParamsScope = "project" )
Defines values for ListPermissionsParamsScope.
func (ListPermissionsParamsScope) Valid ¶
func (e ListPermissionsParamsScope) Valid() bool
Valid indicates whether the value is a known member of the ListPermissionsParamsScope enum.
type ListPermissionsResponse ¶
type ListPermissionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Permission `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
}
func ParseListPermissionsResponse ¶
func ParseListPermissionsResponse(rsp *http.Response) (*ListPermissionsResponse, error)
ParseListPermissionsResponse parses an HTTP response from a ListPermissionsWithResponse call
func (ListPermissionsResponse) Status ¶
func (r ListPermissionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPermissionsResponse) StatusCode ¶
func (r ListPermissionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectMembersParams ¶
type ListProjectMembersParams struct {
// Status Filter by member status
Status *ListProjectMembersParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListProjectMembersParams defines parameters for ListProjectMembers.
type ListProjectMembersParamsStatus ¶
type ListProjectMembersParamsStatus string
ListProjectMembersParamsStatus defines parameters for ListProjectMembers.
const ( ListProjectMembersParamsStatusActive ListProjectMembersParamsStatus = "active" ListProjectMembersParamsStatusPending ListProjectMembersParamsStatus = "pending" ListProjectMembersParamsStatusSuspended ListProjectMembersParamsStatus = "suspended" )
Defines values for ListProjectMembersParamsStatus.
func (ListProjectMembersParamsStatus) Valid ¶
func (e ListProjectMembersParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListProjectMembersParamsStatus enum.
type ListProjectMembersResponse ¶
type ListProjectMembersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]ProjectMember `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
Total *int `json:"total,omitempty"`
}
JSON404 *NotFound
}
func ParseListProjectMembersResponse ¶
func ParseListProjectMembersResponse(rsp *http.Response) (*ListProjectMembersResponse, error)
ParseListProjectMembersResponse parses an HTTP response from a ListProjectMembersWithResponse call
func (ListProjectMembersResponse) Status ¶
func (r ListProjectMembersResponse) Status() string
Status returns HTTPResponse.Status
func (ListProjectMembersResponse) StatusCode ¶
func (r ListProjectMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectsParams ¶
type ListProjectsParams struct {
// Limit Maximum number of projects to return
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of projects to skip for pagination
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListProjectsParams defines parameters for ListProjects.
type ListProjectsResponse ¶
type ListProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Project `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
// Total Total number of projects
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListProjectsResponse ¶
func ParseListProjectsResponse(rsp *http.Response) (*ListProjectsResponse, error)
ParseListProjectsResponse parses an HTTP response from a ListProjectsWithResponse call
func (ListProjectsResponse) Status ¶
func (r ListProjectsResponse) Status() string
Status returns HTTPResponse.Status
func (ListProjectsResponse) StatusCode ¶
func (r ListProjectsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRegionsResponse ¶
type ListRegionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Regions *[]Region `json:"regions,omitempty"`
Success *bool `json:"success,omitempty"`
}
}
func ParseListRegionsResponse ¶
func ParseListRegionsResponse(rsp *http.Response) (*ListRegionsResponse, error)
ParseListRegionsResponse parses an HTTP response from a ListRegionsWithResponse call
func (ListRegionsResponse) Status ¶
func (r ListRegionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListRegionsResponse) StatusCode ¶
func (r ListRegionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRolesParams ¶
type ListRolesParams struct {
// Scope Filter by scope (`account` or `project`)
Scope *ListRolesParamsScope `form:"scope,omitempty" json:"scope,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListRolesParams defines parameters for ListRoles.
type ListRolesParamsScope ¶
type ListRolesParamsScope string
ListRolesParamsScope defines parameters for ListRoles.
const ( ListRolesParamsScopeAccount ListRolesParamsScope = "account" ListRolesParamsScopeProject ListRolesParamsScope = "project" )
Defines values for ListRolesParamsScope.
func (ListRolesParamsScope) Valid ¶
func (e ListRolesParamsScope) Valid() bool
Valid indicates whether the value is a known member of the ListRolesParamsScope enum.
type ListRolesResponse ¶
type ListRolesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Role `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListRolesResponse ¶
func ParseListRolesResponse(rsp *http.Response) (*ListRolesResponse, error)
ParseListRolesResponse parses an HTTP response from a ListRolesWithResponse call
func (ListRolesResponse) Status ¶
func (r ListRolesResponse) Status() string
Status returns HTTPResponse.Status
func (ListRolesResponse) StatusCode ¶
func (r ListRolesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSSHKeysResponse ¶
type ListSSHKeysResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]SSHKey `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListSSHKeysResponse ¶
func ParseListSSHKeysResponse(rsp *http.Response) (*ListSSHKeysResponse, error)
ParseListSSHKeysResponse parses an HTTP response from a ListSSHKeysWithResponse call
func (ListSSHKeysResponse) Status ¶
func (r ListSSHKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListSSHKeysResponse) StatusCode ¶
func (r ListSSHKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSecurityGroupTemplatesResponse ¶
type ListSecurityGroupTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]SecurityGroupTemplate `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListSecurityGroupTemplatesResponse ¶
func ParseListSecurityGroupTemplatesResponse(rsp *http.Response) (*ListSecurityGroupTemplatesResponse, error)
ParseListSecurityGroupTemplatesResponse parses an HTTP response from a ListSecurityGroupTemplatesWithResponse call
func (ListSecurityGroupTemplatesResponse) Status ¶
func (r ListSecurityGroupTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSecurityGroupTemplatesResponse) StatusCode ¶
func (r ListSecurityGroupTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSecurityGroupsParams ¶
type ListSecurityGroupsParams struct {
XProjectID *openapi_types.UUID `json:"X-Project-ID,omitempty"`
}
ListSecurityGroupsParams defines parameters for ListSecurityGroups.
type ListSecurityGroupsResponse ¶
type ListSecurityGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]SecurityGroup `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListSecurityGroupsResponse ¶
func ParseListSecurityGroupsResponse(rsp *http.Response) (*ListSecurityGroupsResponse, error)
ParseListSecurityGroupsResponse parses an HTTP response from a ListSecurityGroupsWithResponse call
func (ListSecurityGroupsResponse) Status ¶
func (r ListSecurityGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSecurityGroupsResponse) StatusCode ¶
func (r ListSecurityGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSnapshotPricingParams ¶
type ListSnapshotPricingParams struct {
// Region Filter by region
Region *ListSnapshotPricingParamsRegion `form:"region,omitempty" json:"region,omitempty"`
}
ListSnapshotPricingParams defines parameters for ListSnapshotPricing.
type ListSnapshotPricingParamsRegion ¶
type ListSnapshotPricingParamsRegion string
ListSnapshotPricingParamsRegion defines parameters for ListSnapshotPricing.
const (
ListSnapshotPricingParamsRegionUsEast ListSnapshotPricingParamsRegion = "us-east"
)
Defines values for ListSnapshotPricingParamsRegion.
func (ListSnapshotPricingParamsRegion) Valid ¶
func (e ListSnapshotPricingParamsRegion) Valid() bool
Valid indicates whether the value is a known member of the ListSnapshotPricingParamsRegion enum.
type ListSnapshotPricingResponse ¶
type ListSnapshotPricingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Pricing Per-GB storage pricing
Pricing *StoragePricing `json:"pricing,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseListSnapshotPricingResponse ¶
func ParseListSnapshotPricingResponse(rsp *http.Response) (*ListSnapshotPricingResponse, error)
ParseListSnapshotPricingResponse parses an HTTP response from a ListSnapshotPricingWithResponse call
func (ListSnapshotPricingResponse) Status ¶
func (r ListSnapshotPricingResponse) Status() string
Status returns HTTPResponse.Status
func (ListSnapshotPricingResponse) StatusCode ¶
func (r ListSnapshotPricingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSnapshotsParams ¶
type ListSnapshotsParams struct {
// VMID Filter by VM UUID
VMID *openapi_types.UUID `form:"vm_id,omitempty" json:"vm_id,omitempty"`
// VolumeID Filter by volume ID
VolumeID *int `form:"volume_id,omitempty" json:"volume_id,omitempty"`
// Type Filter by snapshot type (`vm` or `volume`)
Type *ListSnapshotsParamsType `form:"type,omitempty" json:"type,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// XProjectID Optional project ID to scope the list. Omit to list across all accessible projects.
XProjectID *openapi_types.UUID `json:"X-Project-ID,omitempty"`
}
ListSnapshotsParams defines parameters for ListSnapshots.
type ListSnapshotsParamsType ¶
type ListSnapshotsParamsType string
ListSnapshotsParamsType defines parameters for ListSnapshots.
const ( ListSnapshotsParamsTypeVM ListSnapshotsParamsType = "vm" ListSnapshotsParamsTypeVolume ListSnapshotsParamsType = "volume" )
Defines values for ListSnapshotsParamsType.
func (ListSnapshotsParamsType) Valid ¶
func (e ListSnapshotsParamsType) Valid() bool
Valid indicates whether the value is a known member of the ListSnapshotsParamsType enum.
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Snapshot `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListSnapshotsResponse ¶
func ParseListSnapshotsResponse(rsp *http.Response) (*ListSnapshotsResponse, error)
ParseListSnapshotsResponse parses an HTTP response from a ListSnapshotsWithResponse call
func (ListSnapshotsResponse) Status ¶
func (r ListSnapshotsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSnapshotsResponse) StatusCode ¶
func (r ListSnapshotsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTemplatesParams ¶
type ListTemplatesParams struct {
// Category Filter by template category
Category *ListTemplatesParamsCategory `form:"category,omitempty" json:"category,omitempty"`
// VMType Filter by VM type. Windows templates are only returned for `windows`; `standard` and `premium` exclude them.
VMType *ListTemplatesParamsVMType `form:"vm_type,omitempty" json:"vm_type,omitempty"`
// Region Filter by region
Region *ListTemplatesParamsRegion `form:"region,omitempty" json:"region,omitempty"`
}
ListTemplatesParams defines parameters for ListTemplates.
type ListTemplatesParamsCategory ¶
type ListTemplatesParamsCategory string
ListTemplatesParamsCategory defines parameters for ListTemplates.
const ( ListTemplatesParamsCategoryMarketplace ListTemplatesParamsCategory = "marketplace" ListTemplatesParamsCategoryOs ListTemplatesParamsCategory = "os" )
Defines values for ListTemplatesParamsCategory.
func (ListTemplatesParamsCategory) Valid ¶
func (e ListTemplatesParamsCategory) Valid() bool
Valid indicates whether the value is a known member of the ListTemplatesParamsCategory enum.
type ListTemplatesParamsRegion ¶
type ListTemplatesParamsRegion string
ListTemplatesParamsRegion defines parameters for ListTemplates.
const (
ListTemplatesParamsRegionUsEast ListTemplatesParamsRegion = "us-east"
)
Defines values for ListTemplatesParamsRegion.
func (ListTemplatesParamsRegion) Valid ¶
func (e ListTemplatesParamsRegion) Valid() bool
Valid indicates whether the value is a known member of the ListTemplatesParamsRegion enum.
type ListTemplatesParamsVMType ¶
type ListTemplatesParamsVMType string
ListTemplatesParamsVMType defines parameters for ListTemplates.
const ( Premium ListTemplatesParamsVMType = "premium" Standard ListTemplatesParamsVMType = "standard" Windows ListTemplatesParamsVMType = "windows" )
Defines values for ListTemplatesParamsVMType.
func (ListTemplatesParamsVMType) Valid ¶
func (e ListTemplatesParamsVMType) Valid() bool
Valid indicates whether the value is a known member of the ListTemplatesParamsVMType enum.
type ListTemplatesResponse ¶
type ListTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Template `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
// Total Total number of templates returned
Total *int `json:"total,omitempty"`
}
JSON400 *BadRequest
}
func ParseListTemplatesResponse ¶
func ParseListTemplatesResponse(rsp *http.Response) (*ListTemplatesResponse, error)
ParseListTemplatesResponse parses an HTTP response from a ListTemplatesWithResponse call
func (ListTemplatesResponse) Status ¶
func (r ListTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListTemplatesResponse) StatusCode ¶
func (r ListTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVMNetworksParams ¶
type ListVMNetworksParams struct {
// Type Filter to one interface type. Omit to return all.
Type *ListVMNetworksParamsType `form:"type,omitempty" json:"type,omitempty"`
}
ListVMNetworksParams defines parameters for ListVMNetworks.
type ListVMNetworksParamsType ¶
type ListVMNetworksParamsType string
ListVMNetworksParamsType defines parameters for ListVMNetworks.
const ( Ipv6 ListVMNetworksParamsType = "ipv6" Public ListVMNetworksParamsType = "public" Vpc ListVMNetworksParamsType = "vpc" )
Defines values for ListVMNetworksParamsType.
func (ListVMNetworksParamsType) Valid ¶
func (e ListVMNetworksParamsType) Valid() bool
Valid indicates whether the value is a known member of the ListVMNetworksParamsType enum.
type ListVMNetworksResponse ¶
type ListVMNetworksResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]VMNetwork `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseListVMNetworksResponse ¶
func ParseListVMNetworksResponse(rsp *http.Response) (*ListVMNetworksResponse, error)
ParseListVMNetworksResponse parses an HTTP response from a ListVMNetworksWithResponse call
func (ListVMNetworksResponse) Status ¶
func (r ListVMNetworksResponse) Status() string
Status returns HTTPResponse.Status
func (ListVMNetworksResponse) StatusCode ¶
func (r ListVMNetworksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVMPricingParams ¶
type ListVMPricingParams struct {
// Type Filter by VM type
Type *ListVMPricingParamsType `form:"type,omitempty" json:"type,omitempty"`
// Region Filter by region
Region *ListVMPricingParamsRegion `form:"region,omitempty" json:"region,omitempty"`
}
ListVMPricingParams defines parameters for ListVMPricing.
type ListVMPricingParamsRegion ¶
type ListVMPricingParamsRegion string
ListVMPricingParamsRegion defines parameters for ListVMPricing.
const (
ListVMPricingParamsRegionUsEast ListVMPricingParamsRegion = "us-east"
)
Defines values for ListVMPricingParamsRegion.
func (ListVMPricingParamsRegion) Valid ¶
func (e ListVMPricingParamsRegion) Valid() bool
Valid indicates whether the value is a known member of the ListVMPricingParamsRegion enum.
type ListVMPricingParamsType ¶
type ListVMPricingParamsType string
ListVMPricingParamsType defines parameters for ListVMPricing.
const ( ListVMPricingParamsTypePremium ListVMPricingParamsType = "premium" ListVMPricingParamsTypeStandard ListVMPricingParamsType = "standard" ListVMPricingParamsTypeWindows ListVMPricingParamsType = "windows" )
Defines values for ListVMPricingParamsType.
func (ListVMPricingParamsType) Valid ¶
func (e ListVMPricingParamsType) Valid() bool
Valid indicates whether the value is a known member of the ListVMPricingParamsType enum.
type ListVMPricingResponse ¶
type ListVMPricingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Plans *[]VMPricingPlan `json:"plans,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
}
func ParseListVMPricingResponse ¶
func ParseListVMPricingResponse(rsp *http.Response) (*ListVMPricingResponse, error)
ParseListVMPricingResponse parses an HTTP response from a ListVMPricingWithResponse call
func (ListVMPricingResponse) Status ¶
func (r ListVMPricingResponse) Status() string
Status returns HTTPResponse.Status
func (ListVMPricingResponse) StatusCode ¶
func (r ListVMPricingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVMsParams ¶
type ListVMsParams struct {
// ProjectID Filter by project ID
ProjectID *openapi_types.UUID `form:"project_id,omitempty" json:"project_id,omitempty"`
// Region Filter by region
Region *ListVMsParamsRegion `form:"region,omitempty" json:"region,omitempty"`
// Status Filter by VM status. Values: `initiating` (queued/setup), `provisioning` (being created), `booting` (starting), `active` (running), `passive` (stopped), `finalizing` (shutting down), `failure` (failed).
Status *ListVMsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// Limit Maximum number of VMs to return
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of VMs to skip for pagination
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListVMsParams defines parameters for ListVMs.
type ListVMsParamsRegion ¶
type ListVMsParamsRegion string
ListVMsParamsRegion defines parameters for ListVMs.
const (
ListVMsParamsRegionUsEast ListVMsParamsRegion = "us-east"
)
Defines values for ListVMsParamsRegion.
func (ListVMsParamsRegion) Valid ¶
func (e ListVMsParamsRegion) Valid() bool
Valid indicates whether the value is a known member of the ListVMsParamsRegion enum.
type ListVMsParamsStatus ¶
type ListVMsParamsStatus string
ListVMsParamsStatus defines parameters for ListVMs.
const ( Active ListVMsParamsStatus = "active" Booting ListVMsParamsStatus = "booting" Failure ListVMsParamsStatus = "failure" Finalizing ListVMsParamsStatus = "finalizing" Initiating ListVMsParamsStatus = "initiating" Passive ListVMsParamsStatus = "passive" Provisioning ListVMsParamsStatus = "provisioning" )
Defines values for ListVMsParamsStatus.
func (ListVMsParamsStatus) Valid ¶
func (e ListVMsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListVMsParamsStatus enum.
type ListVMsResponse ¶
type ListVMsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]VM `json:"data,omitempty"`
// Success Whether the request was successful
Success *bool `json:"success,omitempty"`
// Total Total number of VMs matching the query
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListVMsResponse ¶
func ParseListVMsResponse(rsp *http.Response) (*ListVMsResponse, error)
ParseListVMsResponse parses an HTTP response from a ListVMsWithResponse call
func (ListVMsResponse) Status ¶
func (r ListVMsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVMsResponse) StatusCode ¶
func (r ListVMsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVPCCIDRSuggestionsParams ¶
type ListVPCCIDRSuggestionsParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ListVPCCIDRSuggestionsParams defines parameters for ListVPCCIDRSuggestions.
type ListVPCCIDRSuggestionsResponse ¶
type ListVPCCIDRSuggestionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CIDRSuggestionsResponse
JSON401 *Unauthorized
}
func ParseListVPCCIDRSuggestionsResponse ¶
func ParseListVPCCIDRSuggestionsResponse(rsp *http.Response) (*ListVPCCIDRSuggestionsResponse, error)
ParseListVPCCIDRSuggestionsResponse parses an HTTP response from a ListVPCCIDRSuggestionsWithResponse call
func (ListVPCCIDRSuggestionsResponse) Status ¶
func (r ListVPCCIDRSuggestionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVPCCIDRSuggestionsResponse) StatusCode ¶
func (r ListVPCCIDRSuggestionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVPCsParams ¶
type ListVPCsParams struct {
// XProjectID Project to scope the list to. Omit to list across all accessible projects.
XProjectID *openapi_types.UUID `json:"X-Project-ID,omitempty"`
}
ListVPCsParams defines parameters for ListVPCs.
type ListVPCsResponse ¶
type ListVPCsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]VPC `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListVPCsResponse ¶
func ParseListVPCsResponse(rsp *http.Response) (*ListVPCsResponse, error)
ParseListVPCsResponse parses an HTTP response from a ListVPCsWithResponse call
func (ListVPCsResponse) Status ¶
func (r ListVPCsResponse) Status() string
Status returns HTTPResponse.Status
func (ListVPCsResponse) StatusCode ¶
func (r ListVPCsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVolumePricingParams ¶
type ListVolumePricingParams struct {
// Region Filter by region
Region *ListVolumePricingParamsRegion `form:"region,omitempty" json:"region,omitempty"`
}
ListVolumePricingParams defines parameters for ListVolumePricing.
type ListVolumePricingParamsRegion ¶
type ListVolumePricingParamsRegion string
ListVolumePricingParamsRegion defines parameters for ListVolumePricing.
const (
ListVolumePricingParamsRegionUsEast ListVolumePricingParamsRegion = "us-east"
)
Defines values for ListVolumePricingParamsRegion.
func (ListVolumePricingParamsRegion) Valid ¶
func (e ListVolumePricingParamsRegion) Valid() bool
Valid indicates whether the value is a known member of the ListVolumePricingParamsRegion enum.
type ListVolumePricingResponse ¶
type ListVolumePricingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Pricing Per-GB storage pricing
Pricing *StoragePricing `json:"pricing,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseListVolumePricingResponse ¶
func ParseListVolumePricingResponse(rsp *http.Response) (*ListVolumePricingResponse, error)
ParseListVolumePricingResponse parses an HTTP response from a ListVolumePricingWithResponse call
func (ListVolumePricingResponse) Status ¶
func (r ListVolumePricingResponse) Status() string
Status returns HTTPResponse.Status
func (ListVolumePricingResponse) StatusCode ¶
func (r ListVolumePricingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListVolumesParams ¶
type ListVolumesParams struct {
// VMID Filter by attached VM UUID
VMID *openapi_types.UUID `form:"vm_id,omitempty" json:"vm_id,omitempty"`
// Region Filter by region
Region *ListVolumesParamsRegion `form:"region,omitempty" json:"region,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// XProjectID Optional project ID to scope the list. Omit to list across all accessible projects.
XProjectID *openapi_types.UUID `json:"X-Project-ID,omitempty"`
}
ListVolumesParams defines parameters for ListVolumes.
type ListVolumesParamsRegion ¶
type ListVolumesParamsRegion string
ListVolumesParamsRegion defines parameters for ListVolumes.
const (
ListVolumesParamsRegionUsEast ListVolumesParamsRegion = "us-east"
)
Defines values for ListVolumesParamsRegion.
func (ListVolumesParamsRegion) Valid ¶
func (e ListVolumesParamsRegion) Valid() bool
Valid indicates whether the value is a known member of the ListVolumesParamsRegion enum.
type ListVolumesResponse ¶
type ListVolumesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]Volume `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListVolumesResponse ¶
func ParseListVolumesResponse(rsp *http.Response) (*ListVolumesResponse, error)
ParseListVolumesResponse parses an HTTP response from a ListVolumesWithResponse call
func (ListVolumesResponse) Status ¶
func (r ListVolumesResponse) Status() string
Status returns HTTPResponse.Status
func (ListVolumesResponse) StatusCode ¶
func (r ListVolumesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Member ¶
type Member struct {
AcceptedAt *time.Time `json:"accepted_at,omitempty"`
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Email openapi_types.Email `json:"email"`
// ID Account member ID
ID openapi_types.UUID `json:"id"`
InvitationExpiresAt *time.Time `json:"invitation_expires_at,omitempty"`
// InvitationID Set when `status` is `pending` — the underlying invitation ID. Use [Cancel Invitation](#tag/Invitations/operation/cancelInvitation) to revoke.
InvitationID *openapi_types.UUID `json:"invitation_id,omitempty"`
InvitedAt *time.Time `json:"invited_at,omitempty"`
InvitedBy *openapi_types.UUID `json:"invited_by,omitempty"`
// Role Role slug (deprecated — prefer `role_id` and `role_name`)
Role *string `json:"role,omitempty"`
RoleID *openapi_types.UUID `json:"role_id,omitempty"`
RoleName *string `json:"role_name,omitempty"`
// Status Membership status:
// - `pending` — invited but not yet accepted
// - `active` — full member
// - `suspended` — temporarily disabled by an admin
Status MemberStatus `json:"status"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// UserID User UUID. `null` for pending invitations until the invitee accepts.
UserID *openapi_types.UUID `json:"user_id,omitempty"`
}
Member defines model for Member.
type MemberStatus ¶
type MemberStatus string
MemberStatus Membership status: - `pending` — invited but not yet accepted - `active` — full member - `suspended` — temporarily disabled by an admin
const ( MemberStatusActive MemberStatus = "active" MemberStatusPending MemberStatus = "pending" MemberStatusSuspended MemberStatus = "suspended" )
Defines values for MemberStatus.
func (MemberStatus) Valid ¶
func (e MemberStatus) Valid() bool
Valid indicates whether the value is a known member of the MemberStatus enum.
type MissingProjectID ¶
type MissingProjectID = Error
MissingProjectID defines model for MissingProjectID.
type NoteTypePath ¶
type NoteTypePath string
NoteTypePath defines model for NoteTypePath.
const ( NoteTypePathAccount NoteTypePath = "account" NoteTypePathPersonal NoteTypePath = "personal" )
Defines values for NoteTypePath.
func (NoteTypePath) Valid ¶
func (e NoteTypePath) Valid() bool
Valid indicates whether the value is a known member of the NoteTypePath enum.
type PauseAppServiceResponse ¶ added in v0.4.0
type PauseAppServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Service An app service on the Raff PaaS — a web service, private service, worker, cron job, or one-off job.
Service *AppService `json:"service,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParsePauseAppServiceResponse ¶ added in v0.4.0
func ParsePauseAppServiceResponse(rsp *http.Response) (*PauseAppServiceResponse, error)
ParsePauseAppServiceResponse parses an HTTP response from a PauseAppServiceWithResponse call
func (PauseAppServiceResponse) Status ¶ added in v0.4.0
func (r PauseAppServiceResponse) Status() string
Status returns HTTPResponse.Status
func (PauseAppServiceResponse) StatusCode ¶ added in v0.4.0
func (r PauseAppServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PauseFunctionResponse ¶ added in v0.4.0
type PauseFunctionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParsePauseFunctionResponse ¶ added in v0.4.0
func ParsePauseFunctionResponse(rsp *http.Response) (*PauseFunctionResponse, error)
ParsePauseFunctionResponse parses an HTTP response from a PauseFunctionWithResponse call
func (PauseFunctionResponse) Status ¶ added in v0.4.0
func (r PauseFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (PauseFunctionResponse) StatusCode ¶ added in v0.4.0
func (r PauseFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Permission ¶
type Permission struct {
Category string `json:"category"`
Description *string `json:"description,omitempty"`
Name string `json:"name"`
Scope PermissionScope `json:"scope"`
}
Permission defines model for Permission.
type PermissionScope ¶
type PermissionScope string
PermissionScope defines model for Permission.Scope.
const ( PermissionScopeAccount PermissionScope = "account" PermissionScopeProject PermissionScope = "project" )
Defines values for PermissionScope.
func (PermissionScope) Valid ¶
func (e PermissionScope) Valid() bool
Valid indicates whether the value is a known member of the PermissionScope enum.
type Project ¶
type Project struct {
// AccountID Account this project belongs to
AccountID openapi_types.UUID `json:"account_id"`
CreatedAt time.Time `json:"created_at"`
// CreatedBy User who created the project
CreatedBy *openapi_types.UUID `json:"created_by,omitempty"`
// DefaultRegion Default region for resources in this project
DefaultRegion ProjectDefaultRegion `json:"default_region"`
// Description Project description
Description *string `json:"description,omitempty"`
// ID Unique project identifier
ID openapi_types.UUID `json:"id"`
// IsActive Whether the project is active
IsActive bool `json:"is_active"`
// IsDefault Whether this is the account's default project
IsDefault bool `json:"is_default"`
// Name Project name
Name string `json:"name"`
// Slug URL-friendly project identifier
Slug string `json:"slug"`
UpdatedAt time.Time `json:"updated_at"`
}
Project defines model for Project.
type ProjectDefaultRegion ¶
type ProjectDefaultRegion string
ProjectDefaultRegion Default region for resources in this project
const (
ProjectDefaultRegionUsEast ProjectDefaultRegion = "us-east"
)
Defines values for ProjectDefaultRegion.
func (ProjectDefaultRegion) Valid ¶
func (e ProjectDefaultRegion) Valid() bool
Valid indicates whether the value is a known member of the ProjectDefaultRegion enum.
type ProjectIDHeader ¶
type ProjectIDHeader = openapi_types.UUID
ProjectIDHeader defines model for ProjectIDHeader.
type ProjectIDPath ¶
type ProjectIDPath = openapi_types.UUID
ProjectIDPath defines model for ProjectIDPath.
type ProjectMember ¶
type ProjectMember struct {
AcceptedAt *time.Time `json:"accepted_at,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Email openapi_types.Email `json:"email"`
// ID Project member ID
ID openapi_types.UUID `json:"id"`
InvitationExpiresAt *time.Time `json:"invitation_expires_at,omitempty"`
InvitationID *openapi_types.UUID `json:"invitation_id,omitempty"`
InvitedAt *time.Time `json:"invited_at,omitempty"`
InvitedBy *openapi_types.UUID `json:"invited_by,omitempty"`
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
// Role Role slug (deprecated — prefer `role_id` and `role_name`)
Role *string `json:"role,omitempty"`
RoleID *openapi_types.UUID `json:"role_id,omitempty"`
RoleName *string `json:"role_name,omitempty"`
// Status Membership status:
// - `pending` — invited but not yet accepted
// - `active` — full member
// - `suspended` — temporarily disabled by an admin
Status ProjectMemberStatus `json:"status"`
UserID *openapi_types.UUID `json:"user_id,omitempty"`
}
ProjectMember defines model for ProjectMember.
type ProjectMemberStatus ¶
type ProjectMemberStatus string
ProjectMemberStatus Membership status: - `pending` — invited but not yet accepted - `active` — full member - `suspended` — temporarily disabled by an admin
const ( ProjectMemberStatusActive ProjectMemberStatus = "active" ProjectMemberStatusPending ProjectMemberStatus = "pending" ProjectMemberStatusSuspended ProjectMemberStatus = "suspended" )
Defines values for ProjectMemberStatus.
func (ProjectMemberStatus) Valid ¶
func (e ProjectMemberStatus) Valid() bool
Valid indicates whether the value is a known member of the ProjectMemberStatus enum.
type RebootVMParams ¶
type RebootVMParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
RebootVMParams defines parameters for RebootVM.
type RebootVMResponse ¶
type RebootVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRebootVMResponse ¶
func ParseRebootVMResponse(rsp *http.Response) (*RebootVMResponse, error)
ParseRebootVMResponse parses an HTTP response from a RebootVMWithResponse call
func (RebootVMResponse) Status ¶
func (r RebootVMResponse) Status() string
Status returns HTTPResponse.Status
func (RebootVMResponse) StatusCode ¶
func (r RebootVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RegenerateAPIKeyResponse ¶
type RegenerateAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *APIKeyWithSecret `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseRegenerateAPIKeyResponse ¶
func ParseRegenerateAPIKeyResponse(rsp *http.Response) (*RegenerateAPIKeyResponse, error)
ParseRegenerateAPIKeyResponse parses an HTTP response from a RegenerateAPIKeyWithResponse call
func (RegenerateAPIKeyResponse) Status ¶
func (r RegenerateAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (RegenerateAPIKeyResponse) StatusCode ¶
func (r RegenerateAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Region ¶
type Region struct {
// Code Region code used in API requests
Code string `json:"code"`
// CountryCode ISO country code
CountryCode string `json:"country_code"`
// DisplayOrder Sort order for display
DisplayOrder *int `json:"display_order,omitempty"`
// Flag Country flag emoji
Flag *string `json:"flag,omitempty"`
// ID Region identifier
ID int `json:"id"`
// IsDefault Whether this is the default region
IsDefault bool `json:"is_default"`
// Name Human-readable region name
Name string `json:"name"`
}
Region defines model for Region.
type ReinstallVMJSONRequestBody ¶
type ReinstallVMJSONRequestBody = ReinstallVMRequest
ReinstallVMJSONRequestBody defines body for ReinstallVM for application/json ContentType.
type ReinstallVMParams ¶
type ReinstallVMParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ReinstallVMParams defines parameters for ReinstallVM.
type ReinstallVMRequest ¶
type ReinstallVMRequest struct {
// AutoGeneratePassword Auto-generate a password and email it to the account owner
AutoGeneratePassword *bool `json:"auto_generate_password,omitempty"`
// Password New root/admin password. Either password or auto_generate_password should be provided.
Password *string `json:"password,omitempty"`
// SSHKeys SSH public keys for authentication
SSHKeys *[]string `json:"ssh_keys,omitempty"`
// TemplateID ID of the OS template to reinstall with
TemplateID openapi_types.UUID `json:"template_id"`
}
ReinstallVMRequest defines model for ReinstallVMRequest.
type ReinstallVMResponse ¶
type ReinstallVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseReinstallVMResponse ¶
func ParseReinstallVMResponse(rsp *http.Response) (*ReinstallVMResponse, error)
ParseReinstallVMResponse parses an HTTP response from a ReinstallVMWithResponse call
func (ReinstallVMResponse) Status ¶
func (r ReinstallVMResponse) Status() string
Status returns HTTPResponse.Status
func (ReinstallVMResponse) StatusCode ¶
func (r ReinstallVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReleaseIPParams ¶
type ReleaseIPParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ReleaseIPParams defines parameters for ReleaseIP.
type ReleaseIPResponse ¶
type ReleaseIPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseReleaseIPResponse ¶
func ParseReleaseIPResponse(rsp *http.Response) (*ReleaseIPResponse, error)
ParseReleaseIPResponse parses an HTTP response from a ReleaseIPWithResponse call
func (ReleaseIPResponse) Status ¶
func (r ReleaseIPResponse) Status() string
Status returns HTTPResponse.Status
func (ReleaseIPResponse) StatusCode ¶
func (r ReleaseIPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveMemberResponse ¶
type RemoveMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseRemoveMemberResponse ¶
func ParseRemoveMemberResponse(rsp *http.Response) (*RemoveMemberResponse, error)
ParseRemoveMemberResponse parses an HTTP response from a RemoveMemberWithResponse call
func (RemoveMemberResponse) Status ¶
func (r RemoveMemberResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveMemberResponse) StatusCode ¶
func (r RemoveMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveProjectMemberResponse ¶
type RemoveProjectMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseRemoveProjectMemberResponse ¶
func ParseRemoveProjectMemberResponse(rsp *http.Response) (*RemoveProjectMemberResponse, error)
ParseRemoveProjectMemberResponse parses an HTTP response from a RemoveProjectMemberWithResponse call
func (RemoveProjectMemberResponse) Status ¶
func (r RemoveProjectMemberResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveProjectMemberResponse) StatusCode ¶
func (r RemoveProjectMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveVMTagParams ¶
type RemoveVMTagParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
RemoveVMTagParams defines parameters for RemoveVMTag.
type RemoveVMTagResponse ¶
type RemoveVMTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VMTagsResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRemoveVMTagResponse ¶
func ParseRemoveVMTagResponse(rsp *http.Response) (*RemoveVMTagResponse, error)
ParseRemoveVMTagResponse parses an HTTP response from a RemoveVMTagWithResponse call
func (RemoveVMTagResponse) Status ¶
func (r RemoveVMTagResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveVMTagResponse) StatusCode ¶
func (r RemoveVMTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenameK8SClusterJSONBody ¶ added in v0.4.0
type RenameK8SClusterJSONBody struct {
// Name New cluster name (1–63 lowercase letters, digits or hyphens)
Name string `json:"name"`
}
RenameK8SClusterJSONBody defines parameters for RenameK8SCluster.
type RenameK8SClusterJSONRequestBody ¶ added in v0.4.0
type RenameK8SClusterJSONRequestBody RenameK8SClusterJSONBody
RenameK8SClusterJSONRequestBody defines body for RenameK8SCluster for application/json ContentType.
type RenameK8SClusterParams ¶ added in v0.4.0
type RenameK8SClusterParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
RenameK8SClusterParams defines parameters for RenameK8SCluster.
type RenameK8SClusterResponse ¶ added in v0.4.0
type RenameK8SClusterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cluster *K8SCluster `json:"cluster,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseRenameK8SClusterResponse ¶ added in v0.4.0
func ParseRenameK8SClusterResponse(rsp *http.Response) (*RenameK8SClusterResponse, error)
ParseRenameK8SClusterResponse parses an HTTP response from a RenameK8SClusterWithResponse call
func (RenameK8SClusterResponse) Status ¶ added in v0.4.0
func (r RenameK8SClusterResponse) Status() string
Status returns HTTPResponse.Status
func (RenameK8SClusterResponse) StatusCode ¶ added in v0.4.0
func (r RenameK8SClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenameSnapshotJSONRequestBody ¶
type RenameSnapshotJSONRequestBody = RenameSnapshotRequest
RenameSnapshotJSONRequestBody defines body for RenameSnapshot for application/json ContentType.
type RenameSnapshotParams ¶
type RenameSnapshotParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
RenameSnapshotParams defines parameters for RenameSnapshot.
type RenameSnapshotRequest ¶
type RenameSnapshotRequest struct {
// Name New snapshot display name
Name string `json:"name"`
}
RenameSnapshotRequest defines model for RenameSnapshotRequest.
type RenameSnapshotResponse ¶
type RenameSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Snapshot `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseRenameSnapshotResponse ¶
func ParseRenameSnapshotResponse(rsp *http.Response) (*RenameSnapshotResponse, error)
ParseRenameSnapshotResponse parses an HTTP response from a RenameSnapshotWithResponse call
func (RenameSnapshotResponse) Status ¶
func (r RenameSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (RenameSnapshotResponse) StatusCode ¶
func (r RenameSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenameVMJSONRequestBody ¶
type RenameVMJSONRequestBody = RenameVMRequest
RenameVMJSONRequestBody defines body for RenameVM for application/json ContentType.
type RenameVMParams ¶
type RenameVMParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
RenameVMParams defines parameters for RenameVM.
type RenameVMRequest ¶
type RenameVMRequest struct {
// Name New name for the virtual machine
Name string `json:"name"`
}
RenameVMRequest defines model for RenameVMRequest.
type RenameVMResponse ¶
type RenameVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRenameVMResponse ¶
func ParseRenameVMResponse(rsp *http.Response) (*RenameVMResponse, error)
ParseRenameVMResponse parses an HTTP response from a RenameVMWithResponse call
func (RenameVMResponse) Status ¶
func (r RenameVMResponse) Status() string
Status returns HTTPResponse.Status
func (RenameVMResponse) StatusCode ¶
func (r RenameVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestAppSourceUploadResponse ¶ added in v0.4.0
type RequestAppSourceUploadResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
BlobKey *string `json:"blob_key,omitempty"`
ExpiresInSeconds *int `json:"expires_in_seconds,omitempty"`
Success *bool `json:"success,omitempty"`
UploadURL *string `json:"upload_url,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRequestAppSourceUploadResponse ¶ added in v0.4.0
func ParseRequestAppSourceUploadResponse(rsp *http.Response) (*RequestAppSourceUploadResponse, error)
ParseRequestAppSourceUploadResponse parses an HTTP response from a RequestAppSourceUploadWithResponse call
func (RequestAppSourceUploadResponse) Status ¶ added in v0.4.0
func (r RequestAppSourceUploadResponse) Status() string
Status returns HTTPResponse.Status
func (RequestAppSourceUploadResponse) StatusCode ¶ added in v0.4.0
func (r RequestAppSourceUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestFunctionSourceUploadResponse ¶ added in v0.4.0
type RequestFunctionSourceUploadResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *FunctionSourceUpload `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRequestFunctionSourceUploadResponse ¶ added in v0.4.0
func ParseRequestFunctionSourceUploadResponse(rsp *http.Response) (*RequestFunctionSourceUploadResponse, error)
ParseRequestFunctionSourceUploadResponse parses an HTTP response from a RequestFunctionSourceUploadWithResponse call
func (RequestFunctionSourceUploadResponse) Status ¶ added in v0.4.0
func (r RequestFunctionSourceUploadResponse) Status() string
Status returns HTTPResponse.Status
func (RequestFunctionSourceUploadResponse) StatusCode ¶ added in v0.4.0
func (r RequestFunctionSourceUploadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReserveIPJSONRequestBody ¶
type ReserveIPJSONRequestBody = ReserveIPRequest
ReserveIPJSONRequestBody defines body for ReserveIP for application/json ContentType.
type ReserveIPParams ¶
type ReserveIPParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ReserveIPParams defines parameters for ReserveIP.
type ReserveIPRequest ¶
type ReserveIPRequest struct {
// BillingPeriod Subscription billing period. Ignored for PAYG accounts.
BillingPeriod *ReserveIPRequestBillingPeriod `json:"billing_period,omitempty"`
// Region Region. Defaults to the project's default region.
Region *ReserveIPRequestRegion `json:"region,omitempty"`
// Type IP family to reserve. Defaults to IPv4.
Type *ReserveIPRequestType `json:"type,omitempty"`
}
ReserveIPRequest Optional fields for IP reservation. Send an empty body to use defaults.
type ReserveIPRequestBillingPeriod ¶
type ReserveIPRequestBillingPeriod string
ReserveIPRequestBillingPeriod Subscription billing period. Ignored for PAYG accounts.
const ( Monthly ReserveIPRequestBillingPeriod = "monthly" TwentyFourMonth ReserveIPRequestBillingPeriod = "twenty_four_month" Yearly ReserveIPRequestBillingPeriod = "yearly" )
Defines values for ReserveIPRequestBillingPeriod.
func (ReserveIPRequestBillingPeriod) Valid ¶
func (e ReserveIPRequestBillingPeriod) Valid() bool
Valid indicates whether the value is a known member of the ReserveIPRequestBillingPeriod enum.
type ReserveIPRequestRegion ¶
type ReserveIPRequestRegion string
ReserveIPRequestRegion Region. Defaults to the project's default region.
const (
ReserveIPRequestRegionUsEast ReserveIPRequestRegion = "us-east"
)
Defines values for ReserveIPRequestRegion.
func (ReserveIPRequestRegion) Valid ¶
func (e ReserveIPRequestRegion) Valid() bool
Valid indicates whether the value is a known member of the ReserveIPRequestRegion enum.
type ReserveIPRequestType ¶
type ReserveIPRequestType string
ReserveIPRequestType IP family to reserve. Defaults to IPv4.
const ( IPv4 ReserveIPRequestType = "IPv4" IPv6 ReserveIPRequestType = "IPv6" )
Defines values for ReserveIPRequestType.
func (ReserveIPRequestType) Valid ¶
func (e ReserveIPRequestType) Valid() bool
Valid indicates whether the value is a known member of the ReserveIPRequestType enum.
type ReserveIPResponse ¶
type ReserveIPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
// Data A floating public IP address.
Data *FloatingIP `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON403 *BillingValidationFailed
}
func ParseReserveIPResponse ¶
func ParseReserveIPResponse(rsp *http.Response) (*ReserveIPResponse, error)
ParseReserveIPResponse parses an HTTP response from a ReserveIPWithResponse call
func (ReserveIPResponse) Status ¶
func (r ReserveIPResponse) Status() string
Status returns HTTPResponse.Status
func (ReserveIPResponse) StatusCode ¶
func (r ReserveIPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetBackupChainParams ¶ added in v0.3.4
type ResetBackupChainParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ResetBackupChainParams defines parameters for ResetBackupChain.
type ResetBackupChainResponse ¶ added in v0.3.4
type ResetBackupChainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *SuccessResponse
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseResetBackupChainResponse ¶ added in v0.3.4
func ParseResetBackupChainResponse(rsp *http.Response) (*ResetBackupChainResponse, error)
ParseResetBackupChainResponse parses an HTTP response from a ResetBackupChainWithResponse call
func (ResetBackupChainResponse) Status ¶ added in v0.3.4
func (r ResetBackupChainResponse) Status() string
Status returns HTTPResponse.Status
func (ResetBackupChainResponse) StatusCode ¶ added in v0.3.4
func (r ResetBackupChainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetK8SClusterFirewallParams ¶ added in v0.4.0
type ResetK8SClusterFirewallParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ResetK8SClusterFirewallParams defines parameters for ResetK8SClusterFirewall.
type ResetK8SClusterFirewallResponse ¶ added in v0.4.0
type ResetK8SClusterFirewallResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseResetK8SClusterFirewallResponse ¶ added in v0.4.0
func ParseResetK8SClusterFirewallResponse(rsp *http.Response) (*ResetK8SClusterFirewallResponse, error)
ParseResetK8SClusterFirewallResponse parses an HTTP response from a ResetK8SClusterFirewallWithResponse call
func (ResetK8SClusterFirewallResponse) Status ¶ added in v0.4.0
func (r ResetK8SClusterFirewallResponse) Status() string
Status returns HTTPResponse.Status
func (ResetK8SClusterFirewallResponse) StatusCode ¶ added in v0.4.0
func (r ResetK8SClusterFirewallResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetVMPasswordParams ¶
type ResetVMPasswordParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ResetVMPasswordParams defines parameters for ResetVMPassword.
type ResetVMPasswordResponse ¶
type ResetVMPasswordResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseResetVMPasswordResponse ¶
func ParseResetVMPasswordResponse(rsp *http.Response) (*ResetVMPasswordResponse, error)
ParseResetVMPasswordResponse parses an HTTP response from a ResetVMPasswordWithResponse call
func (ResetVMPasswordResponse) Status ¶
func (r ResetVMPasswordResponse) Status() string
Status returns HTTPResponse.Status
func (ResetVMPasswordResponse) StatusCode ¶
func (r ResetVMPasswordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeBillingDetails ¶
type ResizeBillingDetails struct {
BalanceApplied *float32 `json:"balance_applied,omitempty"`
CreditsApplied *float32 `json:"credits_applied,omitempty"`
NewMonthlyPrice *float32 `json:"new_monthly_price,omitempty"`
NewPricePerHour *string `json:"new_price_per_hour,omitempty"`
// ProRataAmount Amount charged (positive) or credited (negative).
ProRataAmount *float32 `json:"pro_rata_amount,omitempty"`
Type *ResizeBillingDetailsType `json:"type,omitempty"`
}
ResizeBillingDetails Present only for subscription-based resources.
type ResizeBillingDetailsType ¶
type ResizeBillingDetailsType string
ResizeBillingDetailsType defines model for ResizeBillingDetails.Type.
const ( ResizeBillingDetailsTypeDowngrade ResizeBillingDetailsType = "downgrade" ResizeBillingDetailsTypeNone ResizeBillingDetailsType = "none" ResizeBillingDetailsTypeUpgrade ResizeBillingDetailsType = "upgrade" )
Defines values for ResizeBillingDetailsType.
func (ResizeBillingDetailsType) Valid ¶
func (e ResizeBillingDetailsType) Valid() bool
Valid indicates whether the value is a known member of the ResizeBillingDetailsType enum.
type ResizeResponse ¶
type ResizeResponse struct {
// Billing Present only for subscription-based resources.
Billing *ResizeBillingDetails `json:"billing,omitempty"`
// ID Resource ID.
ID *string `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
ResizeResponse defines model for ResizeResponse.
type ResizeVMDiskJSONRequestBody ¶
type ResizeVMDiskJSONRequestBody = ResizeVMDiskRequest
ResizeVMDiskJSONRequestBody defines body for ResizeVMDisk for application/json ContentType.
type ResizeVMDiskParams ¶
type ResizeVMDiskParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ResizeVMDiskParams defines parameters for ResizeVMDisk.
type ResizeVMDiskRequest ¶
type ResizeVMDiskRequest struct {
// NewSize New disk size in GB. Must be larger than current size.
NewSize int `json:"new_size"`
}
ResizeVMDiskRequest defines model for ResizeVMDiskRequest.
type ResizeVMDiskResponse ¶
type ResizeVMDiskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResizeResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON404 *NotFound
}
func ParseResizeVMDiskResponse ¶
func ParseResizeVMDiskResponse(rsp *http.Response) (*ResizeVMDiskResponse, error)
ParseResizeVMDiskResponse parses an HTTP response from a ResizeVMDiskWithResponse call
func (ResizeVMDiskResponse) Status ¶
func (r ResizeVMDiskResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeVMDiskResponse) StatusCode ¶
func (r ResizeVMDiskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeVMJSONRequestBody ¶
type ResizeVMJSONRequestBody = ResizeVMRequest
ResizeVMJSONRequestBody defines body for ResizeVM for application/json ContentType.
type ResizeVMParams ¶
type ResizeVMParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ResizeVMParams defines parameters for ResizeVM.
type ResizeVMRequest ¶
type ResizeVMRequest struct {
// PricingID Target pricing plan ID. Determines CPU, RAM, and included storage. Use `GET /api/v1/public/pricing/vm` to list available plans.
PricingID int `json:"pricing_id"`
}
ResizeVMRequest defines model for ResizeVMRequest.
type ResizeVMResponse ¶
type ResizeVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResizeResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON404 *NotFound
}
func ParseResizeVMResponse ¶
func ParseResizeVMResponse(rsp *http.Response) (*ResizeVMResponse, error)
ParseResizeVMResponse parses an HTTP response from a ResizeVMWithResponse call
func (ResizeVMResponse) Status ¶
func (r ResizeVMResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeVMResponse) StatusCode ¶
func (r ResizeVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeVolumeJSONRequestBody ¶
type ResizeVolumeJSONRequestBody = ResizeVolumeRequest
ResizeVolumeJSONRequestBody defines body for ResizeVolume for application/json ContentType.
type ResizeVolumeParams ¶
type ResizeVolumeParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ResizeVolumeParams defines parameters for ResizeVolume.
type ResizeVolumeRequest ¶
type ResizeVolumeRequest struct {
// NewSize New volume size in GB. Must be larger than current size.
NewSize int `json:"new_size"`
}
ResizeVolumeRequest defines model for ResizeVolumeRequest.
type ResizeVolumeResponse ¶
type ResizeVolumeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResizeResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON402 *InsufficientBalance
JSON404 *NotFound
}
func ParseResizeVolumeResponse ¶
func ParseResizeVolumeResponse(rsp *http.Response) (*ResizeVolumeResponse, error)
ParseResizeVolumeResponse parses an HTTP response from a ResizeVolumeWithResponse call
func (ResizeVolumeResponse) Status ¶
func (r ResizeVolumeResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeVolumeResponse) StatusCode ¶
func (r ResizeVolumeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreBackupParams ¶
type RestoreBackupParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
RestoreBackupParams defines parameters for RestoreBackup.
type RestoreBackupResponse ¶
type RestoreBackupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *struct {
Data *Backup `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseRestoreBackupResponse ¶
func ParseRestoreBackupResponse(rsp *http.Response) (*RestoreBackupResponse, error)
ParseRestoreBackupResponse parses an HTTP response from a RestoreBackupWithResponse call
func (RestoreBackupResponse) Status ¶
func (r RestoreBackupResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreBackupResponse) StatusCode ¶
func (r RestoreBackupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreDatabaseJSONRequestBody ¶ added in v0.4.0
type RestoreDatabaseJSONRequestBody = RestoreDatabaseRequest
RestoreDatabaseJSONRequestBody defines body for RestoreDatabase for application/json ContentType.
type RestoreDatabaseRequest ¶ added in v0.4.0
type RestoreDatabaseRequest struct {
// BackupID Restore from this completed backup. Omit to use `pitr_timestamp` or the latest state.
BackupID *openapi_types.UUID `json:"backup_id,omitempty"`
// CloneToNew Must be `true` — restores always create a new database; in-place restore is not supported
CloneToNew bool `json:"clone_to_new"`
// HaEnabled Enable high availability on the new database (+70% of the plan price). Never inherited from the source.
HaEnabled *bool `json:"ha_enabled,omitempty"`
// NewName Name for the new database. Defaults to `{source-name}-restored`; auto-suffixed (`-2`, `-3`, …) if taken.
NewName *string `json:"new_name,omitempty"`
// PitrTimestamp Point-in-time restore target (RFC 3339). PostgreSQL only — Valkey restores from snapshots via `backup_id`.
PitrTimestamp *time.Time `json:"pitr_timestamp,omitempty"`
}
RestoreDatabaseRequest defines model for RestoreDatabaseRequest.
type RestoreDatabaseResponse ¶ added in v0.4.0
type RestoreDatabaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// NewDatabaseID Short ID of the new database being created
NewDatabaseID *string `json:"new_database_id,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRestoreDatabaseResponse ¶ added in v0.4.0
func ParseRestoreDatabaseResponse(rsp *http.Response) (*RestoreDatabaseResponse, error)
ParseRestoreDatabaseResponse parses an HTTP response from a RestoreDatabaseWithResponse call
func (RestoreDatabaseResponse) Status ¶ added in v0.4.0
func (r RestoreDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreDatabaseResponse) StatusCode ¶ added in v0.4.0
func (r RestoreDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RestoreSnapshotParams ¶
type RestoreSnapshotParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
RestoreSnapshotParams defines parameters for RestoreSnapshot.
type RestoreSnapshotResponse ¶
type RestoreSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseRestoreSnapshotResponse ¶
func ParseRestoreSnapshotResponse(rsp *http.Response) (*RestoreSnapshotResponse, error)
ParseRestoreSnapshotResponse parses an HTTP response from a RestoreSnapshotWithResponse call
func (RestoreSnapshotResponse) Status ¶
func (r RestoreSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (RestoreSnapshotResponse) StatusCode ¶
func (r RestoreSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResumeAppServiceResponse ¶ added in v0.4.0
type ResumeAppServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Service An app service on the Raff PaaS — a web service, private service, worker, cron job, or one-off job.
Service *AppService `json:"service,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseResumeAppServiceResponse ¶ added in v0.4.0
func ParseResumeAppServiceResponse(rsp *http.Response) (*ResumeAppServiceResponse, error)
ParseResumeAppServiceResponse parses an HTTP response from a ResumeAppServiceWithResponse call
func (ResumeAppServiceResponse) Status ¶ added in v0.4.0
func (r ResumeAppServiceResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeAppServiceResponse) StatusCode ¶ added in v0.4.0
func (r ResumeAppServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResumeDatabaseResponse ¶ added in v0.4.0
type ResumeDatabaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Database A managed database instance. The private endpoint `{database_id}.db.raffusercloud.com` lives inside the attached VPC; public access is optional. TLS is always required.
Database *Database `json:"database,omitempty"`
}
}
func ParseResumeDatabaseResponse ¶ added in v0.4.0
func ParseResumeDatabaseResponse(rsp *http.Response) (*ResumeDatabaseResponse, error)
ParseResumeDatabaseResponse parses an HTTP response from a ResumeDatabaseWithResponse call
func (ResumeDatabaseResponse) Status ¶ added in v0.4.0
func (r ResumeDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeDatabaseResponse) StatusCode ¶ added in v0.4.0
func (r ResumeDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResumeFunctionResponse ¶ added in v0.4.0
type ResumeFunctionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseResumeFunctionResponse ¶ added in v0.4.0
func ParseResumeFunctionResponse(rsp *http.Response) (*ResumeFunctionResponse, error)
ParseResumeFunctionResponse parses an HTTP response from a ResumeFunctionWithResponse call
func (ResumeFunctionResponse) Status ¶ added in v0.4.0
func (r ResumeFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeFunctionResponse) StatusCode ¶ added in v0.4.0
func (r ResumeFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetryAppDomainVerificationResponse ¶ added in v0.4.0
type RetryAppDomainVerificationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Domain *AppCustomDomain `json:"domain,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRetryAppDomainVerificationResponse ¶ added in v0.4.0
func ParseRetryAppDomainVerificationResponse(rsp *http.Response) (*RetryAppDomainVerificationResponse, error)
ParseRetryAppDomainVerificationResponse parses an HTTP response from a RetryAppDomainVerificationWithResponse call
func (RetryAppDomainVerificationResponse) Status ¶ added in v0.4.0
func (r RetryAppDomainVerificationResponse) Status() string
Status returns HTTPResponse.Status
func (RetryAppDomainVerificationResponse) StatusCode ¶ added in v0.4.0
func (r RetryAppDomainVerificationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevealAppEnvVarsResponse ¶ added in v0.4.0
type RevealAppEnvVarsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
EnvVars *[]AppEnvVar `json:"env_vars,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseRevealAppEnvVarsResponse ¶ added in v0.4.0
func ParseRevealAppEnvVarsResponse(rsp *http.Response) (*RevealAppEnvVarsResponse, error)
ParseRevealAppEnvVarsResponse parses an HTTP response from a RevealAppEnvVarsWithResponse call
func (RevealAppEnvVarsResponse) Status ¶ added in v0.4.0
func (r RevealAppEnvVarsResponse) Status() string
Status returns HTTPResponse.Status
func (RevealAppEnvVarsResponse) StatusCode ¶ added in v0.4.0
func (r RevealAppEnvVarsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevealFunctionEnvVarsResponse ¶ added in v0.4.0
type RevealFunctionEnvVarsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
EnvVars *[]FunctionEnvVar `json:"env_vars,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseRevealFunctionEnvVarsResponse ¶ added in v0.4.0
func ParseRevealFunctionEnvVarsResponse(rsp *http.Response) (*RevealFunctionEnvVarsResponse, error)
ParseRevealFunctionEnvVarsResponse parses an HTTP response from a RevealFunctionEnvVarsWithResponse call
func (RevealFunctionEnvVarsResponse) Status ¶ added in v0.4.0
func (r RevealFunctionEnvVarsResponse) Status() string
Status returns HTTPResponse.Status
func (RevealFunctionEnvVarsResponse) StatusCode ¶ added in v0.4.0
func (r RevealFunctionEnvVarsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeAPIKeyResponse ¶
type RevokeAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
}
func ParseRevokeAPIKeyResponse ¶
func ParseRevokeAPIKeyResponse(rsp *http.Response) (*RevokeAPIKeyResponse, error)
ParseRevokeAPIKeyResponse parses an HTTP response from a RevokeAPIKeyWithResponse call
func (RevokeAPIKeyResponse) Status ¶
func (r RevokeAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeAPIKeyResponse) StatusCode ¶
func (r RevokeAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Role ¶
type Role struct {
// AccountID Empty for built-in system roles
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CreatedBy *openapi_types.UUID `json:"created_by,omitempty"`
Description *string `json:"description,omitempty"`
ID openapi_types.UUID `json:"id"`
// IsSystem `true` for built-in roles (Owner, Admin, Member, Operator, etc.) which cannot be edited or deleted. `false` for custom roles.
IsSystem bool `json:"is_system"`
Name string `json:"name"`
// Permissions Permission strings (e.g. `vm.create`, `project.members.view`). See [List Permissions](#tag/Permissions/operation/listPermissions).
Permissions []string `json:"permissions"`
// Scope Whether the role grants account-level or project-level permissions
Scope RoleScope `json:"scope"`
Slug string `json:"slug"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Role defines model for Role.
type RoleScope ¶
type RoleScope string
RoleScope Whether the role grants account-level or project-level permissions
Defines values for RoleScope.
type RollbackAppServiceJSONBody ¶ added in v0.4.0
type RollbackAppServiceJSONBody struct {
TargetDeploymentID openapi_types.UUID `json:"target_deployment_id"`
}
RollbackAppServiceJSONBody defines parameters for RollbackAppService.
type RollbackAppServiceJSONRequestBody ¶ added in v0.4.0
type RollbackAppServiceJSONRequestBody RollbackAppServiceJSONBody
RollbackAppServiceJSONRequestBody defines body for RollbackAppService for application/json ContentType.
type RollbackAppServiceResponse ¶ added in v0.4.0
type RollbackAppServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Deployment *AppDeployment `json:"deployment,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRollbackAppServiceResponse ¶ added in v0.4.0
func ParseRollbackAppServiceResponse(rsp *http.Response) (*RollbackAppServiceResponse, error)
ParseRollbackAppServiceResponse parses an HTTP response from a RollbackAppServiceWithResponse call
func (RollbackAppServiceResponse) Status ¶ added in v0.4.0
func (r RollbackAppServiceResponse) Status() string
Status returns HTTPResponse.Status
func (RollbackAppServiceResponse) StatusCode ¶ added in v0.4.0
func (r RollbackAppServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RollbackFunctionJSONBody ¶ added in v0.4.0
type RollbackFunctionJSONBody struct {
RevisionID openapi_types.UUID `json:"revision_id"`
}
RollbackFunctionJSONBody defines parameters for RollbackFunction.
type RollbackFunctionJSONRequestBody ¶ added in v0.4.0
type RollbackFunctionJSONRequestBody RollbackFunctionJSONBody
RollbackFunctionJSONRequestBody defines body for RollbackFunction for application/json ContentType.
type RollbackFunctionResponse ¶ added in v0.4.0
type RollbackFunctionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRollbackFunctionResponse ¶ added in v0.4.0
func ParseRollbackFunctionResponse(rsp *http.Response) (*RollbackFunctionResponse, error)
ParseRollbackFunctionResponse parses an HTTP response from a RollbackFunctionWithResponse call
func (RollbackFunctionResponse) Status ¶ added in v0.4.0
func (r RollbackFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (RollbackFunctionResponse) StatusCode ¶ added in v0.4.0
func (r RollbackFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateDatabaseCredentialsResponse ¶ added in v0.4.0
type RotateDatabaseCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRotateDatabaseCredentialsResponse ¶ added in v0.4.0
func ParseRotateDatabaseCredentialsResponse(rsp *http.Response) (*RotateDatabaseCredentialsResponse, error)
ParseRotateDatabaseCredentialsResponse parses an HTTP response from a RotateDatabaseCredentialsWithResponse call
func (RotateDatabaseCredentialsResponse) Status ¶ added in v0.4.0
func (r RotateDatabaseCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (RotateDatabaseCredentialsResponse) StatusCode ¶ added in v0.4.0
func (r RotateDatabaseCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateFunctionBindingResponse ¶ added in v0.4.0
type RotateFunctionBindingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Binding *FunctionBinding `json:"binding,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRotateFunctionBindingResponse ¶ added in v0.4.0
func ParseRotateFunctionBindingResponse(rsp *http.Response) (*RotateFunctionBindingResponse, error)
ParseRotateFunctionBindingResponse parses an HTTP response from a RotateFunctionBindingWithResponse call
func (RotateFunctionBindingResponse) Status ¶ added in v0.4.0
func (r RotateFunctionBindingResponse) Status() string
Status returns HTTPResponse.Status
func (RotateFunctionBindingResponse) StatusCode ¶ added in v0.4.0
func (r RotateFunctionBindingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateK8SKubeconfigAccessParams ¶ added in v0.5.0
type RotateK8SKubeconfigAccessParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
RotateK8SKubeconfigAccessParams defines parameters for RotateK8SKubeconfigAccess.
type RotateK8SKubeconfigAccessResponse ¶ added in v0.5.0
type RotateK8SKubeconfigAccessResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseRotateK8SKubeconfigAccessResponse ¶ added in v0.5.0
func ParseRotateK8SKubeconfigAccessResponse(rsp *http.Response) (*RotateK8SKubeconfigAccessResponse, error)
ParseRotateK8SKubeconfigAccessResponse parses an HTTP response from a RotateK8SKubeconfigAccessWithResponse call
func (RotateK8SKubeconfigAccessResponse) Status ¶ added in v0.5.0
func (r RotateK8SKubeconfigAccessResponse) Status() string
Status returns HTTPResponse.Status
func (RotateK8SKubeconfigAccessResponse) StatusCode ¶ added in v0.5.0
func (r RotateK8SKubeconfigAccessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RunAppJobResponse ¶ added in v0.4.0
type RunAppJobResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Run *AppJobRun `json:"run,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseRunAppJobResponse ¶ added in v0.4.0
func ParseRunAppJobResponse(rsp *http.Response) (*RunAppJobResponse, error)
ParseRunAppJobResponse parses an HTTP response from a RunAppJobWithResponse call
func (RunAppJobResponse) Status ¶ added in v0.4.0
func (r RunAppJobResponse) Status() string
Status returns HTTPResponse.Status
func (RunAppJobResponse) StatusCode ¶ added in v0.4.0
func (r RunAppJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SSHKey ¶
type SSHKey struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
// ID SSH key ID
ID openapi_types.UUID `json:"id"`
// KeyType Parsed key algorithm
KeyType SSHKeyKeyType `json:"key_type"`
// Name SSH key display name
Name string `json:"name"`
// PublicKey Full SSH public key string (e.g. `ssh-ed25519 AAAA... user@host`)
PublicKey string `json:"public_key"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
SSHKey defines model for SSHKey.
type SSHKeyKeyType ¶
type SSHKeyKeyType string
SSHKeyKeyType Parsed key algorithm
const ( EcdsaSha2Nistp256 SSHKeyKeyType = "ecdsa-sha2-nistp256" EcdsaSha2Nistp384 SSHKeyKeyType = "ecdsa-sha2-nistp384" EcdsaSha2Nistp521 SSHKeyKeyType = "ecdsa-sha2-nistp521" SSHEd25519 SSHKeyKeyType = "ssh-ed25519" SSHRsa SSHKeyKeyType = "ssh-rsa" )
Defines values for SSHKeyKeyType.
func (SSHKeyKeyType) Valid ¶
func (e SSHKeyKeyType) Valid() bool
Valid indicates whether the value is a known member of the SSHKeyKeyType enum.
type SaveImageRequest ¶
type SaveImageRequest struct {
// Description Optional description for the saved image.
Description *string `json:"description,omitempty"`
// DiskID Which disk to capture. `0` for the OS disk, `1+` for attached volumes.
DiskID *int `json:"disk_id,omitempty"`
// Name Custom image name.
Name string `json:"name"`
// SnapshotID Source for the image. `-1` captures the current live disk state. Pass a snapshot ID to capture from a saved snapshot.
SnapshotID *int `json:"snapshot_id,omitempty"`
}
SaveImageRequest defines model for SaveImageRequest.
type SaveVMDiskAsImageJSONRequestBody ¶
type SaveVMDiskAsImageJSONRequestBody = SaveImageRequest
SaveVMDiskAsImageJSONRequestBody defines body for SaveVMDiskAsImage for application/json ContentType.
type SaveVMDiskAsImageParams ¶
type SaveVMDiskAsImageParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
SaveVMDiskAsImageParams defines parameters for SaveVMDiskAsImage.
type SaveVMDiskAsImageResponse ¶
type SaveVMDiskAsImageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
// Data A custom OS image saved from a VM disk. Use `id` as `template_id` when creating new VMs.
Data *VMImage `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseSaveVMDiskAsImageResponse ¶
func ParseSaveVMDiskAsImageResponse(rsp *http.Response) (*SaveVMDiskAsImageResponse, error)
ParseSaveVMDiskAsImageResponse parses an HTTP response from a SaveVMDiskAsImageWithResponse call
func (SaveVMDiskAsImageResponse) Status ¶
func (r SaveVMDiskAsImageResponse) Status() string
Status returns HTTPResponse.Status
func (SaveVMDiskAsImageResponse) StatusCode ¶
func (r SaveVMDiskAsImageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleAppServiceJSONRequestBody ¶ added in v0.4.0
type ScaleAppServiceJSONRequestBody = ScaleAppServiceRequest
ScaleAppServiceJSONRequestBody defines body for ScaleAppService for application/json ContentType.
type ScaleAppServiceRequest ¶ added in v0.4.0
type ScaleAppServiceRequest struct {
AutoscalingEnabled *bool `json:"autoscaling_enabled,omitempty"`
AutoscalingMetric *string `json:"autoscaling_metric,omitempty"`
// AutoscalingSet Set true to apply the autoscaling fields
AutoscalingSet *bool `json:"autoscaling_set,omitempty"`
AutoscalingTarget *int `json:"autoscaling_target,omitempty"`
MaxReplicas *int `json:"max_replicas,omitempty"`
MinReplicas *int `json:"min_replicas,omitempty"`
Replicas *int `json:"replicas,omitempty"`
ScaleToZero *bool `json:"scale_to_zero,omitempty"`
}
ScaleAppServiceRequest defines model for ScaleAppServiceRequest.
type ScaleAppServiceResponse ¶ added in v0.4.0
type ScaleAppServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Service An app service on the Raff PaaS — a web service, private service, worker, cron job, or one-off job.
Service *AppService `json:"service,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseScaleAppServiceResponse ¶ added in v0.4.0
func ParseScaleAppServiceResponse(rsp *http.Response) (*ScaleAppServiceResponse, error)
ParseScaleAppServiceResponse parses an HTTP response from a ScaleAppServiceWithResponse call
func (ScaleAppServiceResponse) Status ¶ added in v0.4.0
func (r ScaleAppServiceResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleAppServiceResponse) StatusCode ¶ added in v0.4.0
func (r ScaleAppServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleDatabaseJSONRequestBody ¶ added in v0.4.0
type ScaleDatabaseJSONRequestBody = ScaleDatabaseRequest
ScaleDatabaseJSONRequestBody defines body for ScaleDatabase for application/json ContentType.
type ScaleDatabaseRequest ¶ added in v0.4.0
type ScaleDatabaseRequest struct {
// HasHa Desired high availability state. Only applied when `set_ha` is `true`.
HasHa *bool `json:"has_ha,omitempty"`
// PlanID New plan ID (same engine). Omit or `0` to keep the current plan.
PlanID *int `json:"plan_id,omitempty"`
// ReplicaCount Desired read replica count. Always applied — pass your current count when not changing it. PostgreSQL only.
ReplicaCount *int `json:"replica_count,omitempty"`
// SetHa Set to `true` to apply the `has_ha` value. When `false` or omitted, high availability is unchanged.
SetHa *bool `json:"set_ha,omitempty"`
// StorageGb New storage size in GB. Grows only — never below the plan's included allotment. Omit or `0` to keep the current size.
StorageGb *int `json:"storage_gb,omitempty"`
}
ScaleDatabaseRequest defines model for ScaleDatabaseRequest.
type ScaleDatabaseResponse ¶ added in v0.4.0
type ScaleDatabaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Database A managed database instance. The private endpoint `{database_id}.db.raffusercloud.com` lives inside the attached VPC; public access is optional. TLS is always required.
Database *Database `json:"database,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseScaleDatabaseResponse ¶ added in v0.4.0
func ParseScaleDatabaseResponse(rsp *http.Response) (*ScaleDatabaseResponse, error)
ParseScaleDatabaseResponse parses an HTTP response from a ScaleDatabaseWithResponse call
func (ScaleDatabaseResponse) Status ¶ added in v0.4.0
func (r ScaleDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleDatabaseResponse) StatusCode ¶ added in v0.4.0
func (r ScaleDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleK8SNodePoolJSONBody ¶ added in v0.4.0
type ScaleK8SNodePoolJSONBody struct {
NodeCount int `json:"node_count"`
}
ScaleK8SNodePoolJSONBody defines parameters for ScaleK8SNodePool.
type ScaleK8SNodePoolJSONRequestBody ¶ added in v0.4.0
type ScaleK8SNodePoolJSONRequestBody ScaleK8SNodePoolJSONBody
ScaleK8SNodePoolJSONRequestBody defines body for ScaleK8SNodePool for application/json ContentType.
type ScaleK8SNodePoolParams ¶ added in v0.4.0
type ScaleK8SNodePoolParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
ScaleK8SNodePoolParams defines parameters for ScaleK8SNodePool.
type ScaleK8SNodePoolResponse ¶ added in v0.4.0
type ScaleK8SNodePoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
NewNodeCount *int `json:"new_node_count,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
JSON409 *Error
}
func ParseScaleK8SNodePoolResponse ¶ added in v0.4.0
func ParseScaleK8SNodePoolResponse(rsp *http.Response) (*ScaleK8SNodePoolResponse, error)
ParseScaleK8SNodePoolResponse parses an HTTP response from a ScaleK8SNodePoolWithResponse call
func (ScaleK8SNodePoolResponse) Status ¶ added in v0.4.0
func (r ScaleK8SNodePoolResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleK8SNodePoolResponse) StatusCode ¶ added in v0.4.0
func (r ScaleK8SNodePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityGroup ¶
type SecurityGroup struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Description *string `json:"description,omitempty"`
// ID Security group ID.
ID openapi_types.UUID `json:"id"`
Name string `json:"name"`
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
Rules []SecurityGroupRule `json:"rules"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// VMCount Number of VM NICs currently using this security group.
VMCount *int `json:"vm_count,omitempty"`
}
SecurityGroup A security group — a named set of inbound/outbound rules that can be attached to VM NICs.
type SecurityGroupIDPath ¶
type SecurityGroupIDPath = openapi_types.UUID
SecurityGroupIDPath defines model for SecurityGroupIDPath.
type SecurityGroupResourceIDPath ¶
type SecurityGroupResourceIDPath = openapi_types.UUID
SecurityGroupResourceIDPath defines model for SecurityGroupResourceIDPath.
type SecurityGroupRule ¶
type SecurityGroupRule struct {
// IcmpType ICMP message type (only for ICMP/ICMPV6 protocols).
IcmpType *int `json:"icmp_type,omitempty"`
// IP Source/destination IP for the rule. Empty means any.
IP *string `json:"ip,omitempty"`
// Protocol Network protocol.
Protocol SecurityGroupRuleProtocol `json:"protocol"`
// Range Port or port range. Single port (`80`) or range (`8000:9000`). Empty for ICMP/ALL.
Range *string `json:"range,omitempty"`
// RuleType Direction of traffic.
RuleType SecurityGroupRuleRuleType `json:"rule_type"`
// Size CIDR block size (e.g. `24` for /24). Used with `ip` to allow a network range.
Size *int `json:"size,omitempty"`
}
SecurityGroupRule A single inbound or outbound rule.
type SecurityGroupRuleProtocol ¶
type SecurityGroupRuleProtocol string
SecurityGroupRuleProtocol Network protocol.
const ( ALL SecurityGroupRuleProtocol = "ALL" ICMP SecurityGroupRuleProtocol = "ICMP" ICMPV6 SecurityGroupRuleProtocol = "ICMPV6" IPSEC SecurityGroupRuleProtocol = "IPSEC" TCP SecurityGroupRuleProtocol = "TCP" UDP SecurityGroupRuleProtocol = "UDP" )
Defines values for SecurityGroupRuleProtocol.
func (SecurityGroupRuleProtocol) Valid ¶
func (e SecurityGroupRuleProtocol) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleProtocol enum.
type SecurityGroupRuleRuleType ¶
type SecurityGroupRuleRuleType string
SecurityGroupRuleRuleType Direction of traffic.
const ( INBOUND SecurityGroupRuleRuleType = "INBOUND" OUTBOUND SecurityGroupRuleRuleType = "OUTBOUND" )
Defines values for SecurityGroupRuleRuleType.
func (SecurityGroupRuleRuleType) Valid ¶
func (e SecurityGroupRuleRuleType) Valid() bool
Valid indicates whether the value is a known member of the SecurityGroupRuleRuleType enum.
type SecurityGroupTemplate ¶
type SecurityGroupTemplate struct {
Description *string `json:"description,omitempty"`
// ID Template ID — pass as `template_id` when creating a security group.
ID string `json:"id"`
Name string `json:"name"`
Rules []SecurityGroupRule `json:"rules"`
}
SecurityGroupTemplate A pre-built security group template.
type SetAppEnvVarJSONBody ¶ added in v0.4.0
type SetAppEnvVarJSONBody struct {
IsSecret *bool `json:"is_secret,omitempty"`
Key string `json:"key"`
Redeploy *bool `json:"redeploy,omitempty"`
Value string `json:"value"`
}
SetAppEnvVarJSONBody defines parameters for SetAppEnvVar.
type SetAppEnvVarJSONRequestBody ¶ added in v0.4.0
type SetAppEnvVarJSONRequestBody SetAppEnvVarJSONBody
SetAppEnvVarJSONRequestBody defines body for SetAppEnvVar for application/json ContentType.
type SetAppEnvVarResponse ¶ added in v0.4.0
type SetAppEnvVarResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DeploymentID *openapi_types.UUID `json:"deployment_id,omitempty"`
EnvVars *[]AppEnvVar `json:"env_vars,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseSetAppEnvVarResponse ¶ added in v0.4.0
func ParseSetAppEnvVarResponse(rsp *http.Response) (*SetAppEnvVarResponse, error)
ParseSetAppEnvVarResponse parses an HTTP response from a SetAppEnvVarWithResponse call
func (SetAppEnvVarResponse) Status ¶ added in v0.4.0
func (r SetAppEnvVarResponse) Status() string
Status returns HTTPResponse.Status
func (SetAppEnvVarResponse) StatusCode ¶ added in v0.4.0
func (r SetAppEnvVarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetDatabaseExtensionJSONRequestBody ¶ added in v0.4.0
type SetDatabaseExtensionJSONRequestBody = SetDatabaseExtensionRequest
SetDatabaseExtensionJSONRequestBody defines body for SetDatabaseExtension for application/json ContentType.
type SetDatabaseExtensionRequest ¶ added in v0.4.0
type SetDatabaseExtensionRequest struct {
// Enabled `true` to install, `false` to remove
Enabled bool `json:"enabled"`
// Name Extension name from the allowlist (see `GET /api/v1/databases/{database_id}/extensions`)
Name string `json:"name"`
}
SetDatabaseExtensionRequest defines model for SetDatabaseExtensionRequest.
type SetDatabaseExtensionResponse ¶ added in v0.4.0
type SetDatabaseExtensionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseSetDatabaseExtensionResponse ¶ added in v0.4.0
func ParseSetDatabaseExtensionResponse(rsp *http.Response) (*SetDatabaseExtensionResponse, error)
ParseSetDatabaseExtensionResponse parses an HTTP response from a SetDatabaseExtensionWithResponse call
func (SetDatabaseExtensionResponse) Status ¶ added in v0.4.0
func (r SetDatabaseExtensionResponse) Status() string
Status returns HTTPResponse.Status
func (SetDatabaseExtensionResponse) StatusCode ¶ added in v0.4.0
func (r SetDatabaseExtensionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetDatabasePublicAccessJSONRequestBody ¶ added in v0.4.0
type SetDatabasePublicAccessJSONRequestBody = DatabasePublicAccessRequest
SetDatabasePublicAccessJSONRequestBody defines body for SetDatabasePublicAccess for application/json ContentType.
type SetDatabasePublicAccessResponse ¶ added in v0.4.0
type SetDatabasePublicAccessResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Database A managed database instance. The private endpoint `{database_id}.db.raffusercloud.com` lives inside the attached VPC; public access is optional. TLS is always required.
Database *Database `json:"database,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseSetDatabasePublicAccessResponse ¶ added in v0.4.0
func ParseSetDatabasePublicAccessResponse(rsp *http.Response) (*SetDatabasePublicAccessResponse, error)
ParseSetDatabasePublicAccessResponse parses an HTTP response from a SetDatabasePublicAccessWithResponse call
func (SetDatabasePublicAccessResponse) Status ¶ added in v0.4.0
func (r SetDatabasePublicAccessResponse) Status() string
Status returns HTTPResponse.Status
func (SetDatabasePublicAccessResponse) StatusCode ¶ added in v0.4.0
func (r SetDatabasePublicAccessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetFunctionEnvVarJSONBody ¶ added in v0.4.0
type SetFunctionEnvVarJSONBody struct {
IsSecret *bool `json:"is_secret,omitempty"`
Key string `json:"key"`
Value string `json:"value"`
}
SetFunctionEnvVarJSONBody defines parameters for SetFunctionEnvVar.
type SetFunctionEnvVarJSONRequestBody ¶ added in v0.4.0
type SetFunctionEnvVarJSONRequestBody SetFunctionEnvVarJSONBody
SetFunctionEnvVarJSONRequestBody defines body for SetFunctionEnvVar for application/json ContentType.
type SetFunctionEnvVarResponse ¶ added in v0.4.0
type SetFunctionEnvVarResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseSetFunctionEnvVarResponse ¶ added in v0.4.0
func ParseSetFunctionEnvVarResponse(rsp *http.Response) (*SetFunctionEnvVarResponse, error)
ParseSetFunctionEnvVarResponse parses an HTTP response from a SetFunctionEnvVarWithResponse call
func (SetFunctionEnvVarResponse) Status ¶ added in v0.4.0
func (r SetFunctionEnvVarResponse) Status() string
Status returns HTTPResponse.Status
func (SetFunctionEnvVarResponse) StatusCode ¶ added in v0.4.0
func (r SetFunctionEnvVarResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Snapshot ¶
type Snapshot struct {
// AccountID Account that owns the snapshot
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// CreatedBy User ID that created the snapshot
CreatedBy *string `json:"created_by,omitempty"`
// ID Snapshot ID
ID int `json:"id"`
// Name Snapshot display name
Name string `json:"name"`
// PricePerHour Hourly storage cost in USD
PricePerHour *string `json:"price_per_hour,omitempty"`
// ProductVM Source VM UUID (when `type` is `vm`)
ProductVM *openapi_types.UUID `json:"product_vm,omitempty"`
// ProjectID Project the snapshot belongs to
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
// Size Current snapshot size
Size *string `json:"size,omitempty"`
// Status Indicates whether the source VM or volume is currently running on this snapshot:
//
// - `active` — this snapshot is **in use**. The source VM/volume has been reverted to it and is running on it now. Deleting an active snapshot is blocked.
// - `""` (empty) — this snapshot is saved but **not in use**. The source has not been reverted to it (or has been reverted to a different snapshot since).
//
// Only one snapshot per source can be `active` at a time. Calling [Restore Snapshot](#tag/Snapshots/operation/restoreSnapshot) flips that snapshot to `active` and clears the previous active one.
Status *SnapshotStatus `json:"status,omitempty"`
// TargetSize Provisioned size of the source disk at snapshot time
TargetSize *string `json:"target_size,omitempty"`
// Type Snapshot source type
Type SnapshotType `json:"type"`
}
Snapshot defines model for Snapshot.
type SnapshotStatus ¶
type SnapshotStatus string
SnapshotStatus Indicates whether the source VM or volume is currently running on this snapshot:
- `active` — this snapshot is **in use**. The source VM/volume has been reverted to it and is running on it now. Deleting an active snapshot is blocked. - `""` (empty) — this snapshot is saved but **not in use**. The source has not been reverted to it (or has been reverted to a different snapshot since).
Only one snapshot per source can be `active` at a time. Calling [Restore Snapshot](#tag/Snapshots/operation/restoreSnapshot) flips that snapshot to `active` and clears the previous active one.
const ( SnapshotStatusActive SnapshotStatus = "active" SnapshotStatusEmpty SnapshotStatus = "" )
Defines values for SnapshotStatus.
func (SnapshotStatus) Valid ¶
func (e SnapshotStatus) Valid() bool
Valid indicates whether the value is a known member of the SnapshotStatus enum.
type SnapshotType ¶
type SnapshotType string
SnapshotType Snapshot source type
const ( SnapshotTypeVM SnapshotType = "vm" SnapshotTypeVolume SnapshotType = "volume" )
Defines values for SnapshotType.
func (SnapshotType) Valid ¶
func (e SnapshotType) Valid() bool
Valid indicates whether the value is a known member of the SnapshotType enum.
type StartVMParams ¶
type StartVMParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
StartVMParams defines parameters for StartVM.
type StartVMResponse ¶
type StartVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseStartVMResponse ¶
func ParseStartVMResponse(rsp *http.Response) (*StartVMResponse, error)
ParseStartVMResponse parses an HTTP response from a StartVMWithResponse call
func (StartVMResponse) Status ¶
func (r StartVMResponse) Status() string
Status returns HTTPResponse.Status
func (StartVMResponse) StatusCode ¶
func (r StartVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StopVMParams ¶
type StopVMParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
StopVMParams defines parameters for StopVM.
type StopVMResponse ¶
type StopVMResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *MissingProjectID
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseStopVMResponse ¶
func ParseStopVMResponse(rsp *http.Response) (*StopVMResponse, error)
ParseStopVMResponse parses an HTTP response from a StopVMWithResponse call
func (StopVMResponse) Status ¶
func (r StopVMResponse) Status() string
Status returns HTTPResponse.Status
func (StopVMResponse) StatusCode ¶
func (r StopVMResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StoragePricing ¶
type StoragePricing struct {
// ID Pricing record ID (present for volume pricing)
ID *int `json:"id,omitempty"`
// PricePerGbHour Price per GB per hour in USD
PricePerGbHour *float32 `json:"price_per_gb_hour,omitempty"`
// PricePerGbMonth Price per GB per month in USD
PricePerGbMonth *float32 `json:"price_per_gb_month,omitempty"`
// Region Region this pricing applies to
Region *StoragePricingRegion `json:"region,omitempty"`
// TwentyFourMonthPricePerGb 24-month commitment price per GB in USD
TwentyFourMonthPricePerGb *float32 `json:"twenty_four_month_price_per_gb,omitempty"`
// YearlyPricePerGb Yearly commitment price per GB in USD
YearlyPricePerGb *float32 `json:"yearly_price_per_gb,omitempty"`
}
StoragePricing Per-GB storage pricing
type StoragePricingRegion ¶
type StoragePricingRegion string
StoragePricingRegion Region this pricing applies to
const (
StoragePricingRegionUsEast StoragePricingRegion = "us-east"
)
Defines values for StoragePricingRegion.
func (StoragePricingRegion) Valid ¶
func (e StoragePricingRegion) Valid() bool
Valid indicates whether the value is a known member of the StoragePricingRegion enum.
type SuccessResponse ¶
type SuccessResponse struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
SuccessResponse defines model for SuccessResponse.
type Template ¶
type Template struct {
// Category Template category
Category TemplateCategory `json:"category"`
// CPU Minimum vCPU cores required
CPU int `json:"cpu"`
// Description Template description
Description *string `json:"description,omitempty"`
// ID Template ID — use as `template_id` when creating a VM
ID openapi_types.UUID `json:"id"`
// IsWindows Whether this is a Windows template (only available for premium VMs)
IsWindows bool `json:"is_windows"`
// Name OS name
Name string `json:"name"`
// OsType Operating system type
OsType string `json:"os_type"`
// RAM Minimum RAM in GB required
RAM int `json:"ram"`
// Region Region where this template is available
Region TemplateRegion `json:"region"`
// Storage Minimum storage in GB required
Storage int `json:"storage"`
// Version OS version
Version string `json:"version"`
}
Template defines model for Template.
type TemplateCategory ¶
type TemplateCategory string
TemplateCategory Template category
const ( TemplateCategoryMarketplace TemplateCategory = "marketplace" TemplateCategoryOs TemplateCategory = "os" )
Defines values for TemplateCategory.
func (TemplateCategory) Valid ¶
func (e TemplateCategory) Valid() bool
Valid indicates whether the value is a known member of the TemplateCategory enum.
type TemplateRegion ¶
type TemplateRegion string
TemplateRegion Region where this template is available
const (
TemplateRegionUsEast TemplateRegion = "us-east"
)
Defines values for TemplateRegion.
func (TemplateRegion) Valid ¶
func (e TemplateRegion) Valid() bool
Valid indicates whether the value is a known member of the TemplateRegion enum.
type UpdateAPIKeyJSONRequestBody ¶
type UpdateAPIKeyJSONRequestBody = UpdateAPIKeyRequest
UpdateAPIKeyJSONRequestBody defines body for UpdateAPIKey for application/json ContentType.
type UpdateAPIKeyRequest ¶
type UpdateAPIKeyRequest struct {
ExpiresAt *time.Time `json:"expires_at,omitempty"`
IsActive *bool `json:"is_active,omitempty"`
Name *string `json:"name,omitempty"`
RateLimitTier *UpdateAPIKeyRequestRateLimitTier `json:"rate_limit_tier,omitempty"`
}
UpdateAPIKeyRequest At least one field is required. To change the role, rotate to a new key — role at create time is frozen.
type UpdateAPIKeyRequestRateLimitTier ¶
type UpdateAPIKeyRequestRateLimitTier string
UpdateAPIKeyRequestRateLimitTier defines model for UpdateAPIKeyRequest.RateLimitTier.
const ( UpdateAPIKeyRequestRateLimitTierHigh UpdateAPIKeyRequestRateLimitTier = "high" UpdateAPIKeyRequestRateLimitTierStandard UpdateAPIKeyRequestRateLimitTier = "standard" )
Defines values for UpdateAPIKeyRequestRateLimitTier.
func (UpdateAPIKeyRequestRateLimitTier) Valid ¶
func (e UpdateAPIKeyRequestRateLimitTier) Valid() bool
Valid indicates whether the value is a known member of the UpdateAPIKeyRequestRateLimitTier enum.
type UpdateAPIKeyResponse ¶
type UpdateAPIKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *APIKey `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseUpdateAPIKeyResponse ¶
func ParseUpdateAPIKeyResponse(rsp *http.Response) (*UpdateAPIKeyResponse, error)
ParseUpdateAPIKeyResponse parses an HTTP response from a UpdateAPIKeyWithResponse call
func (UpdateAPIKeyResponse) Status ¶
func (r UpdateAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAPIKeyResponse) StatusCode ¶
func (r UpdateAPIKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAppSpendSettingsJSONBody ¶ added in v0.4.0
type UpdateAppSpendSettingsJSONBody struct {
CapAction *UpdateAppSpendSettingsJSONBodyCapAction `json:"cap_action,omitempty"`
Enabled bool `json:"enabled"`
MonthlyCapUsd float32 `json:"monthly_cap_usd"`
}
UpdateAppSpendSettingsJSONBody defines parameters for UpdateAppSpendSettings.
type UpdateAppSpendSettingsJSONBodyCapAction ¶ added in v0.4.0
type UpdateAppSpendSettingsJSONBodyCapAction string
UpdateAppSpendSettingsJSONBodyCapAction defines parameters for UpdateAppSpendSettings.
const (
Pause UpdateAppSpendSettingsJSONBodyCapAction = "pause"
)
Defines values for UpdateAppSpendSettingsJSONBodyCapAction.
func (UpdateAppSpendSettingsJSONBodyCapAction) Valid ¶ added in v0.4.0
func (e UpdateAppSpendSettingsJSONBodyCapAction) Valid() bool
Valid indicates whether the value is a known member of the UpdateAppSpendSettingsJSONBodyCapAction enum.
type UpdateAppSpendSettingsJSONRequestBody ¶ added in v0.4.0
type UpdateAppSpendSettingsJSONRequestBody UpdateAppSpendSettingsJSONBody
UpdateAppSpendSettingsJSONRequestBody defines body for UpdateAppSpendSettings for application/json ContentType.
type UpdateAppSpendSettingsResponse ¶ added in v0.4.0
type UpdateAppSpendSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Settings *AppSpendSettings `json:"settings,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseUpdateAppSpendSettingsResponse ¶ added in v0.4.0
func ParseUpdateAppSpendSettingsResponse(rsp *http.Response) (*UpdateAppSpendSettingsResponse, error)
ParseUpdateAppSpendSettingsResponse parses an HTTP response from a UpdateAppSpendSettingsWithResponse call
func (UpdateAppSpendSettingsResponse) Status ¶ added in v0.4.0
func (r UpdateAppSpendSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAppSpendSettingsResponse) StatusCode ¶ added in v0.4.0
func (r UpdateAppSpendSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateBackupScheduleJSONRequestBody ¶
type UpdateBackupScheduleJSONRequestBody = UpdateBackupScheduleRequest
UpdateBackupScheduleJSONRequestBody defines body for UpdateBackupSchedule for application/json ContentType.
type UpdateBackupScheduleParams ¶
type UpdateBackupScheduleParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpdateBackupScheduleParams defines parameters for UpdateBackupSchedule.
type UpdateBackupScheduleRequest ¶
type UpdateBackupScheduleRequest struct {
// DayOfWeek Required when `type` is `weekly`.
DayOfWeek *UpdateBackupScheduleRequestDayOfWeek `json:"day_of_week,omitempty"`
KeepCount *int `json:"keep_count,omitempty"`
Time *string `json:"time,omitempty"`
Type *UpdateBackupScheduleRequestType `json:"type,omitempty"`
}
UpdateBackupScheduleRequest defines model for UpdateBackupScheduleRequest.
type UpdateBackupScheduleRequestDayOfWeek ¶
type UpdateBackupScheduleRequestDayOfWeek string
UpdateBackupScheduleRequestDayOfWeek Required when `type` is `weekly`.
const ( UpdateBackupScheduleRequestDayOfWeekFriday UpdateBackupScheduleRequestDayOfWeek = "Friday" UpdateBackupScheduleRequestDayOfWeekMonday UpdateBackupScheduleRequestDayOfWeek = "Monday" UpdateBackupScheduleRequestDayOfWeekSaturday UpdateBackupScheduleRequestDayOfWeek = "Saturday" UpdateBackupScheduleRequestDayOfWeekSunday UpdateBackupScheduleRequestDayOfWeek = "Sunday" UpdateBackupScheduleRequestDayOfWeekThursday UpdateBackupScheduleRequestDayOfWeek = "Thursday" UpdateBackupScheduleRequestDayOfWeekTuesday UpdateBackupScheduleRequestDayOfWeek = "Tuesday" UpdateBackupScheduleRequestDayOfWeekWednesday UpdateBackupScheduleRequestDayOfWeek = "Wednesday" )
Defines values for UpdateBackupScheduleRequestDayOfWeek.
func (UpdateBackupScheduleRequestDayOfWeek) Valid ¶
func (e UpdateBackupScheduleRequestDayOfWeek) Valid() bool
Valid indicates whether the value is a known member of the UpdateBackupScheduleRequestDayOfWeek enum.
type UpdateBackupScheduleRequestType ¶
type UpdateBackupScheduleRequestType string
UpdateBackupScheduleRequestType defines model for UpdateBackupScheduleRequest.Type.
const ( Daily UpdateBackupScheduleRequestType = "daily" Weekly UpdateBackupScheduleRequestType = "weekly" )
Defines values for UpdateBackupScheduleRequestType.
func (UpdateBackupScheduleRequestType) Valid ¶
func (e UpdateBackupScheduleRequestType) Valid() bool
Valid indicates whether the value is a known member of the UpdateBackupScheduleRequestType enum.
type UpdateBackupScheduleResponse ¶
type UpdateBackupScheduleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *BackupSchedule `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseUpdateBackupScheduleResponse ¶
func ParseUpdateBackupScheduleResponse(rsp *http.Response) (*UpdateBackupScheduleResponse, error)
ParseUpdateBackupScheduleResponse parses an HTTP response from a UpdateBackupScheduleWithResponse call
func (UpdateBackupScheduleResponse) Status ¶
func (r UpdateBackupScheduleResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateBackupScheduleResponse) StatusCode ¶
func (r UpdateBackupScheduleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDatabaseJSONRequestBody ¶ added in v0.4.0
type UpdateDatabaseJSONRequestBody = UpdateDatabaseRequest
UpdateDatabaseJSONRequestBody defines body for UpdateDatabase for application/json ContentType.
type UpdateDatabaseRequest ¶ added in v0.4.0
type UpdateDatabaseRequest struct {
// Name New display name
Name string `json:"name"`
}
UpdateDatabaseRequest defines model for UpdateDatabaseRequest.
type UpdateDatabaseResponse ¶ added in v0.4.0
type UpdateDatabaseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Database A managed database instance. The private endpoint `{database_id}.db.raffusercloud.com` lives inside the attached VPC; public access is optional. TLS is always required.
Database *Database `json:"database,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateDatabaseResponse ¶ added in v0.4.0
func ParseUpdateDatabaseResponse(rsp *http.Response) (*UpdateDatabaseResponse, error)
ParseUpdateDatabaseResponse parses an HTTP response from a UpdateDatabaseWithResponse call
func (UpdateDatabaseResponse) Status ¶ added in v0.4.0
func (r UpdateDatabaseResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDatabaseResponse) StatusCode ¶ added in v0.4.0
func (r UpdateDatabaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFunctionJSONRequestBody ¶ added in v0.4.0
type UpdateFunctionJSONRequestBody = UpdateFunctionRequest
UpdateFunctionJSONRequestBody defines body for UpdateFunction for application/json ContentType.
type UpdateFunctionRequest ¶ added in v0.4.0
type UpdateFunctionRequest struct {
Description *string `json:"description,omitempty"`
ExtendedTimeout *bool `json:"extended_timeout,omitempty"`
MaxScale *int `json:"max_scale,omitempty"`
MemoryMb *int `json:"memory_mb,omitempty"`
MinScale *int `json:"min_scale,omitempty"`
TimeoutSeconds *int `json:"timeout_seconds,omitempty"`
}
UpdateFunctionRequest All fields optional — only provided fields change.
type UpdateFunctionResponse ¶ added in v0.4.0
type UpdateFunctionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
// Function A serverless function. Handlers are standard (ASGI / Web Fetch / net/http / any container listening on $PORT) — nothing Raff-specific.
Function *Function `json:"function,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateFunctionResponse ¶ added in v0.4.0
func ParseUpdateFunctionResponse(rsp *http.Response) (*UpdateFunctionResponse, error)
ParseUpdateFunctionResponse parses an HTTP response from a UpdateFunctionWithResponse call
func (UpdateFunctionResponse) Status ¶ added in v0.4.0
func (r UpdateFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFunctionResponse) StatusCode ¶ added in v0.4.0
func (r UpdateFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFunctionTriggerJSONBody ¶ added in v0.4.0
type UpdateFunctionTriggerJSONBody struct {
CronExpression *string `json:"cron_expression,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
PayloadJSON *string `json:"payload_json,omitempty"`
RunAt *time.Time `json:"run_at,omitempty"`
Timezone *string `json:"timezone,omitempty"`
}
UpdateFunctionTriggerJSONBody defines parameters for UpdateFunctionTrigger.
type UpdateFunctionTriggerJSONRequestBody ¶ added in v0.4.0
type UpdateFunctionTriggerJSONRequestBody UpdateFunctionTriggerJSONBody
UpdateFunctionTriggerJSONRequestBody defines body for UpdateFunctionTrigger for application/json ContentType.
type UpdateFunctionTriggerResponse ¶ added in v0.4.0
type UpdateFunctionTriggerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateFunctionTriggerResponse ¶ added in v0.4.0
func ParseUpdateFunctionTriggerResponse(rsp *http.Response) (*UpdateFunctionTriggerResponse, error)
ParseUpdateFunctionTriggerResponse parses an HTTP response from a UpdateFunctionTriggerWithResponse call
func (UpdateFunctionTriggerResponse) Status ¶ added in v0.4.0
func (r UpdateFunctionTriggerResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFunctionTriggerResponse) StatusCode ¶ added in v0.4.0
func (r UpdateFunctionTriggerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFunctionsSpendSettingsJSONBody ¶ added in v0.4.0
type UpdateFunctionsSpendSettingsJSONBody struct {
Enabled *bool `json:"enabled,omitempty"`
// MonthlyCapUsd Monthly maximum in USD (0–1,000,000)
MonthlyCapUsd *float32 `json:"monthly_cap_usd,omitempty"`
}
UpdateFunctionsSpendSettingsJSONBody defines parameters for UpdateFunctionsSpendSettings.
type UpdateFunctionsSpendSettingsJSONRequestBody ¶ added in v0.4.0
type UpdateFunctionsSpendSettingsJSONRequestBody UpdateFunctionsSpendSettingsJSONBody
UpdateFunctionsSpendSettingsJSONRequestBody defines body for UpdateFunctionsSpendSettings for application/json ContentType.
type UpdateFunctionsSpendSettingsResponse ¶ added in v0.4.0
type UpdateFunctionsSpendSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Settings *FunctionsSpendSettings `json:"settings,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
}
func ParseUpdateFunctionsSpendSettingsResponse ¶ added in v0.4.0
func ParseUpdateFunctionsSpendSettingsResponse(rsp *http.Response) (*UpdateFunctionsSpendSettingsResponse, error)
ParseUpdateFunctionsSpendSettingsResponse parses an HTTP response from a UpdateFunctionsSpendSettingsWithResponse call
func (UpdateFunctionsSpendSettingsResponse) Status ¶ added in v0.4.0
func (r UpdateFunctionsSpendSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFunctionsSpendSettingsResponse) StatusCode ¶ added in v0.4.0
func (r UpdateFunctionsSpendSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateK8SClusterMaintenanceJSONBody ¶ added in v0.4.0
type UpdateK8SClusterMaintenanceJSONBody struct {
// MaintenanceDay 0 (Sunday) to 6 (Saturday)
MaintenanceDay *int `json:"maintenance_day,omitempty"`
// MaintenanceStart Window start hour (UTC)
MaintenanceStart *int `json:"maintenance_start,omitempty"`
UpgradeMode UpdateK8SClusterMaintenanceJSONBodyUpgradeMode `json:"upgrade_mode"`
}
UpdateK8SClusterMaintenanceJSONBody defines parameters for UpdateK8SClusterMaintenance.
type UpdateK8SClusterMaintenanceJSONBodyUpgradeMode ¶ added in v0.4.0
type UpdateK8SClusterMaintenanceJSONBodyUpgradeMode string
UpdateK8SClusterMaintenanceJSONBodyUpgradeMode defines parameters for UpdateK8SClusterMaintenance.
const ( UpdateK8SClusterMaintenanceJSONBodyUpgradeModeAutoMinor UpdateK8SClusterMaintenanceJSONBodyUpgradeMode = "auto_minor" UpdateK8SClusterMaintenanceJSONBodyUpgradeModeAutoPatch UpdateK8SClusterMaintenanceJSONBodyUpgradeMode = "auto_patch" UpdateK8SClusterMaintenanceJSONBodyUpgradeModeManual UpdateK8SClusterMaintenanceJSONBodyUpgradeMode = "manual" )
Defines values for UpdateK8SClusterMaintenanceJSONBodyUpgradeMode.
func (UpdateK8SClusterMaintenanceJSONBodyUpgradeMode) Valid ¶ added in v0.4.0
func (e UpdateK8SClusterMaintenanceJSONBodyUpgradeMode) Valid() bool
Valid indicates whether the value is a known member of the UpdateK8SClusterMaintenanceJSONBodyUpgradeMode enum.
type UpdateK8SClusterMaintenanceJSONRequestBody ¶ added in v0.4.0
type UpdateK8SClusterMaintenanceJSONRequestBody UpdateK8SClusterMaintenanceJSONBody
UpdateK8SClusterMaintenanceJSONRequestBody defines body for UpdateK8SClusterMaintenance for application/json ContentType.
type UpdateK8SClusterMaintenanceParams ¶ added in v0.4.0
type UpdateK8SClusterMaintenanceParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpdateK8SClusterMaintenanceParams defines parameters for UpdateK8SClusterMaintenance.
type UpdateK8SClusterMaintenanceResponse ¶ added in v0.4.0
type UpdateK8SClusterMaintenanceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *Error
JSON404 *NotFound
}
func ParseUpdateK8SClusterMaintenanceResponse ¶ added in v0.4.0
func ParseUpdateK8SClusterMaintenanceResponse(rsp *http.Response) (*UpdateK8SClusterMaintenanceResponse, error)
ParseUpdateK8SClusterMaintenanceResponse parses an HTTP response from a UpdateK8SClusterMaintenanceWithResponse call
func (UpdateK8SClusterMaintenanceResponse) Status ¶ added in v0.4.0
func (r UpdateK8SClusterMaintenanceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateK8SClusterMaintenanceResponse) StatusCode ¶ added in v0.4.0
func (r UpdateK8SClusterMaintenanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateK8SMetalLBPoolJSONBody ¶ added in v0.4.0
type UpdateK8SMetalLBPoolJSONBody struct {
Size int `json:"size"`
}
UpdateK8SMetalLBPoolJSONBody defines parameters for UpdateK8SMetalLBPool.
type UpdateK8SMetalLBPoolJSONRequestBody ¶ added in v0.4.0
type UpdateK8SMetalLBPoolJSONRequestBody UpdateK8SMetalLBPoolJSONBody
UpdateK8SMetalLBPoolJSONRequestBody defines body for UpdateK8SMetalLBPool for application/json ContentType.
type UpdateK8SMetalLBPoolParams ¶ added in v0.4.0
type UpdateK8SMetalLBPoolParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpdateK8SMetalLBPoolParams defines parameters for UpdateK8SMetalLBPool.
type UpdateK8SMetalLBPoolResponse ¶ added in v0.4.0
type UpdateK8SMetalLBPoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Pool *K8SMetalLBPool `json:"pool,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseUpdateK8SMetalLBPoolResponse ¶ added in v0.4.0
func ParseUpdateK8SMetalLBPoolResponse(rsp *http.Response) (*UpdateK8SMetalLBPoolResponse, error)
ParseUpdateK8SMetalLBPoolResponse parses an HTTP response from a UpdateK8SMetalLBPoolWithResponse call
func (UpdateK8SMetalLBPoolResponse) Status ¶ added in v0.4.0
func (r UpdateK8SMetalLBPoolResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateK8SMetalLBPoolResponse) StatusCode ¶ added in v0.4.0
func (r UpdateK8SMetalLBPoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateK8SNodePoolJSONRequestBody ¶ added in v0.4.0
type UpdateK8SNodePoolJSONRequestBody = UpdateK8SNodePoolRequest
UpdateK8SNodePoolJSONRequestBody defines body for UpdateK8SNodePool for application/json ContentType.
type UpdateK8SNodePoolParams ¶ added in v0.4.0
type UpdateK8SNodePoolParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpdateK8SNodePoolParams defines parameters for UpdateK8SNodePool.
type UpdateK8SNodePoolRequest ¶ added in v0.4.0
type UpdateK8SNodePoolRequest struct {
AutoscaleEnabled *bool `json:"autoscale_enabled,omitempty"`
Labels *string `json:"labels,omitempty"`
MaxNodes *int `json:"max_nodes,omitempty"`
MinNodes *int `json:"min_nodes,omitempty"`
Taints *string `json:"taints,omitempty"`
}
UpdateK8SNodePoolRequest defines model for UpdateK8sNodePoolRequest.
type UpdateK8SNodePoolResponse ¶ added in v0.4.0
type UpdateK8SNodePoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
NodePool *K8SNodePool `json:"node_pool,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseUpdateK8SNodePoolResponse ¶ added in v0.4.0
func ParseUpdateK8SNodePoolResponse(rsp *http.Response) (*UpdateK8SNodePoolResponse, error)
ParseUpdateK8SNodePoolResponse parses an HTTP response from a UpdateK8SNodePoolWithResponse call
func (UpdateK8SNodePoolResponse) Status ¶ added in v0.4.0
func (r UpdateK8SNodePoolResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateK8SNodePoolResponse) StatusCode ¶ added in v0.4.0
func (r UpdateK8SNodePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMemberJSONRequestBody ¶
type UpdateMemberJSONRequestBody = UpdateMemberRequest
UpdateMemberJSONRequestBody defines body for UpdateMember for application/json ContentType.
type UpdateMemberRequest ¶
type UpdateMemberRequest struct {
RoleID *openapi_types.UUID `json:"role_id,omitempty"`
// Status Set `active` to re-enable a suspended member, or `suspended` to disable. `pending` cannot be set directly — that's reserved for invitation flow.
Status *UpdateMemberRequestStatus `json:"status,omitempty"`
}
UpdateMemberRequest At least one field is required.
type UpdateMemberRequestStatus ¶
type UpdateMemberRequestStatus string
UpdateMemberRequestStatus Set `active` to re-enable a suspended member, or `suspended` to disable. `pending` cannot be set directly — that's reserved for invitation flow.
const ( UpdateMemberRequestStatusActive UpdateMemberRequestStatus = "active" UpdateMemberRequestStatusSuspended UpdateMemberRequestStatus = "suspended" )
Defines values for UpdateMemberRequestStatus.
func (UpdateMemberRequestStatus) Valid ¶
func (e UpdateMemberRequestStatus) Valid() bool
Valid indicates whether the value is a known member of the UpdateMemberRequestStatus enum.
type UpdateMemberResponse ¶
type UpdateMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Member `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseUpdateMemberResponse ¶
func ParseUpdateMemberResponse(rsp *http.Response) (*UpdateMemberResponse, error)
ParseUpdateMemberResponse parses an HTTP response from a UpdateMemberWithResponse call
func (UpdateMemberResponse) Status ¶
func (r UpdateMemberResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateMemberResponse) StatusCode ¶
func (r UpdateMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProjectJSONRequestBody ¶
type UpdateProjectJSONRequestBody = UpdateProjectRequest
UpdateProjectJSONRequestBody defines body for UpdateProject for application/json ContentType.
type UpdateProjectMemberJSONRequestBody ¶
type UpdateProjectMemberJSONRequestBody = UpdateMemberRequest
UpdateProjectMemberJSONRequestBody defines body for UpdateProjectMember for application/json ContentType.
type UpdateProjectMemberResponse ¶
type UpdateProjectMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *ProjectMember `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON404 *NotFound
}
func ParseUpdateProjectMemberResponse ¶
func ParseUpdateProjectMemberResponse(rsp *http.Response) (*UpdateProjectMemberResponse, error)
ParseUpdateProjectMemberResponse parses an HTTP response from a UpdateProjectMemberWithResponse call
func (UpdateProjectMemberResponse) Status ¶
func (r UpdateProjectMemberResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProjectMemberResponse) StatusCode ¶
func (r UpdateProjectMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProjectRequest ¶
type UpdateProjectRequest struct {
// DefaultRegion Default region for resources
DefaultRegion *UpdateProjectRequestDefaultRegion `json:"default_region,omitempty"`
// Description Project description
Description *string `json:"description,omitempty"`
// Name Project name
Name *string `json:"name,omitempty"`
}
UpdateProjectRequest defines model for UpdateProjectRequest.
type UpdateProjectRequestDefaultRegion ¶
type UpdateProjectRequestDefaultRegion string
UpdateProjectRequestDefaultRegion Default region for resources
const (
UpdateProjectRequestDefaultRegionUsEast UpdateProjectRequestDefaultRegion = "us-east"
)
Defines values for UpdateProjectRequestDefaultRegion.
func (UpdateProjectRequestDefaultRegion) Valid ¶
func (e UpdateProjectRequestDefaultRegion) Valid() bool
Valid indicates whether the value is a known member of the UpdateProjectRequestDefaultRegion enum.
type UpdateProjectResponse ¶
type UpdateProjectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Project `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateProjectResponse ¶
func ParseUpdateProjectResponse(rsp *http.Response) (*UpdateProjectResponse, error)
ParseUpdateProjectResponse parses an HTTP response from a UpdateProjectWithResponse call
func (UpdateProjectResponse) Status ¶
func (r UpdateProjectResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProjectResponse) StatusCode ¶
func (r UpdateProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRoleJSONRequestBody ¶
type UpdateRoleJSONRequestBody = UpdateRoleRequest
UpdateRoleJSONRequestBody defines body for UpdateRole for application/json ContentType.
type UpdateRoleRequest ¶
type UpdateRoleRequest struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
Permissions *[]string `json:"permissions,omitempty"`
}
UpdateRoleRequest At least one field is required. Slug and scope cannot be changed after creation.
type UpdateRoleResponse ¶
type UpdateRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *Role `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseUpdateRoleResponse ¶
func ParseUpdateRoleResponse(rsp *http.Response) (*UpdateRoleResponse, error)
ParseUpdateRoleResponse parses an HTTP response from a UpdateRoleWithResponse call
func (UpdateRoleResponse) Status ¶
func (r UpdateRoleResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRoleResponse) StatusCode ¶
func (r UpdateRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSSHKeyJSONRequestBody ¶
type UpdateSSHKeyJSONRequestBody = UpdateSSHKeyRequest
UpdateSSHKeyJSONRequestBody defines body for UpdateSSHKey for application/json ContentType.
type UpdateSSHKeyRequest ¶
type UpdateSSHKeyRequest struct {
// Name New SSH key display name
Name string `json:"name"`
}
UpdateSSHKeyRequest defines model for UpdateSSHKeyRequest.
type UpdateSSHKeyResponse ¶
type UpdateSSHKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *SSHKey `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON404 *NotFound
}
func ParseUpdateSSHKeyResponse ¶
func ParseUpdateSSHKeyResponse(rsp *http.Response) (*UpdateSSHKeyResponse, error)
ParseUpdateSSHKeyResponse parses an HTTP response from a UpdateSSHKeyWithResponse call
func (UpdateSSHKeyResponse) Status ¶
func (r UpdateSSHKeyResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSSHKeyResponse) StatusCode ¶
func (r UpdateSSHKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSecurityGroupJSONRequestBody ¶
type UpdateSecurityGroupJSONRequestBody = UpdateSecurityGroupRequest
UpdateSecurityGroupJSONRequestBody defines body for UpdateSecurityGroup for application/json ContentType.
type UpdateSecurityGroupParams ¶
type UpdateSecurityGroupParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpdateSecurityGroupParams defines parameters for UpdateSecurityGroup.
type UpdateSecurityGroupRequest ¶
type UpdateSecurityGroupRequest struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
Rules *[]SecurityGroupRule `json:"rules,omitempty"`
}
UpdateSecurityGroupRequest At least one field is required. Passing `rules` replaces the entire rule set.
type UpdateSecurityGroupResponse ¶
type UpdateSecurityGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data A security group — a named set of inbound/outbound rules that can be attached to VM NICs.
Data *SecurityGroup `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateSecurityGroupResponse ¶
func ParseUpdateSecurityGroupResponse(rsp *http.Response) (*UpdateSecurityGroupResponse, error)
ParseUpdateSecurityGroupResponse parses an HTTP response from a UpdateSecurityGroupWithResponse call
func (UpdateSecurityGroupResponse) Status ¶
func (r UpdateSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSecurityGroupResponse) StatusCode ¶
func (r UpdateSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateVMNoteJSONRequestBody ¶
type UpdateVMNoteJSONRequestBody = UpsertVMNoteRequest
UpdateVMNoteJSONRequestBody defines body for UpdateVMNote for application/json ContentType.
type UpdateVMNoteParams ¶
type UpdateVMNoteParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpdateVMNoteParams defines parameters for UpdateVMNote.
type UpdateVMNoteParamsType ¶
type UpdateVMNoteParamsType string
UpdateVMNoteParamsType defines parameters for UpdateVMNote.
const ( UpdateVMNoteParamsTypeAccount UpdateVMNoteParamsType = "account" UpdateVMNoteParamsTypePersonal UpdateVMNoteParamsType = "personal" )
Defines values for UpdateVMNoteParamsType.
func (UpdateVMNoteParamsType) Valid ¶
func (e UpdateVMNoteParamsType) Valid() bool
Valid indicates whether the value is a known member of the UpdateVMNoteParamsType enum.
type UpdateVMNoteResponse ¶
type UpdateVMNoteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Note A free-form note attached to a VM. `personal` notes are visible only to the writer; `account` notes are shared across the account.
Note *VMNote `json:"note,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *Error
}
func ParseUpdateVMNoteResponse ¶
func ParseUpdateVMNoteResponse(rsp *http.Response) (*UpdateVMNoteResponse, error)
ParseUpdateVMNoteResponse parses an HTTP response from a UpdateVMNoteWithResponse call
func (UpdateVMNoteResponse) Status ¶
func (r UpdateVMNoteResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVMNoteResponse) StatusCode ¶
func (r UpdateVMNoteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateVMTagJSONRequestBody ¶
type UpdateVMTagJSONRequestBody = UpdateVMTagRequest
UpdateVMTagJSONRequestBody defines body for UpdateVMTag for application/json ContentType.
type UpdateVMTagParams ¶
type UpdateVMTagParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpdateVMTagParams defines parameters for UpdateVMTag.
type UpdateVMTagRequest ¶
type UpdateVMTagRequest struct {
// Name New tag name.
Name *string `json:"name,omitempty"`
// Priority New display priority.
Priority *int `json:"priority,omitempty"`
}
UpdateVMTagRequest At least one field is required.
type UpdateVMTagResponse ¶
type UpdateVMTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VMTagsResponse
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateVMTagResponse ¶
func ParseUpdateVMTagResponse(rsp *http.Response) (*UpdateVMTagResponse, error)
ParseUpdateVMTagResponse parses an HTTP response from a UpdateVMTagWithResponse call
func (UpdateVMTagResponse) Status ¶
func (r UpdateVMTagResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVMTagResponse) StatusCode ¶
func (r UpdateVMTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateVPCJSONRequestBody ¶
type UpdateVPCJSONRequestBody = UpdateVPCRequest
UpdateVPCJSONRequestBody defines body for UpdateVPC for application/json ContentType.
type UpdateVPCParams ¶
type UpdateVPCParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpdateVPCParams defines parameters for UpdateVPC.
type UpdateVPCRequest ¶
type UpdateVPCRequest struct {
// Description VPC description.
Description *string `json:"description,omitempty"`
// Name New VPC name.
Name *string `json:"name,omitempty"`
}
UpdateVPCRequest At least one field is required. CIDR cannot be changed after creation.
type UpdateVPCResponse ¶
type UpdateVPCResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Data A virtual private cloud (VPC).
Data *VPC `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateVPCResponse ¶
func ParseUpdateVPCResponse(rsp *http.Response) (*UpdateVPCResponse, error)
ParseUpdateVPCResponse parses an HTTP response from a UpdateVPCWithResponse call
func (UpdateVPCResponse) Status ¶
func (r UpdateVPCResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateVPCResponse) StatusCode ¶
func (r UpdateVPCResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeK8SClusterHAParams ¶ added in v0.4.0
type UpgradeK8SClusterHAParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpgradeK8SClusterHAParams defines parameters for UpgradeK8SClusterHA.
type UpgradeK8SClusterHAResponse ¶ added in v0.4.0
type UpgradeK8SClusterHAResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON404 *NotFound
JSON409 *Error
}
func ParseUpgradeK8SClusterHAResponse ¶ added in v0.4.0
func ParseUpgradeK8SClusterHAResponse(rsp *http.Response) (*UpgradeK8SClusterHAResponse, error)
ParseUpgradeK8SClusterHAResponse parses an HTTP response from a UpgradeK8SClusterHAWithResponse call
func (UpgradeK8SClusterHAResponse) Status ¶ added in v0.4.0
func (r UpgradeK8SClusterHAResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeK8SClusterHAResponse) StatusCode ¶ added in v0.4.0
func (r UpgradeK8SClusterHAResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeK8SClusterVersionJSONBody ¶ added in v0.4.0
type UpgradeK8SClusterVersionJSONBody struct {
// ConfirmSingleMaster Required true on non-HA clusters
ConfirmSingleMaster *bool `json:"confirm_single_master,omitempty"`
// VersionID Target from List available version upgrades
VersionID int `json:"version_id"`
}
UpgradeK8SClusterVersionJSONBody defines parameters for UpgradeK8SClusterVersion.
type UpgradeK8SClusterVersionJSONRequestBody ¶ added in v0.4.0
type UpgradeK8SClusterVersionJSONRequestBody UpgradeK8SClusterVersionJSONBody
UpgradeK8SClusterVersionJSONRequestBody defines body for UpgradeK8SClusterVersion for application/json ContentType.
type UpgradeK8SClusterVersionParams ¶ added in v0.4.0
type UpgradeK8SClusterVersionParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpgradeK8SClusterVersionParams defines parameters for UpgradeK8SClusterVersion.
type UpgradeK8SClusterVersionResponse ¶ added in v0.4.0
type UpgradeK8SClusterVersionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SuccessResponse
JSON400 *Error
JSON404 *NotFound
JSON412 *Error
}
func ParseUpgradeK8SClusterVersionResponse ¶ added in v0.4.0
func ParseUpgradeK8SClusterVersionResponse(rsp *http.Response) (*UpgradeK8SClusterVersionResponse, error)
ParseUpgradeK8SClusterVersionResponse parses an HTTP response from a UpgradeK8SClusterVersionWithResponse call
func (UpgradeK8SClusterVersionResponse) Status ¶ added in v0.4.0
func (r UpgradeK8SClusterVersionResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeK8SClusterVersionResponse) StatusCode ¶ added in v0.4.0
func (r UpgradeK8SClusterVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertVMNoteJSONRequestBody ¶
type UpsertVMNoteJSONRequestBody = UpsertVMNoteRequest
UpsertVMNoteJSONRequestBody defines body for UpsertVMNote for application/json ContentType.
type UpsertVMNoteParams ¶
type UpsertVMNoteParams struct {
// XProjectID Project ID. Required for all mutating operations (create, delete, power actions, resize).
XProjectID ProjectIDHeader `json:"X-Project-ID"`
}
UpsertVMNoteParams defines parameters for UpsertVMNote.
type UpsertVMNoteParamsType ¶
type UpsertVMNoteParamsType string
UpsertVMNoteParamsType defines parameters for UpsertVMNote.
const ( UpsertVMNoteParamsTypeAccount UpsertVMNoteParamsType = "account" UpsertVMNoteParamsTypePersonal UpsertVMNoteParamsType = "personal" )
Defines values for UpsertVMNoteParamsType.
func (UpsertVMNoteParamsType) Valid ¶
func (e UpsertVMNoteParamsType) Valid() bool
Valid indicates whether the value is a known member of the UpsertVMNoteParamsType enum.
type UpsertVMNoteRequest ¶
type UpsertVMNoteRequest struct {
// Content Note text. Pass an empty string to clear the note.
Content string `json:"content"`
}
UpsertVMNoteRequest defines model for UpsertVMNoteRequest.
type UpsertVMNoteResponse ¶
type UpsertVMNoteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Note A free-form note attached to a VM. `personal` notes are visible only to the writer; `account` notes are shared across the account.
Note *VMNote `json:"note,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *BadRequest
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpsertVMNoteResponse ¶
func ParseUpsertVMNoteResponse(rsp *http.Response) (*UpsertVMNoteResponse, error)
ParseUpsertVMNoteResponse parses an HTTP response from a UpsertVMNoteWithResponse call
func (UpsertVMNoteResponse) Status ¶
func (r UpsertVMNoteResponse) Status() string
Status returns HTTPResponse.Status
func (UpsertVMNoteResponse) StatusCode ¶
func (r UpsertVMNoteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VM ¶
type VM struct {
// Active Whether the VM is active
Active bool `json:"active"`
// AddedStorage Additional storage in GB
AddedStorage int `json:"added_storage"`
// BackupType Backup schedule type
BackupType *string `json:"backup_type,omitempty"`
// BillingType Billing type for this VM
BillingType *VMBillingType `json:"billing_type,omitempty"`
// CPU Number of vCPU cores
CPU int `json:"cpu"`
CreatedAt time.Time `json:"created_at"`
// CreatedBy User ID who created this VM
CreatedBy *string `json:"created_by,omitempty"`
// ID Unique VM identifier
ID openapi_types.UUID `json:"id"`
// Name VM display name
Name string `json:"name"`
// PricePerHour Hourly billing rate in USD
PricePerHour string `json:"price_per_hour"`
// PricingID Pricing plan ID
PricingID int `json:"pricing_id"`
// PrivateIpv4Address Private IPv4 address (VPC)
PrivateIpv4Address *string `json:"private_ipv4_address,omitempty"`
// PrivateIpv6Address Private IPv6 address
PrivateIpv6Address *string `json:"private_ipv6_address,omitempty"`
// ProjectID Project this VM belongs to
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
// PublicIpv4Address Public IPv4 address
PublicIpv4Address *string `json:"public_ipv4_address,omitempty"`
// PublicIpv6Address Public IPv6 address
PublicIpv6Address *string `json:"public_ipv6_address,omitempty"`
// RAM RAM in GB
RAM int `json:"ram"`
// Region Data center region
Region VMRegion `json:"region"`
// Status Current VM status. Lifecycle transitions:
// - Creation: `initiating` → `provisioning` → `booting` → `active`
// - Stop: `active` → `finalizing` → `passive`
// - Start: `passive` → `booting` → `active`
// - Reboot: `active` → `booting` → `active`
//
// | Status | Meaning | Billable |
// |--------|---------|----------|
// | `initiating` | Queued, initial setup before provisioning | Yes |
// | `provisioning` | VM being created in the hypervisor | Yes |
// | `booting` | VM starting up | Yes |
// | `active` | Running and accessible | Yes |
// | `passive` | Stopped, resources still reserved | Yes |
// | `finalizing` | Shutting down | Yes |
// | `failure` | Creation or operation failed | No |
Status VMStatus `json:"status"`
// Storage Base storage in GB
Storage int `json:"storage"`
// SubscriptionID Subscription ID if billing_type is subscription
SubscriptionID *openapi_types.UUID `json:"subscription_id,omitempty"`
// Tags Custom tags
Tags *[]VMTag `json:"tags,omitempty"`
// TemplateID OS template ID used to create this VM
TemplateID openapi_types.UUID `json:"template_id"`
// TemplateName OS template name
TemplateName string `json:"template_name"`
// TemplateVersion OS template version
TemplateVersion string `json:"template_version"`
// TotalStorage Total storage (base + added) in GB
TotalStorage int `json:"total_storage"`
UpdatedAt time.Time `json:"updated_at"`
// Version VM version
Version *string `json:"version,omitempty"`
}
VM defines model for VM.
type VMBillingType ¶
type VMBillingType string
VMBillingType Billing type for this VM
const ( VMBillingTypePayg VMBillingType = "payg" VMBillingTypeSubscription VMBillingType = "subscription" )
Defines values for VMBillingType.
func (VMBillingType) Valid ¶
func (e VMBillingType) Valid() bool
Valid indicates whether the value is a known member of the VMBillingType enum.
type VMImage ¶
type VMImage struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Description *string `json:"description,omitempty"`
// ID Image ID — use as `template_id` when creating a VM.
ID openapi_types.UUID `json:"id"`
IsWindows *bool `json:"is_windows,omitempty"`
// Name Image name.
Name string `json:"name"`
OsType *string `json:"os_type,omitempty"`
Region VMImageRegion `json:"region"`
Version *string `json:"version,omitempty"`
}
VMImage A custom OS image saved from a VM disk. Use `id` as `template_id` when creating new VMs.
type VMImageRegion ¶
type VMImageRegion string
VMImageRegion defines model for VMImage.Region.
const (
VMImageRegionUsEast VMImageRegion = "us-east"
)
Defines values for VMImageRegion.
func (VMImageRegion) Valid ¶
func (e VMImageRegion) Valid() bool
Valid indicates whether the value is a known member of the VMImageRegion enum.
type VMNetwork ¶
type VMNetwork struct {
// Gateway Gateway IP for this interface.
Gateway *string `json:"gateway,omitempty"`
// IP IP address assigned to the interface (IPv4 or IPv6 depending on `type`).
IP string `json:"ip"`
// IsPrimary True for the VM's primary public IPv4 interface. A VM has at most one primary IPv4; additional public IPv4s report `false`.
IsPrimary *bool `json:"is_primary,omitempty"`
// Mac MAC address of the interface. Stable for the lifetime of the VM — useful for static DHCP, packet captures, and disambiguating multiple NICs in scripts.
Mac *string `json:"mac,omitempty"`
// NetworkName Network name.
NetworkName string `json:"network_name"`
// NicID Interface ID. Use this when detaching from a VPC, IP, or security group.
NicID int `json:"nic_id"`
// SecurityGroupID ID of the security group attached to this NIC, if any.
SecurityGroupID *openapi_types.UUID `json:"security_group_id,omitempty"`
// Type Interface type:
// - `public` — public IPv4 address
// - `vpc` — private IPv4 inside a VPC
// - `ipv6` — public IPv6 address
Type VMNetworkType `json:"type"`
}
VMNetwork A network interface attached to a VM.
type VMNetworkType ¶
type VMNetworkType string
VMNetworkType Interface type: - `public` — public IPv4 address - `vpc` — private IPv4 inside a VPC - `ipv6` — public IPv6 address
const ( VMNetworkTypeIpv6 VMNetworkType = "ipv6" VMNetworkTypePublic VMNetworkType = "public" VMNetworkTypeVpc VMNetworkType = "vpc" )
Defines values for VMNetworkType.
func (VMNetworkType) Valid ¶
func (e VMNetworkType) Valid() bool
Valid indicates whether the value is a known member of the VMNetworkType enum.
type VMNote ¶
type VMNote struct {
// Content Note text.
Content string `json:"content"`
CreatedAt time.Time `json:"created_at"`
// ID Note identifier.
ID openapi_types.UUID `json:"id"`
// Type Note scope.
Type VMNoteType `json:"type"`
UpdatedAt time.Time `json:"updated_at"`
// UserID User who wrote the note.
UserID openapi_types.UUID `json:"user_id"`
// VMID VM this note belongs to.
VMID openapi_types.UUID `json:"vm_id"`
}
VMNote A free-form note attached to a VM. `personal` notes are visible only to the writer; `account` notes are shared across the account.
type VMNoteType ¶
type VMNoteType string
VMNoteType Note scope.
const ( VMNoteTypeAccount VMNoteType = "account" VMNoteTypePersonal VMNoteType = "personal" )
Defines values for VMNoteType.
func (VMNoteType) Valid ¶
func (e VMNoteType) Valid() bool
Valid indicates whether the value is a known member of the VMNoteType enum.
type VMNotesResponse ¶
type VMNotesResponse struct {
// AccountNote A free-form note attached to a VM. `personal` notes are visible only to the writer; `account` notes are shared across the account.
AccountNote *VMNote `json:"account_note,omitempty"`
// PersonalNote A free-form note attached to a VM. `personal` notes are visible only to the writer; `account` notes are shared across the account.
PersonalNote *VMNote `json:"personal_note,omitempty"`
Success bool `json:"success"`
}
VMNotesResponse Personal and account notes for a VM. Either or both may be present.
type VMPricingPlan ¶
type VMPricingPlan struct {
// ID Plan ID — use as `pricing_id` when creating a VM
ID int `json:"id"`
// MemoryGib RAM in GiB
MemoryGib int `json:"memory_gib"`
// MonthlyPrice Monthly price in USD
MonthlyPrice float32 `json:"monthly_price"`
// OutOfStock Whether this plan is currently sold out. Informational only — the plan is still listed and can be ordered.
OutOfStock *bool `json:"out_of_stock,omitempty"`
// PricePerHour Hourly price in USD (pay-as-you-go)
PricePerHour float32 `json:"price_per_hour"`
// Region Region this plan is available in
Region VMPricingPlanRegion `json:"region"`
// SsdGib SSD storage in GiB
SsdGib int `json:"ssd_gib"`
// TransferGib Monthly data transfer in GiB
TransferGib int `json:"transfer_gib"`
// TwentyFourMonthPrice 24-month commitment price in USD (total for 24 months)
TwentyFourMonthPrice float32 `json:"twenty_four_month_price"`
// Vcpu Number of vCPU cores
Vcpu int `json:"vcpu"`
// VMType VM type
VMType VMPricingPlanVMType `json:"vm_type"`
// YearlyPrice Yearly commitment price in USD (total for 12 months)
YearlyPrice float32 `json:"yearly_price"`
}
VMPricingPlan defines model for VMPricingPlan.
type VMPricingPlanRegion ¶
type VMPricingPlanRegion string
VMPricingPlanRegion Region this plan is available in
const (
VMPricingPlanRegionUsEast VMPricingPlanRegion = "us-east"
)
Defines values for VMPricingPlanRegion.
func (VMPricingPlanRegion) Valid ¶
func (e VMPricingPlanRegion) Valid() bool
Valid indicates whether the value is a known member of the VMPricingPlanRegion enum.
type VMPricingPlanVMType ¶
type VMPricingPlanVMType string
VMPricingPlanVMType VM type
const ( VMPricingPlanVMTypePremium VMPricingPlanVMType = "premium" VMPricingPlanVMTypeStandard VMPricingPlanVMType = "standard" VMPricingPlanVMTypeWindows VMPricingPlanVMType = "windows" )
Defines values for VMPricingPlanVMType.
func (VMPricingPlanVMType) Valid ¶
func (e VMPricingPlanVMType) Valid() bool
Valid indicates whether the value is a known member of the VMPricingPlanVMType enum.
type VMRegion ¶
type VMRegion string
VMRegion Data center region
const (
VMRegionUsEast VMRegion = "us-east"
)
Defines values for VMRegion.
type VMStatus ¶
type VMStatus string
VMStatus Current VM status. Lifecycle transitions: - Creation: `initiating` → `provisioning` → `booting` → `active` - Stop: `active` → `finalizing` → `passive` - Start: `passive` → `booting` → `active` - Reboot: `active` → `booting` → `active`
| Status | Meaning | Billable | |--------|---------|----------| | `initiating` | Queued, initial setup before provisioning | Yes | | `provisioning` | VM being created in the hypervisor | Yes | | `booting` | VM starting up | Yes | | `active` | Running and accessible | Yes | | `passive` | Stopped, resources still reserved | Yes | | `finalizing` | Shutting down | Yes | | `failure` | Creation or operation failed | No |
const ( VMStatusActive VMStatus = "active" VMStatusBooting VMStatus = "booting" VMStatusFailure VMStatus = "failure" VMStatusFinalizing VMStatus = "finalizing" VMStatusInitiating VMStatus = "initiating" VMStatusPassive VMStatus = "passive" VMStatusProvisioning VMStatus = "provisioning" )
Defines values for VMStatus.
type VMTag ¶
type VMTag struct {
// CreatedAt When the tag was created
CreatedAt time.Time `json:"created_at"`
// ID Unique tag identifier
ID string `json:"id"`
// Name Tag name
Name string `json:"name"`
// Priority Tag priority (ordering)
Priority int `json:"priority"`
}
VMTag Custom tag attached to a VM.
type VMTagsResponse ¶
VMTagsResponse Returns the full updated tag list for the VM.
type VPC ¶
type VPC struct {
// AccountID Account this VPC belongs to.
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
// Cidr CIDR block for the VPC.
Cidr string `json:"cidr"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// DNS DNS server IP for the VPC.
DNS *string `json:"dns,omitempty"`
// Gateway Gateway IP for the VPC.
Gateway *string `json:"gateway,omitempty"`
// GatewayType Gateway type (e.g. `none`, `nat`).
GatewayType *string `json:"gateway_type,omitempty"`
// ID VPC identifier.
ID openapi_types.UUID `json:"id"`
// Name VPC display name.
Name string `json:"name"`
// ProjectID Project this VPC belongs to.
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
// Region Region where the VPC lives.
Region VPCRegion `json:"region"`
// RouterPublicIP Public IP of the VPC gateway, if a gateway is enabled.
RouterPublicIP *string `json:"router_public_ip,omitempty"`
// RouterStatus Gateway router status.
RouterStatus *string `json:"router_status,omitempty"`
// Status VPC lifecycle status.
Status string `json:"status"`
// TotalIps Total addressable IPs in the VPC.
TotalIps *int `json:"total_ips,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// UsedIps IPs currently leased to VMs.
UsedIps *int `json:"used_ips,omitempty"`
}
VPC A virtual private cloud (VPC).
type VPCDetail ¶
type VPCDetail struct {
// IPRangeEnd Last IP in the VPC's allocatable range
IPRangeEnd *string `json:"ip_range_end,omitempty"`
// IPRangeStart First IP in the VPC's allocatable range
IPRangeStart *string `json:"ip_range_start,omitempty"`
// Leases Active IP leases on the VPC. Empty when no VMs are attached.
Leases *[]VPCLease `json:"leases,omitempty"`
// Vpc A virtual private cloud (VPC).
Vpc VPC `json:"vpc"`
}
VPCDetail Detail wrapper returned by `GET /api/v1/vpcs/{id}`. Contains the core VPC under `vpc`, plus the configured IP range and the current set of IP leases (one entry per attached network interface).
type VPCLease ¶
type VPCLease struct {
// IP Leased IP address
IP string `json:"ip"`
// NicID NIC interface ID on the leased VM. Pair with `GET /api/v1/vms/{id}/networks` to identify the owning interface.
NicID int `json:"nic_id"`
}
VPCLease A single IP lease on the VPC.
type VPCRegion ¶
type VPCRegion string
VPCRegion Region where the VPC lives.
const (
VPCRegionUsEast VPCRegion = "us-east"
)
Defines values for VPCRegion.
type Volume ¶
type Volume struct {
// AccountID Account that owns the volume
AccountID *openapi_types.UUID `json:"account_id,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
// ID Volume ID. Use this in `/volumes/{id}` for get, delete, attach, detach, resize.
ID int `json:"id"`
// Name Volume display name
Name string `json:"name"`
// PricePerHour Hourly billing rate in USD
PricePerHour *string `json:"price_per_hour,omitempty"`
// ProductVM UUID of the VM the volume is currently attached to. Empty when detached.
ProductVM *openapi_types.UUID `json:"product_vm,omitempty"`
// ProjectID Project the volume belongs to
ProjectID *openapi_types.UUID `json:"project_id,omitempty"`
Region *VolumeRegion `json:"region,omitempty"`
// Size Volume size in GB
Size int `json:"size"`
// Status Volume lifecycle status:
// - `creating` — being provisioned on the hypervisor
// - `available` — ready, not attached to any VM
// - `attached` — attached to a VM (see `product_vm`)
// - `deleting` — being torn down
// - `failed` — creation or attach failed
Status VolumeStatus `json:"status"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// VolumeType Storage class
VolumeType VolumeVolumeType `json:"volume_type"`
}
Volume defines model for Volume.
type VolumeRegion ¶
type VolumeRegion string
VolumeRegion defines model for Volume.Region.
const (
VolumeRegionUsEast VolumeRegion = "us-east"
)
Defines values for VolumeRegion.
func (VolumeRegion) Valid ¶
func (e VolumeRegion) Valid() bool
Valid indicates whether the value is a known member of the VolumeRegion enum.
type VolumeStatus ¶
type VolumeStatus string
VolumeStatus Volume lifecycle status: - `creating` — being provisioned on the hypervisor - `available` — ready, not attached to any VM - `attached` — attached to a VM (see `product_vm`) - `deleting` — being torn down - `failed` — creation or attach failed
const ( Attached VolumeStatus = "attached" Available VolumeStatus = "available" Creating VolumeStatus = "creating" Deleting VolumeStatus = "deleting" Failed VolumeStatus = "failed" )
Defines values for VolumeStatus.
func (VolumeStatus) Valid ¶
func (e VolumeStatus) Valid() bool
Valid indicates whether the value is a known member of the VolumeStatus enum.
type VolumeVolumeType ¶
type VolumeVolumeType string
VolumeVolumeType Storage class
const (
VolumeVolumeTypeNvme VolumeVolumeType = "nvme"
)
Defines values for VolumeVolumeType.
func (VolumeVolumeType) Valid ¶
func (e VolumeVolumeType) Valid() bool
Valid indicates whether the value is a known member of the VolumeVolumeType enum.