agent

package
v0.0.0-...-e030cbd Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build() error

Build Builds the local ssh agent

func BuildAll

func BuildAll() error

BuildAll Builds the local ssh agent for Windows, Mac and Linux

func Clean

func Clean() error

Clean Cleans the output files for sshrimp-agent

func Install

func Install() error

Install Installs the sshrimp-agent

func PackageFiles

func PackageFiles(configFile string) error

Package the deploy folder for clients

Types

type Agent

type Agent struct {
	ProviderURL    string
	ClientID       string
	ClientSecret   string
	BrowserCommand []string
	Socket         string
}

Agent config for the sshrimp-agent agent

type CertificateAuthority

type CertificateAuthority struct {
	AccountID int
	Regions   []string
}

CertificateAuthority config for those few additional fields needed for clients TOML config files

type SSHrimp

type SSHrimp struct {
	Agent                Agent
	CertificateAuthority CertificateAuthority
}

SSHrimp main configuration struct for sshrimp-agent and sshrimp-ca

Jump to

Keyboard shortcuts

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