util

package
v0.0.0-...-3e0e934 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: Apache-2.0, BSD-2-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLabels

func BuildLabels(configLabels, imageConfigLabels map[string]string) map[string]string

func DeepCopy

func DeepCopy(dst interface{}, src interface{}) error

func DeferContext

func DeferContext() (context.Context, context.CancelFunc)

func GenerateID

func GenerateID() string

func GetPassthroughAnnotations

func GetPassthroughAnnotations(podAnnotations map[string]string,
	runtimePodAnnotations []string) (passthroughAnnotations map[string]string)

func GetRepoDigestAndTag

func GetRepoDigestAndTag(namedRef reference.Named, digest imagedigest.Digest) (string, string)

func InStringSlice

func InStringSlice(ss []string, str string) bool

func MergeStringSlices

func MergeStringSlices(a []string, b []string) []string

func NamespacedContext

func NamespacedContext() context.Context

func ParseImageReferences

func ParseImageReferences(refs []string) ([]string, []string)

func SubtractStringSlice

func SubtractStringSlice(ss []string, str string) []string

func WithNamespace

func WithNamespace(ctx context.Context) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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