utils

package
v0.0.0-...-ebb33e4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains[V comparable](arr []V, str V) bool

func NewStringSet

func NewStringSet(values ...string) map[string]struct{}

func StartHTTPServer

func StartHTTPServer(port int, ready chan bool)

Types

type CommonConfig

type CommonConfig struct {
	ComponentType string
	ComponentName string
	AllOperations bool
	Operations    map[string]struct{}
}

func (CommonConfig) CopyMap

func (cc CommonConfig) CopyMap(config map[string]string) map[string]string

func (CommonConfig) HasOperation

func (cc CommonConfig) HasOperation(operation string) bool

Jump to

Keyboard shortcuts

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