Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "flowhooks", Aliases: []string{"fs"}, Short: "Manage Flowhooks", Long: "Manage Flowhooks", }
Cmd to manage flow hooks
View Source
var CreateCmd = &cobra.Command{ Use: "attach", Short: "Attach a flowhook", Long: "Attach a flowhook", 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 = flowhooks.Attach(name, description, sharedflow, continueOnErr) return }, }
Cmd to create flow hooks
View Source
var DelCmd = &cobra.Command{ Use: "detach", Short: "Detach a flowhook", Long: "Detach a flowhook", 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 = flowhooks.Detach(name) return }, }
Cmd to delete flow hooks
View Source
var GetCmd = &cobra.Command{ Use: "get", Short: "Get a flowhook", Long: "Get a flowhook", 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 = flowhooks.Get(name) return }, }
Cmd to get flow hooks
View Source
var ListCmd = &cobra.Command{ Use: "list", Short: "List Flowhooks", Long: "List Flowhooks", 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 = flowhooks.List() return }, }
Cmd to list flow hooks
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.