apps

package
v0.0.0-...-db5eef7 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

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

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.NginxSlim)
	NewNginxImage                    = imageutils.GetE2EImage(imageutils.NginxSlimNew)
	RedisImage                       = imageutils.GetE2EImage(imageutils.Redis)
)

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