model

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Extension fields to descriptorpb.FieldOptions.

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 (
	DataSourceBackendType_name = map[int32]string{
		0: "POSTGRESQL",
		1: "VIRTUAL",
		2: "MYSQL",
		3: "ORACLE",
		4: "MONGODB",
		5: "REDIS",
	}
	DataSourceBackendType_value = map[string]int32{
		"POSTGRESQL": 0,
		"VIRTUAL":    1,
		"MYSQL":      2,
		"ORACLE":     3,
		"MONGODB":    4,
		"REDIS":      5,
	}
)

Enum value maps for DataSourceBackendType.

View Source
var (
	VirtualParams_Mode_name = map[int32]string{
		0: "DISCARD",
		1: "ERROR",
	}
	VirtualParams_Mode_value = map[string]int32{
		"DISCARD": 0,
		"ERROR":   1,
	}
)

Enum value maps for VirtualParams_Mode.

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",
	}
	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,
	}
)

Enum value maps for ErrorCode.

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",
		2: "PERMIT_TYPE_UNKNOWN",
	}
	PermitType_value = map[string]int32{
		"PERMIT_TYPE_ALLOW":   0,
		"PERMIT_TYPE_REJECT":  1,
		"PERMIT_TYPE_UNKNOWN": 2,
	}
)

Enum value maps for PermitType.

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

Enum value maps for TokenTerm.

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

Enum value maps for EventType.

View Source
var File_model_annotations_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_extension_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_init_proto protoreflect.FileDescriptor
View Source
var File_model_namespace_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_proto protoreflect.FileDescriptor
View Source
var File_model_token_proto protoreflect.FileDescriptor
View Source
var File_model_user_proto protoreflect.FileDescriptor
View Source
var File_model_watch_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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"`
	// contains filtered or unexported fields
}

func (*AppConfig) Descriptor deprecated

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

Deprecated: Use AppConfig.ProtoReflect.Descriptor instead.

func (*AppConfig) GetDisableAuthentication

func (x *AppConfig) GetDisableAuthentication() bool

func (*AppConfig) GetDisableCache

func (x *AppConfig) GetDisableCache() bool

func (*AppConfig) GetHost

func (x *AppConfig) GetHost() string

func (*AppConfig) GetJwtPrivateKey

func (x *AppConfig) GetJwtPrivateKey() string

func (*AppConfig) GetJwtPublicKey

func (x *AppConfig) GetJwtPublicKey() string

func (*AppConfig) GetPluginsPath

func (x *AppConfig) GetPluginsPath() string

func (*AppConfig) GetPort

func (x *AppConfig) GetPort() int32

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

type DataSource struct {
	Id          string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // id; read only
	Backend     DataSourceBackendType `protobuf:"varint,2,opt,name=backend,proto3,enum=model.DataSourceBackendType" json:"backend,omitempty"`
	Name        string                `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Description string                `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// Types that are assignable to Params:
	//
	//	*DataSource_PostgresqlParams
	//	*DataSource_MysqlParams
	//	*DataSource_VirtualParams
	//	*DataSource_RedisParams
	//	*DataSource_MongoParams
	Params    isDataSource_Params `protobuf_oneof:"params"`
	AuditData *AuditData          `protobuf:"bytes,101,opt,name=auditData,proto3" json:"auditData,omitempty"` // read only
	Version   uint32              `protobuf:"varint,102,opt,name=version,proto3" json:"version,omitempty"`    // read only
	// contains filtered or unexported fields
}

func (*DataSource) Descriptor deprecated

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

Deprecated: Use DataSource.ProtoReflect.Descriptor instead.

func (*DataSource) GetAuditData

func (x *DataSource) GetAuditData() *AuditData

func (*DataSource) GetBackend

func (x *DataSource) GetBackend() DataSourceBackendType

func (*DataSource) GetDescription

func (x *DataSource) GetDescription() string

func (*DataSource) GetId

func (x *DataSource) GetId() string

func (*DataSource) GetMongoParams

func (x *DataSource) GetMongoParams() *MongoParams

func (*DataSource) GetMysqlParams

func (x *DataSource) GetMysqlParams() *MysqlParams

func (*DataSource) GetName

func (x *DataSource) GetName() string

func (*DataSource) GetParams

func (m *DataSource) GetParams() isDataSource_Params

func (*DataSource) GetPostgresqlParams

func (x *DataSource) GetPostgresqlParams() *PostgresqlParams

func (*DataSource) GetRedisParams

func (x *DataSource) GetRedisParams() *RedisParams

func (*DataSource) GetVersion

func (x *DataSource) GetVersion() uint32

func (*DataSource) GetVirtualParams

func (x *DataSource) GetVirtualParams() *VirtualParams

func (*DataSource) ProtoMessage

func (*DataSource) ProtoMessage()

func (*DataSource) ProtoReflect

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

func (*DataSource) Reset

func (x *DataSource) Reset()

func (*DataSource) String

func (x *DataSource) String() string

type DataSourceBackendType

type DataSourceBackendType int32
const (
	DataSourceBackendType_POSTGRESQL DataSourceBackendType = 0
	DataSourceBackendType_VIRTUAL    DataSourceBackendType = 1
	DataSourceBackendType_MYSQL      DataSourceBackendType = 2
	DataSourceBackendType_ORACLE     DataSourceBackendType = 3
	DataSourceBackendType_MONGODB    DataSourceBackendType = 4
	DataSourceBackendType_REDIS      DataSourceBackendType = 5
)

func (DataSourceBackendType) Descriptor

func (DataSourceBackendType) Enum

func (DataSourceBackendType) EnumDescriptor deprecated

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

Deprecated: Use DataSourceBackendType.Descriptor instead.

func (DataSourceBackendType) Number

func (DataSourceBackendType) String

func (x DataSourceBackendType) String() string

func (DataSourceBackendType) Type

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 DataSource_MongoParams

type DataSource_MongoParams struct {
	MongoParams *MongoParams `protobuf:"bytes,11,opt,name=mongoParams,proto3,oneof"`
}

type DataSource_MysqlParams

type DataSource_MysqlParams struct {
	MysqlParams *MysqlParams `protobuf:"bytes,8,opt,name=mysqlParams,proto3,oneof"`
}

type DataSource_PostgresqlParams

type DataSource_PostgresqlParams struct {
	PostgresqlParams *PostgresqlParams `protobuf:"bytes,7,opt,name=postgresqlParams,proto3,oneof"`
}

type DataSource_RedisParams

type DataSource_RedisParams struct {
	RedisParams *RedisParams `protobuf:"bytes,10,opt,name=redisParams,proto3,oneof"`
}

type DataSource_VirtualParams

type DataSource_VirtualParams struct {
	VirtualParams *VirtualParams `protobuf:"bytes,9,opt,name=virtualParams,proto3,oneof"`
}

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
)

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 EventType

type EventType int32
const (
	EventType_CREATE EventType = 0
	EventType_UPDATE EventType = 1
	EventType_DELETE EventType = 2
	EventType_GET    EventType = 3
	EventType_LIST   EventType = 4
)

func (EventType) Descriptor

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

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

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

type Expression

type Expression struct {

	// Types that are assignable to Expression:
	//
	//	*Expression_Property
	//	*Expression_Value
	//	*Expression_RefValue
	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) GetRefValue

func (x *Expression) GetRefValue() *RefValue

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_RefValue

type Expression_RefValue struct {
	RefValue *RefValue `protobuf:"bytes,4,opt,name=refValue,proto3,oneof"`
}

type Expression_Value

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

type Extension

type Extension 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"`
	Description string             `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Namespace   string             `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Resource    string             `protobuf:"bytes,6,opt,name=resource,proto3" json:"resource,omitempty"`
	Before      *Extension_Before  `protobuf:"bytes,7,opt,name=before,proto3" json:"before,omitempty"`
	Instead     *Extension_Instead `protobuf:"bytes,8,opt,name=instead,proto3" json:"instead,omitempty"`
	After       *Extension_After   `protobuf:"bytes,9,opt,name=after,proto3" json:"after,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 (*Extension) Descriptor deprecated

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

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) GetAfter

func (x *Extension) GetAfter() *Extension_After

func (*Extension) GetAuditData

func (x *Extension) GetAuditData() *AuditData

func (*Extension) GetBefore

func (x *Extension) GetBefore() *Extension_Before

func (*Extension) GetDescription

func (x *Extension) GetDescription() string

func (*Extension) GetId

func (x *Extension) GetId() string

func (*Extension) GetInstead

func (x *Extension) GetInstead() *Extension_Instead

func (*Extension) GetName

func (x *Extension) GetName() string

func (*Extension) GetNamespace

func (x *Extension) GetNamespace() string

func (*Extension) GetResource

func (x *Extension) GetResource() string

func (*Extension) GetVersion

func (x *Extension) GetVersion() uint32

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect

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

func (*Extension) Reset

func (x *Extension) Reset()

func (*Extension) String

func (x *Extension) String() string

type Extension_After

type Extension_After struct {
	All    *ExternalCall `protobuf:"bytes,1,opt,name=all,proto3" json:"all,omitempty"`
	Create *ExternalCall `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	Update *ExternalCall `protobuf:"bytes,3,opt,name=update,proto3" json:"update,omitempty"`
	Delete *ExternalCall `protobuf:"bytes,4,opt,name=delete,proto3" json:"delete,omitempty"`
	Get    *ExternalCall `protobuf:"bytes,5,opt,name=get,proto3" json:"get,omitempty"`
	List   *ExternalCall `protobuf:"bytes,6,opt,name=list,proto3" json:"list,omitempty"`
	Sync   bool          `protobuf:"varint,7,opt,name=sync,proto3" json:"sync,omitempty"` // if true, it will wait
	// contains filtered or unexported fields
}

func (*Extension_After) Descriptor deprecated

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

Deprecated: Use Extension_After.ProtoReflect.Descriptor instead.

func (*Extension_After) GetAll

func (x *Extension_After) GetAll() *ExternalCall

func (*Extension_After) GetCreate

func (x *Extension_After) GetCreate() *ExternalCall

func (*Extension_After) GetDelete

func (x *Extension_After) GetDelete() *ExternalCall

func (*Extension_After) GetGet

func (x *Extension_After) GetGet() *ExternalCall

func (*Extension_After) GetList

func (x *Extension_After) GetList() *ExternalCall

func (*Extension_After) GetSync

func (x *Extension_After) GetSync() bool

func (*Extension_After) GetUpdate

func (x *Extension_After) GetUpdate() *ExternalCall

func (*Extension_After) ProtoMessage

func (*Extension_After) ProtoMessage()

func (*Extension_After) ProtoReflect

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

func (*Extension_After) Reset

func (x *Extension_After) Reset()

func (*Extension_After) String

func (x *Extension_After) String() string

type Extension_Before

type Extension_Before struct {
	All    *ExternalCall `protobuf:"bytes,1,opt,name=all,proto3" json:"all,omitempty"`
	Create *ExternalCall `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	Update *ExternalCall `protobuf:"bytes,3,opt,name=update,proto3" json:"update,omitempty"`
	Delete *ExternalCall `protobuf:"bytes,4,opt,name=delete,proto3" json:"delete,omitempty"`
	Get    *ExternalCall `protobuf:"bytes,5,opt,name=get,proto3" json:"get,omitempty"`
	List   *ExternalCall `protobuf:"bytes,6,opt,name=list,proto3" json:"list,omitempty"`
	Sync   bool          `protobuf:"varint,7,opt,name=sync,proto3" json:"sync,omitempty"` // if true, it will wait
	// contains filtered or unexported fields
}

func (*Extension_Before) Descriptor deprecated

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

Deprecated: Use Extension_Before.ProtoReflect.Descriptor instead.

func (*Extension_Before) GetAll

func (x *Extension_Before) GetAll() *ExternalCall

func (*Extension_Before) GetCreate

func (x *Extension_Before) GetCreate() *ExternalCall

func (*Extension_Before) GetDelete

func (x *Extension_Before) GetDelete() *ExternalCall

func (*Extension_Before) GetGet

func (x *Extension_Before) GetGet() *ExternalCall

func (*Extension_Before) GetList

func (x *Extension_Before) GetList() *ExternalCall

func (*Extension_Before) GetSync

func (x *Extension_Before) GetSync() bool

func (*Extension_Before) GetUpdate

func (x *Extension_Before) GetUpdate() *ExternalCall

func (*Extension_Before) ProtoMessage

func (*Extension_Before) ProtoMessage()

func (*Extension_Before) ProtoReflect

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

func (*Extension_Before) Reset

func (x *Extension_Before) Reset()

func (*Extension_Before) String

func (x *Extension_Before) String() string

type Extension_Instead

type Extension_Instead struct {
	All      *ExternalCall `protobuf:"bytes,1,opt,name=all,proto3" json:"all,omitempty"`
	Create   *ExternalCall `protobuf:"bytes,2,opt,name=create,proto3" json:"create,omitempty"`
	Update   *ExternalCall `protobuf:"bytes,3,opt,name=update,proto3" json:"update,omitempty"`
	Delete   *ExternalCall `protobuf:"bytes,4,opt,name=delete,proto3" json:"delete,omitempty"`
	Get      *ExternalCall `protobuf:"bytes,5,opt,name=get,proto3" json:"get,omitempty"`
	List     *ExternalCall `protobuf:"bytes,6,opt,name=list,proto3" json:"list,omitempty"`
	Finalize bool          `protobuf:"varint,7,opt,name=finalize,proto3" json:"finalize,omitempty"` // if true, it will respond with the result of the call, otherwise it will pass to backend
	// contains filtered or unexported fields
}

func (*Extension_Instead) Descriptor deprecated

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

Deprecated: Use Extension_Instead.ProtoReflect.Descriptor instead.

func (*Extension_Instead) GetAll

func (x *Extension_Instead) GetAll() *ExternalCall

func (*Extension_Instead) GetCreate

func (x *Extension_Instead) GetCreate() *ExternalCall

func (*Extension_Instead) GetDelete

func (x *Extension_Instead) GetDelete() *ExternalCall

func (*Extension_Instead) GetFinalize

func (x *Extension_Instead) GetFinalize() bool

func (*Extension_Instead) GetGet

func (x *Extension_Instead) GetGet() *ExternalCall

func (*Extension_Instead) GetList

func (x *Extension_Instead) GetList() *ExternalCall

func (*Extension_Instead) GetUpdate

func (x *Extension_Instead) GetUpdate() *ExternalCall

func (*Extension_Instead) ProtoMessage

func (*Extension_Instead) ProtoMessage()

func (*Extension_Instead) ProtoReflect

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

func (*Extension_Instead) Reset

func (x *Extension_Instead) Reset()

func (*Extension_Instead) String

func (x *Extension_Instead) String() string

type ExternalCall

type ExternalCall struct {

	// Types that are assignable to Kind:
	//
	//	*ExternalCall_FunctionCall
	//	*ExternalCall_HttpCall
	Kind isExternalCall_Kind `protobuf_oneof:"kind"`
	// 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) GetKind

func (m *ExternalCall) GetKind() isExternalCall_Kind

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 ExternalCall_FunctionCall

type ExternalCall_FunctionCall struct {
	FunctionCall *FunctionCall `protobuf:"bytes,1,opt,name=functionCall,proto3,oneof"`
}

type ExternalCall_HttpCall

type ExternalCall_HttpCall struct {
	HttpCall *HttpCall `protobuf:"bytes,2,opt,name=httpCall,proto3,oneof"`
}

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

type InitData struct {
	Config           *AppConfig    `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	SystemDataSource *DataSource   `protobuf:"bytes,2,opt,name=systemDataSource,proto3" json:"systemDataSource,omitempty"`
	SystemNamespace  *Namespace    `protobuf:"bytes,3,opt,name=systemNamespace,proto3" json:"systemNamespace,omitempty"`
	InitDataSources  []*DataSource `protobuf:"bytes,4,rep,name=initDataSources,proto3" json:"initDataSources,omitempty"`
	InitNamespaces   []*Namespace  `protobuf:"bytes,5,rep,name=initNamespaces,proto3" json:"initNamespaces,omitempty"`
	InitUsers        []*User       `protobuf:"bytes,6,rep,name=initUsers,proto3" json:"initUsers,omitempty"`
	InitResources    []*Resource   `protobuf:"bytes,7,rep,name=initResources,proto3" json:"initResources,omitempty"`
	InitRecords      []*Record     `protobuf:"bytes,8,rep,name=initRecords,proto3" json:"initRecords,omitempty"`
	// contains filtered or unexported fields
}

func (*InitData) Descriptor deprecated

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

Deprecated: Use InitData.ProtoReflect.Descriptor instead.

func (*InitData) GetConfig

func (x *InitData) GetConfig() *AppConfig

func (*InitData) GetInitDataSources

func (x *InitData) GetInitDataSources() []*DataSource

func (*InitData) GetInitNamespaces

func (x *InitData) GetInitNamespaces() []*Namespace

func (*InitData) GetInitRecords

func (x *InitData) GetInitRecords() []*Record

func (*InitData) GetInitResources

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

func (*InitData) GetInitUsers

func (x *InitData) GetInitUsers() []*User

func (*InitData) GetSystemDataSource

func (x *InitData) GetSystemDataSource() *DataSource

func (*InitData) GetSystemNamespace

func (x *InitData) GetSystemNamespace() *Namespace

func (*InitData) ProtoMessage

func (*InitData) ProtoMessage()

func (*InitData) ProtoReflect

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

func (*InitData) Reset

func (x *InitData) Reset()

func (*InitData) String

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

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

func (*MongoParams) Descriptor deprecated

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

Deprecated: Use MongoParams.ProtoReflect.Descriptor instead.

func (*MongoParams) GetDbName

func (x *MongoParams) GetDbName() string

func (*MongoParams) GetUri

func (x *MongoParams) GetUri() string

func (*MongoParams) ProtoMessage

func (*MongoParams) ProtoMessage()

func (*MongoParams) ProtoReflect

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

func (*MongoParams) Reset

func (x *MongoParams) Reset()

func (*MongoParams) String

func (x *MongoParams) String() string

type MysqlParams

type MysqlParams struct {
	Username      string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password      string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Host          string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	Port          uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	DbName        string `protobuf:"bytes,5,opt,name=dbName,proto3" json:"dbName,omitempty"`
	DefaultSchema string `protobuf:"bytes,6,opt,name=defaultSchema,proto3" json:"defaultSchema,omitempty"`
	// contains filtered or unexported fields
}

func (*MysqlParams) Descriptor deprecated

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

Deprecated: Use MysqlParams.ProtoReflect.Descriptor instead.

func (*MysqlParams) GetDbName

func (x *MysqlParams) GetDbName() string

func (*MysqlParams) GetDefaultSchema

func (x *MysqlParams) GetDefaultSchema() string

func (*MysqlParams) GetHost

func (x *MysqlParams) GetHost() string

func (*MysqlParams) GetPassword

func (x *MysqlParams) GetPassword() string

func (*MysqlParams) GetPort

func (x *MysqlParams) GetPort() uint32

func (*MysqlParams) GetUsername

func (x *MysqlParams) GetUsername() string

func (*MysqlParams) ProtoMessage

func (*MysqlParams) ProtoMessage()

func (*MysqlParams) ProtoReflect

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

func (*MysqlParams) Reset

func (x *MysqlParams) Reset()

func (*MysqlParams) String

func (x *MysqlParams) String() string

type Namespace

type Namespace 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"`
	Description     string           `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Details         *structpb.Struct `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
	SecurityContext *SecurityContext `protobuf:"bytes,6,opt,name=securityContext,proto3" json:"securityContext,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 (*Namespace) Descriptor deprecated

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

Deprecated: Use Namespace.ProtoReflect.Descriptor instead.

func (*Namespace) GetAuditData

func (x *Namespace) GetAuditData() *AuditData

func (*Namespace) GetDescription

func (x *Namespace) GetDescription() string

func (*Namespace) GetDetails

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

func (*Namespace) GetId

func (x *Namespace) GetId() string

func (*Namespace) GetName

func (x *Namespace) GetName() string

func (*Namespace) GetSecurityContext

func (x *Namespace) GetSecurityContext() *SecurityContext

func (*Namespace) GetVersion

func (x *Namespace) GetVersion() uint32

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) ProtoReflect

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

func (*Namespace) Reset

func (x *Namespace) Reset()

func (*Namespace) String

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

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

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 PostgresqlParams

type PostgresqlParams struct {
	Username      string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password      string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Host          string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	Port          uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	DbName        string `protobuf:"bytes,5,opt,name=dbName,proto3" json:"dbName,omitempty"`
	DefaultSchema string `protobuf:"bytes,6,opt,name=defaultSchema,proto3" json:"defaultSchema,omitempty"`
	// contains filtered or unexported fields
}

func (*PostgresqlParams) Descriptor deprecated

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

Deprecated: Use PostgresqlParams.ProtoReflect.Descriptor instead.

func (*PostgresqlParams) GetDbName

func (x *PostgresqlParams) GetDbName() string

func (*PostgresqlParams) GetDefaultSchema

func (x *PostgresqlParams) GetDefaultSchema() string

func (*PostgresqlParams) GetHost

func (x *PostgresqlParams) GetHost() string

func (*PostgresqlParams) GetPassword

func (x *PostgresqlParams) GetPassword() string

func (*PostgresqlParams) GetPort

func (x *PostgresqlParams) GetPort() uint32

func (*PostgresqlParams) GetUsername

func (x *PostgresqlParams) GetUsername() string

func (*PostgresqlParams) ProtoMessage

func (*PostgresqlParams) ProtoMessage()

func (*PostgresqlParams) ProtoReflect

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

func (*PostgresqlParams) Reset

func (x *PostgresqlParams) Reset()

func (*PostgresqlParams) String

func (x *PostgresqlParams) String() string

type Record

type Record struct {
	Id               string                     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // id; read only
	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) GetId

func (x *Record) GetId() string

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 RedisParams

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

func (*RedisParams) Descriptor deprecated

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

Deprecated: Use RedisParams.ProtoReflect.Descriptor instead.

func (*RedisParams) GetAddr

func (x *RedisParams) GetAddr() string

func (*RedisParams) GetDb

func (x *RedisParams) GetDb() int32

func (*RedisParams) GetPassword

func (x *RedisParams) GetPassword() string

func (*RedisParams) ProtoMessage

func (*RedisParams) ProtoMessage()

func (*RedisParams) ProtoReflect

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

func (*RedisParams) Reset

func (x *RedisParams) Reset()

func (*RedisParams) String

func (x *RedisParams) String() string

type RefValue

type RefValue 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"`
	Properties map[string]*structpb.Value `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RefValue) Descriptor deprecated

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

Deprecated: Use RefValue.ProtoReflect.Descriptor instead.

func (*RefValue) GetNamespace

func (x *RefValue) GetNamespace() string

func (*RefValue) GetProperties

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

func (*RefValue) GetResource

func (x *RefValue) GetResource() string

func (*RefValue) ProtoMessage

func (*RefValue) ProtoMessage()

func (*RefValue) ProtoReflect

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

func (*RefValue) Reset

func (x *RefValue) Reset()

func (*RefValue) String

func (x *RefValue) String() string

type Reference

type Reference struct {
	ReferencedResource string `protobuf:"bytes,2,opt,name=referencedResource,proto3" json:"referencedResource,omitempty"` // referenced resource name
	Cascade            bool   `protobuf:"varint,3,opt,name=cascade,proto3" json:"cascade,omitempty"`                      // if cascade is true, delete/update operations will be cascaded to back referenced resources
	// contains filtered or unexported fields
}

func (*Reference) Descriptor deprecated

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

Deprecated: Use Reference.ProtoReflect.Descriptor instead.

func (*Reference) GetCascade

func (x *Reference) GetCascade() bool

func (*Reference) GetReferencedResource

func (x *Reference) GetReferencedResource() 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 Data handler itself
	Indexes         []*ResourceIndex      `protobuf:"bytes,7,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.
	SecurityContext *SecurityContext      `protobuf:"bytes,10,opt,name=securityContext,proto3" json:"securityContext,omitempty"` // security context is to apply ACL to resource property
	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
	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) 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) GetSecurityContext

func (x *Resource) GetSecurityContext() *SecurityContext

func (*Resource) GetSourceConfig

func (x *Resource) GetSourceConfig() *ResourceSourceConfig

func (*Resource) GetTitle

func (x *Resource) GetTitle() string

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"`
	// 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) 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 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"`
	// 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) 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 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
	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) GetDeleteIndex

func (*ResourceMigrationStep) GetDeleteProperty

func (*ResourceMigrationStep) GetDeleteResource

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_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_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"`
	// 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) 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 {
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// 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"`
	// mapping is like a column name, it is binding name to entity. For abstraction purposes property name is not used while communicating to resource backend. Instead mapping is used as a key of property
	Mapping string `protobuf:"bytes,4,opt,name=mapping,proto3" json:"mapping,omitempty"`
	// 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"` // this is to mark property as primary. Primary properties is like a part of primary key. Primary property(s) is used in to identify record.
	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
	SecurityContext *SecurityContext    `protobuf:"bytes,10,opt,name=securityContext,proto3,oneof" json:"securityContext,omitempty"` // security context is to apply ACL to resource property
	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      []*structpb.Value   `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.
	Properties      []*ResourceProperty `protobuf:"bytes,15,rep,name=properties,proto3" json:"properties,omitempty"`                 // list of properties of struct. This properties will be used by records of resource. Properties is columns on sql databases. For schemaless data structures properties is only managed by Data handler itself
	SubProperty     *ResourceProperty   `protobuf:"bytes,16,opt,name=subProperty,proto3,oneof" json:"subProperty,omitempty"`         // subProperty 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,17,opt,name=title,proto3,oneof" json:"title,omitempty"`                     // It is an informative column
	Description     *string             `protobuf:"bytes,18,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 Data handler 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) GetDefaultValue

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

func (*ResourceProperty) GetDescription

func (x *ResourceProperty) GetDescription() string

func (*ResourceProperty) GetEnumValues

func (x *ResourceProperty) GetEnumValues() []*structpb.Value

func (*ResourceProperty) GetExampleValue

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

func (*ResourceProperty) GetId

func (x *ResourceProperty) GetId() string

func (*ResourceProperty) GetImmutable

func (x *ResourceProperty) GetImmutable() bool

func (*ResourceProperty) GetLength

func (x *ResourceProperty) GetLength() uint32

func (*ResourceProperty) GetMapping

func (x *ResourceProperty) GetMapping() string

func (*ResourceProperty) GetName

func (x *ResourceProperty) GetName() string

func (*ResourceProperty) GetPrimary

func (x *ResourceProperty) GetPrimary() bool

func (*ResourceProperty) GetProperties

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

func (*ResourceProperty) GetReference

func (x *ResourceProperty) GetReference() *Reference

func (*ResourceProperty) GetRequired

func (x *ResourceProperty) GetRequired() bool

func (*ResourceProperty) GetSecurityContext

func (x *ResourceProperty) GetSecurityContext() *SecurityContext

func (*ResourceProperty) GetSubProperty

func (x *ResourceProperty) GetSubProperty() *ResourceProperty

func (*ResourceProperty) GetTitle

func (x *ResourceProperty) GetTitle() string

func (*ResourceProperty) GetType

func (*ResourceProperty) GetUnique

func (x *ResourceProperty) GetUnique() 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 SecurityConstraint

type SecurityConstraint struct {
	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
	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
	Principal string                 `protobuf:"bytes,7,opt,name=principal,proto3" json:"principal,omitempty"`                            // username which it is applied to
	RecordIds []string               `protobuf:"bytes,8,rep,name=recordIds,proto3" json:"recordIds,omitempty"`                            // list of record ids which it is applied to
	Operation OperationType          `protobuf:"varint,13,opt,name=operation,proto3,enum=model.OperationType" json:"operation,omitempty"` // operation name which it is applied to
	Permit    PermitType             `protobuf:"varint,14,opt,name=permit,proto3,enum=model.PermitType" json:"permit,omitempty"`          // permission
	// contains filtered or unexported fields
}

SecurityConstraint is a rule

func (*SecurityConstraint) Descriptor deprecated

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

Deprecated: Use SecurityConstraint.ProtoReflect.Descriptor instead.

func (*SecurityConstraint) GetAfter

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

func (*SecurityConstraint) GetBefore

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

func (*SecurityConstraint) GetNamespace

func (x *SecurityConstraint) GetNamespace() string

func (*SecurityConstraint) GetOperation

func (x *SecurityConstraint) GetOperation() OperationType

func (*SecurityConstraint) GetPermit

func (x *SecurityConstraint) GetPermit() PermitType

func (*SecurityConstraint) GetPrincipal

func (x *SecurityConstraint) GetPrincipal() string

func (*SecurityConstraint) GetProperty

func (x *SecurityConstraint) GetProperty() string

func (*SecurityConstraint) GetRecordIds

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

func (*SecurityConstraint) GetResource

func (x *SecurityConstraint) GetResource() string

func (*SecurityConstraint) ProtoMessage

func (*SecurityConstraint) ProtoMessage()

func (*SecurityConstraint) ProtoReflect

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

func (*SecurityConstraint) Reset

func (x *SecurityConstraint) Reset()

func (*SecurityConstraint) String

func (x *SecurityConstraint) String() string

type SecurityContext

type SecurityContext struct {
	Constraints []*SecurityConstraint `protobuf:"bytes,1,rep,name=constraints,proto3" json:"constraints,omitempty"`
	// contains filtered or unexported fields
}

func (*SecurityContext) Descriptor deprecated

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

Deprecated: Use SecurityContext.ProtoReflect.Descriptor instead.

func (*SecurityContext) GetConstraints

func (x *SecurityContext) GetConstraints() []*SecurityConstraint

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 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 (
	TokenTerm_SHORT     TokenTerm = 0 // 1 minute
	TokenTerm_MIDDLE    TokenTerm = 1 // 2 hours
	TokenTerm_LONG      TokenTerm = 2 // 2 days
	TokenTerm_VERY_LONG TokenTerm = 3 // 2 years
)

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

type User

type User struct {
	Id              string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Username        string           `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // principal
	Password        string           `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	SecurityContext *SecurityContext `protobuf:"bytes,5,opt,name=securityContext,proto3" json:"securityContext,omitempty"`
	Details         *structpb.Struct `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"`
	SignKey         string           `protobuf:"bytes,7,opt,name=signKey,proto3" json:"signKey,omitempty"` // rsa pub key to create tokens
	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 (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAuditData

func (x *User) GetAuditData() *AuditData

func (*User) GetDetails

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

func (*User) GetId

func (x *User) GetId() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetSecurityContext

func (x *User) GetSecurityContext() *SecurityContext

func (*User) GetSignKey

func (x *User) GetSignKey() string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) GetVersion

func (x *User) GetVersion() uint32

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type VirtualParams

type VirtualParams struct {
	Mode VirtualParams_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=model.VirtualParams_Mode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualParams) Descriptor deprecated

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

Deprecated: Use VirtualParams.ProtoReflect.Descriptor instead.

func (*VirtualParams) GetMode

func (x *VirtualParams) GetMode() VirtualParams_Mode

func (*VirtualParams) ProtoMessage

func (*VirtualParams) ProtoMessage()

func (*VirtualParams) ProtoReflect

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

func (*VirtualParams) Reset

func (x *VirtualParams) Reset()

func (*VirtualParams) String

func (x *VirtualParams) String() string

type VirtualParams_Mode

type VirtualParams_Mode int32
const (
	VirtualParams_DISCARD VirtualParams_Mode = 0
	VirtualParams_ERROR   VirtualParams_Mode = 1
)

func (VirtualParams_Mode) Descriptor

func (VirtualParams_Mode) Enum

func (VirtualParams_Mode) EnumDescriptor deprecated

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

Deprecated: Use VirtualParams_Mode.Descriptor instead.

func (VirtualParams_Mode) Number

func (VirtualParams_Mode) String

func (x VirtualParams_Mode) String() string

func (VirtualParams_Mode) Type

type WatchMessage

type WatchMessage struct {
	Changes   *structpb.Struct       `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"`
	RecordIds []string               `protobuf:"bytes,1,rep,name=recordIds,proto3" json:"recordIds,omitempty"`
	Event     EventType              `protobuf:"varint,2,opt,name=event,proto3,enum=model.EventType" json:"event,omitempty"`
	EventOn   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=event_on,json=eventOn,proto3" json:"event_on,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchMessage) Descriptor deprecated

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

Deprecated: Use WatchMessage.ProtoReflect.Descriptor instead.

func (*WatchMessage) GetChanges

func (x *WatchMessage) GetChanges() *structpb.Struct

func (*WatchMessage) GetEvent

func (x *WatchMessage) GetEvent() EventType

func (*WatchMessage) GetEventOn

func (x *WatchMessage) GetEventOn() *timestamppb.Timestamp

func (*WatchMessage) GetRecordIds

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

func (*WatchMessage) ProtoMessage

func (*WatchMessage) ProtoMessage()

func (*WatchMessage) ProtoReflect

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

func (*WatchMessage) Reset

func (x *WatchMessage) Reset()

func (*WatchMessage) String

func (x *WatchMessage) String() string

Jump to

Keyboard shortcuts

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