Documentation ¶
Index ¶
Constants ¶
View Source
const ( // None is to be used for unset/default images None = iota // Agnhost image Agnhost // AgnhostPrivate image AgnhostPrivate // APIServer image APIServer // AppArmorLoader image AppArmorLoader // AuthenticatedAlpine image AuthenticatedAlpine // AuthenticatedWindowsNanoServer image AuthenticatedWindowsNanoServer // BusyBox image BusyBox // CheckMetadataConcealment image CheckMetadataConcealment // CudaVectorAdd image CudaVectorAdd // CudaVectorAdd2 image CudaVectorAdd2 // DebianIptables Image DebianIptables // EchoServer image EchoServer // Etcd image Etcd // GlusterDynamicProvisioner image GlusterDynamicProvisioner // Httpd image Httpd // HttpdNew image HttpdNew // InvalidRegistryImage image InvalidRegistryImage // IpcUtils image IpcUtils // JessieDnsutils image JessieDnsutils // Kitten image Kitten // Nautilus image Nautilus // NFSProvisioner image NFSProvisioner // Nginx image Nginx // NginxNew image NginxNew // Nonewprivs image Nonewprivs // NonRoot runs with a default user of 1234 NonRoot // Pause - when these values are updated, also update cmd/kubelet/app/options/container_runtime.go // Pause image Pause // Perl image Perl // PrometheusDummyExporter image PrometheusDummyExporter // PrometheusToSd image PrometheusToSd // Redis image Redis // RegressionIssue74839 image RegressionIssue74839 // ResourceConsumer image ResourceConsumer // SdDummyExporter image SdDummyExporter // VolumeNFSServer image VolumeNFSServer // VolumeISCSIServer image VolumeISCSIServer // VolumeGlusterServer image VolumeGlusterServer // VolumeRBDServer image VolumeRBDServer )
Variables ¶
View Source
var (
// PrivateRegistry is an image repository that requires authentication
PrivateRegistry = registry.PrivateRegistry
)
Functions ¶
func GetE2EImage ¶
GetE2EImage returns the fully qualified URI to an image (including version)
func GetImageConfigs ¶ added in v1.14.0
GetImageConfigs returns the map of imageConfigs
func GetPauseImageName ¶ added in v1.11.0
func GetPauseImageName() string
GetPauseImageName returns the pause image name with proper version
func ReplaceRegistryInImageURL ¶ added in v1.16.0
ReplaceRegistryInImageURL replaces the registry in the image URL with a custom one
Types ¶
type Config ¶ added in v1.13.0
type Config struct {
// contains filtered or unexported fields
}
Config holds an images registry, name, and version
func (*Config) GetE2EImage ¶ added in v1.14.0
GetE2EImage returns the fully qualified URI to an image (including version)
func (*Config) SetRegistry ¶ added in v1.13.0
SetRegistry sets an image registry in a Config struct
func (*Config) SetVersion ¶ added in v1.13.0
SetVersion sets an image version in a Config struct
type RegistryList ¶ added in v1.13.0
type RegistryList struct { GcAuthenticatedRegistry string `yaml:"gcAuthenticatedRegistry"` DockerLibraryRegistry string `yaml:"dockerLibraryRegistry"` DockerGluster string `yaml:"dockerGluster"` E2eRegistry string `yaml:"e2eRegistry"` E2eVolumeRegistry string `yaml:"e2eVolumeRegistry"` PromoterE2eRegistry string `yaml:"promoterE2eRegistry"` BuildImageRegistry string `yaml:"buildImageRegistry"` InvalidRegistry string `yaml:"invalidRegistry"` GcRegistry string `yaml:"gcRegistry"` SigStorageRegistry string `yaml:"sigStorageRegistry"` GcrReleaseRegistry string `yaml:"gcrReleaseRegistry"` PrivateRegistry string `yaml:"privateRegistry"` SampleRegistry string `yaml:"sampleRegistry"` }
RegistryList holds public and private image registries
Click to show internal directories.
Click to hide internal directories.