Documentation ¶
Index ¶
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetTableGroups() []*TableGroupSpec
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- 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
- func (m *TableGroupSpec) XXX_DiscardUnknown()
- func (m *TableGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TableGroupSpec) XXX_Merge(src proto.Message)
- func (m *TableGroupSpec) XXX_Size() int
- func (m *TableGroupSpec) XXX_Unmarshal(b []byte) error
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,proto3" json:"table_groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Config) Descriptor ¶
func (*Config) GetTableGroups ¶
func (m *Config) GetTableGroups() []*TableGroupSpec
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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
func (*TableGroupSpec) XXX_DiscardUnknown ¶
func (m *TableGroupSpec) XXX_DiscardUnknown()
func (*TableGroupSpec) XXX_Marshal ¶
func (m *TableGroupSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TableGroupSpec) XXX_Merge ¶
func (m *TableGroupSpec) XXX_Merge(src proto.Message)
func (*TableGroupSpec) XXX_Size ¶
func (m *TableGroupSpec) XXX_Size() int
func (*TableGroupSpec) XXX_Unmarshal ¶
func (m *TableGroupSpec) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.