utils

package
v1.11.0-rc.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains added in v1.10.1

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

func NewStringSet added in v1.1.1

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