Documentation
¶
Index ¶
- Variables
- type Config
- type Config_builder
- type TableGroupSpec
- func (x *TableGroupSpec) GetAdmins() []string
- func (x *TableGroupSpec) GetName() string
- func (x *TableGroupSpec) GetReaders() []string
- func (x *TableGroupSpec) GetTableNamesOrPrefixes() []string
- func (x *TableGroupSpec) GetWriters() []string
- func (*TableGroupSpec) ProtoMessage()
- func (x *TableGroupSpec) ProtoReflect() protoreflect.Message
- func (x *TableGroupSpec) Reset()
- func (x *TableGroupSpec) SetAdmins(v []string)
- func (x *TableGroupSpec) SetName(v string)
- func (x *TableGroupSpec) SetReaders(v []string)
- func (x *TableGroupSpec) SetTableNamesOrPrefixes(v []string)
- func (x *TableGroupSpec) SetWriters(v []string)
- func (x *TableGroupSpec) String() string
- type TableGroupSpec_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_vitess_tableacl_dev_tableacl_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
TableGroups []*TableGroupSpec `protobuf:"bytes,1,rep,name=table_groups,json=tableGroups,proto3" json:"table_groups,omitempty"`
// contains filtered or unexported fields
}
func (*Config) GetTableGroups ¶
func (x *Config) GetTableGroups() []*TableGroupSpec
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) SetTableGroups ¶
func (x *Config) SetTableGroups(v []*TableGroupSpec)
type Config_builder ¶
type Config_builder struct {
TableGroups []*TableGroupSpec
// contains filtered or unexported fields
}
func (Config_builder) Build ¶
func (b0 Config_builder) Build() *Config
type TableGroupSpec ¶
type TableGroupSpec struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// either tables or a table name prefixes (if it ends in a %)
TableNamesOrPrefixes []string `protobuf:"bytes,2,rep,name=table_names_or_prefixes,json=tableNamesOrPrefixes,proto3" json:"table_names_or_prefixes,omitempty"`
Readers []string `protobuf:"bytes,3,rep,name=readers,proto3" json:"readers,omitempty"`
Writers []string `protobuf:"bytes,4,rep,name=writers,proto3" json:"writers,omitempty"`
Admins []string `protobuf:"bytes,5,rep,name=admins,proto3" json:"admins,omitempty"`
// contains filtered or unexported fields
}
TableGroupSpec defines ACLs for a group of tables.
func (*TableGroupSpec) GetAdmins ¶
func (x *TableGroupSpec) GetAdmins() []string
func (*TableGroupSpec) GetName ¶
func (x *TableGroupSpec) GetName() string
func (*TableGroupSpec) GetReaders ¶
func (x *TableGroupSpec) GetReaders() []string
func (*TableGroupSpec) GetTableNamesOrPrefixes ¶
func (x *TableGroupSpec) GetTableNamesOrPrefixes() []string
func (*TableGroupSpec) GetWriters ¶
func (x *TableGroupSpec) GetWriters() []string
func (*TableGroupSpec) ProtoMessage ¶
func (*TableGroupSpec) ProtoMessage()
func (*TableGroupSpec) ProtoReflect ¶
func (x *TableGroupSpec) ProtoReflect() protoreflect.Message
func (*TableGroupSpec) Reset ¶
func (x *TableGroupSpec) Reset()
func (*TableGroupSpec) SetAdmins ¶
func (x *TableGroupSpec) SetAdmins(v []string)
func (*TableGroupSpec) SetName ¶
func (x *TableGroupSpec) SetName(v string)
func (*TableGroupSpec) SetReaders ¶
func (x *TableGroupSpec) SetReaders(v []string)
func (*TableGroupSpec) SetTableNamesOrPrefixes ¶
func (x *TableGroupSpec) SetTableNamesOrPrefixes(v []string)
func (*TableGroupSpec) SetWriters ¶
func (x *TableGroupSpec) SetWriters(v []string)
func (*TableGroupSpec) String ¶
func (x *TableGroupSpec) String() string
type TableGroupSpec_builder ¶
type TableGroupSpec_builder struct {
Name string
// either tables or a table name prefixes (if it ends in a %)
TableNamesOrPrefixes []string
Readers []string
Writers []string
Admins []string
// contains filtered or unexported fields
}
func (TableGroupSpec_builder) Build ¶
func (b0 TableGroupSpec_builder) Build() *TableGroupSpec
Source Files
¶
- tableacl.pb.go
Click to show internal directories.
Click to hide internal directories.