api

package
v0.0.0-...-7d3b672 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostRefdiffPipeline

func PostRefdiffPipeline(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutput, errors.Error)

@Summary pipelines plan for refdiff @Description pipelines plan for refdiff @Tags plugins/refdiff @Accept application/json @Param blueprint body RefdiffPipelinePlan true "json" @Router /pipelines/refdiff/pipeline-plan [post]

Types

type RefdiffBlueprintPlan

type RefdiffBlueprintPlan [][]struct {
	Plugin  string `json:"plugin"`
	Options struct {
		RepoID string `json:"repoId"`
		Pairs  []struct {
			NewRef string `json:"newRef"`
			OldRef string `json:"oldRef"`
		} `json:"pairs"`
	} `json:"options"`
}

type RefdiffPipelinePlan

type RefdiffPipelinePlan [][]struct {
	Plugin  string `json:"plugin"`
	Options struct {
		RepoID string `json:"repoId"`
		Pairs  []struct {
			NewRef string `json:"newRef"`
			OldRef string `json:"oldRef"`
		} `json:"pairs"`
	} `json:"options"`
}

Jump to

Keyboard shortcuts

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