gitlab

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecuteCodeAnalyzeOptions

type ExecuteCodeAnalyzeOptions struct {
	PipelineToken      string
	ReadAPIToken       string
	Branch             string
	CodeAnalyzeType    string
	ConfigValue        string
	ConfigType         string
	GitlabURL          string
	ProjectID          string
	Timeout            int
	JobName            string
	TargetArtifactPath string
}

type Report

type Report struct {
	Branch          string      `json:"branch" yaml:"branch"`
	GitlabURL       string      `json:"gitlab_url" yaml:"gitlab_url"`
	ProjectID       string      `json:"project_id" yaml:"project_id"`
	ProjectName     string      `json:"project_name" yaml:"project_name"`
	CodeAnalyzeType string      `json:"code_analyze_type" yaml:"code_analyze_type"`
	ConfigType      string      `json:"config_type" yaml:"config_type"`
	ConfigValue     string      `json:"config_value" yaml:"config_value"`
	Results         interface{} `json:"results" yaml:"results"`
}

func ExecuteCodeAnalyze

func ExecuteCodeAnalyze(ctx context.Context, opts ExecuteCodeAnalyzeOptions) (Report, error)

Jump to

Keyboard shortcuts

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