frameworkext

package
v0.0.0-...-95c9a60 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package frameworkext contains extensions to sigs.k8s.io/e2e-framework

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyFiles

func ApplyFiles(restConfig *rest.Config, manifestFiles ...string) error

ApplyFiles creates Kubernetes objects contained in manifest file(s), in a manner similar to `kubectl apply -f` Multiple objects may be in each manifest file. The manifest files are processed in order.

func ApplyManifests

func ApplyManifests(restConfig *rest.Config, manifests ...[]byte) error

ApplyManifests creates Kubernetes objects contained in manifests, in a manner similar to `kubectl apply -f` Multiple objects may be in the manifest data.

func DeleteFiles

func DeleteFiles(restConfig *rest.Config, manifestFiles ...string) error

DeleteFiles deletes Kubernetes objects contained in manifest file(s), in a manner similar to `kubectl delete -f` Multiple objects may be in each manifest file.

func DeleteManifests

func DeleteManifests(restConfig *rest.Config, manifests ...[]byte) error

DeleteManifests deletes Kubernetes objects contained in manifest(s), in a manner similar to `kubectl delete -f` Multiple objects may be in each manifest.

Types

type ConditionExtension

type ConditionExtension struct {
	// contains filtered or unexported fields
}

func NewConditionExtension

func NewConditionExtension(r *resources.Resources) *ConditionExtension

func (*ConditionExtension) DaemonSetReady

func (*ConditionExtension) ResourceMatch

func (c *ConditionExtension) ResourceMatch(obj k8s.Object, matchFetcher func(object k8s.Object) bool) apimachinerywait.ConditionWithContextFunc

ResourceMatch is a helper function used to check if the resource under question has met a pre-defined state. This can be leveraged for checking fields on a resource that may not be immediately present upon creation.

Jump to

Keyboard shortcuts

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