utils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateGitClient

func CreateGitClient()

func GetDependencies

func GetDependencies(in config.EazyYml, out *[]config.EazyYml, sshKeyPath string) error

func GetEazyHomeDir added in v0.0.2

func GetEazyHomeDir() (string, error)

func GetEazyYmlFromRepository

func GetEazyYmlFromRepository(uri string, ssKey string) ([]byte, error)

func GetHttpClient

func GetHttpClient() *http.Client

func GetPeerDependencies

func GetPeerDependencies(in config.EazyYml, out *[]config.EazyYml, peers map[string]bool, sshKeyPath string) error

func GetRepository

func GetRepository(uri string, sshKey string) (string, error)

func GetSSHAuth

func GetSSHAuth(keyPath string) (transport.AuthMethod, error)

GetSSHAuth get ssh auth for git handshake

func SetUpSSHKeys

func SetUpSSHKeys() error

SetUpSSHKeys to automatically add ssh keys by using ssh agent

Types

This section is empty.

Jump to

Keyboard shortcuts

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