Documentation ¶
Index ¶
- func CreateKeyFile(privateKey string) (string, error)
- type MetadataPair
- type Repository
- func (r Repository) CheckoutRef(ref string) error
- func (r Repository) Clone() error
- func (r Repository) Fetch() error
- func (r Repository) LatestRef(branch string) (string, error)
- func (r Repository) RefAuthorDate(ref string) (string, error)
- func (r Repository) RefAuthorName(ref string) (string, error)
- func (r Repository) RefCommitDate(ref string) (string, error)
- func (r Repository) RefCommitName(ref string) (string, error)
- func (r Repository) RefCommitTimestamp(ref string) (int64, error)
- func (r Repository) RefMessage(ref string) (string, error)
- func (r Repository) RefsSinceTimestamp(branch string, timestamp int64) ([]string, error)
- func (r Repository) RemoteBranches() ([]string, error)
- type Source
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKeyFile ¶
Types ¶
type MetadataPair ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(source string, dir string, keyFile string) Repository
func (Repository) CheckoutRef ¶
func (r Repository) CheckoutRef(ref string) error
func (Repository) Clone ¶
func (r Repository) Clone() error
func (Repository) Fetch ¶
func (r Repository) Fetch() error
func (Repository) RefAuthorDate ¶
func (r Repository) RefAuthorDate(ref string) (string, error)
func (Repository) RefAuthorName ¶
func (r Repository) RefAuthorName(ref string) (string, error)
func (Repository) RefCommitDate ¶
func (r Repository) RefCommitDate(ref string) (string, error)
func (Repository) RefCommitName ¶
func (r Repository) RefCommitName(ref string) (string, error)
func (Repository) RefCommitTimestamp ¶
func (r Repository) RefCommitTimestamp(ref string) (int64, error)
func (Repository) RefMessage ¶
func (r Repository) RefMessage(ref string) (string, error)
func (Repository) RefsSinceTimestamp ¶
func (r Repository) RefsSinceTimestamp(branch string, timestamp int64) ([]string, error)
func (Repository) RemoteBranches ¶
func (r Repository) RemoteBranches() ([]string, error)
Directories ¶
Path | Synopsis |
---|---|
Godeps
|
|
_workspace/src/github.com/onsi/ginkgo
Ginkgo is a BDD-style testing framework for Golang The godoc documentation describes Ginkgo's API.
|
Ginkgo is a BDD-style testing framework for Golang The godoc documentation describes Ginkgo's API. |
_workspace/src/github.com/onsi/ginkgo/config
Ginkgo accepts a number of configuration options.
|
Ginkgo accepts a number of configuration options. |
_workspace/src/github.com/onsi/ginkgo/ginkgo
The Ginkgo CLI The Ginkgo CLI is fully documented [here](http://onsi.github.io/ginkgo/#the_ginkgo_cli) You can also learn more by running: ginkgo help Here are some of the more commonly used commands: To install: go install github.com/onsi/ginkgo/ginkgo To run tests: ginkgo To run tests in all subdirectories: ginkgo -r To run tests in particular packages: ginkgo <flags> /path/to/package /path/to/another/package To pass arguments/flags to your tests: ginkgo <flags> <packages> -- <pass-throughs> To run tests in parallel ginkgo -p this will automatically detect the optimal number of nodes to use.
|
The Ginkgo CLI The Ginkgo CLI is fully documented [here](http://onsi.github.io/ginkgo/#the_ginkgo_cli) You can also learn more by running: ginkgo help Here are some of the more commonly used commands: To install: go install github.com/onsi/ginkgo/ginkgo To run tests: ginkgo To run tests in all subdirectories: ginkgo -r To run tests in particular packages: ginkgo <flags> /path/to/package /path/to/another/package To pass arguments/flags to your tests: ginkgo <flags> <packages> -- <pass-throughs> To run tests in parallel ginkgo -p this will automatically detect the optimal number of nodes to use. |
_workspace/src/github.com/onsi/ginkgo/internal/remote
Aggregator is a reporter used by the Ginkgo CLI to aggregate and present parallel test output coherently as tests complete.
|
Aggregator is a reporter used by the Ginkgo CLI to aggregate and present parallel test output coherently as tests complete. |
_workspace/src/github.com/onsi/ginkgo/reporters
Ginkgo's Default Reporter A number of command line flags are available to tweak Ginkgo's default output.
|
Ginkgo's Default Reporter A number of command line flags are available to tweak Ginkgo's default output. |
_workspace/src/github.com/onsi/gomega
Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.
|
Gomega is the Ginkgo BDD-style testing framework's preferred matcher library. |
_workspace/src/github.com/onsi/gomega/format
Gomega's format package pretty-prints objects.
|
Gomega's format package pretty-prints objects. |
_workspace/src/github.com/onsi/gomega/gbytes
Package gbytes provides a buffer that supports incrementally detecting input.
|
Package gbytes provides a buffer that supports incrementally detecting input. |
_workspace/src/github.com/onsi/gomega/gexec
Package gexec provides support for testing external processes.
|
Package gexec provides support for testing external processes. |
_workspace/src/github.com/onsi/gomega/ghttp
Package ghttp supports testing HTTP clients by providing a test server (simply a thin wrapper around httptest's server) that supports registering multiple handlers.
|
Package ghttp supports testing HTTP clients by providing a test server (simply a thin wrapper around httptest's server) that supports registering multiple handlers. |
_workspace/src/github.com/onsi/gomega/matchers
Gomega matchers This package implements the Gomega matchers and does not typically need to be imported.
|
Gomega matchers This package implements the Gomega matchers and does not typically need to be imported. |
Click to show internal directories.
Click to hide internal directories.