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.
func DeleteService ¶
DeleteService represents the API handler to remove a service for a build.
func GetService ¶
GetService represents the API handler to get a service for a build.
func ListServices ¶
ListServices represents the API handler to get a list of services for a build.
func PlanServices ¶
func PlanServices(ctx context.Context, database database.Interface, p *pipeline.Build, b *types.Build) ([]*types.Service, error)
PlanServices is a helper function to plan all services in the build for execution. This creates the services for the build.
func UpdateService ¶
UpdateService represents the API handler to update a service for a build.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.