codecommit

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: 8 Imported by: 0

Documentation

Overview

Package codecommit contains helpers for AWS CodeCommit.

Index

Constants

View Source
const DefaultBranch = "main"

Variables

This section is empty.

Functions

func CreateCommit

func CreateCommit(ccClient codecommitiface.CodeCommitAPI, repoName string)

CreateCommit creates a Git commit on the default branch in the repository with the given name.

func CreateRepository

func CreateRepository(ccClient codecommitiface.CodeCommitAPI, f *framework.Framework) string

CreateRepository creates a CodeCommit repository named after the given framework.Framework with an initialized default branch.

func DeleteRepository

func DeleteRepository(ccClient codecommitiface.CodeCommitAPI, name string)

DeleteRepository deletes a CodeCommit repository by name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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