command

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// remoteCommandTimeout int = 300
	// https://www.pulumi.com/docs/intro/concepts/resources/options/customtimeouts/
	RemoteTimeout string = "40m"

	// https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2048522
	CommandCloudInitWait string = "sudo cloud-init status --long --wait || [[ $? -eq 2 || $? -eq 0 ]]"
	CommandPing          string = "echo ping"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteCommand

type RemoteCommand func(ctx *pulumi.Context, remoteCommand, remoteCommandName string) error

Remote command success if error = nil

type RemoteInstance

type RemoteInstance struct {
	InstanceIP *pulumi.StringOutput
	Instance   *ec2.Instance
	Username   string
	PrivateKey *tls.PrivateKey
}

func (RemoteInstance) RemoteExec

func (r RemoteInstance) RemoteExec(ctx *pulumi.Context, remoteCommand pulumi.StringPtrInput, remoteCommandName string,
	dependecies []pulumi.Resource) (*remote.Command, error)

Jump to

Keyboard shortcuts

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