repositories

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 5 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, name string)

DeleteRepository deletes a repository by resource name. It doesn't fail if the repository doesn't exist.

func MustDeleteRepository added in v1.14.0

func MustDeleteRepository(repoCli *sourcerepo.Service, name string)

MustDeleteRepository deletes a repository by resource name. Unlike DeleteRepository, the delete call fails if the repository isn't found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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