Documentation
¶
Index ¶
- func BuildClientConfig(kubeConfigPath string, clusterName string) (*rest.Config, error)
- type Clients
- func (c *Clients) ManualApprovalGate() operatorv1alpha1.ManualApprovalGateInterface
- func (c *Clients) NewClientSet(namespace string)
- func (c *Clients) PipelinesAsCode() operatorv1alpha1.OpenShiftPipelinesAsCodeInterface
- func (c *Clients) TektonAddon() operatorv1alpha1.TektonAddonInterface
- func (c *Clients) TektonChains() operatorv1alpha1.TektonChainInterface
- func (c *Clients) TektonConfig() operatorv1alpha1.TektonConfigInterface
- func (c *Clients) TektonDashboard() operatorv1alpha1.TektonDashboardInterface
- func (c *Clients) TektonHub() operatorv1alpha1.TektonHubInterface
- func (c *Clients) TektonPipeline() operatorv1alpha1.TektonPipelineInterface
- func (c *Clients) TektonTrigger() operatorv1alpha1.TektonTriggerInterface
- type KubeClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Clients ¶
type Clients struct {
KubeClient *KubeClient
Ctx context.Context
Dynamic dynamic.Interface
Operator operatorv1alpha1.OperatorV1alpha1Interface
KubeConfig *rest.Config
Scheme *runtime.Scheme
OLM olmversioned.Interface
Route routev1.RouteV1Interface
ProxyConfig configV1.ConfigV1Interface
ClusterVersion configV1.ClusterVersionInterface
ConsoleCLIDownload consolev1.ConsoleCLIDownloadInterface
Tekton pversioned.Interface
PipelineClient v1.PipelineInterface
PacClientset pacclientset.PipelinesascodeV1alpha1Interface
TaskClient v1.TaskInterface
TaskRunClient v1.TaskRunInterface
PipelineRunClient v1.PipelineRunInterface
TriggersClient triggersclientset.Interface
ApprovalTask apclient.ApprovalTaskInterface
}
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) ManualApprovalGate ¶
func (c *Clients) ManualApprovalGate() operatorv1alpha1.ManualApprovalGateInterface
func (*Clients) NewClientSet ¶
func (*Clients) PipelinesAsCode ¶
func (c *Clients) PipelinesAsCode() operatorv1alpha1.OpenShiftPipelinesAsCodeInterface
func (*Clients) TektonAddon ¶
func (c *Clients) TektonAddon() operatorv1alpha1.TektonAddonInterface
func (*Clients) TektonChains ¶
func (c *Clients) TektonChains() operatorv1alpha1.TektonChainInterface
func (*Clients) TektonConfig ¶
func (c *Clients) TektonConfig() operatorv1alpha1.TektonConfigInterface
func (*Clients) TektonDashboard ¶
func (c *Clients) TektonDashboard() operatorv1alpha1.TektonDashboardInterface
func (*Clients) TektonHub ¶
func (c *Clients) TektonHub() operatorv1alpha1.TektonHubInterface
func (*Clients) TektonPipeline ¶
func (c *Clients) TektonPipeline() operatorv1alpha1.TektonPipelineInterface
func (*Clients) TektonTrigger ¶
func (c *Clients) TektonTrigger() operatorv1alpha1.TektonTriggerInterface
type KubeClient ¶
type KubeClient struct {
Kube *kubernetes.Clientset
}
KubeClient holds instances of interfaces for making requests to kubernetes client.
func NewKubeClient ¶
NewKubeClient instantiates and returns several clientsets required for making request to the kube client specified by the combination of clusterName and configPath. Clients can make requests within namespace.
Click to show internal directories.
Click to hide internal directories.