// allowedWebhookDisables computes a list of allowed values for the '--disable-webhooks' option
allowedWebhookDisables computes a list of allowed values for the '--disable-webhooks' option
// allowedWebhookDisables computes a list of allowed values for the ' -- disable - webhooks ' option
func allowedWebhookDisables() []string {
	dwr := defaultWebhookedResources()
	res := make([]string, len(dwr)+1)
	c := 0
	for _, elem := range dwr {
		res[c] = elem.ResourceName
		c++
	}
	res[c] = "all"
	return res
}
func allowedWebhookDisables ( ) [ ] string { dwr := defaultWebhookedResources ( ) res := make ( [ ] string , len ( dwr ) + 1 ) c := 0 for _ , elem := range dwr { res [ c ] = elem . ResourceName c ++ } res [ c ] = " " return res }
allowedWebhookDisables computes a list of allowed values for the '--disable-webhooks' option
allowedWebhookDisables computes a list of allowed values for the ' -- disable - webhooks ' option