gcp

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

package gcp implements uploading os images to gcp.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uploader

type Uploader struct {
	// contains filtered or unexported fields
}

Uploader can upload and remove os images on GCP.

func New

func New(ctx context.Context, project, location, bucketName string, log *logger.Logger) (*Uploader, error)

New creates a new Uploader.

func (*Uploader) Upload

Upload uploads an OS image to GCP.

Jump to

Keyboard shortcuts

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