build(deps): bump github.com/gophercloud/gophercloud
Bumps [github.com/gophercloud/gophercloud](https://github.com/gophercloud/gophercloud) from 0.20.0 to 0.22.0. - [Release notes](https://github.com/gophercloud/gophercloud/releases) - [Changelog](https://github.com/gophercloud/gophercloud/blob/master/CHANGELOG.md) - [Commits](https://github.com/gophercloud/gophercloud/compare/v0.20.0...v0.22.0) --- updated-dependencies: - dependency-name: github.com/gophercloud/gophercloud dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
963688eb07
commit
a9f36188ee
9 changed files with 74 additions and 11 deletions
6
vendor/github.com/gophercloud/gophercloud/openstack/compute/v2/servers/results.go
generated
vendored
6
vendor/github.com/gophercloud/gophercloud/openstack/compute/v2/servers/results.go
generated
vendored
|
|
@ -221,6 +221,12 @@ type Server struct {
|
|||
// Tags is a slice/list of string tags in a server.
|
||||
// The requires microversion 2.26 or later.
|
||||
Tags *[]string `json:"tags"`
|
||||
|
||||
// ServerGroups is a slice of strings containing the UUIDs of the
|
||||
// server groups to which the server belongs. Currently this can
|
||||
// contain at most one entry.
|
||||
// New in microversion 2.71
|
||||
ServerGroups *[]string `json:"server_groups"`
|
||||
}
|
||||
|
||||
type AttachedVolume struct {
|
||||
|
|
|
|||
14
vendor/github.com/gophercloud/gophercloud/openstack/imageservice/v2/images/requests.go
generated
vendored
14
vendor/github.com/gophercloud/gophercloud/openstack/imageservice/v2/images/requests.go
generated
vendored
|
|
@ -373,6 +373,20 @@ func (r ReplaceImageMinRam) ToImagePatchMap() map[string]interface{} {
|
|||
}
|
||||
}
|
||||
|
||||
// ReplaceImageProtected represents an updated protected property request.
|
||||
type ReplaceImageProtected struct {
|
||||
NewProtected bool
|
||||
}
|
||||
|
||||
// ToImagePatchMap assembles a request body based on ReplaceImageProtected
|
||||
func (r ReplaceImageProtected) ToImagePatchMap() map[string]interface{} {
|
||||
return map[string]interface{}{
|
||||
"op": "replace",
|
||||
"path": "/protected",
|
||||
"value": r.NewProtected,
|
||||
}
|
||||
}
|
||||
|
||||
// UpdateOp represents a valid update operation.
|
||||
type UpdateOp string
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue