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 SocketAddr ¶ added in v0.8.0
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 |
Click to show internal directories.
Click to hide internal directories.