From 1c23c736e9b2ad85fb69330f62dd9da9ceeba823 Mon Sep 17 00:00:00 2001 From: Amine Hilaly Date: Sun, 14 Jul 2019 15:53:31 +0200 Subject: vendor: update github.com/xanzy/go-gitlab to version 0.19.0 --- vendor/github.com/xanzy/go-gitlab/project_variables.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vendor/github.com/xanzy/go-gitlab/project_variables.go') diff --git a/vendor/github.com/xanzy/go-gitlab/project_variables.go b/vendor/github.com/xanzy/go-gitlab/project_variables.go index 9be68e66..7469d660 100644 --- a/vendor/github.com/xanzy/go-gitlab/project_variables.go +++ b/vendor/github.com/xanzy/go-gitlab/project_variables.go @@ -38,6 +38,7 @@ type ProjectVariable struct { Key string `json:"key"` Value string `json:"value"` Protected bool `json:"protected"` + Masked bool `json:"masked"` EnvironmentScope string `json:"environment_scope"` } @@ -104,6 +105,7 @@ type CreateVariableOptions struct { Key *string `url:"key,omitempty" json:"key,omitempty"` Value *string `url:"value,omitempty" json:"value,omitempty"` Protected *bool `url:"protected,omitempty" json:"protected,omitempty"` + Masked *bool `url:"masked,omitempty" json:"masked,omitempty"` EnvironmentScope *string `url:"environment_scope,omitempty" json:"environment_scope,omitempty"` } @@ -140,6 +142,7 @@ func (s *ProjectVariablesService) CreateVariable(pid interface{}, opt *CreateVar type UpdateVariableOptions struct { Value *string `url:"value,omitempty" json:"value,omitempty"` Protected *bool `url:"protected,omitempty" json:"protected,omitempty"` + Masked *bool `url:"masked,omitempty" json:"masked,omitempty"` EnvironmentScope *string `url:"environment_scope,omitempty" json:"environment_scope,omitempty"` } -- cgit