remotes

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Infrastructure        string
	InfrastructureComment string
	ServiceComment        string
	Service               string
	Username              string
	UsernameComment       string
	Token                 string
	TokenComment          string
	Comment               string
}

Entry for a remote

type List

type List map[string]Entry

List of remotes

func (List) Del

func (l List) Del(name string)

Del deletes a remote by name

func (List) Keys

func (l List) Keys() []string

Keys of the remote list

func (List) Set

func (l List) Set(name string, entry Entry)

Set a remote

Jump to

Keyboard shortcuts

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