Documentation ¶
Overview ¶
Package service provides the service handlers for the Vela API.
Usage:
import "github.com/go-vela/server/api/service"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateService ¶
CreateService represents the API handler to create a service for a build in the configured backend.
func DeleteService ¶
DeleteService represents the API handler to remove a service for a build from the configured backend.
func GetService ¶
GetService represents the API handler to capture a service for a build from the configured backend.
func ListServices ¶
ListServices represents the API handler to capture a list of services for a build from the configured backend.
func PlanServices ¶
func PlanServices(ctx context.Context, database database.Interface, p *pipeline.Build, b *library.Build) ([]*library.Service, error)
PlanServices is a helper function to plan all services in the build for execution. This creates the services for the build in the configured backend.
func UpdateService ¶
UpdateService represents the API handler to update a service for a build in the configured backend.
Types ¶
This section is empty.