Documentation ¶
Index ¶
- Variables
- type Config
- func (m *Config) CloneMessageVT() proto.Message
- func (m *Config) CloneVT() *Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetTableGroups() []*TableGroupSpec
- func (m *Config) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Config) MarshalToVT(dAtA []byte) (int, error)
- func (m *Config) MarshalVT() (dAtA []byte, err error)
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (m *Config) SizeVT() (n int)
- func (x *Config) String() string
- func (m *Config) UnmarshalVT(dAtA []byte) error
- type TableGroupSpec
- func (m *TableGroupSpec) CloneMessageVT() proto.Message
- func (m *TableGroupSpec) CloneVT() *TableGroupSpec
- func (*TableGroupSpec) Descriptor() ([]byte, []int)deprecated
- 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 (m *TableGroupSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TableGroupSpec) MarshalToVT(dAtA []byte) (int, error)
- func (m *TableGroupSpec) MarshalVT() (dAtA []byte, err error)
- func (*TableGroupSpec) ProtoMessage()
- func (x *TableGroupSpec) ProtoReflect() protoreflect.Message
- func (x *TableGroupSpec) Reset()
- func (m *TableGroupSpec) SizeVT() (n int)
- func (x *TableGroupSpec) String() string
- func (m *TableGroupSpec) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_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) CloneMessageVT ¶ added in v0.18.0
func (*Config) Descriptor
deprecated
func (*Config) GetTableGroups ¶
func (x *Config) GetTableGroups() []*TableGroupSpec
func (*Config) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Config) MarshalToVT ¶ added in v0.11.0
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v0.11.0
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) UnmarshalVT ¶ added in v0.11.0
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) CloneMessageVT ¶ added in v0.18.0
func (m *TableGroupSpec) CloneMessageVT() proto.Message
func (*TableGroupSpec) CloneVT ¶ added in v0.18.0
func (m *TableGroupSpec) CloneVT() *TableGroupSpec
func (*TableGroupSpec) Descriptor
deprecated
func (*TableGroupSpec) Descriptor() ([]byte, []int)
Deprecated: Use TableGroupSpec.ProtoReflect.Descriptor instead.
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) MarshalToSizedBufferVT ¶ added in v0.11.0
func (m *TableGroupSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*TableGroupSpec) MarshalToVT ¶ added in v0.11.0
func (m *TableGroupSpec) MarshalToVT(dAtA []byte) (int, error)
func (*TableGroupSpec) MarshalVT ¶ added in v0.11.0
func (m *TableGroupSpec) MarshalVT() (dAtA []byte, err error)
func (*TableGroupSpec) ProtoMessage ¶
func (*TableGroupSpec) ProtoMessage()
func (*TableGroupSpec) ProtoReflect ¶ added in v0.11.0
func (x *TableGroupSpec) ProtoReflect() protoreflect.Message
func (*TableGroupSpec) Reset ¶
func (x *TableGroupSpec) Reset()
func (*TableGroupSpec) SizeVT ¶ added in v0.11.0
func (m *TableGroupSpec) SizeVT() (n int)
func (*TableGroupSpec) String ¶
func (x *TableGroupSpec) String() string
func (*TableGroupSpec) UnmarshalVT ¶ added in v0.11.0
func (m *TableGroupSpec) UnmarshalVT(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.