Documentation ¶
Index ¶
Constants ¶
View Source
const ( //OcDefaultTries is the number of times to execute the oc command on failures OcDefaultTries = 5 // OcDefaultRetryDelay is the time between retries OcDefaultRetryDelay = time.Second * 5 // QueryPattern formats the image names for a given release QueryPattern = ".references.spec.tags[] | .name + \" \" + .from.name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Release ¶
type Release interface { ExtractFile(image string, filename string) (string, error) GetReleaseArchitecture() (string, error) MirrorReleaseImages(envConfig *config.EnvConfig, applianceConfig *config.ApplianceConfig) error MirrorBootstrapImages(envConfig *config.EnvConfig, applianceConfig *config.ApplianceConfig) error }
Release is the interface to use the oc command to the get image info
Click to show internal directories.
Click to hide internal directories.