util

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

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

Method to check if a string exists in a slice

func GenerateInstanceName

func GenerateInstanceName(podName, sandboxID string, podvmNameMax int) string

func NodeLabels

func NodeLabels(ctx context.Context, name string) (map[string]string, error)

func RedactStruct

func RedactStruct(struc interface{}, fields ...string) interface{}

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