traceimport

package
v0.0.0-...-731fd49 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGitlabToken

func GetGitlabToken(gitlabHost string) (string, error)

func ProcessPipeline

func ProcessPipeline(ctx context.Context, client *gitlab.Client, projectId string, pipelineId int, includeJobTraces bool) (string, error)

func RunListPipelines

func RunListPipelines(ctx context.Context, client *gitlab.Client, projectId string, pipelineName string) error

func SetupOTelSDK

func SetupOTelSDK(ctx context.Context) (shutdown func(context.Context) error, err error)

Types

type GlabConfig

type GlabConfig struct {
	Hosts map[string]GlabHostConfig `yaml:"hosts"`
}

type GlabHostConfig

type GlabHostConfig struct {
	Token string `yaml:"token"`
}

Jump to

Keyboard shortcuts

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