Skip to content

Expanded/Simplified FastDNS/Property Manager (PAPI) APIs

Pre-release
Pre-release

Choose a tag to compare

@dshafik dshafik released this 06 Sep 03:46
· 1571 commits to master since this release

DNS v1

  • No longer marshal records in favor of a simpler API:
    • Added FindRecordsByName()
    • Added AddRecord() and SetRecord()
    • Added RemoveRecord() and RemoveRecordsByName()
  • Fix API endpoint to point to correct /config-dns

PAPI v1

  • Add methods for working with the rule tree
    • FindRule()
    • FindBehavior()
    • FindParentRule()
    • AddRule()
  • Add RuleFormats.GetLatest
  • Renamed Rules.AddRule to Rules.AddChildRule() for clarity
  • Added Rules.SetChildRule()
  • Added Rules.AddChildbehavior()
  • Added Rules.SetChildBehavior()
  • Added Rules.SetCriteriaOptions()
  • Added Rules.AddCriteriaOptions()
  • Added Rules.AddChildCriteria()
  • Added Rules.SetChildCriteria()
  • Added Rules.FindCriteria()
  • Added Rules.Freeze()
  • Move Rules.PrintRules() to papi.PrintRules() in util.go