utils

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package utils contains some utility code that can be reused by many components or whose purpose does not really fit the other packages, so it is moved here to keep some separation of concerns.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterAnnotations

func FilterAnnotations(annotations map[string]string) map[string]string

FilterAnnotations is used to remove annotations that should be ignored by the operator

func ParseAndValidateSettings added in v0.3.0

func ParseAndValidateSettings(settings *types.Settings) (*types.Settings, error)

ParseAndValidateSettings parses the settings and validates them.

In case of any errors, the settings returned is nil and the error occurred is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL