Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Facility ¶
Facility requires a single method, called Fetch(), which corresponds to fetching a set of promoter manifests.
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
Fake is a fake remote manifest. It is fake in the sense that it will never fetch anything from any remote.
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
Git stores the Git-based information in order to fetch the Git contents (and to parse them into promoter manifests).
func NewGit ¶
NewGit creates a new Git implementation for defining a remote set of promoter manifest.
func (*Git) Fetch ¶
Fetch gets the remote Git contents and parses it into promoter manifests. It could be the case that the repository is defined simply as a local path on disk (in the case of e2e tests where we do not have a full-fledghed online repository for the manifests we want to audit) --- in such cases, we have to use the local path instead of freshly cloning a remote repo.