utils

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorContains added in v0.4.0

func ErrorContains(out error, want string) bool

func IsNil added in v0.2.2

func IsNil(i interface{}) bool

IsNil checks if an Interface is nil.

func MergeByteMap added in v0.2.2

func MergeByteMap(dst, src map[string][]byte) map[string][]byte

MergeByteMap merges map of byte slices.

func MergeStringMap added in v0.2.2

func MergeStringMap(dest, src map[string]string)

MergeStringMap performs a deep clone from src to dest.

func ObjectHash added in v0.3.6

func ObjectHash(object interface{}) string

ObjectHash calculates md5 sum of the data contained in the secret. nolint:gosec

Types

This section is empty.

Jump to

Keyboard shortcuts

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