v1

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 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 (
	Column_name = map[int32]string{
		0:  "bounce",
		1:  "duration",
		2:  "id",
		3:  "session",
		4:  "timestamp",
		5:  "browser",
		6:  "browser_version",
		7:  "city",
		8:  "country",
		9:  "entry_page",
		10: "event",
		11: "exit_page",
		12: "host",
		13: "os",
		14: "os_version",
		15: "path",
		16: "referrer",
		17: "referrer_source",
		18: "region",
		19: "screen",
		20: "utm_campaign",
		21: "utm_content",
		22: "utm_medium",
		23: "utm_source",
		24: "utm_term",
	}
	Column_value = map[string]int32{
		"bounce":          0,
		"duration":        1,
		"id":              2,
		"session":         3,
		"timestamp":       4,
		"browser":         5,
		"browser_version": 6,
		"city":            7,
		"country":         8,
		"entry_page":      9,
		"event":           10,
		"exit_page":       11,
		"host":            12,
		"os":              13,
		"os_version":      14,
		"path":            15,
		"referrer":        16,
		"referrer_source": 17,
		"region":          18,
		"screen":          19,
		"utm_campaign":    20,
		"utm_content":     21,
		"utm_medium":      22,
		"utm_source":      23,
		"utm_term":        24,
	}
)

Enum value maps for Column.

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 (
	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 {
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

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 {

	// A list of bitmaps each belonging to a row group. This allows us to select
	// row groups that might contain relevant data based on indexed columns.
	RowGroupBitmap [][]byte `protobuf:"bytes,1,rep,name=row_group_bitmap,json=rowGroupBitmap,proto3" json:"row_group_bitmap,omitempty"`
	// A list of min/max timestamp observed per row group
	TimeRange []*Block_Index_Range `protobuf:"bytes,2,rep,name=time_range,json=timeRange,proto3" json:"time_range,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) GetRowGroupBitmap added in v0.0.28

func (x *Block_Index) GetRowGroupBitmap() [][]byte

func (*Block_Index) GetTimeRange added in v0.0.28

func (x *Block_Index) GetTimeRange() []*Block_Index_Range

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_Range added in v0.0.28

type Block_Index_Range struct {

	// The minimum timestamp value observed in a row group.
	Min *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"`
	// The maximum timestamp value observed a row group.
	Max *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*Block_Index_Range) Descriptor deprecated added in v0.0.28

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

Deprecated: Use Block_Index_Range.ProtoReflect.Descriptor instead.

func (*Block_Index_Range) GetMax added in v0.0.28

func (*Block_Index_Range) GetMin added in v0.0.28

func (*Block_Index_Range) ProtoMessage added in v0.0.28

func (*Block_Index_Range) ProtoMessage()

func (*Block_Index_Range) ProtoReflect added in v0.0.28

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

func (*Block_Index_Range) Reset added in v0.0.28

func (x *Block_Index_Range) Reset()

func (*Block_Index_Range) String added in v0.0.28

func (x *Block_Index_Range) String() string

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 Column added in v0.0.28

type Column int32

Parquet fields used to store events. There are only two phisical data types int64 and string.

The columns are grouped by data types for easy access

const (
	Column_bounce          Column = 0
	Column_duration        Column = 1
	Column_id              Column = 2
	Column_session         Column = 3
	Column_timestamp       Column = 4
	Column_browser         Column = 5
	Column_browser_version Column = 6
	Column_city            Column = 7
	Column_country         Column = 8
	Column_entry_page      Column = 9
	Column_event           Column = 10
	Column_exit_page       Column = 11
	Column_host            Column = 12
	Column_os              Column = 13
	Column_os_version      Column = 14
	Column_path            Column = 15
	Column_referrer        Column = 16
	Column_referrer_source Column = 17
	Column_region          Column = 18
	Column_screen          Column = 19
	Column_utm_campaign    Column = 20
	Column_utm_content     Column = 21
	Column_utm_medium      Column = 22
	Column_utm_source      Column = 23
	Column_utm_term        Column = 24
)

func (Column) Descriptor added in v0.0.28

func (Column) Descriptor() protoreflect.EnumDescriptor

func (Column) Enum added in v0.0.28

func (x Column) Enum() *Column

func (Column) EnumDescriptor deprecated added in v0.0.28

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

Deprecated: Use Column.Descriptor instead.

func (Column) Index added in v0.0.28

func (c Column) Index() int

func (Column) Number added in v0.0.28

func (x Column) Number() protoreflect.EnumNumber

func (Column) String added in v0.0.28

func (x Column) String() string

func (Column) Type added in v0.0.28

func (Column) Type() protoreflect.EnumType

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"`
	EventsBufferSize   int64              `protobuf:"varint,10,opt,name=events_buffer_size,json=eventsBufferSize,proto3" json:"events_buffer_size,omitempty"`
	Notifiers          []*Config_Notifier `protobuf:"bytes,11,rep,name=notifiers,proto3" json:"notifiers,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) GetEventsBufferSize added in v0.0.28

func (x *Config) GetEventsBufferSize() int64

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) GetNotifiers added in v0.0.29

func (x *Config) GetNotifiers() []*Config_Notifier

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 Config_Email added in v0.0.29

type Config_Email struct {
	To           string                 `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	From         string                 `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	Hello        string                 `protobuf:"bytes,3,opt,name=hello,proto3" json:"hello,omitempty"`
	HostPort     string                 `protobuf:"bytes,4,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
	AuthUsername string                 `protobuf:"bytes,5,opt,name=auth_username,json=authUsername,proto3" json:"auth_username,omitempty"`
	AuthPassword string                 `protobuf:"bytes,6,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"`
	AuthSecret   string                 `protobuf:"bytes,7,opt,name=auth_secret,json=authSecret,proto3" json:"auth_secret,omitempty"`
	AuthIdentity string                 `protobuf:"bytes,8,opt,name=auth_identity,json=authIdentity,proto3" json:"auth_identity,omitempty"`
	Headers      map[string]string      `` /* 155-byte string literal not displayed */
	Html         string                 `protobuf:"bytes,10,opt,name=html,proto3" json:"html,omitempty"`
	Text         string                 `protobuf:"bytes,11,opt,name=text,proto3" json:"text,omitempty"`
	RequireTls   bool                   `protobuf:"varint,12,opt,name=require_tls,json=requireTls,proto3" json:"require_tls,omitempty"`
	TlsConfig    *Config_HTTP_TLSConfig `protobuf:"bytes,13,opt,name=tls_config,json=tlsConfig,proto3" json:"tls_config,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_Email) Descriptor deprecated added in v0.0.29

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

Deprecated: Use Config_Email.ProtoReflect.Descriptor instead.

func (*Config_Email) GetAuthIdentity added in v0.0.29

func (x *Config_Email) GetAuthIdentity() string

func (*Config_Email) GetAuthPassword added in v0.0.29

func (x *Config_Email) GetAuthPassword() string

func (*Config_Email) GetAuthSecret added in v0.0.29

func (x *Config_Email) GetAuthSecret() string

func (*Config_Email) GetAuthUsername added in v0.0.29

func (x *Config_Email) GetAuthUsername() string

func (*Config_Email) GetFrom added in v0.0.29

func (x *Config_Email) GetFrom() string

func (*Config_Email) GetHeaders added in v0.0.29

func (x *Config_Email) GetHeaders() map[string]string

func (*Config_Email) GetHello added in v0.0.29

func (x *Config_Email) GetHello() string

func (*Config_Email) GetHostPort added in v0.0.29

func (x *Config_Email) GetHostPort() string

func (*Config_Email) GetHtml added in v0.0.29

func (x *Config_Email) GetHtml() string

func (*Config_Email) GetRequireTls added in v0.0.29

func (x *Config_Email) GetRequireTls() bool

func (*Config_Email) GetText added in v0.0.29

func (x *Config_Email) GetText() string

func (*Config_Email) GetTlsConfig added in v0.0.29

func (x *Config_Email) GetTlsConfig() *Config_HTTP_TLSConfig

func (*Config_Email) GetTo added in v0.0.29

func (x *Config_Email) GetTo() string

func (*Config_Email) ProtoMessage added in v0.0.29

func (*Config_Email) ProtoMessage()

func (*Config_Email) ProtoReflect added in v0.0.29

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

func (*Config_Email) Reset added in v0.0.29

func (x *Config_Email) Reset()

func (*Config_Email) String added in v0.0.29

func (x *Config_Email) String() string

type Config_HTTP added in v0.0.29

type Config_HTTP struct {
	BasicAuth     *Config_HTTP_BasicAuth     `protobuf:"bytes,1,opt,name=basic_auth,json=basicAuth,proto3" json:"basic_auth,omitempty"`
	Authorization *Config_HTTP_Authorization `protobuf:"bytes,2,opt,name=authorization,proto3" json:"authorization,omitempty"`
	Pauth2        *Config_HTTP_OAuth2        `protobuf:"bytes,3,opt,name=pauth2,proto3" json:"pauth2,omitempty"`
	TlsConfig     *Config_HTTP_TLSConfig     `protobuf:"bytes,4,opt,name=tls_config,json=tlsConfig,proto3" json:"tls_config,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_HTTP) Descriptor deprecated added in v0.0.29

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

Deprecated: Use Config_HTTP.ProtoReflect.Descriptor instead.

func (*Config_HTTP) GetAuthorization added in v0.0.29

func (x *Config_HTTP) GetAuthorization() *Config_HTTP_Authorization

func (*Config_HTTP) GetBasicAuth added in v0.0.29

func (x *Config_HTTP) GetBasicAuth() *Config_HTTP_BasicAuth

func (*Config_HTTP) GetPauth2 added in v0.0.29

func (x *Config_HTTP) GetPauth2() *Config_HTTP_OAuth2

func (*Config_HTTP) GetTlsConfig added in v0.0.29

func (x *Config_HTTP) GetTlsConfig() *Config_HTTP_TLSConfig

func (*Config_HTTP) ProtoMessage added in v0.0.29

func (*Config_HTTP) ProtoMessage()

func (*Config_HTTP) ProtoReflect added in v0.0.29

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

func (*Config_HTTP) Reset added in v0.0.29

func (x *Config_HTTP) Reset()

func (*Config_HTTP) String added in v0.0.29

func (x *Config_HTTP) String() string

type Config_HTTP_Authorization added in v0.0.29

type Config_HTTP_Authorization struct {
	Type        string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Credentials string `protobuf:"bytes,2,opt,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_HTTP_Authorization) Descriptor deprecated added in v0.0.29

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

Deprecated: Use Config_HTTP_Authorization.ProtoReflect.Descriptor instead.

func (*Config_HTTP_Authorization) GetCredentials added in v0.0.29

func (x *Config_HTTP_Authorization) GetCredentials() string

func (*Config_HTTP_Authorization) GetType added in v0.0.29

func (x *Config_HTTP_Authorization) GetType() string

func (*Config_HTTP_Authorization) ProtoMessage added in v0.0.29

func (*Config_HTTP_Authorization) ProtoMessage()

func (*Config_HTTP_Authorization) ProtoReflect added in v0.0.29

func (*Config_HTTP_Authorization) Reset added in v0.0.29

func (x *Config_HTTP_Authorization) Reset()

func (*Config_HTTP_Authorization) String added in v0.0.29

func (x *Config_HTTP_Authorization) String() string

type Config_HTTP_BasicAuth added in v0.0.29

type Config_HTTP_BasicAuth struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_HTTP_BasicAuth) Descriptor deprecated added in v0.0.29

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

Deprecated: Use Config_HTTP_BasicAuth.ProtoReflect.Descriptor instead.

func (*Config_HTTP_BasicAuth) GetPassword added in v0.0.29

func (x *Config_HTTP_BasicAuth) GetPassword() string

func (*Config_HTTP_BasicAuth) GetUsername added in v0.0.29

func (x *Config_HTTP_BasicAuth) GetUsername() string

func (*Config_HTTP_BasicAuth) ProtoMessage added in v0.0.29

func (*Config_HTTP_BasicAuth) ProtoMessage()

func (*Config_HTTP_BasicAuth) ProtoReflect added in v0.0.29

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

func (*Config_HTTP_BasicAuth) Reset added in v0.0.29

func (x *Config_HTTP_BasicAuth) Reset()

func (*Config_HTTP_BasicAuth) String added in v0.0.29

func (x *Config_HTTP_BasicAuth) String() string

type Config_HTTP_OAuth2 added in v0.0.29

type Config_HTTP_OAuth2 struct {
	ClientId       string                 `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret   string                 `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	ClientScopes   []string               `protobuf:"bytes,3,rep,name=client_scopes,json=clientScopes,proto3" json:"client_scopes,omitempty"`
	TokenUrl       string                 `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	EndpointParams map[string]string      `` /* 191-byte string literal not displayed */
	TlsConfig      *Config_HTTP_TLSConfig `protobuf:"bytes,6,opt,name=tls_config,json=tlsConfig,proto3" json:"tls_config,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_HTTP_OAuth2) Descriptor deprecated added in v0.0.29

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

Deprecated: Use Config_HTTP_OAuth2.ProtoReflect.Descriptor instead.

func (*Config_HTTP_OAuth2) GetClientId added in v0.0.29

func (x *Config_HTTP_OAuth2) GetClientId() string

func (*Config_HTTP_OAuth2) GetClientScopes added in v0.0.29

func (x *Config_HTTP_OAuth2) GetClientScopes() []string

func (*Config_HTTP_OAuth2) GetClientSecret added in v0.0.29

func (x *Config_HTTP_OAuth2) GetClientSecret() string

func (*Config_HTTP_OAuth2) GetEndpointParams added in v0.0.29

func (x *Config_HTTP_OAuth2) GetEndpointParams() map[string]string

func (*Config_HTTP_OAuth2) GetTlsConfig added in v0.0.29

func (x *Config_HTTP_OAuth2) GetTlsConfig() *Config_HTTP_TLSConfig

func (*Config_HTTP_OAuth2) GetTokenUrl added in v0.0.29

func (x *Config_HTTP_OAuth2) GetTokenUrl() string

func (*Config_HTTP_OAuth2) ProtoMessage added in v0.0.29

func (*Config_HTTP_OAuth2) ProtoMessage()

func (*Config_HTTP_OAuth2) ProtoReflect added in v0.0.29

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

func (*Config_HTTP_OAuth2) Reset added in v0.0.29

func (x *Config_HTTP_OAuth2) Reset()

func (*Config_HTTP_OAuth2) String added in v0.0.29

func (x *Config_HTTP_OAuth2) String() string

type Config_HTTP_TLSConfig added in v0.0.29

type Config_HTTP_TLSConfig struct {
	KeyFile            string `protobuf:"bytes,1,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty"`
	CertFile           string `protobuf:"bytes,2,opt,name=cert_file,json=certFile,proto3" json:"cert_file,omitempty"`
	InsecureSkipVerify bool   `protobuf:"varint,3,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecure_skip_verify,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_HTTP_TLSConfig) Descriptor deprecated added in v0.0.29

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

Deprecated: Use Config_HTTP_TLSConfig.ProtoReflect.Descriptor instead.

func (*Config_HTTP_TLSConfig) GetCertFile added in v0.0.29

func (x *Config_HTTP_TLSConfig) GetCertFile() string

func (*Config_HTTP_TLSConfig) GetInsecureSkipVerify added in v0.0.29

func (x *Config_HTTP_TLSConfig) GetInsecureSkipVerify() bool

func (*Config_HTTP_TLSConfig) GetKeyFile added in v0.0.29

func (x *Config_HTTP_TLSConfig) GetKeyFile() string

func (*Config_HTTP_TLSConfig) ProtoMessage added in v0.0.29

func (*Config_HTTP_TLSConfig) ProtoMessage()

func (*Config_HTTP_TLSConfig) ProtoReflect added in v0.0.29

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

func (*Config_HTTP_TLSConfig) Reset added in v0.0.29

func (x *Config_HTTP_TLSConfig) Reset()

func (*Config_HTTP_TLSConfig) String added in v0.0.29

func (x *Config_HTTP_TLSConfig) String() string

type Config_Notifier added in v0.0.29

type Config_Notifier struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Provider:
	//
	//	*Config_Notifier_Email
	//	*Config_Notifier_Webhook
	Provider isConfig_Notifier_Provider `protobuf_oneof:"provider"`
	// contains filtered or unexported fields
}

func (*Config_Notifier) Descriptor deprecated added in v0.0.29

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

Deprecated: Use Config_Notifier.ProtoReflect.Descriptor instead.

func (*Config_Notifier) GetEmail added in v0.0.29

func (x *Config_Notifier) GetEmail() *Config_Email

func (*Config_Notifier) GetName added in v0.0.29

func (x *Config_Notifier) GetName() string

func (*Config_Notifier) GetProvider added in v0.0.29

func (m *Config_Notifier) GetProvider() isConfig_Notifier_Provider

func (*Config_Notifier) GetWebhook added in v0.0.29

func (x *Config_Notifier) GetWebhook() *Config_Webhook

func (*Config_Notifier) ProtoMessage added in v0.0.29

func (*Config_Notifier) ProtoMessage()

func (*Config_Notifier) ProtoReflect added in v0.0.29

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

func (*Config_Notifier) Reset added in v0.0.29

func (x *Config_Notifier) Reset()

func (*Config_Notifier) String added in v0.0.29

func (x *Config_Notifier) String() string

type Config_Notifier_Email added in v0.0.29

type Config_Notifier_Email struct {
	Email *Config_Email `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}

type Config_Notifier_Webhook added in v0.0.29

type Config_Notifier_Webhook struct {
	Webhook *Config_Webhook `protobuf:"bytes,3,opt,name=webhook,proto3,oneof"`
}

type Config_Webhook added in v0.0.29

type Config_Webhook struct {
	HttpConfig *Config_HTTP `protobuf:"bytes,1,opt,name=http_config,json=httpConfig,proto3" json:"http_config,omitempty"`
	Url        string       `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Config_Webhook) Descriptor deprecated added in v0.0.29

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

Deprecated: Use Config_Webhook.ProtoReflect.Descriptor instead.

func (*Config_Webhook) GetHttpConfig added in v0.0.29

func (x *Config_Webhook) GetHttpConfig() *Config_HTTP

func (*Config_Webhook) GetUrl added in v0.0.29

func (x *Config_Webhook) GetUrl() string

func (*Config_Webhook) ProtoMessage added in v0.0.29

func (*Config_Webhook) ProtoMessage()

func (*Config_Webhook) ProtoReflect added in v0.0.29

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

func (*Config_Webhook) Reset added in v0.0.29

func (x *Config_Webhook) Reset()

func (*Config_Webhook) String added in v0.0.29

func (x *Config_Webhook) 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 Notice added in v0.0.29

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

func (*Notice) Descriptor deprecated added in v0.0.29

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

Deprecated: Use Notice.ProtoReflect.Descriptor instead.

func (*Notice) ProtoMessage added in v0.0.29

func (*Notice) ProtoMessage()

func (*Notice) ProtoReflect added in v0.0.29

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

func (*Notice) Reset added in v0.0.29

func (x *Notice) Reset()

func (*Notice) String added in v0.0.29

func (x *Notice) 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