types

package
v0.0.0-...-c8fb33f Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2018 License: GPL-3.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloneContext

type CloneContext struct {
	Directory  string
	NoCheckout bool
	Branch     string
	Progress   io.Writer
}

type CloneRequest

type CloneRequest struct {
	SshAuth    SshAuth  `json:"sshAuth"`
	HttpAuth   HttpAuth `json:"httpAuth"`
	Branch     string   `json:"branch"`
	NoCheckout bool     `json:"noCheckout"`
	UseSsh     bool     `json:"useSsh"`
	UseHttp    bool     `json:"useHttp"`
}

CloneRequest is the structure to use when calling dahu-git for cloning a repository

type HttpAuth

type HttpAuth struct {
	Url      string `json:"url"`
	User     string `json:"user"`
	Password string `json:"password"`
}

HttpAuth contains all informations concerning the http authentication and connection

type SshAuth

type SshAuth struct {
	Url         string `json:"url"`
	Key         string `json:"key"`
	KeyPassword string `json:"keyPassword"`
}

SshAuth contains all informations concerning the ssh authentication and connection

Jump to

Keyboard shortcuts

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