mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
* Add openstack service discovery. * Add gophercloud code for openstack service discovery. * first changes for juliusv comments. * add gophercloud code for floatingip. * Add tests to openstack sd. * Add testify suite vendor files. * add copyright and make changes for code climate. * Fixed typos in provider openstack. * Renamed tenant to project in openstack sd. * Change type of password to Secret in openstack sd.
855 B
855 B
Compute
Floating IPs
github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/floatingip
is nowgithub.com/gophercloud/gophercloud/openstack/compute/v2/extensions/floatingips
floatingips.Associate
andfloatingips.Disassociate
have been removed.floatingips.DisassociateOpts
is now required to disassociate a Floating IP.
Security Groups
secgroups.AddServerToGroup
is nowsecgroups.AddServer
.secgroups.RemoveServerFromGroup
is nowsecgroups.RemoveServer
.
Servers
-
servers.Reboot
now requires aservers.RebootOpts
struct:rebootOpts := &servers.RebootOpts{ Type: servers.SoftReboot, } res := servers.Reboot(client, server.ID, rebootOpts)
Identity
V3
Tokens
Token.ExpiresAt
is now of typegophercloud.JSONRFC3339Milli
instead oftime.Time