package
0.0.11
Repository: https://github.com/mesos/mesos-go.git
Documentation: pkg.go.dev

# Functions

FromResponse returns an `*Error` for a response containing a status code that indicates an error condition.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MaxSizeDetails limits the length of the details message read from a response body.
MsgAuth is returned by Do calls that are not successfully authenticated.
MsgMalformed is returned by Do calls that are malformed.
MsgMediaType is returned by Do calls that are sent with an unsupported media type.
MsgNotFound could happen if the master or agent libprocess has not yet set up http routes.
MsgNotLeader is returned by Do calls that are sent to a non leading Mesos master.
MsgRateLimit is returned by Do calls that are rate limited.
MsgUnavailable is returned by Do calls that are sent to a master or agent that's in recovery, or does not yet realize that it's the leader.
MsgUnsubscribed is returned by Do calls that are sent before a subscription is established.
MsgVersion is returned by Do calls that are sent to an incompatible API version.

# Variables

CodesIndicatingSubscriptionLoss is a set of apierror.Code entries which each indicate that the event subscription stream has been severed between the scheduler and mesos.
ErrorTable maps HTTP response codes to their respective Mesos v1 API error messages.

# Structs

Error captures HTTP v1 API error codes and messages generated by Mesos.

# Type aliases

Code is a Mesos HTTP v1 API response status code.