Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchorKey ¶
type AnchorKey struct { // AnchorError - used in validate to break execution of the recursion when if condition fails AnchorError error // contains filtered or unexported fields }
AnchorKey - contains map of anchors
func (*AnchorKey) CheckAnchorInResource ¶
func (ac *AnchorKey) CheckAnchorInResource(pattern interface{}, resource interface{})
CheckAnchorInResource Check if condition anchor key has values
func (*AnchorKey) IsAnchorError ¶
IsAnchorError - if any of the anchor key doesn't exists in the resource then it will return true if any of (key)=false then return IsAnchorError() as true if all the keys exists in the pattern exists in resource then return IsAnchorError() as false
Click to show internal directories.
Click to hide internal directories.