Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageInspect ¶
ImageInspect contains the fields for unmarshalling podman container image's labels.
type SeedImageContent ¶
type SeedImageContent struct { *seedclusterinfo.SeedClusterInfo Proxy struct { HTTPSProxy string HTTPProxy string NOProxy string } MirrorConfig *configv1.ImageDigestMirrorSet }
SeedImageContent contains the seed image manifest and proxy info.
func GetContent ¶
func GetContent(apiClient *clients.Settings, seedImageLocation string) (*SeedImageContent, error)
GetContent returns the structured contents of a seed image as SeedImageContent.
func (*SeedImageContent) ParseMirrorConf ¶
func (s *SeedImageContent) ParseMirrorConf(config sysregistriesv2.V2RegistriesConf)
ParseMirrorConf reads a registries.conf config and sets SeedImageContent.MirrorConfig accordingly.
func (*SeedImageContent) ParseProxyEnv ¶
func (s *SeedImageContent) ParseProxyEnv(config string)
ParseProxyEnv reads a proxy.env config and sets SeedImageContent.Proxy values accordingly.
Click to show internal directories.
Click to hide internal directories.