apiutils

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Boolptr

func Boolptr(v bool) *bool

func CombineMaps

func CombineMaps[K comparable, V any](sms ...map[K]V) map[K]V

func DefaultIfZero

func DefaultIfZero[T comparable](t, ifZero T) T

func DerefOr

func DerefOr[T any](v *T, d T) T

func HashSecretData

func HashSecretData(data map[string][]byte) string

func Ptr

func Ptr[T any](t T) *T

Types

type ImageID

type ImageID struct {
	Registry string
	Repo     string
	Tag      string
	Digest   string
}

func ImgSplit

func ImgSplit(s string) (res ImageID)

func (ImageID) String

func (id ImageID) String() string

func (ImageID) WithDefaults

func (id ImageID) WithDefaults(d ImageID) ImageID

Jump to

Keyboard shortcuts

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