replicapoolupdater

package
v0.0.0-...-6152d30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package replicapoolupdater provides APIs to communicate with Google autoscaling service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRpuService

func BuildRpuService(serviceEmail string, key []byte) (*rpu.Service, error)

BuildRpuService builds the singlton service for RpuService

Types

type RpuManager

type RpuManager struct {
	Service *rpu.Service `inject:""`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL