apps

package
v0.0.0-...-e6272b8 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 51 Imported by: 0

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