Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "kvms",
Short: "Manage Key Value Maps",
Long: "Manage Key Value Maps",
}
Cmd to manage kvms
View Source
var CreateCmd = &cobra.Command{ Use: "create", Short: "Create an environment scoped KVM Map", Long: "Create an environment scoped KVM Map", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeEnv(env) apiclient.SetApigeeOrg(org) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = kvm.Create(name, encrypt) return }, }
Cmd to create kvms
View Source
var DelCmd = &cobra.Command{ Use: "delete", Short: "Delete a KVM map", Long: "Delete a KVM map", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeEnv(env) apiclient.SetApigeeOrg(org) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = kvm.Delete(name) return }, }
Cmd to delete kvm
View Source
var ListCmd = &cobra.Command{ Use: "list", Short: "Returns a list of KVMs", Long: "Returns a list of KVMs", Args: func(cmd *cobra.Command, args []string) (err error) { apiclient.SetApigeeEnv(env) apiclient.SetApigeeOrg(org) return nil }, RunE: func(cmd *cobra.Command, args []string) (err error) { _, err = kvm.List() return }, }
Cmd to list kvms
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.