type MigrateSetup struct {
*Migrate Tier string `name:"tier" usage:"The |TIER| of the new instance."`
DiskAutoResize bool `name:"disk-auto-resize" usage:"Enable automatic disk resizing for the new instance."`
DiskSize int `name:"disk-size" usage:"The |DISK_SIZE| of the new instance."`
InstanceType string `name:"instance-type" usage:"The |TYPE| of the new instance."`
NoWait bool `name:"no-wait" usage:"Do not wait for the job to complete."`
}
type Postgres struct {
*root.Flags Namespace Namespace `name:"namespace" short:"n" usage:"The kubernetes |NAMESPACE| to use. Defaults to current namespace."`
Context Context `name:"context" short:"c" usage:"The kubeconfig |CONTEXT| to use. Defaults to current context."`
}
type Prepare struct {
*Postgres AllPrivileges bool `name:"all-privileges" usage:"Grant all privileges on the schema to the current user."`
Schema string `name:"schema" usage:"Schema to grant access to."`
}
type Proxy struct {
*Postgres Port uint `name:"port" short:"p" usage:"Port to use for the proxy. Defaults to 5432."`
Host string `name:"host" short:"H" usage:"Host to proxy to. Defaults to localhost."`
}