Documentation ¶
Index ¶
- Variables
- type BigDecimal
- func (*BigDecimal) Descriptor() ([]byte, []int)deprecated
- func (x *BigDecimal) GetDisplayName() string
- func (x *BigDecimal) GetIntVal() int64
- func (x *BigDecimal) GetScale() int32
- func (*BigDecimal) ProtoMessage()
- func (x *BigDecimal) ProtoReflect() protoreflect.Message
- func (x *BigDecimal) Reset()
- func (x *BigDecimal) String() string
- type FieldConstraint
- func (*FieldConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *FieldConstraint) GetIs() string
- func (x *FieldConstraint) GetMessage() string
- func (*FieldConstraint) ProtoMessage()
- func (x *FieldConstraint) ProtoReflect() protoreflect.Message
- func (x *FieldConstraint) Reset()
- func (x *FieldConstraint) String() string
- type FieldMeta
- func (*FieldMeta) Descriptor() ([]byte, []int)deprecated
- func (x *FieldMeta) GetDefault() string
- func (x *FieldMeta) GetHint() string
- func (x *FieldMeta) GetLabel() string
- func (x *FieldMeta) GetOptions() *Fieldoption
- func (x *FieldMeta) GetReadonly() bool
- func (x *FieldMeta) GetRepeated() bool
- func (*FieldMeta) ProtoMessage()
- func (x *FieldMeta) ProtoReflect() protoreflect.Message
- func (x *FieldMeta) Reset()
- func (x *FieldMeta) String() string
- type Fieldoption
- type IntegerProperty
- type Link
- func (*Link) Descriptor() ([]byte, []int)deprecated
- func (x *Link) GetHref() string
- func (x *Link) GetMethod() string
- func (x *Link) GetRel() string
- func (x *Link) GetService() string
- func (x *Link) GetType() string
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) String() string
- type Meta
- type MetaField
- func (*MetaField) Descriptor() ([]byte, []int)deprecated
- func (x *MetaField) GetConstraints() map[string]*FieldConstraint
- func (x *MetaField) GetMeta() *FieldMeta
- func (*MetaField) ProtoMessage()
- func (x *MetaField) ProtoReflect() protoreflect.Message
- func (x *MetaField) Reset()
- func (x *MetaField) String() string
- type NumberProperty
- type Optionitem
- func (*Optionitem) Descriptor() ([]byte, []int)deprecated
- func (x *Optionitem) GetDisplayName() string
- func (x *Optionitem) GetId() string
- func (x *Optionitem) GetSelected() bool
- func (*Optionitem) ProtoMessage()
- func (x *Optionitem) ProtoReflect() protoreflect.Message
- func (x *Optionitem) Reset()
- func (x *Optionitem) String() string
- type Property
- func (*Property) Descriptor() ([]byte, []int)deprecated
- func (x *Property) GetCode() string
- func (x *Property) GetData() *any.Any
- func (x *Property) GetDisplayName() string
- func (x *Property) GetFlags() []string
- func (x *Property) GetId() string
- func (x *Property) GetIsOverwritten() bool
- func (x *Property) GetMeta() *Meta
- func (*Property) ProtoMessage()
- func (x *Property) ProtoReflect() protoreflect.Message
- func (x *Property) Reset()
- func (x *Property) String() string
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (x *Reference) GetDisplayName() string
- func (x *Reference) GetId() string
- func (x *Reference) GetLink() *Link
- func (*Reference) ProtoMessage()
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- type StringOptionProperty
- func (*StringOptionProperty) Descriptor() ([]byte, []int)deprecated
- func (x *StringOptionProperty) GetDisplayName() string
- func (x *StringOptionProperty) GetId() string
- func (*StringOptionProperty) ProtoMessage()
- func (x *StringOptionProperty) ProtoReflect() protoreflect.Message
- func (x *StringOptionProperty) Reset()
- func (x *StringOptionProperty) String() string
- type StringProperty
Constants ¶
This section is empty.
Variables ¶
var File_furo_bigdecimal_proto protoreflect.FileDescriptor
var File_furo_link_proto protoreflect.FileDescriptor
var File_furo_meta_proto protoreflect.FileDescriptor
var File_furo_property_proto protoreflect.FileDescriptor
var File_furo_reference_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BigDecimal ¶
type BigDecimal struct { // String representation of BigDecimal entity DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The integer value of the BigDecimal IntVal int64 `protobuf:"varint,3,opt,name=int_val,json=intVal,proto3" json:"int_val,omitempty"` // If zero or positive, the scale is the number of digits to the right of the decimal point. If negative, the unscaled value of the number is multiplied by ten to the power of the negation of the scale. For example, a scale of -3 means the unscaled value is multiplied by 1000. Scale int32 `protobuf:"varint,2,opt,name=scale,proto3" json:"scale,omitempty"` // contains filtered or unexported fields }
A BigDecimal is defined by two values: an arbitrary precision integer and a 32-bit integer scale. The value of the BigDecimal is defined to be unscaledValue*10^{-scale}.
func (*BigDecimal) Descriptor
deprecated
func (*BigDecimal) Descriptor() ([]byte, []int)
Deprecated: Use BigDecimal.ProtoReflect.Descriptor instead.
func (*BigDecimal) GetDisplayName ¶
func (x *BigDecimal) GetDisplayName() string
func (*BigDecimal) GetIntVal ¶
func (x *BigDecimal) GetIntVal() int64
func (*BigDecimal) GetScale ¶
func (x *BigDecimal) GetScale() int32
func (*BigDecimal) ProtoMessage ¶
func (*BigDecimal) ProtoMessage()
func (*BigDecimal) ProtoReflect ¶
func (x *BigDecimal) ProtoReflect() protoreflect.Message
func (*BigDecimal) Reset ¶
func (x *BigDecimal) Reset()
func (*BigDecimal) String ¶
func (x *BigDecimal) String() string
type FieldConstraint ¶
type FieldConstraint struct { // the constraint value as string, even it is a number Is string `protobuf:"bytes,1,opt,name=is,proto3" json:"is,omitempty"` // The message to display on constraint violation Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
a single fieldconstraint
func (*FieldConstraint) Descriptor
deprecated
func (*FieldConstraint) Descriptor() ([]byte, []int)
Deprecated: Use FieldConstraint.ProtoReflect.Descriptor instead.
func (*FieldConstraint) GetIs ¶
func (x *FieldConstraint) GetIs() string
func (*FieldConstraint) GetMessage ¶
func (x *FieldConstraint) GetMessage() string
func (*FieldConstraint) ProtoMessage ¶
func (*FieldConstraint) ProtoMessage()
func (*FieldConstraint) ProtoReflect ¶
func (x *FieldConstraint) ProtoReflect() protoreflect.Message
func (*FieldConstraint) Reset ¶
func (x *FieldConstraint) Reset()
func (*FieldConstraint) String ¶
func (x *FieldConstraint) String() string
type FieldMeta ¶
type FieldMeta struct { // The default value as JSON string Default string `protobuf:"bytes,3,opt,name=default,proto3" json:"default"` // A hint Hint string `protobuf:"bytes,2,opt,name=hint,proto3" json:"hint"` // The label Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label"` // Fieldoptions Options *Fieldoption `protobuf:"bytes,6,opt,name=options,proto3" json:"options" yaml:"options"` // readonly Readonly bool `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly"` // repeated Repeated bool `protobuf:"varint,5,opt,name=repeated,proto3" json:"repeated"` // Put in type specific metas for your fields here => is google.type.Any Typespecific *map[string]interface{} `protobuf:"bytes,7,opt,name=typespecific,proto3" json:"typespecific"` // contains filtered or unexported fields }
Metas for a field
func (*FieldMeta) Descriptor
deprecated
func (*FieldMeta) GetDefault ¶
func (*FieldMeta) GetOptions ¶
func (x *FieldMeta) GetOptions() *Fieldoption
func (*FieldMeta) GetReadonly ¶
func (*FieldMeta) GetRepeated ¶
func (*FieldMeta) ProtoMessage ¶
func (*FieldMeta) ProtoMessage()
func (*FieldMeta) ProtoReflect ¶
func (x *FieldMeta) ProtoReflect() protoreflect.Message
type Fieldoption ¶
type Fieldoption struct { // Add flags for your field. This can be something like "searchable". // //The flags can be used by generators, ui components,... // Flags []string `protobuf:"bytes,2,rep,name=flags,proto3" json:"flags,omitempty" yaml:"flags"` // a list with options, use furo.optionitem or your own List []*map[string]interface{} `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty" yaml:"list"` // contains filtered or unexported fields }
Metas for a field
func (*Fieldoption) Descriptor
deprecated
func (*Fieldoption) Descriptor() ([]byte, []int)
Deprecated: Use Fieldoption.ProtoReflect.Descriptor instead.
func (*Fieldoption) GetFlags ¶
func (x *Fieldoption) GetFlags() []string
func (*Fieldoption) ProtoMessage ¶
func (*Fieldoption) ProtoMessage()
func (*Fieldoption) ProtoReflect ¶
func (x *Fieldoption) ProtoReflect() protoreflect.Message
func (*Fieldoption) Reset ¶
func (x *Fieldoption) Reset()
func (*Fieldoption) String ¶
func (x *Fieldoption) String() string
type IntegerProperty ¶
type IntegerProperty struct { // Integer data part Data int32 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Integer type with embedded meta
func (*IntegerProperty) Descriptor
deprecated
func (*IntegerProperty) Descriptor() ([]byte, []int)
Deprecated: Use IntegerProperty.ProtoReflect.Descriptor instead.
func (*IntegerProperty) GetData ¶
func (x *IntegerProperty) GetData() int32
func (*IntegerProperty) ProtoMessage ¶
func (*IntegerProperty) ProtoMessage()
func (*IntegerProperty) ProtoReflect ¶
func (x *IntegerProperty) ProtoReflect() protoreflect.Message
func (*IntegerProperty) Reset ¶
func (x *IntegerProperty) Reset()
func (*IntegerProperty) String ¶
func (x *IntegerProperty) String() string
type Link ¶
type Link struct { // link Href string `protobuf:"bytes,3,opt,name=href,proto3" json:"href,omitempty"` // method of curl Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // the relationship Rel string `protobuf:"bytes,1,opt,name=rel,proto3" json:"rel,omitempty"` // name of the service which can handle this link Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` // mime type Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
link
func (*Link) Descriptor
deprecated
func (*Link) GetService ¶
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type Meta ¶
type Meta struct { // fields of meta info Fields map[string]*MetaField `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
meta info
func (*Meta) Descriptor
deprecated
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) ProtoReflect ¶
func (x *Meta) ProtoReflect() protoreflect.Message
type MetaField ¶
type MetaField struct { // constraints for a field Constraints map[string]*FieldConstraint `` /* 163-byte string literal not displayed */ // meta information of a field Meta *FieldMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
fields of meta info
func (*MetaField) Descriptor
deprecated
func (*MetaField) GetConstraints ¶
func (x *MetaField) GetConstraints() map[string]*FieldConstraint
func (*MetaField) ProtoMessage ¶
func (*MetaField) ProtoMessage()
func (*MetaField) ProtoReflect ¶
func (x *MetaField) ProtoReflect() protoreflect.Message
type NumberProperty ¶
type NumberProperty struct { // data part Data float32 `protobuf:"fixed32,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Number type with embedded meta
func (*NumberProperty) Descriptor
deprecated
func (*NumberProperty) Descriptor() ([]byte, []int)
Deprecated: Use NumberProperty.ProtoReflect.Descriptor instead.
func (*NumberProperty) GetData ¶
func (x *NumberProperty) GetData() float32
func (*NumberProperty) ProtoMessage ¶
func (*NumberProperty) ProtoMessage()
func (*NumberProperty) ProtoReflect ¶
func (x *NumberProperty) ProtoReflect() protoreflect.Message
func (*NumberProperty) Reset ¶
func (x *NumberProperty) Reset()
func (*NumberProperty) String ¶
func (x *NumberProperty) String() string
type Optionitem ¶
type Optionitem struct { // String representation DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // is the item selected Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"` // contains filtered or unexported fields }
Items for fieldoption.list
func (*Optionitem) Descriptor
deprecated
func (*Optionitem) Descriptor() ([]byte, []int)
Deprecated: Use Optionitem.ProtoReflect.Descriptor instead.
func (*Optionitem) GetDisplayName ¶
func (x *Optionitem) GetDisplayName() string
func (*Optionitem) GetId ¶
func (x *Optionitem) GetId() string
func (*Optionitem) GetSelected ¶
func (x *Optionitem) GetSelected() bool
func (*Optionitem) ProtoMessage ¶
func (*Optionitem) ProtoMessage()
func (*Optionitem) ProtoReflect ¶
func (x *Optionitem) ProtoReflect() protoreflect.Message
func (*Optionitem) Reset ¶
func (x *Optionitem) Reset()
func (*Optionitem) String ¶
func (x *Optionitem) String() string
type Property ¶
type Property struct { // property code for additional settings Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` // data part of the property Data *any.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // String representation of the property DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional attribute flags e.g. is-overwritable Flags []string `protobuf:"bytes,6,rep,name=flags,proto3" json:"flags,omitempty"` // Id of the property Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Optional flag indicating that the property differs from the original value IsOverwritten bool `protobuf:"varint,7,opt,name=is_overwritten,json=isOverwritten,proto3" json:"is_overwritten,omitempty"` // Meta for the response Meta *Meta `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
TypeSpec to define property values with type information
func (*Property) Descriptor
deprecated
func (*Property) GetDisplayName ¶
func (*Property) GetIsOverwritten ¶
func (*Property) ProtoMessage ¶
func (*Property) ProtoMessage()
func (*Property) ProtoReflect ¶
func (x *Property) ProtoReflect() protoreflect.Message
type Reference ¶
type Reference struct { // String representation of the reference DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Id of the reference Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Hateoas link Link *Link `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
reference
func (*Reference) Descriptor
deprecated
func (*Reference) GetDisplayName ¶
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
type StringOptionProperty ¶
type StringOptionProperty struct { // String representation of val DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The value, Id is used to make working with data-inputs easier Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
String type to use in property
func (*StringOptionProperty) Descriptor
deprecated
func (*StringOptionProperty) Descriptor() ([]byte, []int)
Deprecated: Use StringOptionProperty.ProtoReflect.Descriptor instead.
func (*StringOptionProperty) GetDisplayName ¶
func (x *StringOptionProperty) GetDisplayName() string
func (*StringOptionProperty) GetId ¶
func (x *StringOptionProperty) GetId() string
func (*StringOptionProperty) ProtoMessage ¶
func (*StringOptionProperty) ProtoMessage()
func (*StringOptionProperty) ProtoReflect ¶
func (x *StringOptionProperty) ProtoReflect() protoreflect.Message
func (*StringOptionProperty) Reset ¶
func (x *StringOptionProperty) Reset()
func (*StringOptionProperty) String ¶
func (x *StringOptionProperty) String() string
type StringProperty ¶
type StringProperty struct { // data part Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
String type to use in property
func (*StringProperty) Descriptor
deprecated
func (*StringProperty) Descriptor() ([]byte, []int)
Deprecated: Use StringProperty.ProtoReflect.Descriptor instead.
func (*StringProperty) GetData ¶
func (x *StringProperty) GetData() string
func (*StringProperty) ProtoMessage ¶
func (*StringProperty) ProtoMessage()
func (*StringProperty) ProtoReflect ¶
func (x *StringProperty) ProtoReflect() protoreflect.Message
func (*StringProperty) Reset ¶
func (x *StringProperty) Reset()
func (*StringProperty) String ¶
func (x *StringProperty) String() string