package
0.0.0-20220901192706-96c5ae04b678
Repository: https://github.com/moby/containerd.git
Documentation: pkg.go.dev
# Functions
DeepCopy makes a deep copy from src into dst.
DeferContext returns a context for containerd cleanup operations in defer.
GenerateID generates a random unique id.
InStringSlice checks whether a string is inside a string slice.
MergeStringSlices merges 2 string slices into one and remove duplicated elements.
NamespacedContext returns a context with kubernetes namespace set.
NormalizeImageRef normalizes the image reference following the docker convention.
SubtractStringSlice subtracts string from string slice.
WithNamespace adds kubernetes namespace to the context.