ciutils

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayMultiplePipelines

func DisplayMultiplePipelines(s *iostreams.IOStreams, p []*gitlab.PipelineInfo, projectID string) string

func DisplaySchedules added in v1.25.0

func DisplaySchedules(i *iostreams.IOStreams, s []*gitlab.PipelineSchedule, projectID string) string

func GetDefaultBranch added in v1.39.0

func GetDefaultBranch(f *cmdutils.Factory) string

func GetJobId added in v1.36.0

func GetJobId(inputs *JobInputs, opts *JobOptions) (int, error)

func RunTraceSha

func RunTraceSha(ctx context.Context, apiClient *gitlab.Client, w io.Writer, pid interface{}, sha, name string) error

func TraceJob added in v1.36.0

func TraceJob(inputs *JobInputs, opts *JobOptions) error

Types

type JobInputs added in v1.36.0

type JobInputs struct {
	JobName            string
	Branch             string
	PipelineId         int
	SelectionPrompt    string
	SelectionPredicate func(s *gitlab.Job) bool
}

type JobOptions added in v1.36.0

type JobOptions struct {
	ApiClient *gitlab.Client
	Repo      glrepo.Interface
	IO        *iostreams.IOStreams
}

Jump to

Keyboard shortcuts

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