Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "cache",
Short: "Manage caches within an Apigee environment",
Long: "Manage caches within an Apigee environment",
}
Cmd to manage tracing of apis
View Source
var DelCmd = &cobra.Command{ Use: "delete", Short: "Delete a cache resource from the environment", Long: "Delete a cache resource from the environment", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeOrg(org) apiclient.SetApigeeEnv(env) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = cache.Delete(name) return }, }
Cmd to delete cache
View Source
var ListCmd = &cobra.Command{ Use: "list", Short: "List all caches in your environment", Long: "List all caches in your environment", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeOrg(org) apiclient.SetApigeeEnv(env) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = cache.List() return }, }
Cmd to list caches
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.