Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidFormat = errors.New("job follow: invalid format")
ErrInvalidFormat indicates an unsupported format value.
Functions ¶
Types ¶
type FollowCommand ¶
type FollowCommand struct {
Client stream.Client
BaseURL *url.URL
JobID domaintypes.JobID
Format logs.Format
Output io.Writer
}
FollowCommand streams job logs from the job SSE endpoint.
type GetStatusCommand ¶
func (GetStatusCommand) Run ¶
func (c GetStatusCommand) Run(ctx context.Context) (domainapi.JobStatusResponse, error)
type LogOptions ¶
type StatusOptions ¶
Click to show internal directories.
Click to hide internal directories.