ops

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(args []string) string

func Tar

func Tar(dest string, srcStr string, option TarOption) error

func Untar

func Untar(src, dest string) error

Types

type CmdOption

type CmdOption struct {
	Env map[string]any
}

type SSHOption added in v1.3.0

type SSHOption struct {
	Password     string
	IdentityFile string
}

type SSHStep

type SSHStep struct {
	Op   string
	Args []string
}

type TarOption

type TarOption struct {
	Cwd string
}

Directories

Path Synopsis
internal
scp

Jump to

Keyboard shortcuts

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