testcases

package
v0.7.18 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package testcases contains test cases for the operator which can be used both during unit and E2E testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTLS

func SetTLS(spec *api.DeploymentSpec) error

func SetTLSOrDie

func SetTLSOrDie(spec *api.DeploymentSpec)

Types

type UpdateTest

type UpdateTest struct {
	Name       string
	Deployment api.Deployment
	Mutate     func(d *api.Deployment)
}

UpdateTest defines a starting deployment and a function which will change one or more fields in it.

func UpdateTests

func UpdateTests() []UpdateTest

Jump to

Keyboard shortcuts

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