containerd

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToAPIEndpoint

func ToAPIEndpoint(url string) string

ToAPIEndpoint turns URL to a valid API endpoint used in a containerd config file for a local registry. Original input is returned in case of malformed inputs.

func ToAPIEndpoints

func ToAPIEndpoints(URLs map[string]string) map[string]string

ToAPIEndpoints utilizes ToAPIEndpoint to turn all URLs from a map to valid API endpoints for a local registry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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