Documentation ¶
Overview ¶
Package repositories contains helpers for Google Cloud Repositories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRepository ¶
func CreateRepository(repoCli *sourcerepo.Service, project string, f *framework.Framework) *sourcerepo.Repo
CreateRepository creates a repository named after the given framework.Framework.
func DeleteRepository ¶
func DeleteRepository(repoCli *sourcerepo.Service, repoName string)
DeleteRepository deletes a repository by resource name. It doesn't fail if the repository doesn't exist.
func InitRepoAndCommit ¶ added in v1.17.0
func InitRepoAndCommit(repoURL string)
InitRepoAndCommit initializes the source repository with the given URL, and pushes a commit to it. It assumes a running environment with a pre-authenticated Google Cloud SDK (gcloud CLI).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.