Documentation
¶
Index ¶
- Variables
- func CleanupNamespaceResourcesUsingGVR(ctx context.Context, obj object, namespace string, labelSelector string)
- func CleanupNamespacesUsingGVR(ctx context.Context, ex Executor, namespacesToDelete []string)
- func CleanupNonNamespacedResourcesUsingGVR(ctx context.Context, object object, labelSelector string)
- func RetryWithExponentialBackOff(fn wait.ConditionFunc, duration time.Duration, factor, jitter float64, ...) error
- func Run(configSpec config.Spec, kubeClientProvider *config.KubeClientProvider, ...) (int, error)
- type Executor
- func (ex *Executor) RunCreateJob(iterationStart, iterationEnd int, waitListNamespaces *[]string)
- func (ex *Executor) RunCreateJobWithChurn()
- func (ex *Executor) RunDeleteJob()
- func (ex *Executor) RunPatchJob()
- func (ex *Executor) RunReadJob(iterationStart, iterationEnd int)
- func (ex *Executor) Verify() bool
- type NestedPod
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientSet kubernetes.Interface
View Source
var DynamicClient dynamic.Interface
Functions ¶
func CleanupNamespacesUsingGVR ¶
Cleanup resources specific to kube-burner with in a given list of namespaces
func CleanupNonNamespacedResourcesUsingGVR ¶
func CleanupNonNamespacedResourcesUsingGVR(ctx context.Context, object object, labelSelector string)
Cleanup non-namespaced resources using executor list
func RetryWithExponentialBackOff ¶
func RetryWithExponentialBackOff(fn wait.ConditionFunc, duration time.Duration, factor, jitter float64, timeout time.Duration) error
RetryWithExponentialBackOff a utility for retrying the given function with exponential backoff.
Types ¶
type Executor ¶
Executor contains the information required to execute a job
func (*Executor) RunCreateJob ¶
RunCreateJob executes a creation job
func (*Executor) RunCreateJobWithChurn ¶
func (ex *Executor) RunCreateJobWithChurn()
RunCreateJobWithChurn executes a churn creation job
func (*Executor) RunDeleteJob ¶
func (ex *Executor) RunDeleteJob()
RunDeleteJob executes a deletion job
func (*Executor) RunReadJob ¶
RunReadJob executes a reading job
Source Files
¶
Click to show internal directories.
Click to hide internal directories.