package
0.0.0-20210719135506-2c9fce15a2ee
Repository: https://github.com/kubernetes-sigs/poseidon.git
Documentation: pkg.go.dev
# Packages
Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string.
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExpectNoErrorWithOffset checks if "err" is set, and if so, fails assertion while logging the error at "offset" levels above its caller (for example, for call chain f -> g -> ExpectNoErrorWithOffset(1, ...) error would be logged for "f").
No description provided by the author
FailfWithOffset calls "Fail" and logs the error at "offset" levels above its caller (for example, for call chain f -> g -> FailfWithOffset(1, ...) error would be logged for "f").
GetJob uses c to get the Job in namespace ns named name.
GetJobPods returns a list of Pods belonging to a Job.
GetMasterAndWorkerNodesOrDie will return a list masters and schedulable worker nodes.
GetPodCondition extracts the provided condition from the given status and returns that.
GetPodConditionFromList extracts the provided condition from the given list of condition and returns the index of the condition and the condition.
No description provided by the author
GetPodsScheduled returns a number of currently scheduled and not scheduled Pods.
IsMasterNode returns true if its a master node or false otherwise.
KubectlCmd runs the kubectl executable through the wrapper script.
ListSchedulabelNodes get an slice of nodes that are schedulable.
No description provided by the author
NewDefaultFramework makes a new framework and sets up a BeforeEach/AfterEach for you (you can write additional before/after each functions).
NewFramework makes a new framework and sets up a BeforeEach/AfterEach.
No description provided by the author
RemoveLabelOffNode is for cleaning up labels temporarily added to node, won't fail if target label doesn't exist or has been removed.
No description provided by the author
TaintExists checks if the given taint exists in list of taints.
VerifyLabelsRemoved checks if Node for given nodeName does not have any of labels from labelKeys.
No description provided by the author
Waits default amount of time (PodStartTimeout) for the specified pod to become running.
Waits default amount of time (DefaultPodDeletionTimeout) for the specified pod to stop running.
WaitForPodNotPending returns an error if it took too long for the pod to go out of pending state.
Waits default amount of time (PodStartTimeout) for the specified pod to become running.
WaitForStableCluster waits until all existing pods are scheduled and returns their amount.
No description provided by the author
WaitTimeoutForPodNotPending returns an error if it took too long for the pod to go out of pending state.
No description provided by the author
# Constants
How long claims have to become bound.
How long claims have to become deleted.
How long claims have to become dynamically provisioned.
No description provided by the author
No description provided by the author
Job selector name.
How long to wait for a job to finish.
If there are any orphaned namespaces to clean up, this test is running on a long lived cluster.
How long nodes have to be "ready" when a test begins.
How long to wait for the pod to be listable.
How long pods have to be "ready" when a test begins.
Initial pod start can be delayed O(minutes) by slow docker pulls TODO: Make this 30 seconds once #4566 is resolved.
How often to Poll pods, nodes and claims.
How long PVs have to become bound.
How long PVs have to become deleted.
How long PVs have to beome reclaimed.
How long a node is allowed to become "Ready" after it is restarted before the test is considered failed.
How long a pod is allowed to become "running" and "ready" after a node restart before test is considered failed.
service accounts are provisioned after namespace creation a service account is required to support pod creation in a namespace as part of admission control.
No description provided by the author
How long to wait for a service endpoint to be resolvable.
How long to try single API calls (like 'get' or 'list').
# Variables
No description provided by the author
Label allocated to the image puller static pod that runs on each node before e2es.
# Structs
Framework supports common operations used by e2e tests; it will keep a client & a namespace for you.
No description provided by the author
# Type aliases
No description provided by the author