Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddServicesToResolver ¶ added in v1.5.0
func AddServicesToResolver(slist map[string]*serviceAst.ServiceAst)
func AddTypesToResolver ¶ added in v1.5.0
func TransformCPlusStyleToAbsolutTypes ¶ added in v1.5.0
func TransformCPlusStyleToAbsolutTypes()
Types ¶
type ClientServiceList ¶ added in v1.5.0
func GetAllServices ¶ added in v1.5.0
func GetAllServices() ClientServiceList
type ClientTypeList ¶ added in v1.5.0
func GetAllTypes ¶ added in v1.5.0
func GetAllTypes() ClientTypeList
type CompressedService ¶
type CompressedService struct { Data *specSpec.Servicereqres `json:"data,omitempty" yaml:"data,omitempty"` Deeplink *Deeplink `json:"deeplink,omitempty" yaml:"deeplink,omitempty"` Query *orderedmap.OrderedMap `json:"query,omitempty" yaml:"query,omitempty"` }
type Field ¶
type Field struct { // the field type, https://developers.google.com/protocol-buffers/docs/proto3#scalar Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" yaml:"type"` // meta information for the client, like label, default, repeated, options... Meta *specSpec.FieldMeta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta" yaml:"meta"` // constraints for a field, like min{}, max{}, step{} Constraints map[string]*specSpec.FieldConstraint `` /* 165-byte string literal not displayed */ // information for the proto generator, like number, type XProto *specSpec.Fieldproto `json:"__proto" yaml:"__proto"` }
type Service ¶
type Service struct { // Name of the type Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" yaml:"name"` // services => which is a CompressedService Services *orderedmap.OrderedMap `json:"services" yaml:"services" ` }
type Type ¶
type Type struct { // Name of the type Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" yaml:"name"` // the type Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" yaml:"type"` // fields of a type Fields *orderedmap.OrderedMap `` /* 153-byte string literal not displayed */ }
Defines a type in the furo env spec
func CreateClientTypeFromAstType ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.