Documentation ¶
Index ¶
- func StringInSlice(a string, list []string) bool
- type HcCmdHelper
- func (h HcCmdHelper) AddToScheme(scheme *apiruntime.Scheme, addToSchemeFuncs []func(*apiruntime.Scheme) error)
- func (h HcCmdHelper) ExitOnError(err error, message string, keysAndValues ...interface{})
- func (h HcCmdHelper) GetWatchNS() string
- func (h HcCmdHelper) InitiateCommand()
- func (h HcCmdHelper) RegisterPPROFServer(mgr manager.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringInSlice ¶ added in v1.7.0
Types ¶
type HcCmdHelper ¶
type HcCmdHelper struct { Logger logr.Logger Name string // contains filtered or unexported fields }
func (HcCmdHelper) AddToScheme ¶
func (h HcCmdHelper) AddToScheme(scheme *apiruntime.Scheme, addToSchemeFuncs []func(*apiruntime.Scheme) error)
func (HcCmdHelper) ExitOnError ¶
func (h HcCmdHelper) ExitOnError(err error, message string, keysAndValues ...interface{})
func (HcCmdHelper) GetWatchNS ¶
func (h HcCmdHelper) GetWatchNS() string
func (HcCmdHelper) InitiateCommand ¶
func (h HcCmdHelper) InitiateCommand()
InitiateCommand adds flags registered by imported packages (e.g. glog and controller-runtime)
func (HcCmdHelper) RegisterPPROFServer ¶ added in v1.4.1
func (h HcCmdHelper) RegisterPPROFServer(mgr manager.Manager) error
Registers a pprof server for cpu and memory profiling the running operator.
Click to show internal directories.
Click to hide internal directories.