Documentation ¶
Index ¶
- Variables
- func CleanupNamespaceResourcesUsingGVR(ctx context.Context, objects []object, namespacesToDelete []string, ...)
- func CleanupNamespaces(ctx context.Context, l metav1.ListOptions, cleanupWait bool)
- func CleanupNonNamespacedResources(ctx context.Context, l metav1.ListOptions, cleanupWait bool)
- func CleanupNonNamespacedResourcesUsingGVR(ctx context.Context, executorList []Executor, cleanupWait bool)
- func RetryWithExponentialBackOff(fn wait.ConditionFunc, duration time.Duration, factor, jitter float64, ...) error
- func Run(configSpec config.Spec, prometheusClients []*prometheus.Prometheus, ...) (int, error)
- func VerifyContainerRegistry(restConfig *rest.Config) bool
- type Executor
- type NestedPod
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientSet *kubernetes.Clientset
View Source
var DynamicClient dynamic.Interface
Functions ¶
func CleanupNamespaceResourcesUsingGVR ¶ added in v1.7.13
func CleanupNamespaceResourcesUsingGVR(ctx context.Context, objects []object, namespacesToDelete []string, jobName string)
Cleanup resources specific to kube-burner with in a given list of namespaces
func CleanupNamespaces ¶
func CleanupNamespaces(ctx context.Context, l metav1.ListOptions, cleanupWait bool)
CleanupNamespaces deletes namespaces with the given selector
func CleanupNonNamespacedResources ¶ added in v1.7.5
func CleanupNonNamespacedResources(ctx context.Context, l metav1.ListOptions, cleanupWait bool)
Cleanup non-namespaced resources with the given selector
func CleanupNonNamespacedResourcesUsingGVR ¶ added in v1.7.6
func CleanupNonNamespacedResourcesUsingGVR(ctx context.Context, executorList []Executor, cleanupWait bool)
Cleanup non-namespaced resources using executor list
func RetryWithExponentialBackOff ¶ added in v0.9.1
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.
func Run ¶ added in v1.4.1
func Run(configSpec config.Spec, prometheusClients []*prometheus.Prometheus, alertMs []*alerting.AlertManager, indexer *indexers.Indexer, timeout time.Duration, metadata map[string]interface{}) (int, error)
func VerifyContainerRegistry ¶ added in v1.7.6
Verifies container registry and reports its status
Types ¶
type Executor ¶
Executor contains the information required to execute a job
func (*Executor) RunCreateJob ¶
RunCreateJob executes a creation job
func (*Executor) RunCreateJobWithChurn ¶ added in v0.17.0
func (ex *Executor) RunCreateJobWithChurn()
RunCreateJobWithChurn executes a churn creation job
func (*Executor) RunDeleteJob ¶
func (ex *Executor) RunDeleteJob()
RunDeleteJob executes a deletion job
func (*Executor) RunPatchJob ¶ added in v0.15.2
func (ex *Executor) RunPatchJob()
RunPatchJob executes a patch job
Source Files ¶
Click to show internal directories.
Click to hide internal directories.