apps

package
v1.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 51 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ADD    = "ADD"
	DEL    = "DEL"
	UPDATE = "UPDATE"
)
View Source
const (
	NginxImageName = "nginx"
	RedisImageName = "redis"
)

NOTE(claudiub): These constants should NOT be used as Pod Container Images.

Variables

View Source
var (
	CronJobGroupVersionResourceAlpha = schema.GroupVersionResource{Group: "batch", Version: "v2alpha1", Resource: "cronjobs"}
	CronJobGroupVersionResourceBeta  = schema.GroupVersionResource{Group: "batch", Version: "v1beta1", Resource: "cronjobs"}
	NautilusImage                    = imageutils.GetE2EImage(imageutils.Nautilus)
	KittenImage                      = imageutils.GetE2EImage(imageutils.Kitten)
	NginxImage                       = imageutils.GetE2EImage(imageutils.Nginx)
	NewNginxImage                    = imageutils.GetE2EImage(imageutils.NginxNew)
	RedisImage                       = imageutils.GetE2EImage(imageutils.Redis)
)
View Source
var NamespaceNodeSelectors = []string{"scheduler.alpha.kubernetes.io/node-selector"}

The annotation key scheduler.alpha.kubernetes.io/node-selector is for assigning node selectors labels to namespaces

Functions

func NewRestartConfig

func NewRestartConfig(nodeName, daemonName string, healthzPort int, pollInterval, pollTimeout time.Duration) *restartDaemonConfig

NewRestartConfig creates a restartDaemonConfig for the given node and daemon.

func SIGDescribe

func SIGDescribe(text string, body func()) bool

func TestReplicationControllerServeImageOrFail

func TestReplicationControllerServeImageOrFail(f *framework.Framework, test string, image string)

A basic test to check the deployment of an image using a replication controller. The image serves its hostname which is checked for each replica.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL