Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "keystores", Aliases: []string{"ks"}, Short: "Manage Key Stores", Long: "Manage Key Stores", }
Cmd to manage key stores
View Source
var CreateCmd = &cobra.Command{ Use: "create", Short: "Create a Key Store", Long: "Create a Key Store", 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 = keystores.Create(name) return }, }
Cmd to create key stores
View Source
var DelCmd = &cobra.Command{ Use: "delete", Short: "Delete a Key Store", Long: "Delete a Key Store", 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 = keystores.Delete(name) return }, }
Cmd to delete key stores
View Source
var GetCmd = &cobra.Command{ Use: "get", Short: "Get a Key Store", Long: "Get a Key Store", 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 = keystores.Get(name) return }, }
Cmd to get key stores
View Source
var ListCmd = &cobra.Command{ Use: "list", Short: "List Key Stores", Long: "List Key Stores", 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 = keystores.List() return }, }
Cmd to list key stores
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.