Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetConfigDataCmd = &cobra.Command{ Use: "getConfigData", Short: "Config data of waf", Long: `Config data of waf`, Run: func(cmd *cobra.Command, args []string) { authFlag, clientAuth, err := authenticate.SubCommandAuth(cmd) if err != nil { cmd.Help() return } if authFlag { webAclId, _ := cmd.Flags().GetString("webAclId") if webAclId != "" { GetClusterDetails(webAclId, *clientAuth) } else { log.Fatalln("waf web acl id not provided. program exit") } } }, }
getConfigDataCmd represents the getConfigData command
Functions ¶
func GetClusterDetails ¶
func GetClusterDetails(webAclId string, auth client.Auth) *waf.GetWebACLOutput
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.