step

package
v0.24.0 Latest Latest
Warning

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

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

Documentation

Overview

Package step provides the step handlers for the Vela API.

Usage:

import "github.com/go-vela/server/api/step"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateStep

func CreateStep(c *gin.Context)

CreateStep represents the API handler to create a step for a build.

func DeleteStep

func DeleteStep(c *gin.Context)

DeleteStep represents the API handler to remove a step for a build.

func GetStep

func GetStep(c *gin.Context)

GetStep represents the API handler to get a step for a build.

func ListSteps

func ListSteps(c *gin.Context)

ListSteps represents the API handler to get a list of steps for a build.

func PlanSteps

func PlanSteps(ctx context.Context, database database.Interface, scm scm.Service, p *pipeline.Build, b *types.Build) ([]*library.Step, error)

PlanSteps is a helper function to plan all steps in the build for execution. This creates the steps for the build.

func UpdateStep

func UpdateStep(c *gin.Context)

UpdateStep represents the API handler to update a step for a build.

Types

This section is empty.

Jump to

Keyboard shortcuts

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