Documentation
¶
Index ¶
- func MergeMatches(high, low [][]Match) [][]Match
- func ProcessMatches(path []string, matches [][]Match) ([]string, error)
- type Authoriser
- type Match
- type Yang
- func (y *Yang) Completion(path []string, auth Authoriser) (map[string]string, error)
- func (y *Yang) Expand(path []string, auth Authoriser) ([]string, error)
- func (y *Yang) ExpandMatches(path []string, auth Authoriser) [][]Match
- func (y *Yang) TmplGet(path []string) (*tmpl.OpTmpl, error)
- func (y *Yang) TmplGetAllowed(path []string) (string, error)
- func (y *Yang) TmplGetChildren(path []string, auth Authoriser) ([]string, error)
- func (y *Yang) TmplValidateValues(path []string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeMatches ¶
Merge matches from two sources Where two matches are identically named, high priority matches are favoured over low priority matches
Types ¶
type Authoriser ¶
type Yang ¶
type Yang struct {
// contains filtered or unexported fields
}
func NewTestYang ¶
func (*Yang) Completion ¶
func (*Yang) ExpandMatches ¶
func (y *Yang) ExpandMatches(path []string, auth Authoriser) [][]Match
func (*Yang) TmplGetChildren ¶
func (y *Yang) TmplGetChildren(path []string, auth Authoriser) ([]string, error)
Click to show internal directories.
Click to hide internal directories.