apps

package
v1.8.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2017 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADD    = "ADD"
	DEL    = "DEL"
	UPDATE = "UPDATE"
)
View Source
const (
	NautilusImage  = "gcr.io/google_containers/update-demo:nautilus"
	KittenImage    = "gcr.io/google_containers/update-demo:kitten"
	NginxImage     = "gcr.io/google_containers/nginx-slim:0.7"
	NginxImageName = "nginx"
	RedisImage     = "gcr.io/k8s-testimages/redis:e2e"
	RedisImageName = "redis"
	NewNginxImage  = "gcr.io/google_containers/nginx-slim:0.8"
)

Variables

View Source
var (
	CronJobGroupVersionResource = schema.GroupVersionResource{Group: batchv2alpha1.GroupName, Version: "v2alpha1", Resource: "cronjobs"}
)

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