Documentation
¶
Index ¶
- Variables
- type Constructor
- func (*Constructor) Descriptor() ([]byte, []int)deprecated
- func (x *Constructor) GetMeta() map[string]*anypb.Any
- func (x *Constructor) GetParameters() map[string]*Type
- func (*Constructor) ProtoMessage()
- func (x *Constructor) ProtoReflect() protoreflect.Message
- func (x *Constructor) Reset()
- func (x *Constructor) String() string
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetMeta() map[string]*anypb.Any
- func (x *Field) GetReadonly() bool
- func (x *Field) GetType() string
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- type Function
- func (*Function) Descriptor() ([]byte, []int)deprecated
- func (x *Function) GetGenericParameters() map[string]*GenericParameter
- func (x *Function) GetMeta() map[string]*anypb.Any
- func (x *Function) GetParameters() map[string]*Type
- func (x *Function) GetReturnType() *Type
- func (*Function) ProtoMessage()
- func (x *Function) ProtoReflect() protoreflect.Message
- func (x *Function) Reset()
- func (x *Function) String() string
- type GenRequest
- type GenResponse
- type GenericParameter
- func (*GenericParameter) Descriptor() ([]byte, []int)deprecated
- func (x *GenericParameter) GetMeta() map[string]*anypb.Any
- func (x *GenericParameter) GetModifiers() []*Modifier
- func (*GenericParameter) ProtoMessage()
- func (x *GenericParameter) ProtoReflect() protoreflect.Message
- func (x *GenericParameter) Reset()
- func (x *GenericParameter) String() string
- type Modifier
- type Spec
- func (*Spec) Descriptor() ([]byte, []int)deprecated
- func (x *Spec) GetDescription() string
- func (x *Spec) GetDisplayName() string
- func (x *Spec) GetFunctions() map[string]*Function
- func (x *Spec) GetLabels() map[string]string
- func (x *Spec) GetMeta() map[string]*anypb.Any
- func (x *Spec) GetName() string
- func (x *Spec) GetSource() string
- func (x *Spec) GetTypes() map[string]*Type
- func (x *Spec) GetVersion() string
- func (*Spec) ProtoMessage()
- func (x *Spec) ProtoReflect() protoreflect.Message
- func (x *Spec) Reset()
- func (x *Spec) String() string
- type TestRequest
- type TestResponse
- type Type
- func (*Type) Descriptor() ([]byte, []int)deprecated
- func (x *Type) GetConstructor() *Constructor
- func (x *Type) GetFields() map[string]*Field
- func (x *Type) GetGenericParameters() map[string]*GenericParameter
- func (x *Type) GetMeta() map[string]*anypb.Any
- func (x *Type) GetMethods() map[string]*Function
- func (x *Type) GetType() string
- func (*Type) ProtoMessage()
- func (x *Type) ProtoReflect() protoreflect.Message
- func (x *Type) Reset()
- func (x *Type) String() string
- type Unit
Constants ¶
This section is empty.
Variables ¶
View Source
var File_unmango_dev_tdl_v1alpha1_conformance_proto protoreflect.FileDescriptor
View Source
var File_unmango_dev_tdl_v1alpha1_gen_proto protoreflect.FileDescriptor
View Source
var File_unmango_dev_tdl_v1alpha1_spec_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Constructor ¶
type Constructor struct {
Parameters map[string]*Type `` /* 161-byte string literal not displayed */
Meta map[string]*anypb.Any `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Constructor) Descriptor
deprecated
func (*Constructor) Descriptor() ([]byte, []int)
Deprecated: Use Constructor.ProtoReflect.Descriptor instead.
func (*Constructor) GetParameters ¶
func (x *Constructor) GetParameters() map[string]*Type
func (*Constructor) ProtoMessage ¶
func (*Constructor) ProtoMessage()
func (*Constructor) ProtoReflect ¶
func (x *Constructor) ProtoReflect() protoreflect.Message
func (*Constructor) Reset ¶
func (x *Constructor) Reset()
func (*Constructor) String ¶
func (x *Constructor) String() string
type Field ¶
type Field struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Readonly bool `protobuf:"varint,2,opt,name=readonly,proto3" json:"readonly,omitempty"`
Meta map[string]*anypb.Any `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Field) Descriptor
deprecated
func (*Field) GetReadonly ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type Function ¶
type Function struct {
ReturnType *Type `protobuf:"bytes,1,opt,name=return_type,json=returnType,proto3" json:"return_type,omitempty"`
Parameters map[string]*Type `` /* 161-byte string literal not displayed */
GenericParameters map[string]*GenericParameter `` /* 200-byte string literal not displayed */
Meta map[string]*anypb.Any `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Function) Descriptor
deprecated
func (*Function) GetGenericParameters ¶
func (x *Function) GetGenericParameters() map[string]*GenericParameter
func (*Function) GetParameters ¶
func (*Function) GetReturnType ¶
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶
func (x *Function) ProtoReflect() protoreflect.Message
type GenRequest ¶
type GenRequest struct {
Spec *Spec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*GenRequest) Descriptor
deprecated
func (*GenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenRequest.ProtoReflect.Descriptor instead.
func (*GenRequest) GetSpec ¶
func (x *GenRequest) GetSpec() *Spec
func (*GenRequest) ProtoMessage ¶
func (*GenRequest) ProtoMessage()
func (*GenRequest) ProtoReflect ¶
func (x *GenRequest) ProtoReflect() protoreflect.Message
func (*GenRequest) Reset ¶
func (x *GenRequest) Reset()
func (*GenRequest) String ¶
func (x *GenRequest) String() string
type GenResponse ¶
type GenResponse struct {
Output map[string]*Unit `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GenResponse) Descriptor
deprecated
func (*GenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenResponse.ProtoReflect.Descriptor instead.
func (*GenResponse) GetOutput ¶
func (x *GenResponse) GetOutput() map[string]*Unit
func (*GenResponse) ProtoMessage ¶
func (*GenResponse) ProtoMessage()
func (*GenResponse) ProtoReflect ¶
func (x *GenResponse) ProtoReflect() protoreflect.Message
func (*GenResponse) Reset ¶
func (x *GenResponse) Reset()
func (*GenResponse) String ¶
func (x *GenResponse) String() string
type GenericParameter ¶
type GenericParameter struct {
Modifiers []*Modifier `protobuf:"bytes,1,rep,name=modifiers,proto3" json:"modifiers,omitempty"`
Meta map[string]*anypb.Any `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GenericParameter) Descriptor
deprecated
func (*GenericParameter) Descriptor() ([]byte, []int)
Deprecated: Use GenericParameter.ProtoReflect.Descriptor instead.
func (*GenericParameter) GetModifiers ¶
func (x *GenericParameter) GetModifiers() []*Modifier
func (*GenericParameter) ProtoMessage ¶
func (*GenericParameter) ProtoMessage()
func (*GenericParameter) ProtoReflect ¶
func (x *GenericParameter) ProtoReflect() protoreflect.Message
func (*GenericParameter) Reset ¶
func (x *GenericParameter) Reset()
func (*GenericParameter) String ¶
func (x *GenericParameter) String() string
type Modifier ¶
type Modifier struct {
Meta map[string]*anypb.Any `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Modifier) Descriptor
deprecated
func (*Modifier) ProtoMessage ¶
func (*Modifier) ProtoMessage()
func (*Modifier) ProtoReflect ¶
func (x *Modifier) ProtoReflect() protoreflect.Message
type Spec ¶
type Spec struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
Labels map[string]string `` /* 153-byte string literal not displayed */
Types map[string]*Type `` /* 151-byte string literal not displayed */
Functions map[string]*Function `` /* 159-byte string literal not displayed */
Meta map[string]*anypb.Any `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Spec) Descriptor
deprecated
func (*Spec) GetDescription ¶
func (*Spec) GetDisplayName ¶
func (*Spec) GetFunctions ¶
func (*Spec) GetVersion ¶
func (*Spec) ProtoMessage ¶
func (*Spec) ProtoMessage()
func (*Spec) ProtoReflect ¶
func (x *Spec) ProtoReflect() protoreflect.Message
type TestRequest ¶
type TestRequest struct {
// contains filtered or unexported fields
}
func (*TestRequest) Descriptor
deprecated
func (*TestRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
func (*TestRequest) ProtoMessage ¶
func (*TestRequest) ProtoMessage()
func (*TestRequest) ProtoReflect ¶
func (x *TestRequest) ProtoReflect() protoreflect.Message
func (*TestRequest) Reset ¶
func (x *TestRequest) Reset()
func (*TestRequest) String ¶
func (x *TestRequest) String() string
type TestResponse ¶
type TestResponse struct {
// contains filtered or unexported fields
}
func (*TestResponse) Descriptor
deprecated
func (*TestResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
func (*TestResponse) ProtoMessage ¶
func (*TestResponse) ProtoMessage()
func (*TestResponse) ProtoReflect ¶
func (x *TestResponse) ProtoReflect() protoreflect.Message
func (*TestResponse) Reset ¶
func (x *TestResponse) Reset()
func (*TestResponse) String ¶
func (x *TestResponse) String() string
type Type ¶
type Type struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Fields map[string]*Field `` /* 153-byte string literal not displayed */
Methods map[string]*Function `` /* 155-byte string literal not displayed */
GenericParameters map[string]*GenericParameter `` /* 200-byte string literal not displayed */
Constructor *Constructor `protobuf:"bytes,5,opt,name=constructor,proto3,oneof" json:"constructor,omitempty"`
Meta map[string]*anypb.Any `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Type) Descriptor
deprecated
func (*Type) GetConstructor ¶
func (x *Type) GetConstructor() *Constructor
func (*Type) GetGenericParameters ¶
func (x *Type) GetGenericParameters() map[string]*GenericParameter
func (*Type) GetMethods ¶
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
func (*Type) ProtoReflect ¶
func (x *Type) ProtoReflect() protoreflect.Message
type Unit ¶
type Unit struct {
Generated []byte `protobuf:"bytes,1,opt,name=generated,proto3" json:"generated,omitempty"`
// contains filtered or unexported fields
}
func (*Unit) Descriptor
deprecated
func (*Unit) GetGenerated ¶
func (*Unit) ProtoMessage ¶
func (*Unit) ProtoMessage()
func (*Unit) ProtoReflect ¶
func (x *Unit) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.