gitlab

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanTag added in v0.28.1

func CleanTag(client *gitlab2.Client, pid int, tagName string)

CleanTag a wrapper function on DeleteTag to ignore errors in cleaning.

func CreateCRD

func CreateCRD(ctx context.Context, projectinfo *gitlab.Project, run *params.Run, targetNS string, incomings *[]v1alpha1.Incoming) error

func CreateMR

func CreateMR(client *ghlib.Client, pid int, sourceBranch, targetBranch, title string) (int, error)

func CreateTag added in v0.28.1

func CreateTag(client *ghlib.Client, pid int, tagName string) error

func DeleteTag added in v0.28.1

func DeleteTag(client *ghlib.Client, pid int, tagName string) error

func TearDown

func TearDown(ctx context.Context, t *testing.T, runcnx *params.Run, glprovider gitlab.Provider, mrNumber int, ref, targetNS string, projectid int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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