package
4.1.0+incompatible
Repository: https://github.com/open-horizon/anax.git
Documentation: pkg.go.dev
# Functions
This function creates AgreementProtocol objects.
No description provided by the author
This function creates API Spec objects.
No description provided by the author
This function is used to check if 2 producer policies are compatible with each other.
This function creates Blockchain objects.
No description provided by the author
This function creates a merged policy file from a producer policy and a consumer policy, which will eventually become the full terms and conditions of an agreement.
No description provided by the author
No description provided by the author
Delete all policy files.
No description provided by the author
This function deletes all the policy files for the given org.
This function deletes all the policy files for the given pattern of the given org.
No description provided by the author
Get the user input that fits this given service spec if arch is an empty string, it means any arch.
No description provided by the author
Generate a policy from the external policy.
This function creates HAGroup objects.
No description provided by the author
This function is used to get the policy manager up and running.
compare two Input arrays.
Create a header name for the generated policy that should be unique within the org.
No description provided by the author
Merge a external policy into a policy.
ui1 is the default, ui2 is the input form the user.
If there are 2 UserInput for the same service, take the one from ui2 if deepMerge is false.
No description provided by the author
No description provided by the author
short error and long error is the same.
No description provided by the author
These functions are used to create Policy objects.
No description provided by the author
This function creates the Policy Manager object.
These are functions that operate on policy files in the file system.
No description provided by the author
No description provided by the author
No description provided by the author
This function will select an agreement protocol to pursue based on the input policies.
No description provided by the author
Gets the and update the existing settings if the name does not exist.
compare the UserInput arrays.
This function creates workload objects.
This function creates workload priority objects.
This function writes a Policy object into a file.
# Constants
No description provided by the author
No description provided by the author
All known and supported agreement protocols.
Current schema version.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
The ContractCountEntry is used to track which device addresses (contract addresses) are in agreement for a given policy name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is the main struct that defines the Policy object.
Error contains a full error string and a short error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
This struct indicates the type and instance of blockchain to be used by the policy.
No description provided by the author