Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AcCmd = &cobra.Command{ Use: "enable-apigee-connect", Short: "Set MART endpoint for an Apigee Org", Long: "Set MART endpoint for an Apigee Org", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeOrg(org) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { return orgs.SetOrgProperty("features.mart.apigee.connect.enabled", "true") }, }
Cmd to set mart endpoint
View Source
var Cmd = &cobra.Command{
Use: "orgs",
Short: "Manage Apigee Orgs",
Long: "Manage Apigee Orgs",
}
Cmd to manage orgs
View Source
var CreateCmd = &cobra.Command{ Use: "create", Short: "Create a new Apigee Org", Long: "Create a new Apigee Org; Your GCP project must be whitelist for this operation", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeOrg(projectID) apiclient.SetProjectID(projectID) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = orgs.Create(region) return }, }
Cmd to get org details
View Source
var GetCmd = &cobra.Command{ Use: "get", Short: "Show details of an Apigee Org", Long: "Show details of an Apigee Org", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeOrg(org) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = orgs.Get() return }, }
Cmd to get org details
View Source
var ListCmd = &cobra.Command{ Use: "list", Short: "List the Apigee organizations", Long: "List the Apigee organizations, and the related projects that a user has permissions for", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeOrg(org) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = orgs.List() return }, }
Cmd to list orgs
View Source
var MartCmd = &cobra.Command{ Use: "setmart", Short: "Set MART endpoint for an Apigee Org", Long: "Set MART endpoint for an Apigee Org", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeOrg(org) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { return orgs.SetOrgProperty("features.mart.server.endpoint", mart) }, }
Cmd to set mart endpoint
View Source
var ObCmd = &cobra.Command{ Use: "enable-ax-obfuscation", Short: "Obfuscate analytics fields", Long: "Obfuscate analytics fields before sending to control plane", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeOrg(org) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { return orgs.SetOrgProperty("features.analytics.data.obfuscation.enabled", "true") }, }
Cmd to enable AX obfuscation
View Source
var PropCmd = &cobra.Command{ Use: "set", Short: "Set organization property", Long: "Set organization property", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeOrg(org) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { return orgs.SetOrgProperty(propName, propValue) }, }
Cmd to set mart endpoint
View Source
var WlCmd = &cobra.Command{ Use: "enable-mart-whitelist", Short: "Enable IP whitelisting for MART connections", Long: "Enable IP whitelisting for MART connections", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeOrg(org) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { return orgs.SetOrgProperty("features.mart.ip.whitelist.enabled", "true") }, }
Cmd to set mart endpoint
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.