registries

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlockedRegistries

func GetBlockedRegistries() ([]string, error)

GetBlockedRegistries obtains the list of blocked registries defined in the global registries file.

func GetInsecureRegistries

func GetInsecureRegistries() ([]string, error)

GetInsecureRegistries obtains the list of insecure registries from the global registration file.

func GetRegistries

func GetRegistries() ([]string, error)

GetRegistries obtains the list of search registries defined in the global registries file.

func GetRegistry

func GetRegistry(image string) (string, error)

GetRegistry returns the registry name from a string if specified

func SystemRegistriesConfPath

func SystemRegistriesConfPath() string

SystemRegistriesConfPath returns an appropriate value for types.SystemContext.SystemRegistriesConfPath (possibly "", which is not an error), taking into account rootless mode and environment variable overrides.

FIXME: This should be centralized in a global SystemContext initializer inherited throughout the code, not haphazardly called throughout the way it is being called now.

Types

This section is empty.

Jump to

Keyboard shortcuts

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