api

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const DefaultGracefulExitTimeout = 30 * time.Second

DefaultGracefulExitTimeout is the default time a step has to exit gracefully after receiving a cancellation signal before it is force-killed. It is also the default upper bound on how long Close will wait for execution to finish.

View Source
const DefaultJobTimeout = time.Hour * 2

DefaultJobTimeout is the job timeout set by the API when the user has not specified one. This matches the default job timeout set in runner.

Variables

This section is empty.

Functions

func DefaultSocketPath added in v0.8.0

func DefaultSocketPath() string

func GetSocketAddr added in v0.32.0

func GetSocketAddr(args []string) (*net.UnixAddr, error)

func SocketAddr added in v0.8.0

func SocketAddr(socketPath string) *net.UnixAddr

Types

This section is empty.

Directories

Path Synopsis
basic
package basic implements a low-level client for the step-runner gRPC service with a (more or less) 1:1 mapping to the raw gRPC API.
package basic implements a low-level client for the step-runner gRPC service with a (more or less) 1:1 mapping to the raw gRPC API.
extended
package extended implements a well-behaved, higher-level client for the step-runner gRPC service.
package extended implements a well-behaved, higher-level client for the step-runner gRPC service.
internal
streamer/file
package file implements the Streamer interface backed by a file buffer.
package file implements the Streamer interface backed by a file buffer.
variables
package variables implements a type and functions to handle CI job variables as described in https://docs.gitlab.com/ee/ci/variables.
package variables implements a type and functions to handle CI job variables as described in https://docs.gitlab.com/ee/ci/variables.
Package service implements the gRPC API declared in ../../../proto/step.proto
Package service implements the gRPC API declared in ../../../proto/step.proto

Jump to

Keyboard shortcuts

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