util

package
v0.0.0-...-be2af14 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNamespace

func CreateNamespace(cs kubernetes.Interface, namespace string, dryRun bool) error

func IsFilePath

func IsFilePath(path string) bool

func SetLabel

func SetLabel(resource runtime.Object, label, value string) error

func ToString

func ToString(errors []error, separator string) string

Types

type Errors

type Errors []error

func AppendErr

func AppendErr(errors []error, err error) Errors

func AppendErrs

func AppendErrs(errors []error, newErrs []error) Errors

func NewErrs

func NewErrs(err error) Errors

func (Errors) Error

func (e Errors) Error() string

func (Errors) ToError

func (e Errors) ToError() error

Directories

Path Synopsis
log

Jump to

Keyboard shortcuts

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