Documentation ¶
Index ¶
- Variables
- type Annotation
- type AppConfig
- func (*AppConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AppConfig) GetApplyPaths() []string
- func (x *AppConfig) GetDisableAuthentication() bool
- func (x *AppConfig) GetDisableCache() bool
- func (x *AppConfig) GetEventChannelConfig() *EventChannelConfig
- func (x *AppConfig) GetHost() string
- func (x *AppConfig) GetInitRecords() []*InitRecord
- func (x *AppConfig) GetInitResources() []*Resource
- func (x *AppConfig) GetJwtPrivateKey() string
- func (x *AppConfig) GetJwtPublicKey() string
- func (x *AppConfig) GetMetrics() *MetricsConfig
- func (x *AppConfig) GetPluginsPath() string
- func (x *AppConfig) GetPort() int32
- func (x *AppConfig) GetServiceId() string
- func (x *AppConfig) GetSystemDataSource() *Record
- func (*AppConfig) ProtoMessage()
- func (x *AppConfig) ProtoReflect() protoreflect.Message
- func (x *AppConfig) Reset()
- func (x *AppConfig) String() string
- type AuditData
- func (*AuditData) Descriptor() ([]byte, []int)deprecated
- func (x *AuditData) GetCreatedBy() string
- func (x *AuditData) GetCreatedOn() *timestamppb.Timestamp
- func (x *AuditData) GetUpdatedBy() string
- func (x *AuditData) GetUpdatedOn() *timestamppb.Timestamp
- func (*AuditData) ProtoMessage()
- func (x *AuditData) ProtoReflect() protoreflect.Message
- func (x *AuditData) Reset()
- func (x *AuditData) String() string
- type BackReference
- type Batch
- func (*Batch) Descriptor() ([]byte, []int)deprecated
- func (x *Batch) GetBatchRecords() []*BatchRecordsPart
- func (x *Batch) GetHeader() *BatchHeader
- func (x *Batch) GetResources() []*Resource
- func (*Batch) ProtoMessage()
- func (x *Batch) ProtoReflect() protoreflect.Message
- func (x *Batch) Reset()
- func (x *Batch) String() string
- type BatchHeader
- func (*BatchHeader) Descriptor() ([]byte, []int)deprecated
- func (x *BatchHeader) GetAnnotations() map[string]string
- func (x *BatchHeader) GetMode() BatchHeader_BatchMode
- func (*BatchHeader) ProtoMessage()
- func (x *BatchHeader) ProtoReflect() protoreflect.Message
- func (x *BatchHeader) Reset()
- func (x *BatchHeader) String() string
- type BatchHeader_BatchMode
- func (BatchHeader_BatchMode) Descriptor() protoreflect.EnumDescriptor
- func (x BatchHeader_BatchMode) Enum() *BatchHeader_BatchMode
- func (BatchHeader_BatchMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x BatchHeader_BatchMode) Number() protoreflect.EnumNumber
- func (x BatchHeader_BatchMode) String() string
- func (BatchHeader_BatchMode) Type() protoreflect.EnumType
- type BatchRecordsPart
- func (*BatchRecordsPart) Descriptor() ([]byte, []int)deprecated
- func (x *BatchRecordsPart) GetNamespace() string
- func (x *BatchRecordsPart) GetResource() string
- func (x *BatchRecordsPart) GetValues() []*structpb.Value
- func (*BatchRecordsPart) ProtoMessage()
- func (x *BatchRecordsPart) ProtoReflect() protoreflect.Message
- func (x *BatchRecordsPart) Reset()
- func (x *BatchRecordsPart) String() string
- type BooleanExpression
- func (*BooleanExpression) Descriptor() ([]byte, []int)deprecated
- func (x *BooleanExpression) GetAnd() *CompoundBooleanExpression
- func (x *BooleanExpression) GetEqual() *PairExpression
- func (m *BooleanExpression) GetExpression() isBooleanExpression_Expression
- func (x *BooleanExpression) GetGreaterThan() *PairExpression
- func (x *BooleanExpression) GetGreaterThanOrEqual() *PairExpression
- func (x *BooleanExpression) GetIn() *PairExpression
- func (x *BooleanExpression) GetIsNull() *Expression
- func (x *BooleanExpression) GetLessThan() *PairExpression
- func (x *BooleanExpression) GetLessThanOrEqual() *PairExpression
- func (x *BooleanExpression) GetNot() *BooleanExpression
- func (x *BooleanExpression) GetOr() *CompoundBooleanExpression
- func (x *BooleanExpression) GetRegexMatch() *RegexMatchExpression
- func (*BooleanExpression) ProtoMessage()
- func (x *BooleanExpression) ProtoReflect() protoreflect.Message
- func (x *BooleanExpression) Reset()
- func (x *BooleanExpression) String() string
- type BooleanExpression_And
- type BooleanExpression_Equal
- type BooleanExpression_GreaterThan
- type BooleanExpression_GreaterThanOrEqual
- type BooleanExpression_In
- type BooleanExpression_IsNull
- type BooleanExpression_LessThan
- type BooleanExpression_LessThanOrEqual
- type BooleanExpression_Not
- type BooleanExpression_Or
- type BooleanExpression_RegexMatch
- type CompoundBooleanExpression
- func (*CompoundBooleanExpression) Descriptor() ([]byte, []int)deprecated
- func (x *CompoundBooleanExpression) GetExpressions() []*BooleanExpression
- func (*CompoundBooleanExpression) ProtoMessage()
- func (x *CompoundBooleanExpression) ProtoReflect() protoreflect.Message
- func (x *CompoundBooleanExpression) Reset()
- func (x *CompoundBooleanExpression) String() string
- type DataSourceCatalog
- func (*DataSourceCatalog) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceCatalog) GetEntities() []*DataSourceEntity
- func (x *DataSourceCatalog) GetName() string
- func (*DataSourceCatalog) ProtoMessage()
- func (x *DataSourceCatalog) ProtoReflect() protoreflect.Message
- func (x *DataSourceCatalog) Reset()
- func (x *DataSourceCatalog) String() string
- type DataSourceEntity
- func (*DataSourceEntity) Descriptor() ([]byte, []int)deprecated
- func (x *DataSourceEntity) GetName() string
- func (x *DataSourceEntity) GetReadOnly() bool
- func (*DataSourceEntity) ProtoMessage()
- func (x *DataSourceEntity) ProtoReflect() protoreflect.Message
- func (x *DataSourceEntity) Reset()
- func (x *DataSourceEntity) String() string
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetCode() ErrorCode
- func (x *Error) GetFields() []*ErrorField
- func (x *Error) GetMessage() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type ErrorCode
- type ErrorField
- func (*ErrorField) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorField) GetMessage() string
- func (x *ErrorField) GetProperty() string
- func (x *ErrorField) GetRecordId() string
- func (x *ErrorField) GetValue() *structpb.Value
- func (*ErrorField) ProtoMessage()
- func (x *ErrorField) ProtoReflect() protoreflect.Message
- func (x *ErrorField) Reset()
- func (x *ErrorField) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAction() Event_Action
- func (x *Event) GetActionDescription() string
- func (x *Event) GetActionSummary() string
- func (x *Event) GetAnnotations() map[string]string
- func (x *Event) GetError() *Error
- func (x *Event) GetFinalizes() bool
- func (x *Event) GetId() string
- func (x *Event) GetIds() []string
- func (x *Event) GetRecordSearchParams() *Event_RecordSearchParams
- func (x *Event) GetRecords() []*Record
- func (x *Event) GetResource() *Resource
- func (x *Event) GetSync() bool
- func (x *Event) GetTime() *timestamppb.Timestamp
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventChannelConfig
- func (*EventChannelConfig) Descriptor() ([]byte, []int)deprecated
- func (x *EventChannelConfig) GetMaxChannelSize() int32
- func (x *EventChannelConfig) GetMaxWaitTime() int32
- func (*EventChannelConfig) ProtoMessage()
- func (x *EventChannelConfig) ProtoReflect() protoreflect.Message
- func (x *EventChannelConfig) Reset()
- func (x *EventChannelConfig) String() string
- type EventSelector
- func (*EventSelector) Descriptor() ([]byte, []int)deprecated
- func (x *EventSelector) GetActions() []Event_Action
- func (x *EventSelector) GetAnnotations() map[string]string
- func (x *EventSelector) GetIds() []string
- func (x *EventSelector) GetNamespaces() []string
- func (x *EventSelector) GetRecordSelector() *BooleanExpression
- func (x *EventSelector) GetResources() []string
- func (*EventSelector) ProtoMessage()
- func (x *EventSelector) ProtoReflect() protoreflect.Message
- func (x *EventSelector) Reset()
- func (x *EventSelector) String() string
- type Event_Action
- func (Event_Action) Descriptor() protoreflect.EnumDescriptor
- func (x Event_Action) Enum() *Event_Action
- func (Event_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x Event_Action) Number() protoreflect.EnumNumber
- func (x Event_Action) String() string
- func (Event_Action) Type() protoreflect.EnumType
- type Event_RecordSearchParams
- func (*Event_RecordSearchParams) Descriptor() ([]byte, []int)deprecated
- func (x *Event_RecordSearchParams) GetLimit() uint32
- func (x *Event_RecordSearchParams) GetOffset() uint64
- func (x *Event_RecordSearchParams) GetQuery() *BooleanExpression
- func (x *Event_RecordSearchParams) GetResolveReferences() []string
- func (*Event_RecordSearchParams) ProtoMessage()
- func (x *Event_RecordSearchParams) ProtoReflect() protoreflect.Message
- func (x *Event_RecordSearchParams) Reset()
- func (x *Event_RecordSearchParams) String() string
- type Expression
- func (*Expression) Descriptor() ([]byte, []int)deprecated
- func (m *Expression) GetExpression() isExpression_Expression
- func (x *Expression) GetProperty() string
- func (x *Expression) GetRefValue() *RefValue
- func (x *Expression) GetValue() *structpb.Value
- func (*Expression) ProtoMessage()
- func (x *Expression) ProtoReflect() protoreflect.Message
- func (x *Expression) Reset()
- func (x *Expression) String() string
- type Expression_Property
- type Expression_RefValue
- type Expression_Value
- type ExternalCall
- func (*ExternalCall) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalCall) GetFunctionCall() *FunctionCall
- func (x *ExternalCall) GetHttpCall() *HttpCall
- func (*ExternalCall) ProtoMessage()
- func (x *ExternalCall) ProtoReflect() protoreflect.Message
- func (x *ExternalCall) Reset()
- func (x *ExternalCall) String() string
- type FunctionCall
- func (*FunctionCall) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionCall) GetFunctionName() string
- func (x *FunctionCall) GetHost() string
- func (*FunctionCall) ProtoMessage()
- func (x *FunctionCall) ProtoReflect() protoreflect.Message
- func (x *FunctionCall) Reset()
- func (x *FunctionCall) String() string
- type HttpCall
- type InfluxDBConfig
- func (*InfluxDBConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InfluxDBConfig) GetBucket() string
- func (x *InfluxDBConfig) GetHostUrl() string
- func (x *InfluxDBConfig) GetOrganization() string
- func (x *InfluxDBConfig) GetToken() string
- func (*InfluxDBConfig) ProtoMessage()
- func (x *InfluxDBConfig) ProtoReflect() protoreflect.Message
- func (x *InfluxDBConfig) Reset()
- func (x *InfluxDBConfig) String() string
- type InitRecord
- func (*InitRecord) Descriptor() ([]byte, []int)deprecated
- func (x *InitRecord) GetNamespace() string
- func (x *InitRecord) GetRecord() *Record
- func (x *InitRecord) GetResource() string
- func (*InitRecord) ProtoMessage()
- func (x *InitRecord) ProtoReflect() protoreflect.Message
- func (x *InitRecord) Reset()
- func (x *InitRecord) String() string
- type MapAnyWrap
- type MetricsConfig
- func (*MetricsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsConfig) GetEnabled() bool
- func (x *MetricsConfig) GetInfluxdb() *InfluxDBConfig
- func (x *MetricsConfig) GetInterval() int32
- func (x *MetricsConfig) GetRetention() int32
- func (*MetricsConfig) ProtoMessage()
- func (x *MetricsConfig) ProtoReflect() protoreflect.Message
- func (x *MetricsConfig) Reset()
- func (x *MetricsConfig) String() string
- type OperationType
- func (OperationType) Descriptor() protoreflect.EnumDescriptor
- func (x OperationType) Enum() *OperationType
- func (OperationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationType) Number() protoreflect.EnumNumber
- func (x OperationType) String() string
- func (OperationType) Type() protoreflect.EnumType
- type Order
- type PairExpression
- func (*PairExpression) Descriptor() ([]byte, []int)deprecated
- func (x *PairExpression) GetLeft() *Expression
- func (x *PairExpression) GetRight() *Expression
- func (*PairExpression) ProtoMessage()
- func (x *PairExpression) ProtoReflect() protoreflect.Message
- func (x *PairExpression) Reset()
- func (x *PairExpression) String() string
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetAfter() *timestamppb.Timestamp
- func (x *Permission) GetBefore() *timestamppb.Timestamp
- func (x *Permission) GetLocalFlags() *structpb.Value
- func (x *Permission) GetNamespace() string
- func (x *Permission) GetOperation() OperationType
- func (x *Permission) GetPermit() PermitType
- func (x *Permission) GetProperty() string
- func (x *Permission) GetPropertyMode() Permission_PropertyMode
- func (x *Permission) GetPropertyValue() string
- func (x *Permission) GetRecordIds() []string
- func (x *Permission) GetResource() string
- func (x *Permission) GetRole() string
- func (x *Permission) GetUsername() string
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- type Permission_PropertyMode
- func (Permission_PropertyMode) Descriptor() protoreflect.EnumDescriptor
- func (x Permission_PropertyMode) Enum() *Permission_PropertyMode
- func (Permission_PropertyMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Permission_PropertyMode) Number() protoreflect.EnumNumber
- func (x Permission_PropertyMode) String() string
- func (Permission_PropertyMode) Type() protoreflect.EnumType
- type PermitType
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (x *Record) GetId() string
- func (x *Record) GetProperties() map[string]*structpb.Value
- func (x *Record) GetPropertiesPacked() []*structpb.Value
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (x *Record) String() string
- type RefValue
- func (*RefValue) Descriptor() ([]byte, []int)deprecated
- func (x *RefValue) GetNamespace() string
- func (x *RefValue) GetProperties() map[string]*structpb.Value
- func (x *RefValue) GetResource() string
- func (*RefValue) ProtoMessage()
- func (x *RefValue) ProtoReflect() protoreflect.Message
- func (x *RefValue) Reset()
- func (x *RefValue) String() string
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (x *Reference) GetCascade() bool
- func (x *Reference) GetNamespace() string
- func (x *Reference) GetResource() string
- func (*Reference) ProtoMessage()
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- type RegexMatchExpression
- func (*RegexMatchExpression) Descriptor() ([]byte, []int)deprecated
- func (x *RegexMatchExpression) GetExpression() *Expression
- func (x *RegexMatchExpression) GetPattern() string
- func (*RegexMatchExpression) ProtoMessage()
- func (x *RegexMatchExpression) ProtoReflect() protoreflect.Message
- func (x *RegexMatchExpression) Reset()
- func (x *RegexMatchExpression) String() string
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAbstract() bool
- func (x *Resource) GetAnnotations() map[string]string
- func (x *Resource) GetAuditData() *AuditData
- func (x *Resource) GetCheckReferences() bool
- func (x *Resource) GetDescription() string
- func (x *Resource) GetId() string
- func (x *Resource) GetImmutable() bool
- func (x *Resource) GetIndexes() []*ResourceIndex
- func (x *Resource) GetName() string
- func (x *Resource) GetNamespace() string
- func (x *Resource) GetProperties() []*ResourceProperty
- func (x *Resource) GetSourceConfig() *ResourceSourceConfig
- func (x *Resource) GetTitle() string
- func (x *Resource) GetTypes() []*ResourceSubType
- func (x *Resource) GetVersion() uint32
- func (x *Resource) GetVirtual() bool
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type ResourceIndex
- func (*ResourceIndex) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceIndex) GetAnnotations() map[string]string
- func (x *ResourceIndex) GetIndexType() ResourceIndexType
- func (x *ResourceIndex) GetProperties() []*ResourceIndexProperty
- func (x *ResourceIndex) GetUnique() bool
- func (*ResourceIndex) ProtoMessage()
- func (x *ResourceIndex) ProtoReflect() protoreflect.Message
- func (x *ResourceIndex) Reset()
- func (x *ResourceIndex) String() string
- type ResourceIndexProperty
- func (*ResourceIndexProperty) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceIndexProperty) GetName() string
- func (x *ResourceIndexProperty) GetOrder() Order
- func (*ResourceIndexProperty) ProtoMessage()
- func (x *ResourceIndexProperty) ProtoReflect() protoreflect.Message
- func (x *ResourceIndexProperty) Reset()
- func (x *ResourceIndexProperty) String() string
- type ResourceIndexType
- func (ResourceIndexType) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceIndexType) Enum() *ResourceIndexType
- func (ResourceIndexType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceIndexType) Number() protoreflect.EnumNumber
- func (x ResourceIndexType) String() string
- func (ResourceIndexType) Type() protoreflect.EnumType
- type ResourceMigrationCreateIndex
- func (*ResourceMigrationCreateIndex) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMigrationCreateIndex) GetIndex() uint32
- func (*ResourceMigrationCreateIndex) ProtoMessage()
- func (x *ResourceMigrationCreateIndex) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationCreateIndex) Reset()
- func (x *ResourceMigrationCreateIndex) String() string
- type ResourceMigrationCreateProperty
- func (*ResourceMigrationCreateProperty) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMigrationCreateProperty) GetProperty() string
- func (x *ResourceMigrationCreateProperty) GetSubType() string
- func (*ResourceMigrationCreateProperty) ProtoMessage()
- func (x *ResourceMigrationCreateProperty) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationCreateProperty) Reset()
- func (x *ResourceMigrationCreateProperty) String() string
- type ResourceMigrationCreateResource
- func (*ResourceMigrationCreateResource) Descriptor() ([]byte, []int)deprecated
- func (*ResourceMigrationCreateResource) ProtoMessage()
- func (x *ResourceMigrationCreateResource) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationCreateResource) Reset()
- func (x *ResourceMigrationCreateResource) String() string
- type ResourceMigrationCreateSubType
- func (*ResourceMigrationCreateSubType) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMigrationCreateSubType) GetName() string
- func (*ResourceMigrationCreateSubType) ProtoMessage()
- func (x *ResourceMigrationCreateSubType) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationCreateSubType) Reset()
- func (x *ResourceMigrationCreateSubType) String() string
- type ResourceMigrationDeleteIndex
- func (*ResourceMigrationDeleteIndex) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMigrationDeleteIndex) GetExistingIndex() uint32
- func (*ResourceMigrationDeleteIndex) ProtoMessage()
- func (x *ResourceMigrationDeleteIndex) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationDeleteIndex) Reset()
- func (x *ResourceMigrationDeleteIndex) String() string
- type ResourceMigrationDeleteProperty
- func (*ResourceMigrationDeleteProperty) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMigrationDeleteProperty) GetExistingProperty() string
- func (x *ResourceMigrationDeleteProperty) GetSubType() string
- func (*ResourceMigrationDeleteProperty) ProtoMessage()
- func (x *ResourceMigrationDeleteProperty) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationDeleteProperty) Reset()
- func (x *ResourceMigrationDeleteProperty) String() string
- type ResourceMigrationDeleteResource
- func (*ResourceMigrationDeleteResource) Descriptor() ([]byte, []int)deprecated
- func (*ResourceMigrationDeleteResource) ProtoMessage()
- func (x *ResourceMigrationDeleteResource) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationDeleteResource) Reset()
- func (x *ResourceMigrationDeleteResource) String() string
- type ResourceMigrationDeleteSubType
- func (*ResourceMigrationDeleteSubType) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMigrationDeleteSubType) GetName() string
- func (*ResourceMigrationDeleteSubType) ProtoMessage()
- func (x *ResourceMigrationDeleteSubType) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationDeleteSubType) Reset()
- func (x *ResourceMigrationDeleteSubType) String() string
- type ResourceMigrationPlan
- func (*ResourceMigrationPlan) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMigrationPlan) GetCurrentResource() *Resource
- func (x *ResourceMigrationPlan) GetExistingResource() *Resource
- func (x *ResourceMigrationPlan) GetSteps() []*ResourceMigrationStep
- func (*ResourceMigrationPlan) ProtoMessage()
- func (x *ResourceMigrationPlan) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationPlan) Reset()
- func (x *ResourceMigrationPlan) String() string
- type ResourceMigrationStep
- func (*ResourceMigrationStep) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMigrationStep) GetCreateIndex() *ResourceMigrationCreateIndex
- func (x *ResourceMigrationStep) GetCreateProperty() *ResourceMigrationCreateProperty
- func (x *ResourceMigrationStep) GetCreateResource() *ResourceMigrationCreateResource
- func (x *ResourceMigrationStep) GetCreateSubType() *ResourceMigrationCreateSubType
- func (x *ResourceMigrationStep) GetDeleteIndex() *ResourceMigrationDeleteIndex
- func (x *ResourceMigrationStep) GetDeleteProperty() *ResourceMigrationDeleteProperty
- func (x *ResourceMigrationStep) GetDeleteResource() *ResourceMigrationDeleteResource
- func (x *ResourceMigrationStep) GetDeleteSubType() *ResourceMigrationDeleteSubType
- func (m *ResourceMigrationStep) GetKind() isResourceMigrationStep_Kind
- func (x *ResourceMigrationStep) GetUpdateProperty() *ResourceMigrationUpdateProperty
- func (x *ResourceMigrationStep) GetUpdateResource() *ResourceMigrationUpdateResource
- func (*ResourceMigrationStep) ProtoMessage()
- func (x *ResourceMigrationStep) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationStep) Reset()
- func (x *ResourceMigrationStep) String() string
- type ResourceMigrationStep_CreateIndex
- type ResourceMigrationStep_CreateProperty
- type ResourceMigrationStep_CreateResource
- type ResourceMigrationStep_CreateSubType
- type ResourceMigrationStep_DeleteIndex
- type ResourceMigrationStep_DeleteProperty
- type ResourceMigrationStep_DeleteResource
- type ResourceMigrationStep_DeleteSubType
- type ResourceMigrationStep_UpdateProperty
- type ResourceMigrationStep_UpdateResource
- type ResourceMigrationUpdateProperty
- func (*ResourceMigrationUpdateProperty) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMigrationUpdateProperty) GetChangedFields() []string
- func (x *ResourceMigrationUpdateProperty) GetExistingProperty() string
- func (x *ResourceMigrationUpdateProperty) GetProperty() string
- func (x *ResourceMigrationUpdateProperty) GetSubType() string
- func (*ResourceMigrationUpdateProperty) ProtoMessage()
- func (x *ResourceMigrationUpdateProperty) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationUpdateProperty) Reset()
- func (x *ResourceMigrationUpdateProperty) String() string
- type ResourceMigrationUpdateResource
- func (*ResourceMigrationUpdateResource) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMigrationUpdateResource) GetChangedFields() []string
- func (*ResourceMigrationUpdateResource) ProtoMessage()
- func (x *ResourceMigrationUpdateResource) ProtoReflect() protoreflect.Message
- func (x *ResourceMigrationUpdateResource) Reset()
- func (x *ResourceMigrationUpdateResource) String() string
- type ResourceProperty
- func (*ResourceProperty) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceProperty) GetAnnotations() map[string]string
- func (x *ResourceProperty) GetBackReference() *BackReference
- func (x *ResourceProperty) GetDefaultValue() *structpb.Value
- func (x *ResourceProperty) GetDescription() string
- func (x *ResourceProperty) GetEnumValues() []string
- func (x *ResourceProperty) GetExampleValue() *structpb.Value
- func (x *ResourceProperty) GetImmutable() bool
- func (x *ResourceProperty) GetItem() *ResourceProperty
- func (x *ResourceProperty) GetLength() uint32
- func (x *ResourceProperty) GetName() string
- func (x *ResourceProperty) GetReference() *Reference
- func (x *ResourceProperty) GetRequired() bool
- func (x *ResourceProperty) GetTitle() string
- func (x *ResourceProperty) GetType() ResourceProperty_Type
- func (x *ResourceProperty) GetTypeRef() string
- func (x *ResourceProperty) GetUnique() bool
- func (*ResourceProperty) ProtoMessage()
- func (x *ResourceProperty) ProtoReflect() protoreflect.Message
- func (x *ResourceProperty) Reset()
- func (x *ResourceProperty) String() string
- type ResourceProperty_Type
- func (ResourceProperty_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceProperty_Type) Enum() *ResourceProperty_Type
- func (ResourceProperty_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResourceProperty_Type) Number() protoreflect.EnumNumber
- func (x ResourceProperty_Type) String() string
- func (ResourceProperty_Type) Type() protoreflect.EnumType
- type ResourceSourceConfig
- func (*ResourceSourceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceSourceConfig) GetCatalog() string
- func (x *ResourceSourceConfig) GetDataSource() string
- func (x *ResourceSourceConfig) GetEntity() string
- func (*ResourceSourceConfig) ProtoMessage()
- func (x *ResourceSourceConfig) ProtoReflect() protoreflect.Message
- func (x *ResourceSourceConfig) Reset()
- func (x *ResourceSourceConfig) String() string
- type ResourceSubType
- func (*ResourceSubType) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceSubType) GetAnnotations() map[string]string
- func (x *ResourceSubType) GetDescription() string
- func (x *ResourceSubType) GetName() string
- func (x *ResourceSubType) GetProperties() []*ResourceProperty
- func (x *ResourceSubType) GetTitle() string
- func (*ResourceSubType) ProtoMessage()
- func (x *ResourceSubType) ProtoReflect() protoreflect.Message
- func (x *ResourceSubType) Reset()
- func (x *ResourceSubType) String() string
- type SecurityContext
- func (*SecurityContext) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityContext) GetAuditData() *AuditData
- func (x *SecurityContext) GetDetails() *structpb.Struct
- func (x *SecurityContext) GetId() string
- func (x *SecurityContext) GetName() string
- func (x *SecurityContext) GetVersion() uint32
- func (*SecurityContext) ProtoMessage()
- func (x *SecurityContext) ProtoReflect() protoreflect.Message
- func (x *SecurityContext) Reset()
- func (x *SecurityContext) String() string
- type Token
- func (*Token) Descriptor() ([]byte, []int)deprecated
- func (x *Token) GetContent() string
- func (x *Token) GetExpiration() *timestamppb.Timestamp
- func (x *Token) GetTerm() TokenTerm
- func (*Token) ProtoMessage()
- func (x *Token) ProtoReflect() protoreflect.Message
- func (x *Token) Reset()
- func (x *Token) String() string
- type TokenTerm
Constants ¶
This section is empty.
Variables ¶
var ( // optional string resourceName = 1012; E_ResourceName = &file_model_annotations_proto_extTypes[0] // create only? // optional string resourceNamespace = 1003; E_ResourceNamespace = &file_model_annotations_proto_extTypes[1] // create only? // optional string resourceDataSource = 1004; E_ResourceDataSource = &file_model_annotations_proto_extTypes[2] // optional string resourceCatalog = 1005; E_ResourceCatalog = &file_model_annotations_proto_extTypes[3] // optional string resourceEntity = 1006; E_ResourceEntity = &file_model_annotations_proto_extTypes[4] // repeated model.ResourceIndex resourceIndexes = 1007; E_ResourceIndexes = &file_model_annotations_proto_extTypes[5] // optional bool resourceVirtual = 1009; E_ResourceVirtual = &file_model_annotations_proto_extTypes[6] // optional bool resourceImmutable = 1010; E_ResourceImmutable = &file_model_annotations_proto_extTypes[7] // optional uint32 resourceVersion = 1011; E_ResourceVersion = &file_model_annotations_proto_extTypes[8] // repeated model.Annotation resourceAnnotations = 1013; E_ResourceAnnotations = &file_model_annotations_proto_extTypes[9] // optional bool securityContextDisallowAll = 1014; E_SecurityContextDisallowAll = &file_model_annotations_proto_extTypes[10] )
Extension fields to descriptorpb.MessageOptions.
var ( // optional string propertyMapping = 2001; E_PropertyMapping = &file_model_annotations_proto_extTypes[11] // optional bool propertyPrimary = 2002; E_PropertyPrimary = &file_model_annotations_proto_extTypes[12] // optional uint32 propertyLength = 2003; E_PropertyLength = &file_model_annotations_proto_extTypes[13] // optional bool propertyUnique = 2004; E_PropertyUnique = &file_model_annotations_proto_extTypes[14] // optional model.Reference propertyReference = 2006; E_PropertyReference = &file_model_annotations_proto_extTypes[15] // optional bool propertyImmutable = 2008; E_PropertyImmutable = &file_model_annotations_proto_extTypes[16] // optional model.ResourceProperty.Type propertyType = 2009; E_PropertyType = &file_model_annotations_proto_extTypes[17] // repeated model.Annotation propertyAnnotations = 2010; E_PropertyAnnotations = &file_model_annotations_proto_extTypes[18] )
Extension fields to descriptorpb.FieldOptions.
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.
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.
var ( Event_Action_name = map[int32]string{ 0: "CREATE", 1: "UPDATE", 2: "DELETE", 3: "GET", 4: "LIST", 5: "OPERATE", } Event_Action_value = map[string]int32{ "CREATE": 0, "UPDATE": 1, "DELETE": 2, "GET": 3, "LIST": 4, "OPERATE": 5, } )
Enum value maps for Event_Action.
var ( // optional string hcl_block = 1144; E_HclBlock = &file_model_hcl_proto_extTypes[0] // optional string hcl_label = 1145; E_HclLabel = &file_model_hcl_proto_extTypes[1] // optional bool hcl_ignore = 1146; E_HclIgnore = &file_model_hcl_proto_extTypes[2] )
Extension fields to descriptorpb.FieldOptions.
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.
var ( ResourceIndexType_name = map[int32]string{ 0: "BTREE", 1: "HASH", } ResourceIndexType_value = map[string]int32{ "BTREE": 0, "HASH": 1, } )
Enum value maps for ResourceIndexType.
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.
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.
var ( PermitType_name = map[int32]string{ 0: "PERMIT_TYPE_ALLOW", 1: "PERMIT_TYPE_REJECT", } PermitType_value = map[string]int32{ "PERMIT_TYPE_ALLOW": 0, "PERMIT_TYPE_REJECT": 1, } )
Enum value maps for PermitType.
var ( Permission_PropertyMode_name = map[int32]string{ 0: "PROPERTY_MATCH_ONLY", 1: "PROPERTY_MATCH_ANY", } Permission_PropertyMode_value = map[string]int32{ "PROPERTY_MATCH_ONLY": 0, "PROPERTY_MATCH_ANY": 1, } )
Enum value maps for Permission_PropertyMode.
var ( TokenTerm_name = map[int32]string{ 0: "VERY_SHORT", 1: "SHORT", 2: "MIDDLE", 3: "LONG", 4: "VERY_LONG", } TokenTerm_value = map[string]int32{ "VERY_SHORT": 0, "SHORT": 1, "MIDDLE": 2, "LONG": 3, "VERY_LONG": 4, } )
Enum value maps for TokenTerm.
var File_model_annotations_proto protoreflect.FileDescriptor
var File_model_app_config_proto protoreflect.FileDescriptor
var File_model_audit_proto protoreflect.FileDescriptor
var File_model_batch_proto protoreflect.FileDescriptor
var File_model_common_proto protoreflect.FileDescriptor
var File_model_data_source_proto protoreflect.FileDescriptor
var File_model_error_proto protoreflect.FileDescriptor
var File_model_event_proto protoreflect.FileDescriptor
var File_model_external_proto protoreflect.FileDescriptor
var File_model_hcl_proto protoreflect.FileDescriptor
var File_model_query_proto protoreflect.FileDescriptor
var File_model_record_proto protoreflect.FileDescriptor
var File_model_resource_migration_proto protoreflect.FileDescriptor
var File_model_resource_proto protoreflect.FileDescriptor
var File_model_security_context_proto protoreflect.FileDescriptor
var File_model_security_proto protoreflect.FileDescriptor
var File_model_token_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Annotation ¶ added in v1.1.37
type Annotation struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Annotation) Descriptor
deprecated
added in
v1.1.37
func (*Annotation) Descriptor() ([]byte, []int)
Deprecated: Use Annotation.ProtoReflect.Descriptor instead.
func (*Annotation) GetName ¶ added in v1.1.37
func (x *Annotation) GetName() string
func (*Annotation) GetValue ¶ added in v1.1.37
func (x *Annotation) GetValue() string
func (*Annotation) ProtoMessage ¶ added in v1.1.37
func (*Annotation) ProtoMessage()
func (*Annotation) ProtoReflect ¶ added in v1.1.37
func (x *Annotation) ProtoReflect() protoreflect.Message
func (*Annotation) Reset ¶ added in v1.1.37
func (x *Annotation) Reset()
func (*Annotation) String ¶ added in v1.1.37
func (x *Annotation) String() string
type AppConfig ¶
type AppConfig struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` JwtPrivateKey string `protobuf:"bytes,3,opt,name=jwtPrivateKey,proto3" json:"jwtPrivateKey,omitempty"` JwtPublicKey string `protobuf:"bytes,4,opt,name=jwtPublicKey,proto3" json:"jwtPublicKey,omitempty"` DisableAuthentication bool `protobuf:"varint,5,opt,name=disableAuthentication,proto3" json:"disableAuthentication,omitempty"` DisableCache bool `protobuf:"varint,6,opt,name=disableCache,proto3" json:"disableCache,omitempty"` PluginsPath string `protobuf:"bytes,7,opt,name=pluginsPath,proto3" json:"pluginsPath,omitempty"` Metrics *MetricsConfig `protobuf:"bytes,8,opt,name=metrics,proto3" json:"metrics,omitempty"` ServiceId string `protobuf:"bytes,9,opt,name=serviceId,proto3" json:"serviceId,omitempty"` SystemDataSource *Record `protobuf:"bytes,10,opt,name=systemDataSource,proto3" json:"systemDataSource,omitempty"` InitResources []*Resource `protobuf:"bytes,11,rep,name=initResources,proto3" json:"initResources,omitempty"` InitRecords []*InitRecord `protobuf:"bytes,12,rep,name=initRecords,proto3" json:"initRecords,omitempty"` ApplyPaths []string `protobuf:"bytes,13,rep,name=applyPaths,proto3" json:"applyPaths,omitempty"` EventChannelConfig *EventChannelConfig `protobuf:"bytes,14,opt,name=eventChannelConfig,proto3" json:"eventChannelConfig,omitempty"` // contains filtered or unexported fields }
func (*AppConfig) Descriptor
deprecated
func (*AppConfig) GetApplyPaths ¶ added in v1.1.37
func (*AppConfig) GetDisableAuthentication ¶
func (*AppConfig) GetDisableCache ¶
func (*AppConfig) GetEventChannelConfig ¶ added in v1.1.48
func (x *AppConfig) GetEventChannelConfig() *EventChannelConfig
func (*AppConfig) GetInitRecords ¶ added in v1.1.37
func (x *AppConfig) GetInitRecords() []*InitRecord
func (*AppConfig) GetInitResources ¶ added in v1.1.37
func (*AppConfig) GetJwtPrivateKey ¶
func (*AppConfig) GetJwtPublicKey ¶
func (*AppConfig) GetMetrics ¶ added in v1.1.37
func (x *AppConfig) GetMetrics() *MetricsConfig
func (*AppConfig) GetPluginsPath ¶
func (*AppConfig) GetServiceId ¶ added in v1.1.37
func (*AppConfig) GetSystemDataSource ¶ added in v1.1.37
func (*AppConfig) ProtoMessage ¶
func (*AppConfig) ProtoMessage()
func (*AppConfig) ProtoReflect ¶
func (x *AppConfig) ProtoReflect() protoreflect.Message
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) GetCreatedBy ¶
func (*AuditData) GetCreatedOn ¶
func (x *AuditData) GetCreatedOn() *timestamppb.Timestamp
func (*AuditData) GetUpdatedBy ¶
func (*AuditData) GetUpdatedOn ¶
func (x *AuditData) GetUpdatedOn() *timestamppb.Timestamp
func (*AuditData) ProtoMessage ¶
func (*AuditData) ProtoMessage()
func (*AuditData) ProtoReflect ¶
func (x *AuditData) ProtoReflect() protoreflect.Message
type BackReference ¶ added in v1.1.37
type BackReference struct { Property string `protobuf:"bytes,3,opt,name=property,proto3" json:"property,omitempty"` // contains filtered or unexported fields }
func (*BackReference) Descriptor
deprecated
added in
v1.1.37
func (*BackReference) Descriptor() ([]byte, []int)
Deprecated: Use BackReference.ProtoReflect.Descriptor instead.
func (*BackReference) GetProperty ¶ added in v1.1.37
func (x *BackReference) GetProperty() string
func (*BackReference) ProtoMessage ¶ added in v1.1.37
func (*BackReference) ProtoMessage()
func (*BackReference) ProtoReflect ¶ added in v1.1.37
func (x *BackReference) ProtoReflect() protoreflect.Message
func (*BackReference) Reset ¶ added in v1.1.37
func (x *BackReference) Reset()
func (*BackReference) String ¶ added in v1.1.37
func (x *BackReference) String() string
type Batch ¶
type Batch struct { Header *BatchHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` BatchRecords []*BatchRecordsPart `protobuf:"bytes,3,rep,name=batchRecords,proto3" json:"batchRecords,omitempty"` // contains filtered or unexported fields }
func (*Batch) Descriptor
deprecated
func (*Batch) GetBatchRecords ¶
func (x *Batch) GetBatchRecords() []*BatchRecordsPart
func (*Batch) GetHeader ¶
func (x *Batch) GetHeader() *BatchHeader
func (*Batch) GetResources ¶
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) ProtoReflect ¶
func (x *Batch) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (BatchHeader_BatchMode) Enum ¶
func (x BatchHeader_BatchMode) Enum() *BatchHeader_BatchMode
func (BatchHeader_BatchMode) EnumDescriptor
deprecated
func (BatchHeader_BatchMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use BatchHeader_BatchMode.Descriptor instead.
func (BatchHeader_BatchMode) Number ¶
func (x BatchHeader_BatchMode) Number() protoreflect.EnumNumber
func (BatchHeader_BatchMode) String ¶
func (x BatchHeader_BatchMode) String() string
func (BatchHeader_BatchMode) Type ¶
func (BatchHeader_BatchMode) Type() protoreflect.EnumType
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 (x *BooleanExpression) GetAnd() *CompoundBooleanExpression
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 (x *BooleanExpression) GetOr() *CompoundBooleanExpression
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 (x *CompoundBooleanExpression) ProtoReflect() protoreflect.Message
func (*CompoundBooleanExpression) Reset ¶
func (x *CompoundBooleanExpression) Reset()
func (*CompoundBooleanExpression) String ¶
func (x *CompoundBooleanExpression) String() string
type DataSourceCatalog ¶
type DataSourceCatalog struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Entities []*DataSourceEntity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
func (*DataSourceCatalog) Descriptor
deprecated
func (*DataSourceCatalog) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceCatalog.ProtoReflect.Descriptor instead.
func (*DataSourceCatalog) GetEntities ¶
func (x *DataSourceCatalog) GetEntities() []*DataSourceEntity
func (*DataSourceCatalog) GetName ¶
func (x *DataSourceCatalog) GetName() string
func (*DataSourceCatalog) ProtoMessage ¶
func (*DataSourceCatalog) ProtoMessage()
func (*DataSourceCatalog) ProtoReflect ¶
func (x *DataSourceCatalog) ProtoReflect() protoreflect.Message
func (*DataSourceCatalog) Reset ¶
func (x *DataSourceCatalog) Reset()
func (*DataSourceCatalog) String ¶
func (x *DataSourceCatalog) String() string
type DataSourceEntity ¶
type DataSourceEntity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ReadOnly bool `protobuf:"varint,2,opt,name=readOnly,proto3" json:"readOnly,omitempty"` // contains filtered or unexported fields }
func (*DataSourceEntity) Descriptor
deprecated
func (*DataSourceEntity) Descriptor() ([]byte, []int)
Deprecated: Use DataSourceEntity.ProtoReflect.Descriptor instead.
func (*DataSourceEntity) GetName ¶
func (x *DataSourceEntity) GetName() string
func (*DataSourceEntity) GetReadOnly ¶
func (x *DataSourceEntity) GetReadOnly() bool
func (*DataSourceEntity) ProtoMessage ¶
func (*DataSourceEntity) ProtoMessage()
func (*DataSourceEntity) ProtoReflect ¶
func (x *DataSourceEntity) ProtoReflect() protoreflect.Message
func (*DataSourceEntity) Reset ¶
func (x *DataSourceEntity) Reset()
func (*DataSourceEntity) String ¶
func (x *DataSourceEntity) String() string
type Error ¶
type Error struct { Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=model.ErrorCode" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Fields []*ErrorField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetFields ¶
func (x *Error) GetFields() []*ErrorField
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
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) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
type ErrorField ¶
type ErrorField struct { RecordId string `protobuf:"bytes,1,opt,name=recordId,proto3" json:"recordId,omitempty"` Property string `protobuf:"bytes,2,opt,name=property,proto3" json:"property,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Value *structpb.Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ErrorField) Descriptor
deprecated
func (*ErrorField) Descriptor() ([]byte, []int)
Deprecated: Use ErrorField.ProtoReflect.Descriptor instead.
func (*ErrorField) GetMessage ¶
func (x *ErrorField) GetMessage() string
func (*ErrorField) GetProperty ¶
func (x *ErrorField) GetProperty() string
func (*ErrorField) GetRecordId ¶
func (x *ErrorField) GetRecordId() string
func (*ErrorField) GetValue ¶
func (x *ErrorField) GetValue() *structpb.Value
func (*ErrorField) ProtoMessage ¶
func (*ErrorField) ProtoMessage()
func (*ErrorField) ProtoReflect ¶
func (x *ErrorField) ProtoReflect() protoreflect.Message
func (*ErrorField) Reset ¶
func (x *ErrorField) Reset()
func (*ErrorField) String ¶
func (x *ErrorField) String() string
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Action Event_Action `protobuf:"varint,2,opt,name=action,proto3,enum=model.Event_Action" json:"action,omitempty"` ActionSummary string `protobuf:"bytes,3,opt,name=actionSummary,proto3" json:"actionSummary,omitempty"` ActionDescription string `protobuf:"bytes,4,opt,name=actionDescription,proto3" json:"actionDescription,omitempty"` Resource *Resource `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"` // CREATE,UPDATE - records are for incoming and outgoing records // GET - there will be only one record // LIST - result of the list operation Records []*Record `protobuf:"bytes,6,rep,name=records,proto3" json:"records,omitempty"` // GET - there will be only one id, for getting record with id // DELETE - there will be multiple ids, for deleting multiple records Ids []string `protobuf:"bytes,7,rep,name=ids,proto3" json:"ids,omitempty"` // LIST - search params for the list operation RecordSearchParams *Event_RecordSearchParams `protobuf:"bytes,8,opt,name=recordSearchParams,proto3" json:"recordSearchParams,omitempty"` // If true, this will be last event on operation list Finalizes bool `protobuf:"varint,9,opt,name=finalizes,proto3" json:"finalizes,omitempty"` // If true, backend will wait for processing this event before sending next one on operation list Sync bool `protobuf:"varint,10,opt,name=sync,proto3" json:"sync,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=time,proto3" json:"time,omitempty"` // Request annotations Annotations map[string]string `` /* 165-byte string literal not displayed */ Error *Error `protobuf:"bytes,104,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetAction ¶
func (x *Event) GetAction() Event_Action
func (*Event) GetActionDescription ¶
func (*Event) GetActionSummary ¶
func (*Event) GetAnnotations ¶
func (*Event) GetFinalizes ¶
func (*Event) GetRecordSearchParams ¶
func (x *Event) GetRecordSearchParams() *Event_RecordSearchParams
func (*Event) GetRecords ¶
func (*Event) GetResource ¶
func (*Event) GetTime ¶
func (x *Event) GetTime() *timestamppb.Timestamp
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventChannelConfig ¶ added in v1.1.48
type EventChannelConfig struct { MaxChannelSize int32 `protobuf:"varint,1,opt,name=maxChannelSize,proto3" json:"maxChannelSize,omitempty"` MaxWaitTime int32 `protobuf:"varint,2,opt,name=maxWaitTime,proto3" json:"maxWaitTime,omitempty"` // contains filtered or unexported fields }
func (*EventChannelConfig) Descriptor
deprecated
added in
v1.1.48
func (*EventChannelConfig) Descriptor() ([]byte, []int)
Deprecated: Use EventChannelConfig.ProtoReflect.Descriptor instead.
func (*EventChannelConfig) GetMaxChannelSize ¶ added in v1.1.48
func (x *EventChannelConfig) GetMaxChannelSize() int32
func (*EventChannelConfig) GetMaxWaitTime ¶ added in v1.1.48
func (x *EventChannelConfig) GetMaxWaitTime() int32
func (*EventChannelConfig) ProtoMessage ¶ added in v1.1.48
func (*EventChannelConfig) ProtoMessage()
func (*EventChannelConfig) ProtoReflect ¶ added in v1.1.48
func (x *EventChannelConfig) ProtoReflect() protoreflect.Message
func (*EventChannelConfig) Reset ¶ added in v1.1.48
func (x *EventChannelConfig) Reset()
func (*EventChannelConfig) String ¶ added in v1.1.48
func (x *EventChannelConfig) String() string
type EventSelector ¶
type EventSelector struct { Actions []Event_Action `protobuf:"varint,1,rep,packed,name=actions,proto3,enum=model.Event_Action" json:"actions,omitempty"` RecordSelector *BooleanExpression `protobuf:"bytes,2,opt,name=recordSelector,proto3" json:"recordSelector,omitempty"` Namespaces []string `protobuf:"bytes,3,rep,name=namespaces,proto3" json:"namespaces,omitempty"` Resources []string `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"` // star means all Ids []string `protobuf:"bytes,7,rep,name=ids,proto3" json:"ids,omitempty"` // star means all, empty means proceed Annotations map[string]string `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
Events pass through selectors, if selector returns true, event will be processed Selector returns true if no selector fails. For example, if you passed empty selector, it will return true for all events.
func (*EventSelector) Descriptor
deprecated
func (*EventSelector) Descriptor() ([]byte, []int)
Deprecated: Use EventSelector.ProtoReflect.Descriptor instead.
func (*EventSelector) GetActions ¶
func (x *EventSelector) GetActions() []Event_Action
func (*EventSelector) GetAnnotations ¶
func (x *EventSelector) GetAnnotations() map[string]string
func (*EventSelector) GetIds ¶
func (x *EventSelector) GetIds() []string
func (*EventSelector) GetNamespaces ¶
func (x *EventSelector) GetNamespaces() []string
func (*EventSelector) GetRecordSelector ¶
func (x *EventSelector) GetRecordSelector() *BooleanExpression
func (*EventSelector) GetResources ¶
func (x *EventSelector) GetResources() []string
func (*EventSelector) ProtoMessage ¶
func (*EventSelector) ProtoMessage()
func (*EventSelector) ProtoReflect ¶
func (x *EventSelector) ProtoReflect() protoreflect.Message
func (*EventSelector) Reset ¶
func (x *EventSelector) Reset()
func (*EventSelector) String ¶
func (x *EventSelector) String() string
type Event_Action ¶
type Event_Action int32
const ( Event_CREATE Event_Action = 0 Event_UPDATE Event_Action = 1 Event_DELETE Event_Action = 2 Event_GET Event_Action = 3 Event_LIST Event_Action = 4 Event_OPERATE Event_Action = 5 // for special cases )
func (Event_Action) Descriptor ¶
func (Event_Action) Descriptor() protoreflect.EnumDescriptor
func (Event_Action) Enum ¶
func (x Event_Action) Enum() *Event_Action
func (Event_Action) EnumDescriptor
deprecated
func (Event_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_Action.Descriptor instead.
func (Event_Action) Number ¶
func (x Event_Action) Number() protoreflect.EnumNumber
func (Event_Action) String ¶
func (x Event_Action) String() string
func (Event_Action) Type ¶
func (Event_Action) Type() protoreflect.EnumType
type Event_RecordSearchParams ¶
type Event_RecordSearchParams struct { Query *BooleanExpression `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint64 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` ResolveReferences []string `protobuf:"bytes,8,rep,name=resolveReferences,proto3" json:"resolveReferences,omitempty"` // contains filtered or unexported fields }
func (*Event_RecordSearchParams) Descriptor
deprecated
func (*Event_RecordSearchParams) Descriptor() ([]byte, []int)
Deprecated: Use Event_RecordSearchParams.ProtoReflect.Descriptor instead.
func (*Event_RecordSearchParams) GetLimit ¶
func (x *Event_RecordSearchParams) GetLimit() uint32
func (*Event_RecordSearchParams) GetOffset ¶
func (x *Event_RecordSearchParams) GetOffset() uint64
func (*Event_RecordSearchParams) GetQuery ¶
func (x *Event_RecordSearchParams) GetQuery() *BooleanExpression
func (*Event_RecordSearchParams) GetResolveReferences ¶
func (x *Event_RecordSearchParams) GetResolveReferences() []string
func (*Event_RecordSearchParams) ProtoMessage ¶
func (*Event_RecordSearchParams) ProtoMessage()
func (*Event_RecordSearchParams) ProtoReflect ¶
func (x *Event_RecordSearchParams) ProtoReflect() protoreflect.Message
func (*Event_RecordSearchParams) Reset ¶
func (x *Event_RecordSearchParams) Reset()
func (*Event_RecordSearchParams) String ¶
func (x *Event_RecordSearchParams) String() string
type Expression ¶
type Expression struct { // Types that are assignable to Expression: // // *Expression_Property // *Expression_Value // *Expression_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 ExternalCall ¶
type ExternalCall struct { FunctionCall *FunctionCall `protobuf:"bytes,1,opt,name=functionCall,proto3" json:"functionCall,omitempty"` HttpCall *HttpCall `protobuf:"bytes,2,opt,name=httpCall,proto3" json:"httpCall,omitempty"` // contains filtered or unexported fields }
func (*ExternalCall) Descriptor
deprecated
func (*ExternalCall) Descriptor() ([]byte, []int)
Deprecated: Use ExternalCall.ProtoReflect.Descriptor instead.
func (*ExternalCall) GetFunctionCall ¶
func (x *ExternalCall) GetFunctionCall() *FunctionCall
func (*ExternalCall) GetHttpCall ¶
func (x *ExternalCall) GetHttpCall() *HttpCall
func (*ExternalCall) ProtoMessage ¶
func (*ExternalCall) ProtoMessage()
func (*ExternalCall) ProtoReflect ¶
func (x *ExternalCall) ProtoReflect() protoreflect.Message
func (*ExternalCall) Reset ¶
func (x *ExternalCall) Reset()
func (*ExternalCall) String ¶
func (x *ExternalCall) String() string
type FunctionCall ¶
type FunctionCall struct { Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` FunctionName string `protobuf:"bytes,2,opt,name=functionName,proto3" json:"functionName,omitempty"` // contains filtered or unexported fields }
func (*FunctionCall) Descriptor
deprecated
func (*FunctionCall) Descriptor() ([]byte, []int)
Deprecated: Use FunctionCall.ProtoReflect.Descriptor instead.
func (*FunctionCall) GetFunctionName ¶
func (x *FunctionCall) GetFunctionName() string
func (*FunctionCall) GetHost ¶
func (x *FunctionCall) GetHost() string
func (*FunctionCall) ProtoMessage ¶
func (*FunctionCall) ProtoMessage()
func (*FunctionCall) ProtoReflect ¶
func (x *FunctionCall) ProtoReflect() protoreflect.Message
func (*FunctionCall) Reset ¶
func (x *FunctionCall) Reset()
func (*FunctionCall) String ¶
func (x *FunctionCall) String() string
type 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) ProtoMessage ¶
func (*HttpCall) ProtoMessage()
func (*HttpCall) ProtoReflect ¶
func (x *HttpCall) ProtoReflect() protoreflect.Message
type InfluxDBConfig ¶ added in v1.1.37
type InfluxDBConfig struct { HostUrl string `protobuf:"bytes,1,opt,name=hostUrl,proto3" json:"hostUrl,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"` Organization string `protobuf:"bytes,4,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*InfluxDBConfig) Descriptor
deprecated
added in
v1.1.37
func (*InfluxDBConfig) Descriptor() ([]byte, []int)
Deprecated: Use InfluxDBConfig.ProtoReflect.Descriptor instead.
func (*InfluxDBConfig) GetBucket ¶ added in v1.1.37
func (x *InfluxDBConfig) GetBucket() string
func (*InfluxDBConfig) GetHostUrl ¶ added in v1.1.37
func (x *InfluxDBConfig) GetHostUrl() string
func (*InfluxDBConfig) GetOrganization ¶ added in v1.1.37
func (x *InfluxDBConfig) GetOrganization() string
func (*InfluxDBConfig) GetToken ¶ added in v1.1.37
func (x *InfluxDBConfig) GetToken() string
func (*InfluxDBConfig) ProtoMessage ¶ added in v1.1.37
func (*InfluxDBConfig) ProtoMessage()
func (*InfluxDBConfig) ProtoReflect ¶ added in v1.1.37
func (x *InfluxDBConfig) ProtoReflect() protoreflect.Message
func (*InfluxDBConfig) Reset ¶ added in v1.1.37
func (x *InfluxDBConfig) Reset()
func (*InfluxDBConfig) String ¶ added in v1.1.37
func (x *InfluxDBConfig) String() string
type InitRecord ¶ added in v1.1.37
type InitRecord struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` Record *Record `protobuf:"bytes,3,opt,name=record,proto3" json:"record,omitempty"` // contains filtered or unexported fields }
func (*InitRecord) Descriptor
deprecated
added in
v1.1.37
func (*InitRecord) Descriptor() ([]byte, []int)
Deprecated: Use InitRecord.ProtoReflect.Descriptor instead.
func (*InitRecord) GetNamespace ¶ added in v1.1.37
func (x *InitRecord) GetNamespace() string
func (*InitRecord) GetRecord ¶ added in v1.1.37
func (x *InitRecord) GetRecord() *Record
func (*InitRecord) GetResource ¶ added in v1.1.37
func (x *InitRecord) GetResource() string
func (*InitRecord) ProtoMessage ¶ added in v1.1.37
func (*InitRecord) ProtoMessage()
func (*InitRecord) ProtoReflect ¶ added in v1.1.37
func (x *InitRecord) ProtoReflect() protoreflect.Message
func (*InitRecord) Reset ¶ added in v1.1.37
func (x *InitRecord) Reset()
func (*InitRecord) String ¶ added in v1.1.37
func (x *InitRecord) String() string
type MapAnyWrap ¶
type MapAnyWrap struct { Content map[string]*anypb.Any `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MapAnyWrap) Descriptor
deprecated
func (*MapAnyWrap) Descriptor() ([]byte, []int)
Deprecated: Use MapAnyWrap.ProtoReflect.Descriptor instead.
func (*MapAnyWrap) GetContent ¶
func (x *MapAnyWrap) GetContent() map[string]*anypb.Any
func (*MapAnyWrap) ProtoMessage ¶
func (*MapAnyWrap) ProtoMessage()
func (*MapAnyWrap) ProtoReflect ¶
func (x *MapAnyWrap) ProtoReflect() protoreflect.Message
func (*MapAnyWrap) Reset ¶
func (x *MapAnyWrap) Reset()
func (*MapAnyWrap) String ¶
func (x *MapAnyWrap) String() string
type MetricsConfig ¶ added in v1.1.37
type MetricsConfig struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Interval *int32 `protobuf:"varint,2,opt,name=interval,proto3,oneof" json:"interval,omitempty"` // defaults to 10 seconds Retention *int32 `protobuf:"varint,3,opt,name=retention,proto3,oneof" json:"retention,omitempty"` // defaults to 1 day Influxdb *InfluxDBConfig `protobuf:"bytes,4,opt,name=influxdb,proto3" json:"influxdb,omitempty"` // contains filtered or unexported fields }
func (*MetricsConfig) Descriptor
deprecated
added in
v1.1.37
func (*MetricsConfig) Descriptor() ([]byte, []int)
Deprecated: Use MetricsConfig.ProtoReflect.Descriptor instead.
func (*MetricsConfig) GetEnabled ¶ added in v1.1.37
func (x *MetricsConfig) GetEnabled() bool
func (*MetricsConfig) GetInfluxdb ¶ added in v1.1.37
func (x *MetricsConfig) GetInfluxdb() *InfluxDBConfig
func (*MetricsConfig) GetInterval ¶ added in v1.1.37
func (x *MetricsConfig) GetInterval() int32
func (*MetricsConfig) GetRetention ¶ added in v1.1.37
func (x *MetricsConfig) GetRetention() int32
func (*MetricsConfig) ProtoMessage ¶ added in v1.1.37
func (*MetricsConfig) ProtoMessage()
func (*MetricsConfig) ProtoReflect ¶ added in v1.1.37
func (x *MetricsConfig) ProtoReflect() protoreflect.Message
func (*MetricsConfig) Reset ¶ added in v1.1.37
func (x *MetricsConfig) Reset()
func (*MetricsConfig) String ¶ added in v1.1.37
func (x *MetricsConfig) String() string
type 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) Descriptor() protoreflect.EnumDescriptor
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 (x OperationType) Number() protoreflect.EnumNumber
func (OperationType) String ¶
func (x OperationType) String() string
func (OperationType) Type ¶
func (OperationType) Type() protoreflect.EnumType
type Order ¶
type Order int32
func (Order) Descriptor ¶
func (Order) Descriptor() protoreflect.EnumDescriptor
func (Order) EnumDescriptor
deprecated
func (Order) Number ¶
func (x Order) Number() protoreflect.EnumNumber
func (Order) Type ¶
func (Order) Type() protoreflect.EnumType
type PairExpression ¶
type PairExpression struct { Left *Expression `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"` Right *Expression `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` // contains filtered or unexported fields }
func (*PairExpression) Descriptor
deprecated
func (*PairExpression) Descriptor() ([]byte, []int)
Deprecated: Use PairExpression.ProtoReflect.Descriptor instead.
func (*PairExpression) GetLeft ¶
func (x *PairExpression) GetLeft() *Expression
func (*PairExpression) GetRight ¶
func (x *PairExpression) GetRight() *Expression
func (*PairExpression) ProtoMessage ¶
func (*PairExpression) ProtoMessage()
func (*PairExpression) ProtoReflect ¶
func (x *PairExpression) ProtoReflect() protoreflect.Message
func (*PairExpression) Reset ¶
func (x *PairExpression) Reset()
func (*PairExpression) String ¶
func (x *PairExpression) String() string
type Permission ¶ added in v1.1.40
type Permission struct { // match part Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // namespace name where it will be applied Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` // resource name where it will be applied Property string `protobuf:"bytes,3,opt,name=property,proto3" json:"property,omitempty"` // property name where it will be applied PropertyValue *string `protobuf:"bytes,4,opt,name=propertyValue,proto3,oneof" json:"propertyValue,omitempty"` // property value where it will be applied PropertyMode Permission_PropertyMode `protobuf:"varint,15,opt,name=propertyMode,proto3,enum=model.Permission_PropertyMode" json:"propertyMode,omitempty"` // property mode Operation OperationType `protobuf:"varint,13,opt,name=operation,proto3,enum=model.OperationType" json:"operation,omitempty"` // operation name which it is applied to RecordIds []string `protobuf:"bytes,9,rep,name=recordIds,proto3" json:"recordIds,omitempty"` // list of record ids which it is applied to // time part Before *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=before,proto3" json:"before,omitempty"` // before it is valid After *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=after,proto3" json:"after,omitempty"` // after it is valid // user part Username *string `protobuf:"bytes,7,opt,name=username,proto3,oneof" json:"username,omitempty"` // username which it is applied to Role *string `protobuf:"bytes,8,opt,name=role,proto3,oneof" json:"role,omitempty"` // role which it is applied to Permit PermitType `protobuf:"varint,14,opt,name=permit,proto3,enum=model.PermitType" json:"permit,omitempty"` // permission LocalFlags *structpb.Value `protobuf:"bytes,11,opt,name=localFlags,proto3,oneof" json:"localFlags,omitempty"` // optional, local flags // contains filtered or unexported fields }
Permission is a rule
func (*Permission) Descriptor
deprecated
added in
v1.1.40
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetAfter ¶ added in v1.1.40
func (x *Permission) GetAfter() *timestamppb.Timestamp
func (*Permission) GetBefore ¶ added in v1.1.40
func (x *Permission) GetBefore() *timestamppb.Timestamp
func (*Permission) GetLocalFlags ¶ added in v1.1.40
func (x *Permission) GetLocalFlags() *structpb.Value
func (*Permission) GetNamespace ¶ added in v1.1.40
func (x *Permission) GetNamespace() string
func (*Permission) GetOperation ¶ added in v1.1.40
func (x *Permission) GetOperation() OperationType
func (*Permission) GetPermit ¶ added in v1.1.40
func (x *Permission) GetPermit() PermitType
func (*Permission) GetProperty ¶ added in v1.1.40
func (x *Permission) GetProperty() string
func (*Permission) GetPropertyMode ¶ added in v1.1.40
func (x *Permission) GetPropertyMode() Permission_PropertyMode
func (*Permission) GetPropertyValue ¶ added in v1.1.40
func (x *Permission) GetPropertyValue() string
func (*Permission) GetRecordIds ¶ added in v1.1.40
func (x *Permission) GetRecordIds() []string
func (*Permission) GetResource ¶ added in v1.1.40
func (x *Permission) GetResource() string
func (*Permission) GetRole ¶ added in v1.1.40
func (x *Permission) GetRole() string
func (*Permission) GetUsername ¶ added in v1.1.40
func (x *Permission) GetUsername() string
func (*Permission) ProtoMessage ¶ added in v1.1.40
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶ added in v1.1.40
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶ added in v1.1.40
func (x *Permission) Reset()
func (*Permission) String ¶ added in v1.1.40
func (x *Permission) String() string
type Permission_PropertyMode ¶ added in v1.1.44
type Permission_PropertyMode int32
const ( Permission_PROPERTY_MATCH_ONLY Permission_PropertyMode = 0 Permission_PROPERTY_MATCH_ANY Permission_PropertyMode = 1 )
func (Permission_PropertyMode) Descriptor ¶ added in v1.1.44
func (Permission_PropertyMode) Descriptor() protoreflect.EnumDescriptor
func (Permission_PropertyMode) Enum ¶ added in v1.1.44
func (x Permission_PropertyMode) Enum() *Permission_PropertyMode
func (Permission_PropertyMode) EnumDescriptor
deprecated
added in
v1.1.44
func (Permission_PropertyMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permission_PropertyMode.Descriptor instead.
func (Permission_PropertyMode) Number ¶ added in v1.1.44
func (x Permission_PropertyMode) Number() protoreflect.EnumNumber
func (Permission_PropertyMode) String ¶ added in v1.1.44
func (x Permission_PropertyMode) String() string
func (Permission_PropertyMode) Type ¶ added in v1.1.44
func (Permission_PropertyMode) Type() protoreflect.EnumType
type PermitType ¶
type PermitType int32
const ( PermitType_PERMIT_TYPE_ALLOW PermitType = 0 PermitType_PERMIT_TYPE_REJECT PermitType = 1 )
func (PermitType) Descriptor ¶
func (PermitType) Descriptor() protoreflect.EnumDescriptor
func (PermitType) Enum ¶
func (x PermitType) Enum() *PermitType
func (PermitType) EnumDescriptor
deprecated
func (PermitType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PermitType.Descriptor instead.
func (PermitType) Number ¶
func (x PermitType) Number() protoreflect.EnumNumber
func (PermitType) String ¶
func (x PermitType) String() string
func (PermitType) Type ¶
func (PermitType) Type() protoreflect.EnumType
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) GetPropertiesPacked ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
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) GetNamespace ¶
func (*RefValue) GetResource ¶
func (*RefValue) ProtoMessage ¶
func (*RefValue) ProtoMessage()
func (*RefValue) ProtoReflect ¶
func (x *RefValue) ProtoReflect() protoreflect.Message
type Reference ¶
type Reference struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // referenced resource namespace Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` // referenced resource name 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) GetCascade ¶
func (*Reference) GetNamespace ¶ added in v1.1.37
func (*Reference) GetResource ¶ added in v1.1.37
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
type RegexMatchExpression ¶
type RegexMatchExpression struct { Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` Expression *Expression `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` // contains filtered or unexported fields }
func (*RegexMatchExpression) Descriptor
deprecated
func (*RegexMatchExpression) Descriptor() ([]byte, []int)
Deprecated: Use RegexMatchExpression.ProtoReflect.Descriptor instead.
func (*RegexMatchExpression) GetExpression ¶
func (x *RegexMatchExpression) GetExpression() *Expression
func (*RegexMatchExpression) GetPattern ¶
func (x *RegexMatchExpression) GetPattern() string
func (*RegexMatchExpression) ProtoMessage ¶
func (*RegexMatchExpression) ProtoMessage()
func (*RegexMatchExpression) ProtoReflect ¶
func (x *RegexMatchExpression) ProtoReflect() protoreflect.Message
func (*RegexMatchExpression) Reset ¶
func (x *RegexMatchExpression) Reset()
func (*RegexMatchExpression) String ¶
func (x *RegexMatchExpression) String() string
type Resource ¶
type Resource struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // unique resource id; read only Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // unique resource name, it is unique per namespace Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // each resource is kept inside a namespace. One namespace can have multiple resources SourceConfig *ResourceSourceConfig `protobuf:"bytes,5,opt,name=sourceConfig,proto3" json:"sourceConfig,omitempty"` // Properties []*ResourceProperty `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` // list of properties of resource. This properties will be used by records of resource. Properties is columns on sql databases. For schemaless data structures properties is only managed by API Brew itself Types []*ResourceSubType `protobuf:"bytes,7,rep,name=types,proto3" json:"types,omitempty"` Indexes []*ResourceIndex `protobuf:"bytes,8,rep,name=indexes,proto3" json:"indexes,omitempty"` // list of resource indexes. Its implementation is depending on data source backend and may not be supported by some backends. Virtual bool `protobuf:"varint,11,opt,name=virtual,proto3" json:"virtual,omitempty"` // If virtual is true. Operations will not phisically affect datasource/backend. Virtual resources is for extension purposes. Their behaviors can be extended and altered. It can also be used to integrate 3rd party systems. Immutable bool `protobuf:"varint,12,opt,name=immutable,proto3" json:"immutable,omitempty"` // if true, delete and update will not be allowed on this resource Abstract bool `protobuf:"varint,13,opt,name=abstract,proto3" json:"abstract,omitempty"` // if abstract, resource is only available to internal and extension side operations CheckReferences bool `protobuf:"varint,16,opt,name=checkReferences,proto3" json:"checkReferences,omitempty"` Title *string `protobuf:"bytes,14,opt,name=title,proto3,oneof" json:"title,omitempty"` Description *string `protobuf:"bytes,15,opt,name=description,proto3,oneof" json:"description,omitempty"` AuditData *AuditData `protobuf:"bytes,101,opt,name=auditData,proto3" json:"auditData,omitempty"` Version uint32 `protobuf:"varint,102,opt,name=version,proto3" json:"version,omitempty"` Annotations map[string]string `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) GetAbstract ¶
func (*Resource) GetAnnotations ¶
func (*Resource) GetAuditData ¶
func (*Resource) GetCheckReferences ¶ added in v1.1.37
func (*Resource) GetDescription ¶
func (*Resource) GetImmutable ¶
func (*Resource) GetIndexes ¶
func (x *Resource) GetIndexes() []*ResourceIndex
func (*Resource) GetNamespace ¶
func (*Resource) GetProperties ¶
func (x *Resource) GetProperties() []*ResourceProperty
func (*Resource) GetSourceConfig ¶
func (x *Resource) GetSourceConfig() *ResourceSourceConfig
func (*Resource) GetTypes ¶ added in v1.1.37
func (x *Resource) GetTypes() []*ResourceSubType
func (*Resource) GetVersion ¶
func (*Resource) GetVirtual ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
func (ResourceIndexType) Enum ¶
func (x ResourceIndexType) Enum() *ResourceIndexType
func (ResourceIndexType) EnumDescriptor
deprecated
func (ResourceIndexType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceIndexType.Descriptor instead.
func (ResourceIndexType) Number ¶
func (x ResourceIndexType) Number() protoreflect.EnumNumber
func (ResourceIndexType) String ¶
func (x ResourceIndexType) String() string
func (ResourceIndexType) Type ¶
func (ResourceIndexType) Type() protoreflect.EnumType
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 (x *ResourceMigrationCreateIndex) ProtoReflect() protoreflect.Message
func (*ResourceMigrationCreateIndex) Reset ¶
func (x *ResourceMigrationCreateIndex) Reset()
func (*ResourceMigrationCreateIndex) String ¶
func (x *ResourceMigrationCreateIndex) String() string
type ResourceMigrationCreateProperty ¶
type ResourceMigrationCreateProperty struct { Property string `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"` SubType string `protobuf:"bytes,2,opt,name=subType,proto3" json:"subType,omitempty"` // contains filtered or unexported fields }
func (*ResourceMigrationCreateProperty) Descriptor
deprecated
func (*ResourceMigrationCreateProperty) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMigrationCreateProperty.ProtoReflect.Descriptor instead.
func (*ResourceMigrationCreateProperty) GetProperty ¶
func (x *ResourceMigrationCreateProperty) GetProperty() string
func (*ResourceMigrationCreateProperty) GetSubType ¶ added in v1.1.37
func (x *ResourceMigrationCreateProperty) GetSubType() string
func (*ResourceMigrationCreateProperty) ProtoMessage ¶
func (*ResourceMigrationCreateProperty) ProtoMessage()
func (*ResourceMigrationCreateProperty) ProtoReflect ¶
func (x *ResourceMigrationCreateProperty) ProtoReflect() protoreflect.Message
func (*ResourceMigrationCreateProperty) Reset ¶
func (x *ResourceMigrationCreateProperty) Reset()
func (*ResourceMigrationCreateProperty) String ¶
func (x *ResourceMigrationCreateProperty) String() 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 (x *ResourceMigrationCreateResource) ProtoReflect() protoreflect.Message
func (*ResourceMigrationCreateResource) Reset ¶
func (x *ResourceMigrationCreateResource) Reset()
func (*ResourceMigrationCreateResource) String ¶
func (x *ResourceMigrationCreateResource) String() string
type ResourceMigrationCreateSubType ¶ added in v1.1.37
type ResourceMigrationCreateSubType struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ResourceMigrationCreateSubType) Descriptor
deprecated
added in
v1.1.37
func (*ResourceMigrationCreateSubType) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMigrationCreateSubType.ProtoReflect.Descriptor instead.
func (*ResourceMigrationCreateSubType) GetName ¶ added in v1.1.37
func (x *ResourceMigrationCreateSubType) GetName() string
func (*ResourceMigrationCreateSubType) ProtoMessage ¶ added in v1.1.37
func (*ResourceMigrationCreateSubType) ProtoMessage()
func (*ResourceMigrationCreateSubType) ProtoReflect ¶ added in v1.1.37
func (x *ResourceMigrationCreateSubType) ProtoReflect() protoreflect.Message
func (*ResourceMigrationCreateSubType) Reset ¶ added in v1.1.37
func (x *ResourceMigrationCreateSubType) Reset()
func (*ResourceMigrationCreateSubType) String ¶ added in v1.1.37
func (x *ResourceMigrationCreateSubType) String() 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 (x *ResourceMigrationDeleteIndex) ProtoReflect() protoreflect.Message
func (*ResourceMigrationDeleteIndex) Reset ¶
func (x *ResourceMigrationDeleteIndex) Reset()
func (*ResourceMigrationDeleteIndex) String ¶
func (x *ResourceMigrationDeleteIndex) String() string
type ResourceMigrationDeleteProperty ¶
type ResourceMigrationDeleteProperty struct { ExistingProperty string `protobuf:"bytes,1,opt,name=existingProperty,proto3" json:"existingProperty,omitempty"` SubType string `protobuf:"bytes,2,opt,name=subType,proto3" json:"subType,omitempty"` // contains filtered or unexported fields }
func (*ResourceMigrationDeleteProperty) Descriptor
deprecated
func (*ResourceMigrationDeleteProperty) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMigrationDeleteProperty.ProtoReflect.Descriptor instead.
func (*ResourceMigrationDeleteProperty) GetExistingProperty ¶
func (x *ResourceMigrationDeleteProperty) GetExistingProperty() string
func (*ResourceMigrationDeleteProperty) GetSubType ¶ added in v1.1.37
func (x *ResourceMigrationDeleteProperty) GetSubType() string
func (*ResourceMigrationDeleteProperty) ProtoMessage ¶
func (*ResourceMigrationDeleteProperty) ProtoMessage()
func (*ResourceMigrationDeleteProperty) ProtoReflect ¶
func (x *ResourceMigrationDeleteProperty) ProtoReflect() protoreflect.Message
func (*ResourceMigrationDeleteProperty) Reset ¶
func (x *ResourceMigrationDeleteProperty) Reset()
func (*ResourceMigrationDeleteProperty) String ¶
func (x *ResourceMigrationDeleteProperty) String() 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 (x *ResourceMigrationDeleteResource) ProtoReflect() protoreflect.Message
func (*ResourceMigrationDeleteResource) Reset ¶
func (x *ResourceMigrationDeleteResource) Reset()
func (*ResourceMigrationDeleteResource) String ¶
func (x *ResourceMigrationDeleteResource) String() string
type ResourceMigrationDeleteSubType ¶ added in v1.1.37
type ResourceMigrationDeleteSubType struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ResourceMigrationDeleteSubType) Descriptor
deprecated
added in
v1.1.37
func (*ResourceMigrationDeleteSubType) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMigrationDeleteSubType.ProtoReflect.Descriptor instead.
func (*ResourceMigrationDeleteSubType) GetName ¶ added in v1.1.37
func (x *ResourceMigrationDeleteSubType) GetName() string
func (*ResourceMigrationDeleteSubType) ProtoMessage ¶ added in v1.1.37
func (*ResourceMigrationDeleteSubType) ProtoMessage()
func (*ResourceMigrationDeleteSubType) ProtoReflect ¶ added in v1.1.37
func (x *ResourceMigrationDeleteSubType) ProtoReflect() protoreflect.Message
func (*ResourceMigrationDeleteSubType) Reset ¶ added in v1.1.37
func (x *ResourceMigrationDeleteSubType) Reset()
func (*ResourceMigrationDeleteSubType) String ¶ added in v1.1.37
func (x *ResourceMigrationDeleteSubType) String() 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 (x *ResourceMigrationPlan) GetSteps() []*ResourceMigrationStep
func (*ResourceMigrationPlan) ProtoMessage ¶
func (*ResourceMigrationPlan) ProtoMessage()
func (*ResourceMigrationPlan) ProtoReflect ¶
func (x *ResourceMigrationPlan) ProtoReflect() protoreflect.Message
func (*ResourceMigrationPlan) Reset ¶
func (x *ResourceMigrationPlan) Reset()
func (*ResourceMigrationPlan) String ¶
func (x *ResourceMigrationPlan) String() string
type ResourceMigrationStep ¶
type ResourceMigrationStep struct { // Types that are assignable to Kind: // // *ResourceMigrationStep_CreateResource // *ResourceMigrationStep_DeleteResource // *ResourceMigrationStep_UpdateResource // *ResourceMigrationStep_CreateProperty // *ResourceMigrationStep_DeleteProperty // *ResourceMigrationStep_UpdateProperty // *ResourceMigrationStep_CreateIndex // *ResourceMigrationStep_DeleteIndex // *ResourceMigrationStep_CreateSubType // *ResourceMigrationStep_DeleteSubType Kind isResourceMigrationStep_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*ResourceMigrationStep) Descriptor
deprecated
func (*ResourceMigrationStep) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMigrationStep.ProtoReflect.Descriptor instead.
func (*ResourceMigrationStep) GetCreateIndex ¶
func (x *ResourceMigrationStep) GetCreateIndex() *ResourceMigrationCreateIndex
func (*ResourceMigrationStep) GetCreateProperty ¶
func (x *ResourceMigrationStep) GetCreateProperty() *ResourceMigrationCreateProperty
func (*ResourceMigrationStep) GetCreateResource ¶
func (x *ResourceMigrationStep) GetCreateResource() *ResourceMigrationCreateResource
func (*ResourceMigrationStep) GetCreateSubType ¶ added in v1.1.37
func (x *ResourceMigrationStep) GetCreateSubType() *ResourceMigrationCreateSubType
func (*ResourceMigrationStep) GetDeleteIndex ¶
func (x *ResourceMigrationStep) GetDeleteIndex() *ResourceMigrationDeleteIndex
func (*ResourceMigrationStep) GetDeleteProperty ¶
func (x *ResourceMigrationStep) GetDeleteProperty() *ResourceMigrationDeleteProperty
func (*ResourceMigrationStep) GetDeleteResource ¶
func (x *ResourceMigrationStep) GetDeleteResource() *ResourceMigrationDeleteResource
func (*ResourceMigrationStep) GetDeleteSubType ¶ added in v1.1.37
func (x *ResourceMigrationStep) GetDeleteSubType() *ResourceMigrationDeleteSubType
func (*ResourceMigrationStep) GetKind ¶
func (m *ResourceMigrationStep) GetKind() isResourceMigrationStep_Kind
func (*ResourceMigrationStep) GetUpdateProperty ¶
func (x *ResourceMigrationStep) GetUpdateProperty() *ResourceMigrationUpdateProperty
func (*ResourceMigrationStep) GetUpdateResource ¶
func (x *ResourceMigrationStep) GetUpdateResource() *ResourceMigrationUpdateResource
func (*ResourceMigrationStep) ProtoMessage ¶
func (*ResourceMigrationStep) ProtoMessage()
func (*ResourceMigrationStep) ProtoReflect ¶
func (x *ResourceMigrationStep) ProtoReflect() protoreflect.Message
func (*ResourceMigrationStep) Reset ¶
func (x *ResourceMigrationStep) Reset()
func (*ResourceMigrationStep) String ¶
func (x *ResourceMigrationStep) String() string
type ResourceMigrationStep_CreateIndex ¶
type ResourceMigrationStep_CreateIndex struct {
CreateIndex *ResourceMigrationCreateIndex `protobuf:"bytes,7,opt,name=createIndex,proto3,oneof"`
}
type ResourceMigrationStep_CreateProperty ¶
type ResourceMigrationStep_CreateProperty struct {
CreateProperty *ResourceMigrationCreateProperty `protobuf:"bytes,4,opt,name=createProperty,proto3,oneof"`
}
type ResourceMigrationStep_CreateResource ¶
type ResourceMigrationStep_CreateResource struct {
CreateResource *ResourceMigrationCreateResource `protobuf:"bytes,1,opt,name=createResource,proto3,oneof"`
}
type ResourceMigrationStep_CreateSubType ¶ added in v1.1.37
type ResourceMigrationStep_CreateSubType struct {
CreateSubType *ResourceMigrationCreateSubType `protobuf:"bytes,9,opt,name=createSubType,proto3,oneof"`
}
type ResourceMigrationStep_DeleteIndex ¶
type ResourceMigrationStep_DeleteIndex struct {
DeleteIndex *ResourceMigrationDeleteIndex `protobuf:"bytes,8,opt,name=deleteIndex,proto3,oneof"`
}
type ResourceMigrationStep_DeleteProperty ¶
type ResourceMigrationStep_DeleteProperty struct {
DeleteProperty *ResourceMigrationDeleteProperty `protobuf:"bytes,5,opt,name=deleteProperty,proto3,oneof"`
}
type ResourceMigrationStep_DeleteResource ¶
type ResourceMigrationStep_DeleteResource struct {
DeleteResource *ResourceMigrationDeleteResource `protobuf:"bytes,2,opt,name=deleteResource,proto3,oneof"`
}
type ResourceMigrationStep_DeleteSubType ¶ added in v1.1.37
type ResourceMigrationStep_DeleteSubType struct {
DeleteSubType *ResourceMigrationDeleteSubType `protobuf:"bytes,10,opt,name=deleteSubType,proto3,oneof"`
}
type ResourceMigrationStep_UpdateProperty ¶
type ResourceMigrationStep_UpdateProperty struct {
UpdateProperty *ResourceMigrationUpdateProperty `protobuf:"bytes,6,opt,name=updateProperty,proto3,oneof"`
}
type ResourceMigrationStep_UpdateResource ¶
type ResourceMigrationStep_UpdateResource struct {
UpdateResource *ResourceMigrationUpdateResource `protobuf:"bytes,3,opt,name=updateResource,proto3,oneof"`
}
type ResourceMigrationUpdateProperty ¶
type ResourceMigrationUpdateProperty struct { ExistingProperty string `protobuf:"bytes,1,opt,name=existingProperty,proto3" json:"existingProperty,omitempty"` Property string `protobuf:"bytes,2,opt,name=property,proto3" json:"property,omitempty"` ChangedFields []string `protobuf:"bytes,3,rep,name=changedFields,proto3" json:"changedFields,omitempty"` SubType string `protobuf:"bytes,4,opt,name=subType,proto3" json:"subType,omitempty"` // contains filtered or unexported fields }
func (*ResourceMigrationUpdateProperty) Descriptor
deprecated
func (*ResourceMigrationUpdateProperty) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMigrationUpdateProperty.ProtoReflect.Descriptor instead.
func (*ResourceMigrationUpdateProperty) GetChangedFields ¶
func (x *ResourceMigrationUpdateProperty) GetChangedFields() []string
func (*ResourceMigrationUpdateProperty) GetExistingProperty ¶
func (x *ResourceMigrationUpdateProperty) GetExistingProperty() string
func (*ResourceMigrationUpdateProperty) GetProperty ¶
func (x *ResourceMigrationUpdateProperty) GetProperty() string
func (*ResourceMigrationUpdateProperty) GetSubType ¶ added in v1.1.37
func (x *ResourceMigrationUpdateProperty) GetSubType() string
func (*ResourceMigrationUpdateProperty) ProtoMessage ¶
func (*ResourceMigrationUpdateProperty) ProtoMessage()
func (*ResourceMigrationUpdateProperty) ProtoReflect ¶
func (x *ResourceMigrationUpdateProperty) ProtoReflect() protoreflect.Message
func (*ResourceMigrationUpdateProperty) Reset ¶
func (x *ResourceMigrationUpdateProperty) Reset()
func (*ResourceMigrationUpdateProperty) String ¶
func (x *ResourceMigrationUpdateProperty) String() 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 (x *ResourceMigrationUpdateResource) ProtoReflect() protoreflect.Message
func (*ResourceMigrationUpdateResource) Reset ¶
func (x *ResourceMigrationUpdateResource) Reset()
func (*ResourceMigrationUpdateResource) String ¶
func (x *ResourceMigrationUpdateResource) String() string
type ResourceProperty ¶
type ResourceProperty struct { // property name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // type of property Type ResourceProperty_Type `protobuf:"varint,3,opt,name=type,proto3,enum=model.ResourceProperty_Type" json:"type,omitempty"` // type ref TypeRef *string `protobuf:"bytes,17,opt,name=typeRef,proto3,oneof" json:"typeRef,omitempty"` // type ref, is only applicable to Struct // this is to mark property as required Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"` 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 DefaultValue *structpb.Value `protobuf:"bytes,11,opt,name=defaultValue,proto3,oneof" json:"defaultValue,omitempty"` // defaultValue is default value. ExampleValue *structpb.Value `protobuf:"bytes,12,opt,name=exampleValue,proto3,oneof" json:"exampleValue,omitempty"` // exampleValue is example value. It is an informative column EnumValues []string `protobuf:"bytes,13,rep,name=enumValues,proto3" json:"enumValues,omitempty"` // enumValues is used if property type is an enum Reference *Reference `protobuf:"bytes,14,opt,name=reference,proto3,oneof" json:"reference,omitempty"` // reference property is only valid and required for Reference types. BackReference *BackReference `protobuf:"bytes,15,opt,name=backReference,proto3,oneof" json:"backReference,omitempty"` // reference property is only valid and required for Reference types. Item *ResourceProperty `protobuf:"bytes,18,opt,name=item,proto3,oneof" json:"item,omitempty"` // item is used for complex types(list, map). For list, subType is element type. For map, it is value type(key type is always string) Title *string `protobuf:"bytes,19,opt,name=title,proto3,oneof" json:"title,omitempty"` // It is an informative column Description *string `protobuf:"bytes,20,opt,name=description,proto3,oneof" json:"description,omitempty"` // It is an informative column Annotations map[string]string `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
Resource properties is used to describe its schema. Each resource property is corresponding to a field in a record API Brew is responsible to validate data according to property types. For example, when you call create record and if you send 123.45 for int64
func (*ResourceProperty) Descriptor
deprecated
func (*ResourceProperty) Descriptor() ([]byte, []int)
Deprecated: Use ResourceProperty.ProtoReflect.Descriptor instead.
func (*ResourceProperty) GetAnnotations ¶
func (x *ResourceProperty) GetAnnotations() map[string]string
func (*ResourceProperty) GetBackReference ¶ added in v1.1.37
func (x *ResourceProperty) GetBackReference() *BackReference
func (*ResourceProperty) GetDefaultValue ¶
func (x *ResourceProperty) GetDefaultValue() *structpb.Value
func (*ResourceProperty) GetDescription ¶
func (x *ResourceProperty) GetDescription() string
func (*ResourceProperty) GetEnumValues ¶
func (x *ResourceProperty) GetEnumValues() []string
func (*ResourceProperty) GetExampleValue ¶
func (x *ResourceProperty) GetExampleValue() *structpb.Value
func (*ResourceProperty) GetImmutable ¶
func (x *ResourceProperty) GetImmutable() bool
func (*ResourceProperty) GetItem ¶ added in v1.1.37
func (x *ResourceProperty) GetItem() *ResourceProperty
func (*ResourceProperty) GetLength ¶
func (x *ResourceProperty) GetLength() uint32
func (*ResourceProperty) GetName ¶
func (x *ResourceProperty) GetName() string
func (*ResourceProperty) GetReference ¶
func (x *ResourceProperty) GetReference() *Reference
func (*ResourceProperty) GetRequired ¶
func (x *ResourceProperty) GetRequired() bool
func (*ResourceProperty) GetTitle ¶
func (x *ResourceProperty) GetTitle() string
func (*ResourceProperty) GetType ¶
func (x *ResourceProperty) GetType() ResourceProperty_Type
func (*ResourceProperty) GetTypeRef ¶ added in v1.1.37
func (x *ResourceProperty) GetTypeRef() string
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) Descriptor() protoreflect.EnumDescriptor
func (ResourceProperty_Type) Enum ¶
func (x ResourceProperty_Type) Enum() *ResourceProperty_Type
func (ResourceProperty_Type) EnumDescriptor
deprecated
func (ResourceProperty_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceProperty_Type.Descriptor instead.
func (ResourceProperty_Type) Number ¶
func (x ResourceProperty_Type) Number() protoreflect.EnumNumber
func (ResourceProperty_Type) String ¶
func (x ResourceProperty_Type) String() string
func (ResourceProperty_Type) Type ¶
func (ResourceProperty_Type) Type() protoreflect.EnumType
type ResourceSourceConfig ¶
type ResourceSourceConfig struct { DataSource string `protobuf:"bytes,1,opt,name=dataSource,proto3" json:"dataSource,omitempty"` // data source name: where resource structure and its data will be physically exists. Data source name is required if resource is not virtual Catalog string `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"` // catalog is like a folder/schema/database. It is changing from backend to backend. Basically it is for grouping entities Entity string `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"` // entity name an item on datasource backend where resource will be bound. For sql databases it is table name, for mongo it is collection name, etc. // contains filtered or unexported fields }
source config is to configure resource and bind it to data-source and an entity inside data source. An entity is like a table on sql databases or collection on mongodb etc.
func (*ResourceSourceConfig) Descriptor
deprecated
func (*ResourceSourceConfig) Descriptor() ([]byte, []int)
Deprecated: Use ResourceSourceConfig.ProtoReflect.Descriptor instead.
func (*ResourceSourceConfig) GetCatalog ¶
func (x *ResourceSourceConfig) GetCatalog() string
func (*ResourceSourceConfig) GetDataSource ¶
func (x *ResourceSourceConfig) GetDataSource() string
func (*ResourceSourceConfig) GetEntity ¶
func (x *ResourceSourceConfig) GetEntity() string
func (*ResourceSourceConfig) ProtoMessage ¶
func (*ResourceSourceConfig) ProtoMessage()
func (*ResourceSourceConfig) ProtoReflect ¶
func (x *ResourceSourceConfig) ProtoReflect() protoreflect.Message
func (*ResourceSourceConfig) Reset ¶
func (x *ResourceSourceConfig) Reset()
func (*ResourceSourceConfig) String ¶
func (x *ResourceSourceConfig) String() string
type ResourceSubType ¶ added in v1.1.37
type ResourceSubType struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Properties []*ResourceProperty `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` // list of properties of resource. This properties will be used by records of resource. Properties is columns on sql databases. For schemaless data structures properties is only managed by API Brew itself Annotations map[string]string `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ResourceSubType) Descriptor
deprecated
added in
v1.1.37
func (*ResourceSubType) Descriptor() ([]byte, []int)
Deprecated: Use ResourceSubType.ProtoReflect.Descriptor instead.
func (*ResourceSubType) GetAnnotations ¶ added in v1.1.37
func (x *ResourceSubType) GetAnnotations() map[string]string
func (*ResourceSubType) GetDescription ¶ added in v1.1.37
func (x *ResourceSubType) GetDescription() string
func (*ResourceSubType) GetName ¶ added in v1.1.37
func (x *ResourceSubType) GetName() string
func (*ResourceSubType) GetProperties ¶ added in v1.1.37
func (x *ResourceSubType) GetProperties() []*ResourceProperty
func (*ResourceSubType) GetTitle ¶ added in v1.1.37
func (x *ResourceSubType) GetTitle() string
func (*ResourceSubType) ProtoMessage ¶ added in v1.1.37
func (*ResourceSubType) ProtoMessage()
func (*ResourceSubType) ProtoReflect ¶ added in v1.1.37
func (x *ResourceSubType) ProtoReflect() protoreflect.Message
func (*ResourceSubType) Reset ¶ added in v1.1.37
func (x *ResourceSubType) Reset()
func (*ResourceSubType) String ¶ added in v1.1.37
func (x *ResourceSubType) String() string
type SecurityContext ¶
type SecurityContext struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Details *structpb.Struct `protobuf:"bytes,7,opt,name=details,proto3,oneof" json:"details,omitempty"` AuditData *AuditData `protobuf:"bytes,101,opt,name=auditData,proto3" json:"auditData,omitempty"` Version uint32 `protobuf:"varint,102,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*SecurityContext) Descriptor
deprecated
func (*SecurityContext) Descriptor() ([]byte, []int)
Deprecated: Use SecurityContext.ProtoReflect.Descriptor instead.
func (*SecurityContext) GetAuditData ¶ added in v1.1.37
func (x *SecurityContext) GetAuditData() *AuditData
func (*SecurityContext) GetDetails ¶ added in v1.1.37
func (x *SecurityContext) GetDetails() *structpb.Struct
func (*SecurityContext) GetId ¶ added in v1.1.37
func (x *SecurityContext) GetId() string
func (*SecurityContext) GetName ¶ added in v1.1.37
func (x *SecurityContext) GetName() string
func (*SecurityContext) GetVersion ¶ added in v1.1.37
func (x *SecurityContext) GetVersion() uint32
func (*SecurityContext) ProtoMessage ¶
func (*SecurityContext) ProtoMessage()
func (*SecurityContext) ProtoReflect ¶
func (x *SecurityContext) ProtoReflect() protoreflect.Message
func (*SecurityContext) Reset ¶
func (x *SecurityContext) Reset()
func (*SecurityContext) String ¶
func (x *SecurityContext) String() string
type 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) GetContent ¶
func (*Token) GetExpiration ¶
func (x *Token) GetExpiration() *timestamppb.Timestamp
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
type TokenTerm ¶
type TokenTerm int32
func (TokenTerm) Descriptor ¶
func (TokenTerm) Descriptor() protoreflect.EnumDescriptor
func (TokenTerm) EnumDescriptor
deprecated
func (TokenTerm) Number ¶
func (x TokenTerm) Number() protoreflect.EnumNumber
func (TokenTerm) Type ¶
func (TokenTerm) Type() protoreflect.EnumType