package
1.7.2
Repository: https://github.com/srinandan/apigeecli.git
Documentation: pkg.go.dev

# Functions

CreateIAMServiceAccount create a new IAM SA with the necessary roles for Apigee.
DownloadResource method is used to download resources, proxy bundles, sharedflows.
FetchAsyncBundle can download a shared flow or a proxy bundle.
FetchBundle can download a shared flow or proxy bundle.
GetApigeeEnv gets the env variable.
GetApigeeOrg gets the org variable.
GetApigeeToken get the access token value in client opts (does not generate it).
GetAsyncEntity stores results for each entity in a list.
No description provided by the author
GetPrintOutput.
GetProjectID gets the project id.
GetServiceAccount.
HttpClient method is used to GET,POST,PUT or DELETE JSON data.
ImportBundle imports a sharedflow or api proxy bundle.
ImportBundleAsync imports a sharedflow or api proxy bundle meantot be called asynchronously.
IsSkipCache.
IsSkipCheck.
IsSkipLogInfo.
NewApigeeClient sets up options to invoke Apigee APIs.
PostHttpOctet method is used to send resources, proxy bundles, shared flows etc.
PrettyPrint method prints formatted json.
ReadBundle confirms if the file format is a zip file.
RemoveIAMServiceAccount removes/unbinds IAM SA from all roles for an Apigee Env.
SetAccessToken read from cache or if not found or expired will generate a new one.
SetApigeeEnv set the env variable.
SetApigeeOrg sets the org variable.
SetApigeeToken sets the access token for use with Apigee API calls.
SetIAMServiceAccount create a new IAM SA with the necessary roles for an Apigee Env.
PrintOutput.
SetProjectID sets the project id.
SetServiceAccount.
SetSkipLogIngo.
WriteArrayByteArrayToFile accepts [][]bytes and writes to a file.
WriteByteArrayToFile accepts []bytes and writes to a file.

# Constants

BaseURL is the Apigee control plane endpoint.
CrmURL is the endpoint for cloud resource manager.

# Structs

ApigeeClientOptions is the base struct to hold all command arguments.