| 1 |
package mesosproto; |
| 2 |
|
| 3 |
import "mesos.proto"; |
| 4 |
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; |
| 5 |
|
| 6 |
// For use with detector callbacks |
| 7 |
message InternalMasterChangeDetected { |
| 8 |
// will be present if there's a new master, otherwise nil |
| 9 |
optional MasterInfo master = 1; |
| 10 |
} |
| 11 |
|
| 12 |
message InternalTryAuthentication { |
| 13 |
// empty message, serves as a signal to the scheduler bindings |
| 14 |
} |
| 15 |
|
| 16 |
message InternalAuthenticationResult { |
| 17 |
// true only if the authentication process completed and login was successful |
| 18 |
required bool success = 1; |
| 19 |
// true if the authentication process completed, successfully or not |
| 20 |
required bool completed = 2; |
| 21 |
// master pid that this result pertains to |
| 22 |
required string pid = 3; |
| 23 |
} |
| 24 |
|
| 25 |
message InternalNetworkError { |
| 26 |
// master pid that this event pertains to |
| 27 |
required string pid = 1; |
| 28 |
// driver session UUID |
| 29 |
optional string session = 2; |
| 30 |
} |