common

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

Copyright 2022 Authors of spidernet-io SPDX-License-Identifier: Apache-2.0

Copyright 2022 Authors of spidernet-io SPDX-License-Identifier: Apache-2.0

Copyright 2022 Authors of spidernet-io SPDX-License-Identifier: Apache-2.0

Copyright 2022 Authors of spidernet-io SPDX-License-Identifier: Apache-2.0

Copyright 2022 Authors of spidernet-io SPDX-License-Identifier: Apache-2.0

Copyright 2022 Authors of spidernet-io SPDX-License-Identifier: Apache-2.0

Copyright 2022 Authors of spidernet-io SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

View Source
var DeploymentNameString = "deployment"
View Source
var StatefulsetNameString = "statefulSet"

Functions

func CreatePodUntilReady

func CreatePodUntilReady(frame *e2e.Framework, podYaml *corev1.Pod, podName, namespace string, waitPodStartTimeout time.Duration) (pod *corev1.Pod, podIPv4, podIPv6 string)

func GenerateExampleDaemonSetYaml

func GenerateExampleDaemonSetYaml(dsName, namespace string) *appsv1.DaemonSet

func GenerateExampleDeploymentYaml

func GenerateExampleDeploymentYaml(dpmName, namespace string, replica int32) *appsv1.Deployment

func GenerateExamplePodYaml

func GenerateExamplePodYaml(podName, namespace string) *corev1.Pod

func GenerateExampleReplicaSetYaml

func GenerateExampleReplicaSetYaml(rsName, namespace string, replica int32) *appsv1.ReplicaSet

func GenerateExampleStatefulSetYaml

func GenerateExampleStatefulSetYaml(stsName, namespace string, replica int32) *appsv1.StatefulSet

func GenerateLongPodYaml

func GenerateLongPodYaml(podName, namespace string, annotationLength int) *corev1.Pod

func GenerateString

func GenerateString(lenNum int) string

func GetPodIPv4

func GetPodIPv4(pod *corev1.Pod) string

func GetPodIPv6

func GetPodIPv6(pod *corev1.Pod) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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