Documentation
¶
Overview ¶
Package observability is the resource module for backups, migrations, and resource synchronization.
Backups: POST /api/v2/tenant/backup/create
GET /api/v2/tenant/backup/list POST /api/v2/tenant/backup/restore
Migrations: POST /api/v2/tenant/migrations/plan
POST /api/v2/tenant/migrations/execute
Synchronize:POST /api/v2/tenant/resources/synchronize/batch
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backups ¶
func (*Backups) Restore ¶
func (b *Backups) Restore(ctx context.Context, in RestoreBackupInput) (*RestoreResult, error)
Restore a resource from an existing backup snapshot.
type BatchSyncInput ¶
type Client ¶
Client is the entry point. Construct via c.Observability().
func (*Client) Migrations ¶
func (c *Client) Migrations() *Migrations
Migrations returns the migrations sub-module.
type CreateBackupInput ¶
type ExecuteMigrationInput ¶
type MigrationPlan ¶
type Migrations ¶
func (*Migrations) Execute ¶
func (m *Migrations) Execute(ctx context.Context, in ExecuteMigrationInput) (map[string]interface{}, error)
Execute a previously-planned migration.
func (*Migrations) Plan ¶
func (m *Migrations) Plan(ctx context.Context, in PlanMigrationInput) (*MigrationPlan, error)
Plan a migration of resources between providers/regions.
type PlanMigrationInput ¶
type RestoreBackupInput ¶
type RestoreResult ¶
Click to show internal directories.
Click to hide internal directories.