scp

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderScheme = "scp"

ProviderScheme represents scp URL scheme for this provider

View Source
const SSHProviderScheme = "ssh"

SSHProviderScheme represents ssh URL scheme for this provider

Variables

View Source
var NoSuchFileOrDirectoryError = errors.New("No such file or directory")

NoSuchFileOrDirectoryError represents no such file or directory error

Functions

func NewService

func NewService(config *cred.Config) *service

NewService create a new gc storage service

Types

type Parser

type Parser struct {
	IsoTimeStyle bool
}

Parser represents fileinfo parser from stdout

func (*Parser) HasNextTokenInout

func (p *Parser) HasNextTokenInout(nextTokenPosition int, line string) bool

func (*Parser) Parse

func (p *Parser) Parse(parsedURL *url.URL, stdout string, isURLDir bool) ([]storage.Object, error)

Jump to

Keyboard shortcuts

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