internal

package
v0.10.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package internal is a generated protocol buffer package.

It is generated from these files:

internal/meta.proto

It has these top-level messages:

Data
NodeInfo
DatabaseInfo
RetentionPolicyInfo
ShardGroupInfo
ShardInfo
SubscriptionInfo
ShardOwner
ContinuousQueryInfo
UserInfo
UserPrivilege
Command
CreateNodeCommand
DeleteNodeCommand
CreateDatabaseCommand
DropDatabaseCommand
CreateRetentionPolicyCommand
DropRetentionPolicyCommand
SetDefaultRetentionPolicyCommand
UpdateRetentionPolicyCommand
CreateShardGroupCommand
DeleteShardGroupCommand
CreateContinuousQueryCommand
DropContinuousQueryCommand
CreateUserCommand
DropUserCommand
UpdateUserCommand
SetPrivilegeCommand
SetDataCommand
SetAdminPrivilegeCommand
UpdateNodeCommand
CreateSubscriptionCommand
DropSubscriptionCommand
RemovePeerCommand
Response
ResponseHeader
ErrorResponse
FetchDataRequest
FetchDataResponse
JoinRequest
JoinResponse
PromoteRaftRequest
PromoteRaftResponse

Index

Constants

View Source
const Default_FetchDataRequest_Blocking bool = false

Variables

View Source
var Command_Type_name = map[int32]string{
	1:  "CreateNodeCommand",
	2:  "DeleteNodeCommand",
	3:  "CreateDatabaseCommand",
	4:  "DropDatabaseCommand",
	5:  "CreateRetentionPolicyCommand",
	6:  "DropRetentionPolicyCommand",
	7:  "SetDefaultRetentionPolicyCommand",
	8:  "UpdateRetentionPolicyCommand",
	9:  "CreateShardGroupCommand",
	10: "DeleteShardGroupCommand",
	11: "CreateContinuousQueryCommand",
	12: "DropContinuousQueryCommand",
	13: "CreateUserCommand",
	14: "DropUserCommand",
	15: "UpdateUserCommand",
	16: "SetPrivilegeCommand",
	17: "SetDataCommand",
	18: "SetAdminPrivilegeCommand",
	19: "UpdateNodeCommand",
	21: "CreateSubscriptionCommand",
	22: "DropSubscriptionCommand",
	23: "RemovePeerCommand",
}
View Source
var Command_Type_value = map[string]int32{
	"CreateNodeCommand":                1,
	"DeleteNodeCommand":                2,
	"CreateDatabaseCommand":            3,
	"DropDatabaseCommand":              4,
	"CreateRetentionPolicyCommand":     5,
	"DropRetentionPolicyCommand":       6,
	"SetDefaultRetentionPolicyCommand": 7,
	"UpdateRetentionPolicyCommand":     8,
	"CreateShardGroupCommand":          9,
	"DeleteShardGroupCommand":          10,
	"CreateContinuousQueryCommand":     11,
	"DropContinuousQueryCommand":       12,
	"CreateUserCommand":                13,
	"DropUserCommand":                  14,
	"UpdateUserCommand":                15,
	"SetPrivilegeCommand":              16,
	"SetDataCommand":                   17,
	"SetAdminPrivilegeCommand":         18,
	"UpdateNodeCommand":                19,
	"CreateSubscriptionCommand":        21,
	"DropSubscriptionCommand":          22,
	"RemovePeerCommand":                23,
}
View Source
var E_CreateContinuousQueryCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*CreateContinuousQueryCommand)(nil),
	Field:         111,
	Name:          "internal.CreateContinuousQueryCommand.command",
	Tag:           "bytes,111,opt,name=command",
}
View Source
var E_CreateDatabaseCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*CreateDatabaseCommand)(nil),
	Field:         103,
	Name:          "internal.CreateDatabaseCommand.command",
	Tag:           "bytes,103,opt,name=command",
}
View Source
var E_CreateNodeCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*CreateNodeCommand)(nil),
	Field:         101,
	Name:          "internal.CreateNodeCommand.command",
	Tag:           "bytes,101,opt,name=command",
}
View Source
var E_CreateRetentionPolicyCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*CreateRetentionPolicyCommand)(nil),
	Field:         105,
	Name:          "internal.CreateRetentionPolicyCommand.command",
	Tag:           "bytes,105,opt,name=command",
}
View Source
var E_CreateShardGroupCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*CreateShardGroupCommand)(nil),
	Field:         109,
	Name:          "internal.CreateShardGroupCommand.command",
	Tag:           "bytes,109,opt,name=command",
}
View Source
var E_CreateSubscriptionCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*CreateSubscriptionCommand)(nil),
	Field:         121,
	Name:          "internal.CreateSubscriptionCommand.command",
	Tag:           "bytes,121,opt,name=command",
}
View Source
var E_CreateUserCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*CreateUserCommand)(nil),
	Field:         113,
	Name:          "internal.CreateUserCommand.command",
	Tag:           "bytes,113,opt,name=command",
}
View Source
var E_DeleteNodeCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*DeleteNodeCommand)(nil),
	Field:         102,
	Name:          "internal.DeleteNodeCommand.command",
	Tag:           "bytes,102,opt,name=command",
}
View Source
var E_DeleteShardGroupCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*DeleteShardGroupCommand)(nil),
	Field:         110,
	Name:          "internal.DeleteShardGroupCommand.command",
	Tag:           "bytes,110,opt,name=command",
}
View Source
var E_DropContinuousQueryCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*DropContinuousQueryCommand)(nil),
	Field:         112,
	Name:          "internal.DropContinuousQueryCommand.command",
	Tag:           "bytes,112,opt,name=command",
}
View Source
var E_DropDatabaseCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*DropDatabaseCommand)(nil),
	Field:         104,
	Name:          "internal.DropDatabaseCommand.command",
	Tag:           "bytes,104,opt,name=command",
}
View Source
var E_DropRetentionPolicyCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*DropRetentionPolicyCommand)(nil),
	Field:         106,
	Name:          "internal.DropRetentionPolicyCommand.command",
	Tag:           "bytes,106,opt,name=command",
}
View Source
var E_DropSubscriptionCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*DropSubscriptionCommand)(nil),
	Field:         122,
	Name:          "internal.DropSubscriptionCommand.command",
	Tag:           "bytes,122,opt,name=command",
}
View Source
var E_DropUserCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*DropUserCommand)(nil),
	Field:         114,
	Name:          "internal.DropUserCommand.command",
	Tag:           "bytes,114,opt,name=command",
}
View Source
var E_RemovePeerCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*RemovePeerCommand)(nil),
	Field:         123,
	Name:          "internal.RemovePeerCommand.command",
	Tag:           "bytes,123,opt,name=command",
}
View Source
var E_SetAdminPrivilegeCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*SetAdminPrivilegeCommand)(nil),
	Field:         118,
	Name:          "internal.SetAdminPrivilegeCommand.command",
	Tag:           "bytes,118,opt,name=command",
}
View Source
var E_SetDataCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*SetDataCommand)(nil),
	Field:         117,
	Name:          "internal.SetDataCommand.command",
	Tag:           "bytes,117,opt,name=command",
}
View Source
var E_SetDefaultRetentionPolicyCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*SetDefaultRetentionPolicyCommand)(nil),
	Field:         107,
	Name:          "internal.SetDefaultRetentionPolicyCommand.command",
	Tag:           "bytes,107,opt,name=command",
}
View Source
var E_SetPrivilegeCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*SetPrivilegeCommand)(nil),
	Field:         116,
	Name:          "internal.SetPrivilegeCommand.command",
	Tag:           "bytes,116,opt,name=command",
}
View Source
var E_UpdateNodeCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*UpdateNodeCommand)(nil),
	Field:         119,
	Name:          "internal.UpdateNodeCommand.command",
	Tag:           "bytes,119,opt,name=command",
}
View Source
var E_UpdateRetentionPolicyCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*UpdateRetentionPolicyCommand)(nil),
	Field:         108,
	Name:          "internal.UpdateRetentionPolicyCommand.command",
	Tag:           "bytes,108,opt,name=command",
}
View Source
var E_UpdateUserCommand_Command = &proto.ExtensionDesc{
	ExtendedType:  (*Command)(nil),
	ExtensionType: (*UpdateUserCommand)(nil),
	Field:         115,
	Name:          "internal.UpdateUserCommand.command",
	Tag:           "bytes,115,opt,name=command",
}
View Source
var RPCType_name = map[int32]string{
	1: "Error",
	2: "FetchData",
	3: "Join",
	4: "PromoteRaft",
}
View Source
var RPCType_value = map[string]int32{
	"Error":       1,
	"FetchData":   2,
	"Join":        3,
	"PromoteRaft": 4,
}

Functions

This section is empty.

Types

type Command

type Command struct {
	Type             *Command_Type             `protobuf:"varint,1,req,name=type,enum=internal.Command_Type" json:"type,omitempty"`
	XXX_extensions   map[int32]proto.Extension `json:"-"`
	XXX_unrecognized []byte                    `json:"-"`
}

func (*Command) ExtensionMap

func (m *Command) ExtensionMap() map[int32]proto.Extension

func (*Command) ExtensionRangeArray

func (*Command) ExtensionRangeArray() []proto.ExtensionRange

func (*Command) GetType

func (m *Command) GetType() Command_Type

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) String

func (m *Command) String() string

type Command_Type

type Command_Type int32
const (
	Command_CreateNodeCommand                Command_Type = 1
	Command_DeleteNodeCommand                Command_Type = 2
	Command_CreateDatabaseCommand            Command_Type = 3
	Command_DropDatabaseCommand              Command_Type = 4
	Command_CreateRetentionPolicyCommand     Command_Type = 5
	Command_DropRetentionPolicyCommand       Command_Type = 6
	Command_SetDefaultRetentionPolicyCommand Command_Type = 7
	Command_UpdateRetentionPolicyCommand     Command_Type = 8
	Command_CreateShardGroupCommand          Command_Type = 9
	Command_DeleteShardGroupCommand          Command_Type = 10
	Command_CreateContinuousQueryCommand     Command_Type = 11
	Command_DropContinuousQueryCommand       Command_Type = 12
	Command_CreateUserCommand                Command_Type = 13
	Command_DropUserCommand                  Command_Type = 14
	Command_UpdateUserCommand                Command_Type = 15
	Command_SetPrivilegeCommand              Command_Type = 16
	Command_SetDataCommand                   Command_Type = 17
	Command_SetAdminPrivilegeCommand         Command_Type = 18
	Command_UpdateNodeCommand                Command_Type = 19
	Command_CreateSubscriptionCommand        Command_Type = 21
	Command_DropSubscriptionCommand          Command_Type = 22
	Command_RemovePeerCommand                Command_Type = 23
)

func (Command_Type) Enum

func (x Command_Type) Enum() *Command_Type

func (Command_Type) String

func (x Command_Type) String() string

func (*Command_Type) UnmarshalJSON

func (x *Command_Type) UnmarshalJSON(data []byte) error

type ContinuousQueryInfo

type ContinuousQueryInfo struct {
	Name             *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	Query            *string `protobuf:"bytes,2,req,name=Query" json:"Query,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ContinuousQueryInfo) GetName

func (m *ContinuousQueryInfo) GetName() string

func (*ContinuousQueryInfo) GetQuery

func (m *ContinuousQueryInfo) GetQuery() string

func (*ContinuousQueryInfo) ProtoMessage

func (*ContinuousQueryInfo) ProtoMessage()

func (*ContinuousQueryInfo) Reset

func (m *ContinuousQueryInfo) Reset()

func (*ContinuousQueryInfo) String

func (m *ContinuousQueryInfo) String() string

type CreateContinuousQueryCommand

type CreateContinuousQueryCommand struct {
	Database         *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"`
	Name             *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"`
	Query            *string `protobuf:"bytes,3,req,name=Query" json:"Query,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CreateContinuousQueryCommand) GetDatabase

func (m *CreateContinuousQueryCommand) GetDatabase() string

func (*CreateContinuousQueryCommand) GetName

func (m *CreateContinuousQueryCommand) GetName() string

func (*CreateContinuousQueryCommand) GetQuery

func (m *CreateContinuousQueryCommand) GetQuery() string

func (*CreateContinuousQueryCommand) ProtoMessage

func (*CreateContinuousQueryCommand) ProtoMessage()

func (*CreateContinuousQueryCommand) Reset

func (m *CreateContinuousQueryCommand) Reset()

func (*CreateContinuousQueryCommand) String

type CreateDatabaseCommand

type CreateDatabaseCommand struct {
	Name             *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CreateDatabaseCommand) GetName

func (m *CreateDatabaseCommand) GetName() string

func (*CreateDatabaseCommand) ProtoMessage

func (*CreateDatabaseCommand) ProtoMessage()

func (*CreateDatabaseCommand) Reset

func (m *CreateDatabaseCommand) Reset()

func (*CreateDatabaseCommand) String

func (m *CreateDatabaseCommand) String() string

type CreateNodeCommand

type CreateNodeCommand struct {
	Host             *string `protobuf:"bytes,1,req,name=Host" json:"Host,omitempty"`
	Rand             *uint64 `protobuf:"varint,2,req,name=Rand" json:"Rand,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CreateNodeCommand) GetHost

func (m *CreateNodeCommand) GetHost() string

func (*CreateNodeCommand) GetRand

func (m *CreateNodeCommand) GetRand() uint64

func (*CreateNodeCommand) ProtoMessage

func (*CreateNodeCommand) ProtoMessage()

func (*CreateNodeCommand) Reset

func (m *CreateNodeCommand) Reset()

func (*CreateNodeCommand) String

func (m *CreateNodeCommand) String() string

type CreateRetentionPolicyCommand

type CreateRetentionPolicyCommand struct {
	Database         *string              `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"`
	RetentionPolicy  *RetentionPolicyInfo `protobuf:"bytes,2,req,name=RetentionPolicy" json:"RetentionPolicy,omitempty"`
	XXX_unrecognized []byte               `json:"-"`
}

func (*CreateRetentionPolicyCommand) GetDatabase

func (m *CreateRetentionPolicyCommand) GetDatabase() string

func (*CreateRetentionPolicyCommand) GetRetentionPolicy

func (m *CreateRetentionPolicyCommand) GetRetentionPolicy() *RetentionPolicyInfo

func (*CreateRetentionPolicyCommand) ProtoMessage

func (*CreateRetentionPolicyCommand) ProtoMessage()

func (*CreateRetentionPolicyCommand) Reset

func (m *CreateRetentionPolicyCommand) Reset()

func (*CreateRetentionPolicyCommand) String

type CreateShardGroupCommand

type CreateShardGroupCommand struct {
	Database         *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"`
	Policy           *string `protobuf:"bytes,2,req,name=Policy" json:"Policy,omitempty"`
	Timestamp        *int64  `protobuf:"varint,3,req,name=Timestamp" json:"Timestamp,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CreateShardGroupCommand) GetDatabase

func (m *CreateShardGroupCommand) GetDatabase() string

func (*CreateShardGroupCommand) GetPolicy

func (m *CreateShardGroupCommand) GetPolicy() string

func (*CreateShardGroupCommand) GetTimestamp

func (m *CreateShardGroupCommand) GetTimestamp() int64

func (*CreateShardGroupCommand) ProtoMessage

func (*CreateShardGroupCommand) ProtoMessage()

func (*CreateShardGroupCommand) Reset

func (m *CreateShardGroupCommand) Reset()

func (*CreateShardGroupCommand) String

func (m *CreateShardGroupCommand) String() string

type CreateSubscriptionCommand added in v0.9.5

type CreateSubscriptionCommand struct {
	Name             *string  `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	Database         *string  `protobuf:"bytes,2,req,name=Database" json:"Database,omitempty"`
	RetentionPolicy  *string  `protobuf:"bytes,3,req,name=RetentionPolicy" json:"RetentionPolicy,omitempty"`
	Mode             *string  `protobuf:"bytes,4,req,name=Mode" json:"Mode,omitempty"`
	Destinations     []string `protobuf:"bytes,5,rep,name=Destinations" json:"Destinations,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*CreateSubscriptionCommand) GetDatabase added in v0.9.5

func (m *CreateSubscriptionCommand) GetDatabase() string

func (*CreateSubscriptionCommand) GetDestinations added in v0.9.5

func (m *CreateSubscriptionCommand) GetDestinations() []string

func (*CreateSubscriptionCommand) GetMode added in v0.9.5

func (m *CreateSubscriptionCommand) GetMode() string

func (*CreateSubscriptionCommand) GetName added in v0.9.5

func (m *CreateSubscriptionCommand) GetName() string

func (*CreateSubscriptionCommand) GetRetentionPolicy added in v0.9.5

func (m *CreateSubscriptionCommand) GetRetentionPolicy() string

func (*CreateSubscriptionCommand) ProtoMessage added in v0.9.5

func (*CreateSubscriptionCommand) ProtoMessage()

func (*CreateSubscriptionCommand) Reset added in v0.9.5

func (m *CreateSubscriptionCommand) Reset()

func (*CreateSubscriptionCommand) String added in v0.9.5

func (m *CreateSubscriptionCommand) String() string

type CreateUserCommand

type CreateUserCommand struct {
	Name             *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	Hash             *string `protobuf:"bytes,2,req,name=Hash" json:"Hash,omitempty"`
	Admin            *bool   `protobuf:"varint,3,req,name=Admin" json:"Admin,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*CreateUserCommand) GetAdmin

func (m *CreateUserCommand) GetAdmin() bool

func (*CreateUserCommand) GetHash

func (m *CreateUserCommand) GetHash() string

func (*CreateUserCommand) GetName

func (m *CreateUserCommand) GetName() string

func (*CreateUserCommand) ProtoMessage

func (*CreateUserCommand) ProtoMessage()

func (*CreateUserCommand) Reset

func (m *CreateUserCommand) Reset()

func (*CreateUserCommand) String

func (m *CreateUserCommand) String() string

type Data

type Data struct {
	Term             *uint64         `protobuf:"varint,1,req,name=Term" json:"Term,omitempty"`
	Index            *uint64         `protobuf:"varint,2,req,name=Index" json:"Index,omitempty"`
	ClusterID        *uint64         `protobuf:"varint,3,req,name=ClusterID" json:"ClusterID,omitempty"`
	Nodes            []*NodeInfo     `protobuf:"bytes,4,rep,name=Nodes" json:"Nodes,omitempty"`
	Databases        []*DatabaseInfo `protobuf:"bytes,5,rep,name=Databases" json:"Databases,omitempty"`
	Users            []*UserInfo     `protobuf:"bytes,6,rep,name=Users" json:"Users,omitempty"`
	MaxNodeID        *uint64         `protobuf:"varint,7,req,name=MaxNodeID" json:"MaxNodeID,omitempty"`
	MaxShardGroupID  *uint64         `protobuf:"varint,8,req,name=MaxShardGroupID" json:"MaxShardGroupID,omitempty"`
	MaxShardID       *uint64         `protobuf:"varint,9,req,name=MaxShardID" json:"MaxShardID,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*Data) GetClusterID

func (m *Data) GetClusterID() uint64

func (*Data) GetDatabases

func (m *Data) GetDatabases() []*DatabaseInfo

func (*Data) GetIndex

func (m *Data) GetIndex() uint64

func (*Data) GetMaxNodeID

func (m *Data) GetMaxNodeID() uint64

func (*Data) GetMaxShardGroupID

func (m *Data) GetMaxShardGroupID() uint64

func (*Data) GetMaxShardID

func (m *Data) GetMaxShardID() uint64

func (*Data) GetNodes

func (m *Data) GetNodes() []*NodeInfo

func (*Data) GetTerm

func (m *Data) GetTerm() uint64

func (*Data) GetUsers

func (m *Data) GetUsers() []*UserInfo

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) Reset

func (m *Data) Reset()

func (*Data) String

func (m *Data) String() string

type DatabaseInfo

type DatabaseInfo struct {
	Name                   *string                `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	DefaultRetentionPolicy *string                `protobuf:"bytes,2,req,name=DefaultRetentionPolicy" json:"DefaultRetentionPolicy,omitempty"`
	RetentionPolicies      []*RetentionPolicyInfo `protobuf:"bytes,3,rep,name=RetentionPolicies" json:"RetentionPolicies,omitempty"`
	ContinuousQueries      []*ContinuousQueryInfo `protobuf:"bytes,4,rep,name=ContinuousQueries" json:"ContinuousQueries,omitempty"`
	XXX_unrecognized       []byte                 `json:"-"`
}

func (*DatabaseInfo) GetContinuousQueries

func (m *DatabaseInfo) GetContinuousQueries() []*ContinuousQueryInfo

func (*DatabaseInfo) GetDefaultRetentionPolicy

func (m *DatabaseInfo) GetDefaultRetentionPolicy() string

func (*DatabaseInfo) GetName

func (m *DatabaseInfo) GetName() string

func (*DatabaseInfo) GetRetentionPolicies

func (m *DatabaseInfo) GetRetentionPolicies() []*RetentionPolicyInfo

func (*DatabaseInfo) ProtoMessage

func (*DatabaseInfo) ProtoMessage()

func (*DatabaseInfo) Reset

func (m *DatabaseInfo) Reset()

func (*DatabaseInfo) String

func (m *DatabaseInfo) String() string

type DeleteNodeCommand

type DeleteNodeCommand struct {
	ID               *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"`
	Force            *bool   `protobuf:"varint,2,req,name=Force" json:"Force,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*DeleteNodeCommand) GetForce added in v0.9.5

func (m *DeleteNodeCommand) GetForce() bool

func (*DeleteNodeCommand) GetID

func (m *DeleteNodeCommand) GetID() uint64

func (*DeleteNodeCommand) ProtoMessage

func (*DeleteNodeCommand) ProtoMessage()

func (*DeleteNodeCommand) Reset

func (m *DeleteNodeCommand) Reset()

func (*DeleteNodeCommand) String

func (m *DeleteNodeCommand) String() string

type DeleteShardGroupCommand

type DeleteShardGroupCommand struct {
	Database         *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"`
	Policy           *string `protobuf:"bytes,2,req,name=Policy" json:"Policy,omitempty"`
	ShardGroupID     *uint64 `protobuf:"varint,3,req,name=ShardGroupID" json:"ShardGroupID,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*DeleteShardGroupCommand) GetDatabase

func (m *DeleteShardGroupCommand) GetDatabase() string

func (*DeleteShardGroupCommand) GetPolicy

func (m *DeleteShardGroupCommand) GetPolicy() string

func (*DeleteShardGroupCommand) GetShardGroupID

func (m *DeleteShardGroupCommand) GetShardGroupID() uint64

func (*DeleteShardGroupCommand) ProtoMessage

func (*DeleteShardGroupCommand) ProtoMessage()

func (*DeleteShardGroupCommand) Reset

func (m *DeleteShardGroupCommand) Reset()

func (*DeleteShardGroupCommand) String

func (m *DeleteShardGroupCommand) String() string

type DropContinuousQueryCommand

type DropContinuousQueryCommand struct {
	Database         *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"`
	Name             *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*DropContinuousQueryCommand) GetDatabase

func (m *DropContinuousQueryCommand) GetDatabase() string

func (*DropContinuousQueryCommand) GetName

func (m *DropContinuousQueryCommand) GetName() string

func (*DropContinuousQueryCommand) ProtoMessage

func (*DropContinuousQueryCommand) ProtoMessage()

func (*DropContinuousQueryCommand) Reset

func (m *DropContinuousQueryCommand) Reset()

func (*DropContinuousQueryCommand) String

func (m *DropContinuousQueryCommand) String() string

type DropDatabaseCommand

type DropDatabaseCommand struct {
	Name             *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*DropDatabaseCommand) GetName

func (m *DropDatabaseCommand) GetName() string

func (*DropDatabaseCommand) ProtoMessage

func (*DropDatabaseCommand) ProtoMessage()

func (*DropDatabaseCommand) Reset

func (m *DropDatabaseCommand) Reset()

func (*DropDatabaseCommand) String

func (m *DropDatabaseCommand) String() string

type DropRetentionPolicyCommand

type DropRetentionPolicyCommand struct {
	Database         *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"`
	Name             *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*DropRetentionPolicyCommand) GetDatabase

func (m *DropRetentionPolicyCommand) GetDatabase() string

func (*DropRetentionPolicyCommand) GetName

func (m *DropRetentionPolicyCommand) GetName() string

func (*DropRetentionPolicyCommand) ProtoMessage

func (*DropRetentionPolicyCommand) ProtoMessage()

func (*DropRetentionPolicyCommand) Reset

func (m *DropRetentionPolicyCommand) Reset()

func (*DropRetentionPolicyCommand) String

func (m *DropRetentionPolicyCommand) String() string

type DropSubscriptionCommand added in v0.9.5

type DropSubscriptionCommand struct {
	Name             *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	Database         *string `protobuf:"bytes,2,req,name=Database" json:"Database,omitempty"`
	RetentionPolicy  *string `protobuf:"bytes,3,req,name=RetentionPolicy" json:"RetentionPolicy,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*DropSubscriptionCommand) GetDatabase added in v0.9.5

func (m *DropSubscriptionCommand) GetDatabase() string

func (*DropSubscriptionCommand) GetName added in v0.9.5

func (m *DropSubscriptionCommand) GetName() string

func (*DropSubscriptionCommand) GetRetentionPolicy added in v0.9.5

func (m *DropSubscriptionCommand) GetRetentionPolicy() string

func (*DropSubscriptionCommand) ProtoMessage added in v0.9.5

func (*DropSubscriptionCommand) ProtoMessage()

func (*DropSubscriptionCommand) Reset added in v0.9.5

func (m *DropSubscriptionCommand) Reset()

func (*DropSubscriptionCommand) String added in v0.9.5

func (m *DropSubscriptionCommand) String() string

type DropUserCommand

type DropUserCommand struct {
	Name             *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*DropUserCommand) GetName

func (m *DropUserCommand) GetName() string

func (*DropUserCommand) ProtoMessage

func (*DropUserCommand) ProtoMessage()

func (*DropUserCommand) Reset

func (m *DropUserCommand) Reset()

func (*DropUserCommand) String

func (m *DropUserCommand) String() string

type ErrorResponse added in v0.9.3

type ErrorResponse struct {
	Header           *ResponseHeader `protobuf:"bytes,1,req,name=Header" json:"Header,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*ErrorResponse) GetHeader added in v0.9.3

func (m *ErrorResponse) GetHeader() *ResponseHeader

func (*ErrorResponse) ProtoMessage added in v0.9.3

func (*ErrorResponse) ProtoMessage()

func (*ErrorResponse) Reset added in v0.9.3

func (m *ErrorResponse) Reset()

func (*ErrorResponse) String added in v0.9.3

func (m *ErrorResponse) String() string

type FetchDataRequest added in v0.9.3

type FetchDataRequest struct {
	Index            *uint64 `protobuf:"varint,1,req,name=Index" json:"Index,omitempty"`
	Term             *uint64 `protobuf:"varint,2,req,name=Term" json:"Term,omitempty"`
	Blocking         *bool   `protobuf:"varint,3,opt,name=Blocking,def=0" json:"Blocking,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*FetchDataRequest) GetBlocking added in v0.9.3

func (m *FetchDataRequest) GetBlocking() bool

func (*FetchDataRequest) GetIndex added in v0.9.3

func (m *FetchDataRequest) GetIndex() uint64

func (*FetchDataRequest) GetTerm added in v0.9.3

func (m *FetchDataRequest) GetTerm() uint64

func (*FetchDataRequest) ProtoMessage added in v0.9.3

func (*FetchDataRequest) ProtoMessage()

func (*FetchDataRequest) Reset added in v0.9.3

func (m *FetchDataRequest) Reset()

func (*FetchDataRequest) String added in v0.9.3

func (m *FetchDataRequest) String() string

type FetchDataResponse added in v0.9.3

type FetchDataResponse struct {
	Header           *ResponseHeader `protobuf:"bytes,1,req,name=Header" json:"Header,omitempty"`
	Index            *uint64         `protobuf:"varint,2,req,name=Index" json:"Index,omitempty"`
	Term             *uint64         `protobuf:"varint,3,req,name=Term" json:"Term,omitempty"`
	Data             []byte          `protobuf:"bytes,4,opt,name=Data" json:"Data,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*FetchDataResponse) GetData added in v0.9.3

func (m *FetchDataResponse) GetData() []byte

func (*FetchDataResponse) GetHeader added in v0.9.3

func (m *FetchDataResponse) GetHeader() *ResponseHeader

func (*FetchDataResponse) GetIndex added in v0.9.3

func (m *FetchDataResponse) GetIndex() uint64

func (*FetchDataResponse) GetTerm added in v0.9.3

func (m *FetchDataResponse) GetTerm() uint64

func (*FetchDataResponse) ProtoMessage added in v0.9.3

func (*FetchDataResponse) ProtoMessage()

func (*FetchDataResponse) Reset added in v0.9.3

func (m *FetchDataResponse) Reset()

func (*FetchDataResponse) String added in v0.9.3

func (m *FetchDataResponse) String() string

type JoinRequest added in v0.9.3

type JoinRequest struct {
	Addr             *string `protobuf:"bytes,1,req,name=Addr" json:"Addr,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*JoinRequest) GetAddr added in v0.9.3

func (m *JoinRequest) GetAddr() string

func (*JoinRequest) ProtoMessage added in v0.9.3

func (*JoinRequest) ProtoMessage()

func (*JoinRequest) Reset added in v0.9.3

func (m *JoinRequest) Reset()

func (*JoinRequest) String added in v0.9.3

func (m *JoinRequest) String() string

type JoinResponse added in v0.9.3

type JoinResponse struct {
	Header           *ResponseHeader `protobuf:"bytes,1,req,name=Header" json:"Header,omitempty"`
	EnableRaft       *bool           `protobuf:"varint,2,opt,name=EnableRaft" json:"EnableRaft,omitempty"`
	RaftNodes        []string        `protobuf:"bytes,3,rep,name=RaftNodes" json:"RaftNodes,omitempty"`
	NodeID           *uint64         `protobuf:"varint,4,opt,name=NodeID" json:"NodeID,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*JoinResponse) GetEnableRaft added in v0.9.3

func (m *JoinResponse) GetEnableRaft() bool

func (*JoinResponse) GetHeader added in v0.9.3

func (m *JoinResponse) GetHeader() *ResponseHeader

func (*JoinResponse) GetNodeID added in v0.9.3

func (m *JoinResponse) GetNodeID() uint64

func (*JoinResponse) GetRaftNodes added in v0.9.3

func (m *JoinResponse) GetRaftNodes() []string

func (*JoinResponse) ProtoMessage added in v0.9.3

func (*JoinResponse) ProtoMessage()

func (*JoinResponse) Reset added in v0.9.3

func (m *JoinResponse) Reset()

func (*JoinResponse) String added in v0.9.3

func (m *JoinResponse) String() string

type NodeInfo

type NodeInfo struct {
	ID               *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"`
	Host             *string `protobuf:"bytes,2,req,name=Host" json:"Host,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*NodeInfo) GetHost

func (m *NodeInfo) GetHost() string

func (*NodeInfo) GetID

func (m *NodeInfo) GetID() uint64

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) Reset

func (m *NodeInfo) Reset()

func (*NodeInfo) String

func (m *NodeInfo) String() string

type PromoteRaftRequest added in v0.9.5

type PromoteRaftRequest struct {
	Addr             *string  `protobuf:"bytes,1,req,name=Addr" json:"Addr,omitempty"`
	RaftNodes        []string `protobuf:"bytes,2,rep,name=RaftNodes" json:"RaftNodes,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*PromoteRaftRequest) GetAddr added in v0.9.5

func (m *PromoteRaftRequest) GetAddr() string

func (*PromoteRaftRequest) GetRaftNodes added in v0.9.5

func (m *PromoteRaftRequest) GetRaftNodes() []string

func (*PromoteRaftRequest) ProtoMessage added in v0.9.5

func (*PromoteRaftRequest) ProtoMessage()

func (*PromoteRaftRequest) Reset added in v0.9.5

func (m *PromoteRaftRequest) Reset()

func (*PromoteRaftRequest) String added in v0.9.5

func (m *PromoteRaftRequest) String() string

type PromoteRaftResponse added in v0.9.5

type PromoteRaftResponse struct {
	Header           *ResponseHeader `protobuf:"bytes,1,req,name=Header" json:"Header,omitempty"`
	Success          *bool           `protobuf:"varint,2,opt,name=Success" json:"Success,omitempty"`
	XXX_unrecognized []byte          `json:"-"`
}

func (*PromoteRaftResponse) GetHeader added in v0.9.5

func (m *PromoteRaftResponse) GetHeader() *ResponseHeader

func (*PromoteRaftResponse) GetSuccess added in v0.9.5

func (m *PromoteRaftResponse) GetSuccess() bool

func (*PromoteRaftResponse) ProtoMessage added in v0.9.5

func (*PromoteRaftResponse) ProtoMessage()

func (*PromoteRaftResponse) Reset added in v0.9.5

func (m *PromoteRaftResponse) Reset()

func (*PromoteRaftResponse) String added in v0.9.5

func (m *PromoteRaftResponse) String() string

type RPCType added in v0.9.3

type RPCType int32
const (
	RPCType_Error       RPCType = 1
	RPCType_FetchData   RPCType = 2
	RPCType_Join        RPCType = 3
	RPCType_PromoteRaft RPCType = 4
)

func (RPCType) Enum added in v0.9.3

func (x RPCType) Enum() *RPCType

func (RPCType) String added in v0.9.3

func (x RPCType) String() string

func (*RPCType) UnmarshalJSON added in v0.9.3

func (x *RPCType) UnmarshalJSON(data []byte) error

type RemovePeerCommand added in v0.9.5

type RemovePeerCommand struct {
	ID               *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"`
	Addr             *string `protobuf:"bytes,2,req,name=Addr" json:"Addr,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*RemovePeerCommand) GetAddr added in v0.9.5

func (m *RemovePeerCommand) GetAddr() string

func (*RemovePeerCommand) GetID added in v0.9.5

func (m *RemovePeerCommand) GetID() uint64

func (*RemovePeerCommand) ProtoMessage added in v0.9.5

func (*RemovePeerCommand) ProtoMessage()

func (*RemovePeerCommand) Reset added in v0.9.5

func (m *RemovePeerCommand) Reset()

func (*RemovePeerCommand) String added in v0.9.5

func (m *RemovePeerCommand) String() string

type Response

type Response struct {
	OK               *bool   `protobuf:"varint,1,req,name=OK" json:"OK,omitempty"`
	Error            *string `protobuf:"bytes,2,opt,name=Error" json:"Error,omitempty"`
	Index            *uint64 `protobuf:"varint,3,opt,name=Index" json:"Index,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Response) GetError

func (m *Response) GetError() string

func (*Response) GetIndex

func (m *Response) GetIndex() uint64

func (*Response) GetOK

func (m *Response) GetOK() bool

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

type ResponseHeader added in v0.9.3

type ResponseHeader struct {
	OK               *bool   `protobuf:"varint,1,req,name=OK" json:"OK,omitempty"`
	Error            *string `protobuf:"bytes,2,opt,name=Error" json:"Error,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ResponseHeader) GetError added in v0.9.3

func (m *ResponseHeader) GetError() string

func (*ResponseHeader) GetOK added in v0.9.3

func (m *ResponseHeader) GetOK() bool

func (*ResponseHeader) ProtoMessage added in v0.9.3

func (*ResponseHeader) ProtoMessage()

func (*ResponseHeader) Reset added in v0.9.3

func (m *ResponseHeader) Reset()

func (*ResponseHeader) String added in v0.9.3

func (m *ResponseHeader) String() string

type RetentionPolicyInfo

type RetentionPolicyInfo struct {
	Name               *string             `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	Duration           *int64              `protobuf:"varint,2,req,name=Duration" json:"Duration,omitempty"`
	ShardGroupDuration *int64              `protobuf:"varint,3,req,name=ShardGroupDuration" json:"ShardGroupDuration,omitempty"`
	ReplicaN           *uint32             `protobuf:"varint,4,req,name=ReplicaN" json:"ReplicaN,omitempty"`
	ShardGroups        []*ShardGroupInfo   `protobuf:"bytes,5,rep,name=ShardGroups" json:"ShardGroups,omitempty"`
	Subscriptions      []*SubscriptionInfo `protobuf:"bytes,6,rep,name=Subscriptions" json:"Subscriptions,omitempty"`
	XXX_unrecognized   []byte              `json:"-"`
}

func (*RetentionPolicyInfo) GetDuration

func (m *RetentionPolicyInfo) GetDuration() int64

func (*RetentionPolicyInfo) GetName

func (m *RetentionPolicyInfo) GetName() string

func (*RetentionPolicyInfo) GetReplicaN

func (m *RetentionPolicyInfo) GetReplicaN() uint32

func (*RetentionPolicyInfo) GetShardGroupDuration

func (m *RetentionPolicyInfo) GetShardGroupDuration() int64

func (*RetentionPolicyInfo) GetShardGroups

func (m *RetentionPolicyInfo) GetShardGroups() []*ShardGroupInfo

func (*RetentionPolicyInfo) GetSubscriptions added in v0.9.5

func (m *RetentionPolicyInfo) GetSubscriptions() []*SubscriptionInfo

func (*RetentionPolicyInfo) ProtoMessage

func (*RetentionPolicyInfo) ProtoMessage()

func (*RetentionPolicyInfo) Reset

func (m *RetentionPolicyInfo) Reset()

func (*RetentionPolicyInfo) String

func (m *RetentionPolicyInfo) String() string

type SetAdminPrivilegeCommand added in v0.9.2

type SetAdminPrivilegeCommand struct {
	Username         *string `protobuf:"bytes,1,req,name=Username" json:"Username,omitempty"`
	Admin            *bool   `protobuf:"varint,2,req,name=Admin" json:"Admin,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SetAdminPrivilegeCommand) GetAdmin added in v0.9.2

func (m *SetAdminPrivilegeCommand) GetAdmin() bool

func (*SetAdminPrivilegeCommand) GetUsername added in v0.9.2

func (m *SetAdminPrivilegeCommand) GetUsername() string

func (*SetAdminPrivilegeCommand) ProtoMessage added in v0.9.2

func (*SetAdminPrivilegeCommand) ProtoMessage()

func (*SetAdminPrivilegeCommand) Reset added in v0.9.2

func (m *SetAdminPrivilegeCommand) Reset()

func (*SetAdminPrivilegeCommand) String added in v0.9.2

func (m *SetAdminPrivilegeCommand) String() string

type SetDataCommand

type SetDataCommand struct {
	Data             *Data  `protobuf:"bytes,1,req,name=Data" json:"Data,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*SetDataCommand) GetData

func (m *SetDataCommand) GetData() *Data

func (*SetDataCommand) ProtoMessage

func (*SetDataCommand) ProtoMessage()

func (*SetDataCommand) Reset

func (m *SetDataCommand) Reset()

func (*SetDataCommand) String

func (m *SetDataCommand) String() string

type SetDefaultRetentionPolicyCommand

type SetDefaultRetentionPolicyCommand struct {
	Database         *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"`
	Name             *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SetDefaultRetentionPolicyCommand) GetDatabase

func (m *SetDefaultRetentionPolicyCommand) GetDatabase() string

func (*SetDefaultRetentionPolicyCommand) GetName

func (*SetDefaultRetentionPolicyCommand) ProtoMessage

func (*SetDefaultRetentionPolicyCommand) ProtoMessage()

func (*SetDefaultRetentionPolicyCommand) Reset

func (*SetDefaultRetentionPolicyCommand) String

type SetPrivilegeCommand

type SetPrivilegeCommand struct {
	Username         *string `protobuf:"bytes,1,req,name=Username" json:"Username,omitempty"`
	Database         *string `protobuf:"bytes,2,req,name=Database" json:"Database,omitempty"`
	Privilege        *int32  `protobuf:"varint,3,req,name=Privilege" json:"Privilege,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SetPrivilegeCommand) GetDatabase

func (m *SetPrivilegeCommand) GetDatabase() string

func (*SetPrivilegeCommand) GetPrivilege

func (m *SetPrivilegeCommand) GetPrivilege() int32

func (*SetPrivilegeCommand) GetUsername

func (m *SetPrivilegeCommand) GetUsername() string

func (*SetPrivilegeCommand) ProtoMessage

func (*SetPrivilegeCommand) ProtoMessage()

func (*SetPrivilegeCommand) Reset

func (m *SetPrivilegeCommand) Reset()

func (*SetPrivilegeCommand) String

func (m *SetPrivilegeCommand) String() string

type ShardGroupInfo

type ShardGroupInfo struct {
	ID               *uint64      `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"`
	StartTime        *int64       `protobuf:"varint,2,req,name=StartTime" json:"StartTime,omitempty"`
	EndTime          *int64       `protobuf:"varint,3,req,name=EndTime" json:"EndTime,omitempty"`
	DeletedAt        *int64       `protobuf:"varint,4,req,name=DeletedAt" json:"DeletedAt,omitempty"`
	Shards           []*ShardInfo `protobuf:"bytes,5,rep,name=Shards" json:"Shards,omitempty"`
	XXX_unrecognized []byte       `json:"-"`
}

func (*ShardGroupInfo) GetDeletedAt

func (m *ShardGroupInfo) GetDeletedAt() int64

func (*ShardGroupInfo) GetEndTime

func (m *ShardGroupInfo) GetEndTime() int64

func (*ShardGroupInfo) GetID

func (m *ShardGroupInfo) GetID() uint64

func (*ShardGroupInfo) GetShards

func (m *ShardGroupInfo) GetShards() []*ShardInfo

func (*ShardGroupInfo) GetStartTime

func (m *ShardGroupInfo) GetStartTime() int64

func (*ShardGroupInfo) ProtoMessage

func (*ShardGroupInfo) ProtoMessage()

func (*ShardGroupInfo) Reset

func (m *ShardGroupInfo) Reset()

func (*ShardGroupInfo) String

func (m *ShardGroupInfo) String() string

type ShardInfo

type ShardInfo struct {
	ID               *uint64       `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"`
	OwnerIDs         []uint64      `protobuf:"varint,2,rep,name=OwnerIDs" json:"OwnerIDs,omitempty"`
	Owners           []*ShardOwner `protobuf:"bytes,3,rep,name=Owners" json:"Owners,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

func (*ShardInfo) GetID

func (m *ShardInfo) GetID() uint64

func (*ShardInfo) GetOwnerIDs

func (m *ShardInfo) GetOwnerIDs() []uint64

func (*ShardInfo) GetOwners added in v0.9.4

func (m *ShardInfo) GetOwners() []*ShardOwner

func (*ShardInfo) ProtoMessage

func (*ShardInfo) ProtoMessage()

func (*ShardInfo) Reset

func (m *ShardInfo) Reset()

func (*ShardInfo) String

func (m *ShardInfo) String() string

type ShardOwner added in v0.9.4

type ShardOwner struct {
	NodeID           *uint64 `protobuf:"varint,1,req,name=NodeID" json:"NodeID,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*ShardOwner) GetNodeID added in v0.9.4

func (m *ShardOwner) GetNodeID() uint64

func (*ShardOwner) ProtoMessage added in v0.9.4

func (*ShardOwner) ProtoMessage()

func (*ShardOwner) Reset added in v0.9.4

func (m *ShardOwner) Reset()

func (*ShardOwner) String added in v0.9.4

func (m *ShardOwner) String() string

type SubscriptionInfo added in v0.9.5

type SubscriptionInfo struct {
	Name             *string  `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	Mode             *string  `protobuf:"bytes,2,req,name=Mode" json:"Mode,omitempty"`
	Destinations     []string `protobuf:"bytes,3,rep,name=Destinations" json:"Destinations,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

func (*SubscriptionInfo) GetDestinations added in v0.9.5

func (m *SubscriptionInfo) GetDestinations() []string

func (*SubscriptionInfo) GetMode added in v0.9.5

func (m *SubscriptionInfo) GetMode() string

func (*SubscriptionInfo) GetName added in v0.9.5

func (m *SubscriptionInfo) GetName() string

func (*SubscriptionInfo) ProtoMessage added in v0.9.5

func (*SubscriptionInfo) ProtoMessage()

func (*SubscriptionInfo) Reset added in v0.9.5

func (m *SubscriptionInfo) Reset()

func (*SubscriptionInfo) String added in v0.9.5

func (m *SubscriptionInfo) String() string

type UpdateNodeCommand added in v0.9.3

type UpdateNodeCommand struct {
	ID               *uint64 `protobuf:"varint,1,req,name=ID" json:"ID,omitempty"`
	Host             *string `protobuf:"bytes,2,req,name=Host" json:"Host,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*UpdateNodeCommand) GetHost added in v0.9.3

func (m *UpdateNodeCommand) GetHost() string

func (*UpdateNodeCommand) GetID added in v0.9.3

func (m *UpdateNodeCommand) GetID() uint64

func (*UpdateNodeCommand) ProtoMessage added in v0.9.3

func (*UpdateNodeCommand) ProtoMessage()

func (*UpdateNodeCommand) Reset added in v0.9.3

func (m *UpdateNodeCommand) Reset()

func (*UpdateNodeCommand) String added in v0.9.3

func (m *UpdateNodeCommand) String() string

type UpdateRetentionPolicyCommand

type UpdateRetentionPolicyCommand struct {
	Database         *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"`
	Name             *string `protobuf:"bytes,2,req,name=Name" json:"Name,omitempty"`
	NewName          *string `protobuf:"bytes,3,opt,name=NewName" json:"NewName,omitempty"`
	Duration         *int64  `protobuf:"varint,4,opt,name=Duration" json:"Duration,omitempty"`
	ReplicaN         *uint32 `protobuf:"varint,5,opt,name=ReplicaN" json:"ReplicaN,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*UpdateRetentionPolicyCommand) GetDatabase

func (m *UpdateRetentionPolicyCommand) GetDatabase() string

func (*UpdateRetentionPolicyCommand) GetDuration

func (m *UpdateRetentionPolicyCommand) GetDuration() int64

func (*UpdateRetentionPolicyCommand) GetName

func (m *UpdateRetentionPolicyCommand) GetName() string

func (*UpdateRetentionPolicyCommand) GetNewName

func (m *UpdateRetentionPolicyCommand) GetNewName() string

func (*UpdateRetentionPolicyCommand) GetReplicaN

func (m *UpdateRetentionPolicyCommand) GetReplicaN() uint32

func (*UpdateRetentionPolicyCommand) ProtoMessage

func (*UpdateRetentionPolicyCommand) ProtoMessage()

func (*UpdateRetentionPolicyCommand) Reset

func (m *UpdateRetentionPolicyCommand) Reset()

func (*UpdateRetentionPolicyCommand) String

type UpdateUserCommand

type UpdateUserCommand struct {
	Name             *string `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	Hash             *string `protobuf:"bytes,2,req,name=Hash" json:"Hash,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*UpdateUserCommand) GetHash

func (m *UpdateUserCommand) GetHash() string

func (*UpdateUserCommand) GetName

func (m *UpdateUserCommand) GetName() string

func (*UpdateUserCommand) ProtoMessage

func (*UpdateUserCommand) ProtoMessage()

func (*UpdateUserCommand) Reset

func (m *UpdateUserCommand) Reset()

func (*UpdateUserCommand) String

func (m *UpdateUserCommand) String() string

type UserInfo

type UserInfo struct {
	Name             *string          `protobuf:"bytes,1,req,name=Name" json:"Name,omitempty"`
	Hash             *string          `protobuf:"bytes,2,req,name=Hash" json:"Hash,omitempty"`
	Admin            *bool            `protobuf:"varint,3,req,name=Admin" json:"Admin,omitempty"`
	Privileges       []*UserPrivilege `protobuf:"bytes,4,rep,name=Privileges" json:"Privileges,omitempty"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*UserInfo) GetAdmin

func (m *UserInfo) GetAdmin() bool

func (*UserInfo) GetHash

func (m *UserInfo) GetHash() string

func (*UserInfo) GetName

func (m *UserInfo) GetName() string

func (*UserInfo) GetPrivileges

func (m *UserInfo) GetPrivileges() []*UserPrivilege

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) Reset

func (m *UserInfo) Reset()

func (*UserInfo) String

func (m *UserInfo) String() string

type UserPrivilege

type UserPrivilege struct {
	Database         *string `protobuf:"bytes,1,req,name=Database" json:"Database,omitempty"`
	Privilege        *int32  `protobuf:"varint,2,req,name=Privilege" json:"Privilege,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*UserPrivilege) GetDatabase

func (m *UserPrivilege) GetDatabase() string

func (*UserPrivilege) GetPrivilege

func (m *UserPrivilege) GetPrivilege() int32

func (*UserPrivilege) ProtoMessage

func (*UserPrivilege) ProtoMessage()

func (*UserPrivilege) Reset

func (m *UserPrivilege) Reset()

func (*UserPrivilege) String

func (m *UserPrivilege) String() string

Jump to

Keyboard shortcuts

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