test

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyConfigMap

func CopyConfigMap(old v1.ConfigMap) *v1.ConfigMap

CopyConfigMap copies a ConfigMap object

func CopyIngress

func CopyIngress(old v1beta1.Ingress) *v1beta1.Ingress

CopyIngress copies an Ingress object

func CreateFakeHTTPClient

func CreateFakeHTTPClient() *fake.RESTClient

CreateFakeHTTPClient returns a fake RESTClient which also satisfies rest.Interface

func NewConfigMap

func NewConfigMap(
	name,
	namespace string,
	annotations map[string]string,
	data map[string]string,
) *v1.ConfigMap

NewConfigMap creates a ConfigMap object

func NewIngress

func NewIngress(
	name,
	namespace string,
	annotations map[string]string,
	spec v1beta1.IngressSpec,
) *v1beta1.Ingress

NewIngress creates an Ingress object

func NewNamespace

func NewNamespace(name string, labels map[string]string) *v1.Namespace

NewNamespace creates a Namespace object

Types

This section is empty.

Jump to

Keyboard shortcuts

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