sshdocker

package module
v0.0.0-...-c22bfec Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: MIT Imports: 16 Imported by: 0

README

sshdocker

sshd docker shell CLI tool

In development...

Documentation

Index

Constants

View Source
const (
	LABEL_KEY   = "org.label-schema.url"
	LABEL_VALUE = "https://github.com/xwjdsh/sshdocker"
)

Variables

View Source
var (
	ImageName = "sshdocker:latest"
)

Functions

func ArgsCountCheck

func ArgsCountCheck(argsCount, min, max int) error

func Create

func Create(o *Options) error

Create docker sshd shell

func Destroy

func Destroy(removeVolume bool, names []string) ([]string, []error)

Types

type Options

type Options struct {
	Name    string
	Port    string
	Volume  string
	Verbose bool
}

type Service

type Service struct {
	Name    string
	Connect string
	Volume  string
	State   string
}

func List

func List() ([]*Service, error)

List all docker sshd services

Directories

Path Synopsis
cmd
sshdocker command

Jump to

Keyboard shortcuts

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