{"modulePath":"github.com/render-oss/cli","version":"v1.1.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package client\n\nPackage client provides primitives to interact with the openapi HTTP API.\n\nCode generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.\n\n## Types\n\n```go\ntype PostgresBackup struct {\n\tCreatedAt time.Time `json:\"createdAt\"`\n\tId        string    `json:\"id\"`\n\n\t// Url URL to download the Postgres backup\n\tUrl *string `json:\"url,omitempty\"`\n}\n```\nPostgresBackup defines model for postgresBackup.\n\n```go\ntype PostgresPlans string\n```\nPostgresPlans defines model for postgresPlans.\n\n```go\nconst (\n\tAccelerated1024gb PostgresPlans = \"accelerated_1024gb\"\n\tAccelerated128gb  PostgresPlans = \"accelerated_128gb\"\n\tAccelerated16gb   PostgresPlans = \"accelerated_16gb\"\n\tAccelerated256gb  PostgresPlans = \"accelerated_256gb\"\n\tAccelerated32gb   PostgresPlans = \"accelerated_32gb\"\n\tAccelerated384gb  PostgresPlans = \"accelerated_384gb\"\n\tAccelerated512gb  PostgresPlans = \"accelerated_512gb\"\n\tAccelerated64gb   PostgresPlans = \"accelerated_64gb\"\n\tAccelerated768gb  PostgresPlans = \"accelerated_768gb\"\n\tBasic1gb          PostgresPlans = \"basic_1gb\"\n\tBasic256mb        PostgresPlans = \"basic_256mb\"\n\tBasic4gb          PostgresPlans = \"basic_4gb\"\n\tCustom            PostgresPlans = \"custom\"\n\tFree              PostgresPlans = \"free\"\n\tPro               PostgresPlans = \"pro\"\n\tPro128gb          PostgresPlans = \"pro_128gb\"\n\tPro16gb           PostgresPlans = \"pro_16gb\"\n\tPro192gb          PostgresPlans = \"pro_192gb\"\n\tPro256gb          PostgresPlans = \"pro_256gb\"\n\tPro32gb           PostgresPlans = \"pro_32gb\"\n\tPro384gb          PostgresPlans = \"pro_384gb\"\n\tPro4gb            PostgresPlans = \"pro_4gb\"\n\tPro512gb          PostgresPlans = \"pro_512gb\"\n\tPro64gb           PostgresPlans = \"pro_64gb\"\n\tPro8gb            PostgresPlans = \"pro_8gb\"\n\tProPlus           PostgresPlans = \"pro_plus\"\n\tStandard          PostgresPlans = \"standard\"\n\tStarter           PostgresPlans = \"starter\"\n)\n```\nDefines values for PostgresPlans.\n\n```go\ntype RecoveryInfo struct {\n\t// RecoveryStatus Availability of point-in-time recovery.\n\tRecoveryStatus RecoveryInfoRecoveryStatus `json:\"recoveryStatus\"`\n\tStartsAt       *time.Time                 `json:\"startsAt,omitempty\"`\n}\n```\nRecoveryInfo defines model for recoveryInfo.\n\n```go\ntype RecoveryInfoRecoveryStatus string\n```\nRecoveryInfoRecoveryStatus Availability of point-in-time recovery.\n\n```go\nconst (\n\tAVAILABLE      RecoveryInfoRecoveryStatus = \"AVAILABLE\"\n\tBACKUPNOTREADY RecoveryInfoRecoveryStatus = \"BACKUP_NOT_READY\"\n\tNOTAVAILABLE   RecoveryInfoRecoveryStatus = \"NOT_AVAILABLE\"\n)\n```\nDefines values for RecoveryInfoRecoveryStatus.\n\n```go\ntype RecoveryInput struct {\n\t// DatadogApiKey Datadog API key to use for monitoring the new database. Defaults to the API key of the original database. Use an empty string to prevent copying of the API key to the new database.\n\tDatadogApiKey *string `json:\"datadogApiKey,omitempty\"`\n\n\t// EnvironmentId The environment to create the new database in. Defaults to the environment of the original database.\n\tEnvironmentId *string `json:\"environmentId,omitempty\"`\n\n\t// Plan The plan to use for the new database. Defaults to the same plan as the original database. Cannot be a lower tier plan than the original database.\n\tPlan *string `json:\"plan,omitempty\"`\n\n\t// RestoreName Name of the new database.\n\tRestoreName *string `json:\"restoreName,omitempty\"`\n\n\t// RestoreTime The point in time to restore the database to. See `/recovery-info` for restore availability\n\tRestoreTime time.Time `json:\"restoreTime\"`\n}\n```\nRecoveryInput defines model for recoveryInput.\n\n","path":"github.com/render-oss/cli/pkg/client/postgres","name":"client","synopsis":"Package client provides primitives to interact with the openapi HTTP API.","isRedistributable":true}
