cmd

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandSSH     = "ssh"
	CommandSFTP    = "sftp"
	DefaultSSHUser = "ubuntu"
)
View Source
const AirdbWiki = "https://airdb-wiki.github.io/"
View Source
const (
	GoScaffoldPath = "src/github.com/catchplay/scaffold"
)

Variables

View Source
var (
	BuildTime string
	Commit    string
	Version   string
)
View Source
var Gopath string

Functions

func Execute

func Execute()

func New added in v1.4.0

func New(debug bool) *scaffold

nolint:golint

func Usage added in v1.0.3

func Usage()

Types

type BuildInfo added in v1.2.0

type BuildInfo struct {
	BuildTime string
	GoVersion string
	Version   string
	Commit    string
}

Build version info.

type DatabaseItem

type DatabaseItem struct {
	User             string
	Password         string
	Address          string
	Name             string
	DefaultTableName bool `mapstructure:"default_table_name"`
}

type HostInstance

type HostInstance struct {
	PageNumber    int    `json:"PageNumber"`
	PageSize      int    `json:"PageSize"`
	RequestID     string `json:"RequestId"`
	TotalCount    int    `json:"TotalCount"`
	DomainRecords struct {
		Record []struct {
			DomainName string `json:"DomainName"`
			Line       string `json:"Line"`
			Locked     bool   `json:"Locked"`
			RR         string `json:"RR"`
			RecordID   string `json:"RecordId"`
			Status     string `json:"Status"`
			TTL        int    `json:"TTL"`
			Type       string `json:"Type"`
			Value      string `json:"Value"`
			Weight     int    `json:"Weight"`
		} `json:"Record"`
	} `json:"DomainRecords"`
}

type Repo added in v1.0.3

type Repo struct {
	ID     uint   `json:"id"`
	NodeID string `json:"node_id"`
	Name   string `json:"name"`
}

type Tag

type Tag struct {
	NodeID string `json:"node_id"`
	Object struct {
		Sha  string `json:"sha"`
		Type string `json:"type"`
		URL  string `json:"url"`
	} `json:"object"`
	Ref string `json:"ref"`
	URL string `json:"url"`
}

Jump to

Keyboard shortcuts

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