Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface {
Exec()
GetStdErr() ([]byte, error)
GetStdOut() ([]byte, error)
Next() Command
}
Command represents a single task to perform in with git
type GitServer ¶
type GitServer interface {
Authenticate() error
GetServerString() string
GetRepos() (map[string]Repo, error)
GetRepo(string) (Repo, error)
GetRepoByOwner(owner, name string) (Repo, error)
OwnerName() string
OwnerEmail() string
Fork(Repo, string) (Repo, error)
DeleteRepo(string) (bool, error)
DeleteRepoByOwner(owner, name string) (bool, error)
NewRepo(name, desc string) (Repo, error)
}
GitServer represents a git server (like github.com)
type KloneProvider ¶
KloneProvider is the core provider for using Klone
Click to show internal directories.
Click to hide internal directories.