preflight

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package preflight verifies ssmx prerequisites before running commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallPlugin

func InstallPlugin(ctx context.Context) error

InstallPlugin attempts to install session-manager-plugin for the current platform. Returns an error if automatic installation is not supported.

func PluginInstalled

func PluginInstalled() bool

PluginInstalled returns true if session-manager-plugin is on PATH.

func Run

func Run(ctx context.Context, profile, region string) error

Run performs all first-run checks and interactively resolves any failures. Returns an error only if a check failure cannot be resolved. Success states are silent — only warnings and errors are printed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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