Documentation ¶
Overview ¶
Package frameworkext contains extensions to sigs.k8s.io/e2e-framework
Index ¶
- func ApplyFiles(restConfig *rest.Config, manifestFiles ...string) error
- func ApplyManifests(restConfig *rest.Config, manifests ...[]byte) error
- func DeleteFiles(restConfig *rest.Config, manifestFiles ...string) error
- func DeleteManifests(restConfig *rest.Config, manifests ...[]byte) error
- type ConditionExtension
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyFiles ¶
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 ¶
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 ¶
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.
Types ¶
type ConditionExtension ¶
type ConditionExtension struct {
// contains filtered or unexported fields
}
func NewConditionExtension ¶
func NewConditionExtension(r *resources.Resources) *ConditionExtension
func (*ConditionExtension) DaemonSetReady ¶
func (c *ConditionExtension) DaemonSetReady(daemonset k8s.Object) apimachinerywait.ConditionWithContextFunc
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.