aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/xanzy/go-gitlab/pipeline_schedules.go
diff options
context:
space:
mode:
authoramine <hilalyamine@gmail.com>2019-11-10 18:31:29 +0100
committeramine <hilalyamine@gmail.com>2019-11-10 18:31:29 +0100
commit83eb7abd438f55161663e1b9381da5930cde06be (patch)
treeeaf1a4f2b2ac11cf50652070de57db089b14decc /vendor/github.com/xanzy/go-gitlab/pipeline_schedules.go
parentaf382431cade6e8012fb05cfa8ff31560b5bde50 (diff)
downloadgit-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.go8
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.