Documentation ¶
Overview ¶
Package gce contains high-level functionality for manipulating GCE resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrTimeout indicates that an operation timed out. ErrTimeout = errors.New("operation timed out") // ErrImageNotFound indicates that a GCE image could not be found ErrImageNotFound = errors.New("image not found") )
Functions ¶
func DeprecateInFamily ¶
func DeprecateInFamily(ctx context.Context, svc *compute.Service, newImage *config.Image, ttl int) error
DeprecateInFamily deprecates all of the old images in an image family. Allows for assigning TTLs (in seconds) to deprecated images.
func ImageExists ¶
ImageExists checks to see if the given image exists in the given project.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.