sdkExample

command
v0.6.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

Hexa

Example: Using the SDK To Read Polcies from AVP

The GoLang code in exampleIntegration.go shows how to open an integration using the Hexa-Mapper SDK. In this example, a credential file for AWS is read in and an integration is opened. The application then calls GetPolicyApplicationPoints to discover the defined AVP integrations. It then calls GetPolicies and SetPolicies to retrieve and set policies GoLang.

In this example, the retrieved policies are formatted in a hexaPolicy.Policies structure.

For more information on the contents of the Amazon credential file, use the Hexa CLI as follows:

hexa help add avp

See the AVP Provider README for more information.

See the developer guide for more information on use of the SDK integration.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL