Documentation ¶
Index ¶
- Variables
- func AssertTrafficPolicyStatuses(ctx context.Context, trafficPolicy networkingv1.TrafficPolicyClient, ...)
- func AssertVirtualMeshStatuses(ctx context.Context, virtualMesh networkingv1.VirtualMeshClient, ...)
- func RunShell(c string)
- func SetupProvidedCA(ctx context.Context, secret *corev1.Secret, dyn client.Client, ...) error
- type Manifest
Constants ¶
This section is empty.
Variables ¶
View Source
var TestManifestDir string
if TestManifestDir is set, manifests will be created here
Functions ¶
func AssertTrafficPolicyStatuses ¶
func AssertTrafficPolicyStatuses( ctx context.Context, trafficPolicy networkingv1.TrafficPolicyClient, namespace string, )
func AssertVirtualMeshStatuses ¶
func AssertVirtualMeshStatuses( ctx context.Context, virtualMesh networkingv1.VirtualMeshClient, namespace string, )
func SetupProvidedCA ¶ added in v1.1.0
func SetupProvidedCA( ctx context.Context, secret *corev1.Secret, dyn client.Client, vm *networkingv1.VirtualMesh, ) error
Types ¶
type Manifest ¶
type Manifest struct {
// contains filtered or unexported fields
}
func NewManifest ¶
func (Manifest) AppendResources ¶
func (Manifest) Cleanup ¶
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 ¶
func (Manifest) KubeDelete ¶
Click to show internal directories.
Click to hide internal directories.