googlecloud

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GCUserDataEndpoint is the local metadata endpoint inside of DO
	GCUserDataEndpoint = "http://metadata.google.internal/computeMetadata/v1/instance/attributes/user-data"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleCloud

type GoogleCloud struct{}

GoogleCloud is the concrete type that implements the platform.Platform interface.

func (*GoogleCloud) Install

func (gc *GoogleCloud) Install(data *userdata.UserData) (err error)

Install implements the platform.Platform interface and handles additional system setup.

func (*GoogleCloud) Name

func (gc *GoogleCloud) Name() string

Name implements the platform.Platform interface.

func (*GoogleCloud) Prepare

func (gc *GoogleCloud) Prepare(data *userdata.UserData) (err error)

Prepare implements the platform.Platform interface and handles initial host preparation.

func (*GoogleCloud) UserData

func (gc *GoogleCloud) UserData() (data *userdata.UserData, err error)

UserData implements the platform.Platform interface.

Jump to

Keyboard shortcuts

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