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.SetApigeeEnv(env) return apiclient.SetApigeeOrg(org) }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = keystores.Create(name) return }, }
CreateCmd 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.SetApigeeEnv(env) return apiclient.SetApigeeOrg(org) }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = keystores.Delete(name) return }, }
DelCmd 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.SetApigeeEnv(env) return apiclient.SetApigeeOrg(org) }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = keystores.Get(name) return }, }
GetCmd to get key stores
View Source
var ImpCmd = &cobra.Command{ Use: "import", Short: "Import a file containing keystores", Long: "Import a file containing keystores", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeEnv(env) return apiclient.SetApigeeOrg(org) }, RunE: func(cmd *cobra.Command, args []string) error { return keystores.Import(conn, filePath) }, }
ImpCmd to import ts
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.SetApigeeEnv(env) return apiclient.SetApigeeOrg(org) }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = keystores.List() return }, }
ListCmd to list key stores
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.