Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServerResponse = errors.New("server response")
ErrServerResponse represents the server returning a 4xx or 5xx response code.
Functions ¶
Types ¶
type Client ¶
type Client interface { Status(ctx context.Context, host string) (*provider.Status, error) SubmitManifest(ctx context.Context, host string, req *manifest.SubmitRequest) error LeaseStatus(ctx context.Context, host string, id mtypes.LeaseID) (*cluster.LeaseStatus, error) ServiceStatus(ctx context.Context, host string, id mtypes.LeaseID, service string) (*cluster.ServiceStatus, error) ServiceLogs(ctx context.Context, host string, id mtypes.LeaseID, service string, follow bool, tailLines int64) (*ServiceLogs, error) }
Client defines the methods available for connecting to the gateway server.
type ServiceLogMessage ¶ added in v0.7.5
type ServiceLogs ¶ added in v0.7.5
type ServiceLogs struct {
Stream <-chan ServiceLogMessage
}
Click to show internal directories.
Click to hide internal directories.