v1

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StorePrefix_name = map[int32]string{
		0:  "SITES",
		2:  "ALERTS",
		3:  "ACCOUNT",
		4:  "TOKEN",
		8:  "CLUSTER",
		9:  "BLOCK_METADATA",
		10: "BLOCK_INDEX",
		11: "OAUTH_CLIENT",
		12: "OAUTH_AUTHORIZE",
		13: "OAUTH_ACCESS",
		14: "OAUTH_REFRESH",
		15: "SNIPPET",
	}
	StorePrefix_value = map[string]int32{
		"SITES":           0,
		"ALERTS":          2,
		"ACCOUNT":         3,
		"TOKEN":           4,
		"CLUSTER":         8,
		"BLOCK_METADATA":  9,
		"BLOCK_INDEX":     10,
		"OAUTH_CLIENT":    11,
		"OAUTH_AUTHORIZE": 12,
		"OAUTH_ACCESS":    13,
		"OAUTH_REFRESH":   14,
		"SNIPPET":         15,
	}
)

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 (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_vince_store_v1_store_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Column

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

func (Column) Descriptor() protoreflect.EnumDescriptor

func (Column) Enum

func (x Column) Enum() *Column

func (Column) EnumDescriptor deprecated

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

Deprecated: Use Column.Descriptor instead.

func (Column) Number

func (x Column) Number() protoreflect.EnumNumber

func (Column) String

func (x Column) String() string

func (Column) Type

func (Column) Type() protoreflect.EnumType

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

func (m *StoreKey) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StoreKey) MarshalToVT

func (m *StoreKey) MarshalToVT(dAtA []byte) (int, error)

func (*StoreKey) MarshalVT

func (m *StoreKey) MarshalVT() (dAtA []byte, err error)

func (*StoreKey) ProtoMessage

func (*StoreKey) ProtoMessage()

func (*StoreKey) ProtoReflect

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

func (*StoreKey) Reset

func (x *StoreKey) Reset()

func (*StoreKey) SizeVT

func (m *StoreKey) SizeVT() (n int)

func (*StoreKey) String

func (x *StoreKey) String() string

func (*StoreKey) UnmarshalVT

func (m *StoreKey) UnmarshalVT(dAtA []byte) error

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_ALERTS          StorePrefix = 2
	StorePrefix_ACCOUNT         StorePrefix = 3
	StorePrefix_TOKEN           StorePrefix = 4
	StorePrefix_CLUSTER         StorePrefix = 8
	StorePrefix_BLOCK_METADATA  StorePrefix = 9
	StorePrefix_BLOCK_INDEX     StorePrefix = 10
	StorePrefix_OAUTH_CLIENT    StorePrefix = 11
	StorePrefix_OAUTH_AUTHORIZE StorePrefix = 12
	StorePrefix_OAUTH_ACCESS    StorePrefix = 13
	StorePrefix_OAUTH_REFRESH   StorePrefix = 14
	StorePrefix_SNIPPET         StorePrefix = 15
)

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

Jump to

Keyboard shortcuts

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