github.com/cilium/cilium@v1.16.2/operator/cmd/provider_operator_flags.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright Authors of Cilium 3 4 //go:build ipam_provider_operator 5 6 package cmd 7 8 import ( 9 "github.com/spf13/cobra" 10 "github.com/spf13/viper" 11 ) 12 13 func init() { 14 FlagsHooks = append(FlagsHooks, &operatorFlagsHooks{}) 15 } 16 17 type operatorFlagsHooks struct{} 18 19 func (hook *operatorFlagsHooks) RegisterProviderFlag(_ *cobra.Command, _ *viper.Viper) { 20 }