Documentation ¶
Index ¶
- func Hash(o interface{}) string
- func IntStrPtr(value intstr.IntOrString) *intstr.IntOrString
- func MergeMaps(base map[string]string, merges ...map[string]string) map[string]string
- func ObjectKey(o client.Object) types.NamespacedName
- func WrapError(context string, err error) error
- type LogConfig
- type Logger
- type MultiError
- type ProfilerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Hash ¶ added in v0.12.0
func Hash(o interface{}) string
Hash returns a hash of the passed object
func IntStrPtr ¶
func IntStrPtr(value intstr.IntOrString) *intstr.IntOrString
Types ¶
type MultiError ¶ added in v0.13.0
type MultiError []error
Type MultiError can be used for iterative operations that must keep going even if errors are detected. It will return the list of all encountered errors. MultiError implements the Error interface and can be passed around as a normal error.
func (MultiError) Error ¶ added in v0.13.0
func (me MultiError) Error() string
type ProfilerConfig ¶ added in v0.14.0
type ProfilerConfig struct { EnableProfiler bool `envconfig:"PROFILER_ENABLE" default:"false"` ProfilerBindAddress string `envconfig:"PROFILER_BIND_ADDRESS" default:"0.0.0.0"` ProfilerBinbPort string `envconfig:"PROFILER_BIND_ORT" default:"6060"` Log logr.Logger }
func (ProfilerConfig) Setup ¶ added in v0.14.0
func (cfg ProfilerConfig) Setup() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.