kubernetes: k8s.io/kubernetes/test/utils/image Index | Files

package image

import "k8s.io/kubernetes/test/utils/image"

Index

Package Files

manifest.go

Constants

const (
    // Agnhost image
    Agnhost = iota
    // 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
    // Dnsutils image
    Dnsutils
    // 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
    // Mounttest image
    Mounttest
    // MounttestUser image
    MounttestUser
    // 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
    // ResourceController image
    ResourceController
    // SdDummyExporter image
    SdDummyExporter
    // StartupScript image
    StartupScript
    // TestWebserver image
    TestWebserver
    // VolumeNFSServer image
    VolumeNFSServer
    // VolumeISCSIServer image
    VolumeISCSIServer
    // VolumeGlusterServer image
    VolumeGlusterServer
    // VolumeRBDServer image
    VolumeRBDServer
)

Variables

var (

    // PrivateRegistry is an image repository that requires authentication
    PrivateRegistry = registry.PrivateRegistry
)

func GetE2EImage Uses

func GetE2EImage(image int) string

GetE2EImage returns the fully qualified URI to an image (including version)

func GetImageConfigs Uses

func GetImageConfigs() map[int]Config

GetImageConfigs returns the map of imageConfigs

func GetPauseImageName Uses

func GetPauseImageName() string

GetPauseImageName returns the pause image name with proper version

func ReplaceRegistryInImageURL Uses

func ReplaceRegistryInImageURL(imageURL string) (string, error)

ReplaceRegistryInImageURL replaces the registry in the image URL with a custom one

type Config Uses

type Config struct {
    // contains filtered or unexported fields
}

Config holds an images registry, name, and version

func GetConfig Uses

func GetConfig(image int) Config

GetConfig returns the Config object for an image

func (*Config) GetE2EImage Uses

func (i *Config) GetE2EImage() string

GetE2EImage returns the fully qualified URI to an image (including version)

func (*Config) SetName Uses

func (i *Config) SetName(name string)

SetName sets an image name in a Config struct

func (*Config) SetRegistry Uses

func (i *Config) SetRegistry(registry string)

SetRegistry sets an image registry in a Config struct

func (*Config) SetVersion Uses

func (i *Config) SetVersion(version string)

SetVersion sets an image version in a Config struct

type RegistryList Uses

type RegistryList struct {
    GcAuthenticatedRegistry string `yaml:"gcAuthenticatedRegistry"`
    DockerLibraryRegistry   string `yaml:"dockerLibraryRegistry"`
    DockerGluster           string `yaml:"dockerGluster"`
    E2eRegistry             string `yaml:"e2eRegistry"`
    InvalidRegistry         string `yaml:"invalidRegistry"`
    GcRegistry              string `yaml:"gcRegistry"`
    GcrReleaseRegistry      string `yaml:"gcrReleaseRegistry"`
    GoogleContainerRegistry string `yaml:"googleContainerRegistry"`
    PrivateRegistry         string `yaml:"privateRegistry"`
    SampleRegistry          string `yaml:"sampleRegistry"`
    QuayK8sCSI              string `yaml:"quayK8sCSI"`
    QuayIncubator           string `yaml:"quayIncubator"`
}

RegistryList holds public and private image registries

Package image imports 5 packages (graph) and is imported by 942 packages. Updated 2019-11-14. Refresh now. Tools for package owners.