Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorCreateRulesEngine = errors.New("Failed to create the rule in Rules Engine: %s. Check your settings and try again. If the error persists, contact Azion support.") ErrorConvertApplicationId = errors.New("Invalid --application-id flag provided. The value must be an integer. Run the command 'azion create rules-engine --help' to display more information and try again") )
Used by both the v3 and the v4 command trees.
View Source
var ( ErrorNameEmpty = errors.New("The name field shouldn't be empty") ErrorConditionalEmpty = errors.New("The conditional field shouldn't be empty") ErrorVariableEmpty = errors.New("The variable field shouldn't be empty") ErrorOperatorEmpty = errors.New("The operator field shouldn't be empty") ErrorInputValueEmpty = errors.New("The input value field shouldn't be empty") ErrorNameBehaviorsEmpty = errors.New("The behavior name field cannot be empty") ErrorStructCriteriaNil = errors.New("You must inform a criteria") ErrorStructBehaviorsNil = errors.New("You must inform a behavior") )
Used only by the v3 command tree (bug-fix-only; see doc/plan.md).
View Source
var ( Usage = "rules-engine" ShortDescription = "Creates a rule in Rules Engine" LongDescription = "Creates a rule in Rules Engine based on given attributes to be used in Applications" FlagEdgeApplicationID = "Unique identifier for an Application" FlagPhase = "The phase is either 'request' or 'response'" FlagFile = "Path to a JSON file containing the attributes of the rule that will be created; you can use - for reading from stdin" OutputSuccess = "Created Rules Engine with ID %d" HelpFlag = "Displays more information about the azion create rules-engine subcommand" AskInputApplicationId = "Enter the ID of the Application that the Rules Engine will be connected to:" AskInputPhase = "Enter the new Rule Engine's phase (request/response):" AskInputPathFile = "Enter the path of the json to create the Rules Engine:" )
Used by both the v3 and the v4 command trees.
View Source
var (
ErrorInvalidPhase = errors.New("Invalid phase value provided. The value must be 'request' or 'response'. Run the command 'azion create rules-engine --help' to display more information and try again")
)
Used only by the v4 command tree.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.