Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewRemoterFunc ¶
type NewStatuserFunc ¶
type Provider ¶
type Provider struct { NewStatuser NewStatuserFunc NewRemoter NewRemoterFunc }
type Providers ¶
type Providers map[types.ModuleContractName]Provider
func (Providers) FindRemoter ¶
type RemoteOptions ¶ added in v0.0.102
type RemoteOptions struct { // Instance refers to the VM Instance for remote access Instance string // Task refers to the ECS task id for remote access if using ECS Task string // Pod refers to the k8s pod for remote access if using k8s Pod string // Container represents the specific container name for remote access in the k8s pod or ecs task Container string PortForwards []config.PortForward Username string LogStreamer app.LogStreamer LogEmitter app.LogEmitter }
type Remoter ¶
type Remoter interface { // Exec allows a user to execute a command (usually tunneling) into a running service // This only makes sense for container-based providers Exec(ctx context.Context, options RemoteOptions, cmd []string) error // Ssh allows a user to SSH into a running service Ssh(ctx context.Context, options RemoteOptions) error }
type StatusDetailReport ¶
type StatusDetailReport struct { Name string Records StatusRecords }
type StatusDetailReports ¶
type StatusDetailReports []StatusDetailReport
type StatusRecord ¶
type StatusRecords ¶
type StatusRecords []StatusRecord
type StatusReport ¶
type Statuser ¶
type Statuser interface { // Status returns a high-level status report on the specified app env Status(ctx context.Context) (StatusReport, error) // StatusDetail returns a detailed status report on the specified app env StatusDetail(ctx context.Context) (StatusDetailReports, error) }
Click to show internal directories.
Click to hide internal directories.