step

package
v0.0.0-...-78dae4d Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateSSHKey

type ActivateSSHKey struct {
	// contains filtered or unexported fields
}

ActivateSSHKey ...

func NewActivateSSHKey

func NewActivateSSHKey(inputParser stepconf.InputParser, envRepository env.Repository, fileManager fileutil.FileManager, agent sshkey.Agent, logger log.Logger) *ActivateSSHKey

NewActivateSSHKey ...

func (ActivateSSHKey) Export

func (a ActivateSSHKey) Export(result Result) error

Export ...

func (ActivateSSHKey) ProcessConfig

func (a ActivateSSHKey) ProcessConfig() (Config, error)

ProcessConfig ...

func (ActivateSSHKey) Run

func (a ActivateSSHKey) Run(cfg Config) (Result, error)

Run ...

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config ...

type Input

type Input struct {
	SSHRsaPrivateKey        stepconf.Secret `env:"ssh_rsa_private_key,required"`
	SSHKeySavePath          string          `env:"ssh_key_save_path,required"`
	IsRemoveOtherIdentities bool            `env:"is_remove_other_identities,required"`
	Verbose                 bool            `env:"verbose"`
}

Input ...

type Result

type Result struct {
	// contains filtered or unexported fields
}

Result ...

Jump to

Keyboard shortcuts

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