Documentation ¶
Index ¶
- Variables
- type CircuitView
- func (*CircuitView) Descriptor() ([]byte, []int)deprecated
- func (x *CircuitView) GetTree() *Tree
- func (msg *CircuitView) MarshalJSON() ([]byte, error)
- func (m *CircuitView) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CircuitView) MarshalToVT(dAtA []byte) (int, error)
- func (m *CircuitView) MarshalVT() (dAtA []byte, err error)
- func (*CircuitView) ProtoMessage()
- func (x *CircuitView) ProtoReflect() protoreflect.Message
- func (x *CircuitView) Reset()
- func (m *CircuitView) SizeVT() (n int)
- func (x *CircuitView) String() string
- func (msg *CircuitView) UnmarshalJSON(b []byte) error
- func (m *CircuitView) UnmarshalVT(dAtA []byte) error
- func (m *CircuitView) Validate() error
- func (m *CircuitView) ValidateAll() error
- type CircuitViewMultiError
- type CircuitViewValidationError
- func (e CircuitViewValidationError) Cause() error
- func (e CircuitViewValidationError) Error() string
- func (e CircuitViewValidationError) ErrorName() string
- func (e CircuitViewValidationError) Field() string
- func (e CircuitViewValidationError) Key() bool
- func (e CircuitViewValidationError) Reason() string
- type ComponentView
- func (*ComponentView) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentView) GetComponent() *structpb.Struct
- func (x *ComponentView) GetComponentDescription() string
- func (x *ComponentView) GetComponentId() string
- func (x *ComponentView) GetComponentName() string
- func (x *ComponentView) GetComponentType() string
- func (x *ComponentView) GetInPorts() []*PortView
- func (x *ComponentView) GetOutPorts() []*PortView
- func (msg *ComponentView) MarshalJSON() ([]byte, error)
- func (m *ComponentView) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ComponentView) MarshalToVT(dAtA []byte) (int, error)
- func (m *ComponentView) MarshalVT() (dAtA []byte, err error)
- func (*ComponentView) ProtoMessage()
- func (x *ComponentView) ProtoReflect() protoreflect.Message
- func (x *ComponentView) Reset()
- func (m *ComponentView) SizeVT() (n int)
- func (x *ComponentView) String() string
- func (msg *ComponentView) UnmarshalJSON(b []byte) error
- func (m *ComponentView) UnmarshalVT(dAtA []byte) error
- func (m *ComponentView) Validate() error
- func (m *ComponentView) ValidateAll() error
- type ComponentViewMultiError
- type ComponentViewValidationError
- func (e ComponentViewValidationError) Cause() error
- func (e ComponentViewValidationError) Error() string
- func (e ComponentViewValidationError) ErrorName() string
- func (e ComponentViewValidationError) Field() string
- func (e ComponentViewValidationError) Key() bool
- func (e ComponentViewValidationError) Reason() string
- type Graph
- func (*Graph) Descriptor() ([]byte, []int)deprecated
- func (x *Graph) GetExternalComponents() []*ComponentView
- func (x *Graph) GetExternalLinks() []*Link
- func (x *Graph) GetInternalComponents() []*ComponentView
- func (x *Graph) GetInternalLinks() []*Link
- func (msg *Graph) MarshalJSON() ([]byte, error)
- func (m *Graph) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Graph) MarshalToVT(dAtA []byte) (int, error)
- func (m *Graph) MarshalVT() (dAtA []byte, err error)
- func (*Graph) ProtoMessage()
- func (x *Graph) ProtoReflect() protoreflect.Message
- func (x *Graph) Reset()
- func (m *Graph) SizeVT() (n int)
- func (x *Graph) String() string
- func (msg *Graph) UnmarshalJSON(b []byte) error
- func (m *Graph) UnmarshalVT(dAtA []byte) error
- func (m *Graph) Validate() error
- func (m *Graph) ValidateAll() error
- type GraphMultiError
- type GraphValidationError
- type Link
- func (*Link) Descriptor() ([]byte, []int)deprecated
- func (x *Link) GetConstantValue() float64
- func (x *Link) GetLooped() string
- func (x *Link) GetSignalName() string
- func (x *Link) GetSource() *SourceTarget
- func (x *Link) GetSubCircuitId() string
- func (x *Link) GetTarget() *SourceTarget
- func (m *Link) GetValue() isLink_Value
- func (msg *Link) MarshalJSON() ([]byte, error)
- func (m *Link) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Link) MarshalToVT(dAtA []byte) (int, error)
- func (m *Link) MarshalVT() (dAtA []byte, err error)
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (m *Link) SizeVT() (n int)
- func (x *Link) String() string
- func (msg *Link) UnmarshalJSON(b []byte) error
- func (m *Link) UnmarshalVT(dAtA []byte) error
- func (m *Link) Validate() error
- func (m *Link) ValidateAll() error
- type LinkMultiError
- type LinkValidationError
- type Link_ConstantValue
- type Link_SignalName
- type PortView
- func (*PortView) Descriptor() ([]byte, []int)deprecated
- func (x *PortView) GetConstantValue() float64
- func (x *PortView) GetLooped() bool
- func (x *PortView) GetPortName() string
- func (x *PortView) GetSignalName() string
- func (x *PortView) GetSubCircuitId() string
- func (m *PortView) GetValue() isPortView_Value
- func (msg *PortView) MarshalJSON() ([]byte, error)
- func (m *PortView) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PortView) MarshalToVT(dAtA []byte) (int, error)
- func (m *PortView) MarshalVT() (dAtA []byte, err error)
- func (*PortView) ProtoMessage()
- func (x *PortView) ProtoReflect() protoreflect.Message
- func (x *PortView) Reset()
- func (m *PortView) SizeVT() (n int)
- func (x *PortView) String() string
- func (msg *PortView) UnmarshalJSON(b []byte) error
- func (m *PortView) UnmarshalVT(dAtA []byte) error
- func (m *PortView) Validate() error
- func (m *PortView) ValidateAll() error
- type PortViewMultiError
- type PortViewValidationError
- type PortView_ConstantValue
- type PortView_SignalName
- type SignalMetricsInfo
- func (*SignalMetricsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SignalMetricsInfo) GetPolicyHash() string
- func (x *SignalMetricsInfo) GetPolicyName() string
- func (x *SignalMetricsInfo) GetSignalReading() []*SignalReading
- func (msg *SignalMetricsInfo) MarshalJSON() ([]byte, error)
- func (m *SignalMetricsInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SignalMetricsInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *SignalMetricsInfo) MarshalVT() (dAtA []byte, err error)
- func (*SignalMetricsInfo) ProtoMessage()
- func (x *SignalMetricsInfo) ProtoReflect() protoreflect.Message
- func (x *SignalMetricsInfo) Reset()
- func (m *SignalMetricsInfo) SizeVT() (n int)
- func (x *SignalMetricsInfo) String() string
- func (msg *SignalMetricsInfo) UnmarshalJSON(b []byte) error
- func (m *SignalMetricsInfo) UnmarshalVT(dAtA []byte) error
- func (m *SignalMetricsInfo) Validate() error
- func (m *SignalMetricsInfo) ValidateAll() error
- type SignalMetricsInfoMultiError
- type SignalMetricsInfoValidationError
- func (e SignalMetricsInfoValidationError) Cause() error
- func (e SignalMetricsInfoValidationError) Error() string
- func (e SignalMetricsInfoValidationError) ErrorName() string
- func (e SignalMetricsInfoValidationError) Field() string
- func (e SignalMetricsInfoValidationError) Key() bool
- func (e SignalMetricsInfoValidationError) Reason() string
- type SignalReading
- func (*SignalReading) Descriptor() ([]byte, []int)deprecated
- func (x *SignalReading) GetSignalName() string
- func (x *SignalReading) GetValid() bool
- func (x *SignalReading) GetValue() float64
- func (msg *SignalReading) MarshalJSON() ([]byte, error)
- func (m *SignalReading) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SignalReading) MarshalToVT(dAtA []byte) (int, error)
- func (m *SignalReading) MarshalVT() (dAtA []byte, err error)
- func (*SignalReading) ProtoMessage()
- func (x *SignalReading) ProtoReflect() protoreflect.Message
- func (x *SignalReading) Reset()
- func (m *SignalReading) SizeVT() (n int)
- func (x *SignalReading) String() string
- func (msg *SignalReading) UnmarshalJSON(b []byte) error
- func (m *SignalReading) UnmarshalVT(dAtA []byte) error
- func (m *SignalReading) Validate() error
- func (m *SignalReading) ValidateAll() error
- type SignalReadingMultiError
- type SignalReadingValidationError
- func (e SignalReadingValidationError) Cause() error
- func (e SignalReadingValidationError) Error() string
- func (e SignalReadingValidationError) ErrorName() string
- func (e SignalReadingValidationError) Field() string
- func (e SignalReadingValidationError) Key() bool
- func (e SignalReadingValidationError) Reason() string
- type SourceTarget
- func (*SourceTarget) Descriptor() ([]byte, []int)deprecated
- func (x *SourceTarget) GetComponentId() string
- func (x *SourceTarget) GetPortName() string
- func (msg *SourceTarget) MarshalJSON() ([]byte, error)
- func (m *SourceTarget) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *SourceTarget) MarshalToVT(dAtA []byte) (int, error)
- func (m *SourceTarget) MarshalVT() (dAtA []byte, err error)
- func (*SourceTarget) ProtoMessage()
- func (x *SourceTarget) ProtoReflect() protoreflect.Message
- func (x *SourceTarget) Reset()
- func (m *SourceTarget) SizeVT() (n int)
- func (x *SourceTarget) String() string
- func (msg *SourceTarget) UnmarshalJSON(b []byte) error
- func (m *SourceTarget) UnmarshalVT(dAtA []byte) error
- func (m *SourceTarget) Validate() error
- func (m *SourceTarget) ValidateAll() error
- type SourceTargetMultiError
- type SourceTargetValidationError
- func (e SourceTargetValidationError) Cause() error
- func (e SourceTargetValidationError) Error() string
- func (e SourceTargetValidationError) ErrorName() string
- func (e SourceTargetValidationError) Field() string
- func (e SourceTargetValidationError) Key() bool
- func (e SourceTargetValidationError) Reason() string
- type Tree
- func (*Tree) Descriptor() ([]byte, []int)deprecated
- func (x *Tree) GetActuators() []*ComponentView
- func (x *Tree) GetChildren() []*Tree
- func (x *Tree) GetGraph() *Graph
- func (x *Tree) GetNode() *ComponentView
- func (msg *Tree) MarshalJSON() ([]byte, error)
- func (m *Tree) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Tree) MarshalToVT(dAtA []byte) (int, error)
- func (m *Tree) MarshalVT() (dAtA []byte, err error)
- func (*Tree) ProtoMessage()
- func (x *Tree) ProtoReflect() protoreflect.Message
- func (x *Tree) Reset()
- func (m *Tree) SizeVT() (n int)
- func (x *Tree) String() string
- func (msg *Tree) UnmarshalJSON(b []byte) error
- func (m *Tree) UnmarshalVT(dAtA []byte) error
- func (m *Tree) Validate() error
- func (m *Tree) ValidateAll() error
- type TreeMultiError
- type TreeValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_aperture_policy_monitoring_v1_policy_view_proto protoreflect.FileDescriptor
var File_aperture_policy_monitoring_v1_signal_metrics_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CircuitView ¶
type CircuitView struct { Tree *Tree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"` // contains filtered or unexported fields }
func (*CircuitView) Descriptor
deprecated
func (*CircuitView) Descriptor() ([]byte, []int)
Deprecated: Use CircuitView.ProtoReflect.Descriptor instead.
func (*CircuitView) GetTree ¶
func (x *CircuitView) GetTree() *Tree
func (*CircuitView) MarshalJSON ¶
func (msg *CircuitView) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CircuitView) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *CircuitView) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CircuitView) MarshalToVT ¶ added in v2.7.0
func (m *CircuitView) MarshalToVT(dAtA []byte) (int, error)
func (*CircuitView) MarshalVT ¶ added in v2.7.0
func (m *CircuitView) MarshalVT() (dAtA []byte, err error)
func (*CircuitView) ProtoMessage ¶
func (*CircuitView) ProtoMessage()
func (*CircuitView) ProtoReflect ¶
func (x *CircuitView) ProtoReflect() protoreflect.Message
func (*CircuitView) Reset ¶
func (x *CircuitView) Reset()
func (*CircuitView) SizeVT ¶ added in v2.7.0
func (m *CircuitView) SizeVT() (n int)
func (*CircuitView) String ¶
func (x *CircuitView) String() string
func (*CircuitView) UnmarshalJSON ¶
func (msg *CircuitView) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*CircuitView) UnmarshalVT ¶ added in v2.7.0
func (m *CircuitView) UnmarshalVT(dAtA []byte) error
func (*CircuitView) Validate ¶
func (m *CircuitView) Validate() error
Validate checks the field values on CircuitView with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CircuitView) ValidateAll ¶
func (m *CircuitView) ValidateAll() error
ValidateAll checks the field values on CircuitView with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CircuitViewMultiError, or nil if none found.
type CircuitViewMultiError ¶
type CircuitViewMultiError []error
CircuitViewMultiError is an error wrapping multiple validation errors returned by CircuitView.ValidateAll() if the designated constraints aren't met.
func (CircuitViewMultiError) AllErrors ¶
func (m CircuitViewMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CircuitViewMultiError) Error ¶
func (m CircuitViewMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CircuitViewValidationError ¶
type CircuitViewValidationError struct {
// contains filtered or unexported fields
}
CircuitViewValidationError is the validation error returned by CircuitView.Validate if the designated constraints aren't met.
func (CircuitViewValidationError) Cause ¶
func (e CircuitViewValidationError) Cause() error
Cause function returns cause value.
func (CircuitViewValidationError) Error ¶
func (e CircuitViewValidationError) Error() string
Error satisfies the builtin error interface
func (CircuitViewValidationError) ErrorName ¶
func (e CircuitViewValidationError) ErrorName() string
ErrorName returns error name.
func (CircuitViewValidationError) Field ¶
func (e CircuitViewValidationError) Field() string
Field function returns field value.
func (CircuitViewValidationError) Key ¶
func (e CircuitViewValidationError) Key() bool
Key function returns key value.
func (CircuitViewValidationError) Reason ¶
func (e CircuitViewValidationError) Reason() string
Reason function returns reason value.
type ComponentView ¶
type ComponentView struct { ComponentId string `protobuf:"bytes,1,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"` ComponentName string `protobuf:"bytes,2,opt,name=component_name,json=componentName,proto3" json:"component_name,omitempty"` ComponentType string `protobuf:"bytes,3,opt,name=component_type,json=componentType,proto3" json:"component_type,omitempty"` ComponentDescription string `protobuf:"bytes,4,opt,name=component_description,json=componentDescription,proto3" json:"component_description,omitempty"` Component *structpb.Struct `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"` InPorts []*PortView `protobuf:"bytes,6,rep,name=in_ports,json=inPorts,proto3" json:"in_ports,omitempty"` OutPorts []*PortView `protobuf:"bytes,7,rep,name=out_ports,json=outPorts,proto3" json:"out_ports,omitempty"` // contains filtered or unexported fields }
func (*ComponentView) Descriptor
deprecated
func (*ComponentView) Descriptor() ([]byte, []int)
Deprecated: Use ComponentView.ProtoReflect.Descriptor instead.
func (*ComponentView) GetComponent ¶
func (x *ComponentView) GetComponent() *structpb.Struct
func (*ComponentView) GetComponentDescription ¶
func (x *ComponentView) GetComponentDescription() string
func (*ComponentView) GetComponentId ¶
func (x *ComponentView) GetComponentId() string
func (*ComponentView) GetComponentName ¶
func (x *ComponentView) GetComponentName() string
func (*ComponentView) GetComponentType ¶
func (x *ComponentView) GetComponentType() string
func (*ComponentView) GetInPorts ¶
func (x *ComponentView) GetInPorts() []*PortView
func (*ComponentView) GetOutPorts ¶
func (x *ComponentView) GetOutPorts() []*PortView
func (*ComponentView) MarshalJSON ¶
func (msg *ComponentView) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ComponentView) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *ComponentView) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ComponentView) MarshalToVT ¶ added in v2.7.0
func (m *ComponentView) MarshalToVT(dAtA []byte) (int, error)
func (*ComponentView) MarshalVT ¶ added in v2.7.0
func (m *ComponentView) MarshalVT() (dAtA []byte, err error)
func (*ComponentView) ProtoMessage ¶
func (*ComponentView) ProtoMessage()
func (*ComponentView) ProtoReflect ¶
func (x *ComponentView) ProtoReflect() protoreflect.Message
func (*ComponentView) Reset ¶
func (x *ComponentView) Reset()
func (*ComponentView) SizeVT ¶ added in v2.7.0
func (m *ComponentView) SizeVT() (n int)
func (*ComponentView) String ¶
func (x *ComponentView) String() string
func (*ComponentView) UnmarshalJSON ¶
func (msg *ComponentView) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ComponentView) UnmarshalVT ¶ added in v2.7.0
func (m *ComponentView) UnmarshalVT(dAtA []byte) error
func (*ComponentView) Validate ¶
func (m *ComponentView) Validate() error
Validate checks the field values on ComponentView with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ComponentView) ValidateAll ¶
func (m *ComponentView) ValidateAll() error
ValidateAll checks the field values on ComponentView with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ComponentViewMultiError, or nil if none found.
type ComponentViewMultiError ¶
type ComponentViewMultiError []error
ComponentViewMultiError is an error wrapping multiple validation errors returned by ComponentView.ValidateAll() if the designated constraints aren't met.
func (ComponentViewMultiError) AllErrors ¶
func (m ComponentViewMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ComponentViewMultiError) Error ¶
func (m ComponentViewMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ComponentViewValidationError ¶
type ComponentViewValidationError struct {
// contains filtered or unexported fields
}
ComponentViewValidationError is the validation error returned by ComponentView.Validate if the designated constraints aren't met.
func (ComponentViewValidationError) Cause ¶
func (e ComponentViewValidationError) Cause() error
Cause function returns cause value.
func (ComponentViewValidationError) Error ¶
func (e ComponentViewValidationError) Error() string
Error satisfies the builtin error interface
func (ComponentViewValidationError) ErrorName ¶
func (e ComponentViewValidationError) ErrorName() string
ErrorName returns error name.
func (ComponentViewValidationError) Field ¶
func (e ComponentViewValidationError) Field() string
Field function returns field value.
func (ComponentViewValidationError) Key ¶
func (e ComponentViewValidationError) Key() bool
Key function returns key value.
func (ComponentViewValidationError) Reason ¶
func (e ComponentViewValidationError) Reason() string
Reason function returns reason value.
type Graph ¶
type Graph struct { InternalComponents []*ComponentView `protobuf:"bytes,1,rep,name=internal_components,json=internalComponents,proto3" json:"internal_components,omitempty"` ExternalComponents []*ComponentView `protobuf:"bytes,2,rep,name=external_components,json=externalComponents,proto3" json:"external_components,omitempty"` InternalLinks []*Link `protobuf:"bytes,3,rep,name=internal_links,json=internalLinks,proto3" json:"internal_links,omitempty"` ExternalLinks []*Link `protobuf:"bytes,4,rep,name=external_links,json=externalLinks,proto3" json:"external_links,omitempty"` // contains filtered or unexported fields }
func (*Graph) Descriptor
deprecated
func (*Graph) GetExternalComponents ¶
func (x *Graph) GetExternalComponents() []*ComponentView
func (*Graph) GetExternalLinks ¶
func (*Graph) GetInternalComponents ¶
func (x *Graph) GetInternalComponents() []*ComponentView
func (*Graph) GetInternalLinks ¶
func (*Graph) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Graph) MarshalToSizedBufferVT ¶ added in v2.7.0
func (*Graph) ProtoMessage ¶
func (*Graph) ProtoMessage()
func (*Graph) ProtoReflect ¶
func (x *Graph) ProtoReflect() protoreflect.Message
func (*Graph) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Graph) UnmarshalVT ¶ added in v2.7.0
func (*Graph) Validate ¶
Validate checks the field values on Graph with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Graph) ValidateAll ¶
ValidateAll checks the field values on Graph with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GraphMultiError, or nil if none found.
type GraphMultiError ¶
type GraphMultiError []error
GraphMultiError is an error wrapping multiple validation errors returned by Graph.ValidateAll() if the designated constraints aren't met.
func (GraphMultiError) AllErrors ¶
func (m GraphMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GraphMultiError) Error ¶
func (m GraphMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GraphValidationError ¶
type GraphValidationError struct {
// contains filtered or unexported fields
}
GraphValidationError is the validation error returned by Graph.Validate if the designated constraints aren't met.
func (GraphValidationError) Cause ¶
func (e GraphValidationError) Cause() error
Cause function returns cause value.
func (GraphValidationError) Error ¶
func (e GraphValidationError) Error() string
Error satisfies the builtin error interface
func (GraphValidationError) ErrorName ¶
func (e GraphValidationError) ErrorName() string
ErrorName returns error name.
func (GraphValidationError) Field ¶
func (e GraphValidationError) Field() string
Field function returns field value.
func (GraphValidationError) Key ¶
func (e GraphValidationError) Key() bool
Key function returns key value.
func (GraphValidationError) Reason ¶
func (e GraphValidationError) Reason() string
Reason function returns reason value.
type Link ¶
type Link struct { Source *SourceTarget `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Target *SourceTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // Types that are assignable to Value: // // *Link_SignalName // *Link_ConstantValue Value isLink_Value `protobuf_oneof:"value"` Looped string `protobuf:"bytes,5,opt,name=looped,proto3" json:"looped,omitempty"` SubCircuitId string `protobuf:"bytes,6,opt,name=sub_circuit_id,json=subCircuitId,proto3" json:"sub_circuit_id,omitempty"` // contains filtered or unexported fields }
Link is a connection between Components.
func (*Link) Descriptor
deprecated
func (*Link) GetConstantValue ¶
func (*Link) GetSignalName ¶
func (*Link) GetSource ¶
func (x *Link) GetSource() *SourceTarget
func (*Link) GetSubCircuitId ¶
func (*Link) GetTarget ¶
func (x *Link) GetTarget() *SourceTarget
func (*Link) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Link) MarshalToSizedBufferVT ¶ added in v2.7.0
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
func (*Link) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Link) UnmarshalVT ¶ added in v2.7.0
func (*Link) Validate ¶
Validate checks the field values on Link with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Link) ValidateAll ¶
ValidateAll checks the field values on Link with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LinkMultiError, or nil if none found.
type LinkMultiError ¶
type LinkMultiError []error
LinkMultiError is an error wrapping multiple validation errors returned by Link.ValidateAll() if the designated constraints aren't met.
func (LinkMultiError) AllErrors ¶
func (m LinkMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LinkMultiError) Error ¶
func (m LinkMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LinkValidationError ¶
type LinkValidationError struct {
// contains filtered or unexported fields
}
LinkValidationError is the validation error returned by Link.Validate if the designated constraints aren't met.
func (LinkValidationError) Cause ¶
func (e LinkValidationError) Cause() error
Cause function returns cause value.
func (LinkValidationError) Error ¶
func (e LinkValidationError) Error() string
Error satisfies the builtin error interface
func (LinkValidationError) ErrorName ¶
func (e LinkValidationError) ErrorName() string
ErrorName returns error name.
func (LinkValidationError) Field ¶
func (e LinkValidationError) Field() string
Field function returns field value.
func (LinkValidationError) Key ¶
func (e LinkValidationError) Key() bool
Key function returns key value.
func (LinkValidationError) Reason ¶
func (e LinkValidationError) Reason() string
Reason function returns reason value.
type Link_ConstantValue ¶
type Link_ConstantValue struct { // Constant value at an incoming Port ConstantValue float64 `protobuf:"fixed64,4,opt,name=constant_value,json=constantValue,proto3,oneof"` }
func (*Link_ConstantValue) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *Link_ConstantValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Link_ConstantValue) MarshalToVT ¶ added in v2.7.0
func (m *Link_ConstantValue) MarshalToVT(dAtA []byte) (int, error)
func (*Link_ConstantValue) SizeVT ¶ added in v2.7.0
func (m *Link_ConstantValue) SizeVT() (n int)
type Link_SignalName ¶
type Link_SignalName struct { // Name of the Signal on the Port. SignalName string `protobuf:"bytes,3,opt,name=signal_name,json=signalName,proto3,oneof"` }
func (*Link_SignalName) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *Link_SignalName) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Link_SignalName) MarshalToVT ¶ added in v2.7.0
func (m *Link_SignalName) MarshalToVT(dAtA []byte) (int, error)
func (*Link_SignalName) SizeVT ¶ added in v2.7.0
func (m *Link_SignalName) SizeVT() (n int)
type PortView ¶
type PortView struct { // Port name PortName string `protobuf:"bytes,1,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"` // Types that are assignable to Value: // // *PortView_SignalName // *PortView_ConstantValue Value isPortView_Value `protobuf_oneof:"value"` // True if port is looped. Looped bool `protobuf:"varint,4,opt,name=looped,proto3" json:"looped,omitempty"` // Sub circuit id, applicable only if value is of type signal_name. SubCircuitId string `protobuf:"bytes,5,opt,name=sub_circuit_id,json=subCircuitId,proto3" json:"sub_circuit_id,omitempty"` // contains filtered or unexported fields }
Components are interconnected with each other via Ports
func (*PortView) Descriptor
deprecated
func (*PortView) GetConstantValue ¶
func (*PortView) GetPortName ¶
func (*PortView) GetSignalName ¶
func (*PortView) GetSubCircuitId ¶
func (*PortView) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*PortView) MarshalToSizedBufferVT ¶ added in v2.7.0
func (*PortView) MarshalToVT ¶ added in v2.7.0
func (*PortView) ProtoMessage ¶
func (*PortView) ProtoMessage()
func (*PortView) ProtoReflect ¶
func (x *PortView) ProtoReflect() protoreflect.Message
func (*PortView) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*PortView) UnmarshalVT ¶ added in v2.7.0
func (*PortView) Validate ¶
Validate checks the field values on PortView with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PortView) ValidateAll ¶
ValidateAll checks the field values on PortView with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PortViewMultiError, or nil if none found.
type PortViewMultiError ¶
type PortViewMultiError []error
PortViewMultiError is an error wrapping multiple validation errors returned by PortView.ValidateAll() if the designated constraints aren't met.
func (PortViewMultiError) AllErrors ¶
func (m PortViewMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PortViewMultiError) Error ¶
func (m PortViewMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PortViewValidationError ¶
type PortViewValidationError struct {
// contains filtered or unexported fields
}
PortViewValidationError is the validation error returned by PortView.Validate if the designated constraints aren't met.
func (PortViewValidationError) Cause ¶
func (e PortViewValidationError) Cause() error
Cause function returns cause value.
func (PortViewValidationError) Error ¶
func (e PortViewValidationError) Error() string
Error satisfies the builtin error interface
func (PortViewValidationError) ErrorName ¶
func (e PortViewValidationError) ErrorName() string
ErrorName returns error name.
func (PortViewValidationError) Field ¶
func (e PortViewValidationError) Field() string
Field function returns field value.
func (PortViewValidationError) Key ¶
func (e PortViewValidationError) Key() bool
Key function returns key value.
func (PortViewValidationError) Reason ¶
func (e PortViewValidationError) Reason() string
Reason function returns reason value.
type PortView_ConstantValue ¶
type PortView_ConstantValue struct { // Constant value at an incoming Port ConstantValue float64 `protobuf:"fixed64,3,opt,name=constant_value,json=constantValue,proto3,oneof"` }
func (*PortView_ConstantValue) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *PortView_ConstantValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PortView_ConstantValue) MarshalToVT ¶ added in v2.7.0
func (m *PortView_ConstantValue) MarshalToVT(dAtA []byte) (int, error)
func (*PortView_ConstantValue) SizeVT ¶ added in v2.7.0
func (m *PortView_ConstantValue) SizeVT() (n int)
type PortView_SignalName ¶
type PortView_SignalName struct { // Name of the Signal on the Port. SignalName string `protobuf:"bytes,2,opt,name=signal_name,json=signalName,proto3,oneof"` }
func (*PortView_SignalName) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *PortView_SignalName) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PortView_SignalName) MarshalToVT ¶ added in v2.7.0
func (m *PortView_SignalName) MarshalToVT(dAtA []byte) (int, error)
func (*PortView_SignalName) SizeVT ¶ added in v2.7.0
func (m *PortView_SignalName) SizeVT() (n int)
type SignalMetricsInfo ¶
type SignalMetricsInfo struct { // Name of the Policy. PolicyName string `protobuf:"bytes,1,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"` // Hash of the entire Policy spec. PolicyHash string `protobuf:"bytes,2,opt,name=policy_hash,json=policyHash,proto3" json:"policy_hash,omitempty"` // List of signals readings. SignalReading []*SignalReading `protobuf:"bytes,3,rep,name=signal_reading,json=signalReading,proto3" json:"signal_reading,omitempty"` // contains filtered or unexported fields }
func (*SignalMetricsInfo) Descriptor
deprecated
func (*SignalMetricsInfo) Descriptor() ([]byte, []int)
Deprecated: Use SignalMetricsInfo.ProtoReflect.Descriptor instead.
func (*SignalMetricsInfo) GetPolicyHash ¶
func (x *SignalMetricsInfo) GetPolicyHash() string
func (*SignalMetricsInfo) GetPolicyName ¶
func (x *SignalMetricsInfo) GetPolicyName() string
func (*SignalMetricsInfo) GetSignalReading ¶
func (x *SignalMetricsInfo) GetSignalReading() []*SignalReading
func (*SignalMetricsInfo) MarshalJSON ¶
func (msg *SignalMetricsInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SignalMetricsInfo) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *SignalMetricsInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SignalMetricsInfo) MarshalToVT ¶ added in v2.7.0
func (m *SignalMetricsInfo) MarshalToVT(dAtA []byte) (int, error)
func (*SignalMetricsInfo) MarshalVT ¶ added in v2.7.0
func (m *SignalMetricsInfo) MarshalVT() (dAtA []byte, err error)
func (*SignalMetricsInfo) ProtoMessage ¶
func (*SignalMetricsInfo) ProtoMessage()
func (*SignalMetricsInfo) ProtoReflect ¶
func (x *SignalMetricsInfo) ProtoReflect() protoreflect.Message
func (*SignalMetricsInfo) Reset ¶
func (x *SignalMetricsInfo) Reset()
func (*SignalMetricsInfo) SizeVT ¶ added in v2.7.0
func (m *SignalMetricsInfo) SizeVT() (n int)
func (*SignalMetricsInfo) String ¶
func (x *SignalMetricsInfo) String() string
func (*SignalMetricsInfo) UnmarshalJSON ¶
func (msg *SignalMetricsInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SignalMetricsInfo) UnmarshalVT ¶ added in v2.7.0
func (m *SignalMetricsInfo) UnmarshalVT(dAtA []byte) error
func (*SignalMetricsInfo) Validate ¶
func (m *SignalMetricsInfo) Validate() error
Validate checks the field values on SignalMetricsInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SignalMetricsInfo) ValidateAll ¶
func (m *SignalMetricsInfo) ValidateAll() error
ValidateAll checks the field values on SignalMetricsInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignalMetricsInfoMultiError, or nil if none found.
type SignalMetricsInfoMultiError ¶
type SignalMetricsInfoMultiError []error
SignalMetricsInfoMultiError is an error wrapping multiple validation errors returned by SignalMetricsInfo.ValidateAll() if the designated constraints aren't met.
func (SignalMetricsInfoMultiError) AllErrors ¶
func (m SignalMetricsInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SignalMetricsInfoMultiError) Error ¶
func (m SignalMetricsInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SignalMetricsInfoValidationError ¶
type SignalMetricsInfoValidationError struct {
// contains filtered or unexported fields
}
SignalMetricsInfoValidationError is the validation error returned by SignalMetricsInfo.Validate if the designated constraints aren't met.
func (SignalMetricsInfoValidationError) Cause ¶
func (e SignalMetricsInfoValidationError) Cause() error
Cause function returns cause value.
func (SignalMetricsInfoValidationError) Error ¶
func (e SignalMetricsInfoValidationError) Error() string
Error satisfies the builtin error interface
func (SignalMetricsInfoValidationError) ErrorName ¶
func (e SignalMetricsInfoValidationError) ErrorName() string
ErrorName returns error name.
func (SignalMetricsInfoValidationError) Field ¶
func (e SignalMetricsInfoValidationError) Field() string
Field function returns field value.
func (SignalMetricsInfoValidationError) Key ¶
func (e SignalMetricsInfoValidationError) Key() bool
Key function returns key value.
func (SignalMetricsInfoValidationError) Reason ¶
func (e SignalMetricsInfoValidationError) Reason() string
Reason function returns reason value.
type SignalReading ¶
type SignalReading struct { SignalName string `protobuf:"bytes,1,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SignalReading) Descriptor
deprecated
func (*SignalReading) Descriptor() ([]byte, []int)
Deprecated: Use SignalReading.ProtoReflect.Descriptor instead.
func (*SignalReading) GetSignalName ¶
func (x *SignalReading) GetSignalName() string
func (*SignalReading) GetValid ¶
func (x *SignalReading) GetValid() bool
func (*SignalReading) GetValue ¶
func (x *SignalReading) GetValue() float64
func (*SignalReading) MarshalJSON ¶
func (msg *SignalReading) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SignalReading) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *SignalReading) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SignalReading) MarshalToVT ¶ added in v2.7.0
func (m *SignalReading) MarshalToVT(dAtA []byte) (int, error)
func (*SignalReading) MarshalVT ¶ added in v2.7.0
func (m *SignalReading) MarshalVT() (dAtA []byte, err error)
func (*SignalReading) ProtoMessage ¶
func (*SignalReading) ProtoMessage()
func (*SignalReading) ProtoReflect ¶
func (x *SignalReading) ProtoReflect() protoreflect.Message
func (*SignalReading) Reset ¶
func (x *SignalReading) Reset()
func (*SignalReading) SizeVT ¶ added in v2.7.0
func (m *SignalReading) SizeVT() (n int)
func (*SignalReading) String ¶
func (x *SignalReading) String() string
func (*SignalReading) UnmarshalJSON ¶
func (msg *SignalReading) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SignalReading) UnmarshalVT ¶ added in v2.7.0
func (m *SignalReading) UnmarshalVT(dAtA []byte) error
func (*SignalReading) Validate ¶
func (m *SignalReading) Validate() error
Validate checks the field values on SignalReading with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SignalReading) ValidateAll ¶
func (m *SignalReading) ValidateAll() error
ValidateAll checks the field values on SignalReading with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignalReadingMultiError, or nil if none found.
type SignalReadingMultiError ¶
type SignalReadingMultiError []error
SignalReadingMultiError is an error wrapping multiple validation errors returned by SignalReading.ValidateAll() if the designated constraints aren't met.
func (SignalReadingMultiError) AllErrors ¶
func (m SignalReadingMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SignalReadingMultiError) Error ¶
func (m SignalReadingMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SignalReadingValidationError ¶
type SignalReadingValidationError struct {
// contains filtered or unexported fields
}
SignalReadingValidationError is the validation error returned by SignalReading.Validate if the designated constraints aren't met.
func (SignalReadingValidationError) Cause ¶
func (e SignalReadingValidationError) Cause() error
Cause function returns cause value.
func (SignalReadingValidationError) Error ¶
func (e SignalReadingValidationError) Error() string
Error satisfies the builtin error interface
func (SignalReadingValidationError) ErrorName ¶
func (e SignalReadingValidationError) ErrorName() string
ErrorName returns error name.
func (SignalReadingValidationError) Field ¶
func (e SignalReadingValidationError) Field() string
Field function returns field value.
func (SignalReadingValidationError) Key ¶
func (e SignalReadingValidationError) Key() bool
Key function returns key value.
func (SignalReadingValidationError) Reason ¶
func (e SignalReadingValidationError) Reason() string
Reason function returns reason value.
type SourceTarget ¶
type SourceTarget struct { ComponentId string `protobuf:"bytes,1,opt,name=component_id,json=componentId,proto3" json:"component_id,omitempty"` PortName string `protobuf:"bytes,2,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"` // contains filtered or unexported fields }
SourceTarget describes a link attachment to a component.
func (*SourceTarget) Descriptor
deprecated
func (*SourceTarget) Descriptor() ([]byte, []int)
Deprecated: Use SourceTarget.ProtoReflect.Descriptor instead.
func (*SourceTarget) GetComponentId ¶
func (x *SourceTarget) GetComponentId() string
func (*SourceTarget) GetPortName ¶
func (x *SourceTarget) GetPortName() string
func (*SourceTarget) MarshalJSON ¶
func (msg *SourceTarget) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SourceTarget) MarshalToSizedBufferVT ¶ added in v2.7.0
func (m *SourceTarget) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*SourceTarget) MarshalToVT ¶ added in v2.7.0
func (m *SourceTarget) MarshalToVT(dAtA []byte) (int, error)
func (*SourceTarget) MarshalVT ¶ added in v2.7.0
func (m *SourceTarget) MarshalVT() (dAtA []byte, err error)
func (*SourceTarget) ProtoMessage ¶
func (*SourceTarget) ProtoMessage()
func (*SourceTarget) ProtoReflect ¶
func (x *SourceTarget) ProtoReflect() protoreflect.Message
func (*SourceTarget) Reset ¶
func (x *SourceTarget) Reset()
func (*SourceTarget) SizeVT ¶ added in v2.7.0
func (m *SourceTarget) SizeVT() (n int)
func (*SourceTarget) String ¶
func (x *SourceTarget) String() string
func (*SourceTarget) UnmarshalJSON ¶
func (msg *SourceTarget) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SourceTarget) UnmarshalVT ¶ added in v2.7.0
func (m *SourceTarget) UnmarshalVT(dAtA []byte) error
func (*SourceTarget) Validate ¶
func (m *SourceTarget) Validate() error
Validate checks the field values on SourceTarget with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SourceTarget) ValidateAll ¶
func (m *SourceTarget) ValidateAll() error
ValidateAll checks the field values on SourceTarget with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceTargetMultiError, or nil if none found.
type SourceTargetMultiError ¶
type SourceTargetMultiError []error
SourceTargetMultiError is an error wrapping multiple validation errors returned by SourceTarget.ValidateAll() if the designated constraints aren't met.
func (SourceTargetMultiError) AllErrors ¶
func (m SourceTargetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceTargetMultiError) Error ¶
func (m SourceTargetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceTargetValidationError ¶
type SourceTargetValidationError struct {
// contains filtered or unexported fields
}
SourceTargetValidationError is the validation error returned by SourceTarget.Validate if the designated constraints aren't met.
func (SourceTargetValidationError) Cause ¶
func (e SourceTargetValidationError) Cause() error
Cause function returns cause value.
func (SourceTargetValidationError) Error ¶
func (e SourceTargetValidationError) Error() string
Error satisfies the builtin error interface
func (SourceTargetValidationError) ErrorName ¶
func (e SourceTargetValidationError) ErrorName() string
ErrorName returns error name.
func (SourceTargetValidationError) Field ¶
func (e SourceTargetValidationError) Field() string
Field function returns field value.
func (SourceTargetValidationError) Key ¶
func (e SourceTargetValidationError) Key() bool
Key function returns key value.
func (SourceTargetValidationError) Reason ¶
func (e SourceTargetValidationError) Reason() string
Reason function returns reason value.
type Tree ¶
type Tree struct { Node *ComponentView `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` Graph *Graph `protobuf:"bytes,2,opt,name=graph,proto3" json:"graph,omitempty"` Children []*Tree `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` Actuators []*ComponentView `protobuf:"bytes,4,rep,name=actuators,proto3" json:"actuators,omitempty"` // contains filtered or unexported fields }
func (*Tree) Descriptor
deprecated
func (*Tree) GetActuators ¶
func (x *Tree) GetActuators() []*ComponentView
func (*Tree) GetChildren ¶
func (*Tree) GetNode ¶
func (x *Tree) GetNode() *ComponentView
func (*Tree) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Tree) MarshalToSizedBufferVT ¶ added in v2.7.0
func (*Tree) ProtoMessage ¶
func (*Tree) ProtoMessage()
func (*Tree) ProtoReflect ¶
func (x *Tree) ProtoReflect() protoreflect.Message
func (*Tree) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Tree) UnmarshalVT ¶ added in v2.7.0
func (*Tree) Validate ¶
Validate checks the field values on Tree with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Tree) ValidateAll ¶
ValidateAll checks the field values on Tree with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TreeMultiError, or nil if none found.
type TreeMultiError ¶
type TreeMultiError []error
TreeMultiError is an error wrapping multiple validation errors returned by Tree.ValidateAll() if the designated constraints aren't met.
func (TreeMultiError) AllErrors ¶
func (m TreeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TreeMultiError) Error ¶
func (m TreeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TreeValidationError ¶
type TreeValidationError struct {
// contains filtered or unexported fields
}
TreeValidationError is the validation error returned by Tree.Validate if the designated constraints aren't met.
func (TreeValidationError) Cause ¶
func (e TreeValidationError) Cause() error
Cause function returns cause value.
func (TreeValidationError) Error ¶
func (e TreeValidationError) Error() string
Error satisfies the builtin error interface
func (TreeValidationError) ErrorName ¶
func (e TreeValidationError) ErrorName() string
ErrorName returns error name.
func (TreeValidationError) Field ¶
func (e TreeValidationError) Field() string
Field function returns field value.
func (TreeValidationError) Key ¶
func (e TreeValidationError) Key() bool
Key function returns key value.
func (TreeValidationError) Reason ¶
func (e TreeValidationError) Reason() string
Reason function returns reason value.