compute

package
v0.0.0-...-44aa068 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package compute contains wrappers around the GCE compute API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	*api.Image
	Client  computeApi.Client
	Project string
}

Image is a compute image.

func CreateImageObject

func CreateImageObject(ctx context.Context, project string, name string) (*Image, error)

CreateImageObject creates an image object to be operated by API client

func (*Image) Cleanup

func (i *Image) Cleanup() error

Cleanup deletes the image.

Jump to

Keyboard shortcuts

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