repositories

package
v1.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL