kubernetes/test/utils/create_resources.go

const retryBackoffInitialDuration

const retryBackoffFactor

const retryBackoffJitter

const retryBackoffSteps

// Utility for retrying the given function with exponential backoff.
func RetryWithExponentialBackOff(fn wait.ConditionFunc) error {}

func CreatePodWithRetries(c clientset.Interface, namespace string, obj *v1.Pod) error {}

func CreateRCWithRetries(c clientset.Interface, namespace string, obj *v1.ReplicationController) error {}

func CreateReplicaSetWithRetries(c clientset.Interface, namespace string, obj *apps.ReplicaSet) error {}

func CreateDeploymentWithRetries(c clientset.Interface, namespace string, obj *apps.Deployment) error {}

func CreateServiceWithRetries(c clientset.Interface, namespace string, obj *v1.Service) error {}

func CreatePersistentVolumeWithRetries(c clientset.Interface, obj *v1.PersistentVolume) error {}

func CreatePersistentVolumeClaimWithRetries(c clientset.Interface, namespace string, obj *v1.PersistentVolumeClaim) error {}

// isGenerateNameConflict returns whether the error is generateName conflict or not.
func isGenerateNameConflict(meta metav1.ObjectMeta, err error) bool {}