Documentation ¶
Overview ¶
Package replicapoolupdater provides APIs to communicate with Google autoscaling service
Index ¶
- func BuildRpuService(serviceEmail string, key []byte) (*rpu.Service, error)
- type RpuManager
- func (manager *RpuManager) Insert(projectID, zone string, rollingUpdate *rpu.RollingUpdate) (*rpu.Operation, error)
- func (manager *RpuManager) List(projectID, zone string) (*rpu.RollingUpdateList, error)
- func (manager *RpuManager) Rollback(projectID, zone, rollingUpdateID string) (*rpu.Operation, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RpuManager ¶
RpuManager https://godoc.org/google.golang.org/api/replicapoolupdater/v1beta1
func (*RpuManager) Insert ¶
func (manager *RpuManager) Insert(projectID, zone string, rollingUpdate *rpu.RollingUpdate) (*rpu.Operation, error)
Insert starts rolling update for instances in instance group
https://godoc.org/google.golang.org/api/replicapoolupdater/v1beta1#RollingUpdatesService.Insert
func (*RpuManager) List ¶
func (manager *RpuManager) List(projectID, zone string) (*rpu.RollingUpdateList, error)
List lists recent rolling updates
https://godoc.org/google.golang.org/api/replicapoolupdater/v1beta1#RollingUpdatesService.List
func (*RpuManager) Rollback ¶
func (manager *RpuManager) Rollback(projectID, zone, rollingUpdateID string) (*rpu.Operation, error)
Rollback rollbacks specified rolling update
https://godoc.org/google.golang.org/api/replicapoolupdater/v1beta1#RollingUpdatesService.Rollback
Click to show internal directories.
Click to hide internal directories.