package
4.1.0+incompatible
Repository: https://github.com/open-horizon/anax.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
Delete the node policy from local db and the exchange.
Delete the node user input from local db and the exchange.
check if the node policy has been changed from last sync.
check if the node user input has been changed from last sync.
Compare old and new user inputs and get a list of services that have been updated, added or deleted.
Return the currently saved exchange node.
This function retrieves the node's policy from the exchange, adds the node built-in properties if needed.
No description provided by the author
HasPersistentAgreement takes a recordID and returns true if there is a persistent agreement with the same workload on the node.
Used one time when the local node is first registered.
If the both local and exchange node policy are not created, use the default.
For backward compatibility.
No description provided by the author
Add the given user input to the exchange node user input.
PersistingEAFilter is a filter for searching for agreements that have persisted for a certain period.
No description provided by the author
This fuction saves the given user input into exchange, and local db.
Sets the default node policy on local db and the exchange.
Return the currently saved exchange node.
Gets all the UserInputAttriutues from the DB and convert then into.
Check the node policy changes on the exchange and update the local copy with the changes.
Get the node from the exchange and save it.
Update (create new or replace old) node policy on local db and the exchange.
Update (create new or replace) node user input on local db and the exchange.
UpdateSurfaceErrors is called when a node's errors need to be surfaced to the exchange.