k8s

package
v0.0.0-...-dbdff16 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SchemeHTTPS = "https"
)

Variables

This section is empty.

Functions

func Hash

func Hash(s string) string

func ObjectLess

func ObjectLess(x, y *metav1.ObjectMeta) bool

ObjectLess compares two ObjectMeta values and returns true iff the first one is less than the second one as determined by their creation timestamps, using their UIDs as a tie breaker.

func Port

func Port(port int) error

Port validates if port is a valid port number between 1-65535.

func ToYaml

func ToYaml(obj interface{}) string

func URI

func URI(uri string) (string, error)

URI validates uri as being a http(s) valid url and returns the url scheme.

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