Documentation
¶
Overview ¶
Code generated by ndn tlv codegen DO NOT EDIT.
Index ¶
- Constants
- func SignCrossSchema(args SignCrossSchemaArgs) (enc.Wire, error)
- type CrossSchemaContent
- type CrossSchemaContentEncoder
- type CrossSchemaContentParsingContext
- type LvsConstraintOption
- type LvsConstraintOptionEncoder
- type LvsConstraintOptionParsingContext
- type LvsCtx
- type LvsModel
- type LvsModelEncoder
- type LvsModelParsingContext
- type LvsNode
- type LvsNodeEncoder
- type LvsNodeParsingContext
- type LvsPatternConstraint
- type LvsPatternConstraintEncoder
- type LvsPatternConstraintParsingContext
- type LvsPatternEdge
- type LvsPatternEdgeEncoder
- type LvsPatternEdgeParsingContext
- type LvsSchema
- type LvsTagSymbol
- type LvsTagSymbolEncoder
- type LvsTagSymbolParsingContext
- type LvsUserFnArg
- type LvsUserFnArgEncoder
- type LvsUserFnArgParsingContext
- type LvsUserFnCall
- type LvsUserFnCallEncoder
- type LvsUserFnCallParsingContext
- type LvsValueEdge
- type LvsValueEdgeEncoder
- type LvsValueEdgeParsingContext
- type NullSchema
- type PrefixSchemaRule
- type PrefixSchemaRuleEncoder
- type PrefixSchemaRuleParsingContext
- type SignCrossSchemaArgs
- type SimpleSchemaRule
- type SimpleSchemaRuleEncoder
- type SimpleSchemaRuleParsingContext
Constants ¶
const LVS_VERSION uint64 = 0x00011000
Variables ¶
This section is empty.
Functions ¶
func SignCrossSchema ¶ added in v1.5.2
func SignCrossSchema(args SignCrossSchemaArgs) (enc.Wire, error)
(AI GENERATED DESCRIPTION): Builds, signs, and optionally stores a single‑segment cross‑schema Data packet for the given name (which must end with a version), using the supplied validity period, content, and signer, and returns the packet’s wire encoding.
Types ¶
type CrossSchemaContent ¶ added in v1.5.2
type CrossSchemaContent struct {
//+field:sequence:*SimpleSchemaRule:struct:SimpleSchemaRule
SimpleSchemaRules []*SimpleSchemaRule `tlv:"0x26C"`
//+field:sequence:*PrefixSchemaRule:struct:PrefixSchemaRule
PrefixSchemaRules []*PrefixSchemaRule `tlv:"0x26E"`
}
func ParseCrossSchemaContent ¶ added in v1.5.2
func ParseCrossSchemaContent(reader enc.WireView, ignoreCritical bool) (*CrossSchemaContent, error)
func (*CrossSchemaContent) Bytes ¶ added in v1.5.2
func (value *CrossSchemaContent) Bytes() []byte
func (*CrossSchemaContent) Encode ¶ added in v1.5.2
func (value *CrossSchemaContent) Encode() enc.Wire
type CrossSchemaContentEncoder ¶ added in v1.5.2
type CrossSchemaContentEncoder struct {
Length uint
SimpleSchemaRules_subencoder []struct {
SimpleSchemaRules_encoder SimpleSchemaRuleEncoder
}
PrefixSchemaRules_subencoder []struct {
PrefixSchemaRules_encoder PrefixSchemaRuleEncoder
}
}
func (*CrossSchemaContentEncoder) Encode ¶ added in v1.5.2
func (encoder *CrossSchemaContentEncoder) Encode(value *CrossSchemaContent) enc.Wire
func (*CrossSchemaContentEncoder) EncodeInto ¶ added in v1.5.2
func (encoder *CrossSchemaContentEncoder) EncodeInto(value *CrossSchemaContent, buf []byte)
func (*CrossSchemaContentEncoder) Init ¶ added in v1.5.2
func (encoder *CrossSchemaContentEncoder) Init(value *CrossSchemaContent)
type CrossSchemaContentParsingContext ¶ added in v1.5.2
type CrossSchemaContentParsingContext struct {
SimpleSchemaRules_context SimpleSchemaRuleParsingContext
PrefixSchemaRules_context PrefixSchemaRuleParsingContext
}
func (*CrossSchemaContentParsingContext) Init ¶ added in v1.5.2
func (context *CrossSchemaContentParsingContext) Init()
func (*CrossSchemaContentParsingContext) Parse ¶ added in v1.5.2
func (context *CrossSchemaContentParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*CrossSchemaContent, error)
type LvsConstraintOption ¶
type LvsConstraintOption struct {
//+field:binary
Value []byte `tlv:"0x21"`
//+field:natural:optional
Tag optional.Optional[uint64] `tlv:"0x23"`
//+field:struct:LvsUserFnCall
Fn *LvsUserFnCall `tlv:"0x31"`
}
func ParseLvsConstraintOption ¶
func ParseLvsConstraintOption(reader enc.WireView, ignoreCritical bool) (*LvsConstraintOption, error)
func (*LvsConstraintOption) Bytes ¶
func (value *LvsConstraintOption) Bytes() []byte
func (*LvsConstraintOption) Encode ¶
func (value *LvsConstraintOption) Encode() enc.Wire
type LvsConstraintOptionEncoder ¶
type LvsConstraintOptionEncoder struct {
Length uint
Fn_encoder LvsUserFnCallEncoder
}
func (*LvsConstraintOptionEncoder) Encode ¶
func (encoder *LvsConstraintOptionEncoder) Encode(value *LvsConstraintOption) enc.Wire
func (*LvsConstraintOptionEncoder) EncodeInto ¶
func (encoder *LvsConstraintOptionEncoder) EncodeInto(value *LvsConstraintOption, buf []byte)
func (*LvsConstraintOptionEncoder) Init ¶
func (encoder *LvsConstraintOptionEncoder) Init(value *LvsConstraintOption)
type LvsConstraintOptionParsingContext ¶
type LvsConstraintOptionParsingContext struct {
Fn_context LvsUserFnCallParsingContext
}
func (*LvsConstraintOptionParsingContext) Init ¶
func (context *LvsConstraintOptionParsingContext) Init()
func (*LvsConstraintOptionParsingContext) Parse ¶
func (context *LvsConstraintOptionParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*LvsConstraintOption, error)
type LvsModel ¶
type LvsModel struct {
//+field:natural
Version uint64 `tlv:"0x61"`
//+field:natural
StartId uint64 `tlv:"0x25"`
//+field:natural
NamedPatternCnt uint64 `tlv:"0x69"`
//+field:sequence:*LvsNode:struct:LvsNode
Nodes []*LvsNode `tlv:"0x63"`
//+field:sequence:*LvsTagSymbol:struct:LvsTagSymbol
Symbols []*LvsTagSymbol `tlv:"0x67"`
}
func ParseLvsModel ¶
type LvsModelEncoder ¶
type LvsModelEncoder struct {
Length uint
Nodes_subencoder []struct {
Nodes_encoder LvsNodeEncoder
}
Symbols_subencoder []struct {
Symbols_encoder LvsTagSymbolEncoder
}
}
func (*LvsModelEncoder) EncodeInto ¶
func (encoder *LvsModelEncoder) EncodeInto(value *LvsModel, buf []byte)
func (*LvsModelEncoder) Init ¶
func (encoder *LvsModelEncoder) Init(value *LvsModel)
type LvsModelParsingContext ¶
type LvsModelParsingContext struct {
Nodes_context LvsNodeParsingContext
Symbols_context LvsTagSymbolParsingContext
}
func (*LvsModelParsingContext) Init ¶
func (context *LvsModelParsingContext) Init()
type LvsNode ¶
type LvsNode struct {
//+field:natural
Id uint64 `tlv:"0x25"`
//+field:natural:optional
Parent optional.Optional[uint64] `tlv:"0x57"`
//+field:sequence:[]byte:binary:[]byte
RuleName [][]byte `tlv:"0x29"`
//+field:sequence:*LvsValueEdge:struct:LvsValueEdge
Edges []*LvsValueEdge `tlv:"0x51"`
//+field:sequence:*LvsPatternEdge:struct:LvsPatternEdge
PatternEdges []*LvsPatternEdge `tlv:"0x53"`
//+field:sequence:uint64:natural:uint64
SignCons []uint64 `tlv:"0x55"`
}
type LvsNodeEncoder ¶
type LvsNodeEncoder struct {
Length uint
RuleName_subencoder []struct {
}
Edges_subencoder []struct {
Edges_encoder LvsValueEdgeEncoder
}
PatternEdges_subencoder []struct {
PatternEdges_encoder LvsPatternEdgeEncoder
}
SignCons_subencoder []struct {
}
}
func (*LvsNodeEncoder) EncodeInto ¶
func (encoder *LvsNodeEncoder) EncodeInto(value *LvsNode, buf []byte)
func (*LvsNodeEncoder) Init ¶
func (encoder *LvsNodeEncoder) Init(value *LvsNode)
type LvsNodeParsingContext ¶
type LvsNodeParsingContext struct {
Edges_context LvsValueEdgeParsingContext
PatternEdges_context LvsPatternEdgeParsingContext
}
func (*LvsNodeParsingContext) Init ¶
func (context *LvsNodeParsingContext) Init()
type LvsPatternConstraint ¶
type LvsPatternConstraint struct {
//+field:sequence:*LvsConstraintOption:struct:LvsConstraintOption
ConsOptions []*LvsConstraintOption `tlv:"0x41"`
}
func ParseLvsPatternConstraint ¶
func ParseLvsPatternConstraint(reader enc.WireView, ignoreCritical bool) (*LvsPatternConstraint, error)
func (*LvsPatternConstraint) Bytes ¶
func (value *LvsPatternConstraint) Bytes() []byte
func (*LvsPatternConstraint) Encode ¶
func (value *LvsPatternConstraint) Encode() enc.Wire
type LvsPatternConstraintEncoder ¶
type LvsPatternConstraintEncoder struct {
Length uint
ConsOptions_subencoder []struct {
ConsOptions_encoder LvsConstraintOptionEncoder
}
}
func (*LvsPatternConstraintEncoder) Encode ¶
func (encoder *LvsPatternConstraintEncoder) Encode(value *LvsPatternConstraint) enc.Wire
func (*LvsPatternConstraintEncoder) EncodeInto ¶
func (encoder *LvsPatternConstraintEncoder) EncodeInto(value *LvsPatternConstraint, buf []byte)
func (*LvsPatternConstraintEncoder) Init ¶
func (encoder *LvsPatternConstraintEncoder) Init(value *LvsPatternConstraint)
type LvsPatternConstraintParsingContext ¶
type LvsPatternConstraintParsingContext struct {
ConsOptions_context LvsConstraintOptionParsingContext
}
func (*LvsPatternConstraintParsingContext) Init ¶
func (context *LvsPatternConstraintParsingContext) Init()
func (*LvsPatternConstraintParsingContext) Parse ¶
func (context *LvsPatternConstraintParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*LvsPatternConstraint, error)
type LvsPatternEdge ¶
type LvsPatternEdge struct {
//+field:natural
Dest uint64 `tlv:"0x25"`
//+field:natural
Tag uint64 `tlv:"0x23"`
//+field:sequence:*LvsPatternConstraint:struct:LvsPatternConstraint
ConsSets []*LvsPatternConstraint `tlv:"0x43"`
}
func ParseLvsPatternEdge ¶
func ParseLvsPatternEdge(reader enc.WireView, ignoreCritical bool) (*LvsPatternEdge, error)
func (*LvsPatternEdge) Bytes ¶
func (value *LvsPatternEdge) Bytes() []byte
func (*LvsPatternEdge) Encode ¶
func (value *LvsPatternEdge) Encode() enc.Wire
type LvsPatternEdgeEncoder ¶
type LvsPatternEdgeEncoder struct {
Length uint
ConsSets_subencoder []struct {
ConsSets_encoder LvsPatternConstraintEncoder
}
}
func (*LvsPatternEdgeEncoder) Encode ¶
func (encoder *LvsPatternEdgeEncoder) Encode(value *LvsPatternEdge) enc.Wire
func (*LvsPatternEdgeEncoder) EncodeInto ¶
func (encoder *LvsPatternEdgeEncoder) EncodeInto(value *LvsPatternEdge, buf []byte)
func (*LvsPatternEdgeEncoder) Init ¶
func (encoder *LvsPatternEdgeEncoder) Init(value *LvsPatternEdge)
type LvsPatternEdgeParsingContext ¶
type LvsPatternEdgeParsingContext struct {
ConsSets_context LvsPatternConstraintParsingContext
}
func (*LvsPatternEdgeParsingContext) Init ¶
func (context *LvsPatternEdgeParsingContext) Init()
func (*LvsPatternEdgeParsingContext) Parse ¶
func (context *LvsPatternEdgeParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*LvsPatternEdge, error)
type LvsSchema ¶
type LvsSchema struct {
// contains filtered or unexported fields
}
func NewLvsSchema ¶
(AI GENERATED DESCRIPTION): Creates an LvsSchema from raw bytes by parsing the LVSC model and verifying that its version, node IDs, edges, sign‑constraint references, and constraint options are all valid before returning the schema or an error.
func (*LvsSchema) Check ¶
(AI GENERATED DESCRIPTION): Verifies that the specified key name is authorized to sign the given packet name under the current Lvs schema.
func (*LvsSchema) Match ¶
(AI GENERATED DESCRIPTION): Yields every pair of LvsNode and its variable‑binding context that matches the supplied name against the schema, performing a depth‑first traversal of value and pattern edges with backtracking to enumerate all successful matches.
func (*LvsSchema) MatchCollect ¶ added in v1.5.0
(AI GENERATED DESCRIPTION): Collects all `LvsNode` objects that match the given name in the `LvsSchema` and returns them as a slice.
type LvsTagSymbol ¶
type LvsTagSymbol struct {
//+field:natural:optional
Tag optional.Optional[uint64] `tlv:"0x23"`
//+field:binary
Ident []byte `tlv:"0x29"`
}
func ParseLvsTagSymbol ¶
func ParseLvsTagSymbol(reader enc.WireView, ignoreCritical bool) (*LvsTagSymbol, error)
func (*LvsTagSymbol) Bytes ¶
func (value *LvsTagSymbol) Bytes() []byte
func (*LvsTagSymbol) Encode ¶
func (value *LvsTagSymbol) Encode() enc.Wire
type LvsTagSymbolEncoder ¶
type LvsTagSymbolEncoder struct {
Length uint
}
func (*LvsTagSymbolEncoder) Encode ¶
func (encoder *LvsTagSymbolEncoder) Encode(value *LvsTagSymbol) enc.Wire
func (*LvsTagSymbolEncoder) EncodeInto ¶
func (encoder *LvsTagSymbolEncoder) EncodeInto(value *LvsTagSymbol, buf []byte)
func (*LvsTagSymbolEncoder) Init ¶
func (encoder *LvsTagSymbolEncoder) Init(value *LvsTagSymbol)
type LvsTagSymbolParsingContext ¶
type LvsTagSymbolParsingContext struct {
}
func (*LvsTagSymbolParsingContext) Init ¶
func (context *LvsTagSymbolParsingContext) Init()
func (*LvsTagSymbolParsingContext) Parse ¶
func (context *LvsTagSymbolParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*LvsTagSymbol, error)
type LvsUserFnArg ¶
type LvsUserFnArg struct {
//+field:binary
Value []byte `tlv:"0x21"`
//+field:natural:optional
Tag optional.Optional[uint64] `tlv:"0x23"`
}
func ParseLvsUserFnArg ¶
func ParseLvsUserFnArg(reader enc.WireView, ignoreCritical bool) (*LvsUserFnArg, error)
func (*LvsUserFnArg) Bytes ¶
func (value *LvsUserFnArg) Bytes() []byte
func (*LvsUserFnArg) Encode ¶
func (value *LvsUserFnArg) Encode() enc.Wire
type LvsUserFnArgEncoder ¶
type LvsUserFnArgEncoder struct {
Length uint
}
func (*LvsUserFnArgEncoder) Encode ¶
func (encoder *LvsUserFnArgEncoder) Encode(value *LvsUserFnArg) enc.Wire
func (*LvsUserFnArgEncoder) EncodeInto ¶
func (encoder *LvsUserFnArgEncoder) EncodeInto(value *LvsUserFnArg, buf []byte)
func (*LvsUserFnArgEncoder) Init ¶
func (encoder *LvsUserFnArgEncoder) Init(value *LvsUserFnArg)
type LvsUserFnArgParsingContext ¶
type LvsUserFnArgParsingContext struct {
}
func (*LvsUserFnArgParsingContext) Init ¶
func (context *LvsUserFnArgParsingContext) Init()
func (*LvsUserFnArgParsingContext) Parse ¶
func (context *LvsUserFnArgParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*LvsUserFnArg, error)
type LvsUserFnCall ¶
type LvsUserFnCall struct {
//+field:binary
FnId []byte `tlv:"0x27"`
//+field:sequence:*LvsUserFnArg:struct:LvsUserFnArg
Args []*LvsUserFnArg `tlv:"0x33"`
}
func ParseLvsUserFnCall ¶
func ParseLvsUserFnCall(reader enc.WireView, ignoreCritical bool) (*LvsUserFnCall, error)
func (*LvsUserFnCall) Bytes ¶
func (value *LvsUserFnCall) Bytes() []byte
func (*LvsUserFnCall) Encode ¶
func (value *LvsUserFnCall) Encode() enc.Wire
type LvsUserFnCallEncoder ¶
type LvsUserFnCallEncoder struct {
Length uint
Args_subencoder []struct {
Args_encoder LvsUserFnArgEncoder
}
}
func (*LvsUserFnCallEncoder) Encode ¶
func (encoder *LvsUserFnCallEncoder) Encode(value *LvsUserFnCall) enc.Wire
func (*LvsUserFnCallEncoder) EncodeInto ¶
func (encoder *LvsUserFnCallEncoder) EncodeInto(value *LvsUserFnCall, buf []byte)
func (*LvsUserFnCallEncoder) Init ¶
func (encoder *LvsUserFnCallEncoder) Init(value *LvsUserFnCall)
type LvsUserFnCallParsingContext ¶
type LvsUserFnCallParsingContext struct {
Args_context LvsUserFnArgParsingContext
}
func (*LvsUserFnCallParsingContext) Init ¶
func (context *LvsUserFnCallParsingContext) Init()
func (*LvsUserFnCallParsingContext) Parse ¶
func (context *LvsUserFnCallParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*LvsUserFnCall, error)
type LvsValueEdge ¶
type LvsValueEdge struct {
//+field:natural
Dest uint64 `tlv:"0x25"`
//+field:binary
Value []byte `tlv:"0x21"`
}
func ParseLvsValueEdge ¶
func ParseLvsValueEdge(reader enc.WireView, ignoreCritical bool) (*LvsValueEdge, error)
func (*LvsValueEdge) Bytes ¶
func (value *LvsValueEdge) Bytes() []byte
func (*LvsValueEdge) Encode ¶
func (value *LvsValueEdge) Encode() enc.Wire
type LvsValueEdgeEncoder ¶
type LvsValueEdgeEncoder struct {
Length uint
}
func (*LvsValueEdgeEncoder) Encode ¶
func (encoder *LvsValueEdgeEncoder) Encode(value *LvsValueEdge) enc.Wire
func (*LvsValueEdgeEncoder) EncodeInto ¶
func (encoder *LvsValueEdgeEncoder) EncodeInto(value *LvsValueEdge, buf []byte)
func (*LvsValueEdgeEncoder) Init ¶
func (encoder *LvsValueEdgeEncoder) Init(value *LvsValueEdge)
type LvsValueEdgeParsingContext ¶
type LvsValueEdgeParsingContext struct {
}
func (*LvsValueEdgeParsingContext) Init ¶
func (context *LvsValueEdgeParsingContext) Init()
func (*LvsValueEdgeParsingContext) Parse ¶
func (context *LvsValueEdgeParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*LvsValueEdge, error)
type NullSchema ¶ added in v1.5.2
type NullSchema struct{}
NullSchema is a trust schema that allows everything.
func NewNullSchema ¶ added in v1.5.2
func NewNullSchema() *NullSchema
(AI GENERATED DESCRIPTION): Creates a new NullSchema object initialized with zero/default values.
type PrefixSchemaRule ¶ added in v1.5.2
func ParsePrefixSchemaRule ¶ added in v1.5.2
func ParsePrefixSchemaRule(reader enc.WireView, ignoreCritical bool) (*PrefixSchemaRule, error)
func (*PrefixSchemaRule) Bytes ¶ added in v1.5.2
func (value *PrefixSchemaRule) Bytes() []byte
func (*PrefixSchemaRule) Encode ¶ added in v1.5.2
func (value *PrefixSchemaRule) Encode() enc.Wire
type PrefixSchemaRuleEncoder ¶ added in v1.5.2
func (*PrefixSchemaRuleEncoder) Encode ¶ added in v1.5.2
func (encoder *PrefixSchemaRuleEncoder) Encode(value *PrefixSchemaRule) enc.Wire
func (*PrefixSchemaRuleEncoder) EncodeInto ¶ added in v1.5.2
func (encoder *PrefixSchemaRuleEncoder) EncodeInto(value *PrefixSchemaRule, buf []byte)
func (*PrefixSchemaRuleEncoder) Init ¶ added in v1.5.2
func (encoder *PrefixSchemaRuleEncoder) Init(value *PrefixSchemaRule)
type PrefixSchemaRuleParsingContext ¶ added in v1.5.2
type PrefixSchemaRuleParsingContext struct {
}
func (*PrefixSchemaRuleParsingContext) Init ¶ added in v1.5.2
func (context *PrefixSchemaRuleParsingContext) Init()
func (*PrefixSchemaRuleParsingContext) Parse ¶ added in v1.5.2
func (context *PrefixSchemaRuleParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*PrefixSchemaRule, error)
type SignCrossSchemaArgs ¶ added in v1.5.2
type SignCrossSchemaArgs struct {
// Name is the name of the trust schema.
Name enc.Name
// Signer is the private key used to sign the certificate.
Signer ndn.Signer
// Content is the trust schema to be signed.
Content CrossSchemaContent
// NotBefore is the start of the certificate validity period.
NotBefore time.Time
// NotAfter is the end of the certificate validity period.
NotAfter time.Time
// Store is the storage to insert the signed cross schema (optional)
Store ndn.Store
}
type SimpleSchemaRule ¶ added in v1.5.2
type SimpleSchemaRule struct {
//+field:name
NamePrefix enc.Name `tlv:"0x07"`
//+field:struct:spec_2022.KeyLocator
KeyLocator *spec_2022.KeyLocator `tlv:"0x1c"`
}
func ParseSimpleSchemaRule ¶ added in v1.5.2
func ParseSimpleSchemaRule(reader enc.WireView, ignoreCritical bool) (*SimpleSchemaRule, error)
func (*SimpleSchemaRule) Bytes ¶ added in v1.5.2
func (value *SimpleSchemaRule) Bytes() []byte
func (*SimpleSchemaRule) Encode ¶ added in v1.5.2
func (value *SimpleSchemaRule) Encode() enc.Wire
type SimpleSchemaRuleEncoder ¶ added in v1.5.2
type SimpleSchemaRuleEncoder struct {
Length uint
NamePrefix_length uint
KeyLocator_encoder spec_2022.KeyLocatorEncoder
}
func (*SimpleSchemaRuleEncoder) Encode ¶ added in v1.5.2
func (encoder *SimpleSchemaRuleEncoder) Encode(value *SimpleSchemaRule) enc.Wire
func (*SimpleSchemaRuleEncoder) EncodeInto ¶ added in v1.5.2
func (encoder *SimpleSchemaRuleEncoder) EncodeInto(value *SimpleSchemaRule, buf []byte)
func (*SimpleSchemaRuleEncoder) Init ¶ added in v1.5.2
func (encoder *SimpleSchemaRuleEncoder) Init(value *SimpleSchemaRule)
type SimpleSchemaRuleParsingContext ¶ added in v1.5.2
type SimpleSchemaRuleParsingContext struct {
KeyLocator_context spec_2022.KeyLocatorParsingContext
}
func (*SimpleSchemaRuleParsingContext) Init ¶ added in v1.5.2
func (context *SimpleSchemaRuleParsingContext) Init()
func (*SimpleSchemaRuleParsingContext) Parse ¶ added in v1.5.2
func (context *SimpleSchemaRuleParsingContext) Parse(reader enc.WireView, ignoreCritical bool) (*SimpleSchemaRule, error)