package
2.1.0
Repository: https://github.com/akamai/cli-terraform.git
Documentation: pkg.go.dev

# Functions

AsInt provides proper conversion of values which are integers in reality.
CheckErrors is used to fail the processing of the template in case of any unknown behaviors or criteria As per template.FuncMap definition, for the error to be treated as error (rather than regular value), it has to be returned as second returned value.
CmdCreateInclude is an entrypoint to export-include include sub-command.
CmdCreateProperty is an entrypoint to create-property command.
ReportError is used to report unknown behaviors or criteria during processing the template.

# Variables

ErrFetchingActivationDetails is returned when fetching activation details request failed.
ErrFetchingActivations is returned when fetching activations of include request failed.
ErrFetchingHostnameDetails is returned when fetching hostname details request failed.
ErrFetchingLatestIncludeVersion is returned when fetching latest version of include request failed.
ErrGroupNotFound is returned when group couldn't be found.
ErrHostnamesNotFound is returned when hostnames couldn't be found.
ErrIncludeNotFound is returned when include couldn't be found.
ErrIncludeRulesNotFound is returned when include rules couldn't be found.
ErrListActivePropertyHostnames is returned when listing active property hostnames failed.
ErrListPropertyHostnameActivations is returned when listing property hostnames activations failed.
ErrProductNameNotFound is returned when product couldn't be found.
ErrPropertyNotFound is returned when property couldn't be found.
ErrPropertyRulesNotFound is returned when property rules couldn't be found.
ErrPropertyVersionNotFound is returned when property version couldn't be found.
ErrPropertyVersionNotValid is returned when property version couldn't be found.
ErrSavingFiles is returned when an issue with processing templates occurs.
ErrSavingSnippets is returned when error appeared while saving property snippet JSON files.
ErrUnsupportedRuleFormat is returned when there is no template for provided rule format.

# Structs

EdgeHostname represents EdgeHostname resource.
Hostname represents edge hostname resource.
HostnameBucketDetails contains details about staging and production hostname buckets.
HostnameItem represents hostname in a bucket.
NetworkInfo holds details for specific network.
RulesTemplate represent data used for rules.
RuleTemplate represent data used for single rule.
TFData holds template data.
TFIncludeData holds template data for include.
TFPropertyData holds template data for property.
WrappedRules is a wrapper around Rule which simplifies flattening rule tree into list and adjust names of the datasources.