remotes

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConnection

func AddConnection(
	name string,
	tokenBytes []byte,
	connectionsStore ConnectionsStore,
) error

func AddPATConnection

func AddPATConnection(
	remoteAddress string,
	personalAccessToken string,
	connectionsStore ConnectionsStore,
) error

Types

type ConnectionsStore

type ConnectionsStore interface {
	Update(func(current map[string]*remote.Connection) (map[string]*remote.Connection, error)) error
}

Jump to

Keyboard shortcuts

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