Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPodConditionReady ¶
func IsPodConditionReady(pod *corev1.Pod, conditionType corev1.PodConditionType) bool
IsPodConditionReady returns true if the pod condition is ready
Types ¶
type CurlFromPod ¶
type CurlFromPod struct { Url string Cluster *KubeContext Method string Data string App string Namespace string Verbose bool Headers []string TimeoutSeconds float32 // Container from which curl is executed, defaults to "curl" Container string }
func (*CurlFromPod) Execute ¶
func (c *CurlFromPod) Execute() (string, error)
type KubeContext ¶
type KubeContext struct { Context string // contains filtered or unexported fields }
func NewKubeContext ¶
func NewKubeContext(kubeCtx string) (*KubeContext, error)
func (*KubeContext) CheckPodsInCluster ¶
func (k *KubeContext) CheckPodsInCluster(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.