pipeline crd

Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
runzexia
2020-03-25 10:58:39 +08:00
parent 7a00f9e3e4
commit 23c8d71a5a
28 changed files with 3031 additions and 612 deletions

View File

@@ -26,6 +26,8 @@ import (
type Interface interface {
// DevOpsProjects returns a DevOpsProjectInformer.
DevOpsProjects() DevOpsProjectInformer
// Pipelines returns a PipelineInformer.
Pipelines() PipelineInformer
}
type version struct {
@@ -43,3 +45,8 @@ func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakList
func (v *version) DevOpsProjects() DevOpsProjectInformer {
return &devOpsProjectInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// Pipelines returns a PipelineInformer.
func (v *version) Pipelines() PipelineInformer {
return &pipelineInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}