File: internal.proto

package info (click to toggle)
golang-github-mesos-mesos-go 0.0.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 11,724 kB
  • sloc: makefile: 163
file content (30 lines) | stat: -rw-r--r-- 847 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package mesosproto;

import "mesos.proto";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";

// For use with detector callbacks
message InternalMasterChangeDetected {
	// will be present if there's a new master, otherwise nil
	optional MasterInfo master = 1;
}

message InternalTryAuthentication {
	// empty message, serves as a signal to the scheduler bindings
}

message InternalAuthenticationResult {
	// true only if the authentication process completed and login was successful
	required bool success = 1;
	// true if the authentication process completed, successfully or not
	required bool completed = 2;
	// master pid that this result pertains to
	required string pid = 3;
}

message InternalNetworkError {
	// master pid that this event pertains to
	required string pid = 1;
	// driver session UUID
	optional string session = 2;
}