Documentation ¶
Index ¶
- func NewHandler(authCreds auth.YdbCredentials) resources.Handler
- func PrepareAlterRequest(diff *tableDiff) string
- func PrepareCreateRequest(r *Resource) string
- func PrepareDropTableRequest(tableName string) string
- type Column
- type Family
- type Index
- type PartitionAtKeys
- type PartitioningSettings
- type PrimaryKey
- type ReplicationSettings
- type Resource
- type TTL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(authCreds auth.YdbCredentials) resources.Handler
func PrepareAlterRequest ¶
func PrepareAlterRequest(diff *tableDiff) string
func PrepareCreateRequest ¶
func PrepareDropTableRequest ¶
Types ¶
type PartitionAtKeys ¶
type PartitionAtKeys struct {
Keys []interface{}
}
type PartitioningSettings ¶
type PrimaryKey ¶
type PrimaryKey struct {
Columns []string
}
type ReplicationSettings ¶
type ReplicationSettings struct {
ReadReplicasSettings string
}
type Resource ¶
type Resource struct { Entity *helpers.YDBEntity FullPath string Path string DatabaseEndpoint string Attributes map[string]string Family []*Family Columns []*Column PrimaryKey *PrimaryKey TTL *TTL ReplicationSettings *ReplicationSettings PartitioningSettings *PartitioningSettings EnableBloomFilter *bool }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.