utils

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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