shim

package
v0.45.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "0.45.3"

Version is the archgate CLI version this shim downloads.

Variables

This section is empty.

Functions

func GetArtifactName

func GetArtifactName() (string, error)

GetArtifactName returns the platform-specific artifact name for the current OS/arch.

func GetBinaryName

func GetBinaryName() string

GetBinaryName returns the binary filename, with .exe suffix on Windows.

func GetCacheDir

func GetCacheDir() (string, error)

GetCacheDir returns the path to the archgate binary cache directory.

func IsWindows

func IsWindows() bool

IsWindows returns true if the current OS is Windows.

func Run

func Run(args []string) int

Run is the public entry point. It returns the process exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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