util

package
v0.0.0-...-4f8ce5b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(strs []string, item string) bool

func LoadConfigFromFile

func LoadConfigFromFile(path string) ([]byte, error)

func Match

func Match(pattern, str string) bool

Match provides simple string pattern match that only supports wildcard '*'.

func MatchPatterns

func MatchPatterns(patterns []string, target string) bool

MatchPatterns returns true if target matches any of the given patterns.

Types

type BuildVariables

type BuildVariables struct {
	// The hawtio-online operand image repository
	ImageRepository string
	// The hawtio-online operand image version
	ImageVersion string
	// Legacy serving certificate version
	LegacyServingCertificateMountVersion string
	// Product name
	ProductName string
	// The hawtio-online server root directory
	ServerRootDirectory string
	// The default common name for the generated client certificates
	ClientCertCommonName string
	// Additional template spec labels
	AdditionalLabels string
}

Go build-time variables

Jump to

Keyboard shortcuts

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