diff options
author | amine <hilalyamine@gmail.com> | 2019-11-10 18:31:29 +0100 |
---|---|---|
committer | amine <hilalyamine@gmail.com> | 2019-11-10 18:31:29 +0100 |
commit | 83eb7abd438f55161663e1b9381da5930cde06be (patch) | |
tree | eaf1a4f2b2ac11cf50652070de57db089b14decc /vendor/github.com/xanzy/go-gitlab/pipeline_schedules.go | |
parent | af382431cade6e8012fb05cfa8ff31560b5bde50 (diff) | |
download | git-bug-83eb7abd438f55161663e1b9381da5930cde06be.tar.gz |
vendor: update github.com/xanzy/go-gitlab to v0.22.0
Diffstat (limited to 'vendor/github.com/xanzy/go-gitlab/pipeline_schedules.go')
-rw-r--r-- | vendor/github.com/xanzy/go-gitlab/pipeline_schedules.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/vendor/github.com/xanzy/go-gitlab/pipeline_schedules.go b/vendor/github.com/xanzy/go-gitlab/pipeline_schedules.go index 3790ea37..ebcf8297 100644 --- a/vendor/github.com/xanzy/go-gitlab/pipeline_schedules.go +++ b/vendor/github.com/xanzy/go-gitlab/pipeline_schedules.go @@ -236,8 +236,9 @@ func (s *PipelineSchedulesService) DeletePipelineSchedule(pid interface{}, sched // GitLab API docs: // https://docs.gitlab.com/ce/api/pipeline_schedules.html#create-a-new-pipeline-schedule type CreatePipelineScheduleVariableOptions struct { - Key *string `url:"key" json:"key"` - Value *string `url:"value" json:"value"` + Key *string `url:"key" json:"key"` + Value *string `url:"value" json:"value"` + VariableType *string `url:"variable_type,omitempty" json:"variable_type,omitempty"` } // CreatePipelineScheduleVariable creates a pipeline schedule variable. @@ -271,7 +272,8 @@ func (s *PipelineSchedulesService) CreatePipelineScheduleVariable(pid interface{ // GitLab API docs: // https://docs.gitlab.com/ce/api/pipeline_schedules.html#edit-a-pipeline-schedule-variable type EditPipelineScheduleVariableOptions struct { - Value *string `url:"value" json:"value"` + Value *string `url:"value" json:"value"` + VariableType *string `url:"variable_type,omitempty" json:"variable_type,omitempty"` } // EditPipelineScheduleVariable creates a pipeline schedule variable. |