furo

package
v0.13.1-0...-264b242 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

a single fieldconstraint

func (*FieldConstraint) Descriptor

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

func (*FieldConstraint) GetIs

func (m *FieldConstraint) GetIs() string

func (*FieldConstraint) GetMessage

func (m *FieldConstraint) GetMessage() string

func (*FieldConstraint) ProtoMessage

func (*FieldConstraint) ProtoMessage()

func (*FieldConstraint) Reset

func (m *FieldConstraint) Reset()

func (*FieldConstraint) String

func (m *FieldConstraint) String() string

func (*FieldConstraint) XXX_DiscardUnknown

func (m *FieldConstraint) XXX_DiscardUnknown()

func (*FieldConstraint) XXX_Marshal

func (m *FieldConstraint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldConstraint) XXX_Merge

func (m *FieldConstraint) XXX_Merge(src proto.Message)

func (*FieldConstraint) XXX_Size

func (m *FieldConstraint) XXX_Size() int

func (*FieldConstraint) XXX_Unmarshal

func (m *FieldConstraint) XXX_Unmarshal(b []byte) error

type FieldMeta

type FieldMeta struct {
	// The default value as JSON string
	Default string `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"`
	// A hint
	Hint string `protobuf:"bytes,2,opt,name=hint,proto3" json:"hint,omitempty"`
	// The label
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// Fieldoptions
	Options *Fieldoption `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"`
	// readonly
	Readonly bool `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"`
	// repeated
	Repeated bool `protobuf:"varint,5,opt,name=repeated,proto3" json:"repeated,omitempty"`
	// Put in type specific metas for your fields here
	Typespecific         *any.Any `protobuf:"bytes,7,opt,name=typespecific,proto3" json:"typespecific,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Metas for a field

func (*FieldMeta) Descriptor

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

func (*FieldMeta) GetDefault

func (m *FieldMeta) GetDefault() string

func (*FieldMeta) GetHint

func (m *FieldMeta) GetHint() string

func (*FieldMeta) GetLabel

func (m *FieldMeta) GetLabel() string

func (*FieldMeta) GetOptions

func (m *FieldMeta) GetOptions() *Fieldoption

func (*FieldMeta) GetReadonly

func (m *FieldMeta) GetReadonly() bool

func (*FieldMeta) GetRepeated

func (m *FieldMeta) GetRepeated() bool

func (*FieldMeta) GetTypespecific

func (m *FieldMeta) GetTypespecific() *any.Any

func (*FieldMeta) ProtoMessage

func (*FieldMeta) ProtoMessage()

func (*FieldMeta) Reset

func (m *FieldMeta) Reset()

func (*FieldMeta) String

func (m *FieldMeta) String() string

func (*FieldMeta) XXX_DiscardUnknown

func (m *FieldMeta) XXX_DiscardUnknown()

func (*FieldMeta) XXX_Marshal

func (m *FieldMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldMeta) XXX_Merge

func (m *FieldMeta) XXX_Merge(src proto.Message)

func (*FieldMeta) XXX_Size

func (m *FieldMeta) XXX_Size() int

func (*FieldMeta) XXX_Unmarshal

func (m *FieldMeta) XXX_Unmarshal(b []byte) error

type Fieldoption

type Fieldoption struct {
	// a list with options, use furo.optionitem or your own
	List                 []*any.Any `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Metas for a field

func (*Fieldoption) Descriptor

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

func (*Fieldoption) GetList

func (m *Fieldoption) GetList() []*any.Any

func (*Fieldoption) ProtoMessage

func (*Fieldoption) ProtoMessage()

func (*Fieldoption) Reset

func (m *Fieldoption) Reset()

func (*Fieldoption) String

func (m *Fieldoption) String() string

func (*Fieldoption) XXX_DiscardUnknown

func (m *Fieldoption) XXX_DiscardUnknown()

func (*Fieldoption) XXX_Marshal

func (m *Fieldoption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Fieldoption) XXX_Merge

func (m *Fieldoption) XXX_Merge(src proto.Message)

func (*Fieldoption) XXX_Size

func (m *Fieldoption) XXX_Size() int

func (*Fieldoption) XXX_Unmarshal

func (m *Fieldoption) XXX_Unmarshal(b []byte) error

type IntegerProperty

type IntegerProperty struct {
	// Integer data part
	Data                 int32    `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Integer type with embedded meta

func (*IntegerProperty) Descriptor

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

func (*IntegerProperty) GetData

func (m *IntegerProperty) GetData() int32

func (*IntegerProperty) ProtoMessage

func (*IntegerProperty) ProtoMessage()

func (*IntegerProperty) Reset

func (m *IntegerProperty) Reset()

func (*IntegerProperty) String

func (m *IntegerProperty) String() string

func (*IntegerProperty) XXX_DiscardUnknown

func (m *IntegerProperty) XXX_DiscardUnknown()

func (*IntegerProperty) XXX_Marshal

func (m *IntegerProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IntegerProperty) XXX_Merge

func (m *IntegerProperty) XXX_Merge(src proto.Message)

func (*IntegerProperty) XXX_Size

func (m *IntegerProperty) XXX_Size() int

func (*IntegerProperty) XXX_Unmarshal

func (m *IntegerProperty) XXX_Unmarshal(b []byte) error
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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

link

func (*Link) Descriptor

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

func (*Link) GetHref

func (m *Link) GetHref() string

func (*Link) GetMethod

func (m *Link) GetMethod() string

func (*Link) GetRel

func (m *Link) GetRel() string

func (*Link) GetService

func (m *Link) GetService() string

func (*Link) GetType

func (m *Link) GetType() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) Reset

func (m *Link) Reset()

func (*Link) String

func (m *Link) String() string

func (*Link) XXX_DiscardUnknown

func (m *Link) XXX_DiscardUnknown()

func (*Link) XXX_Marshal

func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Link) XXX_Merge

func (m *Link) XXX_Merge(src proto.Message)

func (*Link) XXX_Size

func (m *Link) XXX_Size() int

func (*Link) XXX_Unmarshal

func (m *Link) XXX_Unmarshal(b []byte) error

type Meta

type Meta struct {
	// fields of meta info
	Fields               map[string]*MetaField `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

meta info

func (*Meta) Descriptor

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

func (*Meta) GetFields

func (m *Meta) GetFields() map[string]*MetaField

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) Reset

func (m *Meta) Reset()

func (*Meta) String

func (m *Meta) String() string

func (*Meta) XXX_DiscardUnknown

func (m *Meta) XXX_DiscardUnknown()

func (*Meta) XXX_Marshal

func (m *Meta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Meta) XXX_Merge

func (m *Meta) XXX_Merge(src proto.Message)

func (*Meta) XXX_Size

func (m *Meta) XXX_Size() int

func (*Meta) XXX_Unmarshal

func (m *Meta) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

fields of meta info

func (*MetaField) Descriptor

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

func (*MetaField) GetConstraints

func (m *MetaField) GetConstraints() map[string]*FieldConstraint

func (*MetaField) GetMeta

func (m *MetaField) GetMeta() *FieldMeta

func (*MetaField) ProtoMessage

func (*MetaField) ProtoMessage()

func (*MetaField) Reset

func (m *MetaField) Reset()

func (*MetaField) String

func (m *MetaField) String() string

func (*MetaField) XXX_DiscardUnknown

func (m *MetaField) XXX_DiscardUnknown()

func (*MetaField) XXX_Marshal

func (m *MetaField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetaField) XXX_Merge

func (m *MetaField) XXX_Merge(src proto.Message)

func (*MetaField) XXX_Size

func (m *MetaField) XXX_Size() int

func (*MetaField) XXX_Unmarshal

func (m *MetaField) XXX_Unmarshal(b []byte) error

type NumberProperty

type NumberProperty struct {
	// data part
	Data                 float32  `protobuf:"fixed32,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Number type with embedded meta

func (*NumberProperty) Descriptor

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

func (*NumberProperty) GetData

func (m *NumberProperty) GetData() float32

func (*NumberProperty) ProtoMessage

func (*NumberProperty) ProtoMessage()

func (*NumberProperty) Reset

func (m *NumberProperty) Reset()

func (*NumberProperty) String

func (m *NumberProperty) String() string

func (*NumberProperty) XXX_DiscardUnknown

func (m *NumberProperty) XXX_DiscardUnknown()

func (*NumberProperty) XXX_Marshal

func (m *NumberProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NumberProperty) XXX_Merge

func (m *NumberProperty) XXX_Merge(src proto.Message)

func (*NumberProperty) XXX_Size

func (m *NumberProperty) XXX_Size() int

func (*NumberProperty) XXX_Unmarshal

func (m *NumberProperty) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Items for fieldoption.list

func (*Optionitem) Descriptor

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

func (*Optionitem) GetDisplayName

func (m *Optionitem) GetDisplayName() string

func (*Optionitem) GetId

func (m *Optionitem) GetId() string

func (*Optionitem) GetSelected

func (m *Optionitem) GetSelected() bool

func (*Optionitem) ProtoMessage

func (*Optionitem) ProtoMessage()

func (*Optionitem) Reset

func (m *Optionitem) Reset()

func (*Optionitem) String

func (m *Optionitem) String() string

func (*Optionitem) XXX_DiscardUnknown

func (m *Optionitem) XXX_DiscardUnknown()

func (*Optionitem) XXX_Marshal

func (m *Optionitem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Optionitem) XXX_Merge

func (m *Optionitem) XXX_Merge(src proto.Message)

func (*Optionitem) XXX_Size

func (m *Optionitem) XXX_Size() int

func (*Optionitem) XXX_Unmarshal

func (m *Optionitem) XXX_Unmarshal(b []byte) error

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"`
	// Id of the property
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Meta for the response
	Meta                 *Meta    `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Type to define property values with type information

func (*Property) Descriptor

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

func (*Property) GetCode

func (m *Property) GetCode() string

func (*Property) GetData

func (m *Property) GetData() *any.Any

func (*Property) GetDisplayName

func (m *Property) GetDisplayName() string

func (*Property) GetId

func (m *Property) GetId() string

func (*Property) GetMeta

func (m *Property) GetMeta() *Meta

func (*Property) ProtoMessage

func (*Property) ProtoMessage()

func (*Property) Reset

func (m *Property) Reset()

func (*Property) String

func (m *Property) String() string

func (*Property) XXX_DiscardUnknown

func (m *Property) XXX_DiscardUnknown()

func (*Property) XXX_Marshal

func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Property) XXX_Merge

func (m *Property) XXX_Merge(src proto.Message)

func (*Property) XXX_Size

func (m *Property) XXX_Size() int

func (*Property) XXX_Unmarshal

func (m *Property) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

reference

func (*Reference) Descriptor

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

func (*Reference) GetDisplayName

func (m *Reference) GetDisplayName() string

func (*Reference) GetId

func (m *Reference) GetId() string
func (m *Reference) GetLink() *Link

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) Reset

func (m *Reference) Reset()

func (*Reference) String

func (m *Reference) String() string

func (*Reference) XXX_DiscardUnknown

func (m *Reference) XXX_DiscardUnknown()

func (*Reference) XXX_Marshal

func (m *Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Reference) XXX_Merge

func (m *Reference) XXX_Merge(src proto.Message)

func (*Reference) XXX_Size

func (m *Reference) XXX_Size() int

func (*Reference) XXX_Unmarshal

func (m *Reference) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

String type to use in property

func (*StringOptionProperty) Descriptor

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

func (*StringOptionProperty) GetDisplayName

func (m *StringOptionProperty) GetDisplayName() string

func (*StringOptionProperty) GetId

func (m *StringOptionProperty) GetId() string

func (*StringOptionProperty) ProtoMessage

func (*StringOptionProperty) ProtoMessage()

func (*StringOptionProperty) Reset

func (m *StringOptionProperty) Reset()

func (*StringOptionProperty) String

func (m *StringOptionProperty) String() string

func (*StringOptionProperty) XXX_DiscardUnknown

func (m *StringOptionProperty) XXX_DiscardUnknown()

func (*StringOptionProperty) XXX_Marshal

func (m *StringOptionProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringOptionProperty) XXX_Merge

func (m *StringOptionProperty) XXX_Merge(src proto.Message)

func (*StringOptionProperty) XXX_Size

func (m *StringOptionProperty) XXX_Size() int

func (*StringOptionProperty) XXX_Unmarshal

func (m *StringOptionProperty) XXX_Unmarshal(b []byte) error

type StringProperty

type StringProperty struct {
	// data part
	Data                 string   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

String type to use in property

func (*StringProperty) Descriptor

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

func (*StringProperty) GetData

func (m *StringProperty) GetData() string

func (*StringProperty) ProtoMessage

func (*StringProperty) ProtoMessage()

func (*StringProperty) Reset

func (m *StringProperty) Reset()

func (*StringProperty) String

func (m *StringProperty) String() string

func (*StringProperty) XXX_DiscardUnknown

func (m *StringProperty) XXX_DiscardUnknown()

func (*StringProperty) XXX_Marshal

func (m *StringProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringProperty) XXX_Merge

func (m *StringProperty) XXX_Merge(src proto.Message)

func (*StringProperty) XXX_Size

func (m *StringProperty) XXX_Size() int

func (*StringProperty) XXX_Unmarshal

func (m *StringProperty) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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