utils

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToMapInterface added in v0.1.2

func AddToMapInterface(m map[string]struct{}, s []string)

func Contains

func Contains(s []string, e string) bool

func Dedup added in v0.1.2

func Dedup(s []string) []string

func GetMapInterface

func GetMapInterface(s []string) map[string]struct{}

func IsOwnerKind added in v0.1.2

func IsOwnerKind(kind string) bool

func MergeMaps added in v0.1.2

func MergeMaps(into, other map[string]string)

func NonEmpty added in v0.1.2

func NonEmpty(s []string) []string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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