Documentation ¶
Index ¶
- Variables
- type Account
- type Account_Key
- func (*Account_Key) Descriptor() ([]byte, []int)deprecated
- func (x *Account_Key) GetName() string
- func (x *Account_Key) GetStore() *StoreKey
- func (s *Account_Key) Parts() []string
- func (*Account_Key) ProtoMessage()
- func (x *Account_Key) ProtoReflect() protoreflect.Message
- func (x *Account_Key) Reset()
- func (x *Account_Key) String() string
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetId() []byte
- func (x *Block) GetMax() int64
- func (x *Block) GetMin() int64
- func (x *Block) GetSize() int64
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type Block_Index
- func (*Block_Index) Descriptor() ([]byte, []int)deprecated
- func (x *Block_Index) GetGroups() map[int32]*Block_Index_Bitmap
- func (x *Block_Index) GetMax() int64
- func (x *Block_Index) GetMin() int64
- func (*Block_Index) ProtoMessage()
- func (x *Block_Index) ProtoReflect() protoreflect.Message
- func (x *Block_Index) Reset()
- func (x *Block_Index) String() string
- type Block_Index_Bitmap
- func (*Block_Index_Bitmap) Descriptor() ([]byte, []int)deprecated
- func (x *Block_Index_Bitmap) GetBitmap() []byte
- func (x *Block_Index_Bitmap) GetMax() int64
- func (x *Block_Index_Bitmap) GetMin() int64
- func (*Block_Index_Bitmap) ProtoMessage()
- func (x *Block_Index_Bitmap) ProtoReflect() protoreflect.Message
- func (x *Block_Index_Bitmap) Reset()
- func (x *Block_Index_Bitmap) String() string
- type Block_Index_BloomKey
- func (*Block_Index_BloomKey) Descriptor() ([]byte, []int)deprecated
- func (x *Block_Index_BloomKey) GetColumn() Block_Index_Column
- func (x *Block_Index_BloomKey) GetValue() string
- func (*Block_Index_BloomKey) ProtoMessage()
- func (x *Block_Index_BloomKey) ProtoReflect() protoreflect.Message
- func (x *Block_Index_BloomKey) Reset()
- func (x *Block_Index_BloomKey) String() string
- type Block_Index_Column
- func (Block_Index_Column) Descriptor() protoreflect.EnumDescriptor
- func (x Block_Index_Column) Enum() *Block_Index_Column
- func (Block_Index_Column) EnumDescriptor() ([]byte, []int)deprecated
- func (x Block_Index_Column) Number() protoreflect.EnumNumber
- func (x Block_Index_Column) String() string
- func (Block_Index_Column) Type() protoreflect.EnumType
- type Block_Key
- func (*Block_Key) Descriptor() ([]byte, []int)deprecated
- func (x *Block_Key) GetDomain() string
- func (x *Block_Key) GetKind() Block_Key_Kind
- func (x *Block_Key) GetStore() *StoreKey
- func (x *Block_Key) GetUid() string
- func (s *Block_Key) Parts() []string
- func (*Block_Key) ProtoMessage()
- func (x *Block_Key) ProtoReflect() protoreflect.Message
- func (x *Block_Key) Reset()
- func (x *Block_Key) String() string
- type Block_Key_Kind
- func (Block_Key_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x Block_Key_Kind) Enum() *Block_Key_Kind
- func (Block_Key_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Block_Key_Kind) Number() protoreflect.EnumNumber
- func (x Block_Key_Kind) String() string
- func (Block_Key_Kind) Type() protoreflect.EnumType
- type Build
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetActive() *Client_Active
- func (x *Client) GetInstance() map[string]*Client_Instance
- func (x *Client) GetPrivateKey() []byte
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (x *Client) String() string
- type Client_Active
- func (*Client_Active) Descriptor() ([]byte, []int)deprecated
- func (x *Client_Active) GetAccount() string
- func (x *Client_Active) GetInstance() string
- func (*Client_Active) ProtoMessage()
- func (x *Client_Active) ProtoReflect() protoreflect.Message
- func (x *Client_Active) Reset()
- func (x *Client_Active) String() string
- type Client_Auth
- func (*Client_Auth) Descriptor() ([]byte, []int)deprecated
- func (x *Client_Auth) GetApi() string
- func (x *Client_Auth) GetMysql() string
- func (x *Client_Auth) GetName() string
- func (x *Client_Auth) GetToken() string
- func (*Client_Auth) ProtoMessage()
- func (x *Client_Auth) ProtoReflect() protoreflect.Message
- func (x *Client_Auth) Reset()
- func (x *Client_Auth) String() string
- type Client_Instance
- func (*Client_Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Client_Instance) GetAccounts() map[string]*Client_Auth
- func (*Client_Instance) ProtoMessage()
- func (x *Client_Instance) ProtoReflect() protoreflect.Message
- func (x *Client_Instance) Reset()
- func (x *Client_Instance) String() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetBlocksPath() string
- func (x *Config) GetEnableProfile() bool
- func (x *Config) GetListenAddress() string
- func (x *Config) GetLogLevel() string
- func (x *Config) GetMetaPath() string
- func (x *Config) GetMysqlListenAddress() string
- func (x *Config) GetSyncInterval() *durationpb.Duration
- func (x *Config) GetTlsCertFile() string
- func (x *Config) GetTlsKeyFile() string
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Error
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetColumn() string
- func (x *Filter) GetDuration() int64
- func (x *Filter) GetOp() Filter_Op
- func (x *Filter) GetStr() string
- func (x *Filter) GetTimestamp() int64
- func (m *Filter) GetValue() isFilter_Value
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- type Filter_Duration
- type Filter_Op
- type Filter_Str
- type Filter_Timestamp
- type Metadata
- type Site
- type Site_CreateOptions
- func (*Site_CreateOptions) Descriptor() ([]byte, []int)deprecated
- func (x *Site_CreateOptions) GetDomain() string
- func (*Site_CreateOptions) ProtoMessage()
- func (x *Site_CreateOptions) ProtoReflect() protoreflect.Message
- func (x *Site_CreateOptions) Reset()
- func (x *Site_CreateOptions) String() string
- type Site_DeleteOptions
- func (*Site_DeleteOptions) Descriptor() ([]byte, []int)deprecated
- func (x *Site_DeleteOptions) GetDomain() string
- func (*Site_DeleteOptions) ProtoMessage()
- func (x *Site_DeleteOptions) ProtoReflect() protoreflect.Message
- func (x *Site_DeleteOptions) Reset()
- func (x *Site_DeleteOptions) String() string
- type Site_GetOptions
- type Site_Key
- func (*Site_Key) Descriptor() ([]byte, []int)deprecated
- func (x *Site_Key) GetDomain() string
- func (x *Site_Key) GetStore() *StoreKey
- func (s *Site_Key) Parts() []string
- func (*Site_Key) ProtoMessage()
- func (x *Site_Key) ProtoReflect() protoreflect.Message
- func (x *Site_Key) Reset()
- func (x *Site_Key) String() string
- type Site_List
- type Site_ListOptions
- type Status
- type StoreKey
- func (*StoreKey) Descriptor() ([]byte, []int)deprecated
- func (x *StoreKey) GetNamespace() string
- func (x *StoreKey) GetPrefix() StorePrefix
- func (s *StoreKey) Parts() []string
- func (*StoreKey) ProtoMessage()
- func (x *StoreKey) ProtoReflect() protoreflect.Message
- func (x *StoreKey) Reset()
- func (x *StoreKey) String() string
- type StorePrefix
- func (StorePrefix) Descriptor() protoreflect.EnumDescriptor
- func (x StorePrefix) Enum() *StorePrefix
- func (StorePrefix) EnumDescriptor() ([]byte, []int)deprecated
- func (x StorePrefix) Number() protoreflect.EnumNumber
- func (x StorePrefix) String() string
- func (StorePrefix) Type() protoreflect.EnumType
- type Token
- type Token_CreateOptions
- func (*Token_CreateOptions) Descriptor() ([]byte, []int)deprecated
- func (x *Token_CreateOptions) GetGenerate() bool
- func (x *Token_CreateOptions) GetName() string
- func (x *Token_CreateOptions) GetPassword() string
- func (x *Token_CreateOptions) GetPublicKey() []byte
- func (x *Token_CreateOptions) GetToken() string
- func (x *Token_CreateOptions) GetTtl() *durationpb.Duration
- func (*Token_CreateOptions) ProtoMessage()
- func (x *Token_CreateOptions) ProtoReflect() protoreflect.Message
- func (x *Token_CreateOptions) Reset()
- func (x *Token_CreateOptions) String() string
- type Token_Issuer
- func (Token_Issuer) Descriptor() protoreflect.EnumDescriptor
- func (x Token_Issuer) Enum() *Token_Issuer
- func (Token_Issuer) EnumDescriptor() ([]byte, []int)deprecated
- func (x Token_Issuer) Number() protoreflect.EnumNumber
- func (x Token_Issuer) String() string
- func (Token_Issuer) Type() protoreflect.EnumType
- type Token_Key
- func (*Token_Key) Descriptor() ([]byte, []int)deprecated
- func (x *Token_Key) GetHash() int64
- func (x *Token_Key) GetStore() *StoreKey
- func (s *Token_Key) Parts() []string
- func (*Token_Key) ProtoMessage()
- func (x *Token_Key) ProtoReflect() protoreflect.Message
- func (x *Token_Key) Reset()
- func (x *Token_Key) String() string
Constants ¶
This section is empty.
Variables ¶
var ( StorePrefix_name = map[int32]string{ 0: "SITES", 1: "BLOCKS", 2: "ALERTS", 3: "ACCOUNT", 4: "TOKEN", } StorePrefix_value = map[string]int32{ "SITES": 0, "BLOCKS": 1, "ALERTS": 2, "ACCOUNT": 3, "TOKEN": 4, } )
Enum value maps for StorePrefix.
var ( Block_Key_Kind_name = map[int32]string{ 0: "METADATA", 1: "INDEX", } Block_Key_Kind_value = map[string]int32{ "METADATA": 0, "INDEX": 1, } )
Enum value maps for Block_Key_Kind.
var ( Block_Index_Column_name = map[int32]string{ 0: "Browser", 1: "BrowserVersion", 2: "City", 3: "Country", 4: "Domain", 5: "EntryPage", 6: "ExitPage", 7: "Host", 8: "Event", 9: "Os", 10: "OsVersion", 11: "Path", 12: "Referrer", 13: "ReferrerSource", 14: "Region", 15: "Screen", 16: "UtmCampaign", 17: "UtmContent", 18: "UtmMedium", 19: "UtmSource", 20: "UtmTerm", } Block_Index_Column_value = map[string]int32{ "Browser": 0, "BrowserVersion": 1, "City": 2, "Country": 3, "Domain": 4, "EntryPage": 5, "ExitPage": 6, "Host": 7, "Event": 8, "Os": 9, "OsVersion": 10, "Path": 11, "Referrer": 12, "ReferrerSource": 13, "Region": 14, "Screen": 15, "UtmCampaign": 16, "UtmContent": 17, "UtmMedium": 18, "UtmSource": 19, "UtmTerm": 20, } )
Enum value maps for Block_Index_Column.
var ( Filter_Op_name = map[int32]string{ 0: "equal", 1: "not_equal", 2: "greater", 3: "greater_equal", 4: "less", 5: "less_equal", } Filter_Op_value = map[string]int32{ "equal": 0, "not_equal": 1, "greater": 2, "greater_equal": 3, "less": 4, "less_equal": 5, } )
Enum value maps for Filter_Op.
var ( Token_Issuer_name = map[int32]string{ 0: "SERVER", 1: "CLIENT", } Token_Issuer_value = map[string]int32{ "SERVER": 0, "CLIENT": 1, } )
Enum value maps for Token_Issuer.
var File_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶ added in v0.0.23
type Account struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` HashedPassword []byte `protobuf:"bytes,2,opt,name=hashed_password,json=hashedPassword,proto3" json:"hashed_password,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
added in
v0.0.23
func (*Account) GetHashedPassword ¶ added in v0.0.25
func (*Account) ProtoMessage ¶ added in v0.0.23
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶ added in v0.0.23
func (x *Account) ProtoReflect() protoreflect.Message
type Account_Key ¶ added in v0.0.23
type Account_Key struct { Store *StoreKey `protobuf:"bytes,1,opt,name=store,proto3" json:"store,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Account_Key) Descriptor
deprecated
added in
v0.0.23
func (*Account_Key) Descriptor() ([]byte, []int)
Deprecated: Use Account_Key.ProtoReflect.Descriptor instead.
func (*Account_Key) GetName ¶ added in v0.0.23
func (x *Account_Key) GetName() string
func (*Account_Key) GetStore ¶ added in v0.0.23
func (x *Account_Key) GetStore() *StoreKey
func (*Account_Key) Parts ¶ added in v0.0.23
func (s *Account_Key) Parts() []string
func (*Account_Key) ProtoMessage ¶ added in v0.0.23
func (*Account_Key) ProtoMessage()
func (*Account_Key) ProtoReflect ¶ added in v0.0.23
func (x *Account_Key) ProtoReflect() protoreflect.Message
func (*Account_Key) Reset ¶ added in v0.0.23
func (x *Account_Key) Reset()
func (*Account_Key) String ¶ added in v0.0.23
func (x *Account_Key) String() string
type Block ¶
type Block struct { // a ULID string identifier for this block. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Smallest timestamp in milliseconds observed in this block Min int64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` // Largest timestamp in milliseconds observed in this block. Max int64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` // Size on bytes contained in this block Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
Defines metadata about a single parquet file.
func (*Block) Descriptor
deprecated
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type Block_Index ¶ added in v0.0.19
type Block_Index struct { Groups map[int32]*Block_Index_Bitmap `` /* 154-byte string literal not displayed */ Min int64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` Max int64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*Block_Index) Descriptor
deprecated
added in
v0.0.19
func (*Block_Index) Descriptor() ([]byte, []int)
Deprecated: Use Block_Index.ProtoReflect.Descriptor instead.
func (*Block_Index) GetGroups ¶ added in v0.0.19
func (x *Block_Index) GetGroups() map[int32]*Block_Index_Bitmap
func (*Block_Index) GetMax ¶ added in v0.0.19
func (x *Block_Index) GetMax() int64
func (*Block_Index) GetMin ¶ added in v0.0.19
func (x *Block_Index) GetMin() int64
func (*Block_Index) ProtoMessage ¶ added in v0.0.19
func (*Block_Index) ProtoMessage()
func (*Block_Index) ProtoReflect ¶ added in v0.0.19
func (x *Block_Index) ProtoReflect() protoreflect.Message
func (*Block_Index) Reset ¶ added in v0.0.19
func (x *Block_Index) Reset()
func (*Block_Index) String ¶ added in v0.0.19
func (x *Block_Index) String() string
type Block_Index_Bitmap ¶ added in v0.0.19
type Block_Index_Bitmap struct { Bitmap []byte `protobuf:"bytes,1,opt,name=bitmap,proto3" json:"bitmap,omitempty"` Min int64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` Max int64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*Block_Index_Bitmap) Descriptor
deprecated
added in
v0.0.19
func (*Block_Index_Bitmap) Descriptor() ([]byte, []int)
Deprecated: Use Block_Index_Bitmap.ProtoReflect.Descriptor instead.
func (*Block_Index_Bitmap) GetBitmap ¶ added in v0.0.19
func (x *Block_Index_Bitmap) GetBitmap() []byte
func (*Block_Index_Bitmap) GetMax ¶ added in v0.0.19
func (x *Block_Index_Bitmap) GetMax() int64
func (*Block_Index_Bitmap) GetMin ¶ added in v0.0.19
func (x *Block_Index_Bitmap) GetMin() int64
func (*Block_Index_Bitmap) ProtoMessage ¶ added in v0.0.19
func (*Block_Index_Bitmap) ProtoMessage()
func (*Block_Index_Bitmap) ProtoReflect ¶ added in v0.0.19
func (x *Block_Index_Bitmap) ProtoReflect() protoreflect.Message
func (*Block_Index_Bitmap) Reset ¶ added in v0.0.19
func (x *Block_Index_Bitmap) Reset()
func (*Block_Index_Bitmap) String ¶ added in v0.0.19
func (x *Block_Index_Bitmap) String() string
type Block_Index_BloomKey ¶ added in v0.0.19
type Block_Index_BloomKey struct { Column Block_Index_Column `protobuf:"varint,1,opt,name=column,proto3,enum=v1.Block_Index_Column" json:"column,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Block_Index_BloomKey) Descriptor
deprecated
added in
v0.0.19
func (*Block_Index_BloomKey) Descriptor() ([]byte, []int)
Deprecated: Use Block_Index_BloomKey.ProtoReflect.Descriptor instead.
func (*Block_Index_BloomKey) GetColumn ¶ added in v0.0.19
func (x *Block_Index_BloomKey) GetColumn() Block_Index_Column
func (*Block_Index_BloomKey) GetValue ¶ added in v0.0.19
func (x *Block_Index_BloomKey) GetValue() string
func (*Block_Index_BloomKey) ProtoMessage ¶ added in v0.0.19
func (*Block_Index_BloomKey) ProtoMessage()
func (*Block_Index_BloomKey) ProtoReflect ¶ added in v0.0.19
func (x *Block_Index_BloomKey) ProtoReflect() protoreflect.Message
func (*Block_Index_BloomKey) Reset ¶ added in v0.0.19
func (x *Block_Index_BloomKey) Reset()
func (*Block_Index_BloomKey) String ¶ added in v0.0.19
func (x *Block_Index_BloomKey) String() string
type Block_Index_Column ¶ added in v0.0.19
type Block_Index_Column int32
const ( Block_Index_Browser Block_Index_Column = 0 Block_Index_BrowserVersion Block_Index_Column = 1 Block_Index_City Block_Index_Column = 2 Block_Index_Country Block_Index_Column = 3 Block_Index_Domain Block_Index_Column = 4 Block_Index_EntryPage Block_Index_Column = 5 Block_Index_ExitPage Block_Index_Column = 6 Block_Index_Host Block_Index_Column = 7 Block_Index_Event Block_Index_Column = 8 Block_Index_Os Block_Index_Column = 9 Block_Index_OsVersion Block_Index_Column = 10 Block_Index_Path Block_Index_Column = 11 Block_Index_Referrer Block_Index_Column = 12 Block_Index_ReferrerSource Block_Index_Column = 13 Block_Index_Region Block_Index_Column = 14 Block_Index_Screen Block_Index_Column = 15 Block_Index_UtmCampaign Block_Index_Column = 16 Block_Index_UtmContent Block_Index_Column = 17 Block_Index_UtmMedium Block_Index_Column = 18 Block_Index_UtmSource Block_Index_Column = 19 Block_Index_UtmTerm Block_Index_Column = 20 )
func (Block_Index_Column) Descriptor ¶ added in v0.0.19
func (Block_Index_Column) Descriptor() protoreflect.EnumDescriptor
func (Block_Index_Column) Enum ¶ added in v0.0.19
func (x Block_Index_Column) Enum() *Block_Index_Column
func (Block_Index_Column) EnumDescriptor
deprecated
added in
v0.0.19
func (Block_Index_Column) EnumDescriptor() ([]byte, []int)
Deprecated: Use Block_Index_Column.Descriptor instead.
func (Block_Index_Column) Number ¶ added in v0.0.19
func (x Block_Index_Column) Number() protoreflect.EnumNumber
func (Block_Index_Column) String ¶ added in v0.0.19
func (x Block_Index_Column) String() string
func (Block_Index_Column) Type ¶ added in v0.0.19
func (Block_Index_Column) Type() protoreflect.EnumType
type Block_Key ¶ added in v0.0.19
type Block_Key struct { Store *StoreKey `protobuf:"bytes,1,opt,name=store,proto3" json:"store,omitempty"` Kind Block_Key_Kind `protobuf:"varint,2,opt,name=kind,proto3,enum=v1.Block_Key_Kind" json:"kind,omitempty"` Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*Block_Key) Descriptor
deprecated
added in
v0.0.19
func (*Block_Key) GetKind ¶ added in v0.0.19
func (x *Block_Key) GetKind() Block_Key_Kind
func (*Block_Key) ProtoMessage ¶ added in v0.0.19
func (*Block_Key) ProtoMessage()
func (*Block_Key) ProtoReflect ¶ added in v0.0.19
func (x *Block_Key) ProtoReflect() protoreflect.Message
type Block_Key_Kind ¶ added in v0.0.19
type Block_Key_Kind int32
const ( Block_Key_METADATA Block_Key_Kind = 0 Block_Key_INDEX Block_Key_Kind = 1 )
func (Block_Key_Kind) Descriptor ¶ added in v0.0.19
func (Block_Key_Kind) Descriptor() protoreflect.EnumDescriptor
func (Block_Key_Kind) Enum ¶ added in v0.0.19
func (x Block_Key_Kind) Enum() *Block_Key_Kind
func (Block_Key_Kind) EnumDescriptor
deprecated
added in
v0.0.19
func (Block_Key_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Block_Key_Kind.Descriptor instead.
func (Block_Key_Kind) Number ¶ added in v0.0.19
func (x Block_Key_Kind) Number() protoreflect.EnumNumber
func (Block_Key_Kind) String ¶ added in v0.0.19
func (x Block_Key_Kind) String() string
func (Block_Key_Kind) Type ¶ added in v0.0.19
func (Block_Key_Kind) Type() protoreflect.EnumType
type Build ¶ added in v0.0.21
type Build struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Build) Descriptor
deprecated
added in
v0.0.21
func (*Build) GetVersion ¶ added in v0.0.21
func (*Build) ProtoMessage ¶ added in v0.0.21
func (*Build) ProtoMessage()
func (*Build) ProtoReflect ¶ added in v0.0.21
func (x *Build) ProtoReflect() protoreflect.Message
type Client ¶ added in v0.0.23
type Client struct { PrivateKey []byte `protobuf:"bytes,1,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // Authentication details of vince instances Instance map[string]*Client_Instance `` /* 157-byte string literal not displayed */ // The default auth name to use. Active *Client_Active `protobuf:"bytes,4,opt,name=active,proto3" json:"active,omitempty"` // contains filtered or unexported fields }
func (*Client) Descriptor
deprecated
added in
v0.0.23
func (*Client) GetActive ¶ added in v0.0.23
func (x *Client) GetActive() *Client_Active
func (*Client) GetInstance ¶ added in v0.0.23
func (x *Client) GetInstance() map[string]*Client_Instance
func (*Client) GetPrivateKey ¶ added in v0.0.23
func (*Client) ProtoMessage ¶ added in v0.0.23
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶ added in v0.0.23
func (x *Client) ProtoReflect() protoreflect.Message
type Client_Active ¶ added in v0.0.23
type Client_Active struct { Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*Client_Active) Descriptor
deprecated
added in
v0.0.23
func (*Client_Active) Descriptor() ([]byte, []int)
Deprecated: Use Client_Active.ProtoReflect.Descriptor instead.
func (*Client_Active) GetAccount ¶ added in v0.0.23
func (x *Client_Active) GetAccount() string
func (*Client_Active) GetInstance ¶ added in v0.0.23
func (x *Client_Active) GetInstance() string
func (*Client_Active) ProtoMessage ¶ added in v0.0.23
func (*Client_Active) ProtoMessage()
func (*Client_Active) ProtoReflect ¶ added in v0.0.23
func (x *Client_Active) ProtoReflect() protoreflect.Message
func (*Client_Active) Reset ¶ added in v0.0.23
func (x *Client_Active) Reset()
func (*Client_Active) String ¶ added in v0.0.23
func (x *Client_Active) String() string
type Client_Auth ¶ added in v0.0.23
type Client_Auth struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Api string `protobuf:"bytes,3,opt,name=api,proto3" json:"api,omitempty"` Mysql string `protobuf:"bytes,4,opt,name=mysql,proto3" json:"mysql,omitempty"` // contains filtered or unexported fields }
func (*Client_Auth) Descriptor
deprecated
added in
v0.0.23
func (*Client_Auth) Descriptor() ([]byte, []int)
Deprecated: Use Client_Auth.ProtoReflect.Descriptor instead.
func (*Client_Auth) GetApi ¶ added in v0.0.23
func (x *Client_Auth) GetApi() string
func (*Client_Auth) GetMysql ¶ added in v0.0.23
func (x *Client_Auth) GetMysql() string
func (*Client_Auth) GetName ¶ added in v0.0.23
func (x *Client_Auth) GetName() string
func (*Client_Auth) GetToken ¶ added in v0.0.23
func (x *Client_Auth) GetToken() string
func (*Client_Auth) ProtoMessage ¶ added in v0.0.23
func (*Client_Auth) ProtoMessage()
func (*Client_Auth) ProtoReflect ¶ added in v0.0.23
func (x *Client_Auth) ProtoReflect() protoreflect.Message
func (*Client_Auth) Reset ¶ added in v0.0.23
func (x *Client_Auth) Reset()
func (*Client_Auth) String ¶ added in v0.0.23
func (x *Client_Auth) String() string
type Client_Instance ¶ added in v0.0.23
type Client_Instance struct { Accounts map[string]*Client_Auth `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Client_Instance) Descriptor
deprecated
added in
v0.0.23
func (*Client_Instance) Descriptor() ([]byte, []int)
Deprecated: Use Client_Instance.ProtoReflect.Descriptor instead.
func (*Client_Instance) GetAccounts ¶ added in v0.0.23
func (x *Client_Instance) GetAccounts() map[string]*Client_Auth
func (*Client_Instance) ProtoMessage ¶ added in v0.0.23
func (*Client_Instance) ProtoMessage()
func (*Client_Instance) ProtoReflect ¶ added in v0.0.23
func (x *Client_Instance) ProtoReflect() protoreflect.Message
func (*Client_Instance) Reset ¶ added in v0.0.23
func (x *Client_Instance) Reset()
func (*Client_Instance) String ¶ added in v0.0.23
func (x *Client_Instance) String() string
type Config ¶ added in v0.0.21
type Config struct { // Path to the directory which is used to store metadata. This directory is // managed by badger key/value store. WHich is used to store all metadata // regarding sites events. // // Metadata includes // - Registered sites // - Blocks metadata // - Blocks indexes MetaPath string `protobuf:"bytes,1,opt,name=meta_path,json=metaPath,proto3" json:"meta_path,omitempty"` // Path to where block files are stored. Blocks are stored as files with ULID // as filenames BlocksPath string `protobuf:"bytes,2,opt,name=blocks_path,json=blocksPath,proto3" json:"blocks_path,omitempty"` // host:port to bind for http api. This is used by serve command. The server // serves ui console ListenAddress string `protobuf:"bytes,3,opt,name=listen_address,json=listenAddress,proto3" json:"listen_address,omitempty"` // Control how much is logged options are // trace,debug,info,warn,error,fatal,panic LogLevel string `protobuf:"bytes,4,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` // Interval for syncing buffered entries. By default events are buffered and // periodically saved. SyncInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=sync_interval,json=syncInterval,proto3" json:"sync_interval,omitempty"` // Expose /debug/pprof endpoint when serving EnableProfile bool `protobuf:"varint,6,opt,name=enable_profile,json=enableProfile,proto3" json:"enable_profile,omitempty"` // host:port to bind myslq server. Serves web analytics via MySQL compliant // wire protocol. MysqlListenAddress string `protobuf:"bytes,7,opt,name=mysql_listen_address,json=mysqlListenAddress,proto3" json:"mysql_listen_address,omitempty"` TlsCertFile string `protobuf:"bytes,8,opt,name=tls_cert_file,json=tlsCertFile,proto3" json:"tls_cert_file,omitempty"` TlsKeyFile string `protobuf:"bytes,9,opt,name=tls_key_file,json=tlsKeyFile,proto3" json:"tls_key_file,omitempty"` // contains filtered or unexported fields }
Configuration object for vince instance
func (*Config) Descriptor
deprecated
added in
v0.0.21
func (*Config) GetBlocksPath ¶ added in v0.0.21
func (*Config) GetEnableProfile ¶ added in v0.0.21
func (*Config) GetListenAddress ¶ added in v0.0.21
func (*Config) GetLogLevel ¶ added in v0.0.21
func (*Config) GetMetaPath ¶ added in v0.0.21
func (*Config) GetMysqlListenAddress ¶ added in v0.0.23
func (*Config) GetSyncInterval ¶ added in v0.0.21
func (x *Config) GetSyncInterval() *durationpb.Duration
func (*Config) GetTlsCertFile ¶ added in v0.0.23
func (*Config) GetTlsKeyFile ¶ added in v0.0.23
func (*Config) ProtoMessage ¶ added in v0.0.21
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v0.0.21
func (x *Config) ProtoReflect() protoreflect.Message
type Error ¶ added in v0.0.23
type Error struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
added in
v0.0.23
func (*Error) ProtoMessage ¶ added in v0.0.23
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶ added in v0.0.23
func (x *Error) ProtoReflect() protoreflect.Message
type Filter ¶
type Filter struct { Column string `protobuf:"bytes,1,opt,name=column,proto3" json:"column,omitempty"` Op Filter_Op `protobuf:"varint,2,opt,name=op,proto3,enum=v1.Filter_Op" json:"op,omitempty"` // Types that are assignable to Value: // // *Filter_Str // *Filter_Timestamp // *Filter_Duration Value isFilter_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) GetDuration ¶
func (*Filter) GetTimestamp ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type Filter_Duration ¶
type Filter_Duration struct {
Duration int64 `protobuf:"varint,5,opt,name=duration,proto3,oneof"`
}
type Filter_Op ¶ added in v0.0.25
type Filter_Op int32
func (Filter_Op) Descriptor ¶ added in v0.0.25
func (Filter_Op) Descriptor() protoreflect.EnumDescriptor
func (Filter_Op) EnumDescriptor
deprecated
added in
v0.0.25
func (Filter_Op) Number ¶ added in v0.0.25
func (x Filter_Op) Number() protoreflect.EnumNumber
func (Filter_Op) Type ¶ added in v0.0.25
func (Filter_Op) Type() protoreflect.EnumType
type Filter_Str ¶
type Filter_Str struct {
Str string `protobuf:"bytes,3,opt,name=str,proto3,oneof"`
}
type Filter_Timestamp ¶
type Filter_Timestamp struct {
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3,oneof"`
}
type Metadata ¶
type Metadata struct { Blocks []*Block `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type Site ¶
type Site struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*Site) Descriptor
deprecated
func (*Site) ProtoMessage ¶
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶
func (x *Site) ProtoReflect() protoreflect.Message
type Site_CreateOptions ¶ added in v0.0.25
type Site_CreateOptions struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*Site_CreateOptions) Descriptor
deprecated
added in
v0.0.25
func (*Site_CreateOptions) Descriptor() ([]byte, []int)
Deprecated: Use Site_CreateOptions.ProtoReflect.Descriptor instead.
func (*Site_CreateOptions) GetDomain ¶ added in v0.0.25
func (x *Site_CreateOptions) GetDomain() string
func (*Site_CreateOptions) ProtoMessage ¶ added in v0.0.25
func (*Site_CreateOptions) ProtoMessage()
func (*Site_CreateOptions) ProtoReflect ¶ added in v0.0.25
func (x *Site_CreateOptions) ProtoReflect() protoreflect.Message
func (*Site_CreateOptions) Reset ¶ added in v0.0.25
func (x *Site_CreateOptions) Reset()
func (*Site_CreateOptions) String ¶ added in v0.0.25
func (x *Site_CreateOptions) String() string
type Site_DeleteOptions ¶ added in v0.0.25
type Site_DeleteOptions struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*Site_DeleteOptions) Descriptor
deprecated
added in
v0.0.25
func (*Site_DeleteOptions) Descriptor() ([]byte, []int)
Deprecated: Use Site_DeleteOptions.ProtoReflect.Descriptor instead.
func (*Site_DeleteOptions) GetDomain ¶ added in v0.0.25
func (x *Site_DeleteOptions) GetDomain() string
func (*Site_DeleteOptions) ProtoMessage ¶ added in v0.0.25
func (*Site_DeleteOptions) ProtoMessage()
func (*Site_DeleteOptions) ProtoReflect ¶ added in v0.0.25
func (x *Site_DeleteOptions) ProtoReflect() protoreflect.Message
func (*Site_DeleteOptions) Reset ¶ added in v0.0.25
func (x *Site_DeleteOptions) Reset()
func (*Site_DeleteOptions) String ¶ added in v0.0.25
func (x *Site_DeleteOptions) String() string
type Site_GetOptions ¶ added in v0.0.25
type Site_GetOptions struct {
// contains filtered or unexported fields
}
func (*Site_GetOptions) Descriptor
deprecated
added in
v0.0.25
func (*Site_GetOptions) Descriptor() ([]byte, []int)
Deprecated: Use Site_GetOptions.ProtoReflect.Descriptor instead.
func (*Site_GetOptions) ProtoMessage ¶ added in v0.0.25
func (*Site_GetOptions) ProtoMessage()
func (*Site_GetOptions) ProtoReflect ¶ added in v0.0.25
func (x *Site_GetOptions) ProtoReflect() protoreflect.Message
func (*Site_GetOptions) Reset ¶ added in v0.0.25
func (x *Site_GetOptions) Reset()
func (*Site_GetOptions) String ¶ added in v0.0.25
func (x *Site_GetOptions) String() string
type Site_Key ¶ added in v0.0.23
type Site_Key struct { Store *StoreKey `protobuf:"bytes,1,opt,name=store,proto3" json:"store,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*Site_Key) Descriptor
deprecated
added in
v0.0.23
func (*Site_Key) ProtoMessage ¶ added in v0.0.23
func (*Site_Key) ProtoMessage()
func (*Site_Key) ProtoReflect ¶ added in v0.0.23
func (x *Site_Key) ProtoReflect() protoreflect.Message
type Site_List ¶ added in v0.0.21
type Site_List struct { List []*Site `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*Site_List) Descriptor
deprecated
added in
v0.0.21
func (*Site_List) ProtoMessage ¶ added in v0.0.21
func (*Site_List) ProtoMessage()
func (*Site_List) ProtoReflect ¶ added in v0.0.21
func (x *Site_List) ProtoReflect() protoreflect.Message
type Site_ListOptions ¶ added in v0.0.25
type Site_ListOptions struct {
// contains filtered or unexported fields
}
func (*Site_ListOptions) Descriptor
deprecated
added in
v0.0.25
func (*Site_ListOptions) Descriptor() ([]byte, []int)
Deprecated: Use Site_ListOptions.ProtoReflect.Descriptor instead.
func (*Site_ListOptions) ProtoMessage ¶ added in v0.0.25
func (*Site_ListOptions) ProtoMessage()
func (*Site_ListOptions) ProtoReflect ¶ added in v0.0.25
func (x *Site_ListOptions) ProtoReflect() protoreflect.Message
func (*Site_ListOptions) Reset ¶ added in v0.0.25
func (x *Site_ListOptions) Reset()
func (*Site_ListOptions) String ¶ added in v0.0.25
func (x *Site_ListOptions) String() string
type Status ¶ added in v0.0.21
type Status struct {
// contains filtered or unexported fields
}
func (*Status) Descriptor
deprecated
added in
v0.0.21
func (*Status) ProtoMessage ¶ added in v0.0.21
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶ added in v0.0.21
func (x *Status) ProtoReflect() protoreflect.Message
type StoreKey ¶
type StoreKey struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Prefix StorePrefix `protobuf:"varint,2,opt,name=prefix,proto3,enum=v1.StorePrefix" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*StoreKey) Descriptor
deprecated
func (*StoreKey) GetNamespace ¶
func (*StoreKey) GetPrefix ¶
func (x *StoreKey) GetPrefix() StorePrefix
func (*StoreKey) ProtoMessage ¶
func (*StoreKey) ProtoMessage()
func (*StoreKey) ProtoReflect ¶
func (x *StoreKey) ProtoReflect() protoreflect.Message
type StorePrefix ¶
type StorePrefix int32
StorePrefix defines different kind of data we are storing in the key value store.
const ( StorePrefix_SITES StorePrefix = 0 StorePrefix_BLOCKS StorePrefix = 1 StorePrefix_ALERTS StorePrefix = 2 StorePrefix_ACCOUNT StorePrefix = 3 StorePrefix_TOKEN StorePrefix = 4 )
func (StorePrefix) Descriptor ¶
func (StorePrefix) Descriptor() protoreflect.EnumDescriptor
func (StorePrefix) Enum ¶
func (x StorePrefix) Enum() *StorePrefix
func (StorePrefix) EnumDescriptor
deprecated
func (StorePrefix) EnumDescriptor() ([]byte, []int)
Deprecated: Use StorePrefix.Descriptor instead.
func (StorePrefix) Number ¶
func (x StorePrefix) Number() protoreflect.EnumNumber
func (StorePrefix) String ¶
func (x StorePrefix) String() string
func (StorePrefix) Type ¶
func (StorePrefix) Type() protoreflect.EnumType
type Token ¶ added in v0.0.23
type Token struct { PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // contains filtered or unexported fields }
func (*Token) Descriptor
deprecated
added in
v0.0.23
func (*Token) ProtoMessage ¶ added in v0.0.23
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶ added in v0.0.23
func (x *Token) ProtoReflect() protoreflect.Message
type Token_CreateOptions ¶ added in v0.0.25
type Token_CreateOptions struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // When true, the token will be generated by the server. Generate bool `protobuf:"varint,5,opt,name=generate,proto3" json:"generate,omitempty"` Ttl *durationpb.Duration `protobuf:"bytes,6,opt,name=ttl,proto3" json:"ttl,omitempty"` // contains filtered or unexported fields }
func (*Token_CreateOptions) Descriptor
deprecated
added in
v0.0.25
func (*Token_CreateOptions) Descriptor() ([]byte, []int)
Deprecated: Use Token_CreateOptions.ProtoReflect.Descriptor instead.
func (*Token_CreateOptions) GetGenerate ¶ added in v0.0.25
func (x *Token_CreateOptions) GetGenerate() bool
func (*Token_CreateOptions) GetName ¶ added in v0.0.25
func (x *Token_CreateOptions) GetName() string
func (*Token_CreateOptions) GetPassword ¶ added in v0.0.25
func (x *Token_CreateOptions) GetPassword() string
func (*Token_CreateOptions) GetPublicKey ¶ added in v0.0.25
func (x *Token_CreateOptions) GetPublicKey() []byte
func (*Token_CreateOptions) GetToken ¶ added in v0.0.25
func (x *Token_CreateOptions) GetToken() string
func (*Token_CreateOptions) GetTtl ¶ added in v0.0.25
func (x *Token_CreateOptions) GetTtl() *durationpb.Duration
func (*Token_CreateOptions) ProtoMessage ¶ added in v0.0.25
func (*Token_CreateOptions) ProtoMessage()
func (*Token_CreateOptions) ProtoReflect ¶ added in v0.0.25
func (x *Token_CreateOptions) ProtoReflect() protoreflect.Message
func (*Token_CreateOptions) Reset ¶ added in v0.0.25
func (x *Token_CreateOptions) Reset()
func (*Token_CreateOptions) String ¶ added in v0.0.25
func (x *Token_CreateOptions) String() string
type Token_Issuer ¶ added in v0.0.23
type Token_Issuer int32
const ( Token_SERVER Token_Issuer = 0 Token_CLIENT Token_Issuer = 1 )
func (Token_Issuer) Descriptor ¶ added in v0.0.23
func (Token_Issuer) Descriptor() protoreflect.EnumDescriptor
func (Token_Issuer) Enum ¶ added in v0.0.23
func (x Token_Issuer) Enum() *Token_Issuer
func (Token_Issuer) EnumDescriptor
deprecated
added in
v0.0.23
func (Token_Issuer) EnumDescriptor() ([]byte, []int)
Deprecated: Use Token_Issuer.Descriptor instead.
func (Token_Issuer) Number ¶ added in v0.0.23
func (x Token_Issuer) Number() protoreflect.EnumNumber
func (Token_Issuer) String ¶ added in v0.0.23
func (x Token_Issuer) String() string
func (Token_Issuer) Type ¶ added in v0.0.23
func (Token_Issuer) Type() protoreflect.EnumType
type Token_Key ¶ added in v0.0.23
type Token_Key struct { Store *StoreKey `protobuf:"bytes,1,opt,name=store,proto3" json:"store,omitempty"` Hash int64 `protobuf:"varint,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*Token_Key) Descriptor
deprecated
added in
v0.0.23
func (*Token_Key) ProtoMessage ¶ added in v0.0.23
func (*Token_Key) ProtoMessage()
func (*Token_Key) ProtoReflect ¶ added in v0.0.23
func (x *Token_Key) ProtoReflect() protoreflect.Message