client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunRequest

type RunRequest struct {
	Id      string
	WorkDir string
	Env     map[string]string
	Steps   string

	Variables []Variable
	BuildDir  string
}

type State

type State int32

State is an enumerations of the states a step can be in during execution.

const (
	StateUnspecified State = 0
	StateRunning     State = 1
	StateSuccess     State = 2
	StateFailure     State = 3
	StateCancelled   State = 4
)

func (State) String

func (s State) String() string

type Status

type Status struct {
	Id        string
	Message   string
	State     State
	StartTime time.Time
	EndTime   time.Time
}

Status captures the overall status of a RunRequest execution

type Variable

type Variable struct {
	Key    string
	Value  string
	File   bool
	Masked bool
}

Directories

Path Synopsis
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.
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.

Jump to

Keyboard shortcuts

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