Documentation ¶
Index ¶
- Variables
- type Client
- func (client *Client) Authenticate(runID string, apiKey string) error
- func (client *Client) ReportMemoryUsage(runID string, memory uint64, duration time.Duration) error
- func (client *Client) ReportNetworkUsage(runID string, source string, in uint64, out uint64) error
- func (client *Client) ResourcesAllowed(runID string, memory int64, maxRunTime int64) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotAllowed = errors.New("Not allowed")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ReportMemoryUsage ¶
ReportMemoryUsage lets an external system know about some memory usage
func (*Client) ReportNetworkUsage ¶
ReportNetworkUsage lets an external system know about some network usage
Click to show internal directories.
Click to hide internal directories.