Documentation
¶
Overview ¶
Package gitresource implements methods and defines resources required to access git repositories
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckoutOptions ¶
type CheckoutOptions struct {
Branch types.TrimmedString
CommitID types.TrimmedString
}
CheckoutOptions defines the attributes allowed to be passed to the internal `git checkout` operation
func ParseCheckoutOptions ¶
func ParseCheckoutOptions(log log.T, checkoutOptions string) (*CheckoutOptions, error)
ParseCheckoutOptions extracts repository get content options which can be a commit ID or branch name
Directories
¶
| Path | Synopsis |
|---|---|
|
Package github implements the methods to access resources from github
|
Package github implements the methods to access resources from github |
|
privategithub
Package privategithub deals with all the authorization invocations to access private github
|
Package privategithub deals with all the authorization invocations to access private github |
|
privategithub/githubclient
Package githubclient contains methods for interacting with git
|
Package githubclient contains methods for interacting with git |
|
privategithub/githubclient/mock
Package mock_githubclient contains methods to mock githubclient package
|
Package mock_githubclient contains methods to mock githubclient package |
|
Package privategit implements the methods to access resources over Git
|
Package privategit implements the methods to access resources over Git |
|
handler
Package handler provides methods for accessing git repositories over SSH or HTTP(s)
|
Package handler provides methods for accessing git repositories over SSH or HTTP(s) |
|
handler/core
Package core contains wrapper structs for the git package resources
|
Package core contains wrapper structs for the git package resources |
|
handler/core/mock
Package mock defines the struct and its corresponding methods for mocking core.Repository
|
Package mock defines the struct and its corresponding methods for mocking core.Repository |
|
handler/mock
Package mock defines the struct and its corresponding methods for mocking handler.IGitHandler
|
Package mock defines the struct and its corresponding methods for mocking handler.IGitHandler |
Click to show internal directories.
Click to hide internal directories.