Documentation ¶
Overview ¶
Package service provides the ability for Vela to manipulate and manage a service from a pipeline.
Usage:
import "github.com/go-vela/worker/internal/service"
Index ¶
- func Environment(c *pipeline.Container, b *library.Build, r *library.Repo, s *library.Service, ...) error
- func Load(c *pipeline.Container, m *sync.Map) (*library.Service, error)
- func LoadLogs(c *pipeline.Container, m *sync.Map) (*library.Log, error)
- func Snapshot(ctn *pipeline.Container, b *library.Build, c *vela.Client, l *logrus.Entry, ...)
- func Upload(ctn *pipeline.Container, b *library.Build, c *vela.Client, l *logrus.Entry, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Environment ¶
func Environment(c *pipeline.Container, b *library.Build, r *library.Repo, s *library.Service, version string) error
Environment attempts to update the environment variables for the container based off the library resources.
func LoadLogs ¶
LoadLogs attempts to capture the library service logs representing the container from the map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.