tableacl

package
Version: v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 22, 2017 License: BSD-3-Clause Imports: 3 Imported by: 0

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

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) 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

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

Source Files

Jump to

Keyboard shortcuts

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