Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSandboxes ¶
func GetSandboxes(sandboxCount int) []*kubeapi.PodSandboxConfig
GetSandboxes returns the specified number of PodSandboxConfig objects with "fake" contents.
Types ¶
type ContainerTestConfig ¶
type ContainerTestConfig struct { // Container name. Name string // Pod sandbox id. SandboxID string // Container id. ContainerID string // Image reference. Image string // Container labels. Labels map[string]string // Container annotations. Annotations map[string]string }
ContainerTestConfig specifies configuration for a container test.
func GetContainersConfig ¶
func GetContainersConfig(sandboxConfigs []*kubeapi.PodSandboxConfig) []*ContainerTestConfig
GetContainersConfig returns the specified number of ContainerTestConfig objects.
Click to show internal directories.
Click to hide internal directories.