model

package
v1.3.85 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 8 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AggregationItem_Algorithm_name = map[int32]string{
		0: "COUNT",
		1: "SUM",
		2: "AVG",
		3: "MAX",
		4: "MIN",
	}
	AggregationItem_Algorithm_value = map[string]int32{
		"COUNT": 0,
		"SUM":   1,
		"AVG":   2,
		"MAX":   3,
		"MIN":   4,
	}
)

Enum value maps for AggregationItem_Algorithm.

View Source
var (
	// optional string resourceName = 1012;
	E_ResourceName = &file_model_annotations_proto_extTypes[0] // create only?
	// optional string resourceNamespace = 1003;
	E_ResourceNamespace = &file_model_annotations_proto_extTypes[1] // create only?
	// optional string resourceDataSource = 1004;
	E_ResourceDataSource = &file_model_annotations_proto_extTypes[2]
	// optional string resourceCatalog = 1005;
	E_ResourceCatalog = &file_model_annotations_proto_extTypes[3]
	// optional string resourceEntity = 1006;
	E_ResourceEntity = &file_model_annotations_proto_extTypes[4]
	// repeated model.ResourceIndex resourceIndexes = 1007;
	E_ResourceIndexes = &file_model_annotations_proto_extTypes[5]
	// optional bool resourceVirtual = 1009;
	E_ResourceVirtual = &file_model_annotations_proto_extTypes[6]
	// optional bool resourceImmutable = 1010;
	E_ResourceImmutable = &file_model_annotations_proto_extTypes[7]
	// optional uint32 resourceVersion = 1011;
	E_ResourceVersion = &file_model_annotations_proto_extTypes[8]
	// repeated model.Annotation resourceAnnotations = 1013;
	E_ResourceAnnotations = &file_model_annotations_proto_extTypes[9]
	// optional bool securityContextDisallowAll = 1014;
	E_SecurityContextDisallowAll = &file_model_annotations_proto_extTypes[10]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// optional string propertyMapping = 2001;
	E_PropertyMapping = &file_model_annotations_proto_extTypes[11]
	// optional bool propertyPrimary = 2002;
	E_PropertyPrimary = &file_model_annotations_proto_extTypes[12]
	// optional uint32 propertyLength = 2003;
	E_PropertyLength = &file_model_annotations_proto_extTypes[13]
	// optional bool propertyUnique = 2004;
	E_PropertyUnique = &file_model_annotations_proto_extTypes[14]
	// optional model.Reference propertyReference = 2006;
	E_PropertyReference = &file_model_annotations_proto_extTypes[15]
	// optional bool propertyImmutable = 2008;
	E_PropertyImmutable = &file_model_annotations_proto_extTypes[16]
	// optional model.ResourceProperty.Type propertyType = 2009;
	E_PropertyType = &file_model_annotations_proto_extTypes[17]
	// repeated model.Annotation propertyAnnotations = 2010;
	E_PropertyAnnotations = &file_model_annotations_proto_extTypes[18]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	LogLevel_name = map[int32]string{
		0: "PANIC",
		1: "FATAL",
		2: "ERROR",
		3: "WARN",
		4: "INFO",
		5: "DEBUG",
		6: "TRACE",
	}
	LogLevel_value = map[string]int32{
		"PANIC": 0,
		"FATAL": 1,
		"ERROR": 2,
		"WARN":  3,
		"INFO":  4,
		"DEBUG": 5,
		"TRACE": 6,
	}
)

Enum value maps for LogLevel.

View Source
var (
	LogFormat_name = map[int32]string{
		0: "TEXT",
		1: "JSON",
	}
	LogFormat_value = map[string]int32{
		"TEXT": 0,
		"JSON": 1,
	}
)

Enum value maps for LogFormat.

View Source
var (
	BatchHeader_BatchMode_name = map[int32]string{
		0: "CREATE",
		1: "UPDATE",
		2: "DELETE",
	}
	BatchHeader_BatchMode_value = map[string]int32{
		"CREATE": 0,
		"UPDATE": 1,
		"DELETE": 2,
	}
)

Enum value maps for BatchHeader_BatchMode.

View Source
var (
	ErrorCode_name = map[int32]string{
		0:  "UNKNOWN_ERROR",
		1:  "RECORD_NOT_FOUND",
		2:  "UNABLE_TO_LOCATE_PRIMARY_KEY",
		3:  "INTERNAL_ERROR",
		4:  "PROPERTY_NOT_FOUND",
		5:  "RECORD_VALIDATION_ERROR",
		13: "RESOURCE_VALIDATION_ERROR",
		6:  "AUTHENTICATION_FAILED",
		7:  "ALREADY_EXISTS",
		8:  "ACCESS_DENIED",
		9:  "BACKEND_ERROR",
		10: "UNIQUE_VIOLATION",
		11: "REFERENCE_VIOLATION",
		12: "RESOURCE_NOT_FOUND",
		14: "UNSUPPORTED_OPERATION",
		15: "EXTERNAL_BACKEND_COMMUNICATION_ERROR",
		16: "EXTERNAL_BACKEND_ERROR",
		17: "RATE_LIMIT_ERROR",
	}
	ErrorCode_value = map[string]int32{
		"UNKNOWN_ERROR":                        0,
		"RECORD_NOT_FOUND":                     1,
		"UNABLE_TO_LOCATE_PRIMARY_KEY":         2,
		"INTERNAL_ERROR":                       3,
		"PROPERTY_NOT_FOUND":                   4,
		"RECORD_VALIDATION_ERROR":              5,
		"RESOURCE_VALIDATION_ERROR":            13,
		"AUTHENTICATION_FAILED":                6,
		"ALREADY_EXISTS":                       7,
		"ACCESS_DENIED":                        8,
		"BACKEND_ERROR":                        9,
		"UNIQUE_VIOLATION":                     10,
		"REFERENCE_VIOLATION":                  11,
		"RESOURCE_NOT_FOUND":                   12,
		"UNSUPPORTED_OPERATION":                14,
		"EXTERNAL_BACKEND_COMMUNICATION_ERROR": 15,
		"EXTERNAL_BACKEND_ERROR":               16,
		"RATE_LIMIT_ERROR":                     17,
	}
)

Enum value maps for ErrorCode.

View Source
var (
	Event_Action_name = map[int32]string{
		0: "CREATE",
		1: "UPDATE",
		2: "DELETE",
		3: "GET",
		4: "LIST",
		5: "OPERATE",
	}
	Event_Action_value = map[string]int32{
		"CREATE":  0,
		"UPDATE":  1,
		"DELETE":  2,
		"GET":     3,
		"LIST":    4,
		"OPERATE": 5,
	}
)

Enum value maps for Event_Action.

View Source
var (
	// optional string hcl_block = 1144;
	E_HclBlock = &file_model_hcl_proto_extTypes[0]
	// optional string hcl_label = 1145;
	E_HclLabel = &file_model_hcl_proto_extTypes[1]
	// optional bool hcl_ignore = 1146;
	E_HclIgnore = &file_model_hcl_proto_extTypes[2]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	Order_name = map[int32]string{
		0: "ORDER_UNKNOWN",
		1: "ORDER_ASC",
		2: "ORDER_DESC",
	}
	Order_value = map[string]int32{
		"ORDER_UNKNOWN": 0,
		"ORDER_ASC":     1,
		"ORDER_DESC":    2,
	}
)

Enum value maps for Order.

View Source
var (
	ResourceIndexType_name = map[int32]string{
		0: "BTREE",
		1: "HASH",
	}
	ResourceIndexType_value = map[string]int32{
		"BTREE": 0,
		"HASH":  1,
	}
)

Enum value maps for ResourceIndexType.

View Source
var (
	ResourceProperty_Type_name = map[int32]string{
		0:  "BOOL",
		1:  "STRING",
		2:  "FLOAT32",
		3:  "FLOAT64",
		4:  "INT32",
		5:  "INT64",
		6:  "BYTES",
		8:  "UUID",
		9:  "DATE",
		10: "TIME",
		11: "TIMESTAMP",
		12: "OBJECT",
		13: "MAP",
		14: "LIST",
		15: "REFERENCE",
		16: "ENUM",
		17: "STRUCT",
	}
	ResourceProperty_Type_value = map[string]int32{
		"BOOL":      0,
		"STRING":    1,
		"FLOAT32":   2,
		"FLOAT64":   3,
		"INT32":     4,
		"INT64":     5,
		"BYTES":     6,
		"UUID":      8,
		"DATE":      9,
		"TIME":      10,
		"TIMESTAMP": 11,
		"OBJECT":    12,
		"MAP":       13,
		"LIST":      14,
		"REFERENCE": 15,
		"ENUM":      16,
		"STRUCT":    17,
	}
)

Enum value maps for ResourceProperty_Type.

View Source
var (
	OperationType_name = map[int32]string{
		0: "OPERATION_TYPE_READ",
		1: "OPERATION_TYPE_CREATE",
		2: "OPERATION_TYPE_UPDATE",
		3: "OPERATION_TYPE_DELETE",
		4: "FULL",
	}
	OperationType_value = map[string]int32{
		"OPERATION_TYPE_READ":   0,
		"OPERATION_TYPE_CREATE": 1,
		"OPERATION_TYPE_UPDATE": 2,
		"OPERATION_TYPE_DELETE": 3,
		"FULL":                  4,
	}
)

Enum value maps for OperationType.

View Source
var (
	PermitType_name = map[int32]string{
		0: "PERMIT_TYPE_ALLOW",
		1: "PERMIT_TYPE_REJECT",
	}
	PermitType_value = map[string]int32{
		"PERMIT_TYPE_ALLOW":  0,
		"PERMIT_TYPE_REJECT": 1,
	}
)

Enum value maps for PermitType.

View Source
var (
	Permission_PropertyMode_name = map[int32]string{
		0: "PROPERTY_MATCH_ONLY",
		1: "PROPERTY_MATCH_ANY",
	}
	Permission_PropertyMode_value = map[string]int32{
		"PROPERTY_MATCH_ONLY": 0,
		"PROPERTY_MATCH_ANY":  1,
	}
)

Enum value maps for Permission_PropertyMode.

View Source
var (
	SortItem_Direction_name = map[int32]string{
		0: "ASC",
		1: "DESC",
	}
	SortItem_Direction_value = map[string]int32{
		"ASC":  0,
		"DESC": 1,
	}
)

Enum value maps for SortItem_Direction.

View Source
var (
	TokenTerm_name = map[int32]string{
		0: "VERY_SHORT",
		1: "SHORT",
		2: "MIDDLE",
		3: "LONG",
		4: "VERY_LONG",
	}
	TokenTerm_value = map[string]int32{
		"VERY_SHORT": 0,
		"SHORT":      1,
		"MIDDLE":     2,
		"LONG":       3,
		"VERY_LONG":  4,
	}
)

Enum value maps for TokenTerm.

View Source
var File_model_aggregation_proto protoreflect.FileDescriptor
View Source
var File_model_annotations_proto protoreflect.FileDescriptor
View Source
var File_model_app_config_proto protoreflect.FileDescriptor
View Source
var File_model_audit_proto protoreflect.FileDescriptor
View Source
var File_model_batch_proto protoreflect.FileDescriptor
View Source
var File_model_common_proto protoreflect.FileDescriptor
View Source
var File_model_data_source_proto protoreflect.FileDescriptor
View Source
var File_model_error_proto protoreflect.FileDescriptor
View Source
var File_model_event_proto protoreflect.FileDescriptor
View Source
var File_model_external_proto protoreflect.FileDescriptor
View Source
var File_model_hcl_proto protoreflect.FileDescriptor
View Source
var File_model_query_proto protoreflect.FileDescriptor
View Source
var File_model_record_proto protoreflect.FileDescriptor
View Source
var File_model_resource_migration_proto protoreflect.FileDescriptor
View Source
var File_model_resource_proto protoreflect.FileDescriptor
View Source
var File_model_security_context_proto protoreflect.FileDescriptor
View Source
var File_model_security_proto protoreflect.FileDescriptor
View Source
var File_model_sort_proto protoreflect.FileDescriptor
View Source
var File_model_token_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Aggregation added in v1.2.82

type Aggregation struct {
	Items    []*AggregationItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Grouping []*GroupingItem    `protobuf:"bytes,2,rep,name=grouping,proto3" json:"grouping,omitempty"`
	// contains filtered or unexported fields
}

func (*Aggregation) Descriptor deprecated added in v1.2.82

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

Deprecated: Use Aggregation.ProtoReflect.Descriptor instead.

func (*Aggregation) GetGrouping added in v1.2.82

func (x *Aggregation) GetGrouping() []*GroupingItem

func (*Aggregation) GetItems added in v1.2.82

func (x *Aggregation) GetItems() []*AggregationItem

func (*Aggregation) ProtoMessage added in v1.2.82

func (*Aggregation) ProtoMessage()

func (*Aggregation) ProtoReflect added in v1.2.82

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

func (*Aggregation) Reset added in v1.2.82

func (x *Aggregation) Reset()

func (*Aggregation) String added in v1.2.82

func (x *Aggregation) String() string

type AggregationItem added in v1.2.82

type AggregationItem struct {
	Name      string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Algorithm AggregationItem_Algorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=model.AggregationItem_Algorithm" json:"algorithm,omitempty"`
	Property  string                    `protobuf:"bytes,3,opt,name=property,proto3" json:"property,omitempty"`
	// contains filtered or unexported fields
}

func (*AggregationItem) Descriptor deprecated added in v1.2.82

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

Deprecated: Use AggregationItem.ProtoReflect.Descriptor instead.

func (*AggregationItem) GetAlgorithm added in v1.2.82

func (x *AggregationItem) GetAlgorithm() AggregationItem_Algorithm

func (*AggregationItem) GetName added in v1.2.82

func (x *AggregationItem) GetName() string

func (*AggregationItem) GetProperty added in v1.2.82

func (x *AggregationItem) GetProperty() string

func (*AggregationItem) ProtoMessage added in v1.2.82

func (*AggregationItem) ProtoMessage()

func (*AggregationItem) ProtoReflect added in v1.2.82

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

func (*AggregationItem) Reset added in v1.2.82

func (x *AggregationItem) Reset()

func (*AggregationItem) String added in v1.2.82

func (x *AggregationItem) String() string

type AggregationItem_Algorithm added in v1.2.82

type AggregationItem_Algorithm int32
const (
	AggregationItem_COUNT AggregationItem_Algorithm = 0
	AggregationItem_SUM   AggregationItem_Algorithm = 1
	AggregationItem_AVG   AggregationItem_Algorithm = 2
	AggregationItem_MAX   AggregationItem_Algorithm = 3
	AggregationItem_MIN   AggregationItem_Algorithm = 4
)

func (AggregationItem_Algorithm) Descriptor added in v1.2.82

func (AggregationItem_Algorithm) Enum added in v1.2.82

func (AggregationItem_Algorithm) EnumDescriptor deprecated added in v1.2.82

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

Deprecated: Use AggregationItem_Algorithm.Descriptor instead.

func (AggregationItem_Algorithm) Number added in v1.2.82

func (AggregationItem_Algorithm) String added in v1.2.82

func (x AggregationItem_Algorithm) String() string

func (AggregationItem_Algorithm) Type added in v1.2.82

type Annotation added in v1.1.37

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

func (*Annotation) Descriptor deprecated added in v1.1.37

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

Deprecated: Use Annotation.ProtoReflect.Descriptor instead.

func (*Annotation) GetName added in v1.1.37

func (x *Annotation) GetName() string

func (*Annotation) GetValue added in v1.1.37

func (x *Annotation) GetValue() string

func (*Annotation) ProtoMessage added in v1.1.37

func (*Annotation) ProtoMessage()

func (*Annotation) ProtoReflect added in v1.1.37

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

func (*Annotation) Reset added in v1.1.37

func (x *Annotation) Reset()

func (*Annotation) String added in v1.1.37

func (x *Annotation) String() string

type AppConfig

type AppConfig struct {
	Host                  string                   `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port                  int32                    `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	JwtPrivateKey         string                   `protobuf:"bytes,3,opt,name=jwtPrivateKey,proto3" json:"jwtPrivateKey,omitempty"`
	JwtPublicKey          string                   `protobuf:"bytes,4,opt,name=jwtPublicKey,proto3" json:"jwtPublicKey,omitempty"`
	DisableAuthentication bool                     `protobuf:"varint,5,opt,name=disableAuthentication,proto3" json:"disableAuthentication,omitempty"`
	DisableCache          bool                     `protobuf:"varint,6,opt,name=disableCache,proto3" json:"disableCache,omitempty"`
	PluginsPath           string                   `protobuf:"bytes,7,opt,name=pluginsPath,proto3" json:"pluginsPath,omitempty"`
	Metrics               *MetricsConfig           `protobuf:"bytes,8,opt,name=metrics,proto3" json:"metrics,omitempty"`
	Stats                 *StatsConfig             `protobuf:"bytes,9,opt,name=stats,proto3" json:"stats,omitempty"`
	Limitations           *Limitations             `protobuf:"bytes,10,opt,name=limitations,proto3" json:"limitations,omitempty"`
	ServiceId             string                   `protobuf:"bytes,11,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
	SystemDataSource      *Record                  `protobuf:"bytes,12,opt,name=systemDataSource,proto3" json:"systemDataSource,omitempty"`
	InitResources         []*Resource              `protobuf:"bytes,13,rep,name=initResources,proto3" json:"initResources,omitempty"`
	InitRecords           []*InitRecord            `protobuf:"bytes,14,rep,name=initRecords,proto3" json:"initRecords,omitempty"`
	ApplyPaths            []string                 `protobuf:"bytes,15,rep,name=applyPaths,proto3" json:"applyPaths,omitempty"`
	EventChannelConfig    *EventChannelConfig      `protobuf:"bytes,16,opt,name=eventChannelConfig,proto3" json:"eventChannelConfig,omitempty"`
	LoggingConfig         *LoggingConfig           `protobuf:"bytes,17,opt,name=loggingConfig,proto3" json:"loggingConfig,omitempty"`
	EnablePprof           bool                     `protobuf:"varint,18,opt,name=enablePprof,proto3" json:"enablePprof,omitempty"`
	Modules               map[string]*ModuleConfig `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AppConfig) Descriptor deprecated

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

Deprecated: Use AppConfig.ProtoReflect.Descriptor instead.

func (*AppConfig) GetApplyPaths added in v1.1.37

func (x *AppConfig) GetApplyPaths() []string

func (*AppConfig) GetDisableAuthentication

func (x *AppConfig) GetDisableAuthentication() bool

func (*AppConfig) GetDisableCache

func (x *AppConfig) GetDisableCache() bool

func (*AppConfig) GetEnablePprof added in v1.2.36

func (x *AppConfig) GetEnablePprof() bool

func (*AppConfig) GetEventChannelConfig added in v1.1.48

func (x *AppConfig) GetEventChannelConfig() *EventChannelConfig

func (*AppConfig) GetHost

func (x *AppConfig) GetHost() string

func (*AppConfig) GetInitRecords added in v1.1.37

func (x *AppConfig) GetInitRecords() []*InitRecord

func (*AppConfig) GetInitResources added in v1.1.37

func (x *AppConfig) GetInitResources() []*Resource

func (*AppConfig) GetJwtPrivateKey

func (x *AppConfig) GetJwtPrivateKey() string

func (*AppConfig) GetJwtPublicKey

func (x *AppConfig) GetJwtPublicKey() string

func (*AppConfig) GetLimitations added in v1.1.90

func (x *AppConfig) GetLimitations() *Limitations

func (*AppConfig) GetLoggingConfig added in v1.1.90

func (x *AppConfig) GetLoggingConfig() *LoggingConfig

func (*AppConfig) GetMetrics added in v1.1.37

func (x *AppConfig) GetMetrics() *MetricsConfig

func (*AppConfig) GetModules added in v1.3.83

func (x *AppConfig) GetModules() map[string]*ModuleConfig

func (*AppConfig) GetPluginsPath

func (x *AppConfig) GetPluginsPath() string

func (*AppConfig) GetPort

func (x *AppConfig) GetPort() int32

func (*AppConfig) GetServiceId added in v1.1.37

func (x *AppConfig) GetServiceId() string

func (*AppConfig) GetStats added in v1.1.90

func (x *AppConfig) GetStats() *StatsConfig

func (*AppConfig) GetSystemDataSource added in v1.1.37

func (x *AppConfig) GetSystemDataSource() *Record

func (*AppConfig) ProtoMessage

func (*AppConfig) ProtoMessage()

func (*AppConfig) ProtoReflect

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

func (*AppConfig) Reset

func (x *AppConfig) Reset()

func (*AppConfig) String

func (x *AppConfig) String() string

type AuditData

type AuditData struct {
	CreatedOn *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"`
	UpdatedOn *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_on,json=updatedOn,proto3" json:"updated_on,omitempty"`
	CreatedBy string                 `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	UpdatedBy string                 `protobuf:"bytes,4,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditData) Descriptor deprecated

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

Deprecated: Use AuditData.ProtoReflect.Descriptor instead.

func (*AuditData) GetCreatedBy

func (x *AuditData) GetCreatedBy() string

func (*AuditData) GetCreatedOn

func (x *AuditData) GetCreatedOn() *timestamppb.Timestamp

func (*AuditData) GetUpdatedBy

func (x *AuditData) GetUpdatedBy() string

func (*AuditData) GetUpdatedOn

func (x *AuditData) GetUpdatedOn() *timestamppb.Timestamp

func (*AuditData) ProtoMessage

func (*AuditData) ProtoMessage()

func (*AuditData) ProtoReflect

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

func (*AuditData) Reset

func (x *AuditData) Reset()

func (*AuditData) String

func (x *AuditData) String() string

type BackReference added in v1.1.37

type BackReference struct {
	Property string `protobuf:"bytes,3,opt,name=property,proto3" json:"property,omitempty"`
	// contains filtered or unexported fields
}

func (*BackReference) Descriptor deprecated added in v1.1.37

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

Deprecated: Use BackReference.ProtoReflect.Descriptor instead.

func (*BackReference) GetProperty added in v1.1.37

func (x *BackReference) GetProperty() string

func (*BackReference) ProtoMessage added in v1.1.37

func (*BackReference) ProtoMessage()

func (*BackReference) ProtoReflect added in v1.1.37

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

func (*BackReference) Reset added in v1.1.37

func (x *BackReference) Reset()

func (*BackReference) String added in v1.1.37

func (x *BackReference) String() string

type Batch

type Batch struct {
	Header       *BatchHeader        `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Resources    []*Resource         `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	BatchRecords []*BatchRecordsPart `protobuf:"bytes,3,rep,name=batchRecords,proto3" json:"batchRecords,omitempty"`
	// contains filtered or unexported fields
}

func (*Batch) Descriptor deprecated

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

Deprecated: Use Batch.ProtoReflect.Descriptor instead.

func (*Batch) GetBatchRecords

func (x *Batch) GetBatchRecords() []*BatchRecordsPart

func (*Batch) GetHeader

func (x *Batch) GetHeader() *BatchHeader

func (*Batch) GetResources

func (x *Batch) GetResources() []*Resource

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) ProtoReflect

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

func (*Batch) Reset

func (x *Batch) Reset()

func (*Batch) String

func (x *Batch) String() string

type BatchHeader

type BatchHeader struct {
	Mode        BatchHeader_BatchMode `protobuf:"varint,1,opt,name=mode,proto3,enum=model.BatchHeader_BatchMode" json:"mode,omitempty"`
	Annotations map[string]string     `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BatchHeader) Descriptor deprecated

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

Deprecated: Use BatchHeader.ProtoReflect.Descriptor instead.

func (*BatchHeader) GetAnnotations

func (x *BatchHeader) GetAnnotations() map[string]string

func (*BatchHeader) GetMode

func (x *BatchHeader) GetMode() BatchHeader_BatchMode

func (*BatchHeader) ProtoMessage

func (*BatchHeader) ProtoMessage()

func (*BatchHeader) ProtoReflect

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

func (*BatchHeader) Reset

func (x *BatchHeader) Reset()

func (*BatchHeader) String

func (x *BatchHeader) String() string

type BatchHeader_BatchMode

type BatchHeader_BatchMode int32
const (
	BatchHeader_CREATE BatchHeader_BatchMode = 0
	BatchHeader_UPDATE BatchHeader_BatchMode = 1
	BatchHeader_DELETE BatchHeader_BatchMode = 2
)

func (BatchHeader_BatchMode) Descriptor

func (BatchHeader_BatchMode) Enum

func (BatchHeader_BatchMode) EnumDescriptor deprecated

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

Deprecated: Use BatchHeader_BatchMode.Descriptor instead.

func (BatchHeader_BatchMode) Number

func (BatchHeader_BatchMode) String

func (x BatchHeader_BatchMode) String() string

func (BatchHeader_BatchMode) Type

type BatchRecordsPart

type BatchRecordsPart struct {
	Namespace string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Resource  string            `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Values    []*structpb.Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchRecordsPart) Descriptor deprecated

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

Deprecated: Use BatchRecordsPart.ProtoReflect.Descriptor instead.

func (*BatchRecordsPart) GetNamespace

func (x *BatchRecordsPart) GetNamespace() string

func (*BatchRecordsPart) GetResource

func (x *BatchRecordsPart) GetResource() string

func (*BatchRecordsPart) GetValues

func (x *BatchRecordsPart) GetValues() []*structpb.Value

func (*BatchRecordsPart) ProtoMessage

func (*BatchRecordsPart) ProtoMessage()

func (*BatchRecordsPart) ProtoReflect

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

func (*BatchRecordsPart) Reset

func (x *BatchRecordsPart) Reset()

func (*BatchRecordsPart) String

func (x *BatchRecordsPart) String() string

type BooleanExpression

type BooleanExpression struct {

	// Types that are assignable to Expression:
	//
	//	*BooleanExpression_And
	//	*BooleanExpression_Or
	//	*BooleanExpression_Not
	//	*BooleanExpression_Equal
	//	*BooleanExpression_LessThan
	//	*BooleanExpression_GreaterThan
	//	*BooleanExpression_LessThanOrEqual
	//	*BooleanExpression_GreaterThanOrEqual
	//	*BooleanExpression_In
	//	*BooleanExpression_IsNull
	//	*BooleanExpression_RegexMatch
	Expression isBooleanExpression_Expression `protobuf_oneof:"expression"`
	// contains filtered or unexported fields
}

func (*BooleanExpression) Descriptor deprecated

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

Deprecated: Use BooleanExpression.ProtoReflect.Descriptor instead.

func (*BooleanExpression) GetAnd

func (*BooleanExpression) GetEqual

func (x *BooleanExpression) GetEqual() *PairExpression

func (*BooleanExpression) GetExpression

func (m *BooleanExpression) GetExpression() isBooleanExpression_Expression

func (*BooleanExpression) GetGreaterThan

func (x *BooleanExpression) GetGreaterThan() *PairExpression

func (*BooleanExpression) GetGreaterThanOrEqual

func (x *BooleanExpression) GetGreaterThanOrEqual() *PairExpression

func (*BooleanExpression) GetIn

func (x *BooleanExpression) GetIn() *PairExpression

func (*BooleanExpression) GetIsNull

func (x *BooleanExpression) GetIsNull() *Expression

func (*BooleanExpression) GetLessThan

func (x *BooleanExpression) GetLessThan() *PairExpression

func (*BooleanExpression) GetLessThanOrEqual

func (x *BooleanExpression) GetLessThanOrEqual() *PairExpression

func (*BooleanExpression) GetNot

func (x *BooleanExpression) GetNot() *BooleanExpression

func (*BooleanExpression) GetOr

func (*BooleanExpression) GetRegexMatch

func (x *BooleanExpression) GetRegexMatch() *RegexMatchExpression

func (*BooleanExpression) ProtoMessage

func (*BooleanExpression) ProtoMessage()

func (*BooleanExpression) ProtoReflect

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

func (*BooleanExpression) Reset

func (x *BooleanExpression) Reset()

func (*BooleanExpression) String

func (x *BooleanExpression) String() string

type BooleanExpression_And

type BooleanExpression_And struct {
	// logical expressions
	And *CompoundBooleanExpression `protobuf:"bytes,1,opt,name=and,proto3,oneof"`
}

type BooleanExpression_Equal

type BooleanExpression_Equal struct {
	// basic comparison
	Equal *PairExpression `protobuf:"bytes,4,opt,name=equal,proto3,oneof"`
}

type BooleanExpression_GreaterThan

type BooleanExpression_GreaterThan struct {
	GreaterThan *PairExpression `protobuf:"bytes,6,opt,name=greaterThan,proto3,oneof"`
}

type BooleanExpression_GreaterThanOrEqual

type BooleanExpression_GreaterThanOrEqual struct {
	GreaterThanOrEqual *PairExpression `protobuf:"bytes,8,opt,name=greaterThanOrEqual,proto3,oneof"`
}

type BooleanExpression_In

type BooleanExpression_In struct {
	In *PairExpression `protobuf:"bytes,9,opt,name=in,proto3,oneof"`
}

type BooleanExpression_IsNull

type BooleanExpression_IsNull struct {
	IsNull *Expression `protobuf:"bytes,10,opt,name=isNull,proto3,oneof"`
}

type BooleanExpression_LessThan

type BooleanExpression_LessThan struct {
	LessThan *PairExpression `protobuf:"bytes,5,opt,name=lessThan,proto3,oneof"`
}

type BooleanExpression_LessThanOrEqual

type BooleanExpression_LessThanOrEqual struct {
	LessThanOrEqual *PairExpression `protobuf:"bytes,7,opt,name=lessThanOrEqual,proto3,oneof"`
}

type BooleanExpression_Not

type BooleanExpression_Not struct {
	Not *BooleanExpression `protobuf:"bytes,3,opt,name=not,proto3,oneof"`
}

type BooleanExpression_Or

type BooleanExpression_Or struct {
	Or *CompoundBooleanExpression `protobuf:"bytes,2,opt,name=or,proto3,oneof"`
}

type BooleanExpression_RegexMatch

type BooleanExpression_RegexMatch struct {
	// other
	RegexMatch *RegexMatchExpression `protobuf:"bytes,11,opt,name=regexMatch,proto3,oneof"`
}

type CompoundBooleanExpression

type CompoundBooleanExpression struct {
	Expressions []*BooleanExpression `protobuf:"bytes,1,rep,name=expressions,proto3" json:"expressions,omitempty"`
	// contains filtered or unexported fields
}

func (*CompoundBooleanExpression) Descriptor deprecated

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

Deprecated: Use CompoundBooleanExpression.ProtoReflect.Descriptor instead.

func (*CompoundBooleanExpression) GetExpressions

func (x *CompoundBooleanExpression) GetExpressions() []*BooleanExpression

func (*CompoundBooleanExpression) ProtoMessage

func (*CompoundBooleanExpression) ProtoMessage()

func (*CompoundBooleanExpression) ProtoReflect

func (*CompoundBooleanExpression) Reset

func (x *CompoundBooleanExpression) Reset()

func (*CompoundBooleanExpression) String

func (x *CompoundBooleanExpression) String() string

type DataSourceCatalog

type DataSourceCatalog struct {
	Name     string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Entities []*DataSourceEntity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

func (*DataSourceCatalog) Descriptor deprecated

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

Deprecated: Use DataSourceCatalog.ProtoReflect.Descriptor instead.

func (*DataSourceCatalog) GetEntities

func (x *DataSourceCatalog) GetEntities() []*DataSourceEntity

func (*DataSourceCatalog) GetName

func (x *DataSourceCatalog) GetName() string

func (*DataSourceCatalog) ProtoMessage

func (*DataSourceCatalog) ProtoMessage()

func (*DataSourceCatalog) ProtoReflect

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

func (*DataSourceCatalog) Reset

func (x *DataSourceCatalog) Reset()

func (*DataSourceCatalog) String

func (x *DataSourceCatalog) String() string

type DataSourceEntity

type DataSourceEntity struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ReadOnly bool   `protobuf:"varint,2,opt,name=readOnly,proto3" json:"readOnly,omitempty"`
	// contains filtered or unexported fields
}

func (*DataSourceEntity) Descriptor deprecated

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

Deprecated: Use DataSourceEntity.ProtoReflect.Descriptor instead.

func (*DataSourceEntity) GetName

func (x *DataSourceEntity) GetName() string

func (*DataSourceEntity) GetReadOnly

func (x *DataSourceEntity) GetReadOnly() bool

func (*DataSourceEntity) ProtoMessage

func (*DataSourceEntity) ProtoMessage()

func (*DataSourceEntity) ProtoReflect

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

func (*DataSourceEntity) Reset

func (x *DataSourceEntity) Reset()

func (*DataSourceEntity) String

func (x *DataSourceEntity) String() string

type Error

type Error struct {
	Code    ErrorCode     `protobuf:"varint,1,opt,name=code,proto3,enum=model.ErrorCode" json:"code,omitempty"`
	Message string        `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Fields  []*ErrorField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() ErrorCode

func (*Error) GetFields

func (x *Error) GetFields() []*ErrorField

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type ErrorCode

type ErrorCode int32
const (
	ErrorCode_UNKNOWN_ERROR                        ErrorCode = 0
	ErrorCode_RECORD_NOT_FOUND                     ErrorCode = 1
	ErrorCode_UNABLE_TO_LOCATE_PRIMARY_KEY         ErrorCode = 2
	ErrorCode_INTERNAL_ERROR                       ErrorCode = 3
	ErrorCode_PROPERTY_NOT_FOUND                   ErrorCode = 4
	ErrorCode_RECORD_VALIDATION_ERROR              ErrorCode = 5
	ErrorCode_RESOURCE_VALIDATION_ERROR            ErrorCode = 13
	ErrorCode_AUTHENTICATION_FAILED                ErrorCode = 6
	ErrorCode_ALREADY_EXISTS                       ErrorCode = 7
	ErrorCode_ACCESS_DENIED                        ErrorCode = 8
	ErrorCode_BACKEND_ERROR                        ErrorCode = 9
	ErrorCode_UNIQUE_VIOLATION                     ErrorCode = 10
	ErrorCode_REFERENCE_VIOLATION                  ErrorCode = 11
	ErrorCode_RESOURCE_NOT_FOUND                   ErrorCode = 12
	ErrorCode_UNSUPPORTED_OPERATION                ErrorCode = 14
	ErrorCode_EXTERNAL_BACKEND_COMMUNICATION_ERROR ErrorCode = 15
	ErrorCode_EXTERNAL_BACKEND_ERROR               ErrorCode = 16
	ErrorCode_RATE_LIMIT_ERROR                     ErrorCode = 17
)

func (ErrorCode) Descriptor

func (ErrorCode) Descriptor() protoreflect.EnumDescriptor

func (ErrorCode) Enum

func (x ErrorCode) Enum() *ErrorCode

func (ErrorCode) EnumDescriptor deprecated

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

Deprecated: Use ErrorCode.Descriptor instead.

func (ErrorCode) Number

func (x ErrorCode) Number() protoreflect.EnumNumber

func (ErrorCode) String

func (x ErrorCode) String() string

func (ErrorCode) Type

type ErrorField

type ErrorField struct {
	RecordId string          `protobuf:"bytes,1,opt,name=recordId,proto3" json:"recordId,omitempty"`
	Property string          `protobuf:"bytes,2,opt,name=property,proto3" json:"property,omitempty"`
	Message  string          `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Value    *structpb.Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorField) Descriptor deprecated

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

Deprecated: Use ErrorField.ProtoReflect.Descriptor instead.

func (*ErrorField) GetMessage

func (x *ErrorField) GetMessage() string

func (*ErrorField) GetProperty

func (x *ErrorField) GetProperty() string

func (*ErrorField) GetRecordId

func (x *ErrorField) GetRecordId() string

func (*ErrorField) GetValue

func (x *ErrorField) GetValue() *structpb.Value

func (*ErrorField) ProtoMessage

func (*ErrorField) ProtoMessage()

func (*ErrorField) ProtoReflect

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

func (*ErrorField) Reset

func (x *ErrorField) Reset()

func (*ErrorField) String

func (x *ErrorField) String() string

type Event

type Event struct {
	Id                string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Action            Event_Action `protobuf:"varint,2,opt,name=action,proto3,enum=model.Event_Action" json:"action,omitempty"`
	ActionSummary     string       `protobuf:"bytes,3,opt,name=actionSummary,proto3" json:"actionSummary,omitempty"`
	ActionDescription string       `protobuf:"bytes,4,opt,name=actionDescription,proto3" json:"actionDescription,omitempty"`
	Resource          *Resource    `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
	// CREATE,UPDATE - records are for incoming and outgoing records
	// GET - there will be only one record
	// LIST - result of the list operation
	Records []*Record `protobuf:"bytes,6,rep,name=records,proto3" json:"records,omitempty"`
	// LIST - search params for the list operation
	RecordSearchParams *Event_RecordSearchParams `protobuf:"bytes,8,opt,name=recordSearchParams,proto3" json:"recordSearchParams,omitempty"`
	// If true, this will be last event on operation list
	Finalizes bool `protobuf:"varint,9,opt,name=finalizes,proto3" json:"finalizes,omitempty"`
	// If true, backend will wait for processing this event before sending next one on operation list
	Sync       bool                   `protobuf:"varint,10,opt,name=sync,proto3" json:"sync,omitempty"`
	Time       *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=time,proto3" json:"time,omitempty"`
	Total      uint64                 `protobuf:"varint,12,opt,name=total,proto3" json:"total,omitempty"`
	ActionName string                 `protobuf:"bytes,13,opt,name=actionName,proto3" json:"actionName,omitempty"`
	Input      *structpb.Value        `protobuf:"bytes,14,opt,name=input,proto3" json:"input,omitempty"`
	Output     *structpb.Value        `protobuf:"bytes,15,opt,name=output,proto3" json:"output,omitempty"`
	// Request annotations
	Annotations map[string]string `` /* 165-byte string literal not displayed */
	Error       *Error            `protobuf:"bytes,104,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAction

func (x *Event) GetAction() Event_Action

func (*Event) GetActionDescription

func (x *Event) GetActionDescription() string

func (*Event) GetActionName added in v1.2.21

func (x *Event) GetActionName() string

func (*Event) GetActionSummary

func (x *Event) GetActionSummary() string

func (*Event) GetAnnotations

func (x *Event) GetAnnotations() map[string]string

func (*Event) GetError added in v1.1.48

func (x *Event) GetError() *Error

func (*Event) GetFinalizes

func (x *Event) GetFinalizes() bool

func (*Event) GetId

func (x *Event) GetId() string

func (*Event) GetInput added in v1.2.21

func (x *Event) GetInput() *structpb.Value

func (*Event) GetOutput added in v1.2.21

func (x *Event) GetOutput() *structpb.Value

func (*Event) GetRecordSearchParams

func (x *Event) GetRecordSearchParams() *Event_RecordSearchParams

func (*Event) GetRecords

func (x *Event) GetRecords() []*Record

func (*Event) GetResource

func (x *Event) GetResource() *Resource

func (*Event) GetSync

func (x *Event) GetSync() bool

func (*Event) GetTime

func (x *Event) GetTime() *timestamppb.Timestamp

func (*Event) GetTotal added in v1.2.21

func (x *Event) GetTotal() uint64

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventChannelConfig added in v1.1.48

type EventChannelConfig struct {
	MaxChannelSize int32 `protobuf:"varint,1,opt,name=maxChannelSize,proto3" json:"maxChannelSize,omitempty"`
	MaxWaitTimeMs  int32 `protobuf:"varint,2,opt,name=maxWaitTimeMs,proto3" json:"maxWaitTimeMs,omitempty"`
	// contains filtered or unexported fields
}

func (*EventChannelConfig) Descriptor deprecated added in v1.1.48

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

Deprecated: Use EventChannelConfig.ProtoReflect.Descriptor instead.

func (*EventChannelConfig) GetMaxChannelSize added in v1.1.48

func (x *EventChannelConfig) GetMaxChannelSize() int32

func (*EventChannelConfig) GetMaxWaitTimeMs added in v1.1.90

func (x *EventChannelConfig) GetMaxWaitTimeMs() int32

func (*EventChannelConfig) ProtoMessage added in v1.1.48

func (*EventChannelConfig) ProtoMessage()

func (*EventChannelConfig) ProtoReflect added in v1.1.48

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

func (*EventChannelConfig) Reset added in v1.1.48

func (x *EventChannelConfig) Reset()

func (*EventChannelConfig) String added in v1.1.48

func (x *EventChannelConfig) String() string

type EventSelector

type EventSelector struct {
	Actions        []Event_Action     `protobuf:"varint,1,rep,packed,name=actions,proto3,enum=model.Event_Action" json:"actions,omitempty"`
	RecordSelector *BooleanExpression `protobuf:"bytes,2,opt,name=recordSelector,proto3" json:"recordSelector,omitempty"`
	Namespaces     []string           `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	Resources      []string           `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"`
	// star means all
	Ids []string `protobuf:"bytes,7,rep,name=ids,proto3" json:"ids,omitempty"`
	// star means all, empty means proceed
	Annotations map[string]string `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

Events pass through selectors, if selector returns true, event will be processed Selector returns true if no selector fails. For example, if you passed empty selector, it will return true for all events.

func (*EventSelector) Descriptor deprecated

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

Deprecated: Use EventSelector.ProtoReflect.Descriptor instead.

func (*EventSelector) GetActions

func (x *EventSelector) GetActions() []Event_Action

func (*EventSelector) GetAnnotations

func (x *EventSelector) GetAnnotations() map[string]string

func (*EventSelector) GetIds

func (x *EventSelector) GetIds() []string

func (*EventSelector) GetNamespaces

func (x *EventSelector) GetNamespaces() []string

func (*EventSelector) GetRecordSelector

func (x *EventSelector) GetRecordSelector() *BooleanExpression

func (*EventSelector) GetResources

func (x *EventSelector) GetResources() []string

func (*EventSelector) ProtoMessage

func (*EventSelector) ProtoMessage()

func (*EventSelector) ProtoReflect

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

func (*EventSelector) Reset

func (x *EventSelector) Reset()

func (*EventSelector) String

func (x *EventSelector) String() string

type Event_Action

type Event_Action int32
const (
	Event_CREATE  Event_Action = 0
	Event_UPDATE  Event_Action = 1
	Event_DELETE  Event_Action = 2
	Event_GET     Event_Action = 3
	Event_LIST    Event_Action = 4
	Event_OPERATE Event_Action = 5 // for special cases
)

func (Event_Action) Descriptor

func (Event_Action) Enum

func (x Event_Action) Enum() *Event_Action

func (Event_Action) EnumDescriptor deprecated

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

Deprecated: Use Event_Action.Descriptor instead.

func (Event_Action) Number

func (Event_Action) String

func (x Event_Action) String() string

func (Event_Action) Type

type Event_RecordSearchParams

type Event_RecordSearchParams struct {
	Query             *BooleanExpression `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
	Limit             uint32             `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset            uint64             `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"`
	ResolveReferences []string           `protobuf:"bytes,8,rep,name=resolveReferences,proto3" json:"resolveReferences,omitempty"`
	Aggregation       *Aggregation       `protobuf:"bytes,9,opt,name=aggregation,proto3" json:"aggregation,omitempty"`
	Sorting           *Sorting           `protobuf:"bytes,10,opt,name=sorting,proto3" json:"sorting,omitempty"`
	// contains filtered or unexported fields
}

func (*Event_RecordSearchParams) Descriptor deprecated

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

Deprecated: Use Event_RecordSearchParams.ProtoReflect.Descriptor instead.

func (*Event_RecordSearchParams) GetAggregation added in v1.2.82

func (x *Event_RecordSearchParams) GetAggregation() *Aggregation

func (*Event_RecordSearchParams) GetLimit

func (x *Event_RecordSearchParams) GetLimit() uint32

func (*Event_RecordSearchParams) GetOffset

func (x *Event_RecordSearchParams) GetOffset() uint64

func (*Event_RecordSearchParams) GetQuery

func (*Event_RecordSearchParams) GetResolveReferences

func (x *Event_RecordSearchParams) GetResolveReferences() []string

func (*Event_RecordSearchParams) GetSorting added in v1.3.15

func (x *Event_RecordSearchParams) GetSorting() *Sorting

func (*Event_RecordSearchParams) ProtoMessage

func (*Event_RecordSearchParams) ProtoMessage()

func (*Event_RecordSearchParams) ProtoReflect

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

func (*Event_RecordSearchParams) Reset

func (x *Event_RecordSearchParams) Reset()

func (*Event_RecordSearchParams) String

func (x *Event_RecordSearchParams) String() string

type Expression

type Expression struct {

	// Types that are assignable to Expression:
	//
	//	*Expression_Property
	//	*Expression_Value
	Expression isExpression_Expression `protobuf_oneof:"expression"`
	// contains filtered or unexported fields
}

func (*Expression) Descriptor deprecated

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

Deprecated: Use Expression.ProtoReflect.Descriptor instead.

func (*Expression) GetExpression

func (m *Expression) GetExpression() isExpression_Expression

func (*Expression) GetProperty

func (x *Expression) GetProperty() string

func (*Expression) GetValue

func (x *Expression) GetValue() *structpb.Value

func (*Expression) ProtoMessage

func (*Expression) ProtoMessage()

func (*Expression) ProtoReflect

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

func (*Expression) Reset

func (x *Expression) Reset()

func (*Expression) String

func (x *Expression) String() string

type Expression_Property

type Expression_Property struct {
	Property string `protobuf:"bytes,1,opt,name=property,proto3,oneof"`
}

type Expression_Value

type Expression_Value struct {
	Value *structpb.Value `protobuf:"bytes,3,opt,name=value,proto3,oneof"`
}

type ExternalCall

type ExternalCall struct {
	FunctionCall *FunctionCall `protobuf:"bytes,1,opt,name=functionCall,proto3" json:"functionCall,omitempty"`
	HttpCall     *HttpCall     `protobuf:"bytes,2,opt,name=httpCall,proto3" json:"httpCall,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalCall) Descriptor deprecated

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

Deprecated: Use ExternalCall.ProtoReflect.Descriptor instead.

func (*ExternalCall) GetFunctionCall

func (x *ExternalCall) GetFunctionCall() *FunctionCall

func (*ExternalCall) GetHttpCall

func (x *ExternalCall) GetHttpCall() *HttpCall

func (*ExternalCall) ProtoMessage

func (*ExternalCall) ProtoMessage()

func (*ExternalCall) ProtoReflect

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

func (*ExternalCall) Reset

func (x *ExternalCall) Reset()

func (*ExternalCall) String

func (x *ExternalCall) String() string

type FunctionCall

type FunctionCall struct {
	Host         string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	FunctionName string `protobuf:"bytes,2,opt,name=functionName,proto3" json:"functionName,omitempty"`
	// contains filtered or unexported fields
}

func (*FunctionCall) Descriptor deprecated

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

Deprecated: Use FunctionCall.ProtoReflect.Descriptor instead.

func (*FunctionCall) GetFunctionName

func (x *FunctionCall) GetFunctionName() string

func (*FunctionCall) GetHost

func (x *FunctionCall) GetHost() string

func (*FunctionCall) ProtoMessage

func (*FunctionCall) ProtoMessage()

func (*FunctionCall) ProtoReflect

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

func (*FunctionCall) Reset

func (x *FunctionCall) Reset()

func (*FunctionCall) String

func (x *FunctionCall) String() string

type GroupingItem added in v1.2.82

type GroupingItem struct {
	Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupingItem) Descriptor deprecated added in v1.2.82

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

Deprecated: Use GroupingItem.ProtoReflect.Descriptor instead.

func (*GroupingItem) GetProperty added in v1.2.82

func (x *GroupingItem) GetProperty() string

func (*GroupingItem) ProtoMessage added in v1.2.82

func (*GroupingItem) ProtoMessage()

func (*GroupingItem) ProtoReflect added in v1.2.82

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

func (*GroupingItem) Reset added in v1.2.82

func (x *GroupingItem) Reset()

func (*GroupingItem) String added in v1.2.82

func (x *GroupingItem) String() string

type HttpCall

type HttpCall struct {
	Uri    string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*HttpCall) Descriptor deprecated

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

Deprecated: Use HttpCall.ProtoReflect.Descriptor instead.

func (*HttpCall) GetMethod

func (x *HttpCall) GetMethod() string

func (*HttpCall) GetUri

func (x *HttpCall) GetUri() string

func (*HttpCall) ProtoMessage

func (*HttpCall) ProtoMessage()

func (*HttpCall) ProtoReflect

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

func (*HttpCall) Reset

func (x *HttpCall) Reset()

func (*HttpCall) String

func (x *HttpCall) String() string

type InfluxDBConfig added in v1.1.37

type InfluxDBConfig struct {
	HostUrl      string `protobuf:"bytes,1,opt,name=hostUrl,proto3" json:"hostUrl,omitempty"`
	Token        string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Bucket       string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Organization string `protobuf:"bytes,4,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*InfluxDBConfig) Descriptor deprecated added in v1.1.37

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

Deprecated: Use InfluxDBConfig.ProtoReflect.Descriptor instead.

func (*InfluxDBConfig) GetBucket added in v1.1.37

func (x *InfluxDBConfig) GetBucket() string

func (*InfluxDBConfig) GetHostUrl added in v1.1.37

func (x *InfluxDBConfig) GetHostUrl() string

func (*InfluxDBConfig) GetOrganization added in v1.1.37

func (x *InfluxDBConfig) GetOrganization() string

func (*InfluxDBConfig) GetToken added in v1.1.37

func (x *InfluxDBConfig) GetToken() string

func (*InfluxDBConfig) ProtoMessage added in v1.1.37

func (*InfluxDBConfig) ProtoMessage()

func (*InfluxDBConfig) ProtoReflect added in v1.1.37

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

func (*InfluxDBConfig) Reset added in v1.1.37

func (x *InfluxDBConfig) Reset()

func (*InfluxDBConfig) String added in v1.1.37

func (x *InfluxDBConfig) String() string

type InitRecord added in v1.1.37

type InitRecord struct {
	Namespace string  `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Resource  string  `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Override  bool    `protobuf:"varint,3,opt,name=override,proto3" json:"override,omitempty"`
	Record    *Record `protobuf:"bytes,4,opt,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

func (*InitRecord) Descriptor deprecated added in v1.1.37

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

Deprecated: Use InitRecord.ProtoReflect.Descriptor instead.

func (*InitRecord) GetNamespace added in v1.1.37

func (x *InitRecord) GetNamespace() string

func (*InitRecord) GetOverride added in v1.1.91

func (x *InitRecord) GetOverride() bool

func (*InitRecord) GetRecord added in v1.1.37

func (x *InitRecord) GetRecord() *Record

func (*InitRecord) GetResource added in v1.1.37

func (x *InitRecord) GetResource() string

func (*InitRecord) ProtoMessage added in v1.1.37

func (*InitRecord) ProtoMessage()

func (*InitRecord) ProtoReflect added in v1.1.37

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

func (*InitRecord) Reset added in v1.1.37

func (x *InitRecord) Reset()

func (*InitRecord) String added in v1.1.37

func (x *InitRecord) String() string

type Limitations added in v1.1.90

type Limitations struct {
	Enabled           bool  `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	MaxRecordCount    int32 `protobuf:"varint,2,opt,name=maxRecordCount,proto3" json:"maxRecordCount,omitempty"`
	MaxResourceCount  int32 `protobuf:"varint,3,opt,name=maxResourceCount,proto3" json:"maxResourceCount,omitempty"`
	MaxNamespaceCount int32 `protobuf:"varint,4,opt,name=maxNamespaceCount,proto3" json:"maxNamespaceCount,omitempty"`
	RequestPerMinute  int32 `protobuf:"varint,5,opt,name=requestPerMinute,proto3" json:"requestPerMinute,omitempty"`
	RequestPerHour    int32 `protobuf:"varint,6,opt,name=requestPerHour,proto3" json:"requestPerHour,omitempty"`
	RequestPerDay     int32 `protobuf:"varint,7,opt,name=requestPerDay,proto3" json:"requestPerDay,omitempty"`
	RequestPerMonth   int32 `protobuf:"varint,8,opt,name=requestPerMonth,proto3" json:"requestPerMonth,omitempty"`
	RequestPerYear    int32 `protobuf:"varint,9,opt,name=requestPerYear,proto3" json:"requestPerYear,omitempty"`
	// contains filtered or unexported fields
}

func (*Limitations) Descriptor deprecated added in v1.1.90

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

Deprecated: Use Limitations.ProtoReflect.Descriptor instead.

func (*Limitations) GetEnabled added in v1.1.90

func (x *Limitations) GetEnabled() bool

func (*Limitations) GetMaxNamespaceCount added in v1.1.90

func (x *Limitations) GetMaxNamespaceCount() int32

func (*Limitations) GetMaxRecordCount added in v1.1.90

func (x *Limitations) GetMaxRecordCount() int32

func (*Limitations) GetMaxResourceCount added in v1.1.90

func (x *Limitations) GetMaxResourceCount() int32

func (*Limitations) GetRequestPerDay added in v1.1.90

func (x *Limitations) GetRequestPerDay() int32

func (*Limitations) GetRequestPerHour added in v1.1.90

func (x *Limitations) GetRequestPerHour() int32

func (*Limitations) GetRequestPerMinute added in v1.1.90

func (x *Limitations) GetRequestPerMinute() int32

func (*Limitations) GetRequestPerMonth added in v1.1.90

func (x *Limitations) GetRequestPerMonth() int32

func (*Limitations) GetRequestPerYear added in v1.1.90

func (x *Limitations) GetRequestPerYear() int32

func (*Limitations) ProtoMessage added in v1.1.90

func (*Limitations) ProtoMessage()

func (*Limitations) ProtoReflect added in v1.1.90

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

func (*Limitations) Reset added in v1.1.90

func (x *Limitations) Reset()

func (*Limitations) String added in v1.1.90

func (x *Limitations) String() string

type LogFormat added in v1.1.90

type LogFormat int32
const (
	LogFormat_TEXT LogFormat = 0
	LogFormat_JSON LogFormat = 1
)

func (LogFormat) Descriptor added in v1.1.90

func (LogFormat) Descriptor() protoreflect.EnumDescriptor

func (LogFormat) Enum added in v1.1.90

func (x LogFormat) Enum() *LogFormat

func (LogFormat) EnumDescriptor deprecated added in v1.1.90

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

Deprecated: Use LogFormat.Descriptor instead.

func (LogFormat) Number added in v1.1.90

func (x LogFormat) Number() protoreflect.EnumNumber

func (LogFormat) String added in v1.1.90

func (x LogFormat) String() string

func (LogFormat) Type added in v1.1.90

type LogLevel added in v1.1.90

type LogLevel int32
const (
	LogLevel_PANIC LogLevel = 0
	LogLevel_FATAL LogLevel = 1
	LogLevel_ERROR LogLevel = 2
	LogLevel_WARN  LogLevel = 3
	LogLevel_INFO  LogLevel = 4
	LogLevel_DEBUG LogLevel = 5
	LogLevel_TRACE LogLevel = 6
)

func (LogLevel) Descriptor added in v1.1.90

func (LogLevel) Descriptor() protoreflect.EnumDescriptor

func (LogLevel) Enum added in v1.1.90

func (x LogLevel) Enum() *LogLevel

func (LogLevel) EnumDescriptor deprecated added in v1.1.90

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

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel) Number added in v1.1.90

func (x LogLevel) Number() protoreflect.EnumNumber

func (LogLevel) String added in v1.1.90

func (x LogLevel) String() string

func (LogLevel) Type added in v1.1.90

type LoggingConfig added in v1.1.90

type LoggingConfig struct {
	Level        LogLevel  `protobuf:"varint,1,opt,name=level,proto3,enum=model.LogLevel" json:"level,omitempty"`
	Format       LogFormat `protobuf:"varint,2,opt,name=format,proto3,enum=model.LogFormat" json:"format,omitempty"`
	ReportCaller bool      `protobuf:"varint,3,opt,name=reportCaller,proto3" json:"reportCaller,omitempty"`
	// contains filtered or unexported fields
}

func (*LoggingConfig) Descriptor deprecated added in v1.1.90

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

Deprecated: Use LoggingConfig.ProtoReflect.Descriptor instead.

func (*LoggingConfig) GetFormat added in v1.1.90

func (x *LoggingConfig) GetFormat() LogFormat

func (*LoggingConfig) GetLevel added in v1.1.90

func (x *LoggingConfig) GetLevel() LogLevel

func (*LoggingConfig) GetReportCaller added in v1.1.90

func (x *LoggingConfig) GetReportCaller() bool

func (*LoggingConfig) ProtoMessage added in v1.1.90

func (*LoggingConfig) ProtoMessage()

func (*LoggingConfig) ProtoReflect added in v1.1.90

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

func (*LoggingConfig) Reset added in v1.1.90

func (x *LoggingConfig) Reset()

func (*LoggingConfig) String added in v1.1.90

func (x *LoggingConfig) String() string

type MapAnyWrap

type MapAnyWrap struct {
	Content map[string]*anypb.Any `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MapAnyWrap) Descriptor deprecated

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

Deprecated: Use MapAnyWrap.ProtoReflect.Descriptor instead.

func (*MapAnyWrap) GetContent

func (x *MapAnyWrap) GetContent() map[string]*anypb.Any

func (*MapAnyWrap) ProtoMessage

func (*MapAnyWrap) ProtoMessage()

func (*MapAnyWrap) ProtoReflect

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

func (*MapAnyWrap) Reset

func (x *MapAnyWrap) Reset()

func (*MapAnyWrap) String

func (x *MapAnyWrap) String() string

type MetricsConfig added in v1.1.37

type MetricsConfig struct {
	Enabled   bool            `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Interval  *int32          `protobuf:"varint,2,opt,name=interval,proto3,oneof" json:"interval,omitempty"`   // defaults to 10 seconds
	Retention *int32          `protobuf:"varint,3,opt,name=retention,proto3,oneof" json:"retention,omitempty"` // defaults to 1 day
	Influxdb  *InfluxDBConfig `protobuf:"bytes,4,opt,name=influxdb,proto3" json:"influxdb,omitempty"`
	// contains filtered or unexported fields
}

func (*MetricsConfig) Descriptor deprecated added in v1.1.37

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

Deprecated: Use MetricsConfig.ProtoReflect.Descriptor instead.

func (*MetricsConfig) GetEnabled added in v1.1.37

func (x *MetricsConfig) GetEnabled() bool

func (*MetricsConfig) GetInfluxdb added in v1.1.37

func (x *MetricsConfig) GetInfluxdb() *InfluxDBConfig

func (*MetricsConfig) GetInterval added in v1.1.37

func (x *MetricsConfig) GetInterval() int32

func (*MetricsConfig) GetRetention added in v1.1.37

func (x *MetricsConfig) GetRetention() int32

func (*MetricsConfig) ProtoMessage added in v1.1.37

func (*MetricsConfig) ProtoMessage()

func (*MetricsConfig) ProtoReflect added in v1.1.37

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

func (*MetricsConfig) Reset added in v1.1.37

func (x *MetricsConfig) Reset()

func (*MetricsConfig) String added in v1.1.37

func (x *MetricsConfig) String() string

type ModuleConfig added in v1.3.83

type ModuleConfig struct {
	Disabled bool              `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Options  map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ModuleConfig) Descriptor deprecated added in v1.3.83

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

Deprecated: Use ModuleConfig.ProtoReflect.Descriptor instead.

func (*ModuleConfig) GetDisabled added in v1.3.83

func (x *ModuleConfig) GetDisabled() bool

func (*ModuleConfig) GetOptions added in v1.3.83

func (x *ModuleConfig) GetOptions() map[string]string

func (*ModuleConfig) ProtoMessage added in v1.3.83

func (*ModuleConfig) ProtoMessage()

func (*ModuleConfig) ProtoReflect added in v1.3.83

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

func (*ModuleConfig) Reset added in v1.3.83

func (x *ModuleConfig) Reset()

func (*ModuleConfig) String added in v1.3.83

func (x *ModuleConfig) String() string

type OperationType

type OperationType int32
const (
	OperationType_OPERATION_TYPE_READ   OperationType = 0
	OperationType_OPERATION_TYPE_CREATE OperationType = 1
	OperationType_OPERATION_TYPE_UPDATE OperationType = 2
	OperationType_OPERATION_TYPE_DELETE OperationType = 3
	OperationType_FULL                  OperationType = 4
)

func (OperationType) Descriptor

func (OperationType) Enum

func (x OperationType) Enum() *OperationType

func (OperationType) EnumDescriptor deprecated

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

Deprecated: Use OperationType.Descriptor instead.

func (OperationType) Number

func (OperationType) String

func (x OperationType) String() string

func (OperationType) Type

type Order

type Order int32
const (
	Order_ORDER_UNKNOWN Order = 0
	Order_ORDER_ASC     Order = 1
	Order_ORDER_DESC    Order = 2
)

func (Order) Descriptor

func (Order) Descriptor() protoreflect.EnumDescriptor

func (Order) Enum

func (x Order) Enum() *Order

func (Order) EnumDescriptor deprecated

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

Deprecated: Use Order.Descriptor instead.

func (Order) Number

func (x Order) Number() protoreflect.EnumNumber

func (Order) String

func (x Order) String() string

func (Order) Type

func (Order) Type() protoreflect.EnumType

type PairExpression

type PairExpression struct {
	Left  *Expression `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"`
	Right *Expression `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"`
	// contains filtered or unexported fields
}

func (*PairExpression) Descriptor deprecated

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

Deprecated: Use PairExpression.ProtoReflect.Descriptor instead.

func (*PairExpression) GetLeft

func (x *PairExpression) GetLeft() *Expression

func (*PairExpression) GetRight

func (x *PairExpression) GetRight() *Expression

func (*PairExpression) ProtoMessage

func (*PairExpression) ProtoMessage()

func (*PairExpression) ProtoReflect

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

func (*PairExpression) Reset

func (x *PairExpression) Reset()

func (*PairExpression) String

func (x *PairExpression) String() string

type Permission added in v1.1.40

type Permission struct {

	// match part
	Namespace     string                  `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`                                            //  namespace name where it will be applied
	Resource      string                  `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`                                              // resource name where it will be applied
	Property      string                  `protobuf:"bytes,3,opt,name=property,proto3" json:"property,omitempty"`                                              // property name where it will be applied
	PropertyValue *string                 `protobuf:"bytes,4,opt,name=propertyValue,proto3,oneof" json:"propertyValue,omitempty"`                              // property value where it will be applied
	PropertyMode  Permission_PropertyMode `protobuf:"varint,15,opt,name=propertyMode,proto3,enum=model.Permission_PropertyMode" json:"propertyMode,omitempty"` // property mode
	Operation     OperationType           `protobuf:"varint,13,opt,name=operation,proto3,enum=model.OperationType" json:"operation,omitempty"`                 // operation name which it is applied to
	RecordIds     []string                `protobuf:"bytes,9,rep,name=recordIds,proto3" json:"recordIds,omitempty"`                                            // list of record ids which it is applied to
	// time part
	Before *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=before,proto3" json:"before,omitempty"` // before it is valid
	After  *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=after,proto3" json:"after,omitempty"`   // after it is valid
	// user part
	Username   *string         `protobuf:"bytes,7,opt,name=username,proto3,oneof" json:"username,omitempty"`               // username which it is applied to
	Role       *string         `protobuf:"bytes,8,opt,name=role,proto3,oneof" json:"role,omitempty"`                       // role which it is applied to
	Permit     PermitType      `protobuf:"varint,14,opt,name=permit,proto3,enum=model.PermitType" json:"permit,omitempty"` // permission
	LocalFlags *structpb.Value `protobuf:"bytes,11,opt,name=localFlags,proto3,oneof" json:"localFlags,omitempty"`          // optional, local flags
	// contains filtered or unexported fields
}

Permission is a rule

func (*Permission) Descriptor deprecated added in v1.1.40

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetAfter added in v1.1.40

func (x *Permission) GetAfter() *timestamppb.Timestamp

func (*Permission) GetBefore added in v1.1.40

func (x *Permission) GetBefore() *timestamppb.Timestamp

func (*Permission) GetLocalFlags added in v1.1.40

func (x *Permission) GetLocalFlags() *structpb.Value

func (*Permission) GetNamespace added in v1.1.40

func (x *Permission) GetNamespace() string

func (*Permission) GetOperation added in v1.1.40

func (x *Permission) GetOperation() OperationType

func (*Permission) GetPermit added in v1.1.40

func (x *Permission) GetPermit() PermitType

func (*Permission) GetProperty added in v1.1.40

func (x *Permission) GetProperty() string

func (*Permission) GetPropertyMode added in v1.1.40

func (x *Permission) GetPropertyMode() Permission_PropertyMode

func (*Permission) GetPropertyValue added in v1.1.40

func (x *Permission) GetPropertyValue() string

func (*Permission) GetRecordIds added in v1.1.40

func (x *Permission) GetRecordIds() []string

func (*Permission) GetResource added in v1.1.40

func (x *Permission) GetResource() string

func (*Permission) GetRole added in v1.1.40

func (x *Permission) GetRole() string

func (*Permission) GetUsername added in v1.1.40

func (x *Permission) GetUsername() string

func (*Permission) ProtoMessage added in v1.1.40

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect added in v1.1.40

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

func (*Permission) Reset added in v1.1.40

func (x *Permission) Reset()

func (*Permission) String added in v1.1.40

func (x *Permission) String() string

type Permission_PropertyMode added in v1.1.44

type Permission_PropertyMode int32
const (
	Permission_PROPERTY_MATCH_ONLY Permission_PropertyMode = 0
	Permission_PROPERTY_MATCH_ANY  Permission_PropertyMode = 1
)

func (Permission_PropertyMode) Descriptor added in v1.1.44

func (Permission_PropertyMode) Enum added in v1.1.44

func (Permission_PropertyMode) EnumDescriptor deprecated added in v1.1.44

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

Deprecated: Use Permission_PropertyMode.Descriptor instead.

func (Permission_PropertyMode) Number added in v1.1.44

func (Permission_PropertyMode) String added in v1.1.44

func (x Permission_PropertyMode) String() string

func (Permission_PropertyMode) Type added in v1.1.44

type PermitType

type PermitType int32
const (
	PermitType_PERMIT_TYPE_ALLOW  PermitType = 0
	PermitType_PERMIT_TYPE_REJECT PermitType = 1
)

func (PermitType) Descriptor

func (PermitType) Descriptor() protoreflect.EnumDescriptor

func (PermitType) Enum

func (x PermitType) Enum() *PermitType

func (PermitType) EnumDescriptor deprecated

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

Deprecated: Use PermitType.Descriptor instead.

func (PermitType) Number

func (x PermitType) Number() protoreflect.EnumNumber

func (PermitType) String

func (x PermitType) String() string

func (PermitType) Type

type Record

type Record struct {
	Properties       map[string]*structpb.Value `` /* 161-byte string literal not displayed */
	PropertiesPacked []*structpb.Value          `protobuf:"bytes,5,rep,name=propertiesPacked,proto3" json:"propertiesPacked,omitempty"`
	// contains filtered or unexported fields
}

func (*Record) Descriptor deprecated

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

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetProperties

func (x *Record) GetProperties() map[string]*structpb.Value

func (*Record) GetPropertiesPacked

func (x *Record) GetPropertiesPacked() []*structpb.Value

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

type RedisConfig added in v1.1.90

type RedisConfig struct {
	Prefix   string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Addr     string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Db       int32  `protobuf:"varint,4,opt,name=db,proto3" json:"db,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisConfig) Descriptor deprecated added in v1.1.90

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

Deprecated: Use RedisConfig.ProtoReflect.Descriptor instead.

func (*RedisConfig) GetAddr added in v1.1.90

func (x *RedisConfig) GetAddr() string

func (*RedisConfig) GetDb added in v1.1.90

func (x *RedisConfig) GetDb() int32

func (*RedisConfig) GetPassword added in v1.1.90

func (x *RedisConfig) GetPassword() string

func (*RedisConfig) GetPrefix added in v1.1.90

func (x *RedisConfig) GetPrefix() string

func (*RedisConfig) ProtoMessage added in v1.1.90

func (*RedisConfig) ProtoMessage()

func (*RedisConfig) ProtoReflect added in v1.1.90

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

func (*RedisConfig) Reset added in v1.1.90

func (x *RedisConfig) Reset()

func (*RedisConfig) String added in v1.1.90

func (x *RedisConfig) String() string

type Reference

type Reference struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // referenced resource namespace
	Resource  string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`   // referenced resource name
	// contains filtered or unexported fields
}

func (*Reference) Descriptor deprecated

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

Deprecated: Use Reference.ProtoReflect.Descriptor instead.

func (*Reference) GetNamespace added in v1.1.37

func (x *Reference) GetNamespace() string

func (*Reference) GetResource added in v1.1.37

func (x *Reference) GetResource() string

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) ProtoReflect

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

func (*Reference) Reset

func (x *Reference) Reset()

func (*Reference) String

func (x *Reference) String() string

type RegexMatchExpression

type RegexMatchExpression struct {
	Pattern    string      `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	Expression *Expression `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

func (*RegexMatchExpression) Descriptor deprecated

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

Deprecated: Use RegexMatchExpression.ProtoReflect.Descriptor instead.

func (*RegexMatchExpression) GetExpression

func (x *RegexMatchExpression) GetExpression() *Expression

func (*RegexMatchExpression) GetPattern

func (x *RegexMatchExpression) GetPattern() string

func (*RegexMatchExpression) ProtoMessage

func (*RegexMatchExpression) ProtoMessage()

func (*RegexMatchExpression) ProtoReflect

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

func (*RegexMatchExpression) Reset

func (x *RegexMatchExpression) Reset()

func (*RegexMatchExpression) String

func (x *RegexMatchExpression) String() string

type Resource

type Resource struct {
	Id              string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                     // unique resource id; read only
	Name            string                `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                 // unique resource name, it is unique per namespace
	Namespace       string                `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`       // each resource is kept inside a namespace. One namespace can have multiple resources
	SourceConfig    *ResourceSourceConfig `protobuf:"bytes,5,opt,name=sourceConfig,proto3" json:"sourceConfig,omitempty"` //
	Properties      []*ResourceProperty   `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"`     // list of properties of resource. This properties will be used by records of resource. Properties is columns on sql databases. For schemaless data structures properties is only managed by API Brew itself
	Types           []*ResourceSubType    `protobuf:"bytes,7,rep,name=types,proto3" json:"types,omitempty"`
	Indexes         []*ResourceIndex      `protobuf:"bytes,8,rep,name=indexes,proto3" json:"indexes,omitempty"`       // list of resource indexes. Its implementation is depending on data source backend and may not be supported by some backends.
	Virtual         bool                  `protobuf:"varint,11,opt,name=virtual,proto3" json:"virtual,omitempty"`     // If virtual is true. Operations will not phisically affect datasource/backend. Virtual resources is for   extension purposes. Their behaviors can be extended and altered. It can also be used to integrate 3rd party systems.
	Immutable       bool                  `protobuf:"varint,12,opt,name=immutable,proto3" json:"immutable,omitempty"` // if true, delete and update will not be allowed on this resource
	Abstract        bool                  `protobuf:"varint,13,opt,name=abstract,proto3" json:"abstract,omitempty"`   // if abstract, resource is only available to internal and extension side operations
	CheckReferences bool                  `protobuf:"varint,16,opt,name=checkReferences,proto3" json:"checkReferences,omitempty"`
	Title           *string               `protobuf:"bytes,14,opt,name=title,proto3,oneof" json:"title,omitempty"`
	Description     *string               `protobuf:"bytes,15,opt,name=description,proto3,oneof" json:"description,omitempty"`
	AuditData       *AuditData            `protobuf:"bytes,101,opt,name=auditData,proto3" json:"auditData,omitempty"`
	Version         uint32                `protobuf:"varint,102,opt,name=version,proto3" json:"version,omitempty"`
	Annotations     map[string]string     `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetAbstract

func (x *Resource) GetAbstract() bool

func (*Resource) GetAnnotations

func (x *Resource) GetAnnotations() map[string]string

func (*Resource) GetAuditData

func (x *Resource) GetAuditData() *AuditData

func (*Resource) GetCheckReferences added in v1.1.37

func (x *Resource) GetCheckReferences() bool

func (*Resource) GetDescription

func (x *Resource) GetDescription() string

func (*Resource) GetId

func (x *Resource) GetId() string

func (*Resource) GetImmutable

func (x *Resource) GetImmutable() bool

func (*Resource) GetIndexes

func (x *Resource) GetIndexes() []*ResourceIndex

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) GetNamespace

func (x *Resource) GetNamespace() string

func (*Resource) GetProperties

func (x *Resource) GetProperties() []*ResourceProperty

func (*Resource) GetSourceConfig

func (x *Resource) GetSourceConfig() *ResourceSourceConfig

func (*Resource) GetTitle

func (x *Resource) GetTitle() string

func (*Resource) GetTypes added in v1.1.37

func (x *Resource) GetTypes() []*ResourceSubType

func (*Resource) GetVersion

func (x *Resource) GetVersion() uint32

func (*Resource) GetVirtual

func (x *Resource) GetVirtual() bool

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type ResourceIndex

type ResourceIndex struct {
	Properties  []*ResourceIndexProperty `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"`                             // list of properties inside single index. Normally you will need only single property. Multi property will be needed for multi property indexes(for complex indexes)
	IndexType   ResourceIndexType        `protobuf:"varint,2,opt,name=indexType,proto3,enum=model.ResourceIndexType" json:"indexType,omitempty"` // Index type(BTREE, HASH)
	Unique      bool                     `protobuf:"varint,3,opt,name=unique,proto3" json:"unique,omitempty"`                                    // if true index will be unique index
	Annotations map[string]string        ``                                                                                                      /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResourceIndex) Descriptor deprecated

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

Deprecated: Use ResourceIndex.ProtoReflect.Descriptor instead.

func (*ResourceIndex) GetAnnotations

func (x *ResourceIndex) GetAnnotations() map[string]string

func (*ResourceIndex) GetIndexType

func (x *ResourceIndex) GetIndexType() ResourceIndexType

func (*ResourceIndex) GetProperties

func (x *ResourceIndex) GetProperties() []*ResourceIndexProperty

func (*ResourceIndex) GetUnique

func (x *ResourceIndex) GetUnique() bool

func (*ResourceIndex) ProtoMessage

func (*ResourceIndex) ProtoMessage()

func (*ResourceIndex) ProtoReflect

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

func (*ResourceIndex) Reset

func (x *ResourceIndex) Reset()

func (*ResourceIndex) String

func (x *ResourceIndex) String() string

type ResourceIndexProperty

type ResourceIndexProperty struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Order Order  `protobuf:"varint,2,opt,name=order,proto3,enum=model.Order" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceIndexProperty) Descriptor deprecated

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

Deprecated: Use ResourceIndexProperty.ProtoReflect.Descriptor instead.

func (*ResourceIndexProperty) GetName

func (x *ResourceIndexProperty) GetName() string

func (*ResourceIndexProperty) GetOrder

func (x *ResourceIndexProperty) GetOrder() Order

func (*ResourceIndexProperty) ProtoMessage

func (*ResourceIndexProperty) ProtoMessage()

func (*ResourceIndexProperty) ProtoReflect

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

func (*ResourceIndexProperty) Reset

func (x *ResourceIndexProperty) Reset()

func (*ResourceIndexProperty) String

func (x *ResourceIndexProperty) String() string

type ResourceIndexType

type ResourceIndexType int32
const (
	ResourceIndexType_BTREE ResourceIndexType = 0
	ResourceIndexType_HASH  ResourceIndexType = 1
)

func (ResourceIndexType) Descriptor

func (ResourceIndexType) Enum

func (ResourceIndexType) EnumDescriptor deprecated

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

Deprecated: Use ResourceIndexType.Descriptor instead.

func (ResourceIndexType) Number

func (ResourceIndexType) String

func (x ResourceIndexType) String() string

func (ResourceIndexType) Type

type ResourceMigrationCreateIndex

type ResourceMigrationCreateIndex struct {
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceMigrationCreateIndex) Descriptor deprecated

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

Deprecated: Use ResourceMigrationCreateIndex.ProtoReflect.Descriptor instead.

func (*ResourceMigrationCreateIndex) GetIndex

func (x *ResourceMigrationCreateIndex) GetIndex() uint32

func (*ResourceMigrationCreateIndex) ProtoMessage

func (*ResourceMigrationCreateIndex) ProtoMessage()

func (*ResourceMigrationCreateIndex) ProtoReflect

func (*ResourceMigrationCreateIndex) Reset

func (x *ResourceMigrationCreateIndex) Reset()

func (*ResourceMigrationCreateIndex) String

type ResourceMigrationCreateProperty

type ResourceMigrationCreateProperty struct {
	Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
	SubType  string `protobuf:"bytes,2,opt,name=subType,proto3" json:"subType,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceMigrationCreateProperty) Descriptor deprecated

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

Deprecated: Use ResourceMigrationCreateProperty.ProtoReflect.Descriptor instead.

func (*ResourceMigrationCreateProperty) GetProperty

func (x *ResourceMigrationCreateProperty) GetProperty() string

func (*ResourceMigrationCreateProperty) GetSubType added in v1.1.37

func (x *ResourceMigrationCreateProperty) GetSubType() string

func (*ResourceMigrationCreateProperty) ProtoMessage

func (*ResourceMigrationCreateProperty) ProtoMessage()

func (*ResourceMigrationCreateProperty) ProtoReflect

func (*ResourceMigrationCreateProperty) Reset

func (*ResourceMigrationCreateProperty) String

type ResourceMigrationCreateResource

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

func (*ResourceMigrationCreateResource) Descriptor deprecated

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

Deprecated: Use ResourceMigrationCreateResource.ProtoReflect.Descriptor instead.

func (*ResourceMigrationCreateResource) ProtoMessage

func (*ResourceMigrationCreateResource) ProtoMessage()

func (*ResourceMigrationCreateResource) ProtoReflect

func (*ResourceMigrationCreateResource) Reset

func (*ResourceMigrationCreateResource) String

type ResourceMigrationCreateSubType added in v1.1.37

type ResourceMigrationCreateSubType struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceMigrationCreateSubType) Descriptor deprecated added in v1.1.37

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

Deprecated: Use ResourceMigrationCreateSubType.ProtoReflect.Descriptor instead.

func (*ResourceMigrationCreateSubType) GetName added in v1.1.37

func (*ResourceMigrationCreateSubType) ProtoMessage added in v1.1.37

func (*ResourceMigrationCreateSubType) ProtoMessage()

func (*ResourceMigrationCreateSubType) ProtoReflect added in v1.1.37

func (*ResourceMigrationCreateSubType) Reset added in v1.1.37

func (x *ResourceMigrationCreateSubType) Reset()

func (*ResourceMigrationCreateSubType) String added in v1.1.37

type ResourceMigrationDeleteIndex

type ResourceMigrationDeleteIndex struct {
	ExistingIndex uint32 `protobuf:"varint,1,opt,name=existingIndex,proto3" json:"existingIndex,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceMigrationDeleteIndex) Descriptor deprecated

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

Deprecated: Use ResourceMigrationDeleteIndex.ProtoReflect.Descriptor instead.

func (*ResourceMigrationDeleteIndex) GetExistingIndex

func (x *ResourceMigrationDeleteIndex) GetExistingIndex() uint32

func (*ResourceMigrationDeleteIndex) ProtoMessage

func (*ResourceMigrationDeleteIndex) ProtoMessage()

func (*ResourceMigrationDeleteIndex) ProtoReflect

func (*ResourceMigrationDeleteIndex) Reset

func (x *ResourceMigrationDeleteIndex) Reset()

func (*ResourceMigrationDeleteIndex) String

type ResourceMigrationDeleteProperty

type ResourceMigrationDeleteProperty struct {
	ExistingProperty string `protobuf:"bytes,1,opt,name=existingProperty,proto3" json:"existingProperty,omitempty"`
	SubType          string `protobuf:"bytes,2,opt,name=subType,proto3" json:"subType,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceMigrationDeleteProperty) Descriptor deprecated

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

Deprecated: Use ResourceMigrationDeleteProperty.ProtoReflect.Descriptor instead.

func (*ResourceMigrationDeleteProperty) GetExistingProperty

func (x *ResourceMigrationDeleteProperty) GetExistingProperty() string

func (*ResourceMigrationDeleteProperty) GetSubType added in v1.1.37

func (x *ResourceMigrationDeleteProperty) GetSubType() string

func (*ResourceMigrationDeleteProperty) ProtoMessage

func (*ResourceMigrationDeleteProperty) ProtoMessage()

func (*ResourceMigrationDeleteProperty) ProtoReflect

func (*ResourceMigrationDeleteProperty) Reset

func (*ResourceMigrationDeleteProperty) String

type ResourceMigrationDeleteResource

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

func (*ResourceMigrationDeleteResource) Descriptor deprecated

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

Deprecated: Use ResourceMigrationDeleteResource.ProtoReflect.Descriptor instead.

func (*ResourceMigrationDeleteResource) ProtoMessage

func (*ResourceMigrationDeleteResource) ProtoMessage()

func (*ResourceMigrationDeleteResource) ProtoReflect

func (*ResourceMigrationDeleteResource) Reset

func (*ResourceMigrationDeleteResource) String

type ResourceMigrationDeleteSubType added in v1.1.37

type ResourceMigrationDeleteSubType struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceMigrationDeleteSubType) Descriptor deprecated added in v1.1.37

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

Deprecated: Use ResourceMigrationDeleteSubType.ProtoReflect.Descriptor instead.

func (*ResourceMigrationDeleteSubType) GetName added in v1.1.37

func (*ResourceMigrationDeleteSubType) ProtoMessage added in v1.1.37

func (*ResourceMigrationDeleteSubType) ProtoMessage()

func (*ResourceMigrationDeleteSubType) ProtoReflect added in v1.1.37

func (*ResourceMigrationDeleteSubType) Reset added in v1.1.37

func (x *ResourceMigrationDeleteSubType) Reset()

func (*ResourceMigrationDeleteSubType) String added in v1.1.37

type ResourceMigrationPlan

type ResourceMigrationPlan struct {
	ExistingResource *Resource                `protobuf:"bytes,1,opt,name=existingResource,proto3" json:"existingResource,omitempty"`
	CurrentResource  *Resource                `protobuf:"bytes,2,opt,name=currentResource,proto3" json:"currentResource,omitempty"`
	Steps            []*ResourceMigrationStep `protobuf:"bytes,3,rep,name=steps,proto3" json:"steps,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceMigrationPlan) Descriptor deprecated

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

Deprecated: Use ResourceMigrationPlan.ProtoReflect.Descriptor instead.

func (*ResourceMigrationPlan) GetCurrentResource

func (x *ResourceMigrationPlan) GetCurrentResource() *Resource

func (*ResourceMigrationPlan) GetExistingResource

func (x *ResourceMigrationPlan) GetExistingResource() *Resource

func (*ResourceMigrationPlan) GetSteps

func (*ResourceMigrationPlan) ProtoMessage

func (*ResourceMigrationPlan) ProtoMessage()

func (*ResourceMigrationPlan) ProtoReflect

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

func (*ResourceMigrationPlan) Reset

func (x *ResourceMigrationPlan) Reset()

func (*ResourceMigrationPlan) String

func (x *ResourceMigrationPlan) String() string

type ResourceMigrationStep

type ResourceMigrationStep struct {

	// Types that are assignable to Kind:
	//
	//	*ResourceMigrationStep_CreateResource
	//	*ResourceMigrationStep_DeleteResource
	//	*ResourceMigrationStep_UpdateResource
	//	*ResourceMigrationStep_CreateProperty
	//	*ResourceMigrationStep_DeleteProperty
	//	*ResourceMigrationStep_UpdateProperty
	//	*ResourceMigrationStep_CreateIndex
	//	*ResourceMigrationStep_DeleteIndex
	//	*ResourceMigrationStep_CreateSubType
	//	*ResourceMigrationStep_DeleteSubType
	Kind isResourceMigrationStep_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*ResourceMigrationStep) Descriptor deprecated

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

Deprecated: Use ResourceMigrationStep.ProtoReflect.Descriptor instead.

func (*ResourceMigrationStep) GetCreateIndex

func (*ResourceMigrationStep) GetCreateProperty

func (*ResourceMigrationStep) GetCreateResource

func (*ResourceMigrationStep) GetCreateSubType added in v1.1.37

func (*ResourceMigrationStep) GetDeleteIndex

func (*ResourceMigrationStep) GetDeleteProperty

func (*ResourceMigrationStep) GetDeleteResource

func (*ResourceMigrationStep) GetDeleteSubType added in v1.1.37

func (*ResourceMigrationStep) GetKind

func (m *ResourceMigrationStep) GetKind() isResourceMigrationStep_Kind

func (*ResourceMigrationStep) GetUpdateProperty

func (*ResourceMigrationStep) GetUpdateResource

func (*ResourceMigrationStep) ProtoMessage

func (*ResourceMigrationStep) ProtoMessage()

func (*ResourceMigrationStep) ProtoReflect

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

func (*ResourceMigrationStep) Reset

func (x *ResourceMigrationStep) Reset()

func (*ResourceMigrationStep) String

func (x *ResourceMigrationStep) String() string

type ResourceMigrationStep_CreateIndex

type ResourceMigrationStep_CreateIndex struct {
	CreateIndex *ResourceMigrationCreateIndex `protobuf:"bytes,7,opt,name=createIndex,proto3,oneof"`
}

type ResourceMigrationStep_CreateProperty

type ResourceMigrationStep_CreateProperty struct {
	CreateProperty *ResourceMigrationCreateProperty `protobuf:"bytes,4,opt,name=createProperty,proto3,oneof"`
}

type ResourceMigrationStep_CreateResource

type ResourceMigrationStep_CreateResource struct {
	CreateResource *ResourceMigrationCreateResource `protobuf:"bytes,1,opt,name=createResource,proto3,oneof"`
}

type ResourceMigrationStep_CreateSubType added in v1.1.37

type ResourceMigrationStep_CreateSubType struct {
	CreateSubType *ResourceMigrationCreateSubType `protobuf:"bytes,9,opt,name=createSubType,proto3,oneof"`
}

type ResourceMigrationStep_DeleteIndex

type ResourceMigrationStep_DeleteIndex struct {
	DeleteIndex *ResourceMigrationDeleteIndex `protobuf:"bytes,8,opt,name=deleteIndex,proto3,oneof"`
}

type ResourceMigrationStep_DeleteProperty

type ResourceMigrationStep_DeleteProperty struct {
	DeleteProperty *ResourceMigrationDeleteProperty `protobuf:"bytes,5,opt,name=deleteProperty,proto3,oneof"`
}

type ResourceMigrationStep_DeleteResource

type ResourceMigrationStep_DeleteResource struct {
	DeleteResource *ResourceMigrationDeleteResource `protobuf:"bytes,2,opt,name=deleteResource,proto3,oneof"`
}

type ResourceMigrationStep_DeleteSubType added in v1.1.37

type ResourceMigrationStep_DeleteSubType struct {
	DeleteSubType *ResourceMigrationDeleteSubType `protobuf:"bytes,10,opt,name=deleteSubType,proto3,oneof"`
}

type ResourceMigrationStep_UpdateProperty

type ResourceMigrationStep_UpdateProperty struct {
	UpdateProperty *ResourceMigrationUpdateProperty `protobuf:"bytes,6,opt,name=updateProperty,proto3,oneof"`
}

type ResourceMigrationStep_UpdateResource

type ResourceMigrationStep_UpdateResource struct {
	UpdateResource *ResourceMigrationUpdateResource `protobuf:"bytes,3,opt,name=updateResource,proto3,oneof"`
}

type ResourceMigrationUpdateProperty

type ResourceMigrationUpdateProperty struct {
	ExistingProperty string   `protobuf:"bytes,1,opt,name=existingProperty,proto3" json:"existingProperty,omitempty"`
	Property         string   `protobuf:"bytes,2,opt,name=property,proto3" json:"property,omitempty"`
	ChangedFields    []string `protobuf:"bytes,3,rep,name=changedFields,proto3" json:"changedFields,omitempty"`
	SubType          string   `protobuf:"bytes,4,opt,name=subType,proto3" json:"subType,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceMigrationUpdateProperty) Descriptor deprecated

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

Deprecated: Use ResourceMigrationUpdateProperty.ProtoReflect.Descriptor instead.

func (*ResourceMigrationUpdateProperty) GetChangedFields

func (x *ResourceMigrationUpdateProperty) GetChangedFields() []string

func (*ResourceMigrationUpdateProperty) GetExistingProperty

func (x *ResourceMigrationUpdateProperty) GetExistingProperty() string

func (*ResourceMigrationUpdateProperty) GetProperty

func (x *ResourceMigrationUpdateProperty) GetProperty() string

func (*ResourceMigrationUpdateProperty) GetSubType added in v1.1.37

func (x *ResourceMigrationUpdateProperty) GetSubType() string

func (*ResourceMigrationUpdateProperty) ProtoMessage

func (*ResourceMigrationUpdateProperty) ProtoMessage()

func (*ResourceMigrationUpdateProperty) ProtoReflect

func (*ResourceMigrationUpdateProperty) Reset

func (*ResourceMigrationUpdateProperty) String

type ResourceMigrationUpdateResource

type ResourceMigrationUpdateResource struct {
	ChangedFields []string `protobuf:"bytes,1,rep,name=changedFields,proto3" json:"changedFields,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceMigrationUpdateResource) Descriptor deprecated

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

Deprecated: Use ResourceMigrationUpdateResource.ProtoReflect.Descriptor instead.

func (*ResourceMigrationUpdateResource) GetChangedFields

func (x *ResourceMigrationUpdateResource) GetChangedFields() []string

func (*ResourceMigrationUpdateResource) ProtoMessage

func (*ResourceMigrationUpdateResource) ProtoMessage()

func (*ResourceMigrationUpdateResource) ProtoReflect

func (*ResourceMigrationUpdateResource) Reset

func (*ResourceMigrationUpdateResource) String

type ResourceProperty

type ResourceProperty struct {

	// property name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// type of property
	Type ResourceProperty_Type `protobuf:"varint,3,opt,name=type,proto3,enum=model.ResourceProperty_Type" json:"type,omitempty"`
	// type ref
	TypeRef *string `protobuf:"bytes,17,opt,name=typeRef,proto3,oneof" json:"typeRef,omitempty"` // type ref, is only applicable to Struct
	// this is to mark property as required
	Required      bool              `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
	Primary       bool              `protobuf:"varint,6,opt,name=primary,proto3" json:"primary,omitempty"`
	Length        uint32            `protobuf:"varint,7,opt,name=length,proto3" json:"length,omitempty"` // length property is only valid and required for String typed properties
	Unique        bool              `protobuf:"varint,8,opt,name=unique,proto3" json:"unique,omitempty"`
	Immutable     bool              `protobuf:"varint,9,opt,name=immutable,proto3" json:"immutable,omitempty"`               // immutable is to mark property as immutable. If marked, updates on this field on records will be discarded
	Virtual       bool              `protobuf:"varint,10,opt,name=virtual,proto3" json:"virtual,omitempty"`                  // virtual is to mark property as virtual. Virtual properties are not stored on backend. They are calculated on the fly
	DefaultValue  *structpb.Value   `protobuf:"bytes,11,opt,name=defaultValue,proto3,oneof" json:"defaultValue,omitempty"`   // defaultValue is default value.
	ExampleValue  *structpb.Value   `protobuf:"bytes,12,opt,name=exampleValue,proto3,oneof" json:"exampleValue,omitempty"`   // exampleValue is example value. It is an informative column
	EnumValues    []string          `protobuf:"bytes,13,rep,name=enumValues,proto3" json:"enumValues,omitempty"`             // enumValues is used if property type is an enum
	Reference     *Reference        `protobuf:"bytes,14,opt,name=reference,proto3,oneof" json:"reference,omitempty"`         // reference property is only valid and required for Reference types.
	BackReference *BackReference    `protobuf:"bytes,15,opt,name=backReference,proto3,oneof" json:"backReference,omitempty"` // reference property is only valid and required for Reference types.
	Item          *ResourceProperty `protobuf:"bytes,18,opt,name=item,proto3,oneof" json:"item,omitempty"`                   // item is used for complex types(list, map). For list, subType is element type. For map, it is value type(key type is always string)
	Title         *string           `protobuf:"bytes,19,opt,name=title,proto3,oneof" json:"title,omitempty"`                 // It is an informative column
	Description   *string           `protobuf:"bytes,20,opt,name=description,proto3,oneof" json:"description,omitempty"`     // It is an informative column
	Annotations   map[string]string ``                                                                                       /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

Resource properties is used to describe its schema. Each resource property is corresponding to a field in a record API Brew is responsible to validate data according to property types. For example, when you call create record and if you send 123.45 for int64

func (*ResourceProperty) Descriptor deprecated

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

Deprecated: Use ResourceProperty.ProtoReflect.Descriptor instead.

func (*ResourceProperty) GetAnnotations

func (x *ResourceProperty) GetAnnotations() map[string]string

func (*ResourceProperty) GetBackReference added in v1.1.37

func (x *ResourceProperty) GetBackReference() *BackReference

func (*ResourceProperty) GetDefaultValue

func (x *ResourceProperty) GetDefaultValue() *structpb.Value

func (*ResourceProperty) GetDescription

func (x *ResourceProperty) GetDescription() string

func (*ResourceProperty) GetEnumValues

func (x *ResourceProperty) GetEnumValues() []string

func (*ResourceProperty) GetExampleValue

func (x *ResourceProperty) GetExampleValue() *structpb.Value

func (*ResourceProperty) GetImmutable

func (x *ResourceProperty) GetImmutable() bool

func (*ResourceProperty) GetItem added in v1.1.37

func (x *ResourceProperty) GetItem() *ResourceProperty

func (*ResourceProperty) GetLength

func (x *ResourceProperty) GetLength() uint32

func (*ResourceProperty) GetName

func (x *ResourceProperty) GetName() string

func (*ResourceProperty) GetPrimary

func (x *ResourceProperty) GetPrimary() bool

func (*ResourceProperty) GetReference

func (x *ResourceProperty) GetReference() *Reference

func (*ResourceProperty) GetRequired

func (x *ResourceProperty) GetRequired() bool

func (*ResourceProperty) GetTitle

func (x *ResourceProperty) GetTitle() string

func (*ResourceProperty) GetType

func (*ResourceProperty) GetTypeRef added in v1.1.37

func (x *ResourceProperty) GetTypeRef() string

func (*ResourceProperty) GetUnique

func (x *ResourceProperty) GetUnique() bool

func (*ResourceProperty) GetVirtual added in v1.3.43

func (x *ResourceProperty) GetVirtual() bool

func (*ResourceProperty) ProtoMessage

func (*ResourceProperty) ProtoMessage()

func (*ResourceProperty) ProtoReflect

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

func (*ResourceProperty) Reset

func (x *ResourceProperty) Reset()

func (*ResourceProperty) String

func (x *ResourceProperty) String() string

type ResourceProperty_Type

type ResourceProperty_Type int32
const (
	ResourceProperty_BOOL      ResourceProperty_Type = 0
	ResourceProperty_STRING    ResourceProperty_Type = 1
	ResourceProperty_FLOAT32   ResourceProperty_Type = 2
	ResourceProperty_FLOAT64   ResourceProperty_Type = 3
	ResourceProperty_INT32     ResourceProperty_Type = 4
	ResourceProperty_INT64     ResourceProperty_Type = 5
	ResourceProperty_BYTES     ResourceProperty_Type = 6
	ResourceProperty_UUID      ResourceProperty_Type = 8
	ResourceProperty_DATE      ResourceProperty_Type = 9
	ResourceProperty_TIME      ResourceProperty_Type = 10
	ResourceProperty_TIMESTAMP ResourceProperty_Type = 11
	ResourceProperty_OBJECT    ResourceProperty_Type = 12
	ResourceProperty_MAP       ResourceProperty_Type = 13
	ResourceProperty_LIST      ResourceProperty_Type = 14
	ResourceProperty_REFERENCE ResourceProperty_Type = 15
	ResourceProperty_ENUM      ResourceProperty_Type = 16
	ResourceProperty_STRUCT    ResourceProperty_Type = 17
)

func (ResourceProperty_Type) Descriptor

func (ResourceProperty_Type) Enum

func (ResourceProperty_Type) EnumDescriptor deprecated

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

Deprecated: Use ResourceProperty_Type.Descriptor instead.

func (ResourceProperty_Type) Number

func (ResourceProperty_Type) String

func (x ResourceProperty_Type) String() string

func (ResourceProperty_Type) Type

type ResourceSourceConfig

type ResourceSourceConfig struct {
	DataSource string `protobuf:"bytes,1,opt,name=dataSource,proto3" json:"dataSource,omitempty"` // data source name: where resource structure and its data will be physically exists. Data source name is required if resource is not virtual
	Catalog    string `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"`       // catalog is like a folder/schema/database. It is changing from backend to backend. Basically it is for grouping entities
	Entity     string `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"`         // entity name an item on datasource backend where resource will be bound. For sql databases it is table name, for mongo it is collection name, etc.
	// contains filtered or unexported fields
}

source config is to configure resource and bind it to data-source and an entity inside data source. An entity is like a table on sql databases or collection on mongodb etc.

func (*ResourceSourceConfig) Descriptor deprecated

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

Deprecated: Use ResourceSourceConfig.ProtoReflect.Descriptor instead.

func (*ResourceSourceConfig) GetCatalog

func (x *ResourceSourceConfig) GetCatalog() string

func (*ResourceSourceConfig) GetDataSource

func (x *ResourceSourceConfig) GetDataSource() string

func (*ResourceSourceConfig) GetEntity

func (x *ResourceSourceConfig) GetEntity() string

func (*ResourceSourceConfig) ProtoMessage

func (*ResourceSourceConfig) ProtoMessage()

func (*ResourceSourceConfig) ProtoReflect

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

func (*ResourceSourceConfig) Reset

func (x *ResourceSourceConfig) Reset()

func (*ResourceSourceConfig) String

func (x *ResourceSourceConfig) String() string

type ResourceSubType added in v1.1.37

type ResourceSubType struct {
	Name        string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Title       string              `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description string              `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Properties  []*ResourceProperty `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` // list of properties of resource. This properties will be used by records of resource. Properties is columns on sql databases. For schemaless data structures properties is only managed by API Brew itself
	Annotations map[string]string   ``                                                                          /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResourceSubType) Descriptor deprecated added in v1.1.37

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

Deprecated: Use ResourceSubType.ProtoReflect.Descriptor instead.

func (*ResourceSubType) GetAnnotations added in v1.1.37

func (x *ResourceSubType) GetAnnotations() map[string]string

func (*ResourceSubType) GetDescription added in v1.1.37

func (x *ResourceSubType) GetDescription() string

func (*ResourceSubType) GetName added in v1.1.37

func (x *ResourceSubType) GetName() string

func (*ResourceSubType) GetProperties added in v1.1.37

func (x *ResourceSubType) GetProperties() []*ResourceProperty

func (*ResourceSubType) GetTitle added in v1.1.37

func (x *ResourceSubType) GetTitle() string

func (*ResourceSubType) ProtoMessage added in v1.1.37

func (*ResourceSubType) ProtoMessage()

func (*ResourceSubType) ProtoReflect added in v1.1.37

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

func (*ResourceSubType) Reset added in v1.1.37

func (x *ResourceSubType) Reset()

func (*ResourceSubType) String added in v1.1.37

func (x *ResourceSubType) String() string

type SecurityContext

type SecurityContext struct {
	Id        string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Details   *structpb.Struct `protobuf:"bytes,7,opt,name=details,proto3,oneof" json:"details,omitempty"`
	AuditData *AuditData       `protobuf:"bytes,101,opt,name=auditData,proto3" json:"auditData,omitempty"`
	Version   uint32           `protobuf:"varint,102,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*SecurityContext) Descriptor deprecated

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

Deprecated: Use SecurityContext.ProtoReflect.Descriptor instead.

func (*SecurityContext) GetAuditData added in v1.1.37

func (x *SecurityContext) GetAuditData() *AuditData

func (*SecurityContext) GetDetails added in v1.1.37

func (x *SecurityContext) GetDetails() *structpb.Struct

func (*SecurityContext) GetId added in v1.1.37

func (x *SecurityContext) GetId() string

func (*SecurityContext) GetName added in v1.1.37

func (x *SecurityContext) GetName() string

func (*SecurityContext) GetVersion added in v1.1.37

func (x *SecurityContext) GetVersion() uint32

func (*SecurityContext) ProtoMessage

func (*SecurityContext) ProtoMessage()

func (*SecurityContext) ProtoReflect

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

func (*SecurityContext) Reset

func (x *SecurityContext) Reset()

func (*SecurityContext) String

func (x *SecurityContext) String() string

type SortItem added in v1.3.15

type SortItem struct {
	Property  string             `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
	Direction SortItem_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=model.SortItem_Direction" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

func (*SortItem) Descriptor deprecated added in v1.3.15

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

Deprecated: Use SortItem.ProtoReflect.Descriptor instead.

func (*SortItem) GetDirection added in v1.3.15

func (x *SortItem) GetDirection() SortItem_Direction

func (*SortItem) GetProperty added in v1.3.15

func (x *SortItem) GetProperty() string

func (*SortItem) ProtoMessage added in v1.3.15

func (*SortItem) ProtoMessage()

func (*SortItem) ProtoReflect added in v1.3.15

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

func (*SortItem) Reset added in v1.3.15

func (x *SortItem) Reset()

func (*SortItem) String added in v1.3.15

func (x *SortItem) String() string

type SortItem_Direction added in v1.3.15

type SortItem_Direction int32
const (
	SortItem_ASC  SortItem_Direction = 0
	SortItem_DESC SortItem_Direction = 1
)

func (SortItem_Direction) Descriptor added in v1.3.15

func (SortItem_Direction) Enum added in v1.3.15

func (SortItem_Direction) EnumDescriptor deprecated added in v1.3.15

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

Deprecated: Use SortItem_Direction.Descriptor instead.

func (SortItem_Direction) Number added in v1.3.15

func (SortItem_Direction) String added in v1.3.15

func (x SortItem_Direction) String() string

func (SortItem_Direction) Type added in v1.3.15

type Sorting added in v1.3.15

type Sorting struct {
	Items []*SortItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Sorting) Descriptor deprecated added in v1.3.15

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

Deprecated: Use Sorting.ProtoReflect.Descriptor instead.

func (*Sorting) GetItems added in v1.3.15

func (x *Sorting) GetItems() []*SortItem

func (*Sorting) ProtoMessage added in v1.3.15

func (*Sorting) ProtoMessage()

func (*Sorting) ProtoReflect added in v1.3.15

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

func (*Sorting) Reset added in v1.3.15

func (x *Sorting) Reset()

func (*Sorting) String added in v1.3.15

func (x *Sorting) String() string

type StatsConfig added in v1.1.90

type StatsConfig struct {
	Enabled bool         `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Redis   *RedisConfig `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"`
	// contains filtered or unexported fields
}

func (*StatsConfig) Descriptor deprecated added in v1.1.90

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

Deprecated: Use StatsConfig.ProtoReflect.Descriptor instead.

func (*StatsConfig) GetEnabled added in v1.1.90

func (x *StatsConfig) GetEnabled() bool

func (*StatsConfig) GetRedis added in v1.1.90

func (x *StatsConfig) GetRedis() *RedisConfig

func (*StatsConfig) ProtoMessage added in v1.1.90

func (*StatsConfig) ProtoMessage()

func (*StatsConfig) ProtoReflect added in v1.1.90

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

func (*StatsConfig) Reset added in v1.1.90

func (x *StatsConfig) Reset()

func (*StatsConfig) String added in v1.1.90

func (x *StatsConfig) String() string

type Token

type Token struct {
	Term       TokenTerm              `protobuf:"varint,1,opt,name=term,proto3,enum=model.TokenTerm" json:"term,omitempty"` // issue term
	Content    string                 `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`                 // jwt token
	Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`           // expiration time
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetContent

func (x *Token) GetContent() string

func (*Token) GetExpiration

func (x *Token) GetExpiration() *timestamppb.Timestamp

func (*Token) GetTerm

func (x *Token) GetTerm() TokenTerm

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

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

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

type TokenTerm

type TokenTerm int32
const (
	// 1 minute
	TokenTerm_VERY_SHORT TokenTerm = 0
	// 20 minutes
	TokenTerm_SHORT TokenTerm = 1
	// 2 days
	TokenTerm_MIDDLE TokenTerm = 2
	// 60 days
	TokenTerm_LONG TokenTerm = 3
	// 2 years
	TokenTerm_VERY_LONG TokenTerm = 4
)

func (TokenTerm) Descriptor

func (TokenTerm) Descriptor() protoreflect.EnumDescriptor

func (TokenTerm) Enum

func (x TokenTerm) Enum() *TokenTerm

func (TokenTerm) EnumDescriptor deprecated

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

Deprecated: Use TokenTerm.Descriptor instead.

func (TokenTerm) Number

func (x TokenTerm) Number() protoreflect.EnumNumber

func (TokenTerm) String

func (x TokenTerm) String() string

func (TokenTerm) Type

Jump to

Keyboard shortcuts

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