Merge pull request #3383 from shaowenchen/add_annotations_to_pipeline

feature: add annotations to pipelines for getting syncstatus
This commit is contained in:
KubeSphere CI Bot
2021-02-25 11:05:17 +08:00
committed by GitHub
3 changed files with 6 additions and 3 deletions

View File

@@ -31,8 +31,9 @@ type PipelineList struct {
// GetPipeline & SearchPipelines
type Pipeline struct {
Class string `json:"_class,omitempty" description:"Its a fully qualified name and is an identifier of the producer of this resource's capability." `
Links struct {
Annotations map[string]string `json:"annotations,omitempty" description:"Add annotations from crd" `
Class string `json:"_class,omitempty" description:"Its a fully qualified name and is an identifier of the producer of this resource's capability." `
Links struct {
Self struct {
Class string `json:"_class,omitempty"`
Href string `json:"href,omitempty"`