Documentation ¶
Index ¶
- Constants
- func CollectPodLogs(c *Clients, podName, namespace string, logf logging.FormatLogger)
- func CreateNamespace(namespace string, kubeClient kubernetes.Interface)
- func DeleteNamespace(namespace string, cs *Clients)
- func Header(logf logging.FormatLogger, text string)
- func TearDown(t *testing.T, cs *Clients, namespace string)
- func VerifyServiceAccountExistence(namespace string, kubeClient kubernetes.Interface)
- func VerifyServiceAccountExistenceForSecrets(namespace string, kubeClient kubernetes.Interface, sa string)
- type Clients
- type Test
Constants ¶
View Source
const ( Interval = 1 * time.Second Apitimeout = 10 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
func CollectPodLogs ¶
func CollectPodLogs(c *Clients, podName, namespace string, logf logging.FormatLogger)
CollectPodLogs will get the logs for all containers in a Pod
func CreateNamespace ¶
func CreateNamespace(namespace string, kubeClient kubernetes.Interface)
func DeleteNamespace ¶
func Header ¶
func Header(logf logging.FormatLogger, text string)
func VerifyServiceAccountExistence ¶
func VerifyServiceAccountExistence(namespace string, kubeClient kubernetes.Interface)
func VerifyServiceAccountExistenceForSecrets ¶
func VerifyServiceAccountExistenceForSecrets(namespace string, kubeClient kubernetes.Interface, sa string)
Types ¶
type Clients ¶
type Clients struct { KubeClient kubernetes.Interface PipelineClient v1.PipelineInterface TaskClient v1.TaskInterface ClusterTaskClient v1beta1.ClusterTaskInterface TaskRunClient v1.TaskRunInterface PipelineRunClient v1.PipelineRunInterface }
clients holds instances of interfaces for making requests to the Pipeline controllers.
func NewClients ¶
newClients instantiates and returns several clientsets required for making requests to the Pipeline cluster specified by the combination of clusterName and configPath. Clients can make requests within namespace.
Click to show internal directories.
Click to hide internal directories.