gcloud

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BuilderInstanceKey = `CloudRunCommandBuilder`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudRunCommand

type CloudRunCommand interface {
	CombinedOutput() ([]byte, error)
	String() string
}

CloudRunCommand wraps the executable command.

type CloudRunCommandBuilder

type CloudRunCommandBuilder interface {
	Build() (CloudRunCommand, error)
	AllowUnauthenticated(bool) CloudRunCommandBuilder
	Image(string) CloudRunCommandBuilder
	MaxInstances(int) CloudRunCommandBuilder
	Memory(string) CloudRunCommandBuilder
	ProjectID(string) CloudRunCommandBuilder
	Region(string) CloudRunCommandBuilder
	Service(string) CloudRunCommandBuilder
	VPCConnector(string) CloudRunCommandBuilder
}

CloudRunCommand holds the data to build and run a `gcloud run deploy` command.

func NewCloudRunCommandBuilder

func NewCloudRunCommandBuilder() CloudRunCommandBuilder

NewCloudRunCommand returns an implementation of a `gcloud run deploy` command.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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