Versions in this module Expand all Collapse all v0 v0.4.1 Jan 12, 2026 v0.4.0 Nov 26, 2025 Changes in this version + func CreateNamespace(name string) error + func DeleteNamespace(name string, timeout string) error + func GetNamespace(name string) (*corev1.Namespace, error) + func ValidateJSONPath(jsonPath string) error + func ValidateLabelSelector(selector string) error + func ValidateNamespace(namespace string) error + func ValidateResourceName(name string) error + func ValidateResourceType(resourceType string) error + func ValidateTimeout(timeout string) error + type Client struct + func NewClient(namespace string) *Client + func (c *Client) Apply(yamlContent string) error + func (c *Client) ApplyWithoutNamespaceOverride(yamlContent string) error + func (c *Client) Delete(resourceType, name string) error + func (c *Client) DeleteClusterScoped(resourceType, name string) error + func (c *Client) DeleteFromYAML(yamlContent string) error + func (c *Client) Get(resourceType, name string) ([]byte, error) + func (c *Client) GetAll(resourceType string, labelSelector string) (string, error) + func (c *Client) GetPodLogs(podName string) (string, error) + func (c *Client) GetPodLogsSince(podName string, since string) (string, error) + func (c *Client) GetPodLogsSinceTime(podName string, since time.Time, tailLines int) (string, error) + func (c *Client) GetPodLogsTail(podName string, lines int) (string, error) + func (c *Client) GetPodsByLabel(labelSelector string) ([]string, error) + func (c *Client) GetWithJsonPath(resourceType, name, jsonPath string) (string, error) + func (c *Client) Wait(resourceType, name, condition string, timeout string) error + func (c *Client) WaitForDeploymentReady(name string) + func (c *Client) WaitForPipelineInvalid(name string) + func (c *Client) WaitForPipelineValid(name string) + func (c *Client) WaitForPodReady(podName string, timeout string) error + func (c *Client) WaitForServiceCount(labelSelector string, expectedCount int, timeout time.Duration) + func (c *Client) WaitForServiceExists(name string)