rdb

package
v2.63.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown    = engineFamily("Unknown")
	PostgreSQL = engineFamily("PostgreSQL")
	MySQL      = engineFamily("MySQL")
)

Variables

This section is empty.

Functions

func GetCommands

func GetCommands() *core.Commands

func GetGeneratedCommands

func GetGeneratedCommands() *core.Commands

Types

type CreateInstanceResult added in v2.28.0

type CreateInstanceResult struct {
	*rdbSDK.Instance
	Password string `json:"password"`
}

type CustomACLResult added in v2.28.0

type CustomACLResult struct {
	Rules   []*rdb.ACLRule
	Success core.SuccessResult
}

type FetchInstances added in v2.63.0

type FetchInstances struct{}

func (*FetchInstances) Fetch added in v2.63.0

func (f *FetchInstances) Fetch(
	ctx context.Context,
	region scw.Region,
	projectID string,
) ([]fetch.ResourceResult, error)

Fetch fetches all RDB instances in a given region.

func (*FetchInstances) LocalityType added in v2.63.0

func (f *FetchInstances) LocalityType() fetch.LocalityType

func (*FetchInstances) Namespace added in v2.63.0

func (f *FetchInstances) Namespace() string

func (*FetchInstances) Resource added in v2.63.0

func (f *FetchInstances) Resource() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL