Documentation ¶
Index ¶
- Variables
- func CleanupOnInterrupt(cleanup func())
- func TearDownAddon(clients *Clients, name string)
- func TearDownConfig(clients *Clients, name string)
- func TearDownDashboard(clients *Clients, name string)
- func TearDownNamespace(clients *Clients, name string)
- func TearDownPipeline(clients *Clients, name string)
- func TearDownTrigger(clients *Clients, name string)
- type Clients
- func (c *Clients) TektonAddon() operatorv1alpha1.TektonAddonInterface
- func (c *Clients) TektonAddonAll() operatorv1alpha1.TektonAddonInterface
- func (c *Clients) TektonConfig() operatorv1alpha1.TektonConfigInterface
- func (c *Clients) TektonConfigAll() operatorv1alpha1.TektonConfigInterface
- func (c *Clients) TektonDashboard() operatorv1alpha1.TektonDashboardInterface
- func (c *Clients) TektonDashboardAll() operatorv1alpha1.TektonDashboardInterface
- func (c *Clients) TektonPipeline() operatorv1alpha1.TektonPipelineInterface
- func (c *Clients) TektonPipelineAll() operatorv1alpha1.TektonPipelineInterface
- func (c *Clients) TektonTrigger() operatorv1alpha1.TektonTriggerInterface
- func (c *Clients) TektonTriggerAll() operatorv1alpha1.TektonTriggerInterface
- type ResourceNames
Constants ¶
This section is empty.
Variables ¶
var ( TektonPipelineDeploymentLabel = "app.kubernetes.io/part-of=tekton-pipelines" TektonTriggerDeploymentLabel = "app.kubernetes.io/part-of=tekton-triggers" TektonDashboardDeploymentLabel = "app.kubernetes.io/part-of=tekton-dashboard" )
Functions ¶
func CleanupOnInterrupt ¶
func CleanupOnInterrupt(cleanup func())
CleanupOnInterrupt will execute the function cleanup if an interrupt signal is caught
func TearDownAddon ¶
TearDownAddon will delete created TektonAddon CRs using clients.
func TearDownConfig ¶
TearDownConfig will delete created TektonConfig CRs using clients.
func TearDownDashboard ¶
TearDownDashboard will delete created TektonDashboard CRs using clients.
func TearDownNamespace ¶
TearDownNamespace will delete created test Namespace
func TearDownPipeline ¶
TearDownPipeline will delete created TektonPipeline CRs using clients.
func TearDownTrigger ¶
TearDownTrigger will delete created TektonTrigger CRs using clients.
Types ¶
type Clients ¶
type Clients struct { KubeClient *test.KubeClient Dynamic dynamic.Interface Operator operatorv1alpha1.OperatorV1alpha1Interface Config *rest.Config }
Clients holds instances of interfaces for making requests to Tekton Pipelines.
func NewClients ¶
NewClients instantiates and returns several clientsets required for making request to the TektonPipeline cluster specified by the combination of clusterName and configPath.
func (*Clients) TektonAddon ¶
func (c *Clients) TektonAddon() operatorv1alpha1.TektonAddonInterface
func (*Clients) TektonAddonAll ¶
func (c *Clients) TektonAddonAll() operatorv1alpha1.TektonAddonInterface
func (*Clients) TektonConfig ¶
func (c *Clients) TektonConfig() operatorv1alpha1.TektonConfigInterface
func (*Clients) TektonConfigAll ¶
func (c *Clients) TektonConfigAll() operatorv1alpha1.TektonConfigInterface
func (*Clients) TektonDashboard ¶
func (c *Clients) TektonDashboard() operatorv1alpha1.TektonDashboardInterface
func (*Clients) TektonDashboardAll ¶
func (c *Clients) TektonDashboardAll() operatorv1alpha1.TektonDashboardInterface
func (*Clients) TektonPipeline ¶
func (c *Clients) TektonPipeline() operatorv1alpha1.TektonPipelineInterface
func (*Clients) TektonPipelineAll ¶
func (c *Clients) TektonPipelineAll() operatorv1alpha1.TektonPipelineInterface
func (*Clients) TektonTrigger ¶
func (c *Clients) TektonTrigger() operatorv1alpha1.TektonTriggerInterface
func (*Clients) TektonTriggerAll ¶
func (c *Clients) TektonTriggerAll() operatorv1alpha1.TektonTriggerInterface