Documentation ¶
Overview ¶
Package tableacl is a generated protocol buffer package.
It is generated from these files:
tableacl.proto
It has these top-level messages:
TableGroupSpec Config
Index ¶
- type Config
- type TableGroupSpec
- func (*TableGroupSpec) Descriptor() ([]byte, []int)
- func (m *TableGroupSpec) GetAdmins() []string
- func (m *TableGroupSpec) GetName() string
- func (m *TableGroupSpec) GetReaders() []string
- func (m *TableGroupSpec) GetTableNamesOrPrefixes() []string
- func (m *TableGroupSpec) GetWriters() []string
- func (*TableGroupSpec) ProtoMessage()
- func (m *TableGroupSpec) Reset()
- func (m *TableGroupSpec) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
TableGroups []*TableGroupSpec `protobuf:"bytes,1,rep,name=table_groups,json=tableGroups" json:"table_groups,omitempty"`
}
func (*Config) Descriptor ¶
func (*Config) GetTableGroups ¶
func (m *Config) GetTableGroups() []*TableGroupSpec
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
type TableGroupSpec ¶
type TableGroupSpec struct { Name string `protobuf:"bytes,1,opt,name=name" 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" json:"table_names_or_prefixes,omitempty"` Readers []string `protobuf:"bytes,3,rep,name=readers" json:"readers,omitempty"` Writers []string `protobuf:"bytes,4,rep,name=writers" json:"writers,omitempty"` Admins []string `protobuf:"bytes,5,rep,name=admins" json:"admins,omitempty"` }
TableGroupSpec defines ACLs for a group of tables.
func (*TableGroupSpec) Descriptor ¶
func (*TableGroupSpec) Descriptor() ([]byte, []int)
func (*TableGroupSpec) GetAdmins ¶
func (m *TableGroupSpec) GetAdmins() []string
func (*TableGroupSpec) GetName ¶
func (m *TableGroupSpec) GetName() string
func (*TableGroupSpec) GetReaders ¶
func (m *TableGroupSpec) GetReaders() []string
func (*TableGroupSpec) GetTableNamesOrPrefixes ¶
func (m *TableGroupSpec) GetTableNamesOrPrefixes() []string
func (*TableGroupSpec) GetWriters ¶
func (m *TableGroupSpec) GetWriters() []string
func (*TableGroupSpec) ProtoMessage ¶
func (*TableGroupSpec) ProtoMessage()
func (*TableGroupSpec) Reset ¶
func (m *TableGroupSpec) Reset()
func (*TableGroupSpec) String ¶
func (m *TableGroupSpec) String() string
Click to show internal directories.
Click to hide internal directories.