utils

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertTrafficPolicyStatuses added in v0.9.1

func AssertTrafficPolicyStatuses(dynamicClient client.Client, namespace string)

func AssertVirtualMeshStatuses added in v0.9.1

func AssertVirtualMeshStatuses(dynamicClient client.Client, namespace string)

func RunShell added in v0.9.1

func RunShell(c string)

Types

type Manifest added in v0.9.1

type Manifest struct {
	// contains filtered or unexported fields
}

func NewManifest added in v0.9.1

func NewManifest(filename string) (Manifest, error)

func (Manifest) AppendResources added in v0.9.1

func (m Manifest) AppendResources(resources ...metav1.Object) error

func (Manifest) Cleanup added in v0.9.1

func (m Manifest) Cleanup(namespace string)

Same as KubeDelete but ignore errors in case the test has already cleaned up associated resources. This method is just a safeguard for ensuring a clean test slate between unit tests.

func (Manifest) CreateOrTruncate added in v0.9.1

func (m Manifest) CreateOrTruncate() error

func (Manifest) KubeApply added in v0.9.1

func (m Manifest) KubeApply(namespace string) error

func (Manifest) KubeDelete added in v0.9.1

func (m Manifest) KubeDelete(namespace string) error

Jump to

Keyboard shortcuts

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