v1

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	Query_Colum_DataType_name = map[int32]string{
		0: "UNKNOWN",
		1: "NUMBER",
		2: "DOUBLE",
		3: "STRING",
		4: "BOOL",
		5: "TIMESTAMP",
	}
	Query_Colum_DataType_value = map[string]int32{
		"UNKNOWN":   0,
		"NUMBER":    1,
		"DOUBLE":    2,
		"STRING":    3,
		"BOOL":      4,
		"TIMESTAMP": 5,
	}
)

Enum value maps for Query_Colum_DataType.

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetHashedPassword added in v0.0.25

func (x *Account) GetHashedPassword() []byte

func (*Account) GetName added in v0.0.23

func (x *Account) GetName() string

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

func (*Account) Reset added in v0.0.23

func (x *Account) Reset()

func (*Account) String added in v0.0.23

func (x *Account) String() string

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetId

func (x *Block) GetId() []byte

func (*Block) GetMax

func (x *Block) GetMax() int64

func (*Block) GetMin

func (x *Block) GetMin() int64

func (*Block) GetSize

func (x *Block) GetSize() int64

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

func (x *Block) ProtoReflect() protoreflect.Message

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

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 (*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) Enum added in v0.0.19

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

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

Deprecated: Use Block_Key.ProtoReflect.Descriptor instead.

func (*Block_Key) GetDomain added in v0.0.19

func (x *Block_Key) GetDomain() string

func (*Block_Key) GetKind added in v0.0.19

func (x *Block_Key) GetKind() Block_Key_Kind

func (*Block_Key) GetStore added in v0.0.23

func (x *Block_Key) GetStore() *StoreKey

func (*Block_Key) GetUid added in v0.0.19

func (x *Block_Key) GetUid() string

func (*Block_Key) Parts added in v0.0.23

func (s *Block_Key) Parts() []string

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

func (*Block_Key) Reset added in v0.0.19

func (x *Block_Key) Reset()

func (*Block_Key) String added in v0.0.19

func (x *Block_Key) String() string

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

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

Deprecated: Use Build.ProtoReflect.Descriptor instead.

func (*Build) GetVersion added in v0.0.21

func (x *Build) GetVersion() string

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

func (*Build) Reset added in v0.0.21

func (x *Build) Reset()

func (*Build) String added in v0.0.21

func (x *Build) String() string

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

Deprecated: Use Client.ProtoReflect.Descriptor instead.

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 (x *Client) GetPrivateKey() []byte

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

func (*Client) Reset added in v0.0.23

func (x *Client) Reset()

func (*Client) String added in v0.0.23

func (x *Client) String() string

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"`
	Tls   bool   `protobuf:"varint,5,opt,name=tls,proto3" json:"tls,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) GetTls added in v0.0.26

func (x *Client_Auth) GetTls() bool

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetBlocksPath added in v0.0.21

func (x *Config) GetBlocksPath() string

func (*Config) GetEnableProfile added in v0.0.21

func (x *Config) GetEnableProfile() bool

func (*Config) GetListenAddress added in v0.0.21

func (x *Config) GetListenAddress() string

func (*Config) GetLogLevel added in v0.0.21

func (x *Config) GetLogLevel() string

func (*Config) GetMetaPath added in v0.0.21

func (x *Config) GetMetaPath() string

func (*Config) GetMysqlListenAddress added in v0.0.23

func (x *Config) GetMysqlListenAddress() string

func (*Config) GetSyncInterval added in v0.0.21

func (x *Config) GetSyncInterval() *durationpb.Duration

func (*Config) GetTlsCertFile added in v0.0.23

func (x *Config) GetTlsCertFile() string

func (*Config) GetTlsKeyFile added in v0.0.23

func (x *Config) GetTlsKeyFile() string

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

func (*Config) Reset added in v0.0.21

func (x *Config) Reset()

func (*Config) String added in v0.0.21

func (x *Config) String() string

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode added in v0.0.23

func (x *Error) GetCode() int32

func (*Error) GetError added in v0.0.23

func (x *Error) GetError() string

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

func (*Error) Reset added in v0.0.23

func (x *Error) Reset()

func (*Error) String added in v0.0.23

func (x *Error) String() string

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetColumn

func (x *Filter) GetColumn() string

func (*Filter) GetDuration

func (x *Filter) GetDuration() int64

func (*Filter) GetOp

func (x *Filter) GetOp() Filter_Op

func (*Filter) GetStr

func (x *Filter) GetStr() string

func (*Filter) GetTimestamp

func (x *Filter) GetTimestamp() int64

func (*Filter) GetValue

func (m *Filter) GetValue() isFilter_Value

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

func (x *Filter) ProtoReflect() protoreflect.Message

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

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
const (
	Filter_equal         Filter_Op = 0
	Filter_not_equal     Filter_Op = 1
	Filter_greater       Filter_Op = 2
	Filter_greater_equal Filter_Op = 3
	Filter_less          Filter_Op = 4
	Filter_less_equal    Filter_Op = 5
)

func (Filter_Op) Descriptor added in v0.0.25

func (Filter_Op) Descriptor() protoreflect.EnumDescriptor

func (Filter_Op) Enum added in v0.0.25

func (x Filter_Op) Enum() *Filter_Op

func (Filter_Op) EnumDescriptor deprecated added in v0.0.25

func (Filter_Op) EnumDescriptor() ([]byte, []int)

Deprecated: Use Filter_Op.Descriptor instead.

func (Filter_Op) Number added in v0.0.25

func (x Filter_Op) Number() protoreflect.EnumNumber

func (Filter_Op) String added in v0.0.25

func (x Filter_Op) String() string

func (Filter_Op) Type added in v0.0.25

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetBlocks

func (x *Metadata) GetBlocks() []*Block

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Query added in v0.0.26

type Query struct {
	// contains filtered or unexported fields
}

func (*Query) Descriptor deprecated added in v0.0.26

func (*Query) Descriptor() ([]byte, []int)

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) ProtoMessage added in v0.0.26

func (*Query) ProtoMessage()

func (*Query) ProtoReflect added in v0.0.26

func (x *Query) ProtoReflect() protoreflect.Message

func (*Query) Reset added in v0.0.26

func (x *Query) Reset()

func (*Query) String added in v0.0.26

func (x *Query) String() string

type Query_Colum added in v0.0.26

type Query_Colum struct {
	Name     string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DataType Query_Colum_DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=v1.Query_Colum_DataType" json:"data_type,omitempty"`
	// contains filtered or unexported fields
}

func (*Query_Colum) Descriptor deprecated added in v0.0.26

func (*Query_Colum) Descriptor() ([]byte, []int)

Deprecated: Use Query_Colum.ProtoReflect.Descriptor instead.

func (*Query_Colum) GetDataType added in v0.0.26

func (x *Query_Colum) GetDataType() Query_Colum_DataType

func (*Query_Colum) GetName added in v0.0.26

func (x *Query_Colum) GetName() string

func (*Query_Colum) ProtoMessage added in v0.0.26

func (*Query_Colum) ProtoMessage()

func (*Query_Colum) ProtoReflect added in v0.0.26

func (x *Query_Colum) ProtoReflect() protoreflect.Message

func (*Query_Colum) Reset added in v0.0.26

func (x *Query_Colum) Reset()

func (*Query_Colum) String added in v0.0.26

func (x *Query_Colum) String() string

type Query_Colum_DataType added in v0.0.26

type Query_Colum_DataType int32
const (
	Query_Colum_UNKNOWN   Query_Colum_DataType = 0
	Query_Colum_NUMBER    Query_Colum_DataType = 1
	Query_Colum_DOUBLE    Query_Colum_DataType = 2
	Query_Colum_STRING    Query_Colum_DataType = 3
	Query_Colum_BOOL      Query_Colum_DataType = 4
	Query_Colum_TIMESTAMP Query_Colum_DataType = 5
)

func (Query_Colum_DataType) Descriptor added in v0.0.26

func (Query_Colum_DataType) Enum added in v0.0.26

func (Query_Colum_DataType) EnumDescriptor deprecated added in v0.0.26

func (Query_Colum_DataType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Query_Colum_DataType.Descriptor instead.

func (Query_Colum_DataType) Number added in v0.0.26

func (Query_Colum_DataType) String added in v0.0.26

func (x Query_Colum_DataType) String() string

func (Query_Colum_DataType) Type added in v0.0.26

type Query_Param added in v0.0.26

type Query_Param struct {
	Name  string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value *Query_Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Query_Param) Descriptor deprecated added in v0.0.26

func (*Query_Param) Descriptor() ([]byte, []int)

Deprecated: Use Query_Param.ProtoReflect.Descriptor instead.

func (*Query_Param) GetName added in v0.0.26

func (x *Query_Param) GetName() string

func (*Query_Param) GetValue added in v0.0.26

func (x *Query_Param) GetValue() *Query_Value

func (*Query_Param) ProtoMessage added in v0.0.26

func (*Query_Param) ProtoMessage()

func (*Query_Param) ProtoReflect added in v0.0.26

func (x *Query_Param) ProtoReflect() protoreflect.Message

func (*Query_Param) Reset added in v0.0.26

func (x *Query_Param) Reset()

func (*Query_Param) String added in v0.0.26

func (x *Query_Param) String() string

type Query_RequestOptions added in v0.0.26

type Query_RequestOptions struct {
	Query  string         `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	Params []*Query_Param `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*Query_RequestOptions) Descriptor deprecated added in v0.0.26

func (*Query_RequestOptions) Descriptor() ([]byte, []int)

Deprecated: Use Query_RequestOptions.ProtoReflect.Descriptor instead.

func (*Query_RequestOptions) GetParams added in v0.0.26

func (x *Query_RequestOptions) GetParams() []*Query_Param

func (*Query_RequestOptions) GetQuery added in v0.0.26

func (x *Query_RequestOptions) GetQuery() string

func (*Query_RequestOptions) ProtoMessage added in v0.0.26

func (*Query_RequestOptions) ProtoMessage()

func (*Query_RequestOptions) ProtoReflect added in v0.0.26

func (x *Query_RequestOptions) ProtoReflect() protoreflect.Message

func (*Query_RequestOptions) Reset added in v0.0.26

func (x *Query_RequestOptions) Reset()

func (*Query_RequestOptions) String added in v0.0.26

func (x *Query_RequestOptions) String() string

type Query_Result added in v0.0.26

type Query_Result struct {
	Elapsed *durationpb.Duration `protobuf:"bytes,1,opt,name=elapsed,proto3" json:"elapsed,omitempty"`
	Columns []*Query_Colum       `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
	Rows    []*Query_Row         `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*Query_Result) Descriptor deprecated added in v0.0.26

func (*Query_Result) Descriptor() ([]byte, []int)

Deprecated: Use Query_Result.ProtoReflect.Descriptor instead.

func (*Query_Result) GetColumns added in v0.0.26

func (x *Query_Result) GetColumns() []*Query_Colum

func (*Query_Result) GetElapsed added in v0.0.26

func (x *Query_Result) GetElapsed() *durationpb.Duration

func (*Query_Result) GetRows added in v0.0.26

func (x *Query_Result) GetRows() []*Query_Row

func (*Query_Result) ProtoMessage added in v0.0.26

func (*Query_Result) ProtoMessage()

func (*Query_Result) ProtoReflect added in v0.0.26

func (x *Query_Result) ProtoReflect() protoreflect.Message

func (*Query_Result) Reset added in v0.0.26

func (x *Query_Result) Reset()

func (*Query_Result) String added in v0.0.26

func (x *Query_Result) String() string

type Query_Row added in v0.0.26

type Query_Row struct {
	Values []*Query_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Query_Row) Descriptor deprecated added in v0.0.26

func (*Query_Row) Descriptor() ([]byte, []int)

Deprecated: Use Query_Row.ProtoReflect.Descriptor instead.

func (*Query_Row) GetValues added in v0.0.26

func (x *Query_Row) GetValues() []*Query_Value

func (*Query_Row) ProtoMessage added in v0.0.26

func (*Query_Row) ProtoMessage()

func (*Query_Row) ProtoReflect added in v0.0.26

func (x *Query_Row) ProtoReflect() protoreflect.Message

func (*Query_Row) Reset added in v0.0.26

func (x *Query_Row) Reset()

func (*Query_Row) String added in v0.0.26

func (x *Query_Row) String() string

type Query_Value added in v0.0.26

type Query_Value struct {

	// Types that are assignable to Value:
	//
	//	*Query_Value_Number
	//	*Query_Value_Double
	//	*Query_Value_String_
	//	*Query_Value_Bool
	//	*Query_Value_Timestamp
	Value isQuery_Value_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func NewQueryValue added in v0.0.26

func NewQueryValue(v any) *Query_Value

func (*Query_Value) Descriptor deprecated added in v0.0.26

func (*Query_Value) Descriptor() ([]byte, []int)

Deprecated: Use Query_Value.ProtoReflect.Descriptor instead.

func (*Query_Value) GetBool added in v0.0.26

func (x *Query_Value) GetBool() bool

func (*Query_Value) GetDouble added in v0.0.26

func (x *Query_Value) GetDouble() float64

func (*Query_Value) GetNumber added in v0.0.26

func (x *Query_Value) GetNumber() int64

func (*Query_Value) GetString_ added in v0.0.26

func (x *Query_Value) GetString_() string

func (*Query_Value) GetTimestamp added in v0.0.26

func (x *Query_Value) GetTimestamp() *timestamppb.Timestamp

func (*Query_Value) GetValue added in v0.0.26

func (m *Query_Value) GetValue() isQuery_Value_Value

func (*Query_Value) Interface added in v0.0.26

func (v *Query_Value) Interface() (val any)

func (*Query_Value) ProtoMessage added in v0.0.26

func (*Query_Value) ProtoMessage()

func (*Query_Value) ProtoReflect added in v0.0.26

func (x *Query_Value) ProtoReflect() protoreflect.Message

func (*Query_Value) Reset added in v0.0.26

func (x *Query_Value) Reset()

func (*Query_Value) String added in v0.0.26

func (x *Query_Value) String() string

type Query_Value_Bool added in v0.0.26

type Query_Value_Bool struct {
	Bool bool `protobuf:"varint,4,opt,name=bool,proto3,oneof"`
}

type Query_Value_Double added in v0.0.26

type Query_Value_Double struct {
	Double float64 `protobuf:"fixed64,2,opt,name=double,proto3,oneof"`
}

type Query_Value_Number added in v0.0.26

type Query_Value_Number struct {
	Number int64 `protobuf:"varint,1,opt,name=number,proto3,oneof"`
}

type Query_Value_String_ added in v0.0.26

type Query_Value_String_ struct {
	String_ string `protobuf:"bytes,3,opt,name=string,proto3,oneof"`
}

type Query_Value_Timestamp added in v0.0.26

type Query_Value_Timestamp struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3,oneof"`
}

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

Deprecated: Use Site.ProtoReflect.Descriptor instead.

func (*Site) GetDomain added in v0.0.19

func (x *Site) GetDomain() string

func (*Site) ProtoMessage

func (*Site) ProtoMessage()

func (*Site) ProtoReflect

func (x *Site) ProtoReflect() protoreflect.Message

func (*Site) Reset

func (x *Site) Reset()

func (*Site) String

func (x *Site) String() string

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

Deprecated: Use Site_Key.ProtoReflect.Descriptor instead.

func (*Site_Key) GetDomain added in v0.0.23

func (x *Site_Key) GetDomain() string

func (*Site_Key) GetStore added in v0.0.23

func (x *Site_Key) GetStore() *StoreKey

func (*Site_Key) Parts added in v0.0.23

func (s *Site_Key) Parts() []string

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

func (*Site_Key) Reset added in v0.0.23

func (x *Site_Key) Reset()

func (*Site_Key) String added in v0.0.23

func (x *Site_Key) String() string

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

Deprecated: Use Site_List.ProtoReflect.Descriptor instead.

func (*Site_List) GetList added in v0.0.21

func (x *Site_List) GetList() []*Site

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

func (*Site_List) Reset added in v0.0.21

func (x *Site_List) Reset()

func (*Site_List) String added in v0.0.21

func (x *Site_List) String() string

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

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

func (*Status) Reset added in v0.0.21

func (x *Status) Reset()

func (*Status) String added in v0.0.21

func (x *Status) String() string

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

Deprecated: Use StoreKey.ProtoReflect.Descriptor instead.

func (*StoreKey) GetNamespace

func (x *StoreKey) GetNamespace() string

func (*StoreKey) GetPrefix

func (x *StoreKey) GetPrefix() StorePrefix

func (*StoreKey) Parts added in v0.0.23

func (s *StoreKey) Parts() []string

func (*StoreKey) ProtoMessage

func (*StoreKey) ProtoMessage()

func (*StoreKey) ProtoReflect

func (x *StoreKey) ProtoReflect() protoreflect.Message

func (*StoreKey) Reset

func (x *StoreKey) Reset()

func (*StoreKey) String

func (x *StoreKey) String() string

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

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetPubKey added in v0.0.23

func (x *Token) GetPubKey() []byte

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

func (*Token) Reset added in v0.0.23

func (x *Token) Reset()

func (*Token) String added in v0.0.23

func (x *Token) String() string

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 (*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) 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 (Token_Issuer) String added in v0.0.23

func (x Token_Issuer) String() string

func (Token_Issuer) Type added in v0.0.23

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

Deprecated: Use Token_Key.ProtoReflect.Descriptor instead.

func (*Token_Key) GetHash added in v0.0.24

func (x *Token_Key) GetHash() int64

func (*Token_Key) GetStore added in v0.0.23

func (x *Token_Key) GetStore() *StoreKey

func (*Token_Key) Parts added in v0.0.23

func (s *Token_Key) Parts() []string

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

func (*Token_Key) Reset added in v0.0.23

func (x *Token_Key) Reset()

func (*Token_Key) String added in v0.0.23

func (x *Token_Key) String() string

Jump to

Keyboard shortcuts

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