tableacl

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Config) GetTableGroups

func (m *Config) GetTableGroups() []*TableGroupSpec

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

func (m *Config) XXX_Unmarshal(b []byte) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL