How to create PipelineResource by Clientset #4355
Answered
by
vdemeester
huanghantao
asked this question in
Q&A
-
github.com/tektoncd/pipeline v0.26.0 I only can't found client.TektonV1alpha1().PipelineResource() Whether I should create PipelineResource using client.tektonv1alpha1 ().pipelines () ? |
Beta Was this translation helpful? Give feedback.
Answered by
vdemeester
Nov 4, 2021
Replies: 1 comment 1 reply
-
The |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
huanghantao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
PipelineResource
is on a different "package" than the rest of thev1alpha1
types, so another clientset too 👼🏼See https://github.com/tektoncd/pipeline/blob/1f5980f8c8a05b106687cfa3e5b3193c213cb66e/pkg/client/resource/clientset/versioned/typed/resource/v1alpha1/pipelineresource.go