From 78d398d3a0d16cd43fb1e89681bf13fbea669695 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Wed, 13 Sep 2017 21:30:56 +0000 Subject: [PATCH 01/13] lib: bump mesos.proto to 1.3.x (1.3.2-WIP) --- api/v1/lib/mesos.pb.go | 8585 +++++++++++++++++++++-------- api/v1/lib/mesos.pb_ffjson.go | 9741 ++++++++++++++++++++++----------- api/v1/lib/mesos.proto | 221 +- api/v1/lib/mesospb_test.go | 3628 ++++++++++-- 4 files changed, 16002 insertions(+), 6173 deletions(-) diff --git a/api/v1/lib/mesos.pb.go b/api/v1/lib/mesos.pb.go index 551a5fdb..0975f1e2 100644 --- a/api/v1/lib/mesos.pb.go +++ b/api/v1/lib/mesos.pb.go @@ -14,6 +14,7 @@ TaskID ExecutorID ContainerID + ResourceProviderID TimeInfo DurationInfo Address @@ -38,6 +39,7 @@ TcpStatistics UdpStatistics SNMPStatistics + DiskStatistics ResourceStatistics ResourceUsage PerfStatistics @@ -55,6 +57,7 @@ Parameters Credential Credentials + Secret RateLimit RateLimits Image @@ -78,6 +81,9 @@ Role Metric FileInfo + Device + DeviceAccess + DeviceWhitelist */ package mesos @@ -302,7 +308,7 @@ func (x *MachineInfo_Mode) UnmarshalJSON(data []byte) error { *x = MachineInfo_Mode(value) return nil } -func (MachineInfo_Mode) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{12, 0} } +func (MachineInfo_Mode) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{13, 0} } type FrameworkInfo_Capability_Type int32 @@ -359,9 +365,6 @@ const ( // expect that "single-tenant" schedulers eventually // provide this and move away from the deprecated // `role` field. - // - // NOTE: The implementation for supporting multiple - // roles is not complete, DO NOT USE THIS. FrameworkInfo_Capability_MULTI_ROLE FrameworkInfo_Capability_Type = 6 ) @@ -401,7 +404,7 @@ func (x *FrameworkInfo_Capability_Type) UnmarshalJSON(data []byte) error { return nil } func (FrameworkInfo_Capability_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{13, 0, 0} + return fileDescriptorMesos, []int{14, 0, 0} } type CheckInfo_Type int32 @@ -410,17 +413,20 @@ const ( CheckInfo_UNKNOWN CheckInfo_Type = 0 CheckInfo_COMMAND CheckInfo_Type = 1 CheckInfo_HTTP CheckInfo_Type = 2 + CheckInfo_TCP CheckInfo_Type = 3 ) var CheckInfo_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "COMMAND", 2: "HTTP", + 3: "TCP", } var CheckInfo_Type_value = map[string]int32{ "UNKNOWN": 0, "COMMAND": 1, "HTTP": 2, + "TCP": 3, } func (x CheckInfo_Type) Enum() *CheckInfo_Type { @@ -439,7 +445,7 @@ func (x *CheckInfo_Type) UnmarshalJSON(data []byte) error { *x = CheckInfo_Type(value) return nil } -func (CheckInfo_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{14, 0} } +func (CheckInfo_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{15, 0} } type HealthCheck_Type int32 @@ -479,7 +485,7 @@ func (x *HealthCheck_Type) UnmarshalJSON(data []byte) error { *x = HealthCheck_Type(value) return nil } -func (HealthCheck_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{15, 0} } +func (HealthCheck_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{16, 0} } type ExecutorInfo_Type int32 @@ -531,7 +537,7 @@ func (x *ExecutorInfo_Type) UnmarshalJSON(data []byte) error { *x = ExecutorInfo_Type(value) return nil } -func (ExecutorInfo_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{18, 0} } +func (ExecutorInfo_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{19, 0} } type AgentInfo_Capability_Type int32 @@ -543,9 +549,6 @@ const ( AgentInfo_Capability_UNKNOWN AgentInfo_Capability_Type = 0 // This expresses the ability for the agent to be able // to launch tasks of a 'multi-role' framework. - // - // NOTE: The implementation for supporting multiple - // roles is not complete, DO NOT USE THIS. AgentInfo_Capability_MULTI_ROLE AgentInfo_Capability_Type = 1 ) @@ -575,7 +578,7 @@ func (x *AgentInfo_Capability_Type) UnmarshalJSON(data []byte) error { return nil } func (AgentInfo_Capability_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{20, 0, 0} + return fileDescriptorMesos, []int{21, 0, 0} } type Value_Type int32 @@ -616,22 +619,25 @@ func (x *Value_Type) UnmarshalJSON(data []byte) error { *x = Value_Type(value) return nil } -func (Value_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{21, 0} } +func (Value_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{22, 0} } type Resource_DiskInfo_Source_Type int32 const ( - PATH Resource_DiskInfo_Source_Type = 1 - MOUNT Resource_DiskInfo_Source_Type = 2 + UNKNOWN Resource_DiskInfo_Source_Type = 0 + PATH Resource_DiskInfo_Source_Type = 1 + MOUNT Resource_DiskInfo_Source_Type = 2 ) var Resource_DiskInfo_Source_Type_name = map[int32]string{ + 0: "UNKNOWN", 1: "PATH", 2: "MOUNT", } var Resource_DiskInfo_Source_Type_value = map[string]int32{ - "PATH": 1, - "MOUNT": 2, + "UNKNOWN": 0, + "PATH": 1, + "MOUNT": 2, } func (x Resource_DiskInfo_Source_Type) Enum() *Resource_DiskInfo_Source_Type { @@ -651,7 +657,7 @@ func (x *Resource_DiskInfo_Source_Type) UnmarshalJSON(data []byte) error { return nil } func (Resource_DiskInfo_Source_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{23, 2, 1, 0} + return fileDescriptorMesos, []int{24, 2, 1, 0} } type Offer_Operation_Type int32 @@ -702,7 +708,7 @@ func (x *Offer_Operation_Type) UnmarshalJSON(data []byte) error { return nil } func (Offer_Operation_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{34, 0, 0} + return fileDescriptorMesos, []int{36, 0, 0} } // Describes the source of the task status update. @@ -741,7 +747,7 @@ func (x *TaskStatus_Source) UnmarshalJSON(data []byte) error { *x = TaskStatus_Source(value) return nil } -func (TaskStatus_Source) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{40, 0} } +func (TaskStatus_Source) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{42, 0} } // Detailed reason for the task status update. // @@ -776,6 +782,7 @@ const ( REASON_AGENT_REMOVED TaskStatus_Reason = 11 REASON_AGENT_RESTARTED TaskStatus_Reason = 12 REASON_AGENT_UNKNOWN TaskStatus_Reason = 13 + REASON_TASK_KILLED_DURING_LAUNCH TaskStatus_Reason = 30 REASON_TASK_CHECK_STATUS_UPDATED TaskStatus_Reason = 28 REASON_TASK_GROUP_INVALID TaskStatus_Reason = 25 REASON_TASK_GROUP_UNAUTHORIZED TaskStatus_Reason = 26 @@ -808,6 +815,7 @@ var TaskStatus_Reason_name = map[int32]string{ 11: "REASON_AGENT_REMOVED", 12: "REASON_AGENT_RESTARTED", 13: "REASON_AGENT_UNKNOWN", + 30: "REASON_TASK_KILLED_DURING_LAUNCH", 28: "REASON_TASK_CHECK_STATUS_UPDATED", 25: "REASON_TASK_GROUP_INVALID", 26: "REASON_TASK_GROUP_UNAUTHORIZED", @@ -839,6 +847,7 @@ var TaskStatus_Reason_value = map[string]int32{ "REASON_AGENT_REMOVED": 11, "REASON_AGENT_RESTARTED": 12, "REASON_AGENT_UNKNOWN": 13, + "REASON_TASK_KILLED_DURING_LAUNCH": 30, "REASON_TASK_CHECK_STATUS_UPDATED": 28, "REASON_TASK_GROUP_INVALID": 25, "REASON_TASK_GROUP_UNAUTHORIZED": 26, @@ -863,7 +872,83 @@ func (x *TaskStatus_Reason) UnmarshalJSON(data []byte) error { *x = TaskStatus_Reason(value) return nil } -func (TaskStatus_Reason) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{40, 1} } +func (TaskStatus_Reason) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{42, 1} } + +type Environment_Variable_Type int32 + +const ( + Environment_Variable_UNKNOWN Environment_Variable_Type = 0 + Environment_Variable_VALUE Environment_Variable_Type = 1 + Environment_Variable_SECRET Environment_Variable_Type = 2 +) + +var Environment_Variable_Type_name = map[int32]string{ + 0: "UNKNOWN", + 1: "VALUE", + 2: "SECRET", +} +var Environment_Variable_Type_value = map[string]int32{ + "UNKNOWN": 0, + "VALUE": 1, + "SECRET": 2, +} + +func (x Environment_Variable_Type) Enum() *Environment_Variable_Type { + p := new(Environment_Variable_Type) + *p = x + return p +} +func (x Environment_Variable_Type) MarshalJSON() ([]byte, error) { + return proto.MarshalJSONEnum(Environment_Variable_Type_name, int32(x)) +} +func (x *Environment_Variable_Type) UnmarshalJSON(data []byte) error { + value, err := proto.UnmarshalJSONEnum(Environment_Variable_Type_value, data, "Environment_Variable_Type") + if err != nil { + return err + } + *x = Environment_Variable_Type(value) + return nil +} +func (Environment_Variable_Type) EnumDescriptor() ([]byte, []int) { + return fileDescriptorMesos, []int{44, 0, 0} +} + +type Secret_Type int32 + +const ( + Secret_UNKNOWN Secret_Type = 0 + Secret_REFERENCE Secret_Type = 1 + Secret_VALUE Secret_Type = 2 +) + +var Secret_Type_name = map[int32]string{ + 0: "UNKNOWN", + 1: "REFERENCE", + 2: "VALUE", +} +var Secret_Type_value = map[string]int32{ + "UNKNOWN": 0, + "REFERENCE": 1, + "VALUE": 2, +} + +func (x Secret_Type) Enum() *Secret_Type { + p := new(Secret_Type) + *p = x + return p +} +func (x Secret_Type) MarshalJSON() ([]byte, error) { + return proto.MarshalJSONEnum(Secret_Type_name, int32(x)) +} +func (x *Secret_Type) UnmarshalJSON(data []byte) error { + value, err := proto.UnmarshalJSONEnum(Secret_Type_value, data, "Secret_Type") + if err != nil { + return err + } + *x = Secret_Type(value) + return nil +} +func (Secret_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{49, 0} } type Image_Type int32 @@ -897,7 +982,7 @@ func (x *Image_Type) UnmarshalJSON(data []byte) error { *x = Image_Type(value) return nil } -func (Image_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{49, 0} } +func (Image_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{52, 0} } type Volume_Mode int32 @@ -931,7 +1016,7 @@ func (x *Volume_Mode) UnmarshalJSON(data []byte) error { *x = Volume_Mode(value) return nil } -func (Volume_Mode) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{50, 0} } +func (Volume_Mode) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{53, 0} } type Volume_Source_Type int32 @@ -944,17 +1029,20 @@ const ( // TODO(gyliu513): Add HOST_PATH and IMAGE as volume source type. Volume_Source_DOCKER_VOLUME Volume_Source_Type = 1 Volume_Source_SANDBOX_PATH Volume_Source_Type = 2 + Volume_Source_SECRET Volume_Source_Type = 3 ) var Volume_Source_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "DOCKER_VOLUME", 2: "SANDBOX_PATH", + 3: "SECRET", } var Volume_Source_Type_value = map[string]int32{ "UNKNOWN": 0, "DOCKER_VOLUME": 1, "SANDBOX_PATH": 2, + "SECRET": 3, } func (x Volume_Source_Type) Enum() *Volume_Source_Type { @@ -974,7 +1062,7 @@ func (x *Volume_Source_Type) UnmarshalJSON(data []byte) error { return nil } func (Volume_Source_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{50, 0, 0} + return fileDescriptorMesos, []int{53, 0, 0} } type Volume_Source_SandboxPath_Type int32 @@ -1013,7 +1101,7 @@ func (x *Volume_Source_SandboxPath_Type) UnmarshalJSON(data []byte) error { return nil } func (Volume_Source_SandboxPath_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{50, 0, 1, 0} + return fileDescriptorMesos, []int{53, 0, 1, 0} } type NetworkInfo_Protocol int32 @@ -1048,7 +1136,7 @@ func (x *NetworkInfo_Protocol) UnmarshalJSON(data []byte) error { *x = NetworkInfo_Protocol(value) return nil } -func (NetworkInfo_Protocol) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{51, 0} } +func (NetworkInfo_Protocol) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{54, 0} } // We start the actual values at an offset(1000) because Protobuf 2 // uses the first value as the default one. Separating the default @@ -1199,7 +1287,7 @@ func (x *CapabilityInfo_Capability) UnmarshalJSON(data []byte) error { return nil } func (CapabilityInfo_Capability) EnumDescriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{52, 0} + return fileDescriptorMesos, []int{55, 0} } type RLimitInfo_RLimit_Type int32 @@ -1280,7 +1368,7 @@ func (x *RLimitInfo_RLimit_Type) UnmarshalJSON(data []byte) error { return nil } func (RLimitInfo_RLimit_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{54, 0, 0} + return fileDescriptorMesos, []int{57, 0, 0} } // All container implementation types. @@ -1316,7 +1404,7 @@ func (x *ContainerInfo_Type) UnmarshalJSON(data []byte) error { *x = ContainerInfo_Type(value) return nil } -func (ContainerInfo_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{56, 0} } +func (ContainerInfo_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorMesos, []int{59, 0} } // Network options. type ContainerInfo_DockerInfo_Network int32 @@ -1358,7 +1446,7 @@ func (x *ContainerInfo_DockerInfo_Network) UnmarshalJSON(data []byte) error { return nil } func (ContainerInfo_DockerInfo_Network) EnumDescriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{56, 0, 0} + return fileDescriptorMesos, []int{59, 0, 0} } type DiscoveryInfo_Visibility int32 @@ -1397,7 +1485,7 @@ func (x *DiscoveryInfo_Visibility) UnmarshalJSON(data []byte) error { return nil } func (DiscoveryInfo_Visibility) EnumDescriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{63, 0} + return fileDescriptorMesos, []int{66, 0} } // * @@ -1522,6 +1610,24 @@ func (m *ContainerID) GetParent() *ContainerID { return nil } +// * +// A unique ID assigned to a resource provider. Currently, a resource +// provider gets a new ID whenever it (re)registers with Mesos. +type ResourceProviderID struct { + Value string `protobuf:"bytes,1,req,name=value" json:"value"` +} + +func (m *ResourceProviderID) Reset() { *m = ResourceProviderID{} } +func (*ResourceProviderID) ProtoMessage() {} +func (*ResourceProviderID) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{6} } + +func (m *ResourceProviderID) GetValue() string { + if m != nil { + return m.Value + } + return "" +} + // * // Represents time since the epoch, in nanoseconds. type TimeInfo struct { @@ -1530,7 +1636,7 @@ type TimeInfo struct { func (m *TimeInfo) Reset() { *m = TimeInfo{} } func (*TimeInfo) ProtoMessage() {} -func (*TimeInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{6} } +func (*TimeInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{7} } func (m *TimeInfo) GetNanoseconds() int64 { if m != nil { @@ -1547,7 +1653,7 @@ type DurationInfo struct { func (m *DurationInfo) Reset() { *m = DurationInfo{} } func (*DurationInfo) ProtoMessage() {} -func (*DurationInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{7} } +func (*DurationInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{8} } func (m *DurationInfo) GetNanoseconds() int64 { if m != nil { @@ -1569,7 +1675,7 @@ type Address struct { func (m *Address) Reset() { *m = Address{} } func (*Address) ProtoMessage() {} -func (*Address) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{8} } +func (*Address) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{9} } func (m *Address) GetHostname() string { if m != nil && m.Hostname != nil { @@ -1604,7 +1710,7 @@ type URL struct { func (m *URL) Reset() { *m = URL{} } func (*URL) ProtoMessage() {} -func (*URL) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{9} } +func (*URL) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{10} } func (m *URL) GetScheme() string { if m != nil { @@ -1654,7 +1760,7 @@ type Unavailability struct { func (m *Unavailability) Reset() { *m = Unavailability{} } func (*Unavailability) ProtoMessage() {} -func (*Unavailability) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{10} } +func (*Unavailability) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{11} } func (m *Unavailability) GetStart() TimeInfo { if m != nil { @@ -1683,7 +1789,7 @@ type MachineID struct { func (m *MachineID) Reset() { *m = MachineID{} } func (*MachineID) ProtoMessage() {} -func (*MachineID) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{11} } +func (*MachineID) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{12} } func (m *MachineID) GetHostname() string { if m != nil && m.Hostname != nil { @@ -1713,7 +1819,7 @@ type MachineInfo struct { func (m *MachineInfo) Reset() { *m = MachineInfo{} } func (*MachineInfo) ProtoMessage() {} -func (*MachineInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{12} } +func (*MachineInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{13} } func (m *MachineInfo) GetID() MachineID { if m != nil { @@ -1781,9 +1887,6 @@ type FrameworkInfo struct { // `roles` and the default unset `role`, we require that // frameworks set the `MULTI_ROLE` capability if // setting the `roles` field. - // - // NOTE: The implmentation for supporting `roles` - // is not complete, DO NOT USE the `roles` field. Role *string `protobuf:"bytes,6,opt,name=role,def=*" json:"role,omitempty"` Roles []string `protobuf:"bytes,12,rep,name=roles" json:"roles,omitempty"` // Used to indicate the current host from which the scheduler is @@ -1813,7 +1916,7 @@ type FrameworkInfo struct { func (m *FrameworkInfo) Reset() { *m = FrameworkInfo{} } func (*FrameworkInfo) ProtoMessage() {} -func (*FrameworkInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{13} } +func (*FrameworkInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{14} } const Default_FrameworkInfo_FailoverTimeout float64 = 0 const Default_FrameworkInfo_Checkpoint bool = false @@ -1911,7 +2014,7 @@ type FrameworkInfo_Capability struct { func (m *FrameworkInfo_Capability) Reset() { *m = FrameworkInfo_Capability{} } func (*FrameworkInfo_Capability) ProtoMessage() {} func (*FrameworkInfo_Capability) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{13, 0} + return fileDescriptorMesos, []int{14, 0} } func (m *FrameworkInfo_Capability) GetType() FrameworkInfo_Capability_Type { @@ -1935,6 +2038,8 @@ type CheckInfo struct { Command *CheckInfo_Command `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"` // HTTP check. HTTP *CheckInfo_Http `protobuf:"bytes,3,opt,name=http" json:"http,omitempty"` + // TCP check. + TCP *CheckInfo_Tcp `protobuf:"bytes,7,opt,name=tcp" json:"tcp,omitempty"` // Amount of time to wait to start checking the task after it // transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter // is used by the executor. @@ -1954,7 +2059,7 @@ type CheckInfo struct { func (m *CheckInfo) Reset() { *m = CheckInfo{} } func (*CheckInfo) ProtoMessage() {} -func (*CheckInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{14} } +func (*CheckInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{15} } const Default_CheckInfo_DelaySeconds float64 = 15 const Default_CheckInfo_IntervalSeconds float64 = 10 @@ -1981,6 +2086,13 @@ func (m *CheckInfo) GetHTTP() *CheckInfo_Http { return nil } +func (m *CheckInfo) GetTCP() *CheckInfo_Tcp { + if m != nil { + return m.TCP + } + return nil +} + func (m *CheckInfo) GetDelaySeconds() float64 { if m != nil && m.DelaySeconds != nil { return *m.DelaySeconds @@ -2010,7 +2122,7 @@ type CheckInfo_Command struct { func (m *CheckInfo_Command) Reset() { *m = CheckInfo_Command{} } func (*CheckInfo_Command) ProtoMessage() {} -func (*CheckInfo_Command) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{14, 0} } +func (*CheckInfo_Command) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{15, 0} } func (m *CheckInfo_Command) GetCommand() CommandInfo { if m != nil { @@ -2031,7 +2143,7 @@ type CheckInfo_Http struct { func (m *CheckInfo_Http) Reset() { *m = CheckInfo_Http{} } func (*CheckInfo_Http) ProtoMessage() {} -func (*CheckInfo_Http) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{14, 1} } +func (*CheckInfo_Http) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{15, 1} } func (m *CheckInfo_Http) GetPort() uint32 { if m != nil { @@ -2047,6 +2159,24 @@ func (m *CheckInfo_Http) GetPath() string { return "" } +// Describes a TCP check, i.e. based on establishing a TCP connection to +// the specified port. Note that is not configurable and is resolved +// automatically to 127.0.0.1. +type CheckInfo_Tcp struct { + Port uint32 `protobuf:"varint,1,req,name=port" json:"port"` +} + +func (m *CheckInfo_Tcp) Reset() { *m = CheckInfo_Tcp{} } +func (*CheckInfo_Tcp) ProtoMessage() {} +func (*CheckInfo_Tcp) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{15, 2} } + +func (m *CheckInfo_Tcp) GetPort() uint32 { + if m != nil { + return m.Port + } + return 0 +} + // * // Describes a health check for a task or executor (or any arbitrary // process/command). A type is picked by specifying one of the @@ -2084,7 +2214,7 @@ type HealthCheck struct { func (m *HealthCheck) Reset() { *m = HealthCheck{} } func (*HealthCheck) ProtoMessage() {} -func (*HealthCheck) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{15} } +func (*HealthCheck) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{16} } const Default_HealthCheck_DelaySeconds float64 = 15 const Default_HealthCheck_IntervalSeconds float64 = 10 @@ -2179,7 +2309,7 @@ type HealthCheck_HTTPCheckInfo struct { func (m *HealthCheck_HTTPCheckInfo) Reset() { *m = HealthCheck_HTTPCheckInfo{} } func (*HealthCheck_HTTPCheckInfo) ProtoMessage() {} func (*HealthCheck_HTTPCheckInfo) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{15, 0} + return fileDescriptorMesos, []int{16, 0} } func (m *HealthCheck_HTTPCheckInfo) GetScheme() string { @@ -2220,7 +2350,7 @@ type HealthCheck_TCPCheckInfo struct { func (m *HealthCheck_TCPCheckInfo) Reset() { *m = HealthCheck_TCPCheckInfo{} } func (*HealthCheck_TCPCheckInfo) ProtoMessage() {} func (*HealthCheck_TCPCheckInfo) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{15, 1} + return fileDescriptorMesos, []int{16, 1} } func (m *HealthCheck_TCPCheckInfo) GetPort() uint32 { @@ -2260,7 +2390,7 @@ type KillPolicy struct { func (m *KillPolicy) Reset() { *m = KillPolicy{} } func (*KillPolicy) ProtoMessage() {} -func (*KillPolicy) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{16} } +func (*KillPolicy) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{17} } func (m *KillPolicy) GetGracePeriod() *DurationInfo { if m != nil { @@ -2305,7 +2435,7 @@ type CommandInfo struct { func (m *CommandInfo) Reset() { *m = CommandInfo{} } func (*CommandInfo) ProtoMessage() {} -func (*CommandInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{17} } +func (*CommandInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{18} } const Default_CommandInfo_Shell bool = true @@ -2380,7 +2510,7 @@ type CommandInfo_URI struct { func (m *CommandInfo_URI) Reset() { *m = CommandInfo_URI{} } func (*CommandInfo_URI) ProtoMessage() {} -func (*CommandInfo_URI) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{17, 0} } +func (*CommandInfo_URI) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{18, 0} } const Default_CommandInfo_URI_Extract bool = true @@ -2475,7 +2605,7 @@ type ExecutorInfo struct { func (m *ExecutorInfo) Reset() { *m = ExecutorInfo{} } func (*ExecutorInfo) ProtoMessage() {} -func (*ExecutorInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{18} } +func (*ExecutorInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{19} } func (m *ExecutorInfo) GetType() ExecutorInfo_Type { if m != nil { @@ -2594,7 +2724,7 @@ type MasterInfo struct { func (m *MasterInfo) Reset() { *m = MasterInfo{} } func (*MasterInfo) ProtoMessage() {} -func (*MasterInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{19} } +func (*MasterInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{20} } const Default_MasterInfo_Port uint32 = 5050 @@ -2661,7 +2791,7 @@ type AgentInfo struct { func (m *AgentInfo) Reset() { *m = AgentInfo{} } func (*AgentInfo) ProtoMessage() {} -func (*AgentInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{20} } +func (*AgentInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{21} } const Default_AgentInfo_Port int32 = 5051 @@ -2707,7 +2837,7 @@ type AgentInfo_Capability struct { func (m *AgentInfo_Capability) Reset() { *m = AgentInfo_Capability{} } func (*AgentInfo_Capability) ProtoMessage() {} -func (*AgentInfo_Capability) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{20, 0} } +func (*AgentInfo_Capability) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{21, 0} } func (m *AgentInfo_Capability) GetType() AgentInfo_Capability_Type { if m != nil { @@ -2729,7 +2859,7 @@ type Value struct { func (m *Value) Reset() { *m = Value{} } func (*Value) ProtoMessage() {} -func (*Value) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{21} } +func (*Value) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{22} } func (m *Value) GetType() Value_Type { if m != nil { @@ -2780,7 +2910,7 @@ type Value_Scalar struct { func (m *Value_Scalar) Reset() { *m = Value_Scalar{} } func (*Value_Scalar) ProtoMessage() {} -func (*Value_Scalar) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{21, 0} } +func (*Value_Scalar) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{22, 0} } func (m *Value_Scalar) GetValue() float64 { if m != nil { @@ -2796,7 +2926,7 @@ type Value_Range struct { func (m *Value_Range) Reset() { *m = Value_Range{} } func (*Value_Range) ProtoMessage() {} -func (*Value_Range) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{21, 1} } +func (*Value_Range) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{22, 1} } func (m *Value_Range) GetBegin() uint64 { if m != nil { @@ -2818,7 +2948,7 @@ type Value_Ranges struct { func (m *Value_Ranges) Reset() { *m = Value_Ranges{} } func (*Value_Ranges) ProtoMessage() {} -func (*Value_Ranges) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{21, 2} } +func (*Value_Ranges) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{22, 2} } func (m *Value_Ranges) GetRange() []Value_Range { if m != nil { @@ -2833,7 +2963,7 @@ type Value_Set struct { func (m *Value_Set) Reset() { *m = Value_Set{} } func (*Value_Set) ProtoMessage() {} -func (*Value_Set) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{21, 3} } +func (*Value_Set) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{22, 3} } func (m *Value_Set) GetItem() []string { if m != nil { @@ -2848,7 +2978,7 @@ type Value_Text struct { func (m *Value_Text) Reset() { *m = Value_Text{} } func (*Value_Text) ProtoMessage() {} -func (*Value_Text) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{21, 4} } +func (*Value_Text) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{22, 4} } func (m *Value_Text) GetValue() string { if m != nil { @@ -2872,7 +3002,7 @@ type Attribute struct { func (m *Attribute) Reset() { *m = Attribute{} } func (*Attribute) ProtoMessage() {} -func (*Attribute) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{22} } +func (*Attribute) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{23} } func (m *Attribute) GetName() string { if m != nil { @@ -2917,23 +3047,24 @@ func (m *Attribute) GetText() *Value_Text { } // * -// Describes a resource on a machine. The `name` field is a string -// like "cpus" or "mem" that indicates which kind of resource this is; -// the rest of the fields describe the properties of the resource. A -// resource can take on one of three types: scalar (double), a list of -// finite and discrete ranges (e.g., [1-10, 20-30]), or a set of -// items. A resource is described using the standard protocol buffer -// "union" trick. +// Describes a resource from a resource provider. The `name` field is +// a string like "cpus" or "mem" that indicates which kind of resource +// this is; the rest of the fields describe the properties of the +// resource. A resource can take on one of three types: scalar +// (double), a list of finite and discrete ranges (e.g., [1-10, +// 20-30]), or a set of items. A resource is described using the +// standard protocol buffer "union" trick. // // Note that "disk" and "mem" resources are scalar values expressed in // megabytes. Fractional "cpus" values are allowed (e.g., "0.5"), // which correspond to partial shares of a CPU. type Resource struct { - Name string `protobuf:"bytes,1,req,name=name" json:"name"` - Type *Value_Type `protobuf:"varint,2,req,name=type,enum=mesos.Value_Type" json:"type,omitempty"` - Scalar *Value_Scalar `protobuf:"bytes,3,opt,name=scalar" json:"scalar,omitempty"` - Ranges *Value_Ranges `protobuf:"bytes,4,opt,name=ranges" json:"ranges,omitempty"` - Set *Value_Set `protobuf:"bytes,5,opt,name=set" json:"set,omitempty"` + ProviderID *ResourceProviderID `protobuf:"bytes,12,opt,name=provider_id,json=providerId" json:"provider_id,omitempty"` + Name string `protobuf:"bytes,1,req,name=name" json:"name"` + Type *Value_Type `protobuf:"varint,2,req,name=type,enum=mesos.Value_Type" json:"type,omitempty"` + Scalar *Value_Scalar `protobuf:"bytes,3,opt,name=scalar" json:"scalar,omitempty"` + Ranges *Value_Ranges `protobuf:"bytes,4,opt,name=ranges" json:"ranges,omitempty"` + Set *Value_Set `protobuf:"bytes,5,opt,name=set" json:"set,omitempty"` // The role that this resource is reserved for. If "*", this indicates // that the resource is unreserved. Otherwise, the resource will only // be offered to frameworks that belong to this role. @@ -2960,10 +3091,17 @@ type Resource struct { func (m *Resource) Reset() { *m = Resource{} } func (*Resource) ProtoMessage() {} -func (*Resource) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{23} } +func (*Resource) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{24} } const Default_Resource_Role string = "*" +func (m *Resource) GetProviderID() *ResourceProviderID { + if m != nil { + return m.ProviderID + } + return nil +} + func (m *Resource) GetName() string { if m != nil { return m.Name @@ -3045,8 +3183,6 @@ func (m *Resource) GetShared() *Resource_SharedInfo { // frameworks. Frameworks that are not MULTI_ROLE capable can // continue to assume that the offered resources are allocated // to their role. -// -// NOTE: Implementation of this is in-progress, DO NOT USE! type Resource_AllocationInfo struct { // If set, this resource is allocated to a role. Note that in the // future, this may be unset and the scheduler may be responsible @@ -3056,7 +3192,7 @@ type Resource_AllocationInfo struct { func (m *Resource_AllocationInfo) Reset() { *m = Resource_AllocationInfo{} } func (*Resource_AllocationInfo) ProtoMessage() {} -func (*Resource_AllocationInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{23, 0} } +func (*Resource_AllocationInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{24, 0} } func (m *Resource_AllocationInfo) GetRole() string { if m != nil && m.Role != nil { @@ -3085,7 +3221,7 @@ type Resource_ReservationInfo struct { func (m *Resource_ReservationInfo) Reset() { *m = Resource_ReservationInfo{} } func (*Resource_ReservationInfo) ProtoMessage() {} func (*Resource_ReservationInfo) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{23, 1} + return fileDescriptorMesos, []int{24, 1} } func (m *Resource_ReservationInfo) GetPrincipal() string { @@ -3119,7 +3255,7 @@ type Resource_DiskInfo struct { func (m *Resource_DiskInfo) Reset() { *m = Resource_DiskInfo{} } func (*Resource_DiskInfo) ProtoMessage() {} -func (*Resource_DiskInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{23, 2} } +func (*Resource_DiskInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{24, 2} } func (m *Resource_DiskInfo) GetPersistence() *Resource_DiskInfo_Persistence { if m != nil { @@ -3162,11 +3298,6 @@ type Resource_DiskInfo_Persistence struct { // with the "destroy" ACL to determine whether an entity // attempting to destroy the volume is permitted to do so. // - // NOTE: This field is optional, while the `principal` found in - // `ReservationInfo` is required. This field is optional to - // allow for the possibility of volume creation without a - // principal, though currently it must be provided. - // // NOTE: This field should match the FrameworkInfo.principal of // the framework that created the volume. Principal *string `protobuf:"bytes,2,opt,name=principal" json:"principal,omitempty"` @@ -3175,7 +3306,7 @@ type Resource_DiskInfo_Persistence struct { func (m *Resource_DiskInfo_Persistence) Reset() { *m = Resource_DiskInfo_Persistence{} } func (*Resource_DiskInfo_Persistence) ProtoMessage() {} func (*Resource_DiskInfo_Persistence) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{23, 2, 0} + return fileDescriptorMesos, []int{24, 2, 0} } func (m *Resource_DiskInfo_Persistence) GetID() string { @@ -3195,7 +3326,7 @@ func (m *Resource_DiskInfo_Persistence) GetPrincipal() string { // Describes where a disk originates from. // TODO(jmlvanre): Add support for BLOCK devices. type Resource_DiskInfo_Source struct { - Type *Resource_DiskInfo_Source_Type `protobuf:"varint,1,req,name=type,enum=mesos.Resource_DiskInfo_Source_Type" json:"type,omitempty"` + Type Resource_DiskInfo_Source_Type `protobuf:"varint,1,req,name=type,enum=mesos.Resource_DiskInfo_Source_Type" json:"type"` Path *Resource_DiskInfo_Source_Path `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"` Mount *Resource_DiskInfo_Source_Mount `protobuf:"bytes,3,opt,name=mount" json:"mount,omitempty"` } @@ -3203,14 +3334,14 @@ type Resource_DiskInfo_Source struct { func (m *Resource_DiskInfo_Source) Reset() { *m = Resource_DiskInfo_Source{} } func (*Resource_DiskInfo_Source) ProtoMessage() {} func (*Resource_DiskInfo_Source) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{23, 2, 1} + return fileDescriptorMesos, []int{24, 2, 1} } func (m *Resource_DiskInfo_Source) GetType() Resource_DiskInfo_Source_Type { - if m != nil && m.Type != nil { - return *m.Type + if m != nil { + return m.Type } - return PATH + return UNKNOWN } func (m *Resource_DiskInfo_Source) GetPath() *Resource_DiskInfo_Source_Path { @@ -3231,18 +3362,18 @@ func (m *Resource_DiskInfo_Source) GetMount() *Resource_DiskInfo_Source_Mount { // can be shared and carved up as necessary between frameworks. type Resource_DiskInfo_Source_Path struct { // Path to the folder (e.g., /mnt/raid/disk0). - Root string `protobuf:"bytes,1,req,name=root" json:"root"` + Root *string `protobuf:"bytes,1,opt,name=root" json:"root,omitempty"` } func (m *Resource_DiskInfo_Source_Path) Reset() { *m = Resource_DiskInfo_Source_Path{} } func (*Resource_DiskInfo_Source_Path) ProtoMessage() {} func (*Resource_DiskInfo_Source_Path) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{23, 2, 1, 0} + return fileDescriptorMesos, []int{24, 2, 1, 0} } func (m *Resource_DiskInfo_Source_Path) GetRoot() string { - if m != nil { - return m.Root + if m != nil && m.Root != nil { + return *m.Root } return "" } @@ -3252,18 +3383,18 @@ func (m *Resource_DiskInfo_Source_Path) GetRoot() string { // partial amount of this disk. type Resource_DiskInfo_Source_Mount struct { // Path to mount point (e.g., /mnt/raid/disk0). - Root string `protobuf:"bytes,1,req,name=root" json:"root"` + Root *string `protobuf:"bytes,1,opt,name=root" json:"root,omitempty"` } func (m *Resource_DiskInfo_Source_Mount) Reset() { *m = Resource_DiskInfo_Source_Mount{} } func (*Resource_DiskInfo_Source_Mount) ProtoMessage() {} func (*Resource_DiskInfo_Source_Mount) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{23, 2, 1, 1} + return fileDescriptorMesos, []int{24, 2, 1, 1} } func (m *Resource_DiskInfo_Source_Mount) GetRoot() string { - if m != nil { - return m.Root + if m != nil && m.Root != nil { + return *m.Root } return "" } @@ -3273,7 +3404,7 @@ type Resource_RevocableInfo struct { func (m *Resource_RevocableInfo) Reset() { *m = Resource_RevocableInfo{} } func (*Resource_RevocableInfo) ProtoMessage() {} -func (*Resource_RevocableInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{23, 3} } +func (*Resource_RevocableInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{24, 3} } // Allow the resource to be shared across tasks. type Resource_SharedInfo struct { @@ -3281,7 +3412,7 @@ type Resource_SharedInfo struct { func (m *Resource_SharedInfo) Reset() { *m = Resource_SharedInfo{} } func (*Resource_SharedInfo) ProtoMessage() {} -func (*Resource_SharedInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{23, 4} } +func (*Resource_SharedInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{24, 4} } // * // When the network bandwidth caps are enabled and the container @@ -3322,7 +3453,7 @@ type TrafficControlStatistics struct { func (m *TrafficControlStatistics) Reset() { *m = TrafficControlStatistics{} } func (*TrafficControlStatistics) ProtoMessage() {} -func (*TrafficControlStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{24} } +func (*TrafficControlStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{25} } func (m *TrafficControlStatistics) GetID() string { if m != nil { @@ -3418,7 +3549,7 @@ type IpStatistics struct { func (m *IpStatistics) Reset() { *m = IpStatistics{} } func (*IpStatistics) ProtoMessage() {} -func (*IpStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{25} } +func (*IpStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{26} } func (m *IpStatistics) GetForwarding() int64 { if m != nil && m.Forwarding != nil { @@ -3585,7 +3716,7 @@ type IcmpStatistics struct { func (m *IcmpStatistics) Reset() { *m = IcmpStatistics{} } func (*IcmpStatistics) ProtoMessage() {} -func (*IcmpStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{26} } +func (*IcmpStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{27} } func (m *IcmpStatistics) GetInMsgs() int64 { if m != nil && m.InMsgs != nil { @@ -3796,7 +3927,7 @@ type TcpStatistics struct { func (m *TcpStatistics) Reset() { *m = TcpStatistics{} } func (*TcpStatistics) ProtoMessage() {} -func (*TcpStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{27} } +func (*TcpStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{28} } func (m *TcpStatistics) GetRtoAlgorithm() int64 { if m != nil && m.RtoAlgorithm != nil { @@ -3916,7 +4047,7 @@ type UdpStatistics struct { func (m *UdpStatistics) Reset() { *m = UdpStatistics{} } func (*UdpStatistics) ProtoMessage() {} -func (*UdpStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{28} } +func (*UdpStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{29} } func (m *UdpStatistics) GetInDatagrams() int64 { if m != nil && m.InDatagrams != nil { @@ -3983,7 +4114,7 @@ type SNMPStatistics struct { func (m *SNMPStatistics) Reset() { *m = SNMPStatistics{} } func (*SNMPStatistics) ProtoMessage() {} -func (*SNMPStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{29} } +func (*SNMPStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{30} } func (m *SNMPStatistics) GetIPStats() *IpStatistics { if m != nil { @@ -4013,6 +4144,45 @@ func (m *SNMPStatistics) GetUDPStats() *UdpStatistics { return nil } +type DiskStatistics struct { + Source *Resource_DiskInfo_Source `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"` + Persistence *Resource_DiskInfo_Persistence `protobuf:"bytes,2,opt,name=persistence" json:"persistence,omitempty"` + LimitBytes *uint64 `protobuf:"varint,3,opt,name=limit_bytes,json=limitBytes" json:"limit_bytes,omitempty"` + UsedBytes *uint64 `protobuf:"varint,4,opt,name=used_bytes,json=usedBytes" json:"used_bytes,omitempty"` +} + +func (m *DiskStatistics) Reset() { *m = DiskStatistics{} } +func (*DiskStatistics) ProtoMessage() {} +func (*DiskStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{31} } + +func (m *DiskStatistics) GetSource() *Resource_DiskInfo_Source { + if m != nil { + return m.Source + } + return nil +} + +func (m *DiskStatistics) GetPersistence() *Resource_DiskInfo_Persistence { + if m != nil { + return m.Persistence + } + return nil +} + +func (m *DiskStatistics) GetLimitBytes() uint64 { + if m != nil && m.LimitBytes != nil { + return *m.LimitBytes + } + return 0 +} + +func (m *DiskStatistics) GetUsedBytes() uint64 { + if m != nil && m.UsedBytes != nil { + return *m.UsedBytes + } + return 0 +} + // * // A snapshot of resource usage statistics. type ResourceStatistics struct { @@ -4066,6 +4236,8 @@ type ResourceStatistics struct { // Disk Usage Information for executor working directory. DiskLimitBytes *uint64 `protobuf:"varint,26,opt,name=disk_limit_bytes,json=diskLimitBytes" json:"disk_limit_bytes,omitempty"` DiskUsedBytes *uint64 `protobuf:"varint,27,opt,name=disk_used_bytes,json=diskUsedBytes" json:"disk_used_bytes,omitempty"` + // Per disk (resource) statistics. + DiskStatistics []DiskStatistics `protobuf:"bytes,43,rep,name=disk_statistics,json=diskStatistics" json:"disk_statistics"` // Perf statistics. Perf *PerfStatistics `protobuf:"bytes,13,opt,name=perf" json:"perf,omitempty"` // Network Usage Information: @@ -4095,7 +4267,7 @@ type ResourceStatistics struct { func (m *ResourceStatistics) Reset() { *m = ResourceStatistics{} } func (*ResourceStatistics) ProtoMessage() {} -func (*ResourceStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{30} } +func (*ResourceStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{32} } func (m *ResourceStatistics) GetTimestamp() float64 { if m != nil { @@ -4272,6 +4444,13 @@ func (m *ResourceStatistics) GetDiskUsedBytes() uint64 { return 0 } +func (m *ResourceStatistics) GetDiskStatistics() []DiskStatistics { + if m != nil { + return m.DiskStatistics + } + return nil +} + func (m *ResourceStatistics) GetPerf() *PerfStatistics { if m != nil { return m.Perf @@ -4402,7 +4581,7 @@ type ResourceUsage struct { func (m *ResourceUsage) Reset() { *m = ResourceUsage{} } func (*ResourceUsage) ProtoMessage() {} -func (*ResourceUsage) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{31} } +func (*ResourceUsage) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{33} } func (m *ResourceUsage) GetExecutors() []ResourceUsage_Executor { if m != nil { @@ -4434,7 +4613,7 @@ type ResourceUsage_Executor struct { func (m *ResourceUsage_Executor) Reset() { *m = ResourceUsage_Executor{} } func (*ResourceUsage_Executor) ProtoMessage() {} -func (*ResourceUsage_Executor) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{31, 0} } +func (*ResourceUsage_Executor) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{33, 0} } func (m *ResourceUsage_Executor) GetExecutorInfo() ExecutorInfo { if m != nil { @@ -4481,7 +4660,7 @@ type ResourceUsage_Executor_Task struct { func (m *ResourceUsage_Executor_Task) Reset() { *m = ResourceUsage_Executor_Task{} } func (*ResourceUsage_Executor_Task) ProtoMessage() {} func (*ResourceUsage_Executor_Task) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{31, 0, 0} + return fileDescriptorMesos, []int{33, 0, 0} } func (m *ResourceUsage_Executor_Task) GetName() string { @@ -4584,7 +4763,7 @@ type PerfStatistics struct { func (m *PerfStatistics) Reset() { *m = PerfStatistics{} } func (*PerfStatistics) ProtoMessage() {} -func (*PerfStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{32} } +func (*PerfStatistics) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{34} } func (m *PerfStatistics) GetTimestamp() float64 { if m != nil { @@ -4969,7 +5148,7 @@ type Request struct { func (m *Request) Reset() { *m = Request{} } func (*Request) ProtoMessage() {} -func (*Request) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{33} } +func (*Request) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{35} } func (m *Request) GetAgentID() *AgentID { if m != nil { @@ -5013,14 +5192,12 @@ type Offer struct { // roles managed by the scheduler. (Therefore, each // `Offer.resources[i].allocation_info` will match the // top level `Offer.allocation_info`). - // - // NOTE: Implementation of this is in-progress, DO NOT USE! AllocationInfo *Resource_AllocationInfo `protobuf:"bytes,10,opt,name=allocation_info,json=allocationInfo" json:"allocation_info,omitempty"` } func (m *Offer) Reset() { *m = Offer{} } func (*Offer) ProtoMessage() {} -func (*Offer) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{34} } +func (*Offer) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{36} } func (m *Offer) GetID() OfferID { if m != nil { @@ -5105,7 +5282,7 @@ type Offer_Operation struct { func (m *Offer_Operation) Reset() { *m = Offer_Operation{} } func (*Offer_Operation) ProtoMessage() {} -func (*Offer_Operation) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{34, 0} } +func (*Offer_Operation) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{36, 0} } func (m *Offer_Operation) GetType() Offer_Operation_Type { if m != nil { @@ -5164,7 +5341,7 @@ type Offer_Operation_Launch struct { func (m *Offer_Operation_Launch) Reset() { *m = Offer_Operation_Launch{} } func (*Offer_Operation_Launch) ProtoMessage() {} func (*Offer_Operation_Launch) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{34, 0, 0} + return fileDescriptorMesos, []int{36, 0, 0} } func (m *Offer_Operation_Launch) GetTaskInfos() []TaskInfo { @@ -5190,7 +5367,7 @@ type Offer_Operation_LaunchGroup struct { func (m *Offer_Operation_LaunchGroup) Reset() { *m = Offer_Operation_LaunchGroup{} } func (*Offer_Operation_LaunchGroup) ProtoMessage() {} func (*Offer_Operation_LaunchGroup) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{34, 0, 1} + return fileDescriptorMesos, []int{36, 0, 1} } func (m *Offer_Operation_LaunchGroup) GetExecutor() ExecutorInfo { @@ -5214,7 +5391,7 @@ type Offer_Operation_Reserve struct { func (m *Offer_Operation_Reserve) Reset() { *m = Offer_Operation_Reserve{} } func (*Offer_Operation_Reserve) ProtoMessage() {} func (*Offer_Operation_Reserve) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{34, 0, 2} + return fileDescriptorMesos, []int{36, 0, 2} } func (m *Offer_Operation_Reserve) GetResources() []Resource { @@ -5231,7 +5408,7 @@ type Offer_Operation_Unreserve struct { func (m *Offer_Operation_Unreserve) Reset() { *m = Offer_Operation_Unreserve{} } func (*Offer_Operation_Unreserve) ProtoMessage() {} func (*Offer_Operation_Unreserve) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{34, 0, 3} + return fileDescriptorMesos, []int{36, 0, 3} } func (m *Offer_Operation_Unreserve) GetResources() []Resource { @@ -5248,7 +5425,7 @@ type Offer_Operation_Create struct { func (m *Offer_Operation_Create) Reset() { *m = Offer_Operation_Create{} } func (*Offer_Operation_Create) ProtoMessage() {} func (*Offer_Operation_Create) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{34, 0, 4} + return fileDescriptorMesos, []int{36, 0, 4} } func (m *Offer_Operation_Create) GetVolumes() []Resource { @@ -5265,7 +5442,7 @@ type Offer_Operation_Destroy struct { func (m *Offer_Operation_Destroy) Reset() { *m = Offer_Operation_Destroy{} } func (*Offer_Operation_Destroy) ProtoMessage() {} func (*Offer_Operation_Destroy) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{34, 0, 5} + return fileDescriptorMesos, []int{36, 0, 5} } func (m *Offer_Operation_Destroy) GetVolumes() []Resource { @@ -5318,7 +5495,7 @@ type InverseOffer struct { func (m *InverseOffer) Reset() { *m = InverseOffer{} } func (*InverseOffer) ProtoMessage() {} -func (*InverseOffer) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{35} } +func (*InverseOffer) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{37} } func (m *InverseOffer) GetOfferID() OfferID { if m != nil { @@ -5413,7 +5590,7 @@ type TaskInfo struct { func (m *TaskInfo) Reset() { *m = TaskInfo{} } func (*TaskInfo) ProtoMessage() {} -func (*TaskInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{36} } +func (*TaskInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{38} } func (m *TaskInfo) GetName() string { if m != nil { @@ -5521,7 +5698,7 @@ type TaskGroupInfo struct { func (m *TaskGroupInfo) Reset() { *m = TaskGroupInfo{} } func (*TaskGroupInfo) ProtoMessage() {} -func (*TaskGroupInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{37} } +func (*TaskGroupInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{39} } func (m *TaskGroupInfo) GetTasks() []TaskInfo { if m != nil { @@ -5570,7 +5747,7 @@ type Task struct { func (m *Task) Reset() { *m = Task{} } func (*Task) ProtoMessage() {} -func (*Task) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{38} } +func (*Task) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{40} } func (m *Task) GetName() string { if m != nil { @@ -5684,11 +5861,13 @@ type CheckStatusInfo struct { Command *CheckStatusInfo_Command `protobuf:"bytes,2,opt,name=command" json:"command,omitempty"` // Status of an HTTP check. HTTP *CheckStatusInfo_Http `protobuf:"bytes,3,opt,name=http" json:"http,omitempty"` + // Status of a TCP check. + TCP *CheckStatusInfo_Tcp `protobuf:"bytes,4,opt,name=tcp" json:"tcp,omitempty"` } func (m *CheckStatusInfo) Reset() { *m = CheckStatusInfo{} } func (*CheckStatusInfo) ProtoMessage() {} -func (*CheckStatusInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{39} } +func (*CheckStatusInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{41} } func (m *CheckStatusInfo) GetType() CheckInfo_Type { if m != nil && m.Type != nil { @@ -5711,14 +5890,23 @@ func (m *CheckStatusInfo) GetHTTP() *CheckStatusInfo_Http { return nil } +func (m *CheckStatusInfo) GetTCP() *CheckStatusInfo_Tcp { + if m != nil { + return m.TCP + } + return nil +} + type CheckStatusInfo_Command struct { - // Exit code of a command check. + // Exit code of a command check. It is the result of calling + // `WEXITSTATUS()` on `waitpid()` termination information on + // Posix and calling `GetExitCodeProcess()` on Windows. ExitCode *int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode" json:"exit_code,omitempty"` } func (m *CheckStatusInfo_Command) Reset() { *m = CheckStatusInfo_Command{} } func (*CheckStatusInfo_Command) ProtoMessage() {} -func (*CheckStatusInfo_Command) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{39, 0} } +func (*CheckStatusInfo_Command) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{41, 0} } func (m *CheckStatusInfo_Command) GetExitCode() int32 { if m != nil && m.ExitCode != nil { @@ -5734,7 +5922,7 @@ type CheckStatusInfo_Http struct { func (m *CheckStatusInfo_Http) Reset() { *m = CheckStatusInfo_Http{} } func (*CheckStatusInfo_Http) ProtoMessage() {} -func (*CheckStatusInfo_Http) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{39, 1} } +func (*CheckStatusInfo_Http) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{41, 1} } func (m *CheckStatusInfo_Http) GetStatusCode() uint32 { if m != nil && m.StatusCode != nil { @@ -5743,6 +5931,22 @@ func (m *CheckStatusInfo_Http) GetStatusCode() uint32 { return 0 } +type CheckStatusInfo_Tcp struct { + // Whether a TCP connection succeeded. + Succeeded *bool `protobuf:"varint,1,opt,name=succeeded" json:"succeeded,omitempty"` +} + +func (m *CheckStatusInfo_Tcp) Reset() { *m = CheckStatusInfo_Tcp{} } +func (*CheckStatusInfo_Tcp) ProtoMessage() {} +func (*CheckStatusInfo_Tcp) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{41, 2} } + +func (m *CheckStatusInfo_Tcp) GetSucceeded() bool { + if m != nil && m.Succeeded != nil { + return *m.Succeeded + } + return false +} + // * // Describes the current status of a task. type TaskStatus struct { @@ -5799,7 +6003,7 @@ type TaskStatus struct { func (m *TaskStatus) Reset() { *m = TaskStatus{} } func (*TaskStatus) ProtoMessage() {} -func (*TaskStatus) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{40} } +func (*TaskStatus) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{42} } func (m *TaskStatus) GetTaskID() TaskID { if m != nil { @@ -5921,7 +6125,7 @@ type Filters struct { func (m *Filters) Reset() { *m = Filters{} } func (*Filters) ProtoMessage() {} -func (*Filters) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{41} } +func (*Filters) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{43} } const Default_Filters_RefuseSeconds float64 = 5 @@ -5935,14 +6139,15 @@ func (m *Filters) GetRefuseSeconds() float64 { // * // Describes a collection of environment variables. This is used with // CommandInfo in order to set environment variables before running a -// command. +// command. The contents of each variable may be specified as a string +// or a Secret; only one of `value` and `secret` must be set. type Environment struct { Variables []Environment_Variable `protobuf:"bytes,1,rep,name=variables" json:"variables"` } func (m *Environment) Reset() { *m = Environment{} } func (*Environment) ProtoMessage() {} -func (*Environment) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{42} } +func (*Environment) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{44} } func (m *Environment) GetVariables() []Environment_Variable { if m != nil { @@ -5953,15 +6158,22 @@ func (m *Environment) GetVariables() []Environment_Variable { type Environment_Variable struct { Name string `protobuf:"bytes,1,req,name=name" json:"name"` - // NOTE: The `value` field was made optional in Mesos 1.2 but it - // is currently enforced to be set. This constraint will be - // removed in a future version. - Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` + // In Mesos 1.2, the `Environment.variables.value` message was made + // optional. The default type for `Environment.variables.type` is now VALUE, + // which requires `value` to be set, maintaining backward compatibility. + // + // TODO(greggomann): The default can be removed in Mesos 2.1 (MESOS-7134). + Type *Environment_Variable_Type `protobuf:"varint,3,opt,name=type,enum=mesos.Environment_Variable_Type,def=1" json:"type,omitempty"` + // Only one of `value` and `secret` must be set. + Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` + Secret *Secret `protobuf:"bytes,4,opt,name=secret" json:"secret,omitempty"` } func (m *Environment_Variable) Reset() { *m = Environment_Variable{} } func (*Environment_Variable) ProtoMessage() {} -func (*Environment_Variable) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{42, 0} } +func (*Environment_Variable) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{44, 0} } + +const Default_Environment_Variable_Type Environment_Variable_Type = Environment_Variable_VALUE func (m *Environment_Variable) GetName() string { if m != nil { @@ -5970,6 +6182,13 @@ func (m *Environment_Variable) GetName() string { return "" } +func (m *Environment_Variable) GetType() Environment_Variable_Type { + if m != nil && m.Type != nil { + return *m.Type + } + return Default_Environment_Variable_Type +} + func (m *Environment_Variable) GetValue() string { if m != nil && m.Value != nil { return *m.Value @@ -5977,6 +6196,13 @@ func (m *Environment_Variable) GetValue() string { return "" } +func (m *Environment_Variable) GetSecret() *Secret { + if m != nil { + return m.Secret + } + return nil +} + // * // A generic (key, value) pair used in various places for parameters. type Parameter struct { @@ -5986,7 +6212,7 @@ type Parameter struct { func (m *Parameter) Reset() { *m = Parameter{} } func (*Parameter) ProtoMessage() {} -func (*Parameter) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{43} } +func (*Parameter) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{45} } func (m *Parameter) GetKey() string { if m != nil { @@ -6010,7 +6236,7 @@ type Parameters struct { func (m *Parameters) Reset() { *m = Parameters{} } func (*Parameters) ProtoMessage() {} -func (*Parameters) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{44} } +func (*Parameters) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{46} } func (m *Parameters) GetParameter() []Parameter { if m != nil { @@ -6034,7 +6260,7 @@ type Credential struct { func (m *Credential) Reset() { *m = Credential{} } func (*Credential) ProtoMessage() {} -func (*Credential) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{45} } +func (*Credential) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{47} } func (m *Credential) GetPrincipal() string { if m != nil { @@ -6060,7 +6286,7 @@ type Credentials struct { func (m *Credentials) Reset() { *m = Credentials{} } func (*Credentials) ProtoMessage() {} -func (*Credentials) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{46} } +func (*Credentials) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{48} } func (m *Credentials) GetCredentials() []Credential { if m != nil { @@ -6069,6 +6295,95 @@ func (m *Credentials) GetCredentials() []Credential { return nil } +// * +// Secret used to pass privileged information. It is designed to provide +// pass-by-value or pass-by-reference semantics, where the REFERENCE type can be +// used by custom modules which interact with a secure back-end. +type Secret struct { + Type Secret_Type `protobuf:"varint,1,opt,name=type,enum=mesos.Secret_Type" json:"type"` + // Only one of `reference` and `value` must be set. + Reference *Secret_Reference `protobuf:"bytes,2,opt,name=reference" json:"reference,omitempty"` + Value *Secret_Value `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"` +} + +func (m *Secret) Reset() { *m = Secret{} } +func (*Secret) ProtoMessage() {} +func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{49} } + +func (m *Secret) GetType() Secret_Type { + if m != nil { + return m.Type + } + return Secret_UNKNOWN +} + +func (m *Secret) GetReference() *Secret_Reference { + if m != nil { + return m.Reference + } + return nil +} + +func (m *Secret) GetValue() *Secret_Value { + if m != nil { + return m.Value + } + return nil +} + +// Can be used by modules to refer to a secret stored in a secure back-end. +// The `key` field is provided to permit reference to a single value within a +// secret containing arbitrary key-value pairs. +// +// For example, given a back-end secret store with a secret named +// "my-secret" containing the following key-value pairs: +// +// { +// "username": "my-user", +// "password": "my-password +// } +// +// the username could be referred to in a `Secret` by specifying +// "my-secret" for the `name` and "username" for the `key`. +type Secret_Reference struct { + Name string `protobuf:"bytes,1,req,name=name" json:"name"` + Key *string `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` +} + +func (m *Secret_Reference) Reset() { *m = Secret_Reference{} } +func (*Secret_Reference) ProtoMessage() {} +func (*Secret_Reference) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{49, 0} } + +func (m *Secret_Reference) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Secret_Reference) GetKey() string { + if m != nil && m.Key != nil { + return *m.Key + } + return "" +} + +// Used to pass the value of a secret. +type Secret_Value struct { + Data []byte `protobuf:"bytes,1,req,name=data" json:"data,omitempty"` +} + +func (m *Secret_Value) Reset() { *m = Secret_Value{} } +func (*Secret_Value) ProtoMessage() {} +func (*Secret_Value) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{49, 1} } + +func (m *Secret_Value) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + // * // Rate (queries per second, QPS) limit for messages from a framework to master. // Strictly speaking they are the combined rate from all frameworks of the same @@ -6091,7 +6406,7 @@ type RateLimit struct { func (m *RateLimit) Reset() { *m = RateLimit{} } func (*RateLimit) ProtoMessage() {} -func (*RateLimit) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{47} } +func (*RateLimit) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{50} } func (m *RateLimit) GetQPS() float64 { if m != nil && m.QPS != nil { @@ -6132,7 +6447,7 @@ type RateLimits struct { func (m *RateLimits) Reset() { *m = RateLimits{} } func (*RateLimits) ProtoMessage() {} -func (*RateLimits) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{48} } +func (*RateLimits) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{51} } func (m *RateLimits) GetLimits() []RateLimit { if m != nil { @@ -6172,7 +6487,7 @@ type Image struct { func (m *Image) Reset() { *m = Image{} } func (*Image) ProtoMessage() {} -func (*Image) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{49} } +func (*Image) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{52} } const Default_Image_Cached bool = true @@ -6220,7 +6535,7 @@ type Image_Appc struct { func (m *Image_Appc) Reset() { *m = Image_Appc{} } func (*Image_Appc) ProtoMessage() {} -func (*Image_Appc) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{49, 0} } +func (*Image_Appc) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{52, 0} } func (m *Image_Appc) GetName() string { if m != nil { @@ -6252,12 +6567,22 @@ type Image_Docker struct { // Credential to authenticate with docker registry. // NOTE: This is not encrypted, therefore framework and operators // should enable SSL when passing this information. + // + // This is field is never used in Mesos before and is deprecated + // since Mesos 1.3. Please use the `Secret::Value` field `config` + // below (see MESOS-7088 for details). Credential *Credential `protobuf:"bytes,2,opt,name=credential" json:"credential,omitempty"` + // The UTF-8 character encoded byte data, which is expected as + // a docker config file in JSON format. This field is used for + // supporting docker private registry credential per container. + // Users can specify different docker config files for pulling + // their private images from different registries. + Config *Secret `protobuf:"bytes,3,opt,name=config" json:"config,omitempty"` } func (m *Image_Docker) Reset() { *m = Image_Docker{} } func (*Image_Docker) ProtoMessage() {} -func (*Image_Docker) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{49, 1} } +func (*Image_Docker) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{52, 1} } func (m *Image_Docker) GetName() string { if m != nil { @@ -6273,6 +6598,13 @@ func (m *Image_Docker) GetCredential() *Credential { return nil } +func (m *Image_Docker) GetConfig() *Secret { + if m != nil { + return m.Config + } + return nil +} + // * // Describes a volume mapping either from host to container or vice // versa. Both paths can either refer to a directory or a file. @@ -6295,7 +6627,7 @@ type Volume struct { func (m *Volume) Reset() { *m = Volume{} } func (*Volume) ProtoMessage() {} -func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{50} } +func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{53} } func (m *Volume) GetMode() Volume_Mode { if m != nil && m.Mode != nil { @@ -6339,11 +6671,14 @@ type Volume_Source struct { // The source of the volume created by docker volume driver. DockerVolume *Volume_Source_DockerVolume `protobuf:"bytes,2,opt,name=docker_volume,json=dockerVolume" json:"docker_volume,omitempty"` SandboxPath *Volume_Source_SandboxPath `protobuf:"bytes,3,opt,name=sandbox_path,json=sandboxPath" json:"sandbox_path,omitempty"` + // The volume/secret isolator uses the secret-fetcher module (third-party or + // internal) downloads the secret and makes it available at container_path. + Secret *Secret `protobuf:"bytes,4,opt,name=secret" json:"secret,omitempty"` } func (m *Volume_Source) Reset() { *m = Volume_Source{} } func (*Volume_Source) ProtoMessage() {} -func (*Volume_Source) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{50, 0} } +func (*Volume_Source) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{53, 0} } func (m *Volume_Source) GetType() Volume_Source_Type { if m != nil { @@ -6366,6 +6701,13 @@ func (m *Volume_Source) GetSandboxPath() *Volume_Source_SandboxPath { return nil } +func (m *Volume_Source) GetSecret() *Secret { + if m != nil { + return m.Secret + } + return nil +} + type Volume_Source_DockerVolume struct { // Driver of the volume, it can be flocker, convoy, raxrey etc. Driver *string `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"` @@ -6378,7 +6720,7 @@ type Volume_Source_DockerVolume struct { func (m *Volume_Source_DockerVolume) Reset() { *m = Volume_Source_DockerVolume{} } func (*Volume_Source_DockerVolume) ProtoMessage() {} func (*Volume_Source_DockerVolume) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{50, 0, 0} + return fileDescriptorMesos, []int{53, 0, 0} } func (m *Volume_Source_DockerVolume) GetDriver() string { @@ -6417,7 +6759,7 @@ type Volume_Source_SandboxPath struct { func (m *Volume_Source_SandboxPath) Reset() { *m = Volume_Source_SandboxPath{} } func (*Volume_Source_SandboxPath) ProtoMessage() {} func (*Volume_Source_SandboxPath) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{50, 0, 1} + return fileDescriptorMesos, []int{53, 0, 1} } func (m *Volume_Source_SandboxPath) GetType() Volume_Source_SandboxPath_Type { @@ -6480,7 +6822,7 @@ type NetworkInfo struct { func (m *NetworkInfo) Reset() { *m = NetworkInfo{} } func (*NetworkInfo) ProtoMessage() {} -func (*NetworkInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{51} } +func (*NetworkInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{54} } func (m *NetworkInfo) GetIPAddresses() []NetworkInfo_IPAddress { if m != nil { @@ -6541,7 +6883,7 @@ type NetworkInfo_IPAddress struct { func (m *NetworkInfo_IPAddress) Reset() { *m = NetworkInfo_IPAddress{} } func (*NetworkInfo_IPAddress) ProtoMessage() {} -func (*NetworkInfo_IPAddress) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{51, 0} } +func (*NetworkInfo_IPAddress) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{54, 0} } func (m *NetworkInfo_IPAddress) GetProtocol() NetworkInfo_Protocol { if m != nil && m.Protocol != nil { @@ -6567,7 +6909,7 @@ type NetworkInfo_PortMapping struct { func (m *NetworkInfo_PortMapping) Reset() { *m = NetworkInfo_PortMapping{} } func (*NetworkInfo_PortMapping) ProtoMessage() {} -func (*NetworkInfo_PortMapping) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{51, 1} } +func (*NetworkInfo_PortMapping) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{54, 1} } func (m *NetworkInfo_PortMapping) GetHostPort() uint32 { if m != nil { @@ -6599,7 +6941,7 @@ type CapabilityInfo struct { func (m *CapabilityInfo) Reset() { *m = CapabilityInfo{} } func (*CapabilityInfo) ProtoMessage() {} -func (*CapabilityInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{52} } +func (*CapabilityInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{55} } func (m *CapabilityInfo) GetCapabilities() []CapabilityInfo_Capability { if m != nil { @@ -6618,7 +6960,7 @@ type LinuxInfo struct { func (m *LinuxInfo) Reset() { *m = LinuxInfo{} } func (*LinuxInfo) ProtoMessage() {} -func (*LinuxInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{53} } +func (*LinuxInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{56} } func (m *LinuxInfo) GetCapabilityInfo() *CapabilityInfo { if m != nil { @@ -6639,7 +6981,7 @@ type RLimitInfo struct { func (m *RLimitInfo) Reset() { *m = RLimitInfo{} } func (*RLimitInfo) ProtoMessage() {} -func (*RLimitInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{54} } +func (*RLimitInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{57} } func (m *RLimitInfo) GetRlimits() []RLimitInfo_RLimit { if m != nil { @@ -6659,7 +7001,7 @@ type RLimitInfo_RLimit struct { func (m *RLimitInfo_RLimit) Reset() { *m = RLimitInfo_RLimit{} } func (*RLimitInfo_RLimit) ProtoMessage() {} -func (*RLimitInfo_RLimit) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{54, 0} } +func (*RLimitInfo_RLimit) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{57, 0} } func (m *RLimitInfo_RLimit) GetType() RLimitInfo_RLimit_Type { if m != nil { @@ -6691,7 +7033,7 @@ type TTYInfo struct { func (m *TTYInfo) Reset() { *m = TTYInfo{} } func (*TTYInfo) ProtoMessage() {} -func (*TTYInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{55} } +func (*TTYInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{58} } func (m *TTYInfo) GetWindowSize() *TTYInfo_WindowSize { if m != nil { @@ -6707,7 +7049,7 @@ type TTYInfo_WindowSize struct { func (m *TTYInfo_WindowSize) Reset() { *m = TTYInfo_WindowSize{} } func (*TTYInfo_WindowSize) ProtoMessage() {} -func (*TTYInfo_WindowSize) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{55, 0} } +func (*TTYInfo_WindowSize) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{58, 0} } func (m *TTYInfo_WindowSize) GetRows() uint32 { if m != nil { @@ -6754,7 +7096,7 @@ type ContainerInfo struct { func (m *ContainerInfo) Reset() { *m = ContainerInfo{} } func (*ContainerInfo) ProtoMessage() {} -func (*ContainerInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{56} } +func (*ContainerInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{59} } func (m *ContainerInfo) GetType() ContainerInfo_Type { if m != nil && m.Type != nil { @@ -6841,7 +7183,7 @@ type ContainerInfo_DockerInfo struct { func (m *ContainerInfo_DockerInfo) Reset() { *m = ContainerInfo_DockerInfo{} } func (*ContainerInfo_DockerInfo) ProtoMessage() {} func (*ContainerInfo_DockerInfo) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{56, 0} + return fileDescriptorMesos, []int{59, 0} } const Default_ContainerInfo_DockerInfo_Network ContainerInfo_DockerInfo_Network = ContainerInfo_DockerInfo_HOST @@ -6906,7 +7248,7 @@ type ContainerInfo_DockerInfo_PortMapping struct { func (m *ContainerInfo_DockerInfo_PortMapping) Reset() { *m = ContainerInfo_DockerInfo_PortMapping{} } func (*ContainerInfo_DockerInfo_PortMapping) ProtoMessage() {} func (*ContainerInfo_DockerInfo_PortMapping) Descriptor() ([]byte, []int) { - return fileDescriptorMesos, []int{56, 0, 0} + return fileDescriptorMesos, []int{59, 0, 0} } func (m *ContainerInfo_DockerInfo_PortMapping) GetHostPort() uint32 { @@ -6936,7 +7278,7 @@ type ContainerInfo_MesosInfo struct { func (m *ContainerInfo_MesosInfo) Reset() { *m = ContainerInfo_MesosInfo{} } func (*ContainerInfo_MesosInfo) ProtoMessage() {} -func (*ContainerInfo_MesosInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{56, 1} } +func (*ContainerInfo_MesosInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{59, 1} } func (m *ContainerInfo_MesosInfo) GetImage() *Image { if m != nil { @@ -6961,7 +7303,7 @@ type ContainerStatus struct { func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } func (*ContainerStatus) ProtoMessage() {} -func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{57} } +func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{60} } func (m *ContainerStatus) GetContainerID() *ContainerID { if m != nil { @@ -6999,7 +7341,7 @@ type CgroupInfo struct { func (m *CgroupInfo) Reset() { *m = CgroupInfo{} } func (*CgroupInfo) ProtoMessage() {} -func (*CgroupInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{58} } +func (*CgroupInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{61} } func (m *CgroupInfo) GetNetCLS() *CgroupInfo_NetCls { if m != nil { @@ -7019,7 +7361,7 @@ type CgroupInfo_NetCls struct { func (m *CgroupInfo_NetCls) Reset() { *m = CgroupInfo_NetCls{} } func (*CgroupInfo_NetCls) ProtoMessage() {} -func (*CgroupInfo_NetCls) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{58, 0} } +func (*CgroupInfo_NetCls) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{61, 0} } func (m *CgroupInfo_NetCls) GetClassID() uint32 { if m != nil && m.ClassID != nil { @@ -7037,7 +7379,7 @@ type Labels struct { func (m *Labels) Reset() { *m = Labels{} } func (*Labels) ProtoMessage() {} -func (*Labels) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{59} } +func (*Labels) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{62} } func (m *Labels) GetLabels() []Label { if m != nil { @@ -7055,7 +7397,7 @@ type Label struct { func (m *Label) Reset() { *m = Label{} } func (*Label) ProtoMessage() {} -func (*Label) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{60} } +func (*Label) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{63} } func (m *Label) GetKey() string { if m != nil { @@ -7092,7 +7434,7 @@ type Port struct { func (m *Port) Reset() { *m = Port{} } func (*Port) ProtoMessage() {} -func (*Port) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{61} } +func (*Port) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{64} } func (m *Port) GetNumber() uint32 { if m != nil { @@ -7137,7 +7479,7 @@ type Ports struct { func (m *Ports) Reset() { *m = Ports{} } func (*Ports) ProtoMessage() {} -func (*Ports) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{62} } +func (*Ports) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{65} } func (m *Ports) GetPorts() []Port { if m != nil { @@ -7171,7 +7513,7 @@ type DiscoveryInfo struct { func (m *DiscoveryInfo) Reset() { *m = DiscoveryInfo{} } func (*DiscoveryInfo) ProtoMessage() {} -func (*DiscoveryInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{63} } +func (*DiscoveryInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{66} } func (m *DiscoveryInfo) GetVisibility() DiscoveryInfo_Visibility { if m != nil { @@ -7233,7 +7575,7 @@ type WeightInfo struct { func (m *WeightInfo) Reset() { *m = WeightInfo{} } func (*WeightInfo) ProtoMessage() {} -func (*WeightInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{64} } +func (*WeightInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{67} } func (m *WeightInfo) GetWeight() float64 { if m != nil { @@ -7263,7 +7605,7 @@ type VersionInfo struct { func (m *VersionInfo) Reset() { *m = VersionInfo{} } func (*VersionInfo) ProtoMessage() {} -func (*VersionInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{65} } +func (*VersionInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{68} } func (m *VersionInfo) GetVersion() string { if m != nil { @@ -7323,7 +7665,7 @@ type Flag struct { func (m *Flag) Reset() { *m = Flag{} } func (*Flag) ProtoMessage() {} -func (*Flag) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{66} } +func (*Flag) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{69} } func (m *Flag) GetName() string { if m != nil { @@ -7351,7 +7693,7 @@ type Role struct { func (m *Role) Reset() { *m = Role{} } func (*Role) ProtoMessage() {} -func (*Role) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{67} } +func (*Role) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{70} } func (m *Role) GetName() string { if m != nil { @@ -7390,7 +7732,7 @@ type Metric struct { func (m *Metric) Reset() { *m = Metric{} } func (*Metric) ProtoMessage() {} -func (*Metric) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{68} } +func (*Metric) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{71} } func (m *Metric) GetName() string { if m != nil { @@ -7428,7 +7770,7 @@ type FileInfo struct { func (m *FileInfo) Reset() { *m = FileInfo{} } func (*FileInfo) ProtoMessage() {} -func (*FileInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{69} } +func (*FileInfo) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{72} } func (m *FileInfo) GetPath() string { if m != nil { @@ -7479,6 +7821,94 @@ func (m *FileInfo) GetGID() string { return "" } +// * +// Describes information abount a device. +type Device struct { + Path string `protobuf:"bytes,1,req,name=path" json:"path"` +} + +func (m *Device) Reset() { *m = Device{} } +func (*Device) ProtoMessage() {} +func (*Device) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{73} } + +func (m *Device) GetPath() string { + if m != nil { + return m.Path + } + return "" +} + +// * +// Describes a device whitelist entry that expose from host to container. +type DeviceAccess struct { + Device Device `protobuf:"bytes,1,req,name=device" json:"device"` + Access DeviceAccess_Access `protobuf:"bytes,2,req,name=access" json:"access"` +} + +func (m *DeviceAccess) Reset() { *m = DeviceAccess{} } +func (*DeviceAccess) ProtoMessage() {} +func (*DeviceAccess) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{74} } + +func (m *DeviceAccess) GetDevice() Device { + if m != nil { + return m.Device + } + return Device{} +} + +func (m *DeviceAccess) GetAccess() DeviceAccess_Access { + if m != nil { + return m.Access + } + return DeviceAccess_Access{} +} + +type DeviceAccess_Access struct { + Read *bool `protobuf:"varint,1,opt,name=read" json:"read,omitempty"` + Write *bool `protobuf:"varint,2,opt,name=write" json:"write,omitempty"` + Mknod *bool `protobuf:"varint,3,opt,name=mknod" json:"mknod,omitempty"` +} + +func (m *DeviceAccess_Access) Reset() { *m = DeviceAccess_Access{} } +func (*DeviceAccess_Access) ProtoMessage() {} +func (*DeviceAccess_Access) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{74, 0} } + +func (m *DeviceAccess_Access) GetRead() bool { + if m != nil && m.Read != nil { + return *m.Read + } + return false +} + +func (m *DeviceAccess_Access) GetWrite() bool { + if m != nil && m.Write != nil { + return *m.Write + } + return false +} + +func (m *DeviceAccess_Access) GetMknod() bool { + if m != nil && m.Mknod != nil { + return *m.Mknod + } + return false +} + +type DeviceWhitelist struct { + AllowedDevices []DeviceAccess `protobuf:"bytes,1,rep,name=allowed_devices,json=allowedDevices" json:"allowed_devices"` +} + +func (m *DeviceWhitelist) Reset() { *m = DeviceWhitelist{} } +func (*DeviceWhitelist) ProtoMessage() {} +func (*DeviceWhitelist) Descriptor() ([]byte, []int) { return fileDescriptorMesos, []int{75} } + +func (m *DeviceWhitelist) GetAllowedDevices() []DeviceAccess { + if m != nil { + return m.AllowedDevices + } + return nil +} + func init() { proto.RegisterType((*FrameworkID)(nil), "mesos.FrameworkID") proto.RegisterType((*OfferID)(nil), "mesos.OfferID") @@ -7486,6 +7916,7 @@ func init() { proto.RegisterType((*TaskID)(nil), "mesos.TaskID") proto.RegisterType((*ExecutorID)(nil), "mesos.ExecutorID") proto.RegisterType((*ContainerID)(nil), "mesos.ContainerID") + proto.RegisterType((*ResourceProviderID)(nil), "mesos.ResourceProviderID") proto.RegisterType((*TimeInfo)(nil), "mesos.TimeInfo") proto.RegisterType((*DurationInfo)(nil), "mesos.DurationInfo") proto.RegisterType((*Address)(nil), "mesos.Address") @@ -7498,6 +7929,7 @@ func init() { proto.RegisterType((*CheckInfo)(nil), "mesos.CheckInfo") proto.RegisterType((*CheckInfo_Command)(nil), "mesos.CheckInfo.Command") proto.RegisterType((*CheckInfo_Http)(nil), "mesos.CheckInfo.Http") + proto.RegisterType((*CheckInfo_Tcp)(nil), "mesos.CheckInfo.Tcp") proto.RegisterType((*HealthCheck)(nil), "mesos.HealthCheck") proto.RegisterType((*HealthCheck_HTTPCheckInfo)(nil), "mesos.HealthCheck.HTTPCheckInfo") proto.RegisterType((*HealthCheck_TCPCheckInfo)(nil), "mesos.HealthCheck.TCPCheckInfo") @@ -7531,6 +7963,7 @@ func init() { proto.RegisterType((*TcpStatistics)(nil), "mesos.TcpStatistics") proto.RegisterType((*UdpStatistics)(nil), "mesos.UdpStatistics") proto.RegisterType((*SNMPStatistics)(nil), "mesos.SNMPStatistics") + proto.RegisterType((*DiskStatistics)(nil), "mesos.DiskStatistics") proto.RegisterType((*ResourceStatistics)(nil), "mesos.ResourceStatistics") proto.RegisterType((*ResourceUsage)(nil), "mesos.ResourceUsage") proto.RegisterType((*ResourceUsage_Executor)(nil), "mesos.ResourceUsage.Executor") @@ -7552,6 +7985,7 @@ func init() { proto.RegisterType((*CheckStatusInfo)(nil), "mesos.CheckStatusInfo") proto.RegisterType((*CheckStatusInfo_Command)(nil), "mesos.CheckStatusInfo.Command") proto.RegisterType((*CheckStatusInfo_Http)(nil), "mesos.CheckStatusInfo.Http") + proto.RegisterType((*CheckStatusInfo_Tcp)(nil), "mesos.CheckStatusInfo.Tcp") proto.RegisterType((*TaskStatus)(nil), "mesos.TaskStatus") proto.RegisterType((*Filters)(nil), "mesos.Filters") proto.RegisterType((*Environment)(nil), "mesos.Environment") @@ -7560,6 +7994,9 @@ func init() { proto.RegisterType((*Parameters)(nil), "mesos.Parameters") proto.RegisterType((*Credential)(nil), "mesos.Credential") proto.RegisterType((*Credentials)(nil), "mesos.Credentials") + proto.RegisterType((*Secret)(nil), "mesos.Secret") + proto.RegisterType((*Secret_Reference)(nil), "mesos.Secret.Reference") + proto.RegisterType((*Secret_Value)(nil), "mesos.Secret.Value") proto.RegisterType((*RateLimit)(nil), "mesos.RateLimit") proto.RegisterType((*RateLimits)(nil), "mesos.RateLimits") proto.RegisterType((*Image)(nil), "mesos.Image") @@ -7596,6 +8033,10 @@ func init() { proto.RegisterType((*Role)(nil), "mesos.Role") proto.RegisterType((*Metric)(nil), "mesos.Metric") proto.RegisterType((*FileInfo)(nil), "mesos.FileInfo") + proto.RegisterType((*Device)(nil), "mesos.Device") + proto.RegisterType((*DeviceAccess)(nil), "mesos.DeviceAccess") + proto.RegisterType((*DeviceAccess_Access)(nil), "mesos.DeviceAccess.Access") + proto.RegisterType((*DeviceWhitelist)(nil), "mesos.DeviceWhitelist") proto.RegisterEnum("mesos.Status", Status_name, Status_value) proto.RegisterEnum("mesos.TaskState", TaskState_name, TaskState_value) proto.RegisterEnum("mesos.MachineInfo_Mode", MachineInfo_Mode_name, MachineInfo_Mode_value) @@ -7609,6 +8050,8 @@ func init() { proto.RegisterEnum("mesos.Offer_Operation_Type", Offer_Operation_Type_name, Offer_Operation_Type_value) proto.RegisterEnum("mesos.TaskStatus_Source", TaskStatus_Source_name, TaskStatus_Source_value) proto.RegisterEnum("mesos.TaskStatus_Reason", TaskStatus_Reason_name, TaskStatus_Reason_value) + proto.RegisterEnum("mesos.Environment_Variable_Type", Environment_Variable_Type_name, Environment_Variable_Type_value) + proto.RegisterEnum("mesos.Secret_Type", Secret_Type_name, Secret_Type_value) proto.RegisterEnum("mesos.Image_Type", Image_Type_name, Image_Type_value) proto.RegisterEnum("mesos.Volume_Mode", Volume_Mode_name, Volume_Mode_value) proto.RegisterEnum("mesos.Volume_Source_Type", Volume_Source_Type_name, Volume_Source_Type_value) @@ -7711,6 +8154,20 @@ func (x TaskStatus_Reason) String() string { } return strconv.Itoa(int(x)) } +func (x Environment_Variable_Type) String() string { + s, ok := Environment_Variable_Type_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} +func (x Secret_Type) String() string { + s, ok := Secret_Type_name[int32(x)] + if ok { + return s + } + return strconv.Itoa(int(x)) +} func (x Image_Type) String() string { s, ok := Image_Type_name[int32(x)] if ok { @@ -8147,6 +8604,66 @@ func (this *ContainerID) Equal(that interface{}) bool { } return true } +func (this *ResourceProviderID) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*ResourceProviderID) + if !ok { + that2, ok := that.(ResourceProviderID) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *ResourceProviderID") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *ResourceProviderID but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *ResourceProviderID but is not nil && this == nil") + } + if this.Value != that1.Value { + return fmt.Errorf("Value this(%v) Not Equal that(%v)", this.Value, that1.Value) + } + return nil +} +func (this *ResourceProviderID) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*ResourceProviderID) + if !ok { + that2, ok := that.(ResourceProviderID) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if this.Value != that1.Value { + return false + } + return true +} func (this *TimeInfo) VerboseEqual(that interface{}) error { if that == nil { if this == nil { @@ -9033,6 +9550,9 @@ func (this *CheckInfo) VerboseEqual(that interface{}) error { if !this.HTTP.Equal(that1.HTTP) { return fmt.Errorf("HTTP this(%v) Not Equal that(%v)", this.HTTP, that1.HTTP) } + if !this.TCP.Equal(that1.TCP) { + return fmt.Errorf("TCP this(%v) Not Equal that(%v)", this.TCP, that1.TCP) + } if this.DelaySeconds != nil && that1.DelaySeconds != nil { if *this.DelaySeconds != *that1.DelaySeconds { return fmt.Errorf("DelaySeconds this(%v) Not Equal that(%v)", *this.DelaySeconds, *that1.DelaySeconds) @@ -9096,6 +9616,9 @@ func (this *CheckInfo) Equal(that interface{}) bool { if !this.HTTP.Equal(that1.HTTP) { return false } + if !this.TCP.Equal(that1.TCP) { + return false + } if this.DelaySeconds != nil && that1.DelaySeconds != nil { if *this.DelaySeconds != *that1.DelaySeconds { return false @@ -9263,6 +9786,66 @@ func (this *CheckInfo_Http) Equal(that interface{}) bool { } return true } +func (this *CheckInfo_Tcp) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*CheckInfo_Tcp) + if !ok { + that2, ok := that.(CheckInfo_Tcp) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *CheckInfo_Tcp") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *CheckInfo_Tcp but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *CheckInfo_Tcp but is not nil && this == nil") + } + if this.Port != that1.Port { + return fmt.Errorf("Port this(%v) Not Equal that(%v)", this.Port, that1.Port) + } + return nil +} +func (this *CheckInfo_Tcp) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*CheckInfo_Tcp) + if !ok { + that2, ok := that.(CheckInfo_Tcp) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if this.Port != that1.Port { + return false + } + return true +} func (this *HealthCheck) VerboseEqual(that interface{}) error { if that == nil { if this == nil { @@ -10946,6 +11529,9 @@ func (this *Resource) VerboseEqual(that interface{}) error { } else if this == nil { return fmt.Errorf("that is type *Resource but is not nil && this == nil") } + if !this.ProviderID.Equal(that1.ProviderID) { + return fmt.Errorf("ProviderID this(%v) Not Equal that(%v)", this.ProviderID, that1.ProviderID) + } if this.Name != that1.Name { return fmt.Errorf("Name this(%v) Not Equal that(%v)", this.Name, that1.Name) } @@ -11018,6 +11604,9 @@ func (this *Resource) Equal(that interface{}) bool { } else if this == nil { return false } + if !this.ProviderID.Equal(that1.ProviderID) { + return false + } if this.Name != that1.Name { return false } @@ -11390,13 +11979,7 @@ func (this *Resource_DiskInfo_Source) VerboseEqual(that interface{}) error { } else if this == nil { return fmt.Errorf("that is type *Resource_DiskInfo_Source but is not nil && this == nil") } - if this.Type != nil && that1.Type != nil { - if *this.Type != *that1.Type { - return fmt.Errorf("Type this(%v) Not Equal that(%v)", *this.Type, *that1.Type) - } - } else if this.Type != nil { - return fmt.Errorf("this.Type == nil && that.Type != nil") - } else if that1.Type != nil { + if this.Type != that1.Type { return fmt.Errorf("Type this(%v) Not Equal that(%v)", this.Type, that1.Type) } if !this.Path.Equal(that1.Path) { @@ -11432,13 +12015,7 @@ func (this *Resource_DiskInfo_Source) Equal(that interface{}) bool { } else if this == nil { return false } - if this.Type != nil && that1.Type != nil { - if *this.Type != *that1.Type { - return false - } - } else if this.Type != nil { - return false - } else if that1.Type != nil { + if this.Type != that1.Type { return false } if !this.Path.Equal(that1.Path) { @@ -11474,7 +12051,13 @@ func (this *Resource_DiskInfo_Source_Path) VerboseEqual(that interface{}) error } else if this == nil { return fmt.Errorf("that is type *Resource_DiskInfo_Source_Path but is not nil && this == nil") } - if this.Root != that1.Root { + if this.Root != nil && that1.Root != nil { + if *this.Root != *that1.Root { + return fmt.Errorf("Root this(%v) Not Equal that(%v)", *this.Root, *that1.Root) + } + } else if this.Root != nil { + return fmt.Errorf("this.Root == nil && that.Root != nil") + } else if that1.Root != nil { return fmt.Errorf("Root this(%v) Not Equal that(%v)", this.Root, that1.Root) } return nil @@ -11504,7 +12087,13 @@ func (this *Resource_DiskInfo_Source_Path) Equal(that interface{}) bool { } else if this == nil { return false } - if this.Root != that1.Root { + if this.Root != nil && that1.Root != nil { + if *this.Root != *that1.Root { + return false + } + } else if this.Root != nil { + return false + } else if that1.Root != nil { return false } return true @@ -11534,7 +12123,13 @@ func (this *Resource_DiskInfo_Source_Mount) VerboseEqual(that interface{}) error } else if this == nil { return fmt.Errorf("that is type *Resource_DiskInfo_Source_Mount but is not nil && this == nil") } - if this.Root != that1.Root { + if this.Root != nil && that1.Root != nil { + if *this.Root != *that1.Root { + return fmt.Errorf("Root this(%v) Not Equal that(%v)", *this.Root, *that1.Root) + } + } else if this.Root != nil { + return fmt.Errorf("this.Root == nil && that.Root != nil") + } else if that1.Root != nil { return fmt.Errorf("Root this(%v) Not Equal that(%v)", this.Root, that1.Root) } return nil @@ -11564,7 +12159,13 @@ func (this *Resource_DiskInfo_Source_Mount) Equal(that interface{}) bool { } else if this == nil { return false } - if this.Root != that1.Root { + if this.Root != nil && that1.Root != nil { + if *this.Root != *that1.Root { + return false + } + } else if this.Root != nil { + return false + } else if that1.Root != nil { return false } return true @@ -13435,6 +14036,108 @@ func (this *SNMPStatistics) Equal(that interface{}) bool { } return true } +func (this *DiskStatistics) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*DiskStatistics) + if !ok { + that2, ok := that.(DiskStatistics) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *DiskStatistics") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *DiskStatistics but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *DiskStatistics but is not nil && this == nil") + } + if !this.Source.Equal(that1.Source) { + return fmt.Errorf("Source this(%v) Not Equal that(%v)", this.Source, that1.Source) + } + if !this.Persistence.Equal(that1.Persistence) { + return fmt.Errorf("Persistence this(%v) Not Equal that(%v)", this.Persistence, that1.Persistence) + } + if this.LimitBytes != nil && that1.LimitBytes != nil { + if *this.LimitBytes != *that1.LimitBytes { + return fmt.Errorf("LimitBytes this(%v) Not Equal that(%v)", *this.LimitBytes, *that1.LimitBytes) + } + } else if this.LimitBytes != nil { + return fmt.Errorf("this.LimitBytes == nil && that.LimitBytes != nil") + } else if that1.LimitBytes != nil { + return fmt.Errorf("LimitBytes this(%v) Not Equal that(%v)", this.LimitBytes, that1.LimitBytes) + } + if this.UsedBytes != nil && that1.UsedBytes != nil { + if *this.UsedBytes != *that1.UsedBytes { + return fmt.Errorf("UsedBytes this(%v) Not Equal that(%v)", *this.UsedBytes, *that1.UsedBytes) + } + } else if this.UsedBytes != nil { + return fmt.Errorf("this.UsedBytes == nil && that.UsedBytes != nil") + } else if that1.UsedBytes != nil { + return fmt.Errorf("UsedBytes this(%v) Not Equal that(%v)", this.UsedBytes, that1.UsedBytes) + } + return nil +} +func (this *DiskStatistics) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*DiskStatistics) + if !ok { + that2, ok := that.(DiskStatistics) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if !this.Source.Equal(that1.Source) { + return false + } + if !this.Persistence.Equal(that1.Persistence) { + return false + } + if this.LimitBytes != nil && that1.LimitBytes != nil { + if *this.LimitBytes != *that1.LimitBytes { + return false + } + } else if this.LimitBytes != nil { + return false + } else if that1.LimitBytes != nil { + return false + } + if this.UsedBytes != nil && that1.UsedBytes != nil { + if *this.UsedBytes != *that1.UsedBytes { + return false + } + } else if this.UsedBytes != nil { + return false + } else if that1.UsedBytes != nil { + return false + } + return true +} func (this *ResourceStatistics) VerboseEqual(that interface{}) error { if that == nil { if this == nil { @@ -13679,6 +14382,14 @@ func (this *ResourceStatistics) VerboseEqual(that interface{}) error { } else if that1.DiskUsedBytes != nil { return fmt.Errorf("DiskUsedBytes this(%v) Not Equal that(%v)", this.DiskUsedBytes, that1.DiskUsedBytes) } + if len(this.DiskStatistics) != len(that1.DiskStatistics) { + return fmt.Errorf("DiskStatistics this(%v) Not Equal that(%v)", len(this.DiskStatistics), len(that1.DiskStatistics)) + } + for i := range this.DiskStatistics { + if !this.DiskStatistics[i].Equal(&that1.DiskStatistics[i]) { + return fmt.Errorf("DiskStatistics this[%v](%v) Not Equal that[%v](%v)", i, this.DiskStatistics[i], i, that1.DiskStatistics[i]) + } + } if !this.Perf.Equal(that1.Perf) { return fmt.Errorf("Perf this(%v) Not Equal that(%v)", this.Perf, that1.Perf) } @@ -14065,6 +14776,14 @@ func (this *ResourceStatistics) Equal(that interface{}) bool { } else if that1.DiskUsedBytes != nil { return false } + if len(this.DiskStatistics) != len(that1.DiskStatistics) { + return false + } + for i := range this.DiskStatistics { + if !this.DiskStatistics[i].Equal(&that1.DiskStatistics[i]) { + return false + } + } if !this.Perf.Equal(that1.Perf) { return false } @@ -16747,6 +17466,9 @@ func (this *CheckStatusInfo) VerboseEqual(that interface{}) error { if !this.HTTP.Equal(that1.HTTP) { return fmt.Errorf("HTTP this(%v) Not Equal that(%v)", this.HTTP, that1.HTTP) } + if !this.TCP.Equal(that1.TCP) { + return fmt.Errorf("TCP this(%v) Not Equal that(%v)", this.TCP, that1.TCP) + } return nil } func (this *CheckStatusInfo) Equal(that interface{}) bool { @@ -16789,6 +17511,9 @@ func (this *CheckStatusInfo) Equal(that interface{}) bool { if !this.HTTP.Equal(that1.HTTP) { return false } + if !this.TCP.Equal(that1.TCP) { + return false + } return true } func (this *CheckStatusInfo_Command) VerboseEqual(that interface{}) error { @@ -16935,6 +17660,78 @@ func (this *CheckStatusInfo_Http) Equal(that interface{}) bool { } return true } +func (this *CheckStatusInfo_Tcp) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*CheckStatusInfo_Tcp) + if !ok { + that2, ok := that.(CheckStatusInfo_Tcp) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *CheckStatusInfo_Tcp") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *CheckStatusInfo_Tcp but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *CheckStatusInfo_Tcp but is not nil && this == nil") + } + if this.Succeeded != nil && that1.Succeeded != nil { + if *this.Succeeded != *that1.Succeeded { + return fmt.Errorf("Succeeded this(%v) Not Equal that(%v)", *this.Succeeded, *that1.Succeeded) + } + } else if this.Succeeded != nil { + return fmt.Errorf("this.Succeeded == nil && that.Succeeded != nil") + } else if that1.Succeeded != nil { + return fmt.Errorf("Succeeded this(%v) Not Equal that(%v)", this.Succeeded, that1.Succeeded) + } + return nil +} +func (this *CheckStatusInfo_Tcp) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*CheckStatusInfo_Tcp) + if !ok { + that2, ok := that.(CheckStatusInfo_Tcp) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if this.Succeeded != nil && that1.Succeeded != nil { + if *this.Succeeded != *that1.Succeeded { + return false + } + } else if this.Succeeded != nil { + return false + } else if that1.Succeeded != nil { + return false + } + return true +} func (this *TaskStatus) VerboseEqual(that interface{}) error { if that == nil { if this == nil { @@ -17321,6 +18118,15 @@ func (this *Environment_Variable) VerboseEqual(that interface{}) error { if this.Name != that1.Name { return fmt.Errorf("Name this(%v) Not Equal that(%v)", this.Name, that1.Name) } + if this.Type != nil && that1.Type != nil { + if *this.Type != *that1.Type { + return fmt.Errorf("Type this(%v) Not Equal that(%v)", *this.Type, *that1.Type) + } + } else if this.Type != nil { + return fmt.Errorf("this.Type == nil && that.Type != nil") + } else if that1.Type != nil { + return fmt.Errorf("Type this(%v) Not Equal that(%v)", this.Type, that1.Type) + } if this.Value != nil && that1.Value != nil { if *this.Value != *that1.Value { return fmt.Errorf("Value this(%v) Not Equal that(%v)", *this.Value, *that1.Value) @@ -17330,6 +18136,9 @@ func (this *Environment_Variable) VerboseEqual(that interface{}) error { } else if that1.Value != nil { return fmt.Errorf("Value this(%v) Not Equal that(%v)", this.Value, that1.Value) } + if !this.Secret.Equal(that1.Secret) { + return fmt.Errorf("Secret this(%v) Not Equal that(%v)", this.Secret, that1.Secret) + } return nil } func (this *Environment_Variable) Equal(that interface{}) bool { @@ -17360,6 +18169,15 @@ func (this *Environment_Variable) Equal(that interface{}) bool { if this.Name != that1.Name { return false } + if this.Type != nil && that1.Type != nil { + if *this.Type != *that1.Type { + return false + } + } else if this.Type != nil { + return false + } else if that1.Type != nil { + return false + } if this.Value != nil && that1.Value != nil { if *this.Value != *that1.Value { return false @@ -17369,6 +18187,9 @@ func (this *Environment_Variable) Equal(that interface{}) bool { } else if that1.Value != nil { return false } + if !this.Secret.Equal(that1.Secret) { + return false + } return true } func (this *Parameter) VerboseEqual(that interface{}) error { @@ -17655,6 +18476,216 @@ func (this *Credentials) Equal(that interface{}) bool { } return true } +func (this *Secret) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*Secret) + if !ok { + that2, ok := that.(Secret) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *Secret") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *Secret but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *Secret but is not nil && this == nil") + } + if this.Type != that1.Type { + return fmt.Errorf("Type this(%v) Not Equal that(%v)", this.Type, that1.Type) + } + if !this.Reference.Equal(that1.Reference) { + return fmt.Errorf("Reference this(%v) Not Equal that(%v)", this.Reference, that1.Reference) + } + if !this.Value.Equal(that1.Value) { + return fmt.Errorf("Value this(%v) Not Equal that(%v)", this.Value, that1.Value) + } + return nil +} +func (this *Secret) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*Secret) + if !ok { + that2, ok := that.(Secret) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if this.Type != that1.Type { + return false + } + if !this.Reference.Equal(that1.Reference) { + return false + } + if !this.Value.Equal(that1.Value) { + return false + } + return true +} +func (this *Secret_Reference) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*Secret_Reference) + if !ok { + that2, ok := that.(Secret_Reference) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *Secret_Reference") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *Secret_Reference but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *Secret_Reference but is not nil && this == nil") + } + if this.Name != that1.Name { + return fmt.Errorf("Name this(%v) Not Equal that(%v)", this.Name, that1.Name) + } + if this.Key != nil && that1.Key != nil { + if *this.Key != *that1.Key { + return fmt.Errorf("Key this(%v) Not Equal that(%v)", *this.Key, *that1.Key) + } + } else if this.Key != nil { + return fmt.Errorf("this.Key == nil && that.Key != nil") + } else if that1.Key != nil { + return fmt.Errorf("Key this(%v) Not Equal that(%v)", this.Key, that1.Key) + } + return nil +} +func (this *Secret_Reference) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*Secret_Reference) + if !ok { + that2, ok := that.(Secret_Reference) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if this.Name != that1.Name { + return false + } + if this.Key != nil && that1.Key != nil { + if *this.Key != *that1.Key { + return false + } + } else if this.Key != nil { + return false + } else if that1.Key != nil { + return false + } + return true +} +func (this *Secret_Value) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*Secret_Value) + if !ok { + that2, ok := that.(Secret_Value) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *Secret_Value") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *Secret_Value but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *Secret_Value but is not nil && this == nil") + } + if !bytes.Equal(this.Data, that1.Data) { + return fmt.Errorf("Data this(%v) Not Equal that(%v)", this.Data, that1.Data) + } + return nil +} +func (this *Secret_Value) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*Secret_Value) + if !ok { + that2, ok := that.(Secret_Value) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if !bytes.Equal(this.Data, that1.Data) { + return false + } + return true +} func (this *RateLimit) VerboseEqual(that interface{}) error { if that == nil { if this == nil { @@ -18074,6 +19105,9 @@ func (this *Image_Docker) VerboseEqual(that interface{}) error { if !this.Credential.Equal(that1.Credential) { return fmt.Errorf("Credential this(%v) Not Equal that(%v)", this.Credential, that1.Credential) } + if !this.Config.Equal(that1.Config) { + return fmt.Errorf("Config this(%v) Not Equal that(%v)", this.Config, that1.Config) + } return nil } func (this *Image_Docker) Equal(that interface{}) bool { @@ -18107,6 +19141,9 @@ func (this *Image_Docker) Equal(that interface{}) bool { if !this.Credential.Equal(that1.Credential) { return false } + if !this.Config.Equal(that1.Config) { + return false + } return true } func (this *Volume) VerboseEqual(that interface{}) error { @@ -18251,6 +19288,9 @@ func (this *Volume_Source) VerboseEqual(that interface{}) error { if !this.SandboxPath.Equal(that1.SandboxPath) { return fmt.Errorf("SandboxPath this(%v) Not Equal that(%v)", this.SandboxPath, that1.SandboxPath) } + if !this.Secret.Equal(that1.Secret) { + return fmt.Errorf("Secret this(%v) Not Equal that(%v)", this.Secret, that1.Secret) + } return nil } func (this *Volume_Source) Equal(that interface{}) bool { @@ -18287,6 +19327,9 @@ func (this *Volume_Source) Equal(that interface{}) bool { if !this.SandboxPath.Equal(that1.SandboxPath) { return false } + if !this.Secret.Equal(that1.Secret) { + return false + } return true } func (this *Volume_Source_DockerVolume) VerboseEqual(that interface{}) error { @@ -20991,6 +22034,310 @@ func (this *FileInfo) Equal(that interface{}) bool { } return true } +func (this *Device) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*Device) + if !ok { + that2, ok := that.(Device) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *Device") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *Device but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *Device but is not nil && this == nil") + } + if this.Path != that1.Path { + return fmt.Errorf("Path this(%v) Not Equal that(%v)", this.Path, that1.Path) + } + return nil +} +func (this *Device) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*Device) + if !ok { + that2, ok := that.(Device) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if this.Path != that1.Path { + return false + } + return true +} +func (this *DeviceAccess) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*DeviceAccess) + if !ok { + that2, ok := that.(DeviceAccess) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *DeviceAccess") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *DeviceAccess but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *DeviceAccess but is not nil && this == nil") + } + if !this.Device.Equal(&that1.Device) { + return fmt.Errorf("Device this(%v) Not Equal that(%v)", this.Device, that1.Device) + } + if !this.Access.Equal(&that1.Access) { + return fmt.Errorf("Access this(%v) Not Equal that(%v)", this.Access, that1.Access) + } + return nil +} +func (this *DeviceAccess) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*DeviceAccess) + if !ok { + that2, ok := that.(DeviceAccess) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if !this.Device.Equal(&that1.Device) { + return false + } + if !this.Access.Equal(&that1.Access) { + return false + } + return true +} +func (this *DeviceAccess_Access) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*DeviceAccess_Access) + if !ok { + that2, ok := that.(DeviceAccess_Access) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *DeviceAccess_Access") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *DeviceAccess_Access but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *DeviceAccess_Access but is not nil && this == nil") + } + if this.Read != nil && that1.Read != nil { + if *this.Read != *that1.Read { + return fmt.Errorf("Read this(%v) Not Equal that(%v)", *this.Read, *that1.Read) + } + } else if this.Read != nil { + return fmt.Errorf("this.Read == nil && that.Read != nil") + } else if that1.Read != nil { + return fmt.Errorf("Read this(%v) Not Equal that(%v)", this.Read, that1.Read) + } + if this.Write != nil && that1.Write != nil { + if *this.Write != *that1.Write { + return fmt.Errorf("Write this(%v) Not Equal that(%v)", *this.Write, *that1.Write) + } + } else if this.Write != nil { + return fmt.Errorf("this.Write == nil && that.Write != nil") + } else if that1.Write != nil { + return fmt.Errorf("Write this(%v) Not Equal that(%v)", this.Write, that1.Write) + } + if this.Mknod != nil && that1.Mknod != nil { + if *this.Mknod != *that1.Mknod { + return fmt.Errorf("Mknod this(%v) Not Equal that(%v)", *this.Mknod, *that1.Mknod) + } + } else if this.Mknod != nil { + return fmt.Errorf("this.Mknod == nil && that.Mknod != nil") + } else if that1.Mknod != nil { + return fmt.Errorf("Mknod this(%v) Not Equal that(%v)", this.Mknod, that1.Mknod) + } + return nil +} +func (this *DeviceAccess_Access) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*DeviceAccess_Access) + if !ok { + that2, ok := that.(DeviceAccess_Access) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if this.Read != nil && that1.Read != nil { + if *this.Read != *that1.Read { + return false + } + } else if this.Read != nil { + return false + } else if that1.Read != nil { + return false + } + if this.Write != nil && that1.Write != nil { + if *this.Write != *that1.Write { + return false + } + } else if this.Write != nil { + return false + } else if that1.Write != nil { + return false + } + if this.Mknod != nil && that1.Mknod != nil { + if *this.Mknod != *that1.Mknod { + return false + } + } else if this.Mknod != nil { + return false + } else if that1.Mknod != nil { + return false + } + return true +} +func (this *DeviceWhitelist) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*DeviceWhitelist) + if !ok { + that2, ok := that.(DeviceWhitelist) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *DeviceWhitelist") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *DeviceWhitelist but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *DeviceWhitelist but is not nil && this == nil") + } + if len(this.AllowedDevices) != len(that1.AllowedDevices) { + return fmt.Errorf("AllowedDevices this(%v) Not Equal that(%v)", len(this.AllowedDevices), len(that1.AllowedDevices)) + } + for i := range this.AllowedDevices { + if !this.AllowedDevices[i].Equal(&that1.AllowedDevices[i]) { + return fmt.Errorf("AllowedDevices this[%v](%v) Not Equal that[%v](%v)", i, this.AllowedDevices[i], i, that1.AllowedDevices[i]) + } + } + return nil +} +func (this *DeviceWhitelist) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*DeviceWhitelist) + if !ok { + that2, ok := that.(DeviceWhitelist) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if len(this.AllowedDevices) != len(that1.AllowedDevices) { + return false + } + for i := range this.AllowedDevices { + if !this.AllowedDevices[i].Equal(&that1.AllowedDevices[i]) { + return false + } + } + return true +} func (this *FrameworkID) GoString() string { if this == nil { return "nil" @@ -21054,6 +22401,16 @@ func (this *ContainerID) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *ResourceProviderID) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&mesos.ResourceProviderID{") + s = append(s, "Value: "+fmt.Sprintf("%#v", this.Value)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} func (this *TimeInfo) GoString() string { if this == nil { return "nil" @@ -21209,7 +22566,7 @@ func (this *CheckInfo) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 10) + s := make([]string, 0, 11) s = append(s, "&mesos.CheckInfo{") s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") if this.Command != nil { @@ -21218,6 +22575,9 @@ func (this *CheckInfo) GoString() string { if this.HTTP != nil { s = append(s, "HTTP: "+fmt.Sprintf("%#v", this.HTTP)+",\n") } + if this.TCP != nil { + s = append(s, "TCP: "+fmt.Sprintf("%#v", this.TCP)+",\n") + } if this.DelaySeconds != nil { s = append(s, "DelaySeconds: "+valueToGoStringMesos(this.DelaySeconds, "float64")+",\n") } @@ -21253,6 +22613,16 @@ func (this *CheckInfo_Http) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *CheckInfo_Tcp) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&mesos.CheckInfo_Tcp{") + s = append(s, "Port: "+fmt.Sprintf("%#v", this.Port)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} func (this *HealthCheck) GoString() string { if this == nil { return "nil" @@ -21580,8 +22950,11 @@ func (this *Resource) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 15) + s := make([]string, 0, 16) s = append(s, "&mesos.Resource{") + if this.ProviderID != nil { + s = append(s, "ProviderID: "+fmt.Sprintf("%#v", this.ProviderID)+",\n") + } s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") if this.Type != nil { s = append(s, "Type: "+valueToGoStringMesos(this.Type, "Value_Type")+",\n") @@ -21680,9 +23053,7 @@ func (this *Resource_DiskInfo_Source) GoString() string { } s := make([]string, 0, 7) s = append(s, "&mesos.Resource_DiskInfo_Source{") - if this.Type != nil { - s = append(s, "Type: "+valueToGoStringMesos(this.Type, "Resource_DiskInfo_Source_Type")+",\n") - } + s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") if this.Path != nil { s = append(s, "Path: "+fmt.Sprintf("%#v", this.Path)+",\n") } @@ -21698,7 +23069,9 @@ func (this *Resource_DiskInfo_Source_Path) GoString() string { } s := make([]string, 0, 5) s = append(s, "&mesos.Resource_DiskInfo_Source_Path{") - s = append(s, "Root: "+fmt.Sprintf("%#v", this.Root)+",\n") + if this.Root != nil { + s = append(s, "Root: "+valueToGoStringMesos(this.Root, "string")+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -21708,7 +23081,9 @@ func (this *Resource_DiskInfo_Source_Mount) GoString() string { } s := make([]string, 0, 5) s = append(s, "&mesos.Resource_DiskInfo_Source_Mount{") - s = append(s, "Root: "+fmt.Sprintf("%#v", this.Root)+",\n") + if this.Root != nil { + s = append(s, "Root: "+valueToGoStringMesos(this.Root, "string")+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -22031,11 +23406,32 @@ func (this *SNMPStatistics) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *DiskStatistics) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 8) + s = append(s, "&mesos.DiskStatistics{") + if this.Source != nil { + s = append(s, "Source: "+fmt.Sprintf("%#v", this.Source)+",\n") + } + if this.Persistence != nil { + s = append(s, "Persistence: "+fmt.Sprintf("%#v", this.Persistence)+",\n") + } + if this.LimitBytes != nil { + s = append(s, "LimitBytes: "+valueToGoStringMesos(this.LimitBytes, "uint64")+",\n") + } + if this.UsedBytes != nil { + s = append(s, "UsedBytes: "+valueToGoStringMesos(this.UsedBytes, "uint64")+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} func (this *ResourceStatistics) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 46) + s := make([]string, 0, 47) s = append(s, "&mesos.ResourceStatistics{") s = append(s, "Timestamp: "+fmt.Sprintf("%#v", this.Timestamp)+",\n") if this.Processes != nil { @@ -22110,6 +23506,9 @@ func (this *ResourceStatistics) GoString() string { if this.DiskUsedBytes != nil { s = append(s, "DiskUsedBytes: "+valueToGoStringMesos(this.DiskUsedBytes, "uint64")+",\n") } + if this.DiskStatistics != nil { + s = append(s, "DiskStatistics: "+fmt.Sprintf("%#v", this.DiskStatistics)+",\n") + } if this.Perf != nil { s = append(s, "Perf: "+fmt.Sprintf("%#v", this.Perf)+",\n") } @@ -22647,7 +24046,7 @@ func (this *CheckStatusInfo) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 7) + s := make([]string, 0, 8) s = append(s, "&mesos.CheckStatusInfo{") if this.Type != nil { s = append(s, "Type: "+valueToGoStringMesos(this.Type, "CheckInfo_Type")+",\n") @@ -22658,6 +24057,9 @@ func (this *CheckStatusInfo) GoString() string { if this.HTTP != nil { s = append(s, "HTTP: "+fmt.Sprintf("%#v", this.HTTP)+",\n") } + if this.TCP != nil { + s = append(s, "TCP: "+fmt.Sprintf("%#v", this.TCP)+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -22685,6 +24087,18 @@ func (this *CheckStatusInfo_Http) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *CheckStatusInfo_Tcp) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&mesos.CheckStatusInfo_Tcp{") + if this.Succeeded != nil { + s = append(s, "Succeeded: "+valueToGoStringMesos(this.Succeeded, "bool")+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} func (this *TaskStatus) GoString() string { if this == nil { return "nil" @@ -22765,12 +24179,18 @@ func (this *Environment_Variable) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 6) + s := make([]string, 0, 8) s = append(s, "&mesos.Environment_Variable{") s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") + if this.Type != nil { + s = append(s, "Type: "+valueToGoStringMesos(this.Type, "Environment_Variable_Type")+",\n") + } if this.Value != nil { s = append(s, "Value: "+valueToGoStringMesos(this.Value, "string")+",\n") } + if this.Secret != nil { + s = append(s, "Secret: "+fmt.Sprintf("%#v", this.Secret)+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -22822,6 +24242,47 @@ func (this *Credentials) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *Secret) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 7) + s = append(s, "&mesos.Secret{") + s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") + if this.Reference != nil { + s = append(s, "Reference: "+fmt.Sprintf("%#v", this.Reference)+",\n") + } + if this.Value != nil { + s = append(s, "Value: "+fmt.Sprintf("%#v", this.Value)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *Secret_Reference) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&mesos.Secret_Reference{") + s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") + if this.Key != nil { + s = append(s, "Key: "+valueToGoStringMesos(this.Key, "string")+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *Secret_Value) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&mesos.Secret_Value{") + if this.Data != nil { + s = append(s, "Data: "+valueToGoStringMesos(this.Data, "byte")+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} func (this *RateLimit) GoString() string { if this == nil { return "nil" @@ -22897,12 +24358,15 @@ func (this *Image_Docker) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 6) + s := make([]string, 0, 7) s = append(s, "&mesos.Image_Docker{") s = append(s, "Name: "+fmt.Sprintf("%#v", this.Name)+",\n") if this.Credential != nil { s = append(s, "Credential: "+fmt.Sprintf("%#v", this.Credential)+",\n") } + if this.Config != nil { + s = append(s, "Config: "+fmt.Sprintf("%#v", this.Config)+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -22932,7 +24396,7 @@ func (this *Volume_Source) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 7) + s := make([]string, 0, 8) s = append(s, "&mesos.Volume_Source{") s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") if this.DockerVolume != nil { @@ -22941,6 +24405,9 @@ func (this *Volume_Source) GoString() string { if this.SandboxPath != nil { s = append(s, "SandboxPath: "+fmt.Sprintf("%#v", this.SandboxPath)+",\n") } + if this.Secret != nil { + s = append(s, "Secret: "+fmt.Sprintf("%#v", this.Secret)+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -23433,6 +24900,57 @@ func (this *FileInfo) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *Device) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&mesos.Device{") + s = append(s, "Path: "+fmt.Sprintf("%#v", this.Path)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *DeviceAccess) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 6) + s = append(s, "&mesos.DeviceAccess{") + s = append(s, "Device: "+strings.Replace(this.Device.GoString(), `&`, ``, 1)+",\n") + s = append(s, "Access: "+strings.Replace(this.Access.GoString(), `&`, ``, 1)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} +func (this *DeviceAccess_Access) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 7) + s = append(s, "&mesos.DeviceAccess_Access{") + if this.Read != nil { + s = append(s, "Read: "+valueToGoStringMesos(this.Read, "bool")+",\n") + } + if this.Write != nil { + s = append(s, "Write: "+valueToGoStringMesos(this.Write, "bool")+",\n") + } + if this.Mknod != nil { + s = append(s, "Mknod: "+valueToGoStringMesos(this.Mknod, "bool")+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} +func (this *DeviceWhitelist) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&mesos.DeviceWhitelist{") + if this.AllowedDevices != nil { + s = append(s, "AllowedDevices: "+fmt.Sprintf("%#v", this.AllowedDevices)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} func valueToGoStringMesos(v interface{}, typ string) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -23583,6 +25101,28 @@ func (m *ContainerID) MarshalTo(dAtA []byte) (int, error) { return i, nil } +func (m *ResourceProviderID) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResourceProviderID) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0xa + i++ + i = encodeVarintMesos(dAtA, i, uint64(len(m.Value))) + i += copy(dAtA[i:], m.Value) + return i, nil +} + func (m *TimeInfo) Marshal() (dAtA []byte, err error) { size := m.ProtoSize() dAtA = make([]byte, size) @@ -24005,6 +25545,16 @@ func (m *CheckInfo) MarshalTo(dAtA []byte) (int, error) { i++ i = encodeFixed64Mesos(dAtA, i, uint64(math.Float64bits(float64(*m.TimeoutSeconds)))) } + if m.TCP != nil { + dAtA[i] = 0x3a + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.TCP.ProtoSize())) + n11, err := m.TCP.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n11 + } return i, nil } @@ -24026,11 +25576,11 @@ func (m *CheckInfo_Command) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.Command.ProtoSize())) - n11, err := m.Command.MarshalTo(dAtA[i:]) + n12, err := m.Command.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n11 + i += n12 return i, nil } @@ -24061,6 +25611,27 @@ func (m *CheckInfo_Http) MarshalTo(dAtA []byte) (int, error) { return i, nil } +func (m *CheckInfo_Tcp) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CheckInfo_Tcp) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0x8 + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Port)) + return i, nil +} + func (m *HealthCheck) Marshal() (dAtA []byte, err error) { size := m.ProtoSize() dAtA = make([]byte, size) @@ -24080,11 +25651,11 @@ func (m *HealthCheck) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.HTTP.ProtoSize())) - n12, err := m.HTTP.MarshalTo(dAtA[i:]) + n13, err := m.HTTP.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n12 + i += n13 } if m.DelaySeconds != nil { dAtA[i] = 0x11 @@ -24115,11 +25686,11 @@ func (m *HealthCheck) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Command.ProtoSize())) - n13, err := m.Command.MarshalTo(dAtA[i:]) + n14, err := m.Command.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n13 + i += n14 } dAtA[i] = 0x40 i++ @@ -24128,11 +25699,11 @@ func (m *HealthCheck) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x4a i++ i = encodeVarintMesos(dAtA, i, uint64(m.TCP.ProtoSize())) - n14, err := m.TCP.MarshalTo(dAtA[i:]) + n15, err := m.TCP.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n14 + i += n15 } return i, nil } @@ -24217,11 +25788,11 @@ func (m *KillPolicy) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.GracePeriod.ProtoSize())) - n15, err := m.GracePeriod.MarshalTo(dAtA[i:]) + n16, err := m.GracePeriod.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n15 + i += n16 } return i, nil } @@ -24257,11 +25828,11 @@ func (m *CommandInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Environment.ProtoSize())) - n16, err := m.Environment.MarshalTo(dAtA[i:]) + n17, err := m.Environment.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n16 + i += n17 } if m.Value != nil { dAtA[i] = 0x1a @@ -24379,11 +25950,11 @@ func (m *ExecutorInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.ExecutorID.ProtoSize())) - n17, err := m.ExecutorID.MarshalTo(dAtA[i:]) + n18, err := m.ExecutorID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n17 + i += n18 if m.Data != nil { dAtA[i] = 0x22 i++ @@ -24406,21 +25977,21 @@ func (m *ExecutorInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Command.ProtoSize())) - n18, err := m.Command.MarshalTo(dAtA[i:]) + n19, err := m.Command.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n18 + i += n19 } if m.FrameworkID != nil { dAtA[i] = 0x42 i++ i = encodeVarintMesos(dAtA, i, uint64(m.FrameworkID.ProtoSize())) - n19, err := m.FrameworkID.MarshalTo(dAtA[i:]) + n20, err := m.FrameworkID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n19 + i += n20 } if m.Name != nil { dAtA[i] = 0x4a @@ -24438,41 +26009,41 @@ func (m *ExecutorInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x5a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Container.ProtoSize())) - n20, err := m.Container.MarshalTo(dAtA[i:]) + n21, err := m.Container.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n20 + i += n21 } if m.Discovery != nil { dAtA[i] = 0x62 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Discovery.ProtoSize())) - n21, err := m.Discovery.MarshalTo(dAtA[i:]) + n22, err := m.Discovery.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n21 + i += n22 } if m.ShutdownGracePeriod != nil { dAtA[i] = 0x6a i++ i = encodeVarintMesos(dAtA, i, uint64(m.ShutdownGracePeriod.ProtoSize())) - n22, err := m.ShutdownGracePeriod.MarshalTo(dAtA[i:]) + n23, err := m.ShutdownGracePeriod.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n22 + i += n23 } if m.Labels != nil { dAtA[i] = 0x72 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Labels.ProtoSize())) - n23, err := m.Labels.MarshalTo(dAtA[i:]) + n24, err := m.Labels.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n23 + i += n24 } dAtA[i] = 0x78 i++ @@ -24531,11 +26102,11 @@ func (m *MasterInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Address.ProtoSize())) - n24, err := m.Address.MarshalTo(dAtA[i:]) + n25, err := m.Address.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n24 + i += n25 } return i, nil } @@ -24587,11 +26158,11 @@ func (m *AgentInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x32 i++ i = encodeVarintMesos(dAtA, i, uint64(m.ID.ProtoSize())) - n25, err := m.ID.MarshalTo(dAtA[i:]) + n26, err := m.ID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n25 + i += n26 } if m.Port != nil { dAtA[i] = 0x40 @@ -24644,41 +26215,41 @@ func (m *Value) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Scalar.ProtoSize())) - n26, err := m.Scalar.MarshalTo(dAtA[i:]) + n27, err := m.Scalar.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n26 + i += n27 } if m.Ranges != nil { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Ranges.ProtoSize())) - n27, err := m.Ranges.MarshalTo(dAtA[i:]) + n28, err := m.Ranges.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n27 + i += n28 } if m.Set != nil { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Set.ProtoSize())) - n28, err := m.Set.MarshalTo(dAtA[i:]) + n29, err := m.Set.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n28 + i += n29 } if m.Text != nil { dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Text.ProtoSize())) - n29, err := m.Text.MarshalTo(dAtA[i:]) + n30, err := m.Text.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n29 + i += n30 } return i, nil } @@ -24839,41 +26410,41 @@ func (m *Attribute) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Scalar.ProtoSize())) - n30, err := m.Scalar.MarshalTo(dAtA[i:]) + n31, err := m.Scalar.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n30 + i += n31 } if m.Ranges != nil { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Ranges.ProtoSize())) - n31, err := m.Ranges.MarshalTo(dAtA[i:]) + n32, err := m.Ranges.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n31 + i += n32 } if m.Text != nil { dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Text.ProtoSize())) - n32, err := m.Text.MarshalTo(dAtA[i:]) + n33, err := m.Text.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n32 + i += n33 } if m.Set != nil { dAtA[i] = 0x32 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Set.ProtoSize())) - n33, err := m.Set.MarshalTo(dAtA[i:]) + n34, err := m.Set.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n33 + i += n34 } return i, nil } @@ -24908,31 +26479,31 @@ func (m *Resource) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Scalar.ProtoSize())) - n34, err := m.Scalar.MarshalTo(dAtA[i:]) + n35, err := m.Scalar.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n34 + i += n35 } if m.Ranges != nil { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Ranges.ProtoSize())) - n35, err := m.Ranges.MarshalTo(dAtA[i:]) + n36, err := m.Ranges.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n35 + i += n36 } if m.Set != nil { dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Set.ProtoSize())) - n36, err := m.Set.MarshalTo(dAtA[i:]) + n37, err := m.Set.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n36 + i += n37 } if m.Role != nil { dAtA[i] = 0x32 @@ -24944,51 +26515,61 @@ func (m *Resource) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Disk.ProtoSize())) - n37, err := m.Disk.MarshalTo(dAtA[i:]) + n38, err := m.Disk.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n37 + i += n38 } if m.Reservation != nil { dAtA[i] = 0x42 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Reservation.ProtoSize())) - n38, err := m.Reservation.MarshalTo(dAtA[i:]) + n39, err := m.Reservation.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n38 + i += n39 } if m.Revocable != nil { dAtA[i] = 0x4a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Revocable.ProtoSize())) - n39, err := m.Revocable.MarshalTo(dAtA[i:]) + n40, err := m.Revocable.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n39 + i += n40 } if m.Shared != nil { dAtA[i] = 0x52 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Shared.ProtoSize())) - n40, err := m.Shared.MarshalTo(dAtA[i:]) + n41, err := m.Shared.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n40 + i += n41 } if m.AllocationInfo != nil { dAtA[i] = 0x5a i++ i = encodeVarintMesos(dAtA, i, uint64(m.AllocationInfo.ProtoSize())) - n41, err := m.AllocationInfo.MarshalTo(dAtA[i:]) + n42, err := m.AllocationInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n41 + i += n42 + } + if m.ProviderID != nil { + dAtA[i] = 0x62 + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.ProviderID.ProtoSize())) + n43, err := m.ProviderID.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n43 } return i, nil } @@ -25042,11 +26623,11 @@ func (m *Resource_ReservationInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Labels.ProtoSize())) - n42, err := m.Labels.MarshalTo(dAtA[i:]) + n44, err := m.Labels.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n42 + i += n44 } return i, nil } @@ -25070,31 +26651,31 @@ func (m *Resource_DiskInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.Persistence.ProtoSize())) - n43, err := m.Persistence.MarshalTo(dAtA[i:]) + n45, err := m.Persistence.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n43 + i += n45 } if m.Volume != nil { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Volume.ProtoSize())) - n44, err := m.Volume.MarshalTo(dAtA[i:]) + n46, err := m.Volume.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n44 + i += n46 } if m.Source != nil { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Source.ProtoSize())) - n45, err := m.Source.MarshalTo(dAtA[i:]) + n47, err := m.Source.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n45 + i += n47 } return i, nil } @@ -25142,32 +26723,28 @@ func (m *Resource_DiskInfo_Source) MarshalTo(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.Type == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("type") - } else { - dAtA[i] = 0x8 - i++ - i = encodeVarintMesos(dAtA, i, uint64(*m.Type)) - } + dAtA[i] = 0x8 + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Type)) if m.Path != nil { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Path.ProtoSize())) - n46, err := m.Path.MarshalTo(dAtA[i:]) + n48, err := m.Path.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n46 + i += n48 } if m.Mount != nil { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Mount.ProtoSize())) - n47, err := m.Mount.MarshalTo(dAtA[i:]) + n49, err := m.Mount.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n47 + i += n49 } return i, nil } @@ -25187,10 +26764,12 @@ func (m *Resource_DiskInfo_Source_Path) MarshalTo(dAtA []byte) (int, error) { _ = i var l int _ = l - dAtA[i] = 0xa - i++ - i = encodeVarintMesos(dAtA, i, uint64(len(m.Root))) - i += copy(dAtA[i:], m.Root) + if m.Root != nil { + dAtA[i] = 0xa + i++ + i = encodeVarintMesos(dAtA, i, uint64(len(*m.Root))) + i += copy(dAtA[i:], *m.Root) + } return i, nil } @@ -25209,10 +26788,12 @@ func (m *Resource_DiskInfo_Source_Mount) MarshalTo(dAtA []byte) (int, error) { _ = i var l int _ = l - dAtA[i] = 0xa - i++ - i = encodeVarintMesos(dAtA, i, uint64(len(m.Root))) - i += copy(dAtA[i:], m.Root) + if m.Root != nil { + dAtA[i] = 0xa + i++ + i = encodeVarintMesos(dAtA, i, uint64(len(*m.Root))) + i += copy(dAtA[i:], *m.Root) + } return i, nil } @@ -25787,41 +27368,89 @@ func (m *SNMPStatistics) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.IPStats.ProtoSize())) - n48, err := m.IPStats.MarshalTo(dAtA[i:]) + n50, err := m.IPStats.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n48 + i += n50 } if m.ICMPStats != nil { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.ICMPStats.ProtoSize())) - n49, err := m.ICMPStats.MarshalTo(dAtA[i:]) + n51, err := m.ICMPStats.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n49 + i += n51 } if m.TCPStats != nil { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.TCPStats.ProtoSize())) - n50, err := m.TCPStats.MarshalTo(dAtA[i:]) + n52, err := m.TCPStats.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n50 + i += n52 } if m.UDPStats != nil { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.UDPStats.ProtoSize())) - n51, err := m.UDPStats.MarshalTo(dAtA[i:]) + n53, err := m.UDPStats.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n51 + i += n53 + } + return i, nil +} + +func (m *DiskStatistics) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DiskStatistics) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Source != nil { + dAtA[i] = 0xa + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Source.ProtoSize())) + n54, err := m.Source.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n54 + } + if m.Persistence != nil { + dAtA[i] = 0x12 + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Persistence.ProtoSize())) + n55, err := m.Persistence.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n55 + } + if m.LimitBytes != nil { + dAtA[i] = 0x18 + i++ + i = encodeVarintMesos(dAtA, i, uint64(*m.LimitBytes)) + } + if m.UsedBytes != nil { + dAtA[i] = 0x20 + i++ + i = encodeVarintMesos(dAtA, i, uint64(*m.UsedBytes)) } return i, nil } @@ -25903,11 +27532,11 @@ func (m *ResourceStatistics) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x6a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Perf.ProtoSize())) - n52, err := m.Perf.MarshalTo(dAtA[i:]) + n56, err := m.Perf.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n52 + i += n56 } if m.NetRxPackets != nil { dAtA[i] = 0x70 @@ -26114,11 +27743,25 @@ func (m *ResourceStatistics) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2 i++ i = encodeVarintMesos(dAtA, i, uint64(m.NetSNMPStatistics.ProtoSize())) - n53, err := m.NetSNMPStatistics.MarshalTo(dAtA[i:]) + n57, err := m.NetSNMPStatistics.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n53 + i += n57 + } + if len(m.DiskStatistics) > 0 { + for _, msg := range m.DiskStatistics { + dAtA[i] = 0xda + i++ + dAtA[i] = 0x2 + i++ + i = encodeVarintMesos(dAtA, i, uint64(msg.ProtoSize())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } } return i, nil } @@ -26183,11 +27826,11 @@ func (m *ResourceUsage_Executor) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.ExecutorInfo.ProtoSize())) - n54, err := m.ExecutorInfo.MarshalTo(dAtA[i:]) + n58, err := m.ExecutorInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n54 + i += n58 if len(m.Allocated) > 0 { for _, msg := range m.Allocated { dAtA[i] = 0x12 @@ -26204,20 +27847,20 @@ func (m *ResourceUsage_Executor) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Statistics.ProtoSize())) - n55, err := m.Statistics.MarshalTo(dAtA[i:]) + n59, err := m.Statistics.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n55 + i += n59 } dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.ContainerID.ProtoSize())) - n56, err := m.ContainerID.MarshalTo(dAtA[i:]) + n60, err := m.ContainerID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n56 + i += n60 if len(m.Tasks) > 0 { for _, msg := range m.Tasks { dAtA[i] = 0x2a @@ -26255,11 +27898,11 @@ func (m *ResourceUsage_Executor_Task) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.ID.ProtoSize())) - n57, err := m.ID.MarshalTo(dAtA[i:]) + n61, err := m.ID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n57 + i += n61 if len(m.Resources) > 0 { for _, msg := range m.Resources { dAtA[i] = 0x1a @@ -26276,11 +27919,11 @@ func (m *ResourceUsage_Executor_Task) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Labels.ProtoSize())) - n58, err := m.Labels.MarshalTo(dAtA[i:]) + n62, err := m.Labels.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n58 + i += n62 } return i, nil } @@ -26659,11 +28302,11 @@ func (m *Request) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.AgentID.ProtoSize())) - n59, err := m.AgentID.MarshalTo(dAtA[i:]) + n63, err := m.AgentID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n59 + i += n63 } if len(m.Resources) > 0 { for _, msg := range m.Resources { @@ -26698,27 +28341,27 @@ func (m *Offer) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.ID.ProtoSize())) - n60, err := m.ID.MarshalTo(dAtA[i:]) + n64, err := m.ID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n60 + i += n64 dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.FrameworkID.ProtoSize())) - n61, err := m.FrameworkID.MarshalTo(dAtA[i:]) + n65, err := m.FrameworkID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n61 + i += n65 dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.AgentID.ProtoSize())) - n62, err := m.AgentID.MarshalTo(dAtA[i:]) + n66, err := m.AgentID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n62 + i += n66 dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(len(m.Hostname))) @@ -26763,31 +28406,31 @@ func (m *Offer) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x42 i++ i = encodeVarintMesos(dAtA, i, uint64(m.URL.ProtoSize())) - n63, err := m.URL.MarshalTo(dAtA[i:]) + n67, err := m.URL.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n63 + i += n67 } if m.Unavailability != nil { dAtA[i] = 0x4a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Unavailability.ProtoSize())) - n64, err := m.Unavailability.MarshalTo(dAtA[i:]) + n68, err := m.Unavailability.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n64 + i += n68 } if m.AllocationInfo != nil { dAtA[i] = 0x52 i++ i = encodeVarintMesos(dAtA, i, uint64(m.AllocationInfo.ProtoSize())) - n65, err := m.AllocationInfo.MarshalTo(dAtA[i:]) + n69, err := m.AllocationInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n65 + i += n69 } return i, nil } @@ -26814,61 +28457,61 @@ func (m *Offer_Operation) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Launch.ProtoSize())) - n66, err := m.Launch.MarshalTo(dAtA[i:]) + n70, err := m.Launch.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n66 + i += n70 } if m.Reserve != nil { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Reserve.ProtoSize())) - n67, err := m.Reserve.MarshalTo(dAtA[i:]) + n71, err := m.Reserve.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n67 + i += n71 } if m.Unreserve != nil { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Unreserve.ProtoSize())) - n68, err := m.Unreserve.MarshalTo(dAtA[i:]) + n72, err := m.Unreserve.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n68 + i += n72 } if m.Create != nil { dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Create.ProtoSize())) - n69, err := m.Create.MarshalTo(dAtA[i:]) + n73, err := m.Create.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n69 + i += n73 } if m.Destroy != nil { dAtA[i] = 0x32 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Destroy.ProtoSize())) - n70, err := m.Destroy.MarshalTo(dAtA[i:]) + n74, err := m.Destroy.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n70 + i += n74 } if m.LaunchGroup != nil { dAtA[i] = 0x3a i++ i = encodeVarintMesos(dAtA, i, uint64(m.LaunchGroup.ProtoSize())) - n71, err := m.LaunchGroup.MarshalTo(dAtA[i:]) + n75, err := m.LaunchGroup.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n71 + i += n75 } return i, nil } @@ -26921,19 +28564,19 @@ func (m *Offer_Operation_LaunchGroup) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.Executor.ProtoSize())) - n72, err := m.Executor.MarshalTo(dAtA[i:]) + n76, err := m.Executor.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n72 + i += n76 dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.TaskGroup.ProtoSize())) - n73, err := m.TaskGroup.MarshalTo(dAtA[i:]) + n77, err := m.TaskGroup.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n73 + i += n77 return i, nil } @@ -27075,47 +28718,47 @@ func (m *InverseOffer) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.OfferID.ProtoSize())) - n74, err := m.OfferID.MarshalTo(dAtA[i:]) + n78, err := m.OfferID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n74 + i += n78 if m.URL != nil { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.URL.ProtoSize())) - n75, err := m.URL.MarshalTo(dAtA[i:]) + n79, err := m.URL.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n75 + i += n79 } dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.FrameworkID.ProtoSize())) - n76, err := m.FrameworkID.MarshalTo(dAtA[i:]) + n80, err := m.FrameworkID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n76 + i += n80 if m.AgentID != nil { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.AgentID.ProtoSize())) - n77, err := m.AgentID.MarshalTo(dAtA[i:]) + n81, err := m.AgentID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n77 + i += n81 } dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Unavailability.ProtoSize())) - n78, err := m.Unavailability.MarshalTo(dAtA[i:]) + n82, err := m.Unavailability.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n78 + i += n82 if len(m.Resources) > 0 { for _, msg := range m.Resources { dAtA[i] = 0x32 @@ -27153,19 +28796,19 @@ func (m *TaskInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.TaskID.ProtoSize())) - n79, err := m.TaskID.MarshalTo(dAtA[i:]) + n83, err := m.TaskID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n79 + i += n83 dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.AgentID.ProtoSize())) - n80, err := m.AgentID.MarshalTo(dAtA[i:]) + n84, err := m.AgentID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n80 + i += n84 if len(m.Resources) > 0 { for _, msg := range m.Resources { dAtA[i] = 0x22 @@ -27182,11 +28825,11 @@ func (m *TaskInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Executor.ProtoSize())) - n81, err := m.Executor.MarshalTo(dAtA[i:]) + n85, err := m.Executor.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n81 + i += n85 } if m.Data != nil { dAtA[i] = 0x32 @@ -27198,71 +28841,71 @@ func (m *TaskInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Command.ProtoSize())) - n82, err := m.Command.MarshalTo(dAtA[i:]) + n86, err := m.Command.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n82 + i += n86 } if m.HealthCheck != nil { dAtA[i] = 0x42 i++ i = encodeVarintMesos(dAtA, i, uint64(m.HealthCheck.ProtoSize())) - n83, err := m.HealthCheck.MarshalTo(dAtA[i:]) + n87, err := m.HealthCheck.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n83 + i += n87 } if m.Container != nil { dAtA[i] = 0x4a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Container.ProtoSize())) - n84, err := m.Container.MarshalTo(dAtA[i:]) + n88, err := m.Container.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n84 + i += n88 } if m.Labels != nil { dAtA[i] = 0x52 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Labels.ProtoSize())) - n85, err := m.Labels.MarshalTo(dAtA[i:]) + n89, err := m.Labels.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n85 + i += n89 } if m.Discovery != nil { dAtA[i] = 0x5a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Discovery.ProtoSize())) - n86, err := m.Discovery.MarshalTo(dAtA[i:]) + n90, err := m.Discovery.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n86 + i += n90 } if m.KillPolicy != nil { dAtA[i] = 0x62 i++ i = encodeVarintMesos(dAtA, i, uint64(m.KillPolicy.ProtoSize())) - n87, err := m.KillPolicy.MarshalTo(dAtA[i:]) + n91, err := m.KillPolicy.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n87 + i += n91 } if m.Check != nil { dAtA[i] = 0x6a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Check.ProtoSize())) - n88, err := m.Check.MarshalTo(dAtA[i:]) + n92, err := m.Check.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n88 + i += n92 } return i, nil } @@ -27319,37 +28962,37 @@ func (m *Task) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.TaskID.ProtoSize())) - n89, err := m.TaskID.MarshalTo(dAtA[i:]) + n93, err := m.TaskID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n89 + i += n93 dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.FrameworkID.ProtoSize())) - n90, err := m.FrameworkID.MarshalTo(dAtA[i:]) + n94, err := m.FrameworkID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n90 + i += n94 if m.ExecutorID != nil { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.ExecutorID.ProtoSize())) - n91, err := m.ExecutorID.MarshalTo(dAtA[i:]) + n95, err := m.ExecutorID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n91 + i += n95 } dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.AgentID.ProtoSize())) - n92, err := m.AgentID.MarshalTo(dAtA[i:]) + n96, err := m.AgentID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n92 + i += n96 if m.State == nil { return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("state") } else { @@ -27396,31 +29039,31 @@ func (m *Task) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x5a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Labels.ProtoSize())) - n93, err := m.Labels.MarshalTo(dAtA[i:]) + n97, err := m.Labels.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n93 + i += n97 } if m.Discovery != nil { dAtA[i] = 0x62 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Discovery.ProtoSize())) - n94, err := m.Discovery.MarshalTo(dAtA[i:]) + n98, err := m.Discovery.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n94 + i += n98 } if m.Container != nil { dAtA[i] = 0x6a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Container.ProtoSize())) - n95, err := m.Container.MarshalTo(dAtA[i:]) + n99, err := m.Container.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n95 + i += n99 } if m.User != nil { dAtA[i] = 0x72 @@ -27455,21 +29098,31 @@ func (m *CheckStatusInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Command.ProtoSize())) - n96, err := m.Command.MarshalTo(dAtA[i:]) + n100, err := m.Command.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n96 + i += n100 } if m.HTTP != nil { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.HTTP.ProtoSize())) - n97, err := m.HTTP.MarshalTo(dAtA[i:]) + n101, err := m.HTTP.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n97 + i += n101 + } + if m.TCP != nil { + dAtA[i] = 0x22 + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.TCP.ProtoSize())) + n102, err := m.TCP.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n102 } return i, nil } @@ -27520,6 +29173,34 @@ func (m *CheckStatusInfo_Http) MarshalTo(dAtA []byte) (int, error) { return i, nil } +func (m *CheckStatusInfo_Tcp) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CheckStatusInfo_Tcp) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Succeeded != nil { + dAtA[i] = 0x8 + i++ + if *m.Succeeded { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + return i, nil +} + func (m *TaskStatus) Marshal() (dAtA []byte, err error) { size := m.ProtoSize() dAtA = make([]byte, size) @@ -27538,11 +29219,11 @@ func (m *TaskStatus) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.TaskID.ProtoSize())) - n98, err := m.TaskID.MarshalTo(dAtA[i:]) + n103, err := m.TaskID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n98 + i += n103 if m.State == nil { return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("state") } else { @@ -27566,11 +29247,11 @@ func (m *TaskStatus) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.AgentID.ProtoSize())) - n99, err := m.AgentID.MarshalTo(dAtA[i:]) + n104, err := m.AgentID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n99 + i += n104 } if m.Timestamp != nil { dAtA[i] = 0x31 @@ -27581,11 +29262,11 @@ func (m *TaskStatus) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3a i++ i = encodeVarintMesos(dAtA, i, uint64(m.ExecutorID.ProtoSize())) - n100, err := m.ExecutorID.MarshalTo(dAtA[i:]) + n105, err := m.ExecutorID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n100 + i += n105 } if m.Healthy != nil { dAtA[i] = 0x40 @@ -27617,41 +29298,41 @@ func (m *TaskStatus) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x62 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Labels.ProtoSize())) - n101, err := m.Labels.MarshalTo(dAtA[i:]) + n106, err := m.Labels.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n101 + i += n106 } if m.ContainerStatus != nil { dAtA[i] = 0x6a i++ i = encodeVarintMesos(dAtA, i, uint64(m.ContainerStatus.ProtoSize())) - n102, err := m.ContainerStatus.MarshalTo(dAtA[i:]) + n107, err := m.ContainerStatus.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n102 + i += n107 } if m.UnreachableTime != nil { dAtA[i] = 0x72 i++ i = encodeVarintMesos(dAtA, i, uint64(m.UnreachableTime.ProtoSize())) - n103, err := m.UnreachableTime.MarshalTo(dAtA[i:]) + n108, err := m.UnreachableTime.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n103 + i += n108 } if m.CheckStatus != nil { dAtA[i] = 0x7a i++ i = encodeVarintMesos(dAtA, i, uint64(m.CheckStatus.ProtoSize())) - n104, err := m.CheckStatus.MarshalTo(dAtA[i:]) + n109, err := m.CheckStatus.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n104 + i += n109 } return i, nil } @@ -27734,6 +29415,21 @@ func (m *Environment_Variable) MarshalTo(dAtA []byte) (int, error) { i = encodeVarintMesos(dAtA, i, uint64(len(*m.Value))) i += copy(dAtA[i:], *m.Value) } + if m.Type != nil { + dAtA[i] = 0x18 + i++ + i = encodeVarintMesos(dAtA, i, uint64(*m.Type)) + } + if m.Secret != nil { + dAtA[i] = 0x22 + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Secret.ProtoSize())) + n110, err := m.Secret.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n110 + } return i, nil } @@ -27851,6 +29547,101 @@ func (m *Credentials) MarshalTo(dAtA []byte) (int, error) { return i, nil } +func (m *Secret) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Secret) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0x8 + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Type)) + if m.Reference != nil { + dAtA[i] = 0x12 + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Reference.ProtoSize())) + n111, err := m.Reference.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n111 + } + if m.Value != nil { + dAtA[i] = 0x1a + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Value.ProtoSize())) + n112, err := m.Value.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n112 + } + return i, nil +} + +func (m *Secret_Reference) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Secret_Reference) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0xa + i++ + i = encodeVarintMesos(dAtA, i, uint64(len(m.Name))) + i += copy(dAtA[i:], m.Name) + if m.Key != nil { + dAtA[i] = 0x12 + i++ + i = encodeVarintMesos(dAtA, i, uint64(len(*m.Key))) + i += copy(dAtA[i:], *m.Key) + } + return i, nil +} + +func (m *Secret_Value) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Secret_Value) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Data == nil { + return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("data") + } else { + dAtA[i] = 0xa + i++ + i = encodeVarintMesos(dAtA, i, uint64(len(m.Data))) + i += copy(dAtA[i:], m.Data) + } + return i, nil +} + func (m *RateLimit) Marshal() (dAtA []byte, err error) { size := m.ProtoSize() dAtA = make([]byte, size) @@ -27949,21 +29740,21 @@ func (m *Image) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Appc.ProtoSize())) - n105, err := m.Appc.MarshalTo(dAtA[i:]) + n113, err := m.Appc.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n105 + i += n113 } if m.Docker != nil { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Docker.ProtoSize())) - n106, err := m.Docker.MarshalTo(dAtA[i:]) + n114, err := m.Docker.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n106 + i += n114 } if m.Cached != nil { dAtA[i] = 0x20 @@ -28007,11 +29798,11 @@ func (m *Image_Appc) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Labels.ProtoSize())) - n107, err := m.Labels.MarshalTo(dAtA[i:]) + n115, err := m.Labels.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n107 + i += n115 } return i, nil } @@ -28039,11 +29830,21 @@ func (m *Image_Docker) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Credential.ProtoSize())) - n108, err := m.Credential.MarshalTo(dAtA[i:]) + n116, err := m.Credential.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n108 + i += n116 + } + if m.Config != nil { + dAtA[i] = 0x1a + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Config.ProtoSize())) + n117, err := m.Config.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n117 } return i, nil } @@ -28084,21 +29885,21 @@ func (m *Volume) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Image.ProtoSize())) - n109, err := m.Image.MarshalTo(dAtA[i:]) + n118, err := m.Image.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n109 + i += n118 } if m.Source != nil { dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Source.ProtoSize())) - n110, err := m.Source.MarshalTo(dAtA[i:]) + n119, err := m.Source.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n110 + i += n119 } return i, nil } @@ -28125,21 +29926,31 @@ func (m *Volume_Source) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.DockerVolume.ProtoSize())) - n111, err := m.DockerVolume.MarshalTo(dAtA[i:]) + n120, err := m.DockerVolume.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n111 + i += n120 } if m.SandboxPath != nil { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.SandboxPath.ProtoSize())) - n112, err := m.SandboxPath.MarshalTo(dAtA[i:]) + n121, err := m.SandboxPath.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n112 + i += n121 + } + if m.Secret != nil { + dAtA[i] = 0x22 + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Secret.ProtoSize())) + n122, err := m.Secret.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n122 } return i, nil } @@ -28173,11 +29984,11 @@ func (m *Volume_Source_DockerVolume) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.DriverOptions.ProtoSize())) - n113, err := m.DriverOptions.MarshalTo(dAtA[i:]) + n123, err := m.DriverOptions.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n113 + i += n123 } return i, nil } @@ -28241,11 +30052,11 @@ func (m *NetworkInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Labels.ProtoSize())) - n114, err := m.Labels.MarshalTo(dAtA[i:]) + n124, err := m.Labels.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n114 + i += n124 } if len(m.IPAddresses) > 0 { for _, msg := range m.IPAddresses { @@ -28383,11 +30194,11 @@ func (m *LinuxInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.CapabilityInfo.ProtoSize())) - n115, err := m.CapabilityInfo.MarshalTo(dAtA[i:]) + n125, err := m.CapabilityInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n115 + i += n125 } return i, nil } @@ -28472,11 +30283,11 @@ func (m *TTYInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.WindowSize.ProtoSize())) - n116, err := m.WindowSize.MarshalTo(dAtA[i:]) + n126, err := m.WindowSize.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n116 + i += n126 } return i, nil } @@ -28543,11 +30354,11 @@ func (m *ContainerInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Docker.ProtoSize())) - n117, err := m.Docker.MarshalTo(dAtA[i:]) + n127, err := m.Docker.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n117 + i += n127 } if m.Hostname != nil { dAtA[i] = 0x22 @@ -28559,11 +30370,11 @@ func (m *ContainerInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Mesos.ProtoSize())) - n118, err := m.Mesos.MarshalTo(dAtA[i:]) + n128, err := m.Mesos.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n118 + i += n128 } if len(m.NetworkInfos) > 0 { for _, msg := range m.NetworkInfos { @@ -28581,31 +30392,31 @@ func (m *ContainerInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x42 i++ i = encodeVarintMesos(dAtA, i, uint64(m.LinuxInfo.ProtoSize())) - n119, err := m.LinuxInfo.MarshalTo(dAtA[i:]) + n129, err := m.LinuxInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n119 + i += n129 } if m.RlimitInfo != nil { dAtA[i] = 0x4a i++ i = encodeVarintMesos(dAtA, i, uint64(m.RlimitInfo.ProtoSize())) - n120, err := m.RlimitInfo.MarshalTo(dAtA[i:]) + n130, err := m.RlimitInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n120 + i += n130 } if m.TTYInfo != nil { dAtA[i] = 0x52 i++ i = encodeVarintMesos(dAtA, i, uint64(m.TTYInfo.ProtoSize())) - n121, err := m.TTYInfo.MarshalTo(dAtA[i:]) + n131, err := m.TTYInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n121 + i += n131 } return i, nil } @@ -28736,11 +30547,11 @@ func (m *ContainerInfo_MesosInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.Image.ProtoSize())) - n122, err := m.Image.MarshalTo(dAtA[i:]) + n132, err := m.Image.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n122 + i += n132 } return i, nil } @@ -28776,11 +30587,11 @@ func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintMesos(dAtA, i, uint64(m.CgroupInfo.ProtoSize())) - n123, err := m.CgroupInfo.MarshalTo(dAtA[i:]) + n133, err := m.CgroupInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n123 + i += n133 } if m.ExecutorPID != nil { dAtA[i] = 0x18 @@ -28791,11 +30602,11 @@ func (m *ContainerStatus) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.ContainerID.ProtoSize())) - n124, err := m.ContainerID.MarshalTo(dAtA[i:]) + n134, err := m.ContainerID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n124 + i += n134 } return i, nil } @@ -28819,11 +30630,11 @@ func (m *CgroupInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintMesos(dAtA, i, uint64(m.NetCLS.ProtoSize())) - n125, err := m.NetCLS.MarshalTo(dAtA[i:]) + n135, err := m.NetCLS.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n125 + i += n135 } return i, nil } @@ -28948,11 +30759,11 @@ func (m *Port) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Labels.ProtoSize())) - n126, err := m.Labels.MarshalTo(dAtA[i:]) + n136, err := m.Labels.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n126 + i += n136 } return i, nil } @@ -29033,21 +30844,21 @@ func (m *DiscoveryInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x32 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Ports.ProtoSize())) - n127, err := m.Ports.MarshalTo(dAtA[i:]) + n137, err := m.Ports.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n127 + i += n137 } if m.Labels != nil { dAtA[i] = 0x3a i++ i = encodeVarintMesos(dAtA, i, uint64(m.Labels.ProtoSize())) - n128, err := m.Labels.MarshalTo(dAtA[i:]) + n138, err := m.Labels.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n128 + i += n138 } return i, nil } @@ -29273,11 +31084,11 @@ func (m *FileInfo) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintMesos(dAtA, i, uint64(m.Mtime.ProtoSize())) - n129, err := m.Mtime.MarshalTo(dAtA[i:]) + n139, err := m.Mtime.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n129 + i += n139 } if m.Mode != nil { dAtA[i] = 0x28 @@ -29299,6 +31110,140 @@ func (m *FileInfo) MarshalTo(dAtA []byte) (int, error) { return i, nil } +func (m *Device) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Device) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0xa + i++ + i = encodeVarintMesos(dAtA, i, uint64(len(m.Path))) + i += copy(dAtA[i:], m.Path) + return i, nil +} + +func (m *DeviceAccess) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeviceAccess) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0xa + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Device.ProtoSize())) + n140, err := m.Device.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n140 + dAtA[i] = 0x12 + i++ + i = encodeVarintMesos(dAtA, i, uint64(m.Access.ProtoSize())) + n141, err := m.Access.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n141 + return i, nil +} + +func (m *DeviceAccess_Access) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeviceAccess_Access) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Read != nil { + dAtA[i] = 0x8 + i++ + if *m.Read { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if m.Write != nil { + dAtA[i] = 0x10 + i++ + if *m.Write { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + if m.Mknod != nil { + dAtA[i] = 0x18 + i++ + if *m.Mknod { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } + return i, nil +} + +func (m *DeviceWhitelist) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeviceWhitelist) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.AllowedDevices) > 0 { + for _, msg := range m.AllowedDevices { + dAtA[i] = 0xa + i++ + i = encodeVarintMesos(dAtA, i, uint64(msg.ProtoSize())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } + return i, nil +} + func encodeFixed64Mesos(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) dAtA[offset+1] = uint8(v >> 8) @@ -29377,6 +31322,14 @@ func NewPopulatedContainerID(r randyMesos, easy bool) *ContainerID { return this } +func NewPopulatedResourceProviderID(r randyMesos, easy bool) *ResourceProviderID { + this := &ResourceProviderID{} + this.Value = string(randStringMesos(r)) + if !easy && r.Intn(10) != 0 { + } + return this +} + func NewPopulatedTimeInfo(r randyMesos, easy bool) *TimeInfo { this := &TimeInfo{} this.Nanoseconds = int64(r.Int63()) @@ -29554,7 +31507,7 @@ func NewPopulatedFrameworkInfo_Capability(r randyMesos, easy bool) *FrameworkInf func NewPopulatedCheckInfo(r randyMesos, easy bool) *CheckInfo { this := &CheckInfo{} - this.Type = CheckInfo_Type([]int32{0, 1, 2}[r.Intn(3)]) + this.Type = CheckInfo_Type([]int32{0, 1, 2, 3}[r.Intn(4)]) if r.Intn(10) != 0 { this.Command = NewPopulatedCheckInfo_Command(r, easy) } @@ -29582,6 +31535,9 @@ func NewPopulatedCheckInfo(r randyMesos, easy bool) *CheckInfo { } this.TimeoutSeconds = &v24 } + if r.Intn(10) != 0 { + this.TCP = NewPopulatedCheckInfo_Tcp(r, easy) + } if !easy && r.Intn(10) != 0 { } return this @@ -29608,6 +31564,14 @@ func NewPopulatedCheckInfo_Http(r randyMesos, easy bool) *CheckInfo_Http { return this } +func NewPopulatedCheckInfo_Tcp(r randyMesos, easy bool) *CheckInfo_Tcp { + this := &CheckInfo_Tcp{} + this.Port = uint32(r.Uint32()) + if !easy && r.Intn(10) != 0 { + } + return this +} + func NewPopulatedHealthCheck(r randyMesos, easy bool) *HealthCheck { this := &HealthCheck{} if r.Intn(10) != 0 { @@ -30009,6 +31973,9 @@ func NewPopulatedResource(r randyMesos, easy bool) *Resource { if r.Intn(10) != 0 { this.AllocationInfo = NewPopulatedResource_AllocationInfo(r, easy) } + if r.Intn(10) != 0 { + this.ProviderID = NewPopulatedResourceProviderID(r, easy) + } if !easy && r.Intn(10) != 0 { } return this @@ -30069,8 +32036,7 @@ func NewPopulatedResource_DiskInfo_Persistence(r randyMesos, easy bool) *Resourc func NewPopulatedResource_DiskInfo_Source(r randyMesos, easy bool) *Resource_DiskInfo_Source { this := &Resource_DiskInfo_Source{} - v68 := Resource_DiskInfo_Source_Type([]int32{1, 2}[r.Intn(2)]) - this.Type = &v68 + this.Type = Resource_DiskInfo_Source_Type([]int32{0, 1, 2}[r.Intn(3)]) if r.Intn(10) != 0 { this.Path = NewPopulatedResource_DiskInfo_Source_Path(r, easy) } @@ -30084,7 +32050,10 @@ func NewPopulatedResource_DiskInfo_Source(r randyMesos, easy bool) *Resource_Dis func NewPopulatedResource_DiskInfo_Source_Path(r randyMesos, easy bool) *Resource_DiskInfo_Source_Path { this := &Resource_DiskInfo_Source_Path{} - this.Root = string(randStringMesos(r)) + if r.Intn(10) != 0 { + v68 := string(randStringMesos(r)) + this.Root = &v68 + } if !easy && r.Intn(10) != 0 { } return this @@ -30092,7 +32061,10 @@ func NewPopulatedResource_DiskInfo_Source_Path(r randyMesos, easy bool) *Resourc func NewPopulatedResource_DiskInfo_Source_Mount(r randyMesos, easy bool) *Resource_DiskInfo_Source_Mount { this := &Resource_DiskInfo_Source_Mount{} - this.Root = string(randStringMesos(r)) + if r.Intn(10) != 0 { + v69 := string(randStringMesos(r)) + this.Root = &v69 + } if !easy && r.Intn(10) != 0 { } return this @@ -30115,41 +32087,41 @@ func NewPopulatedResource_SharedInfo(r randyMesos, easy bool) *Resource_SharedIn func NewPopulatedTrafficControlStatistics(r randyMesos, easy bool) *TrafficControlStatistics { this := &TrafficControlStatistics{} this.ID = string(randStringMesos(r)) - if r.Intn(10) != 0 { - v69 := uint64(uint64(r.Uint32())) - this.Backlog = &v69 - } if r.Intn(10) != 0 { v70 := uint64(uint64(r.Uint32())) - this.Bytes = &v70 + this.Backlog = &v70 } if r.Intn(10) != 0 { v71 := uint64(uint64(r.Uint32())) - this.Drops = &v71 + this.Bytes = &v71 } if r.Intn(10) != 0 { v72 := uint64(uint64(r.Uint32())) - this.Overlimits = &v72 + this.Drops = &v72 } if r.Intn(10) != 0 { v73 := uint64(uint64(r.Uint32())) - this.Packets = &v73 + this.Overlimits = &v73 } if r.Intn(10) != 0 { v74 := uint64(uint64(r.Uint32())) - this.Qlen = &v74 + this.Packets = &v74 } if r.Intn(10) != 0 { v75 := uint64(uint64(r.Uint32())) - this.RateBPS = &v75 + this.Qlen = &v75 } if r.Intn(10) != 0 { v76 := uint64(uint64(r.Uint32())) - this.RatePPS = &v76 + this.RateBPS = &v76 } if r.Intn(10) != 0 { v77 := uint64(uint64(r.Uint32())) - this.Requeues = &v77 + this.RatePPS = &v77 + } + if r.Intn(10) != 0 { + v78 := uint64(uint64(r.Uint32())) + this.Requeues = &v78 } if !easy && r.Intn(10) != 0 { } @@ -30158,138 +32130,138 @@ func NewPopulatedTrafficControlStatistics(r randyMesos, easy bool) *TrafficContr func NewPopulatedIpStatistics(r randyMesos, easy bool) *IpStatistics { this := &IpStatistics{} - if r.Intn(10) != 0 { - v78 := int64(r.Int63()) - if r.Intn(2) == 0 { - v78 *= -1 - } - this.Forwarding = &v78 - } if r.Intn(10) != 0 { v79 := int64(r.Int63()) if r.Intn(2) == 0 { v79 *= -1 } - this.DefaultTTL = &v79 + this.Forwarding = &v79 } if r.Intn(10) != 0 { v80 := int64(r.Int63()) if r.Intn(2) == 0 { v80 *= -1 } - this.InReceives = &v80 + this.DefaultTTL = &v80 } if r.Intn(10) != 0 { v81 := int64(r.Int63()) if r.Intn(2) == 0 { v81 *= -1 } - this.InHdrErrors = &v81 + this.InReceives = &v81 } if r.Intn(10) != 0 { v82 := int64(r.Int63()) if r.Intn(2) == 0 { v82 *= -1 } - this.InAddrErrors = &v82 + this.InHdrErrors = &v82 } if r.Intn(10) != 0 { v83 := int64(r.Int63()) if r.Intn(2) == 0 { v83 *= -1 } - this.ForwDatagrams = &v83 + this.InAddrErrors = &v83 } if r.Intn(10) != 0 { v84 := int64(r.Int63()) if r.Intn(2) == 0 { v84 *= -1 } - this.InUnknownProtos = &v84 + this.ForwDatagrams = &v84 } if r.Intn(10) != 0 { v85 := int64(r.Int63()) if r.Intn(2) == 0 { v85 *= -1 } - this.InDiscards = &v85 + this.InUnknownProtos = &v85 } if r.Intn(10) != 0 { v86 := int64(r.Int63()) if r.Intn(2) == 0 { v86 *= -1 } - this.InDelivers = &v86 + this.InDiscards = &v86 } if r.Intn(10) != 0 { v87 := int64(r.Int63()) if r.Intn(2) == 0 { v87 *= -1 } - this.OutRequests = &v87 + this.InDelivers = &v87 } if r.Intn(10) != 0 { v88 := int64(r.Int63()) if r.Intn(2) == 0 { v88 *= -1 } - this.OutDiscards = &v88 + this.OutRequests = &v88 } if r.Intn(10) != 0 { v89 := int64(r.Int63()) if r.Intn(2) == 0 { v89 *= -1 } - this.OutNoRoutes = &v89 + this.OutDiscards = &v89 } if r.Intn(10) != 0 { v90 := int64(r.Int63()) if r.Intn(2) == 0 { v90 *= -1 } - this.ReasmTimeout = &v90 + this.OutNoRoutes = &v90 } if r.Intn(10) != 0 { v91 := int64(r.Int63()) if r.Intn(2) == 0 { v91 *= -1 } - this.ReasmReqds = &v91 + this.ReasmTimeout = &v91 } if r.Intn(10) != 0 { v92 := int64(r.Int63()) if r.Intn(2) == 0 { v92 *= -1 } - this.ReasmOKs = &v92 + this.ReasmReqds = &v92 } if r.Intn(10) != 0 { v93 := int64(r.Int63()) if r.Intn(2) == 0 { v93 *= -1 } - this.ReasmFails = &v93 + this.ReasmOKs = &v93 } if r.Intn(10) != 0 { v94 := int64(r.Int63()) if r.Intn(2) == 0 { v94 *= -1 } - this.FragOKs = &v94 + this.ReasmFails = &v94 } if r.Intn(10) != 0 { v95 := int64(r.Int63()) if r.Intn(2) == 0 { v95 *= -1 } - this.FragFails = &v95 + this.FragOKs = &v95 } if r.Intn(10) != 0 { v96 := int64(r.Int63()) if r.Intn(2) == 0 { v96 *= -1 } - this.FragCreates = &v96 + this.FragFails = &v96 + } + if r.Intn(10) != 0 { + v97 := int64(r.Int63()) + if r.Intn(2) == 0 { + v97 *= -1 + } + this.FragCreates = &v97 } if !easy && r.Intn(10) != 0 { } @@ -30298,194 +32270,194 @@ func NewPopulatedIpStatistics(r randyMesos, easy bool) *IpStatistics { func NewPopulatedIcmpStatistics(r randyMesos, easy bool) *IcmpStatistics { this := &IcmpStatistics{} - if r.Intn(10) != 0 { - v97 := int64(r.Int63()) - if r.Intn(2) == 0 { - v97 *= -1 - } - this.InMsgs = &v97 - } if r.Intn(10) != 0 { v98 := int64(r.Int63()) if r.Intn(2) == 0 { v98 *= -1 } - this.InErrors = &v98 + this.InMsgs = &v98 } if r.Intn(10) != 0 { v99 := int64(r.Int63()) if r.Intn(2) == 0 { v99 *= -1 } - this.InCsumErrors = &v99 + this.InErrors = &v99 } if r.Intn(10) != 0 { v100 := int64(r.Int63()) if r.Intn(2) == 0 { v100 *= -1 } - this.InDestUnreachs = &v100 + this.InCsumErrors = &v100 } if r.Intn(10) != 0 { v101 := int64(r.Int63()) if r.Intn(2) == 0 { v101 *= -1 } - this.InTimeExcds = &v101 + this.InDestUnreachs = &v101 } if r.Intn(10) != 0 { v102 := int64(r.Int63()) if r.Intn(2) == 0 { v102 *= -1 } - this.InParmProbs = &v102 + this.InTimeExcds = &v102 } if r.Intn(10) != 0 { v103 := int64(r.Int63()) if r.Intn(2) == 0 { v103 *= -1 } - this.InSrcQuenchs = &v103 + this.InParmProbs = &v103 } if r.Intn(10) != 0 { v104 := int64(r.Int63()) if r.Intn(2) == 0 { v104 *= -1 } - this.InRedirects = &v104 + this.InSrcQuenchs = &v104 } if r.Intn(10) != 0 { v105 := int64(r.Int63()) if r.Intn(2) == 0 { v105 *= -1 } - this.InEchos = &v105 + this.InRedirects = &v105 } if r.Intn(10) != 0 { v106 := int64(r.Int63()) if r.Intn(2) == 0 { v106 *= -1 } - this.InEchoReps = &v106 + this.InEchos = &v106 } if r.Intn(10) != 0 { v107 := int64(r.Int63()) if r.Intn(2) == 0 { v107 *= -1 } - this.InTimestamps = &v107 + this.InEchoReps = &v107 } if r.Intn(10) != 0 { v108 := int64(r.Int63()) if r.Intn(2) == 0 { v108 *= -1 } - this.InTimestampReps = &v108 + this.InTimestamps = &v108 } if r.Intn(10) != 0 { v109 := int64(r.Int63()) if r.Intn(2) == 0 { v109 *= -1 } - this.InAddrMasks = &v109 + this.InTimestampReps = &v109 } if r.Intn(10) != 0 { v110 := int64(r.Int63()) if r.Intn(2) == 0 { v110 *= -1 } - this.InAddrMaskReps = &v110 + this.InAddrMasks = &v110 } if r.Intn(10) != 0 { v111 := int64(r.Int63()) if r.Intn(2) == 0 { v111 *= -1 } - this.OutMsgs = &v111 + this.InAddrMaskReps = &v111 } if r.Intn(10) != 0 { v112 := int64(r.Int63()) if r.Intn(2) == 0 { v112 *= -1 } - this.OutErrors = &v112 + this.OutMsgs = &v112 } if r.Intn(10) != 0 { v113 := int64(r.Int63()) if r.Intn(2) == 0 { v113 *= -1 } - this.OutDestUnreachs = &v113 + this.OutErrors = &v113 } if r.Intn(10) != 0 { v114 := int64(r.Int63()) if r.Intn(2) == 0 { v114 *= -1 } - this.OutTimeExcds = &v114 + this.OutDestUnreachs = &v114 } if r.Intn(10) != 0 { v115 := int64(r.Int63()) if r.Intn(2) == 0 { v115 *= -1 } - this.OutParmProbs = &v115 + this.OutTimeExcds = &v115 } if r.Intn(10) != 0 { v116 := int64(r.Int63()) if r.Intn(2) == 0 { v116 *= -1 } - this.OutSrcQuenchs = &v116 + this.OutParmProbs = &v116 } if r.Intn(10) != 0 { v117 := int64(r.Int63()) if r.Intn(2) == 0 { v117 *= -1 } - this.OutRedirects = &v117 + this.OutSrcQuenchs = &v117 } if r.Intn(10) != 0 { v118 := int64(r.Int63()) if r.Intn(2) == 0 { v118 *= -1 } - this.OutEchos = &v118 + this.OutRedirects = &v118 } if r.Intn(10) != 0 { v119 := int64(r.Int63()) if r.Intn(2) == 0 { v119 *= -1 } - this.OutEchoReps = &v119 + this.OutEchos = &v119 } if r.Intn(10) != 0 { v120 := int64(r.Int63()) if r.Intn(2) == 0 { v120 *= -1 } - this.OutTimestamps = &v120 + this.OutEchoReps = &v120 } if r.Intn(10) != 0 { v121 := int64(r.Int63()) if r.Intn(2) == 0 { v121 *= -1 } - this.OutTimestampReps = &v121 + this.OutTimestamps = &v121 } if r.Intn(10) != 0 { v122 := int64(r.Int63()) if r.Intn(2) == 0 { v122 *= -1 } - this.OutAddrMasks = &v122 + this.OutTimestampReps = &v122 } if r.Intn(10) != 0 { v123 := int64(r.Int63()) if r.Intn(2) == 0 { v123 *= -1 } - this.OutAddrMaskReps = &v123 + this.OutAddrMasks = &v123 + } + if r.Intn(10) != 0 { + v124 := int64(r.Int63()) + if r.Intn(2) == 0 { + v124 *= -1 + } + this.OutAddrMaskReps = &v124 } if !easy && r.Intn(10) != 0 { } @@ -30494,110 +32466,110 @@ func NewPopulatedIcmpStatistics(r randyMesos, easy bool) *IcmpStatistics { func NewPopulatedTcpStatistics(r randyMesos, easy bool) *TcpStatistics { this := &TcpStatistics{} - if r.Intn(10) != 0 { - v124 := int64(r.Int63()) - if r.Intn(2) == 0 { - v124 *= -1 - } - this.RtoAlgorithm = &v124 - } if r.Intn(10) != 0 { v125 := int64(r.Int63()) if r.Intn(2) == 0 { v125 *= -1 } - this.RtoMin = &v125 + this.RtoAlgorithm = &v125 } if r.Intn(10) != 0 { v126 := int64(r.Int63()) if r.Intn(2) == 0 { v126 *= -1 } - this.RtoMax = &v126 + this.RtoMin = &v126 } if r.Intn(10) != 0 { v127 := int64(r.Int63()) if r.Intn(2) == 0 { v127 *= -1 } - this.MaxConn = &v127 + this.RtoMax = &v127 } if r.Intn(10) != 0 { v128 := int64(r.Int63()) if r.Intn(2) == 0 { v128 *= -1 } - this.ActiveOpens = &v128 + this.MaxConn = &v128 } if r.Intn(10) != 0 { v129 := int64(r.Int63()) if r.Intn(2) == 0 { v129 *= -1 } - this.PassiveOpens = &v129 + this.ActiveOpens = &v129 } if r.Intn(10) != 0 { v130 := int64(r.Int63()) if r.Intn(2) == 0 { v130 *= -1 } - this.AttemptFails = &v130 + this.PassiveOpens = &v130 } if r.Intn(10) != 0 { v131 := int64(r.Int63()) if r.Intn(2) == 0 { v131 *= -1 } - this.EstabResets = &v131 + this.AttemptFails = &v131 } if r.Intn(10) != 0 { v132 := int64(r.Int63()) if r.Intn(2) == 0 { v132 *= -1 } - this.CurrEstab = &v132 + this.EstabResets = &v132 } if r.Intn(10) != 0 { v133 := int64(r.Int63()) if r.Intn(2) == 0 { v133 *= -1 } - this.InSegs = &v133 + this.CurrEstab = &v133 } if r.Intn(10) != 0 { v134 := int64(r.Int63()) if r.Intn(2) == 0 { v134 *= -1 } - this.OutSegs = &v134 + this.InSegs = &v134 } if r.Intn(10) != 0 { v135 := int64(r.Int63()) if r.Intn(2) == 0 { v135 *= -1 } - this.RetransSegs = &v135 + this.OutSegs = &v135 } if r.Intn(10) != 0 { v136 := int64(r.Int63()) if r.Intn(2) == 0 { v136 *= -1 } - this.InErrs = &v136 + this.RetransSegs = &v136 } if r.Intn(10) != 0 { v137 := int64(r.Int63()) if r.Intn(2) == 0 { v137 *= -1 } - this.OutRsts = &v137 + this.InErrs = &v137 } if r.Intn(10) != 0 { v138 := int64(r.Int63()) if r.Intn(2) == 0 { v138 *= -1 } - this.InCsumErrors = &v138 + this.OutRsts = &v138 + } + if r.Intn(10) != 0 { + v139 := int64(r.Int63()) + if r.Intn(2) == 0 { + v139 *= -1 + } + this.InCsumErrors = &v139 } if !easy && r.Intn(10) != 0 { } @@ -30606,61 +32578,61 @@ func NewPopulatedTcpStatistics(r randyMesos, easy bool) *TcpStatistics { func NewPopulatedUdpStatistics(r randyMesos, easy bool) *UdpStatistics { this := &UdpStatistics{} - if r.Intn(10) != 0 { - v139 := int64(r.Int63()) - if r.Intn(2) == 0 { - v139 *= -1 - } - this.InDatagrams = &v139 - } if r.Intn(10) != 0 { v140 := int64(r.Int63()) if r.Intn(2) == 0 { v140 *= -1 } - this.NoPorts = &v140 + this.InDatagrams = &v140 } if r.Intn(10) != 0 { v141 := int64(r.Int63()) if r.Intn(2) == 0 { v141 *= -1 } - this.InErrors = &v141 + this.NoPorts = &v141 } if r.Intn(10) != 0 { v142 := int64(r.Int63()) if r.Intn(2) == 0 { v142 *= -1 } - this.OutDatagrams = &v142 + this.InErrors = &v142 } if r.Intn(10) != 0 { v143 := int64(r.Int63()) if r.Intn(2) == 0 { v143 *= -1 } - this.RcvbufErrors = &v143 + this.OutDatagrams = &v143 } if r.Intn(10) != 0 { v144 := int64(r.Int63()) if r.Intn(2) == 0 { v144 *= -1 } - this.SndbufErrors = &v144 + this.RcvbufErrors = &v144 } if r.Intn(10) != 0 { v145 := int64(r.Int63()) if r.Intn(2) == 0 { v145 *= -1 } - this.InCsumErrors = &v145 + this.SndbufErrors = &v145 } if r.Intn(10) != 0 { v146 := int64(r.Int63()) if r.Intn(2) == 0 { v146 *= -1 } - this.IgnoredMulti = &v146 + this.InCsumErrors = &v146 + } + if r.Intn(10) != 0 { + v147 := int64(r.Int63()) + if r.Intn(2) == 0 { + v147 *= -1 + } + this.IgnoredMulti = &v147 } if !easy && r.Intn(10) != 0 { } @@ -30686,6 +32658,27 @@ func NewPopulatedSNMPStatistics(r randyMesos, easy bool) *SNMPStatistics { return this } +func NewPopulatedDiskStatistics(r randyMesos, easy bool) *DiskStatistics { + this := &DiskStatistics{} + if r.Intn(10) != 0 { + this.Source = NewPopulatedResource_DiskInfo_Source(r, easy) + } + if r.Intn(10) != 0 { + this.Persistence = NewPopulatedResource_DiskInfo_Persistence(r, easy) + } + if r.Intn(10) != 0 { + v148 := uint64(uint64(r.Uint32())) + this.LimitBytes = &v148 + } + if r.Intn(10) != 0 { + v149 := uint64(uint64(r.Uint32())) + this.UsedBytes = &v149 + } + if !easy && r.Intn(10) != 0 { + } + return this +} + func NewPopulatedResourceStatistics(r randyMesos, easy bool) *ResourceStatistics { this := &ResourceStatistics{} this.Timestamp = float64(r.Float64()) @@ -30693,201 +32686,209 @@ func NewPopulatedResourceStatistics(r randyMesos, easy bool) *ResourceStatistics this.Timestamp *= -1 } if r.Intn(10) != 0 { - v147 := float64(r.Float64()) + v150 := float64(r.Float64()) if r.Intn(2) == 0 { - v147 *= -1 + v150 *= -1 } - this.CPUsUserTimeSecs = &v147 + this.CPUsUserTimeSecs = &v150 } if r.Intn(10) != 0 { - v148 := float64(r.Float64()) + v151 := float64(r.Float64()) if r.Intn(2) == 0 { - v148 *= -1 + v151 *= -1 } - this.CPUsSystemTimeSecs = &v148 + this.CPUsSystemTimeSecs = &v151 } if r.Intn(10) != 0 { - v149 := float64(r.Float64()) + v152 := float64(r.Float64()) if r.Intn(2) == 0 { - v149 *= -1 + v152 *= -1 } - this.CPUsLimit = &v149 + this.CPUsLimit = &v152 } if r.Intn(10) != 0 { - v150 := uint64(uint64(r.Uint32())) - this.MemRSSBytes = &v150 + v153 := uint64(uint64(r.Uint32())) + this.MemRSSBytes = &v153 } if r.Intn(10) != 0 { - v151 := uint64(uint64(r.Uint32())) - this.MemLimitBytes = &v151 + v154 := uint64(uint64(r.Uint32())) + this.MemLimitBytes = &v154 } if r.Intn(10) != 0 { - v152 := uint32(r.Uint32()) - this.CPUsNrPeriods = &v152 + v155 := uint32(r.Uint32()) + this.CPUsNrPeriods = &v155 } if r.Intn(10) != 0 { - v153 := uint32(r.Uint32()) - this.CPUsNrThrottled = &v153 + v156 := uint32(r.Uint32()) + this.CPUsNrThrottled = &v156 } if r.Intn(10) != 0 { - v154 := float64(r.Float64()) + v157 := float64(r.Float64()) if r.Intn(2) == 0 { - v154 *= -1 + v157 *= -1 } - this.CPUsThrottledTimeSecs = &v154 + this.CPUsThrottledTimeSecs = &v157 } if r.Intn(10) != 0 { - v155 := uint64(uint64(r.Uint32())) - this.MemFileBytes = &v155 + v158 := uint64(uint64(r.Uint32())) + this.MemFileBytes = &v158 } if r.Intn(10) != 0 { - v156 := uint64(uint64(r.Uint32())) - this.MemAnonBytes = &v156 + v159 := uint64(uint64(r.Uint32())) + this.MemAnonBytes = &v159 } if r.Intn(10) != 0 { - v157 := uint64(uint64(r.Uint32())) - this.MemMappedFileBytes = &v157 + v160 := uint64(uint64(r.Uint32())) + this.MemMappedFileBytes = &v160 } if r.Intn(10) != 0 { this.Perf = NewPopulatedPerfStatistics(r, easy) } if r.Intn(10) != 0 { - v158 := uint64(uint64(r.Uint32())) - this.NetRxPackets = &v158 + v161 := uint64(uint64(r.Uint32())) + this.NetRxPackets = &v161 } if r.Intn(10) != 0 { - v159 := uint64(uint64(r.Uint32())) - this.NetRxBytes = &v159 + v162 := uint64(uint64(r.Uint32())) + this.NetRxBytes = &v162 } if r.Intn(10) != 0 { - v160 := uint64(uint64(r.Uint32())) - this.NetRxErrors = &v160 + v163 := uint64(uint64(r.Uint32())) + this.NetRxErrors = &v163 } if r.Intn(10) != 0 { - v161 := uint64(uint64(r.Uint32())) - this.NetRxDropped = &v161 + v164 := uint64(uint64(r.Uint32())) + this.NetRxDropped = &v164 } if r.Intn(10) != 0 { - v162 := uint64(uint64(r.Uint32())) - this.NetTxPackets = &v162 + v165 := uint64(uint64(r.Uint32())) + this.NetTxPackets = &v165 } if r.Intn(10) != 0 { - v163 := uint64(uint64(r.Uint32())) - this.NetTxBytes = &v163 + v166 := uint64(uint64(r.Uint32())) + this.NetTxBytes = &v166 } if r.Intn(10) != 0 { - v164 := uint64(uint64(r.Uint32())) - this.NetTxErrors = &v164 + v167 := uint64(uint64(r.Uint32())) + this.NetTxErrors = &v167 } if r.Intn(10) != 0 { - v165 := uint64(uint64(r.Uint32())) - this.NetTxDropped = &v165 + v168 := uint64(uint64(r.Uint32())) + this.NetTxDropped = &v168 } if r.Intn(10) != 0 { - v166 := float64(r.Float64()) + v169 := float64(r.Float64()) if r.Intn(2) == 0 { - v166 *= -1 + v169 *= -1 } - this.NetTCPRttMicrosecsP50 = &v166 + this.NetTCPRttMicrosecsP50 = &v169 } if r.Intn(10) != 0 { - v167 := float64(r.Float64()) + v170 := float64(r.Float64()) if r.Intn(2) == 0 { - v167 *= -1 + v170 *= -1 } - this.NetTCPRttMicrosecsP90 = &v167 + this.NetTCPRttMicrosecsP90 = &v170 } if r.Intn(10) != 0 { - v168 := float64(r.Float64()) + v171 := float64(r.Float64()) if r.Intn(2) == 0 { - v168 *= -1 + v171 *= -1 } - this.NetTCPRttMicrosecsP95 = &v168 + this.NetTCPRttMicrosecsP95 = &v171 } if r.Intn(10) != 0 { - v169 := float64(r.Float64()) + v172 := float64(r.Float64()) if r.Intn(2) == 0 { - v169 *= -1 + v172 *= -1 } - this.NetTCPRttMicrosecsP99 = &v169 + this.NetTCPRttMicrosecsP99 = &v172 } if r.Intn(10) != 0 { - v170 := uint64(uint64(r.Uint32())) - this.DiskLimitBytes = &v170 + v173 := uint64(uint64(r.Uint32())) + this.DiskLimitBytes = &v173 } if r.Intn(10) != 0 { - v171 := uint64(uint64(r.Uint32())) - this.DiskUsedBytes = &v171 + v174 := uint64(uint64(r.Uint32())) + this.DiskUsedBytes = &v174 } if r.Intn(10) != 0 { - v172 := float64(r.Float64()) + v175 := float64(r.Float64()) if r.Intn(2) == 0 { - v172 *= -1 + v175 *= -1 } - this.NetTCPActiveConnections = &v172 + this.NetTCPActiveConnections = &v175 } if r.Intn(10) != 0 { - v173 := float64(r.Float64()) + v176 := float64(r.Float64()) if r.Intn(2) == 0 { - v173 *= -1 + v176 *= -1 } - this.NetTCPTimeWaitConnections = &v173 + this.NetTCPTimeWaitConnections = &v176 } if r.Intn(10) != 0 { - v174 := uint32(r.Uint32()) - this.Processes = &v174 + v177 := uint32(r.Uint32()) + this.Processes = &v177 } if r.Intn(10) != 0 { - v175 := uint32(r.Uint32()) - this.Threads = &v175 + v178 := uint32(r.Uint32()) + this.Threads = &v178 } if r.Intn(10) != 0 { - v176 := uint64(uint64(r.Uint32())) - this.MemLowPressureCounter = &v176 + v179 := uint64(uint64(r.Uint32())) + this.MemLowPressureCounter = &v179 } if r.Intn(10) != 0 { - v177 := uint64(uint64(r.Uint32())) - this.MemMediumPressureCounter = &v177 + v180 := uint64(uint64(r.Uint32())) + this.MemMediumPressureCounter = &v180 } if r.Intn(10) != 0 { - v178 := uint64(uint64(r.Uint32())) - this.MemCriticalPressureCounter = &v178 + v181 := uint64(uint64(r.Uint32())) + this.MemCriticalPressureCounter = &v181 } if r.Intn(10) != 0 { - v179 := r.Intn(5) - this.NetTrafficControlStatistics = make([]TrafficControlStatistics, v179) - for i := 0; i < v179; i++ { - v180 := NewPopulatedTrafficControlStatistics(r, easy) - this.NetTrafficControlStatistics[i] = *v180 + v182 := r.Intn(5) + this.NetTrafficControlStatistics = make([]TrafficControlStatistics, v182) + for i := 0; i < v182; i++ { + v183 := NewPopulatedTrafficControlStatistics(r, easy) + this.NetTrafficControlStatistics[i] = *v183 } } if r.Intn(10) != 0 { - v181 := uint64(uint64(r.Uint32())) - this.MemTotalBytes = &v181 + v184 := uint64(uint64(r.Uint32())) + this.MemTotalBytes = &v184 } if r.Intn(10) != 0 { - v182 := uint64(uint64(r.Uint32())) - this.MemTotalMemswBytes = &v182 + v185 := uint64(uint64(r.Uint32())) + this.MemTotalMemswBytes = &v185 } if r.Intn(10) != 0 { - v183 := uint64(uint64(r.Uint32())) - this.MemSoftLimitBytes = &v183 + v186 := uint64(uint64(r.Uint32())) + this.MemSoftLimitBytes = &v186 } if r.Intn(10) != 0 { - v184 := uint64(uint64(r.Uint32())) - this.MemCacheBytes = &v184 + v187 := uint64(uint64(r.Uint32())) + this.MemCacheBytes = &v187 } if r.Intn(10) != 0 { - v185 := uint64(uint64(r.Uint32())) - this.MemSwapBytes = &v185 + v188 := uint64(uint64(r.Uint32())) + this.MemSwapBytes = &v188 } if r.Intn(10) != 0 { - v186 := uint64(uint64(r.Uint32())) - this.MemUnevictableBytes = &v186 + v189 := uint64(uint64(r.Uint32())) + this.MemUnevictableBytes = &v189 } if r.Intn(10) != 0 { this.NetSNMPStatistics = NewPopulatedSNMPStatistics(r, easy) } + if r.Intn(10) != 0 { + v190 := r.Intn(5) + this.DiskStatistics = make([]DiskStatistics, v190) + for i := 0; i < v190; i++ { + v191 := NewPopulatedDiskStatistics(r, easy) + this.DiskStatistics[i] = *v191 + } + } if !easy && r.Intn(10) != 0 { } return this @@ -30896,19 +32897,19 @@ func NewPopulatedResourceStatistics(r randyMesos, easy bool) *ResourceStatistics func NewPopulatedResourceUsage(r randyMesos, easy bool) *ResourceUsage { this := &ResourceUsage{} if r.Intn(10) == 0 { - v187 := r.Intn(5) - this.Executors = make([]ResourceUsage_Executor, v187) - for i := 0; i < v187; i++ { - v188 := NewPopulatedResourceUsage_Executor(r, easy) - this.Executors[i] = *v188 + v192 := r.Intn(5) + this.Executors = make([]ResourceUsage_Executor, v192) + for i := 0; i < v192; i++ { + v193 := NewPopulatedResourceUsage_Executor(r, easy) + this.Executors[i] = *v193 } } if r.Intn(10) != 0 { - v189 := r.Intn(5) - this.Total = make([]Resource, v189) - for i := 0; i < v189; i++ { - v190 := NewPopulatedResource(r, easy) - this.Total[i] = *v190 + v194 := r.Intn(5) + this.Total = make([]Resource, v194) + for i := 0; i < v194; i++ { + v195 := NewPopulatedResource(r, easy) + this.Total[i] = *v195 } } if !easy && r.Intn(10) != 0 { @@ -30918,27 +32919,27 @@ func NewPopulatedResourceUsage(r randyMesos, easy bool) *ResourceUsage { func NewPopulatedResourceUsage_Executor(r randyMesos, easy bool) *ResourceUsage_Executor { this := &ResourceUsage_Executor{} - v191 := NewPopulatedExecutorInfo(r, easy) - this.ExecutorInfo = *v191 + v196 := NewPopulatedExecutorInfo(r, easy) + this.ExecutorInfo = *v196 if r.Intn(10) != 0 { - v192 := r.Intn(5) - this.Allocated = make([]Resource, v192) - for i := 0; i < v192; i++ { - v193 := NewPopulatedResource(r, easy) - this.Allocated[i] = *v193 + v197 := r.Intn(5) + this.Allocated = make([]Resource, v197) + for i := 0; i < v197; i++ { + v198 := NewPopulatedResource(r, easy) + this.Allocated[i] = *v198 } } if r.Intn(10) != 0 { this.Statistics = NewPopulatedResourceStatistics(r, easy) } - v194 := NewPopulatedContainerID(r, easy) - this.ContainerID = *v194 + v199 := NewPopulatedContainerID(r, easy) + this.ContainerID = *v199 if r.Intn(10) != 0 { - v195 := r.Intn(5) - this.Tasks = make([]ResourceUsage_Executor_Task, v195) - for i := 0; i < v195; i++ { - v196 := NewPopulatedResourceUsage_Executor_Task(r, easy) - this.Tasks[i] = *v196 + v200 := r.Intn(5) + this.Tasks = make([]ResourceUsage_Executor_Task, v200) + for i := 0; i < v200; i++ { + v201 := NewPopulatedResourceUsage_Executor_Task(r, easy) + this.Tasks[i] = *v201 } } if !easy && r.Intn(10) != 0 { @@ -30949,14 +32950,14 @@ func NewPopulatedResourceUsage_Executor(r randyMesos, easy bool) *ResourceUsage_ func NewPopulatedResourceUsage_Executor_Task(r randyMesos, easy bool) *ResourceUsage_Executor_Task { this := &ResourceUsage_Executor_Task{} this.Name = string(randStringMesos(r)) - v197 := NewPopulatedTaskID(r, easy) - this.ID = *v197 + v202 := NewPopulatedTaskID(r, easy) + this.ID = *v202 if r.Intn(10) != 0 { - v198 := r.Intn(5) - this.Resources = make([]Resource, v198) - for i := 0; i < v198; i++ { - v199 := NewPopulatedResource(r, easy) - this.Resources[i] = *v199 + v203 := r.Intn(5) + this.Resources = make([]Resource, v203) + for i := 0; i < v203; i++ { + v204 := NewPopulatedResource(r, easy) + this.Resources[i] = *v204 } } if r.Intn(10) != 0 { @@ -30977,215 +32978,215 @@ func NewPopulatedPerfStatistics(r randyMesos, easy bool) *PerfStatistics { if r.Intn(2) == 0 { this.Duration *= -1 } - if r.Intn(10) != 0 { - v200 := uint64(uint64(r.Uint32())) - this.Cycles = &v200 - } - if r.Intn(10) != 0 { - v201 := uint64(uint64(r.Uint32())) - this.StalledCyclesFrontend = &v201 - } - if r.Intn(10) != 0 { - v202 := uint64(uint64(r.Uint32())) - this.StalledCyclesBackend = &v202 - } - if r.Intn(10) != 0 { - v203 := uint64(uint64(r.Uint32())) - this.Instructions = &v203 - } - if r.Intn(10) != 0 { - v204 := uint64(uint64(r.Uint32())) - this.CacheReferences = &v204 - } if r.Intn(10) != 0 { v205 := uint64(uint64(r.Uint32())) - this.CacheMisses = &v205 + this.Cycles = &v205 } if r.Intn(10) != 0 { v206 := uint64(uint64(r.Uint32())) - this.Branches = &v206 + this.StalledCyclesFrontend = &v206 } if r.Intn(10) != 0 { v207 := uint64(uint64(r.Uint32())) - this.BranchMisses = &v207 + this.StalledCyclesBackend = &v207 } if r.Intn(10) != 0 { v208 := uint64(uint64(r.Uint32())) - this.BusCycles = &v208 + this.Instructions = &v208 } if r.Intn(10) != 0 { v209 := uint64(uint64(r.Uint32())) - this.RefCycles = &v209 + this.CacheReferences = &v209 } if r.Intn(10) != 0 { - v210 := float64(r.Float64()) - if r.Intn(2) == 0 { - v210 *= -1 - } - this.CPUClock = &v210 + v210 := uint64(uint64(r.Uint32())) + this.CacheMisses = &v210 } if r.Intn(10) != 0 { - v211 := float64(r.Float64()) - if r.Intn(2) == 0 { - v211 *= -1 - } - this.TaskClock = &v211 + v211 := uint64(uint64(r.Uint32())) + this.Branches = &v211 } if r.Intn(10) != 0 { v212 := uint64(uint64(r.Uint32())) - this.PageFaults = &v212 + this.BranchMisses = &v212 } if r.Intn(10) != 0 { v213 := uint64(uint64(r.Uint32())) - this.MinorFaults = &v213 + this.BusCycles = &v213 } if r.Intn(10) != 0 { v214 := uint64(uint64(r.Uint32())) - this.MajorFaults = &v214 + this.RefCycles = &v214 } if r.Intn(10) != 0 { - v215 := uint64(uint64(r.Uint32())) - this.ContextSwitches = &v215 + v215 := float64(r.Float64()) + if r.Intn(2) == 0 { + v215 *= -1 + } + this.CPUClock = &v215 } if r.Intn(10) != 0 { - v216 := uint64(uint64(r.Uint32())) - this.CPUMigrations = &v216 + v216 := float64(r.Float64()) + if r.Intn(2) == 0 { + v216 *= -1 + } + this.TaskClock = &v216 } if r.Intn(10) != 0 { v217 := uint64(uint64(r.Uint32())) - this.AlignmentFaults = &v217 + this.PageFaults = &v217 } if r.Intn(10) != 0 { v218 := uint64(uint64(r.Uint32())) - this.EmulationFaults = &v218 + this.MinorFaults = &v218 } if r.Intn(10) != 0 { v219 := uint64(uint64(r.Uint32())) - this.L1DcacheLoads = &v219 + this.MajorFaults = &v219 } if r.Intn(10) != 0 { v220 := uint64(uint64(r.Uint32())) - this.L1DcacheLoadMisses = &v220 + this.ContextSwitches = &v220 } if r.Intn(10) != 0 { v221 := uint64(uint64(r.Uint32())) - this.L1DcacheStores = &v221 + this.CPUMigrations = &v221 } if r.Intn(10) != 0 { v222 := uint64(uint64(r.Uint32())) - this.L1DcacheStoreMisses = &v222 + this.AlignmentFaults = &v222 } if r.Intn(10) != 0 { v223 := uint64(uint64(r.Uint32())) - this.L1DcachePrefetches = &v223 + this.EmulationFaults = &v223 } if r.Intn(10) != 0 { v224 := uint64(uint64(r.Uint32())) - this.L1DcachePrefetchMisses = &v224 + this.L1DcacheLoads = &v224 } if r.Intn(10) != 0 { v225 := uint64(uint64(r.Uint32())) - this.L1IcacheLoads = &v225 + this.L1DcacheLoadMisses = &v225 } if r.Intn(10) != 0 { v226 := uint64(uint64(r.Uint32())) - this.L1IcacheLoadMisses = &v226 + this.L1DcacheStores = &v226 } if r.Intn(10) != 0 { v227 := uint64(uint64(r.Uint32())) - this.L1IcachePrefetches = &v227 + this.L1DcacheStoreMisses = &v227 } if r.Intn(10) != 0 { v228 := uint64(uint64(r.Uint32())) - this.L1IcachePrefetchMisses = &v228 + this.L1DcachePrefetches = &v228 } if r.Intn(10) != 0 { v229 := uint64(uint64(r.Uint32())) - this.LLCLoads = &v229 + this.L1DcachePrefetchMisses = &v229 } if r.Intn(10) != 0 { v230 := uint64(uint64(r.Uint32())) - this.LLCLoadMisses = &v230 + this.L1IcacheLoads = &v230 } if r.Intn(10) != 0 { v231 := uint64(uint64(r.Uint32())) - this.LLCStores = &v231 + this.L1IcacheLoadMisses = &v231 } if r.Intn(10) != 0 { v232 := uint64(uint64(r.Uint32())) - this.LLCStoreMisses = &v232 + this.L1IcachePrefetches = &v232 } if r.Intn(10) != 0 { v233 := uint64(uint64(r.Uint32())) - this.LLCPrefetches = &v233 + this.L1IcachePrefetchMisses = &v233 } if r.Intn(10) != 0 { v234 := uint64(uint64(r.Uint32())) - this.LLCPrefetchMisses = &v234 + this.LLCLoads = &v234 } if r.Intn(10) != 0 { v235 := uint64(uint64(r.Uint32())) - this.DTLBLoads = &v235 + this.LLCLoadMisses = &v235 } if r.Intn(10) != 0 { v236 := uint64(uint64(r.Uint32())) - this.DTLBLoadMisses = &v236 + this.LLCStores = &v236 } if r.Intn(10) != 0 { v237 := uint64(uint64(r.Uint32())) - this.DTLBStores = &v237 + this.LLCStoreMisses = &v237 } if r.Intn(10) != 0 { v238 := uint64(uint64(r.Uint32())) - this.DTLBStoreMisses = &v238 + this.LLCPrefetches = &v238 } if r.Intn(10) != 0 { v239 := uint64(uint64(r.Uint32())) - this.DTLBPrefetches = &v239 + this.LLCPrefetchMisses = &v239 } if r.Intn(10) != 0 { v240 := uint64(uint64(r.Uint32())) - this.DTLBPrefetchMisses = &v240 + this.DTLBLoads = &v240 } if r.Intn(10) != 0 { v241 := uint64(uint64(r.Uint32())) - this.ITLBLoads = &v241 + this.DTLBLoadMisses = &v241 } if r.Intn(10) != 0 { v242 := uint64(uint64(r.Uint32())) - this.ITLBLoadMisses = &v242 + this.DTLBStores = &v242 } if r.Intn(10) != 0 { v243 := uint64(uint64(r.Uint32())) - this.BranchLoads = &v243 + this.DTLBStoreMisses = &v243 } if r.Intn(10) != 0 { v244 := uint64(uint64(r.Uint32())) - this.BranchLoadMisses = &v244 + this.DTLBPrefetches = &v244 } if r.Intn(10) != 0 { v245 := uint64(uint64(r.Uint32())) - this.NodeLoads = &v245 + this.DTLBPrefetchMisses = &v245 } if r.Intn(10) != 0 { v246 := uint64(uint64(r.Uint32())) - this.NodeLoadMisses = &v246 + this.ITLBLoads = &v246 } if r.Intn(10) != 0 { v247 := uint64(uint64(r.Uint32())) - this.NodeStores = &v247 + this.ITLBLoadMisses = &v247 } if r.Intn(10) != 0 { v248 := uint64(uint64(r.Uint32())) - this.NodeStoreMisses = &v248 + this.BranchLoads = &v248 } if r.Intn(10) != 0 { v249 := uint64(uint64(r.Uint32())) - this.NodePrefetches = &v249 + this.BranchLoadMisses = &v249 } if r.Intn(10) != 0 { v250 := uint64(uint64(r.Uint32())) - this.NodePrefetchMisses = &v250 + this.NodeLoads = &v250 + } + if r.Intn(10) != 0 { + v251 := uint64(uint64(r.Uint32())) + this.NodeLoadMisses = &v251 + } + if r.Intn(10) != 0 { + v252 := uint64(uint64(r.Uint32())) + this.NodeStores = &v252 + } + if r.Intn(10) != 0 { + v253 := uint64(uint64(r.Uint32())) + this.NodeStoreMisses = &v253 + } + if r.Intn(10) != 0 { + v254 := uint64(uint64(r.Uint32())) + this.NodePrefetches = &v254 + } + if r.Intn(10) != 0 { + v255 := uint64(uint64(r.Uint32())) + this.NodePrefetchMisses = &v255 } if !easy && r.Intn(10) != 0 { } @@ -31198,11 +33199,11 @@ func NewPopulatedRequest(r randyMesos, easy bool) *Request { this.AgentID = NewPopulatedAgentID(r, easy) } if r.Intn(10) != 0 { - v251 := r.Intn(5) - this.Resources = make([]Resource, v251) - for i := 0; i < v251; i++ { - v252 := NewPopulatedResource(r, easy) - this.Resources[i] = *v252 + v256 := r.Intn(5) + this.Resources = make([]Resource, v256) + for i := 0; i < v256; i++ { + v257 := NewPopulatedResource(r, easy) + this.Resources[i] = *v257 } } if !easy && r.Intn(10) != 0 { @@ -31212,35 +33213,35 @@ func NewPopulatedRequest(r randyMesos, easy bool) *Request { func NewPopulatedOffer(r randyMesos, easy bool) *Offer { this := &Offer{} - v253 := NewPopulatedOfferID(r, easy) - this.ID = *v253 - v254 := NewPopulatedFrameworkID(r, easy) - this.FrameworkID = *v254 - v255 := NewPopulatedAgentID(r, easy) - this.AgentID = *v255 + v258 := NewPopulatedOfferID(r, easy) + this.ID = *v258 + v259 := NewPopulatedFrameworkID(r, easy) + this.FrameworkID = *v259 + v260 := NewPopulatedAgentID(r, easy) + this.AgentID = *v260 this.Hostname = string(randStringMesos(r)) if r.Intn(10) != 0 { - v256 := r.Intn(5) - this.Resources = make([]Resource, v256) - for i := 0; i < v256; i++ { - v257 := NewPopulatedResource(r, easy) - this.Resources[i] = *v257 + v261 := r.Intn(5) + this.Resources = make([]Resource, v261) + for i := 0; i < v261; i++ { + v262 := NewPopulatedResource(r, easy) + this.Resources[i] = *v262 } } if r.Intn(10) != 0 { - v258 := r.Intn(5) - this.ExecutorIDs = make([]ExecutorID, v258) - for i := 0; i < v258; i++ { - v259 := NewPopulatedExecutorID(r, easy) - this.ExecutorIDs[i] = *v259 + v263 := r.Intn(5) + this.ExecutorIDs = make([]ExecutorID, v263) + for i := 0; i < v263; i++ { + v264 := NewPopulatedExecutorID(r, easy) + this.ExecutorIDs[i] = *v264 } } if r.Intn(10) != 0 { - v260 := r.Intn(5) - this.Attributes = make([]Attribute, v260) - for i := 0; i < v260; i++ { - v261 := NewPopulatedAttribute(r, easy) - this.Attributes[i] = *v261 + v265 := r.Intn(5) + this.Attributes = make([]Attribute, v265) + for i := 0; i < v265; i++ { + v266 := NewPopulatedAttribute(r, easy) + this.Attributes[i] = *v266 } } if r.Intn(10) != 0 { @@ -31286,11 +33287,11 @@ func NewPopulatedOffer_Operation(r randyMesos, easy bool) *Offer_Operation { func NewPopulatedOffer_Operation_Launch(r randyMesos, easy bool) *Offer_Operation_Launch { this := &Offer_Operation_Launch{} if r.Intn(10) != 0 { - v262 := r.Intn(5) - this.TaskInfos = make([]TaskInfo, v262) - for i := 0; i < v262; i++ { - v263 := NewPopulatedTaskInfo(r, easy) - this.TaskInfos[i] = *v263 + v267 := r.Intn(5) + this.TaskInfos = make([]TaskInfo, v267) + for i := 0; i < v267; i++ { + v268 := NewPopulatedTaskInfo(r, easy) + this.TaskInfos[i] = *v268 } } if !easy && r.Intn(10) != 0 { @@ -31300,10 +33301,10 @@ func NewPopulatedOffer_Operation_Launch(r randyMesos, easy bool) *Offer_Operatio func NewPopulatedOffer_Operation_LaunchGroup(r randyMesos, easy bool) *Offer_Operation_LaunchGroup { this := &Offer_Operation_LaunchGroup{} - v264 := NewPopulatedExecutorInfo(r, easy) - this.Executor = *v264 - v265 := NewPopulatedTaskGroupInfo(r, easy) - this.TaskGroup = *v265 + v269 := NewPopulatedExecutorInfo(r, easy) + this.Executor = *v269 + v270 := NewPopulatedTaskGroupInfo(r, easy) + this.TaskGroup = *v270 if !easy && r.Intn(10) != 0 { } return this @@ -31312,11 +33313,11 @@ func NewPopulatedOffer_Operation_LaunchGroup(r randyMesos, easy bool) *Offer_Ope func NewPopulatedOffer_Operation_Reserve(r randyMesos, easy bool) *Offer_Operation_Reserve { this := &Offer_Operation_Reserve{} if r.Intn(10) != 0 { - v266 := r.Intn(5) - this.Resources = make([]Resource, v266) - for i := 0; i < v266; i++ { - v267 := NewPopulatedResource(r, easy) - this.Resources[i] = *v267 + v271 := r.Intn(5) + this.Resources = make([]Resource, v271) + for i := 0; i < v271; i++ { + v272 := NewPopulatedResource(r, easy) + this.Resources[i] = *v272 } } if !easy && r.Intn(10) != 0 { @@ -31327,11 +33328,11 @@ func NewPopulatedOffer_Operation_Reserve(r randyMesos, easy bool) *Offer_Operati func NewPopulatedOffer_Operation_Unreserve(r randyMesos, easy bool) *Offer_Operation_Unreserve { this := &Offer_Operation_Unreserve{} if r.Intn(10) != 0 { - v268 := r.Intn(5) - this.Resources = make([]Resource, v268) - for i := 0; i < v268; i++ { - v269 := NewPopulatedResource(r, easy) - this.Resources[i] = *v269 + v273 := r.Intn(5) + this.Resources = make([]Resource, v273) + for i := 0; i < v273; i++ { + v274 := NewPopulatedResource(r, easy) + this.Resources[i] = *v274 } } if !easy && r.Intn(10) != 0 { @@ -31342,11 +33343,11 @@ func NewPopulatedOffer_Operation_Unreserve(r randyMesos, easy bool) *Offer_Opera func NewPopulatedOffer_Operation_Create(r randyMesos, easy bool) *Offer_Operation_Create { this := &Offer_Operation_Create{} if r.Intn(10) != 0 { - v270 := r.Intn(5) - this.Volumes = make([]Resource, v270) - for i := 0; i < v270; i++ { - v271 := NewPopulatedResource(r, easy) - this.Volumes[i] = *v271 + v275 := r.Intn(5) + this.Volumes = make([]Resource, v275) + for i := 0; i < v275; i++ { + v276 := NewPopulatedResource(r, easy) + this.Volumes[i] = *v276 } } if !easy && r.Intn(10) != 0 { @@ -31357,11 +33358,11 @@ func NewPopulatedOffer_Operation_Create(r randyMesos, easy bool) *Offer_Operatio func NewPopulatedOffer_Operation_Destroy(r randyMesos, easy bool) *Offer_Operation_Destroy { this := &Offer_Operation_Destroy{} if r.Intn(10) != 0 { - v272 := r.Intn(5) - this.Volumes = make([]Resource, v272) - for i := 0; i < v272; i++ { - v273 := NewPopulatedResource(r, easy) - this.Volumes[i] = *v273 + v277 := r.Intn(5) + this.Volumes = make([]Resource, v277) + for i := 0; i < v277; i++ { + v278 := NewPopulatedResource(r, easy) + this.Volumes[i] = *v278 } } if !easy && r.Intn(10) != 0 { @@ -31371,24 +33372,24 @@ func NewPopulatedOffer_Operation_Destroy(r randyMesos, easy bool) *Offer_Operati func NewPopulatedInverseOffer(r randyMesos, easy bool) *InverseOffer { this := &InverseOffer{} - v274 := NewPopulatedOfferID(r, easy) - this.OfferID = *v274 + v279 := NewPopulatedOfferID(r, easy) + this.OfferID = *v279 if r.Intn(10) != 0 { this.URL = NewPopulatedURL(r, easy) } - v275 := NewPopulatedFrameworkID(r, easy) - this.FrameworkID = *v275 + v280 := NewPopulatedFrameworkID(r, easy) + this.FrameworkID = *v280 if r.Intn(10) != 0 { this.AgentID = NewPopulatedAgentID(r, easy) } - v276 := NewPopulatedUnavailability(r, easy) - this.Unavailability = *v276 + v281 := NewPopulatedUnavailability(r, easy) + this.Unavailability = *v281 if r.Intn(10) != 0 { - v277 := r.Intn(5) - this.Resources = make([]Resource, v277) - for i := 0; i < v277; i++ { - v278 := NewPopulatedResource(r, easy) - this.Resources[i] = *v278 + v282 := r.Intn(5) + this.Resources = make([]Resource, v282) + for i := 0; i < v282; i++ { + v283 := NewPopulatedResource(r, easy) + this.Resources[i] = *v283 } } if !easy && r.Intn(10) != 0 { @@ -31399,25 +33400,25 @@ func NewPopulatedInverseOffer(r randyMesos, easy bool) *InverseOffer { func NewPopulatedTaskInfo(r randyMesos, easy bool) *TaskInfo { this := &TaskInfo{} this.Name = string(randStringMesos(r)) - v279 := NewPopulatedTaskID(r, easy) - this.TaskID = *v279 - v280 := NewPopulatedAgentID(r, easy) - this.AgentID = *v280 + v284 := NewPopulatedTaskID(r, easy) + this.TaskID = *v284 + v285 := NewPopulatedAgentID(r, easy) + this.AgentID = *v285 if r.Intn(10) != 0 { - v281 := r.Intn(5) - this.Resources = make([]Resource, v281) - for i := 0; i < v281; i++ { - v282 := NewPopulatedResource(r, easy) - this.Resources[i] = *v282 + v286 := r.Intn(5) + this.Resources = make([]Resource, v286) + for i := 0; i < v286; i++ { + v287 := NewPopulatedResource(r, easy) + this.Resources[i] = *v287 } } if r.Intn(10) != 0 { this.Executor = NewPopulatedExecutorInfo(r, easy) } if r.Intn(10) != 0 { - v283 := r.Intn(100) - this.Data = make([]byte, v283) - for i := 0; i < v283; i++ { + v288 := r.Intn(100) + this.Data = make([]byte, v288) + for i := 0; i < v288; i++ { this.Data[i] = byte(r.Intn(256)) } } @@ -31450,11 +33451,11 @@ func NewPopulatedTaskInfo(r randyMesos, easy bool) *TaskInfo { func NewPopulatedTaskGroupInfo(r randyMesos, easy bool) *TaskGroupInfo { this := &TaskGroupInfo{} if r.Intn(10) != 0 { - v284 := r.Intn(5) - this.Tasks = make([]TaskInfo, v284) - for i := 0; i < v284; i++ { - v285 := NewPopulatedTaskInfo(r, easy) - this.Tasks[i] = *v285 + v289 := r.Intn(5) + this.Tasks = make([]TaskInfo, v289) + for i := 0; i < v289; i++ { + v290 := NewPopulatedTaskInfo(r, easy) + this.Tasks[i] = *v290 } } if !easy && r.Intn(10) != 0 { @@ -31465,41 +33466,41 @@ func NewPopulatedTaskGroupInfo(r randyMesos, easy bool) *TaskGroupInfo { func NewPopulatedTask(r randyMesos, easy bool) *Task { this := &Task{} this.Name = string(randStringMesos(r)) - v286 := NewPopulatedTaskID(r, easy) - this.TaskID = *v286 - v287 := NewPopulatedFrameworkID(r, easy) - this.FrameworkID = *v287 + v291 := NewPopulatedTaskID(r, easy) + this.TaskID = *v291 + v292 := NewPopulatedFrameworkID(r, easy) + this.FrameworkID = *v292 if r.Intn(10) != 0 { this.ExecutorID = NewPopulatedExecutorID(r, easy) } - v288 := NewPopulatedAgentID(r, easy) - this.AgentID = *v288 - v289 := TaskState([]int32{6, 0, 1, 8, 2, 3, 4, 7, 5, 9, 10, 11, 12, 13}[r.Intn(14)]) - this.State = &v289 + v293 := NewPopulatedAgentID(r, easy) + this.AgentID = *v293 + v294 := TaskState([]int32{6, 0, 1, 8, 2, 3, 4, 7, 5, 9, 10, 11, 12, 13}[r.Intn(14)]) + this.State = &v294 if r.Intn(10) != 0 { - v290 := r.Intn(5) - this.Resources = make([]Resource, v290) - for i := 0; i < v290; i++ { - v291 := NewPopulatedResource(r, easy) - this.Resources[i] = *v291 + v295 := r.Intn(5) + this.Resources = make([]Resource, v295) + for i := 0; i < v295; i++ { + v296 := NewPopulatedResource(r, easy) + this.Resources[i] = *v296 } } if r.Intn(10) == 0 { - v292 := r.Intn(5) - this.Statuses = make([]TaskStatus, v292) - for i := 0; i < v292; i++ { - v293 := NewPopulatedTaskStatus(r, easy) - this.Statuses[i] = *v293 + v297 := r.Intn(5) + this.Statuses = make([]TaskStatus, v297) + for i := 0; i < v297; i++ { + v298 := NewPopulatedTaskStatus(r, easy) + this.Statuses[i] = *v298 } } if r.Intn(10) != 0 { - v294 := TaskState([]int32{6, 0, 1, 8, 2, 3, 4, 7, 5, 9, 10, 11, 12, 13}[r.Intn(14)]) - this.StatusUpdateState = &v294 + v299 := TaskState([]int32{6, 0, 1, 8, 2, 3, 4, 7, 5, 9, 10, 11, 12, 13}[r.Intn(14)]) + this.StatusUpdateState = &v299 } if r.Intn(10) != 0 { - v295 := r.Intn(100) - this.StatusUpdateUUID = make([]byte, v295) - for i := 0; i < v295; i++ { + v300 := r.Intn(100) + this.StatusUpdateUUID = make([]byte, v300) + for i := 0; i < v300; i++ { this.StatusUpdateUUID[i] = byte(r.Intn(256)) } } @@ -31513,8 +33514,8 @@ func NewPopulatedTask(r randyMesos, easy bool) *Task { this.Container = NewPopulatedContainerInfo(r, easy) } if r.Intn(10) != 0 { - v296 := string(randStringMesos(r)) - this.User = &v296 + v301 := string(randStringMesos(r)) + this.User = &v301 } if !easy && r.Intn(10) != 0 { } @@ -31524,8 +33525,8 @@ func NewPopulatedTask(r randyMesos, easy bool) *Task { func NewPopulatedCheckStatusInfo(r randyMesos, easy bool) *CheckStatusInfo { this := &CheckStatusInfo{} if r.Intn(10) != 0 { - v297 := CheckInfo_Type([]int32{0, 1, 2}[r.Intn(3)]) - this.Type = &v297 + v302 := CheckInfo_Type([]int32{0, 1, 2, 3}[r.Intn(4)]) + this.Type = &v302 } if r.Intn(10) != 0 { this.Command = NewPopulatedCheckStatusInfo_Command(r, easy) @@ -31533,6 +33534,9 @@ func NewPopulatedCheckStatusInfo(r randyMesos, easy bool) *CheckStatusInfo { if r.Intn(10) != 0 { this.HTTP = NewPopulatedCheckStatusInfo_Http(r, easy) } + if r.Intn(10) != 0 { + this.TCP = NewPopulatedCheckStatusInfo_Tcp(r, easy) + } if !easy && r.Intn(10) != 0 { } return this @@ -31541,11 +33545,11 @@ func NewPopulatedCheckStatusInfo(r randyMesos, easy bool) *CheckStatusInfo { func NewPopulatedCheckStatusInfo_Command(r randyMesos, easy bool) *CheckStatusInfo_Command { this := &CheckStatusInfo_Command{} if r.Intn(10) != 0 { - v298 := int32(r.Int31()) + v303 := int32(r.Int31()) if r.Intn(2) == 0 { - v298 *= -1 + v303 *= -1 } - this.ExitCode = &v298 + this.ExitCode = &v303 } if !easy && r.Intn(10) != 0 { } @@ -31555,8 +33559,19 @@ func NewPopulatedCheckStatusInfo_Command(r randyMesos, easy bool) *CheckStatusIn func NewPopulatedCheckStatusInfo_Http(r randyMesos, easy bool) *CheckStatusInfo_Http { this := &CheckStatusInfo_Http{} if r.Intn(10) != 0 { - v299 := uint32(r.Uint32()) - this.StatusCode = &v299 + v304 := uint32(r.Uint32()) + this.StatusCode = &v304 + } + if !easy && r.Intn(10) != 0 { + } + return this +} + +func NewPopulatedCheckStatusInfo_Tcp(r randyMesos, easy bool) *CheckStatusInfo_Tcp { + this := &CheckStatusInfo_Tcp{} + if r.Intn(10) != 0 { + v305 := bool(bool(r.Intn(2) == 0)) + this.Succeeded = &v305 } if !easy && r.Intn(10) != 0 { } @@ -31565,50 +33580,50 @@ func NewPopulatedCheckStatusInfo_Http(r randyMesos, easy bool) *CheckStatusInfo_ func NewPopulatedTaskStatus(r randyMesos, easy bool) *TaskStatus { this := &TaskStatus{} - v300 := NewPopulatedTaskID(r, easy) - this.TaskID = *v300 - v301 := TaskState([]int32{6, 0, 1, 8, 2, 3, 4, 7, 5, 9, 10, 11, 12, 13}[r.Intn(14)]) - this.State = &v301 - if r.Intn(10) != 0 { - v302 := r.Intn(100) - this.Data = make([]byte, v302) - for i := 0; i < v302; i++ { + v306 := NewPopulatedTaskID(r, easy) + this.TaskID = *v306 + v307 := TaskState([]int32{6, 0, 1, 8, 2, 3, 4, 7, 5, 9, 10, 11, 12, 13}[r.Intn(14)]) + this.State = &v307 + if r.Intn(10) != 0 { + v308 := r.Intn(100) + this.Data = make([]byte, v308) + for i := 0; i < v308; i++ { this.Data[i] = byte(r.Intn(256)) } } if r.Intn(10) != 0 { - v303 := string(randStringMesos(r)) - this.Message = &v303 + v309 := string(randStringMesos(r)) + this.Message = &v309 } if r.Intn(10) != 0 { this.AgentID = NewPopulatedAgentID(r, easy) } if r.Intn(10) != 0 { - v304 := float64(r.Float64()) + v310 := float64(r.Float64()) if r.Intn(2) == 0 { - v304 *= -1 + v310 *= -1 } - this.Timestamp = &v304 + this.Timestamp = &v310 } if r.Intn(10) != 0 { this.ExecutorID = NewPopulatedExecutorID(r, easy) } if r.Intn(10) != 0 { - v305 := bool(bool(r.Intn(2) == 0)) - this.Healthy = &v305 + v311 := bool(bool(r.Intn(2) == 0)) + this.Healthy = &v311 } if r.Intn(10) != 0 { - v306 := TaskStatus_Source([]int32{0, 1, 2}[r.Intn(3)]) - this.Source = &v306 + v312 := TaskStatus_Source([]int32{0, 1, 2}[r.Intn(3)]) + this.Source = &v312 } if r.Intn(10) != 0 { - v307 := TaskStatus_Reason([]int32{0, 21, 19, 20, 8, 17, 22, 23, 24, 1, 2, 3, 4, 5, 6, 27, 7, 9, 18, 10, 11, 12, 13, 28, 25, 26, 14, 15, 16}[r.Intn(29)]) - this.Reason = &v307 + v313 := TaskStatus_Reason([]int32{0, 21, 19, 20, 8, 17, 22, 23, 24, 1, 2, 3, 4, 5, 6, 27, 7, 9, 18, 10, 11, 12, 13, 30, 28, 25, 26, 14, 15, 16}[r.Intn(30)]) + this.Reason = &v313 } if r.Intn(10) != 0 { - v308 := r.Intn(100) - this.UUID = make([]byte, v308) - for i := 0; i < v308; i++ { + v314 := r.Intn(100) + this.UUID = make([]byte, v314) + for i := 0; i < v314; i++ { this.UUID[i] = byte(r.Intn(256)) } } @@ -31632,11 +33647,11 @@ func NewPopulatedTaskStatus(r randyMesos, easy bool) *TaskStatus { func NewPopulatedFilters(r randyMesos, easy bool) *Filters { this := &Filters{} if r.Intn(10) != 0 { - v309 := float64(r.Float64()) + v315 := float64(r.Float64()) if r.Intn(2) == 0 { - v309 *= -1 + v315 *= -1 } - this.RefuseSeconds = &v309 + this.RefuseSeconds = &v315 } if !easy && r.Intn(10) != 0 { } @@ -31646,11 +33661,11 @@ func NewPopulatedFilters(r randyMesos, easy bool) *Filters { func NewPopulatedEnvironment(r randyMesos, easy bool) *Environment { this := &Environment{} if r.Intn(10) != 0 { - v310 := r.Intn(5) - this.Variables = make([]Environment_Variable, v310) - for i := 0; i < v310; i++ { - v311 := NewPopulatedEnvironment_Variable(r, easy) - this.Variables[i] = *v311 + v316 := r.Intn(5) + this.Variables = make([]Environment_Variable, v316) + for i := 0; i < v316; i++ { + v317 := NewPopulatedEnvironment_Variable(r, easy) + this.Variables[i] = *v317 } } if !easy && r.Intn(10) != 0 { @@ -31662,8 +33677,15 @@ func NewPopulatedEnvironment_Variable(r randyMesos, easy bool) *Environment_Vari this := &Environment_Variable{} this.Name = string(randStringMesos(r)) if r.Intn(10) != 0 { - v312 := string(randStringMesos(r)) - this.Value = &v312 + v318 := string(randStringMesos(r)) + this.Value = &v318 + } + if r.Intn(10) != 0 { + v319 := Environment_Variable_Type([]int32{0, 1, 2}[r.Intn(3)]) + this.Type = &v319 + } + if r.Intn(10) != 0 { + this.Secret = NewPopulatedSecret(r, easy) } if !easy && r.Intn(10) != 0 { } @@ -31682,11 +33704,11 @@ func NewPopulatedParameter(r randyMesos, easy bool) *Parameter { func NewPopulatedParameters(r randyMesos, easy bool) *Parameters { this := &Parameters{} if r.Intn(10) != 0 { - v313 := r.Intn(5) - this.Parameter = make([]Parameter, v313) - for i := 0; i < v313; i++ { - v314 := NewPopulatedParameter(r, easy) - this.Parameter[i] = *v314 + v320 := r.Intn(5) + this.Parameter = make([]Parameter, v320) + for i := 0; i < v320; i++ { + v321 := NewPopulatedParameter(r, easy) + this.Parameter[i] = *v321 } } if !easy && r.Intn(10) != 0 { @@ -31698,8 +33720,8 @@ func NewPopulatedCredential(r randyMesos, easy bool) *Credential { this := &Credential{} this.Principal = string(randStringMesos(r)) if r.Intn(10) != 0 { - v315 := string(randStringMesos(r)) - this.Secret = &v315 + v322 := string(randStringMesos(r)) + this.Secret = &v322 } if !easy && r.Intn(10) != 0 { } @@ -31709,11 +33731,11 @@ func NewPopulatedCredential(r randyMesos, easy bool) *Credential { func NewPopulatedCredentials(r randyMesos, easy bool) *Credentials { this := &Credentials{} if r.Intn(10) != 0 { - v316 := r.Intn(5) - this.Credentials = make([]Credential, v316) - for i := 0; i < v316; i++ { - v317 := NewPopulatedCredential(r, easy) - this.Credentials[i] = *v317 + v323 := r.Intn(5) + this.Credentials = make([]Credential, v323) + for i := 0; i < v323; i++ { + v324 := NewPopulatedCredential(r, easy) + this.Credentials[i] = *v324 } } if !easy && r.Intn(10) != 0 { @@ -31721,19 +33743,57 @@ func NewPopulatedCredentials(r randyMesos, easy bool) *Credentials { return this } +func NewPopulatedSecret(r randyMesos, easy bool) *Secret { + this := &Secret{} + this.Type = Secret_Type([]int32{0, 1, 2}[r.Intn(3)]) + if r.Intn(10) != 0 { + this.Reference = NewPopulatedSecret_Reference(r, easy) + } + if r.Intn(10) != 0 { + this.Value = NewPopulatedSecret_Value(r, easy) + } + if !easy && r.Intn(10) != 0 { + } + return this +} + +func NewPopulatedSecret_Reference(r randyMesos, easy bool) *Secret_Reference { + this := &Secret_Reference{} + this.Name = string(randStringMesos(r)) + if r.Intn(10) != 0 { + v325 := string(randStringMesos(r)) + this.Key = &v325 + } + if !easy && r.Intn(10) != 0 { + } + return this +} + +func NewPopulatedSecret_Value(r randyMesos, easy bool) *Secret_Value { + this := &Secret_Value{} + v326 := r.Intn(100) + this.Data = make([]byte, v326) + for i := 0; i < v326; i++ { + this.Data[i] = byte(r.Intn(256)) + } + if !easy && r.Intn(10) != 0 { + } + return this +} + func NewPopulatedRateLimit(r randyMesos, easy bool) *RateLimit { this := &RateLimit{} if r.Intn(10) != 0 { - v318 := float64(r.Float64()) + v327 := float64(r.Float64()) if r.Intn(2) == 0 { - v318 *= -1 + v327 *= -1 } - this.QPS = &v318 + this.QPS = &v327 } this.Principal = string(randStringMesos(r)) if r.Intn(10) != 0 { - v319 := uint64(uint64(r.Uint32())) - this.Capacity = &v319 + v328 := uint64(uint64(r.Uint32())) + this.Capacity = &v328 } if !easy && r.Intn(10) != 0 { } @@ -31743,23 +33803,23 @@ func NewPopulatedRateLimit(r randyMesos, easy bool) *RateLimit { func NewPopulatedRateLimits(r randyMesos, easy bool) *RateLimits { this := &RateLimits{} if r.Intn(10) != 0 { - v320 := r.Intn(5) - this.Limits = make([]RateLimit, v320) - for i := 0; i < v320; i++ { - v321 := NewPopulatedRateLimit(r, easy) - this.Limits[i] = *v321 + v329 := r.Intn(5) + this.Limits = make([]RateLimit, v329) + for i := 0; i < v329; i++ { + v330 := NewPopulatedRateLimit(r, easy) + this.Limits[i] = *v330 } } if r.Intn(10) != 0 { - v322 := float64(r.Float64()) + v331 := float64(r.Float64()) if r.Intn(2) == 0 { - v322 *= -1 + v331 *= -1 } - this.AggregateDefaultQPS = &v322 + this.AggregateDefaultQPS = &v331 } if r.Intn(10) != 0 { - v323 := uint64(uint64(r.Uint32())) - this.AggregateDefaultCapacity = &v323 + v332 := uint64(uint64(r.Uint32())) + this.AggregateDefaultCapacity = &v332 } if !easy && r.Intn(10) != 0 { } @@ -31768,8 +33828,8 @@ func NewPopulatedRateLimits(r randyMesos, easy bool) *RateLimits { func NewPopulatedImage(r randyMesos, easy bool) *Image { this := &Image{} - v324 := Image_Type([]int32{1, 2}[r.Intn(2)]) - this.Type = &v324 + v333 := Image_Type([]int32{1, 2}[r.Intn(2)]) + this.Type = &v333 if r.Intn(10) != 0 { this.Appc = NewPopulatedImage_Appc(r, easy) } @@ -31777,8 +33837,8 @@ func NewPopulatedImage(r randyMesos, easy bool) *Image { this.Docker = NewPopulatedImage_Docker(r, easy) } if r.Intn(10) != 0 { - v325 := bool(bool(r.Intn(2) == 0)) - this.Cached = &v325 + v334 := bool(bool(r.Intn(2) == 0)) + this.Cached = &v334 } if !easy && r.Intn(10) != 0 { } @@ -31789,8 +33849,8 @@ func NewPopulatedImage_Appc(r randyMesos, easy bool) *Image_Appc { this := &Image_Appc{} this.Name = string(randStringMesos(r)) if r.Intn(10) != 0 { - v326 := string(randStringMesos(r)) - this.ID = &v326 + v335 := string(randStringMesos(r)) + this.ID = &v335 } if r.Intn(10) != 0 { this.Labels = NewPopulatedLabels(r, easy) @@ -31806,6 +33866,9 @@ func NewPopulatedImage_Docker(r randyMesos, easy bool) *Image_Docker { if r.Intn(10) != 0 { this.Credential = NewPopulatedCredential(r, easy) } + if r.Intn(10) != 0 { + this.Config = NewPopulatedSecret(r, easy) + } if !easy && r.Intn(10) != 0 { } return this @@ -31815,11 +33878,11 @@ func NewPopulatedVolume(r randyMesos, easy bool) *Volume { this := &Volume{} this.ContainerPath = string(randStringMesos(r)) if r.Intn(10) != 0 { - v327 := string(randStringMesos(r)) - this.HostPath = &v327 + v336 := string(randStringMesos(r)) + this.HostPath = &v336 } - v328 := Volume_Mode([]int32{1, 2}[r.Intn(2)]) - this.Mode = &v328 + v337 := Volume_Mode([]int32{1, 2}[r.Intn(2)]) + this.Mode = &v337 if r.Intn(10) != 0 { this.Image = NewPopulatedImage(r, easy) } @@ -31833,13 +33896,16 @@ func NewPopulatedVolume(r randyMesos, easy bool) *Volume { func NewPopulatedVolume_Source(r randyMesos, easy bool) *Volume_Source { this := &Volume_Source{} - this.Type = Volume_Source_Type([]int32{0, 1, 2}[r.Intn(3)]) + this.Type = Volume_Source_Type([]int32{0, 1, 2, 3}[r.Intn(4)]) if r.Intn(10) != 0 { this.DockerVolume = NewPopulatedVolume_Source_DockerVolume(r, easy) } if r.Intn(10) != 0 { this.SandboxPath = NewPopulatedVolume_Source_SandboxPath(r, easy) } + if r.Intn(10) != 0 { + this.Secret = NewPopulatedSecret(r, easy) + } if !easy && r.Intn(10) != 0 { } return this @@ -31848,8 +33914,8 @@ func NewPopulatedVolume_Source(r randyMesos, easy bool) *Volume_Source { func NewPopulatedVolume_Source_DockerVolume(r randyMesos, easy bool) *Volume_Source_DockerVolume { this := &Volume_Source_DockerVolume{} if r.Intn(10) != 0 { - v329 := string(randStringMesos(r)) - this.Driver = &v329 + v338 := string(randStringMesos(r)) + this.Driver = &v338 } this.Name = string(randStringMesos(r)) if r.Intn(10) != 0 { @@ -31872,9 +33938,9 @@ func NewPopulatedVolume_Source_SandboxPath(r randyMesos, easy bool) *Volume_Sour func NewPopulatedNetworkInfo(r randyMesos, easy bool) *NetworkInfo { this := &NetworkInfo{} if r.Intn(10) != 0 { - v330 := r.Intn(10) - this.Groups = make([]string, v330) - for i := 0; i < v330; i++ { + v339 := r.Intn(10) + this.Groups = make([]string, v339) + for i := 0; i < v339; i++ { this.Groups[i] = string(randStringMesos(r)) } } @@ -31882,23 +33948,23 @@ func NewPopulatedNetworkInfo(r randyMesos, easy bool) *NetworkInfo { this.Labels = NewPopulatedLabels(r, easy) } if r.Intn(10) != 0 { - v331 := r.Intn(5) - this.IPAddresses = make([]NetworkInfo_IPAddress, v331) - for i := 0; i < v331; i++ { - v332 := NewPopulatedNetworkInfo_IPAddress(r, easy) - this.IPAddresses[i] = *v332 + v340 := r.Intn(5) + this.IPAddresses = make([]NetworkInfo_IPAddress, v340) + for i := 0; i < v340; i++ { + v341 := NewPopulatedNetworkInfo_IPAddress(r, easy) + this.IPAddresses[i] = *v341 } } if r.Intn(10) != 0 { - v333 := string(randStringMesos(r)) - this.Name = &v333 + v342 := string(randStringMesos(r)) + this.Name = &v342 } if r.Intn(10) != 0 { - v334 := r.Intn(5) - this.PortMappings = make([]NetworkInfo_PortMapping, v334) - for i := 0; i < v334; i++ { - v335 := NewPopulatedNetworkInfo_PortMapping(r, easy) - this.PortMappings[i] = *v335 + v343 := r.Intn(5) + this.PortMappings = make([]NetworkInfo_PortMapping, v343) + for i := 0; i < v343; i++ { + v344 := NewPopulatedNetworkInfo_PortMapping(r, easy) + this.PortMappings[i] = *v344 } } if !easy && r.Intn(10) != 0 { @@ -31909,12 +33975,12 @@ func NewPopulatedNetworkInfo(r randyMesos, easy bool) *NetworkInfo { func NewPopulatedNetworkInfo_IPAddress(r randyMesos, easy bool) *NetworkInfo_IPAddress { this := &NetworkInfo_IPAddress{} if r.Intn(10) != 0 { - v336 := NetworkInfo_Protocol([]int32{1, 2}[r.Intn(2)]) - this.Protocol = &v336 + v345 := NetworkInfo_Protocol([]int32{1, 2}[r.Intn(2)]) + this.Protocol = &v345 } if r.Intn(10) != 0 { - v337 := string(randStringMesos(r)) - this.IPAddress = &v337 + v346 := string(randStringMesos(r)) + this.IPAddress = &v346 } if !easy && r.Intn(10) != 0 { } @@ -31926,8 +33992,8 @@ func NewPopulatedNetworkInfo_PortMapping(r randyMesos, easy bool) *NetworkInfo_P this.HostPort = uint32(r.Uint32()) this.ContainerPort = uint32(r.Uint32()) if r.Intn(10) != 0 { - v338 := string(randStringMesos(r)) - this.Protocol = &v338 + v347 := string(randStringMesos(r)) + this.Protocol = &v347 } if !easy && r.Intn(10) != 0 { } @@ -31937,9 +34003,9 @@ func NewPopulatedNetworkInfo_PortMapping(r randyMesos, easy bool) *NetworkInfo_P func NewPopulatedCapabilityInfo(r randyMesos, easy bool) *CapabilityInfo { this := &CapabilityInfo{} if r.Intn(10) != 0 { - v339 := r.Intn(10) - this.Capabilities = make([]CapabilityInfo_Capability, v339) - for i := 0; i < v339; i++ { + v348 := r.Intn(10) + this.Capabilities = make([]CapabilityInfo_Capability, v348) + for i := 0; i < v348; i++ { this.Capabilities[i] = CapabilityInfo_Capability([]int32{0, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037}[r.Intn(39)]) } } @@ -31961,11 +34027,11 @@ func NewPopulatedLinuxInfo(r randyMesos, easy bool) *LinuxInfo { func NewPopulatedRLimitInfo(r randyMesos, easy bool) *RLimitInfo { this := &RLimitInfo{} if r.Intn(10) != 0 { - v340 := r.Intn(5) - this.Rlimits = make([]RLimitInfo_RLimit, v340) - for i := 0; i < v340; i++ { - v341 := NewPopulatedRLimitInfo_RLimit(r, easy) - this.Rlimits[i] = *v341 + v349 := r.Intn(5) + this.Rlimits = make([]RLimitInfo_RLimit, v349) + for i := 0; i < v349; i++ { + v350 := NewPopulatedRLimitInfo_RLimit(r, easy) + this.Rlimits[i] = *v350 } } if !easy && r.Intn(10) != 0 { @@ -31977,12 +34043,12 @@ func NewPopulatedRLimitInfo_RLimit(r randyMesos, easy bool) *RLimitInfo_RLimit { this := &RLimitInfo_RLimit{} this.Type = RLimitInfo_RLimit_Type([]int32{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}[r.Intn(17)]) if r.Intn(10) != 0 { - v342 := uint64(uint64(r.Uint32())) - this.Hard = &v342 + v351 := uint64(uint64(r.Uint32())) + this.Hard = &v351 } if r.Intn(10) != 0 { - v343 := uint64(uint64(r.Uint32())) - this.Soft = &v343 + v352 := uint64(uint64(r.Uint32())) + this.Soft = &v352 } if !easy && r.Intn(10) != 0 { } @@ -32010,32 +34076,32 @@ func NewPopulatedTTYInfo_WindowSize(r randyMesos, easy bool) *TTYInfo_WindowSize func NewPopulatedContainerInfo(r randyMesos, easy bool) *ContainerInfo { this := &ContainerInfo{} - v344 := ContainerInfo_Type([]int32{1, 2}[r.Intn(2)]) - this.Type = &v344 + v353 := ContainerInfo_Type([]int32{1, 2}[r.Intn(2)]) + this.Type = &v353 if r.Intn(10) != 0 { - v345 := r.Intn(5) - this.Volumes = make([]Volume, v345) - for i := 0; i < v345; i++ { - v346 := NewPopulatedVolume(r, easy) - this.Volumes[i] = *v346 + v354 := r.Intn(5) + this.Volumes = make([]Volume, v354) + for i := 0; i < v354; i++ { + v355 := NewPopulatedVolume(r, easy) + this.Volumes[i] = *v355 } } if r.Intn(10) != 0 { this.Docker = NewPopulatedContainerInfo_DockerInfo(r, easy) } if r.Intn(10) != 0 { - v347 := string(randStringMesos(r)) - this.Hostname = &v347 + v356 := string(randStringMesos(r)) + this.Hostname = &v356 } if r.Intn(10) != 0 { this.Mesos = NewPopulatedContainerInfo_MesosInfo(r, easy) } if r.Intn(10) != 0 { - v348 := r.Intn(5) - this.NetworkInfos = make([]NetworkInfo, v348) - for i := 0; i < v348; i++ { - v349 := NewPopulatedNetworkInfo(r, easy) - this.NetworkInfos[i] = *v349 + v357 := r.Intn(5) + this.NetworkInfos = make([]NetworkInfo, v357) + for i := 0; i < v357; i++ { + v358 := NewPopulatedNetworkInfo(r, easy) + this.NetworkInfos[i] = *v358 } } if r.Intn(10) != 0 { @@ -32056,36 +34122,36 @@ func NewPopulatedContainerInfo_DockerInfo(r randyMesos, easy bool) *ContainerInf this := &ContainerInfo_DockerInfo{} this.Image = string(randStringMesos(r)) if r.Intn(10) != 0 { - v350 := ContainerInfo_DockerInfo_Network([]int32{1, 2, 3, 4}[r.Intn(4)]) - this.Network = &v350 + v359 := ContainerInfo_DockerInfo_Network([]int32{1, 2, 3, 4}[r.Intn(4)]) + this.Network = &v359 } if r.Intn(10) != 0 { - v351 := r.Intn(5) - this.PortMappings = make([]ContainerInfo_DockerInfo_PortMapping, v351) - for i := 0; i < v351; i++ { - v352 := NewPopulatedContainerInfo_DockerInfo_PortMapping(r, easy) - this.PortMappings[i] = *v352 + v360 := r.Intn(5) + this.PortMappings = make([]ContainerInfo_DockerInfo_PortMapping, v360) + for i := 0; i < v360; i++ { + v361 := NewPopulatedContainerInfo_DockerInfo_PortMapping(r, easy) + this.PortMappings[i] = *v361 } } if r.Intn(10) != 0 { - v353 := bool(bool(r.Intn(2) == 0)) - this.Privileged = &v353 + v362 := bool(bool(r.Intn(2) == 0)) + this.Privileged = &v362 } if r.Intn(10) != 0 { - v354 := r.Intn(5) - this.Parameters = make([]Parameter, v354) - for i := 0; i < v354; i++ { - v355 := NewPopulatedParameter(r, easy) - this.Parameters[i] = *v355 + v363 := r.Intn(5) + this.Parameters = make([]Parameter, v363) + for i := 0; i < v363; i++ { + v364 := NewPopulatedParameter(r, easy) + this.Parameters[i] = *v364 } } if r.Intn(10) != 0 { - v356 := bool(bool(r.Intn(2) == 0)) - this.ForcePullImage = &v356 + v365 := bool(bool(r.Intn(2) == 0)) + this.ForcePullImage = &v365 } if r.Intn(10) != 0 { - v357 := string(randStringMesos(r)) - this.VolumeDriver = &v357 + v366 := string(randStringMesos(r)) + this.VolumeDriver = &v366 } if !easy && r.Intn(10) != 0 { } @@ -32097,8 +34163,8 @@ func NewPopulatedContainerInfo_DockerInfo_PortMapping(r randyMesos, easy bool) * this.HostPort = uint32(r.Uint32()) this.ContainerPort = uint32(r.Uint32()) if r.Intn(10) != 0 { - v358 := string(randStringMesos(r)) - this.Protocol = &v358 + v367 := string(randStringMesos(r)) + this.Protocol = &v367 } if !easy && r.Intn(10) != 0 { } @@ -32118,19 +34184,19 @@ func NewPopulatedContainerInfo_MesosInfo(r randyMesos, easy bool) *ContainerInfo func NewPopulatedContainerStatus(r randyMesos, easy bool) *ContainerStatus { this := &ContainerStatus{} if r.Intn(10) != 0 { - v359 := r.Intn(5) - this.NetworkInfos = make([]NetworkInfo, v359) - for i := 0; i < v359; i++ { - v360 := NewPopulatedNetworkInfo(r, easy) - this.NetworkInfos[i] = *v360 + v368 := r.Intn(5) + this.NetworkInfos = make([]NetworkInfo, v368) + for i := 0; i < v368; i++ { + v369 := NewPopulatedNetworkInfo(r, easy) + this.NetworkInfos[i] = *v369 } } if r.Intn(10) != 0 { this.CgroupInfo = NewPopulatedCgroupInfo(r, easy) } if r.Intn(10) != 0 { - v361 := uint32(r.Uint32()) - this.ExecutorPID = &v361 + v370 := uint32(r.Uint32()) + this.ExecutorPID = &v370 } if r.Intn(10) == 0 { this.ContainerID = NewPopulatedContainerID(r, easy) @@ -32153,8 +34219,8 @@ func NewPopulatedCgroupInfo(r randyMesos, easy bool) *CgroupInfo { func NewPopulatedCgroupInfo_NetCls(r randyMesos, easy bool) *CgroupInfo_NetCls { this := &CgroupInfo_NetCls{} if r.Intn(10) != 0 { - v362 := uint32(r.Uint32()) - this.ClassID = &v362 + v371 := uint32(r.Uint32()) + this.ClassID = &v371 } if !easy && r.Intn(10) != 0 { } @@ -32164,11 +34230,11 @@ func NewPopulatedCgroupInfo_NetCls(r randyMesos, easy bool) *CgroupInfo_NetCls { func NewPopulatedLabels(r randyMesos, easy bool) *Labels { this := &Labels{} if r.Intn(10) != 0 { - v363 := r.Intn(5) - this.Labels = make([]Label, v363) - for i := 0; i < v363; i++ { - v364 := NewPopulatedLabel(r, easy) - this.Labels[i] = *v364 + v372 := r.Intn(5) + this.Labels = make([]Label, v372) + for i := 0; i < v372; i++ { + v373 := NewPopulatedLabel(r, easy) + this.Labels[i] = *v373 } } if !easy && r.Intn(10) != 0 { @@ -32180,8 +34246,8 @@ func NewPopulatedLabel(r randyMesos, easy bool) *Label { this := &Label{} this.Key = string(randStringMesos(r)) if r.Intn(10) != 0 { - v365 := string(randStringMesos(r)) - this.Value = &v365 + v374 := string(randStringMesos(r)) + this.Value = &v374 } if !easy && r.Intn(10) != 0 { } @@ -32192,16 +34258,16 @@ func NewPopulatedPort(r randyMesos, easy bool) *Port { this := &Port{} this.Number = uint32(r.Uint32()) if r.Intn(10) != 0 { - v366 := string(randStringMesos(r)) - this.Name = &v366 + v375 := string(randStringMesos(r)) + this.Name = &v375 } if r.Intn(10) != 0 { - v367 := string(randStringMesos(r)) - this.Protocol = &v367 + v376 := string(randStringMesos(r)) + this.Protocol = &v376 } if r.Intn(10) != 0 { - v368 := DiscoveryInfo_Visibility([]int32{0, 1, 2}[r.Intn(3)]) - this.Visibility = &v368 + v377 := DiscoveryInfo_Visibility([]int32{0, 1, 2}[r.Intn(3)]) + this.Visibility = &v377 } if r.Intn(10) != 0 { this.Labels = NewPopulatedLabels(r, easy) @@ -32214,11 +34280,11 @@ func NewPopulatedPort(r randyMesos, easy bool) *Port { func NewPopulatedPorts(r randyMesos, easy bool) *Ports { this := &Ports{} if r.Intn(10) != 0 { - v369 := r.Intn(5) - this.Ports = make([]Port, v369) - for i := 0; i < v369; i++ { - v370 := NewPopulatedPort(r, easy) - this.Ports[i] = *v370 + v378 := r.Intn(5) + this.Ports = make([]Port, v378) + for i := 0; i < v378; i++ { + v379 := NewPopulatedPort(r, easy) + this.Ports[i] = *v379 } } if !easy && r.Intn(10) != 0 { @@ -32230,20 +34296,20 @@ func NewPopulatedDiscoveryInfo(r randyMesos, easy bool) *DiscoveryInfo { this := &DiscoveryInfo{} this.Visibility = DiscoveryInfo_Visibility([]int32{0, 1, 2}[r.Intn(3)]) if r.Intn(10) != 0 { - v371 := string(randStringMesos(r)) - this.Name = &v371 + v380 := string(randStringMesos(r)) + this.Name = &v380 } if r.Intn(10) != 0 { - v372 := string(randStringMesos(r)) - this.Environment = &v372 + v381 := string(randStringMesos(r)) + this.Environment = &v381 } if r.Intn(10) != 0 { - v373 := string(randStringMesos(r)) - this.Location = &v373 + v382 := string(randStringMesos(r)) + this.Location = &v382 } if r.Intn(10) != 0 { - v374 := string(randStringMesos(r)) - this.Version = &v374 + v383 := string(randStringMesos(r)) + this.Version = &v383 } if r.Intn(10) != 0 { this.Ports = NewPopulatedPorts(r, easy) @@ -32263,8 +34329,8 @@ func NewPopulatedWeightInfo(r randyMesos, easy bool) *WeightInfo { this.Weight *= -1 } if r.Intn(10) != 0 { - v375 := string(randStringMesos(r)) - this.Role = &v375 + v384 := string(randStringMesos(r)) + this.Role = &v384 } if !easy && r.Intn(10) != 0 { } @@ -32275,31 +34341,31 @@ func NewPopulatedVersionInfo(r randyMesos, easy bool) *VersionInfo { this := &VersionInfo{} this.Version = string(randStringMesos(r)) if r.Intn(10) != 0 { - v376 := string(randStringMesos(r)) - this.BuildDate = &v376 + v385 := string(randStringMesos(r)) + this.BuildDate = &v385 } if r.Intn(10) != 0 { - v377 := float64(r.Float64()) + v386 := float64(r.Float64()) if r.Intn(2) == 0 { - v377 *= -1 + v386 *= -1 } - this.BuildTime = &v377 + this.BuildTime = &v386 } if r.Intn(10) != 0 { - v378 := string(randStringMesos(r)) - this.BuildUser = &v378 + v387 := string(randStringMesos(r)) + this.BuildUser = &v387 } if r.Intn(10) != 0 { - v379 := string(randStringMesos(r)) - this.GitSHA = &v379 + v388 := string(randStringMesos(r)) + this.GitSHA = &v388 } if r.Intn(10) != 0 { - v380 := string(randStringMesos(r)) - this.GitBranch = &v380 + v389 := string(randStringMesos(r)) + this.GitBranch = &v389 } if r.Intn(10) != 0 { - v381 := string(randStringMesos(r)) - this.GitTag = &v381 + v390 := string(randStringMesos(r)) + this.GitTag = &v390 } if !easy && r.Intn(10) != 0 { } @@ -32310,8 +34376,8 @@ func NewPopulatedFlag(r randyMesos, easy bool) *Flag { this := &Flag{} this.Name = string(randStringMesos(r)) if r.Intn(10) != 0 { - v382 := string(randStringMesos(r)) - this.Value = &v382 + v391 := string(randStringMesos(r)) + this.Value = &v391 } if !easy && r.Intn(10) != 0 { } @@ -32326,19 +34392,19 @@ func NewPopulatedRole(r randyMesos, easy bool) *Role { this.Weight *= -1 } if r.Intn(10) != 0 { - v383 := r.Intn(5) - this.Frameworks = make([]FrameworkID, v383) - for i := 0; i < v383; i++ { - v384 := NewPopulatedFrameworkID(r, easy) - this.Frameworks[i] = *v384 + v392 := r.Intn(5) + this.Frameworks = make([]FrameworkID, v392) + for i := 0; i < v392; i++ { + v393 := NewPopulatedFrameworkID(r, easy) + this.Frameworks[i] = *v393 } } if r.Intn(10) != 0 { - v385 := r.Intn(5) - this.Resources = make([]Resource, v385) - for i := 0; i < v385; i++ { - v386 := NewPopulatedResource(r, easy) - this.Resources[i] = *v386 + v394 := r.Intn(5) + this.Resources = make([]Resource, v394) + for i := 0; i < v394; i++ { + v395 := NewPopulatedResource(r, easy) + this.Resources[i] = *v395 } } if !easy && r.Intn(10) != 0 { @@ -32350,11 +34416,11 @@ func NewPopulatedMetric(r randyMesos, easy bool) *Metric { this := &Metric{} this.Name = string(randStringMesos(r)) if r.Intn(10) != 0 { - v387 := float64(r.Float64()) + v396 := float64(r.Float64()) if r.Intn(2) == 0 { - v387 *= -1 + v396 *= -1 } - this.Value = &v387 + this.Value = &v396 } if !easy && r.Intn(10) != 0 { } @@ -32365,30 +34431,83 @@ func NewPopulatedFileInfo(r randyMesos, easy bool) *FileInfo { this := &FileInfo{} this.Path = string(randStringMesos(r)) if r.Intn(10) != 0 { - v388 := int32(r.Int31()) + v397 := int32(r.Int31()) if r.Intn(2) == 0 { - v388 *= -1 + v397 *= -1 } - this.Nlink = &v388 + this.Nlink = &v397 } if r.Intn(10) != 0 { - v389 := uint64(uint64(r.Uint32())) - this.Size = &v389 + v398 := uint64(uint64(r.Uint32())) + this.Size = &v398 } if r.Intn(10) != 0 { this.Mtime = NewPopulatedTimeInfo(r, easy) } if r.Intn(10) != 0 { - v390 := uint32(r.Uint32()) - this.Mode = &v390 + v399 := uint32(r.Uint32()) + this.Mode = &v399 } if r.Intn(10) != 0 { - v391 := string(randStringMesos(r)) - this.UID = &v391 + v400 := string(randStringMesos(r)) + this.UID = &v400 } if r.Intn(10) != 0 { - v392 := string(randStringMesos(r)) - this.GID = &v392 + v401 := string(randStringMesos(r)) + this.GID = &v401 + } + if !easy && r.Intn(10) != 0 { + } + return this +} + +func NewPopulatedDevice(r randyMesos, easy bool) *Device { + this := &Device{} + this.Path = string(randStringMesos(r)) + if !easy && r.Intn(10) != 0 { + } + return this +} + +func NewPopulatedDeviceAccess(r randyMesos, easy bool) *DeviceAccess { + this := &DeviceAccess{} + v402 := NewPopulatedDevice(r, easy) + this.Device = *v402 + v403 := NewPopulatedDeviceAccess_Access(r, easy) + this.Access = *v403 + if !easy && r.Intn(10) != 0 { + } + return this +} + +func NewPopulatedDeviceAccess_Access(r randyMesos, easy bool) *DeviceAccess_Access { + this := &DeviceAccess_Access{} + if r.Intn(10) != 0 { + v404 := bool(bool(r.Intn(2) == 0)) + this.Read = &v404 + } + if r.Intn(10) != 0 { + v405 := bool(bool(r.Intn(2) == 0)) + this.Write = &v405 + } + if r.Intn(10) != 0 { + v406 := bool(bool(r.Intn(2) == 0)) + this.Mknod = &v406 + } + if !easy && r.Intn(10) != 0 { + } + return this +} + +func NewPopulatedDeviceWhitelist(r randyMesos, easy bool) *DeviceWhitelist { + this := &DeviceWhitelist{} + if r.Intn(10) != 0 { + v407 := r.Intn(5) + this.AllowedDevices = make([]DeviceAccess, v407) + for i := 0; i < v407; i++ { + v408 := NewPopulatedDeviceAccess(r, easy) + this.AllowedDevices[i] = *v408 + } } if !easy && r.Intn(10) != 0 { } @@ -32414,9 +34533,9 @@ func randUTF8RuneMesos(r randyMesos) rune { return rune(ru + 61) } func randStringMesos(r randyMesos) string { - v393 := r.Intn(100) - tmps := make([]rune, v393) - for i := 0; i < v393; i++ { + v409 := r.Intn(100) + tmps := make([]rune, v409) + for i := 0; i < v409; i++ { tmps[i] = randUTF8RuneMesos(r) } return string(tmps) @@ -32438,11 +34557,11 @@ func randFieldMesos(dAtA []byte, r randyMesos, fieldNumber int, wire int) []byte switch wire { case 0: dAtA = encodeVarintPopulateMesos(dAtA, uint64(key)) - v394 := r.Int63() + v410 := r.Int63() if r.Intn(2) == 0 { - v394 *= -1 + v410 *= -1 } - dAtA = encodeVarintPopulateMesos(dAtA, uint64(v394)) + dAtA = encodeVarintPopulateMesos(dAtA, uint64(v410)) case 1: dAtA = encodeVarintPopulateMesos(dAtA, uint64(key)) dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) @@ -32519,6 +34638,14 @@ func (m *ContainerID) ProtoSize() (n int) { return n } +func (m *ResourceProviderID) ProtoSize() (n int) { + var l int + _ = l + l = len(m.Value) + n += 1 + l + sovMesos(uint64(l)) + return n +} + func (m *TimeInfo) ProtoSize() (n int) { var l int _ = l @@ -32693,6 +34820,10 @@ func (m *CheckInfo) ProtoSize() (n int) { if m.TimeoutSeconds != nil { n += 9 } + if m.TCP != nil { + l = m.TCP.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } return n } @@ -32715,6 +34846,13 @@ func (m *CheckInfo_Http) ProtoSize() (n int) { return n } +func (m *CheckInfo_Tcp) ProtoSize() (n int) { + var l int + _ = l + n += 1 + sovMesos(uint64(m.Port)) + return n +} + func (m *HealthCheck) ProtoSize() (n int) { var l int _ = l @@ -33092,6 +35230,10 @@ func (m *Resource) ProtoSize() (n int) { l = m.AllocationInfo.ProtoSize() n += 1 + l + sovMesos(uint64(l)) } + if m.ProviderID != nil { + l = m.ProviderID.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } return n } @@ -33152,9 +35294,7 @@ func (m *Resource_DiskInfo_Persistence) ProtoSize() (n int) { func (m *Resource_DiskInfo_Source) ProtoSize() (n int) { var l int _ = l - if m.Type != nil { - n += 1 + sovMesos(uint64(*m.Type)) - } + n += 1 + sovMesos(uint64(m.Type)) if m.Path != nil { l = m.Path.ProtoSize() n += 1 + l + sovMesos(uint64(l)) @@ -33169,16 +35309,20 @@ func (m *Resource_DiskInfo_Source) ProtoSize() (n int) { func (m *Resource_DiskInfo_Source_Path) ProtoSize() (n int) { var l int _ = l - l = len(m.Root) - n += 1 + l + sovMesos(uint64(l)) + if m.Root != nil { + l = len(*m.Root) + n += 1 + l + sovMesos(uint64(l)) + } return n } func (m *Resource_DiskInfo_Source_Mount) ProtoSize() (n int) { var l int _ = l - l = len(m.Root) - n += 1 + l + sovMesos(uint64(l)) + if m.Root != nil { + l = len(*m.Root) + n += 1 + l + sovMesos(uint64(l)) + } return n } @@ -33482,6 +35626,26 @@ func (m *SNMPStatistics) ProtoSize() (n int) { return n } +func (m *DiskStatistics) ProtoSize() (n int) { + var l int + _ = l + if m.Source != nil { + l = m.Source.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } + if m.Persistence != nil { + l = m.Persistence.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } + if m.LimitBytes != nil { + n += 1 + sovMesos(uint64(*m.LimitBytes)) + } + if m.UsedBytes != nil { + n += 1 + sovMesos(uint64(*m.UsedBytes)) + } + return n +} + func (m *ResourceStatistics) ProtoSize() (n int) { var l int _ = l @@ -33614,6 +35778,12 @@ func (m *ResourceStatistics) ProtoSize() (n int) { l = m.NetSNMPStatistics.ProtoSize() n += 2 + l + sovMesos(uint64(l)) } + if len(m.DiskStatistics) > 0 { + for _, e := range m.DiskStatistics { + l = e.ProtoSize() + n += 2 + l + sovMesos(uint64(l)) + } + } return n } @@ -34165,6 +36335,10 @@ func (m *CheckStatusInfo) ProtoSize() (n int) { l = m.HTTP.ProtoSize() n += 1 + l + sovMesos(uint64(l)) } + if m.TCP != nil { + l = m.TCP.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } return n } @@ -34186,6 +36360,15 @@ func (m *CheckStatusInfo_Http) ProtoSize() (n int) { return n } +func (m *CheckStatusInfo_Tcp) ProtoSize() (n int) { + var l int + _ = l + if m.Succeeded != nil { + n += 2 + } + return n +} + func (m *TaskStatus) ProtoSize() (n int) { var l int _ = l @@ -34275,6 +36458,13 @@ func (m *Environment_Variable) ProtoSize() (n int) { l = len(*m.Value) n += 1 + l + sovMesos(uint64(l)) } + if m.Type != nil { + n += 1 + sovMesos(uint64(*m.Type)) + } + if m.Secret != nil { + l = m.Secret.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } return n } @@ -34324,6 +36514,43 @@ func (m *Credentials) ProtoSize() (n int) { return n } +func (m *Secret) ProtoSize() (n int) { + var l int + _ = l + n += 1 + sovMesos(uint64(m.Type)) + if m.Reference != nil { + l = m.Reference.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } + if m.Value != nil { + l = m.Value.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } + return n +} + +func (m *Secret_Reference) ProtoSize() (n int) { + var l int + _ = l + l = len(m.Name) + n += 1 + l + sovMesos(uint64(l)) + if m.Key != nil { + l = len(*m.Key) + n += 1 + l + sovMesos(uint64(l)) + } + return n +} + +func (m *Secret_Value) ProtoSize() (n int) { + var l int + _ = l + if m.Data != nil { + l = len(m.Data) + n += 1 + l + sovMesos(uint64(l)) + } + return n +} + func (m *RateLimit) ProtoSize() (n int) { var l int _ = l @@ -34401,6 +36628,10 @@ func (m *Image_Docker) ProtoSize() (n int) { l = m.Credential.ProtoSize() n += 1 + l + sovMesos(uint64(l)) } + if m.Config != nil { + l = m.Config.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } return n } @@ -34439,6 +36670,10 @@ func (m *Volume_Source) ProtoSize() (n int) { l = m.SandboxPath.ProtoSize() n += 1 + l + sovMesos(uint64(l)) } + if m.Secret != nil { + l = m.Secret.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } return n } @@ -34934,6 +37169,51 @@ func (m *FileInfo) ProtoSize() (n int) { return n } +func (m *Device) ProtoSize() (n int) { + var l int + _ = l + l = len(m.Path) + n += 1 + l + sovMesos(uint64(l)) + return n +} + +func (m *DeviceAccess) ProtoSize() (n int) { + var l int + _ = l + l = m.Device.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + l = m.Access.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + return n +} + +func (m *DeviceAccess_Access) ProtoSize() (n int) { + var l int + _ = l + if m.Read != nil { + n += 2 + } + if m.Write != nil { + n += 2 + } + if m.Mknod != nil { + n += 2 + } + return n +} + +func (m *DeviceWhitelist) ProtoSize() (n int) { + var l int + _ = l + if len(m.AllowedDevices) > 0 { + for _, e := range m.AllowedDevices { + l = e.ProtoSize() + n += 1 + l + sovMesos(uint64(l)) + } + } + return n +} + func sovMesos(x uint64) (n int) { for { n++ @@ -35008,6 +37288,16 @@ func (this *ContainerID) String() string { }, "") return s } +func (this *ResourceProviderID) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ResourceProviderID{`, + `Value:` + fmt.Sprintf("%v", this.Value) + `,`, + `}`, + }, "") + return s +} func (this *TimeInfo) String() string { if this == nil { return "nil" @@ -35130,6 +37420,7 @@ func (this *CheckInfo) String() string { `DelaySeconds:` + valueToStringMesos(this.DelaySeconds) + `,`, `IntervalSeconds:` + valueToStringMesos(this.IntervalSeconds) + `,`, `TimeoutSeconds:` + valueToStringMesos(this.TimeoutSeconds) + `,`, + `TCP:` + strings.Replace(fmt.Sprintf("%v", this.TCP), "CheckInfo_Tcp", "CheckInfo_Tcp", 1) + `,`, `}`, }, "") return s @@ -35155,6 +37446,16 @@ func (this *CheckInfo_Http) String() string { }, "") return s } +func (this *CheckInfo_Tcp) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CheckInfo_Tcp{`, + `Port:` + fmt.Sprintf("%v", this.Port) + `,`, + `}`, + }, "") + return s +} func (this *HealthCheck) String() string { if this == nil { return "nil" @@ -35392,6 +37693,7 @@ func (this *Resource) String() string { `Revocable:` + strings.Replace(fmt.Sprintf("%v", this.Revocable), "Resource_RevocableInfo", "Resource_RevocableInfo", 1) + `,`, `Shared:` + strings.Replace(fmt.Sprintf("%v", this.Shared), "Resource_SharedInfo", "Resource_SharedInfo", 1) + `,`, `AllocationInfo:` + strings.Replace(fmt.Sprintf("%v", this.AllocationInfo), "Resource_AllocationInfo", "Resource_AllocationInfo", 1) + `,`, + `ProviderID:` + strings.Replace(fmt.Sprintf("%v", this.ProviderID), "ResourceProviderID", "ResourceProviderID", 1) + `,`, `}`, }, "") return s @@ -35445,7 +37747,7 @@ func (this *Resource_DiskInfo_Source) String() string { return "nil" } s := strings.Join([]string{`&Resource_DiskInfo_Source{`, - `Type:` + valueToStringMesos(this.Type) + `,`, + `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Path:` + strings.Replace(fmt.Sprintf("%v", this.Path), "Resource_DiskInfo_Source_Path", "Resource_DiskInfo_Source_Path", 1) + `,`, `Mount:` + strings.Replace(fmt.Sprintf("%v", this.Mount), "Resource_DiskInfo_Source_Mount", "Resource_DiskInfo_Source_Mount", 1) + `,`, `}`, @@ -35457,7 +37759,7 @@ func (this *Resource_DiskInfo_Source_Path) String() string { return "nil" } s := strings.Join([]string{`&Resource_DiskInfo_Source_Path{`, - `Root:` + fmt.Sprintf("%v", this.Root) + `,`, + `Root:` + valueToStringMesos(this.Root) + `,`, `}`, }, "") return s @@ -35467,7 +37769,7 @@ func (this *Resource_DiskInfo_Source_Mount) String() string { return "nil" } s := strings.Join([]string{`&Resource_DiskInfo_Source_Mount{`, - `Root:` + fmt.Sprintf("%v", this.Root) + `,`, + `Root:` + valueToStringMesos(this.Root) + `,`, `}`, }, "") return s @@ -35627,6 +37929,19 @@ func (this *SNMPStatistics) String() string { }, "") return s } +func (this *DiskStatistics) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&DiskStatistics{`, + `Source:` + strings.Replace(fmt.Sprintf("%v", this.Source), "Resource_DiskInfo_Source", "Resource_DiskInfo_Source", 1) + `,`, + `Persistence:` + strings.Replace(fmt.Sprintf("%v", this.Persistence), "Resource_DiskInfo_Persistence", "Resource_DiskInfo_Persistence", 1) + `,`, + `LimitBytes:` + valueToStringMesos(this.LimitBytes) + `,`, + `UsedBytes:` + valueToStringMesos(this.UsedBytes) + `,`, + `}`, + }, "") + return s +} func (this *ResourceStatistics) String() string { if this == nil { return "nil" @@ -35674,6 +37989,7 @@ func (this *ResourceStatistics) String() string { `MemSwapBytes:` + valueToStringMesos(this.MemSwapBytes) + `,`, `MemUnevictableBytes:` + valueToStringMesos(this.MemUnevictableBytes) + `,`, `NetSNMPStatistics:` + strings.Replace(fmt.Sprintf("%v", this.NetSNMPStatistics), "SNMPStatistics", "SNMPStatistics", 1) + `,`, + `DiskStatistics:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.DiskStatistics), "DiskStatistics", "DiskStatistics", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -35963,6 +38279,7 @@ func (this *CheckStatusInfo) String() string { `Type:` + valueToStringMesos(this.Type) + `,`, `Command:` + strings.Replace(fmt.Sprintf("%v", this.Command), "CheckStatusInfo_Command", "CheckStatusInfo_Command", 1) + `,`, `HTTP:` + strings.Replace(fmt.Sprintf("%v", this.HTTP), "CheckStatusInfo_Http", "CheckStatusInfo_Http", 1) + `,`, + `TCP:` + strings.Replace(fmt.Sprintf("%v", this.TCP), "CheckStatusInfo_Tcp", "CheckStatusInfo_Tcp", 1) + `,`, `}`, }, "") return s @@ -35987,6 +38304,16 @@ func (this *CheckStatusInfo_Http) String() string { }, "") return s } +func (this *CheckStatusInfo_Tcp) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CheckStatusInfo_Tcp{`, + `Succeeded:` + valueToStringMesos(this.Succeeded) + `,`, + `}`, + }, "") + return s +} func (this *TaskStatus) String() string { if this == nil { return "nil" @@ -36038,6 +38365,8 @@ func (this *Environment_Variable) String() string { s := strings.Join([]string{`&Environment_Variable{`, `Name:` + fmt.Sprintf("%v", this.Name) + `,`, `Value:` + valueToStringMesos(this.Value) + `,`, + `Type:` + valueToStringMesos(this.Type) + `,`, + `Secret:` + strings.Replace(fmt.Sprintf("%v", this.Secret), "Secret", "Secret", 1) + `,`, `}`, }, "") return s @@ -36084,6 +38413,39 @@ func (this *Credentials) String() string { }, "") return s } +func (this *Secret) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&Secret{`, + `Type:` + fmt.Sprintf("%v", this.Type) + `,`, + `Reference:` + strings.Replace(fmt.Sprintf("%v", this.Reference), "Secret_Reference", "Secret_Reference", 1) + `,`, + `Value:` + strings.Replace(fmt.Sprintf("%v", this.Value), "Secret_Value", "Secret_Value", 1) + `,`, + `}`, + }, "") + return s +} +func (this *Secret_Reference) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&Secret_Reference{`, + `Name:` + fmt.Sprintf("%v", this.Name) + `,`, + `Key:` + valueToStringMesos(this.Key) + `,`, + `}`, + }, "") + return s +} +func (this *Secret_Value) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&Secret_Value{`, + `Data:` + valueToStringMesos(this.Data) + `,`, + `}`, + }, "") + return s +} func (this *RateLimit) String() string { if this == nil { return "nil" @@ -36140,6 +38502,7 @@ func (this *Image_Docker) String() string { s := strings.Join([]string{`&Image_Docker{`, `Name:` + fmt.Sprintf("%v", this.Name) + `,`, `Credential:` + strings.Replace(fmt.Sprintf("%v", this.Credential), "Credential", "Credential", 1) + `,`, + `Config:` + strings.Replace(fmt.Sprintf("%v", this.Config), "Secret", "Secret", 1) + `,`, `}`, }, "") return s @@ -36166,6 +38529,7 @@ func (this *Volume_Source) String() string { `Type:` + fmt.Sprintf("%v", this.Type) + `,`, `DockerVolume:` + strings.Replace(fmt.Sprintf("%v", this.DockerVolume), "Volume_Source_DockerVolume", "Volume_Source_DockerVolume", 1) + `,`, `SandboxPath:` + strings.Replace(fmt.Sprintf("%v", this.SandboxPath), "Volume_Source_SandboxPath", "Volume_Source_SandboxPath", 1) + `,`, + `Secret:` + strings.Replace(fmt.Sprintf("%v", this.Secret), "Secret", "Secret", 1) + `,`, `}`, }, "") return s @@ -36521,6 +38885,49 @@ func (this *FileInfo) String() string { }, "") return s } +func (this *Device) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&Device{`, + `Path:` + fmt.Sprintf("%v", this.Path) + `,`, + `}`, + }, "") + return s +} +func (this *DeviceAccess) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&DeviceAccess{`, + `Device:` + strings.Replace(strings.Replace(this.Device.String(), "Device", "Device", 1), `&`, ``, 1) + `,`, + `Access:` + strings.Replace(strings.Replace(this.Access.String(), "DeviceAccess_Access", "DeviceAccess_Access", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} +func (this *DeviceAccess_Access) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&DeviceAccess_Access{`, + `Read:` + valueToStringMesos(this.Read) + `,`, + `Write:` + valueToStringMesos(this.Write) + `,`, + `Mknod:` + valueToStringMesos(this.Mknod) + `,`, + `}`, + }, "") + return s +} +func (this *DeviceWhitelist) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&DeviceWhitelist{`, + `AllowedDevices:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedDevices), "DeviceAccess", "DeviceAccess", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} func valueToStringMesos(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -37066,7 +39473,7 @@ func (m *ContainerID) Unmarshal(dAtA []byte) error { } return nil } -func (m *TimeInfo) Unmarshal(dAtA []byte) error { +func (m *ResourceProviderID) Unmarshal(dAtA []byte) error { var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 @@ -37090,17 +39497,17 @@ func (m *TimeInfo) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TimeInfo: wiretype end group for non-group") + return fmt.Errorf("proto: ResourceProviderID: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TimeInfo: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ResourceProviderID: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Nanoseconds", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } - m.Nanoseconds = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMesos @@ -37110,11 +39517,21 @@ func (m *TimeInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Nanoseconds |= (int64(b) & 0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex hasFields[0] |= uint64(0x00000001) default: iNdEx = preIndex @@ -37132,7 +39549,7 @@ func (m *TimeInfo) Unmarshal(dAtA []byte) error { } } if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("nanoseconds") + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("value") } if iNdEx > l { @@ -37140,7 +39557,81 @@ func (m *TimeInfo) Unmarshal(dAtA []byte) error { } return nil } -func (m *DurationInfo) Unmarshal(dAtA []byte) error { +func (m *TimeInfo) Unmarshal(dAtA []byte) error { + var hasFields [1]uint64 + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TimeInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TimeInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Nanoseconds", wireType) + } + m.Nanoseconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Nanoseconds |= (int64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + hasFields[0] |= uint64(0x00000001) + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + if hasFields[0]&uint64(0x00000001) == 0 { + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("nanoseconds") + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DurationInfo) Unmarshal(dAtA []byte) error { var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 @@ -38566,6 +41057,39 @@ func (m *CheckInfo) Unmarshal(dAtA []byte) error { v |= uint64(dAtA[iNdEx-1]) << 56 v2 := float64(math.Float64frombits(v)) m.TimeoutSeconds = &v2 + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TCP", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TCP == nil { + m.TCP = &CheckInfo_Tcp{} + } + if err := m.TCP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMesos(dAtA[iNdEx:]) @@ -38776,6 +41300,80 @@ func (m *CheckInfo_Http) Unmarshal(dAtA []byte) error { } return nil } +func (m *CheckInfo_Tcp) Unmarshal(dAtA []byte) error { + var hasFields [1]uint64 + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Tcp: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Tcp: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) + } + m.Port = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Port |= (uint32(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + hasFields[0] |= uint64(0x00000001) + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + if hasFields[0]&uint64(0x00000001) == 0 { + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("port") + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *HealthCheck) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -41974,67 +44572,11 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMesos(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMesos - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("type") - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Resource_AllocationInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: AllocationInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AllocationInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 12: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderID", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMesos @@ -42044,21 +44586,24 @@ func (m *Resource_AllocationInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthMesos } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Role = &s + if m.ProviderID == nil { + m.ProviderID = &ResourceProviderID{} + } + if err := m.ProviderID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -42075,13 +44620,99 @@ func (m *Resource_AllocationInfo) Unmarshal(dAtA []byte) error { iNdEx += skippy } } + if hasFields[0]&uint64(0x00000001) == 0 { + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") + } + if hasFields[0]&uint64(0x00000002) == 0 { + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("type") + } if iNdEx > l { return io.ErrUnexpectedEOF } return nil } -func (m *Resource_ReservationInfo) Unmarshal(dAtA []byte) error { +func (m *Resource_AllocationInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AllocationInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AllocationInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + s := string(dAtA[iNdEx:postIndex]) + m.Role = &s + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Resource_ReservationInfo) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42491,7 +45122,7 @@ func (m *Resource_DiskInfo_Source) Unmarshal(dAtA []byte) error { if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) } - var v Resource_DiskInfo_Source_Type + m.Type = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMesos @@ -42501,12 +45132,11 @@ func (m *Resource_DiskInfo_Source) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (Resource_DiskInfo_Source_Type(b) & 0x7F) << shift + m.Type |= (Resource_DiskInfo_Source_Type(b) & 0x7F) << shift if b < 0x80 { break } } - m.Type = &v hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { @@ -42599,7 +45229,6 @@ func (m *Resource_DiskInfo_Source) Unmarshal(dAtA []byte) error { return nil } func (m *Resource_DiskInfo_Source_Path) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -42655,9 +45284,9 @@ func (m *Resource_DiskInfo_Source_Path) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Root = string(dAtA[iNdEx:postIndex]) + s := string(dAtA[iNdEx:postIndex]) + m.Root = &s iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) default: iNdEx = preIndex skippy, err := skipMesos(dAtA[iNdEx:]) @@ -42673,9 +45302,6 @@ func (m *Resource_DiskInfo_Source_Path) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("root") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -42683,190 +45309,186 @@ func (m *Resource_DiskInfo_Source_Path) Unmarshal(dAtA []byte) error { return nil } func (m *Resource_DiskInfo_Source_Mount) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Mount: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Mount: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMesos - } - postIndex := iNdEx + intStringLen - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Root = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) - default: - iNdEx = preIndex - skippy, err := skipMesos(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMesos - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("root") - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Resource_RevocableInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RevocableInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RevocableInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipMesos(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMesos - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Resource_SharedInfo) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SharedInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SharedInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipMesos(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMesos - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TrafficControlStatistics) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Mount: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Mount: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + s := string(dAtA[iNdEx:postIndex]) + m.Root = &s + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Resource_RevocableInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RevocableInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RevocableInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Resource_SharedInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SharedInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SharedInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TrafficControlStatistics) Unmarshal(dAtA []byte) error { var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 @@ -44892,6 +47514,162 @@ func (m *SNMPStatistics) Unmarshal(dAtA []byte) error { } return nil } +func (m *DiskStatistics) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DiskStatistics: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DiskStatistics: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Source == nil { + m.Source = &Resource_DiskInfo_Source{} + } + if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Persistence", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Persistence == nil { + m.Persistence = &Resource_DiskInfo_Persistence{} + } + if err := m.Persistence.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LimitBytes", wireType) + } + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.LimitBytes = &v + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UsedBytes", wireType) + } + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.UsedBytes = &v + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *ResourceStatistics) Unmarshal(dAtA []byte) error { var hasFields [1]uint64 l := len(dAtA) @@ -45788,6 +48566,37 @@ func (m *ResourceStatistics) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 43: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DiskStatistics", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DiskStatistics = append(m.DiskStatistics, DiskStatistics{}) + if err := m.DiskStatistics[len(m.DiskStatistics)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMesos(dAtA[iNdEx:]) @@ -50125,6 +52934,39 @@ func (m *CheckStatusInfo) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TCP", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TCP == nil { + m.TCP = &CheckStatusInfo_Tcp{} + } + if err := m.TCP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMesos(dAtA[iNdEx:]) @@ -50286,8 +53128,7 @@ func (m *CheckStatusInfo_Http) Unmarshal(dAtA []byte) error { } return nil } -func (m *TaskStatus) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 +func (m *CheckStatusInfo_Tcp) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -50310,69 +53151,17 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TaskStatus: wiretype end group for non-group") + return fmt.Errorf("proto: Tcp: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TaskStatus: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Tcp: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TaskID", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMesos - } - postIndex := iNdEx + msglen - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.TaskID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) - case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - var v TaskState - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= (TaskState(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.State = &v - hasFields[0] |= uint64(0x00000002) - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Succeeded", wireType) } - var byteLen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMesos @@ -50382,108 +53171,67 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { - return ErrInvalidLengthMesos - } - postIndex := iNdEx + byteLen - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) - if m.Data == nil { - m.Data = []byte{} - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } + b := bool(v != 0) + m.Succeeded = &b + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if skippy < 0 { return ErrInvalidLengthMesos } - postIndex := iNdEx + intStringLen - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Message = &s - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AgentID", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMesos + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TaskStatus) Unmarshal(dAtA []byte) error { + var hasFields [1]uint64 + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos } - postIndex := iNdEx + msglen - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - if m.AgentID == nil { - m.AgentID = &AgentID{} - } - if err := m.AgentID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break } - iNdEx += 8 - v = uint64(dAtA[iNdEx-8]) - v |= uint64(dAtA[iNdEx-7]) << 8 - v |= uint64(dAtA[iNdEx-6]) << 16 - v |= uint64(dAtA[iNdEx-5]) << 24 - v |= uint64(dAtA[iNdEx-4]) << 32 - v |= uint64(dAtA[iNdEx-3]) << 40 - v |= uint64(dAtA[iNdEx-2]) << 48 - v |= uint64(dAtA[iNdEx-1]) << 56 - v2 := float64(math.Float64frombits(v)) - m.Timestamp = &v2 - case 7: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TaskStatus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TaskStatus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ExecutorID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TaskID", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -50507,59 +53255,16 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ExecutorID == nil { - m.ExecutorID = &ExecutorID{} - } - if err := m.ExecutorID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TaskID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Healthy", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - b := bool(v != 0) - m.Healthy = &b - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) - } - var v TaskStatus_Source - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= (TaskStatus_Source(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.Source = &v - case 10: + hasFields[0] |= uint64(0x00000001) + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } - var v TaskStatus_Reason + var v TaskState for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMesos @@ -50569,15 +53274,223 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (TaskStatus_Reason(b) & 0x7F) << shift + v |= (TaskState(b) & 0x7F) << shift if b < 0x80 { break } } - m.Reason = &v - case 11: + m.State = &v + hasFields[0] |= uint64(0x00000002) + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UUID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + byteLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) + if m.Data == nil { + m.Data = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + s := string(dAtA[iNdEx:postIndex]) + m.Message = &s + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AgentID", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AgentID == nil { + m.AgentID = &AgentID{} + } + if err := m.AgentID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Timestamp", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + iNdEx += 8 + v = uint64(dAtA[iNdEx-8]) + v |= uint64(dAtA[iNdEx-7]) << 8 + v |= uint64(dAtA[iNdEx-6]) << 16 + v |= uint64(dAtA[iNdEx-5]) << 24 + v |= uint64(dAtA[iNdEx-4]) << 32 + v |= uint64(dAtA[iNdEx-3]) << 40 + v |= uint64(dAtA[iNdEx-2]) << 48 + v |= uint64(dAtA[iNdEx-1]) << 56 + v2 := float64(math.Float64frombits(v)) + m.Timestamp = &v2 + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutorID", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecutorID == nil { + m.ExecutorID = &ExecutorID{} + } + if err := m.ExecutorID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Healthy", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + b := bool(v != 0) + m.Healthy = &b + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) + } + var v TaskStatus_Source + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (TaskStatus_Source(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.Source = &v + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var v TaskStatus_Reason + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (TaskStatus_Reason(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.Reason = &v + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UUID", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -51005,6 +53918,59 @@ func (m *Environment_Variable) Unmarshal(dAtA []byte) error { s := string(dAtA[iNdEx:postIndex]) m.Value = &s iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var v Environment_Variable_Type + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (Environment_Variable_Type(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.Type = &v + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Secret == nil { + m.Secret = &Secret{} + } + if err := m.Secret.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMesos(dAtA[iNdEx:]) @@ -51169,17 +54135,543 @@ func (m *Parameters) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Parameters: wiretype end group for non-group") + return fmt.Errorf("proto: Parameters: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Parameters: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Parameter", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Parameter = append(m.Parameter, Parameter{}) + if err := m.Parameter[len(m.Parameter)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Credential) Unmarshal(dAtA []byte) error { + var hasFields [1]uint64 + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Credential: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Credential: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Principal", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Principal = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + hasFields[0] |= uint64(0x00000001) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + s := string(dAtA[iNdEx:postIndex]) + m.Secret = &s + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + if hasFields[0]&uint64(0x00000001) == 0 { + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("principal") + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Credentials) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Credentials: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Credentials: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Credentials", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Credentials = append(m.Credentials, Credential{}) + if err := m.Credentials[len(m.Credentials)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Secret) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Secret: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Secret: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= (Secret_Type(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reference", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Reference == nil { + m.Reference = &Secret_Reference{} + } + if err := m.Reference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Value == nil { + m.Value = &Secret_Value{} + } + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Secret_Reference) Unmarshal(dAtA []byte) error { + var hasFields [1]uint64 + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Reference: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Reference: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + hasFields[0] |= uint64(0x00000001) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + s := string(dAtA[iNdEx:postIndex]) + m.Key = &s + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + if hasFields[0]&uint64(0x00000001) == 0 { + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Secret_Value) Unmarshal(dAtA []byte) error { + var hasFields [1]uint64 + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Value: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Parameters: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Value: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Parameter", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowMesos @@ -51189,134 +54681,24 @@ func (m *Parameters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + byteLen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthMesos } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex > l { return io.ErrUnexpectedEOF } - m.Parameter = append(m.Parameter, Parameter{}) - if err := m.Parameter[len(m.Parameter)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMesos(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMesos - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Credential) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Credential: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Credential: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Principal", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMesos - } - postIndex := iNdEx + intStringLen - if postIndex > l { - return io.ErrUnexpectedEOF + m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) + if m.Data == nil { + m.Data = []byte{} } - m.Principal = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex hasFields[0] |= uint64(0x00000001) - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMesos - } - postIndex := iNdEx + intStringLen - if postIndex > l { - return io.ErrUnexpectedEOF - } - s := string(dAtA[iNdEx:postIndex]) - m.Secret = &s - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMesos(dAtA[iNdEx:]) @@ -51333,88 +54715,7 @@ func (m *Credential) Unmarshal(dAtA []byte) error { } } if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("principal") - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Credentials) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Credentials: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Credentials: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Credentials", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMesos - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthMesos - } - postIndex := iNdEx + msglen - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Credentials = append(m.Credentials, Credential{}) - if err := m.Credentials[len(m.Credentials)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMesos(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthMesos - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("data") } if iNdEx > l { @@ -52067,6 +55368,39 @@ func (m *Image_Docker) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Config == nil { + m.Config = &Secret{} + } + if err := m.Config.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMesos(dAtA[iNdEx:]) @@ -52409,6 +55743,39 @@ func (m *Volume_Source) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Secret", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Secret == nil { + m.Secret = &Secret{} + } + if err := m.Secret.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMesos(dAtA[iNdEx:]) @@ -56477,6 +59844,403 @@ func (m *FileInfo) Unmarshal(dAtA []byte) error { } return nil } +func (m *Device) Unmarshal(dAtA []byte) error { + var hasFields [1]uint64 + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Device: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Device: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Path = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + hasFields[0] |= uint64(0x00000001) + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + if hasFields[0]&uint64(0x00000001) == 0 { + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("path") + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeviceAccess) Unmarshal(dAtA []byte) error { + var hasFields [1]uint64 + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeviceAccess: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeviceAccess: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Device", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Device.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + hasFields[0] |= uint64(0x00000001) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Access", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Access.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + hasFields[0] |= uint64(0x00000002) + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + if hasFields[0]&uint64(0x00000001) == 0 { + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("device") + } + if hasFields[0]&uint64(0x00000002) == 0 { + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("access") + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeviceAccess_Access) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Access: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Access: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Read", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + b := bool(v != 0) + m.Read = &b + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Write", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + b := bool(v != 0) + m.Write = &b + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Mknod", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + b := bool(v != 0) + m.Mknod = &b + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeviceWhitelist) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeviceWhitelist: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeviceWhitelist: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowedDevices", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMesos + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMesos + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllowedDevices = append(m.AllowedDevices, DeviceAccess{}) + if err := m.AllowedDevices[len(m.AllowedDevices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMesos(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthMesos + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipMesos(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 @@ -56585,614 +60349,643 @@ var ( func init() { proto.RegisterFile("mesos.proto", fileDescriptorMesos) } var fileDescriptorMesos = []byte{ - // 9734 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x7d, 0x4d, 0x90, 0x1b, 0x49, - 0x76, 0xde, 0xe0, 0x1f, 0x78, 0x00, 0xba, 0x8b, 0xd9, 0x64, 0x0f, 0x08, 0x72, 0xba, 0x39, 0x58, - 0x92, 0xc3, 0xe1, 0xcc, 0x92, 0x9c, 0x9e, 0x21, 0x77, 0xc8, 0xdd, 0x9d, 0x11, 0x1a, 0xa8, 0xee, - 0x2e, 0x11, 0x7f, 0x4a, 0x00, 0xe4, 0xcc, 0x86, 0x22, 0x10, 0xd5, 0x40, 0x75, 0x77, 0x89, 0x40, - 0x15, 0xa6, 0xaa, 0xd0, 0x24, 0x37, 0x1c, 0xe1, 0xb5, 0x2c, 0xd9, 0xbb, 0xb2, 0xe4, 0xd0, 0xc1, - 0x07, 0xc9, 0xb2, 0x23, 0x1c, 0xb6, 0x23, 0xec, 0x83, 0x7d, 0x90, 0xed, 0x83, 0x0f, 0x0e, 0xdb, - 0x07, 0x3b, 0xac, 0x9b, 0xb5, 0xe1, 0x8b, 0x7d, 0x69, 0x7b, 0x5a, 0x8e, 0xd0, 0xfa, 0x7f, 0x2d, - 0xff, 0x48, 0xb6, 0xd7, 0x3f, 0x91, 0xbf, 0x95, 0x05, 0xf4, 0x0f, 0x39, 0xb2, 0xc3, 0xa7, 0x46, - 0xbe, 0xfc, 0xde, 0xcb, 0x97, 0x2f, 0x5f, 0x66, 0xbe, 0xcc, 0xca, 0xcc, 0x86, 0xfc, 0xc4, 0xf2, - 0x5d, 0xff, 0xce, 0xd4, 0x73, 0x03, 0x17, 0xa5, 0x68, 0xa2, 0xf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x06, 0xc0, 0xf0, - 0xc0, 0x1a, 0x3e, 0x9b, 0xba, 0x36, 0x77, 0xa0, 0xec, 0xa3, 0xd4, 0x9e, 0x39, 0xf6, 0x2d, 0xac, - 0x64, 0xa0, 0x4b, 0x90, 0xf4, 0xdc, 0xb1, 0x55, 0x4a, 0x93, 0x26, 0x7b, 0x14, 0xbb, 0x8d, 0x69, - 0x32, 0xd2, 0xc6, 0x99, 0xb9, 0x36, 0xbe, 0x0a, 0xb9, 0xa9, 0x67, 0x3b, 0x43, 0x7b, 0x6a, 0x8e, - 0x4b, 0x59, 0x9a, 0x19, 0x12, 0xd0, 0xbb, 0x90, 0x7b, 0x6e, 0xed, 0xce, 0xec, 0xc1, 0xcc, 0x1b, - 0x97, 0x72, 0xd4, 0x11, 0x0a, 0xc7, 0x47, 0xeb, 0xd9, 0xa7, 0xd6, 0x6e, 0xdf, 0xee, 0xe3, 0x06, - 0xce, 0xd2, 0xec, 0xbe, 0x37, 0x46, 0x06, 0x14, 0x86, 0xe6, 0x94, 0x19, 0xde, 0xb6, 0xfc, 0x12, - 0xd0, 0x6e, 0xb1, 0xbe, 0x60, 0x06, 0xd2, 0xc0, 0x35, 0x01, 0x7c, 0xc9, 0xed, 0x17, 0x61, 0x45, - 0x37, 0x20, 0x3d, 0x36, 0x77, 0xad, 0xb1, 0x5f, 0xca, 0x53, 0x5b, 0x16, 0xb9, 0x90, 0x06, 0x25, - 0x62, 0x9e, 0x89, 0x2e, 0x42, 0x8a, 0x54, 0xcf, 0x2f, 0x15, 0xae, 0x25, 0x6e, 0xe5, 0x30, 0x4b, - 0x94, 0x7f, 0x37, 0x06, 0x10, 0xca, 0x47, 0x9f, 0x40, 0x32, 0x78, 0x39, 0x65, 0xbe, 0xbd, 0xb4, - 0x71, 0xfd, 0x1c, 0x75, 0xee, 0xf4, 0x5e, 0x4e, 0x2d, 0xd1, 0xa6, 0x84, 0xaf, 0xf2, 0x6b, 0x31, - 0x48, 0x12, 0x22, 0xca, 0x43, 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xae, 0x33, 0x59, 0x8c, 0x7d, 0xf5, 0x30, 0x07, 0xab, 0x30, - 0x32, 0x9f, 0xb0, 0x40, 0x9a, 0x59, 0x97, 0x87, 0xd0, 0x88, 0x07, 0x02, 0x2c, 0x6a, 0x63, 0x21, - 0x40, 0x19, 0x52, 0xfe, 0x81, 0x35, 0x1e, 0x53, 0x5f, 0xcc, 0x3e, 0x4a, 0x06, 0xde, 0xcc, 0xc2, - 0x8c, 0x44, 0x26, 0x54, 0xd3, 0xdb, 0x9f, 0x11, 0x89, 0x7e, 0x29, 0x43, 0x67, 0xa6, 0x90, 0x50, - 0xfe, 0x35, 0x1a, 0x9f, 0x1a, 0x67, 0x06, 0xed, 0x6b, 0x00, 0x16, 0x5d, 0x09, 0x98, 0xbb, 0x63, - 0x16, 0x26, 0x65, 0xb1, 0x42, 0x41, 0x6b, 0x90, 0xb1, 0x5e, 0x04, 0x9e, 0x39, 0x0c, 0xa8, 0xa6, - 0xa2, 0x7c, 0x41, 0x24, 0xf5, 0x18, 0x9a, 0xc3, 0x03, 0x8b, 0xf6, 0xc8, 0x2c, 0x66, 0x09, 0xb4, - 0x0e, 0x79, 0x77, 0x16, 0x4c, 0x67, 0xc1, 0x60, 0xcf, 0x1e, 0x5b, 0xbc, 0x3a, 0xc0, 0x48, 0x5b, - 0xf6, 0xd8, 0xaa, 0xfc, 0x62, 0x0a, 0x0a, 0x72, 0x05, 0x42, 0xec, 0xbf, 0x05, 0x79, 0x8b, 0xa7, - 0x07, 0x32, 0xbe, 0xbb, 0x20, 0xac, 0x28, 0xd7, 0x2a, 0x9b, 0x88, 0xb7, 0x80, 0xb2, 0x7e, 0x11, - 0xfa, 0xba, 0x9e, 0x31, 0x22, 0x16, 0x1c, 0x99, 0x81, 0x49, 0xd5, 0x29, 0x60, 0xfa, 0x1b, 0x7d, - 0x08, 0x39, 0xcf, 0xf2, 0xdd, 0x99, 0x37, 0xa4, 0xe3, 0x40, 0x42, 0x89, 0x72, 0x31, 0xa7, 0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fd, 0x7b, 0x7c, 0x68, 0xbd, 0x0c, 0x89, 0xa9, 0x3d, 0xa2, 0xee, - 0x98, 0x63, 0x03, 0x74, 0xc7, 0xa8, 0x63, 0x42, 0x8b, 0x44, 0xca, 0xa9, 0xb9, 0x48, 0xb9, 0x04, - 0x99, 0x43, 0xcb, 0xf3, 0xc9, 0x32, 0x8b, 0xc6, 0xd7, 0x58, 0x24, 0xd1, 0xad, 0x70, 0x39, 0xc9, - 0xfc, 0x72, 0x6e, 0x39, 0x29, 0x17, 0x92, 0x95, 0x1f, 0xc6, 0x21, 0xc7, 0xb6, 0x0c, 0x48, 0xd5, - 0xae, 0x45, 0xd6, 0x5e, 0xe1, 0x38, 0x10, 0x96, 0x19, 0xe9, 0x26, 0x89, 0x57, 0xec, 0x26, 0x0f, - 0x00, 0xcc, 0x20, 0xf0, 0xec, 0xdd, 0x59, 0x20, 0x3b, 0x97, 0x58, 0x96, 0x55, 0x45, 0x06, 0x67, - 0x53, 0x90, 0xe8, 0x26, 0xb5, 0x74, 0x3a, 0x5a, 0x03, 0xb6, 0xbf, 0x11, 0x59, 0xba, 0x08, 0xcb, - 0x92, 0x0e, 0x95, 0xa2, 0x96, 0xfd, 0x80, 0x59, 0xb6, 0xec, 0x47, 0x42, 0xef, 0x47, 0x91, 0x88, - 0xf4, 0x5a, 0x44, 0xe2, 0x79, 0x61, 0xf7, 0xbb, 0x27, 0x39, 0x4e, 0x34, 0x0c, 0x8e, 0x71, 0x7f, - 0xf9, 0x51, 0x02, 0x52, 0x4f, 0xe8, 0xc0, 0xf9, 0x9e, 0x2c, 0x30, 0x7e, 0x6b, 0x49, 0x8e, 0x54, - 0x34, 0x6f, 0x71, 0x1e, 0x7f, 0x8f, 0x4c, 0xa6, 0xe6, 0xd8, 0xf4, 0xe6, 0x16, 0xcd, 0x0c, 0xde, - 0xa5, 0x59, 0x98, 0x43, 0x08, 0xd8, 0x33, 0x9d, 0x7d, 0xcb, 0xe7, 0x91, 0x6f, 0x14, 0x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c8, 0xd3, 0x3d, 0xcf, 0xf5, 0x98, - 0x11, 0x13, 0x58, 0x25, 0xa1, 0x0a, 0x14, 0x0c, 0x87, 0xc4, 0xb7, 0x1c, 0x92, 0xa2, 0x90, 0x08, - 0x0d, 0x5d, 0x87, 0x22, 0xd1, 0xa9, 0x6e, 0x06, 0xe6, 0xbe, 0x67, 0x4e, 0x98, 0x51, 0x13, 0x38, - 0x4a, 0x44, 0xb7, 0x60, 0xd9, 0x70, 0xfa, 0xce, 0x33, 0xc7, 0x7d, 0xee, 0x74, 0x3c, 0x37, 0x70, - 0x59, 0x14, 0x9d, 0xc0, 0xf3, 0x64, 0xa6, 0x35, 0x59, 0x0f, 0x99, 0xde, 0x88, 0xd9, 0x9c, 0x6a, - 0x2d, 0x28, 0x3c, 0xdf, 0x1a, 0xdb, 0x24, 0x30, 0xa7, 0xc6, 0x66, 0xf9, 0x9c, 0x42, 0x6a, 0xd5, - 0x9e, 0x05, 0x98, 0x58, 0xd5, 0x0f, 0x98, 0x95, 0x13, 0x58, 0x25, 0x71, 0x84, 0x2c, 0x22, 0x2f, - 0x11, 0xb2, 0x0c, 0x86, 0x68, 0xb9, 0xd8, 0xa5, 0xd1, 0x75, 0x41, 0x22, 0x04, 0x89, 0x58, 0x06, - 0x5b, 0xa6, 0x3f, 0xe1, 0x7b, 0xf7, 0x74, 0x39, 0x96, 0xc0, 0x11, 0x1a, 0xd1, 0x94, 0xa6, 0xb1, - 0xf5, 0xc5, 0x88, 0x2d, 0xbb, 0x12, 0x58, 0xa1, 0x10, 0x67, 0xa0, 0xa9, 0xf6, 0x63, 0x9f, 0xae, - 0xb7, 0x12, 0x58, 0xa6, 0x25, 0xef, 0x96, 0x69, 0x8f, 0xfd, 0x92, 0xa6, 0xf0, 0x52, 0x0a, 0x71, - 0xe2, 0x2d, 0xcf, 0xdc, 0x27, 0xac, 0x17, 0x68, 0xa6, 0x48, 0x92, 0x81, 0x8d, 0xfc, 0x64, 0x8c, - 0x88, 0xe6, 0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, - 0xc7, 0xe1, 0x9d, 0x56, 0x24, 0x89, 0x05, 0xab, 0xc3, 0xc0, 0x3e, 0xb4, 0xda, 0x53, 0xcb, 0x91, - 0xbd, 0x55, 0x21, 0x11, 0x7d, 0x3a, 0xa6, 0xef, 0x4b, 0x08, 0xeb, 0xae, 0x11, 0x1a, 0xc1, 0x54, - 0x83, 0xc0, 0x9a, 0x4c, 0x03, 0x36, 0x92, 0xf1, 0xfe, 0xaa, 0xd2, 0x48, 0x49, 0xba, 0x1f, 0x98, - 0xbb, 0x24, 0x00, 0x0e, 0xfb, 0xab, 0x42, 0x22, 0x3e, 0x5c, 0x9b, 0x79, 0x1e, 0x25, 0xf1, 0x1e, - 0x1b, 0x12, 0xd8, 0xb8, 0xd6, 0xb5, 0xf6, 0x45, 0x7f, 0xe5, 0x29, 0xde, 0x27, 0x68, 0x46, 0x5e, - 0xf6, 0x09, 0x9a, 0x73, 0x0d, 0xf2, 0xd8, 0x0a, 0x3c, 0xd3, 0xf1, 0x69, 0x2e, 0x9f, 0x18, 0x14, - 0x12, 0x93, 0xa9, 0x7b, 0x9e, 0xe8, 0x94, 0x3c, 0xc5, 0x65, 0x62, 0x32, 0x25, 0x2d, 0x49, 0x99, - 0x24, 0xb9, 0x30, 0x52, 0x2e, 0x2f, 0x8e, 0x94, 0x95, 0xdf, 0x88, 0x43, 0xb1, 0x3f, 0x52, 0xdb, - 0x94, 0x8e, 0x00, 0xe1, 0xa4, 0x1b, 0x13, 0x23, 0x40, 0x38, 0xe5, 0x96, 0x20, 0xd3, 0x72, 0x3b, - 0xae, 0x17, 0x88, 0xc1, 0x59, 0x24, 0x23, 0xe3, 0x76, 0x62, 0x71, 0xdc, 0x26, 0x1d, 0x58, 0x0a, - 0x4e, 0x4a, 0x5f, 0x0c, 0x25, 0x13, 0x7f, 0x1a, 0x1e, 0xee, 0xce, 0xf6, 0xa2, 0x61, 0x81, 0x4a, - 0x23, 0x98, 0xae, 0x33, 0x0a, 0x31, 0xbc, 0x8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a4, 0xe9, 0xb7, 0x53, - 0xb6, 0xe6, 0x12, 0xcf, 0xc4, 0x70, 0x5a, 0x79, 0x00, 0x49, 0x22, 0xf8, 0x8c, 0x5e, 0xb2, 0xca, - 0x8f, 0xc5, 0x84, 0xcf, 0xff, 0x89, 0xfd, 0x23, 0x11, 0xbd, 0x24, 0xce, 0xba, 0x26, 0xdc, 0x87, - 0x34, 0x53, 0xe8, 0x8c, 0x22, 0x3e, 0x00, 0x08, 0x1d, 0x6d, 0xae, 0xf2, 0xa1, 0x4f, 0x62, 0x05, - 0x54, 0xa9, 0x84, 0xd7, 0x4f, 0xab, 0x9d, 0x4e, 0x8d, 0x3d, 0x21, 0x52, 0x6f, 0xd7, 0x1e, 0xeb, - 0x58, 0x3e, 0x21, 0xf2, 0x83, 0x34, 0xa4, 0xd9, 0xc5, 0x61, 0xf4, 0x1e, 0x2c, 0x85, 0x31, 0x14, - 0xbd, 0x73, 0xab, 0x6a, 0x51, 0x94, 0x79, 0xf4, 0x5e, 0xec, 0x15, 0xc8, 0x1d, 0xb8, 0x7e, 0x30, - 0x50, 0x5e, 0x5e, 0xa2, 0x5f, 0x2d, 0x68, 0xe6, 0x4d, 0xfe, 0x6e, 0x61, 0x82, 0xb6, 0x24, 0x8a, - 0xdc, 0x4f, 0x56, 0x9f, 0x2c, 0xac, 0x40, 0xca, 0x9e, 0x88, 0x50, 0x39, 0xbf, 0x51, 0x50, 0x9b, - 0x08, 0xb3, 0x2c, 0xf4, 0xbe, 0x0c, 0x41, 0x53, 0x91, 0xd5, 0x11, 0x97, 0x36, 0x77, 0x77, 0xf9, - 0x2f, 0x26, 0x65, 0x38, 0xf5, 0x61, 0x64, 0xf5, 0x73, 0xf9, 0x24, 0xb6, 0xc5, 0x3d, 0xfc, 0x2d, - 0x28, 0x32, 0x97, 0x18, 0x44, 0xae, 0x58, 0xbf, 0x7d, 0x22, 0x37, 0x6b, 0x33, 0x7e, 0xed, 0xba, - 0x30, 0x52, 0x52, 0xa8, 0x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0x7e, 0xfc, 0xdc, 0xac, 0xfd, 0xf6, - 0x97, 0x6b, 0x6f, 0xfc, 0xd3, 0x2f, 0xd7, 0xde, 0xf8, 0x17, 0x5f, 0xae, 0xc5, 0x7e, 0xfc, 0xe5, - 0x5a, 0xec, 0x0f, 0xbe, 0x5c, 0x8b, 0x7d, 0xef, 0x78, 0x2d, 0xf6, 0x57, 0x8f, 0xd7, 0x62, 0x7f, - 0xfb, 0x78, 0x2d, 0xf6, 0xf7, 0x8f, 0xd7, 0x62, 0xbf, 0x75, 0xbc, 0x16, 0xfb, 0xed, 0xe3, 0xb5, - 0xd8, 0x8f, 0x8e, 0xd7, 0xde, 0xf8, 0xf1, 0xf1, 0x5a, 0xec, 0x57, 0x7f, 0x67, 0xed, 0x8d, 0xbf, - 0xf0, 0x3b, 0x6b, 0xb1, 0xef, 0xb0, 0xc5, 0xc4, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x13, 0xff, - 0x56, 0x17, 0x2b, 0x6c, 0x00, 0x00, + // 10195 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x7d, 0x4b, 0x90, 0x1b, 0x49, + 0x76, 0xd8, 0xe0, 0x0f, 0x3c, 0x00, 0xdd, 0xc5, 0x6c, 0x92, 0x03, 0x82, 0x9c, 0x6e, 0x0e, 0x86, + 0xe4, 0x70, 0x3e, 0x4b, 0x72, 0x9a, 0x43, 0xce, 0x90, 0xb3, 0x3b, 0x23, 0x34, 0x50, 0xdd, 0xac, + 0x25, 0x7e, 0x9b, 0x00, 0xc8, 0x99, 0x0d, 0x45, 0x20, 0xaa, 0x0b, 0xd5, 0xdd, 0x25, 0x02, 0x28, + 0x4c, 0x55, 0xa1, 0x49, 0x6e, 0x38, 0xc2, 0x6b, 0x5b, 0xb2, 0x57, 0xb6, 0xe4, 0xd0, 0xc1, 0x11, + 0x96, 0x3f, 0x07, 0xd9, 0x3a,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 0xfd, + 0x12, 0x8a, 0x91, 0xee, 0x7a, 0x35, 0xc7, 0x43, 0xe7, 0x65, 0xcc, 0xc4, 0xe2, 0x1c, 0x11, 0x2d, + 0x95, 0x21, 0xeb, 0x07, 0x66, 0x30, 0xf3, 0x6d, 0x9f, 0x06, 0x3b, 0x45, 0x2c, 0xcb, 0xe5, 0xeb, + 0x50, 0x50, 0x15, 0xfa, 0x83, 0xf1, 0xda, 0x3a, 0xc0, 0x43, 0x67, 0x34, 0xea, 0xb8, 0x23, 0xc7, + 0x7a, 0x8e, 0xee, 0x42, 0x41, 0xed, 0x38, 0xee, 0xbb, 0x4b, 0x63, 0x9e, 0xbc, 0xd2, 0x83, 0x95, + 0xdf, 0x8b, 0x93, 0x48, 0x5b, 0xf6, 0x12, 0xfa, 0x18, 0x92, 0x33, 0xcf, 0x21, 0x41, 0x2a, 0x59, + 0xa4, 0xce, 0x2f, 0xf6, 0xe3, 0x8d, 0x3e, 0x36, 0xb6, 0x0a, 0x3c, 0x7a, 0x49, 0xf6, 0xb1, 0xe1, + 0x63, 0xca, 0x81, 0x3e, 0x84, 0xbc, 0x3d, 0x39, 0x74, 0x3c, 0x77, 0x32, 0x5e, 0x0c, 0xc6, 0xf5, + 0x10, 0x83, 0x55, 0x32, 0xb2, 0x54, 0xb1, 0xd8, 0x9b, 0x59, 0x97, 0xc7, 0xf4, 0x88, 0xc7, 0x19, + 0x2c, 0x28, 0x64, 0x11, 0x46, 0x19, 0x52, 0xfe, 0x81, 0x3d, 0x1a, 0x51, 0x5f, 0xcc, 0xde, 0x4f, + 0x06, 0xde, 0xcc, 0xc6, 0x0c, 0x44, 0xd6, 0x6a, 0xd3, 0xdb, 0x9f, 0x11, 0x89, 0x7e, 0x29, 0x43, + 0x17, 0xbd, 0x10, 0x50, 0xfe, 0x65, 0x1a, 0xfe, 0x1a, 0x27, 0xee, 0x22, 0xd6, 0x01, 0x6c, 0xba, + 0x35, 0x31, 0x77, 0x47, 0x2c, 0x0a, 0xcb, 0x62, 0x05, 0x82, 0xd6, 0x21, 0x63, 0x3f, 0x0b, 0x3c, + 0xd3, 0x0a, 0xa8, 0xa6, 0xa2, 0x7e, 0x01, 0x24, 0xed, 0xb0, 0x4c, 0xeb, 0xc0, 0xa6, 0x23, 0x32, + 0x8b, 0x59, 0x01, 0x6d, 0x40, 0xde, 0x9d, 0x05, 0xd3, 0x59, 0x30, 0xd8, 0x73, 0x46, 0x36, 0x6f, + 0x0e, 0x30, 0xd0, 0xb6, 0x33, 0xb2, 0x2b, 0x3f, 0x97, 0x82, 0x82, 0xdc, 0x12, 0x11, 0xfb, 0x6f, + 0x43, 0xde, 0xe6, 0xe5, 0x81, 0x0c, 0x1f, 0xcf, 0x08, 0x2b, 0xca, 0xcd, 0xd3, 0x16, 0xe2, 0x3d, + 0xa0, 0x6c, 0xa8, 0x84, 0xbe, 0xae, 0x67, 0x0c, 0x89, 0x05, 0x87, 0x66, 0x60, 0x52, 0x75, 0x0a, + 0x98, 0xfe, 0x46, 0xb7, 0x21, 0xe7, 0xf1, 0xdd, 0x0f, 0x99, 0x07, 0x12, 0x4a, 0x10, 0x2d, 0x76, + 0x45, 0xdc, 0x28, 0x21, 0xdd, 0x2b, 0x8e, 0xed, 0x6d, 0x28, 0xec, 0x89, 0x08, 0x82, 0xe8, 0x9f, + 0x3d, 0x36, 0xec, 0x5b, 0x3d, 0x7a, 0xb1, 0xa1, 0x6e, 0x56, 0x71, 0x5e, 0x32, 0x32, 0xf5, 0x69, + 0x50, 0x96, 0x63, 0x0e, 0x40, 0x03, 0xb2, 0x32, 0xa4, 0x99, 0x52, 0x25, 0xa0, 0xf1, 0x16, 0x09, + 0xe3, 0x38, 0x04, 0x6d, 0x42, 0xce, 0x12, 0xfb, 0x3d, 0x1e, 0x1b, 0x9d, 0x5d, 0xd8, 0x07, 0x12, + 0x4d, 0x43, 0x32, 0xc2, 0x33, 0x74, 0x7c, 0x8b, 0x44, 0x94, 0xcf, 0x4b, 0x85, 0x08, 0x4f, 0x5d, + 0xc0, 0x19, 0x8f, 0x24, 0x43, 0x3b, 0x70, 0xce, 0x3f, 0x98, 0x05, 0x43, 0xf7, 0xe9, 0x64, 0x10, + 0x19, 0x6f, 0xc5, 0xe3, 0xc7, 0xdb, 0x9a, 0xe0, 0xd8, 0x09, 0xc7, 0x9d, 0x12, 0xc9, 0xad, 0x9c, + 0x14, 0xc9, 0x6d, 0xf2, 0xb9, 0x72, 0x95, 0xce, 0x95, 0xa5, 0x79, 0x3f, 0x58, 0x16, 0xbe, 0x54, + 0x36, 0x8f, 0x99, 0x53, 0xea, 0xfa, 0x76, 0xb5, 0xdf, 0xe8, 0x69, 0x31, 0x04, 0x90, 0xae, 0xf5, + 0xbb, 0xbd, 0x76, 0x53, 0x8b, 0xf3, 0xc9, 0xe4, 0x5f, 0xc4, 0x00, 0x9a, 0xa6, 0x1f, 0x30, 0x2b, + 0xa1, 0xb2, 0xdc, 0xbb, 0xe4, 0x16, 0x76, 0x2a, 0x65, 0xbe, 0xff, 0x21, 0x53, 0x59, 0x88, 0x5b, + 0xdc, 0x82, 0x16, 0xef, 0x27, 0xef, 0xdc, 0xba, 0x73, 0x8b, 0x4f, 0xad, 0x17, 0x20, 0x31, 0x75, + 0x86, 0xd4, 0x1d, 0x73, 0x6c, 0x82, 0xee, 0x18, 0x75, 0x4c, 0x60, 0x91, 0x20, 0x3c, 0x35, 0x17, + 0x84, 0x97, 0x20, 0x73, 0x68, 0x7b, 0x3e, 0xd9, 0xc5, 0xd1, 0xf0, 0x1d, 0x8b, 0x22, 0xba, 0x1e, + 0xee, 0x56, 0x99, 0x5f, 0xce, 0xed, 0x56, 0xe5, 0x3e, 0xb5, 0xf2, 0x83, 0x38, 0xe4, 0xd8, 0x37, + 0x0c, 0xd2, 0xb4, 0xcb, 0x91, 0xad, 0x5d, 0x38, 0x0f, 0x84, 0x75, 0x46, 0x86, 0x49, 0xe2, 0x25, + 0x87, 0xc9, 0x5d, 0x00, 0x33, 0x08, 0x3c, 0x67, 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0x61, 0x16, 0x8b, 0xe7, 0xdf, 0x58, 0x14, 0xc0, 0x09, + 0xd8, 0xea, 0x2b, 0xe9, 0xd1, 0x26, 0xa4, 0xfd, 0x03, 0xd3, 0xb3, 0x87, 0x34, 0x02, 0xc8, 0x6f, + 0x96, 0xe7, 0x39, 0xbb, 0x14, 0x4b, 0xd9, 0x38, 0x25, 0xda, 0x81, 0x55, 0x73, 0x34, 0x72, 0x2d, + 0x5a, 0xfd, 0xc0, 0x99, 0xec, 0xb9, 0x3c, 0x3e, 0x58, 0x9f, 0x67, 0xae, 0x4a, 0x32, 0x2a, 0x60, + 0xc5, 0x8c, 0x94, 0xd1, 0x37, 0x21, 0x3f, 0xe5, 0xdf, 0x8c, 0x49, 0x64, 0xc3, 0x02, 0x86, 0x0b, + 0x73, 0x42, 0xc2, 0xaf, 0xca, 0x5b, 0x2b, 0x24, 0x3a, 0x0b, 0xcb, 0x18, 0x04, 0xb7, 0x31, 0x2c, + 0x5f, 0x81, 0x95, 0x68, 0x6d, 0x64, 0x40, 0xd3, 0xfe, 0x61, 0x5f, 0x1b, 0xe9, 0xef, 0xf2, 0x23, + 0x58, 0x9d, 0xb3, 0x65, 0xf4, 0xa3, 0x54, 0x6c, 0xfe, 0xa3, 0x54, 0x18, 0x54, 0xc4, 0x4f, 0x08, + 0x2a, 0xca, 0xbf, 0x92, 0x84, 0xac, 0xe8, 0x59, 0x12, 0x70, 0x4e, 0xc9, 0x92, 0xea, 0x07, 0xf6, + 0xc4, 0xb2, 0xf9, 0xbe, 0xe1, 0xca, 0x71, 0x8e, 0x70, 0xa3, 0x13, 0xd2, 0x62, 0x95, 0x91, 0xd4, + 0x7d, 0xe8, 0x8e, 0x66, 0x63, 0x7b, 0xae, 0xee, 0x47, 0x14, 0x88, 0x39, 0x12, 0x7d, 0x24, 0x83, + 0xb8, 0xc4, 0x72, 0xef, 0x91, 0x35, 0x75, 0x69, 0x59, 0x44, 0x78, 0xe5, 0x1d, 0xc8, 0x2b, 0x75,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 0x9d, 0x9a, 0x3f, 0x1b, 0x73, 0x7c, 0x42, 0xb8, 0x4e, 0x08, 0x43, + 0xd7, 0x60, 0x85, 0x74, 0x9c, 0x1f, 0xf4, 0x27, 0x9e, 0x6d, 0x5a, 0x07, 0xc2, 0x07, 0xe7, 0xa0, + 0xcc, 0x51, 0x89, 0x55, 0xf5, 0x67, 0xd6, 0x50, 0x78, 0xa1, 0x0a, 0x62, 0x14, 0x1d, 0xd3, 0x1b, + 0x77, 0x3c, 0x77, 0x57, 0xb8, 0xa0, 0x0a, 0x62, 0xfa, 0x74, 0x3d, 0xeb, 0x5b, 0x33, 0x7b, 0x42, + 0x6a, 0xca, 0x08, 0x7d, 0x42, 0x18, 0x93, 0x82, 0xed, 0xa1, 0xe3, 0xd9, 0x56, 0x20, 0x7c, 0x4f, + 0x05, 0x11, 0xb3, 0x1b, 0x13, 0xdd, 0x3a, 0x70, 0x85, 0xe7, 0x89, 0x22, 0x73, 0x4b, 0xf2, 0x13, + 0xdb, 0x53, 0xe1, 0x75, 0x0a, 0x84, 0xd5, 0x4f, 0x14, 0xf6, 0x03, 0x73, 0x3c, 0x15, 0x5e, 0x17, + 0x81, 0xb1, 0x41, 0x22, 0xcb, 0x54, 0x50, 0x41, 0x0c, 0x92, 0x08, 0x98, 0x69, 0x4a, 0x06, 0x61, + 0xd3, 0xf4, 0x9f, 0xf8, 0xdc, 0xfb, 0x54, 0x10, 0xb3, 0xad, 0x28, 0x52, 0x51, 0x2b, 0xc2, 0xb6, + 0x2a, 0x94, 0xb4, 0xa8, 0x3d, 0x0b, 0x68, 0xe7, 0x32, 0x1f, 0x14, 0x45, 0xe2, 0x48, 0xed, 0x59, + 0xc0, 0xbb, 0x8f, 0x79, 0x60, 0x08, 0x20, 0xba, 0x92, 0x11, 0xa3, 0x76, 0x1e, 0x73, 0xc4, 0x79, + 0x30, 0x69, 0x79, 0x7b, 0x16, 0x84, 0xdd, 0xc7, 0x7c, 0x32, 0x02, 0xe3, 0x34, 0x61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, 0x73, 0x97, 0xc4, 0xc1, 0xe1, 0x78, 0x55, 0x40, 0xc4, 0x87, 0x6b, + 0x33, 0xcf, 0xa3, 0x20, 0x3e, 0x62, 0x43, 0x00, 0x9b, 0xd7, 0xba, 0xf6, 0xbe, 0x18, 0xaf, 0xbc, + 0xc4, 0xc7, 0x04, 0x45, 0xe4, 0xe5, 0x98, 0xa0, 0x98, 0xcb, 0x90, 0xc7, 0x76, 0xe0, 0x99, 0x13, + 0x9f, 0x62, 0xf9, 0xc2, 0xa0, 0x80, 0x98, 0x4c, 0xdd, 0xf3, 0xc4, 0xa0, 0xe4, 0x25, 0x2e, 0x13, + 0x93, 0x25, 0x69, 0x45, 0xca, 0x24, 0xc5, 0x85, 0x99, 0x72, 0x75, 0x71, 0xa6, 0xac, 0xfc, 0xa5, + 0x38, 0x14, 0xfb, 0x43, 0xb5, 0x4f, 0xe9, 0x0c, 0x10, 0x2e, 0xba, 0x31, 0x31, 0x03, 0x84, 0x4b, + 0x6e, 0x09, 0x32, 0x2d, 0xb7, 0xe3, 0x7a, 0x81, 0x98, 0x9c, 0x45, 0x31, 0x32, 0x6f, 0x27, 0x16, + 0xe7, 0x6d, 0x32, 0x80, 0xa5, 0xe0, 0xa4, 0xf4, 0xc5, 0x50, 0x32, 0xf1, 0x27, 0xeb, 0x70, 0x77, + 0xb6, 0x17, 0x0d, 0x0b, 0x54, 0x18, 0xa1, 0xe9, 0x4e, 0x86, 0x21, 0x0d, 0xef, 0x63, 0x15, 0xb6, + 0xd0, 0xf2, 0xcc, 0x92, 0x35, 0x82, 0xd0, 0xec, 0x4f, 0x5c, 0xcf, 0x1e, 0x36, 0x67, 0xa3, 0xc0, + 0xe1, 0x9d, 0x1c, 0x81, 0x55, 0xfe, 0x5c, 0x1c, 0x56, 0xba, 0xad, 0x66, 0x47, 0x31, 0xcf, 0x27, + 0x90, 0x75, 0xa6, 0x03, 0x3f, 0x30, 0x03, 0x7f, 0xee, 0xb4, 0x43, 0x0d, 0xb1, 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0x1f, 0xae, 0xbf, 0xf6, 0xaf, 0x7e, 0xb8, 0x1e, 0xfb, 0xc9, 0x0f, 0xd7, 0x63, 0xbf, + 0xfb, 0xc3, 0xf5, 0xd8, 0x77, 0x8f, 0xd6, 0x63, 0xbf, 0x76, 0xb4, 0x1e, 0xfb, 0x3b, 0x47, 0xeb, + 0xb1, 0xbf, 0x7f, 0xb4, 0x1e, 0xfb, 0xcd, 0xa3, 0xf5, 0xd8, 0xf7, 0x8f, 0xd6, 0x63, 0x3f, 0x3e, + 0x5a, 0x7f, 0xed, 0x27, 0x47, 0xeb, 0xb1, 0x5f, 0xfa, 0xd1, 0xfa, 0x6b, 0xbf, 0xf2, 0xa3, 0xf5, + 0xd8, 0xb7, 0xd9, 0x4e, 0xec, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xa7, 0x53, 0xf0, 0x28, 0x04, + 0x72, 0x00, 0x00, } diff --git a/api/v1/lib/mesos.pb_ffjson.go b/api/v1/lib/mesos.pb_ffjson.go index 1ae1a754..cfdc7160 100644 --- a/api/v1/lib/mesos.pb_ffjson.go +++ b/api/v1/lib/mesos.pb_ffjson.go @@ -2477,6 +2477,21 @@ func (mj *CheckInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { buf.WriteByte(',') } } + if mj.TCP != nil { + if true { + buf.WriteString(`"tcp":`) + + { + + err = mj.TCP.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } if mj.DelaySeconds != nil { if true { buf.WriteString(`"delay_seconds":`) @@ -2513,6 +2528,8 @@ const ( ffj_t_CheckInfo_HTTP + ffj_t_CheckInfo_TCP + ffj_t_CheckInfo_DelaySeconds ffj_t_CheckInfo_IntervalSeconds @@ -2526,6 +2543,8 @@ var ffj_key_CheckInfo_Command = []byte("command") var ffj_key_CheckInfo_HTTP = []byte("http") +var ffj_key_CheckInfo_TCP = []byte("tcp") + var ffj_key_CheckInfo_DelaySeconds = []byte("delay_seconds") var ffj_key_CheckInfo_IntervalSeconds = []byte("interval_seconds") @@ -2630,6 +2649,11 @@ mainparse: state = fflib.FFParse_want_colon goto mainparse + } else if bytes.Equal(ffj_key_CheckInfo_TCP, kn) { + currentKey = ffj_t_CheckInfo_TCP + state = fflib.FFParse_want_colon + goto mainparse + } else if bytes.Equal(ffj_key_CheckInfo_TimeoutSeconds, kn) { currentKey = ffj_t_CheckInfo_TimeoutSeconds state = fflib.FFParse_want_colon @@ -2656,6 +2680,12 @@ mainparse: goto mainparse } + if fflib.SimpleLetterEqualFold(ffj_key_CheckInfo_TCP, kn) { + currentKey = ffj_t_CheckInfo_TCP + state = fflib.FFParse_want_colon + goto mainparse + } + if fflib.SimpleLetterEqualFold(ffj_key_CheckInfo_HTTP, kn) { currentKey = ffj_t_CheckInfo_HTTP state = fflib.FFParse_want_colon @@ -2700,6 +2730,9 @@ mainparse: case ffj_t_CheckInfo_HTTP: goto handle_HTTP + case ffj_t_CheckInfo_TCP: + goto handle_TCP + case ffj_t_CheckInfo_DelaySeconds: goto handle_DelaySeconds @@ -2803,6 +2836,33 @@ handle_HTTP: state = fflib.FFParse_after_value goto mainparse +handle_TCP: + + /* handler: uj.TCP type=mesos.CheckInfo_Tcp kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.TCP = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.TCP == nil { + uj.TCP = new(CheckInfo_Tcp) + } + + err = uj.TCP.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + handle_DelaySeconds: /* handler: uj.DelaySeconds type=float64 kind=float64 quoted=false*/ @@ -3362,6 +3422,199 @@ done: return nil } +func (mj *CheckInfo_Tcp) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *CheckInfo_Tcp) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{"port":`) + fflib.FormatBits2(buf, uint64(mj.Port), 10, false) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_CheckInfo_Tcpbase = iota + ffj_t_CheckInfo_Tcpno_such_key + + ffj_t_CheckInfo_Tcp_Port +) + +var ffj_key_CheckInfo_Tcp_Port = []byte("port") + +func (uj *CheckInfo_Tcp) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *CheckInfo_Tcp) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_CheckInfo_Tcpbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_CheckInfo_Tcpno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'p': + + if bytes.Equal(ffj_key_CheckInfo_Tcp_Port, kn) { + currentKey = ffj_t_CheckInfo_Tcp_Port + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.SimpleLetterEqualFold(ffj_key_CheckInfo_Tcp_Port, kn) { + currentKey = ffj_t_CheckInfo_Tcp_Port + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_CheckInfo_Tcpno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_CheckInfo_Tcp_Port: + goto handle_Port + + case ffj_t_CheckInfo_Tcpno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_Port: + + /* handler: uj.Port type=uint32 kind=uint32 quoted=false*/ + + { + if tok != fflib.FFTok_integer && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for uint32", tok)) + } + } + + { + + if tok == fflib.FFTok_null { + + } else { + + tval, err := fflib.ParseUint(fs.Output.Bytes(), 10, 32) + + if err != nil { + return fs.WrapErr(err) + } + + uj.Port = uint32(tval) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + func (mj *CheckStatusInfo) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { @@ -3430,6 +3683,21 @@ func (mj *CheckStatusInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { buf.WriteByte(',') } } + if mj.TCP != nil { + if true { + buf.WriteString(`"tcp":`) + + { + + err = mj.TCP.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } buf.Rewind(1) buf.WriteByte('}') return nil @@ -3444,6 +3712,8 @@ const ( ffj_t_CheckStatusInfo_Command ffj_t_CheckStatusInfo_HTTP + + ffj_t_CheckStatusInfo_TCP ) var ffj_key_CheckStatusInfo_Type = []byte("type") @@ -3452,6 +3722,8 @@ var ffj_key_CheckStatusInfo_Command = []byte("command") var ffj_key_CheckStatusInfo_HTTP = []byte("http") +var ffj_key_CheckStatusInfo_TCP = []byte("tcp") + func (uj *CheckStatusInfo) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) @@ -3533,10 +3805,21 @@ mainparse: currentKey = ffj_t_CheckStatusInfo_Type state = fflib.FFParse_want_colon goto mainparse + + } else if bytes.Equal(ffj_key_CheckStatusInfo_TCP, kn) { + currentKey = ffj_t_CheckStatusInfo_TCP + state = fflib.FFParse_want_colon + goto mainparse } } + if fflib.SimpleLetterEqualFold(ffj_key_CheckStatusInfo_TCP, kn) { + currentKey = ffj_t_CheckStatusInfo_TCP + state = fflib.FFParse_want_colon + goto mainparse + } + if fflib.SimpleLetterEqualFold(ffj_key_CheckStatusInfo_HTTP, kn) { currentKey = ffj_t_CheckStatusInfo_HTTP state = fflib.FFParse_want_colon @@ -3581,6 +3864,9 @@ mainparse: case ffj_t_CheckStatusInfo_HTTP: goto handle_HTTP + case ffj_t_CheckStatusInfo_TCP: + goto handle_TCP + case ffj_t_CheckStatusInfono_such_key: err = fs.SkipField(tok) if err != nil { @@ -3681,6 +3967,33 @@ handle_HTTP: state = fflib.FFParse_after_value goto mainparse +handle_TCP: + + /* handler: uj.TCP type=mesos.CheckStatusInfo_Tcp kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.TCP = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.TCP == nil { + uj.TCP = new(CheckStatusInfo_Tcp) + } + + err = uj.TCP.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + wantedvalue: return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) wrongtokenerror: @@ -4105,6 +4418,220 @@ done: return nil } +func (mj *CheckStatusInfo_Tcp) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *CheckStatusInfo_Tcp) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{ `) + if mj.Succeeded != nil { + if true { + if *mj.Succeeded { + buf.WriteString(`"succeeded":true`) + } else { + buf.WriteString(`"succeeded":false`) + } + buf.WriteByte(',') + } + } + buf.Rewind(1) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_CheckStatusInfo_Tcpbase = iota + ffj_t_CheckStatusInfo_Tcpno_such_key + + ffj_t_CheckStatusInfo_Tcp_Succeeded +) + +var ffj_key_CheckStatusInfo_Tcp_Succeeded = []byte("succeeded") + +func (uj *CheckStatusInfo_Tcp) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *CheckStatusInfo_Tcp) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_CheckStatusInfo_Tcpbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_CheckStatusInfo_Tcpno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 's': + + if bytes.Equal(ffj_key_CheckStatusInfo_Tcp_Succeeded, kn) { + currentKey = ffj_t_CheckStatusInfo_Tcp_Succeeded + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.EqualFoldRight(ffj_key_CheckStatusInfo_Tcp_Succeeded, kn) { + currentKey = ffj_t_CheckStatusInfo_Tcp_Succeeded + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_CheckStatusInfo_Tcpno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_CheckStatusInfo_Tcp_Succeeded: + goto handle_Succeeded + + case ffj_t_CheckStatusInfo_Tcpno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_Succeeded: + + /* handler: uj.Succeeded type=bool kind=bool quoted=false*/ + + { + if tok != fflib.FFTok_bool && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for bool", tok)) + } + } + + { + if tok == fflib.FFTok_null { + + uj.Succeeded = nil + + } else { + tmpb := fs.Output.Bytes() + + var tval bool + + if bytes.Compare([]byte{'t', 'r', 'u', 'e'}, tmpb) == 0 { + + tval = true + + } else if bytes.Compare([]byte{'f', 'a', 'l', 's', 'e'}, tmpb) == 0 { + + tval = false + + } else { + err = errors.New("unexpected bytes for true/false value") + return fs.WrapErr(err) + } + + uj.Succeeded = &tval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + func (mj *CommandInfo) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { @@ -8367,7 +8894,7 @@ done: return nil } -func (mj *DiscoveryInfo) MarshalJSON() ([]byte, error) { +func (mj *Device) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -8379,7 +8906,7 @@ func (mj *DiscoveryInfo) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *DiscoveryInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Device) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -8388,122 +8915,29 @@ func (mj *DiscoveryInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{ "visibility":`) - - { - - obj, err = mj.Visibility.MarshalJSON() - if err != nil { - return err - } - buf.Write(obj) - - } - buf.WriteByte(',') - if mj.Name != nil { - if true { - buf.WriteString(`"name":`) - fflib.WriteJsonString(buf, string(*mj.Name)) - buf.WriteByte(',') - } - } - if mj.Environment != nil { - if true { - buf.WriteString(`"environment":`) - fflib.WriteJsonString(buf, string(*mj.Environment)) - buf.WriteByte(',') - } - } - if mj.Location != nil { - if true { - buf.WriteString(`"location":`) - fflib.WriteJsonString(buf, string(*mj.Location)) - buf.WriteByte(',') - } - } - if mj.Version != nil { - if true { - buf.WriteString(`"version":`) - fflib.WriteJsonString(buf, string(*mj.Version)) - buf.WriteByte(',') - } - } - if mj.Ports != nil { - if true { - buf.WriteString(`"ports":`) - - { - - err = mj.Ports.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - buf.WriteByte(',') - } - } - if mj.Labels != nil { - if true { - buf.WriteString(`"labels":`) - - { - - err = mj.Labels.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - buf.WriteByte(',') - } - } - buf.Rewind(1) + buf.WriteString(`{"path":`) + fflib.WriteJsonString(buf, string(mj.Path)) buf.WriteByte('}') return nil } const ( - ffj_t_DiscoveryInfobase = iota - ffj_t_DiscoveryInfono_such_key - - ffj_t_DiscoveryInfo_Visibility - - ffj_t_DiscoveryInfo_Name - - ffj_t_DiscoveryInfo_Environment - - ffj_t_DiscoveryInfo_Location - - ffj_t_DiscoveryInfo_Version - - ffj_t_DiscoveryInfo_Ports + ffj_t_Devicebase = iota + ffj_t_Deviceno_such_key - ffj_t_DiscoveryInfo_Labels + ffj_t_Device_Path ) -var ffj_key_DiscoveryInfo_Visibility = []byte("visibility") - -var ffj_key_DiscoveryInfo_Name = []byte("name") - -var ffj_key_DiscoveryInfo_Environment = []byte("environment") - -var ffj_key_DiscoveryInfo_Location = []byte("location") - -var ffj_key_DiscoveryInfo_Version = []byte("version") +var ffj_key_Device_Path = []byte("path") -var ffj_key_DiscoveryInfo_Ports = []byte("ports") - -var ffj_key_DiscoveryInfo_Labels = []byte("labels") - -func (uj *DiscoveryInfo) UnmarshalJSON(input []byte) error { +func (uj *Device) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *DiscoveryInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Device) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_DiscoveryInfobase + currentKey := ffj_t_Devicebase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -8549,107 +8983,29 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_DiscoveryInfono_such_key + currentKey = ffj_t_Deviceno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'e': - - if bytes.Equal(ffj_key_DiscoveryInfo_Environment, kn) { - currentKey = ffj_t_DiscoveryInfo_Environment - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'l': - - if bytes.Equal(ffj_key_DiscoveryInfo_Location, kn) { - currentKey = ffj_t_DiscoveryInfo_Location - state = fflib.FFParse_want_colon - goto mainparse - - } else if bytes.Equal(ffj_key_DiscoveryInfo_Labels, kn) { - currentKey = ffj_t_DiscoveryInfo_Labels - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'n': - - if bytes.Equal(ffj_key_DiscoveryInfo_Name, kn) { - currentKey = ffj_t_DiscoveryInfo_Name - state = fflib.FFParse_want_colon - goto mainparse - } - case 'p': - if bytes.Equal(ffj_key_DiscoveryInfo_Ports, kn) { - currentKey = ffj_t_DiscoveryInfo_Ports - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'v': - - if bytes.Equal(ffj_key_DiscoveryInfo_Visibility, kn) { - currentKey = ffj_t_DiscoveryInfo_Visibility - state = fflib.FFParse_want_colon - goto mainparse - - } else if bytes.Equal(ffj_key_DiscoveryInfo_Version, kn) { - currentKey = ffj_t_DiscoveryInfo_Version + if bytes.Equal(ffj_key_Device_Path, kn) { + currentKey = ffj_t_Device_Path state = fflib.FFParse_want_colon goto mainparse } } - if fflib.EqualFoldRight(ffj_key_DiscoveryInfo_Labels, kn) { - currentKey = ffj_t_DiscoveryInfo_Labels - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_DiscoveryInfo_Ports, kn) { - currentKey = ffj_t_DiscoveryInfo_Ports - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_DiscoveryInfo_Version, kn) { - currentKey = ffj_t_DiscoveryInfo_Version - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_DiscoveryInfo_Location, kn) { - currentKey = ffj_t_DiscoveryInfo_Location - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_DiscoveryInfo_Environment, kn) { - currentKey = ffj_t_DiscoveryInfo_Environment - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_DiscoveryInfo_Name, kn) { - currentKey = ffj_t_DiscoveryInfo_Name - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_DiscoveryInfo_Visibility, kn) { - currentKey = ffj_t_DiscoveryInfo_Visibility + if fflib.SimpleLetterEqualFold(ffj_key_Device_Path, kn) { + currentKey = ffj_t_Device_Path state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_DiscoveryInfono_such_key + currentKey = ffj_t_Deviceno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -8666,28 +9022,10 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_DiscoveryInfo_Visibility: - goto handle_Visibility - - case ffj_t_DiscoveryInfo_Name: - goto handle_Name - - case ffj_t_DiscoveryInfo_Environment: - goto handle_Environment - - case ffj_t_DiscoveryInfo_Location: - goto handle_Location - - case ffj_t_DiscoveryInfo_Version: - goto handle_Version - - case ffj_t_DiscoveryInfo_Ports: - goto handle_Ports - - case ffj_t_DiscoveryInfo_Labels: - goto handle_Labels + case ffj_t_Device_Path: + goto handle_Path - case ffj_t_DiscoveryInfono_such_key: + case ffj_t_Deviceno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -8701,125 +9039,9 @@ mainparse: } } -handle_Visibility: - - /* handler: uj.Visibility type=mesos.DiscoveryInfo_Visibility kind=int32 quoted=false*/ - - { - if tok == fflib.FFTok_null { - - state = fflib.FFParse_after_value - goto mainparse - } - - tbuf, err := fs.CaptureField(tok) - if err != nil { - return fs.WrapErr(err) - } - - err = uj.Visibility.UnmarshalJSON(tbuf) - if err != nil { - return fs.WrapErr(err) - } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Name: - - /* handler: uj.Name type=string kind=string quoted=false*/ - - { - - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - - if tok == fflib.FFTok_null { - - uj.Name = nil - - } else { - - var tval string - outBuf := fs.Output.Bytes() - - tval = string(string(outBuf)) - uj.Name = &tval - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Environment: - - /* handler: uj.Environment type=string kind=string quoted=false*/ - - { - - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - - if tok == fflib.FFTok_null { - - uj.Environment = nil - - } else { - - var tval string - outBuf := fs.Output.Bytes() - - tval = string(string(outBuf)) - uj.Environment = &tval - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Location: - - /* handler: uj.Location type=string kind=string quoted=false*/ - - { - - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - - if tok == fflib.FFTok_null { - - uj.Location = nil - - } else { - - var tval string - outBuf := fs.Output.Bytes() - - tval = string(string(outBuf)) - uj.Location = &tval - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Version: +handle_Path: - /* handler: uj.Version type=string kind=string quoted=false*/ + /* handler: uj.Path type=string kind=string quoted=false*/ { @@ -8831,71 +9053,13 @@ handle_Version: if tok == fflib.FFTok_null { - uj.Version = nil - } else { - var tval string outBuf := fs.Output.Bytes() - tval = string(string(outBuf)) - uj.Version = &tval - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Ports: - - /* handler: uj.Ports type=mesos.Ports kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { - - uj.Ports = nil - - state = fflib.FFParse_after_value - goto mainparse - } - - if uj.Ports == nil { - uj.Ports = new(Ports) - } - - err = uj.Ports.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Labels: - - /* handler: uj.Labels type=mesos.Labels kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { - - uj.Labels = nil - - state = fflib.FFParse_after_value - goto mainparse - } - - if uj.Labels == nil { - uj.Labels = new(Labels) - } + uj.Path = string(string(outBuf)) - err = uj.Labels.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err } - state = fflib.FFParse_after_value } state = fflib.FFParse_after_value @@ -8919,7 +9083,7 @@ done: return nil } -func (mj *DurationInfo) MarshalJSON() ([]byte, error) { +func (mj *DeviceAccess) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -8931,7 +9095,7 @@ func (mj *DurationInfo) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *DurationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *DeviceAccess) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -8940,29 +9104,51 @@ func (mj *DurationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{"nanoseconds":`) - fflib.FormatBits2(buf, uint64(mj.Nanoseconds), 10, mj.Nanoseconds < 0) + buf.WriteString(`{"device":`) + + { + + err = mj.Device.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteString(`,"access":`) + + { + + err = mj.Access.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } buf.WriteByte('}') return nil } const ( - ffj_t_DurationInfobase = iota - ffj_t_DurationInfono_such_key + ffj_t_DeviceAccessbase = iota + ffj_t_DeviceAccessno_such_key - ffj_t_DurationInfo_Nanoseconds + ffj_t_DeviceAccess_Device + + ffj_t_DeviceAccess_Access ) -var ffj_key_DurationInfo_Nanoseconds = []byte("nanoseconds") +var ffj_key_DeviceAccess_Device = []byte("device") -func (uj *DurationInfo) UnmarshalJSON(input []byte) error { +var ffj_key_DeviceAccess_Access = []byte("access") + +func (uj *DeviceAccess) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *DurationInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *DeviceAccess) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_DurationInfobase + currentKey := ffj_t_DeviceAccessbase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -9008,29 +9194,43 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_DurationInfono_such_key + currentKey = ffj_t_DeviceAccessno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'n': + case 'a': - if bytes.Equal(ffj_key_DurationInfo_Nanoseconds, kn) { - currentKey = ffj_t_DurationInfo_Nanoseconds + if bytes.Equal(ffj_key_DeviceAccess_Access, kn) { + currentKey = ffj_t_DeviceAccess_Access + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'd': + + if bytes.Equal(ffj_key_DeviceAccess_Device, kn) { + currentKey = ffj_t_DeviceAccess_Device state = fflib.FFParse_want_colon goto mainparse } } - if fflib.EqualFoldRight(ffj_key_DurationInfo_Nanoseconds, kn) { - currentKey = ffj_t_DurationInfo_Nanoseconds + if fflib.EqualFoldRight(ffj_key_DeviceAccess_Access, kn) { + currentKey = ffj_t_DeviceAccess_Access state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_DurationInfono_such_key + if fflib.SimpleLetterEqualFold(ffj_key_DeviceAccess_Device, kn) { + currentKey = ffj_t_DeviceAccess_Device + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_DeviceAccessno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -9047,10 +9247,13 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_DurationInfo_Nanoseconds: - goto handle_Nanoseconds + case ffj_t_DeviceAccess_Device: + goto handle_Device - case ffj_t_DurationInfono_such_key: + case ffj_t_DeviceAccess_Access: + goto handle_Access + + case ffj_t_DeviceAccessno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -9064,31 +9267,43 @@ mainparse: } } -handle_Nanoseconds: +handle_Device: - /* handler: uj.Nanoseconds type=int64 kind=int64 quoted=false*/ + /* handler: uj.Device type=mesos.Device kind=struct quoted=false*/ { - if tok != fflib.FFTok_integer && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for int64", tok)) + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse } - } - { + err = uj.Device.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } - if tok == fflib.FFTok_null { + state = fflib.FFParse_after_value + goto mainparse - } else { +handle_Access: - tval, err := fflib.ParseInt(fs.Output.Bytes(), 10, 64) + /* handler: uj.Access type=mesos.DeviceAccess_Access kind=struct quoted=false*/ - if err != nil { - return fs.WrapErr(err) - } + { + if tok == fflib.FFTok_null { - uj.Nanoseconds = int64(tval) + state = fflib.FFParse_after_value + goto mainparse + } + err = uj.Access.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err } + state = fflib.FFParse_after_value } state = fflib.FFParse_after_value @@ -9112,7 +9327,7 @@ done: return nil } -func (mj *Environment) MarshalJSON() ([]byte, error) { +func (mj *DeviceAccess_Access) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -9124,7 +9339,7 @@ func (mj *Environment) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Environment) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *DeviceAccess_Access) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -9133,48 +9348,67 @@ func (mj *Environment) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{"variables":`) - if mj.Variables != nil { - buf.WriteString(`[`) - for i, v := range mj.Variables { - if i != 0 { - buf.WriteString(`,`) + buf.WriteString(`{ `) + if mj.Read != nil { + if true { + if *mj.Read { + buf.WriteString(`"read":true`) + } else { + buf.WriteString(`"read":false`) } - - { - - err = v.MarshalJSONBuf(buf) - if err != nil { - return err - } - + buf.WriteByte(',') + } + } + if mj.Write != nil { + if true { + if *mj.Write { + buf.WriteString(`"write":true`) + } else { + buf.WriteString(`"write":false`) } + buf.WriteByte(',') + } + } + if mj.Mknod != nil { + if true { + if *mj.Mknod { + buf.WriteString(`"mknod":true`) + } else { + buf.WriteString(`"mknod":false`) + } + buf.WriteByte(',') } - buf.WriteString(`]`) - } else { - buf.WriteString(`null`) } + buf.Rewind(1) buf.WriteByte('}') return nil } const ( - ffj_t_Environmentbase = iota - ffj_t_Environmentno_such_key + ffj_t_DeviceAccess_Accessbase = iota + ffj_t_DeviceAccess_Accessno_such_key - ffj_t_Environment_Variables + ffj_t_DeviceAccess_Access_Read + + ffj_t_DeviceAccess_Access_Write + + ffj_t_DeviceAccess_Access_Mknod ) -var ffj_key_Environment_Variables = []byte("variables") +var ffj_key_DeviceAccess_Access_Read = []byte("read") -func (uj *Environment) UnmarshalJSON(input []byte) error { +var ffj_key_DeviceAccess_Access_Write = []byte("write") + +var ffj_key_DeviceAccess_Access_Mknod = []byte("mknod") + +func (uj *DeviceAccess_Access) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Environment) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *DeviceAccess_Access) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Environmentbase + currentKey := ffj_t_DeviceAccess_Accessbase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -9220,29 +9454,57 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Environmentno_such_key + currentKey = ffj_t_DeviceAccess_Accessno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'v': + case 'm': - if bytes.Equal(ffj_key_Environment_Variables, kn) { - currentKey = ffj_t_Environment_Variables + if bytes.Equal(ffj_key_DeviceAccess_Access_Mknod, kn) { + currentKey = ffj_t_DeviceAccess_Access_Mknod + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'r': + + if bytes.Equal(ffj_key_DeviceAccess_Access_Read, kn) { + currentKey = ffj_t_DeviceAccess_Access_Read + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'w': + + if bytes.Equal(ffj_key_DeviceAccess_Access_Write, kn) { + currentKey = ffj_t_DeviceAccess_Access_Write state = fflib.FFParse_want_colon goto mainparse } } - if fflib.EqualFoldRight(ffj_key_Environment_Variables, kn) { - currentKey = ffj_t_Environment_Variables + if fflib.EqualFoldRight(ffj_key_DeviceAccess_Access_Mknod, kn) { + currentKey = ffj_t_DeviceAccess_Access_Mknod state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_Environmentno_such_key + if fflib.SimpleLetterEqualFold(ffj_key_DeviceAccess_Access_Write, kn) { + currentKey = ffj_t_DeviceAccess_Access_Write + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_DeviceAccess_Access_Read, kn) { + currentKey = ffj_t_DeviceAccess_Access_Read + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_DeviceAccess_Accessno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -9259,10 +9521,16 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Environment_Variables: - goto handle_Variables + case ffj_t_DeviceAccess_Access_Read: + goto handle_Read - case ffj_t_Environmentno_such_key: + case ffj_t_DeviceAccess_Access_Write: + goto handle_Write + + case ffj_t_DeviceAccess_Access_Mknod: + goto handle_Mknod + + case ffj_t_DeviceAccess_Accessno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -9276,317 +9544,122 @@ mainparse: } } -handle_Variables: +handle_Read: - /* handler: uj.Variables type=[]mesos.Environment_Variable kind=slice quoted=false*/ + /* handler: uj.Read type=bool kind=bool quoted=false*/ { - - { - if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) - } + if tok != fflib.FFTok_bool && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for bool", tok)) } + } + { if tok == fflib.FFTok_null { - uj.Variables = nil - } else { - - uj.Variables = []Environment_Variable{} - - wantVal := true - for { + uj.Read = nil - var tmp_uj__Variables Environment_Variable + } else { + tmpb := fs.Output.Bytes() - tok = fs.Scan() - if tok == fflib.FFTok_error { - goto tokerror - } - if tok == fflib.FFTok_right_brace { - break - } + var tval bool - if tok == fflib.FFTok_comma { - if wantVal == true { - // TODO(pquerna): this isn't an ideal error message, this handles - // things like [,,,] as an array value. - return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) - } - continue - } else { - wantVal = true - } + if bytes.Compare([]byte{'t', 'r', 'u', 'e'}, tmpb) == 0 { - /* handler: tmp_uj__Variables type=mesos.Environment_Variable kind=struct quoted=false*/ + tval = true - { - if tok == fflib.FFTok_null { + } else if bytes.Compare([]byte{'f', 'a', 'l', 's', 'e'}, tmpb) == 0 { - state = fflib.FFParse_after_value - goto mainparse - } + tval = false - err = tmp_uj__Variables.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } + } else { + err = errors.New("unexpected bytes for true/false value") + return fs.WrapErr(err) + } - uj.Variables = append(uj.Variables, tmp_uj__Variables) + uj.Read = &tval - wantVal = false - } } } state = fflib.FFParse_after_value goto mainparse -wantedvalue: - return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) -wrongtokenerror: - return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) -tokerror: - if fs.BigError != nil { - return fs.WrapErr(fs.BigError) - } - err = fs.Error.ToError() - if err != nil { - return fs.WrapErr(err) - } - panic("ffjson-generated: unreachable, please report bug.") -done: +handle_Write: - return nil -} + /* handler: uj.Write type=bool kind=bool quoted=false*/ -func (mj *Environment_Variable) MarshalJSON() ([]byte, error) { - var buf fflib.Buffer - if mj == nil { - buf.WriteString("null") - return buf.Bytes(), nil - } - err := mj.MarshalJSONBuf(&buf) - if err != nil { - return nil, err - } - return buf.Bytes(), nil -} -func (mj *Environment_Variable) MarshalJSONBuf(buf fflib.EncodingBuffer) error { - if mj == nil { - buf.WriteString("null") - return nil - } - var err error - var obj []byte - _ = obj - _ = err - buf.WriteString(`{ "name":`) - fflib.WriteJsonString(buf, string(mj.Name)) - buf.WriteByte(',') - if mj.Value != nil { - if true { - buf.WriteString(`"value":`) - fflib.WriteJsonString(buf, string(*mj.Value)) - buf.WriteByte(',') + { + if tok != fflib.FFTok_bool && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for bool", tok)) } } - buf.Rewind(1) - buf.WriteByte('}') - return nil -} - -const ( - ffj_t_Environment_Variablebase = iota - ffj_t_Environment_Variableno_such_key - - ffj_t_Environment_Variable_Name - ffj_t_Environment_Variable_Value -) - -var ffj_key_Environment_Variable_Name = []byte("name") - -var ffj_key_Environment_Variable_Value = []byte("value") + { + if tok == fflib.FFTok_null { -func (uj *Environment_Variable) UnmarshalJSON(input []byte) error { - fs := fflib.NewFFLexer(input) - return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) -} + uj.Write = nil -func (uj *Environment_Variable) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { - var err error = nil - currentKey := ffj_t_Environment_Variablebase - _ = currentKey - tok := fflib.FFTok_init - wantedTok := fflib.FFTok_init + } else { + tmpb := fs.Output.Bytes() -mainparse: - for { - tok = fs.Scan() - // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) - if tok == fflib.FFTok_error { - goto tokerror - } + var tval bool - switch state { + if bytes.Compare([]byte{'t', 'r', 'u', 'e'}, tmpb) == 0 { - case fflib.FFParse_map_start: - if tok != fflib.FFTok_left_bracket { - wantedTok = fflib.FFTok_left_bracket - goto wrongtokenerror - } - state = fflib.FFParse_want_key - continue + tval = true - case fflib.FFParse_after_value: - if tok == fflib.FFTok_comma { - state = fflib.FFParse_want_key - } else if tok == fflib.FFTok_right_bracket { - goto done - } else { - wantedTok = fflib.FFTok_comma - goto wrongtokenerror - } + } else if bytes.Compare([]byte{'f', 'a', 'l', 's', 'e'}, tmpb) == 0 { - case fflib.FFParse_want_key: - // json {} ended. goto exit. woo. - if tok == fflib.FFTok_right_bracket { - goto done - } - if tok != fflib.FFTok_string { - wantedTok = fflib.FFTok_string - goto wrongtokenerror - } + tval = false - kn := fs.Output.Bytes() - if len(kn) <= 0 { - // "" case. hrm. - currentKey = ffj_t_Environment_Variableno_such_key - state = fflib.FFParse_want_colon - goto mainparse } else { - switch kn[0] { - - case 'n': - - if bytes.Equal(ffj_key_Environment_Variable_Name, kn) { - currentKey = ffj_t_Environment_Variable_Name - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'v': - - if bytes.Equal(ffj_key_Environment_Variable_Value, kn) { - currentKey = ffj_t_Environment_Variable_Value - state = fflib.FFParse_want_colon - goto mainparse - } - - } - - if fflib.SimpleLetterEqualFold(ffj_key_Environment_Variable_Value, kn) { - currentKey = ffj_t_Environment_Variable_Value - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_Environment_Variable_Name, kn) { - currentKey = ffj_t_Environment_Variable_Name - state = fflib.FFParse_want_colon - goto mainparse - } - - currentKey = ffj_t_Environment_Variableno_such_key - state = fflib.FFParse_want_colon - goto mainparse - } - - case fflib.FFParse_want_colon: - if tok != fflib.FFTok_colon { - wantedTok = fflib.FFTok_colon - goto wrongtokenerror + err = errors.New("unexpected bytes for true/false value") + return fs.WrapErr(err) } - state = fflib.FFParse_want_value - continue - case fflib.FFParse_want_value: - - if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { - switch currentKey { - - case ffj_t_Environment_Variable_Name: - goto handle_Name - case ffj_t_Environment_Variable_Value: - goto handle_Value + uj.Write = &tval - case ffj_t_Environment_Variableno_such_key: - err = fs.SkipField(tok) - if err != nil { - return fs.WrapErr(err) - } - state = fflib.FFParse_after_value - goto mainparse - } - } else { - goto wantedvalue - } } } -handle_Name: + state = fflib.FFParse_after_value + goto mainparse - /* handler: uj.Name type=string kind=string quoted=false*/ +handle_Mknod: - { + /* handler: uj.Mknod type=bool kind=bool quoted=false*/ - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } + { + if tok != fflib.FFTok_bool && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for bool", tok)) } + } + { if tok == fflib.FFTok_null { - } else { - - outBuf := fs.Output.Bytes() + uj.Mknod = nil - uj.Name = string(string(outBuf)) + } else { + tmpb := fs.Output.Bytes() - } - } + var tval bool - state = fflib.FFParse_after_value - goto mainparse + if bytes.Compare([]byte{'t', 'r', 'u', 'e'}, tmpb) == 0 { -handle_Value: + tval = true - /* handler: uj.Value type=string kind=string quoted=false*/ + } else if bytes.Compare([]byte{'f', 'a', 'l', 's', 'e'}, tmpb) == 0 { - { + tval = false - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } else { + err = errors.New("unexpected bytes for true/false value") + return fs.WrapErr(err) } - } - if tok == fflib.FFTok_null { - - uj.Value = nil - - } else { - - var tval string - outBuf := fs.Output.Bytes() - - tval = string(string(outBuf)) - uj.Value = &tval + uj.Mknod = &tval } } @@ -9612,7 +9685,7 @@ done: return nil } -func (mj *ExecutorID) MarshalJSON() ([]byte, error) { +func (mj *DeviceWhitelist) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -9624,7 +9697,7 @@ func (mj *ExecutorID) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *ExecutorID) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *DeviceWhitelist) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -9633,29 +9706,48 @@ func (mj *ExecutorID) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{"value":`) - fflib.WriteJsonString(buf, string(mj.Value)) + buf.WriteString(`{"allowed_devices":`) + if mj.AllowedDevices != nil { + buf.WriteString(`[`) + for i, v := range mj.AllowedDevices { + if i != 0 { + buf.WriteString(`,`) + } + + { + + err = v.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + } + buf.WriteString(`]`) + } else { + buf.WriteString(`null`) + } buf.WriteByte('}') return nil } const ( - ffj_t_ExecutorIDbase = iota - ffj_t_ExecutorIDno_such_key + ffj_t_DeviceWhitelistbase = iota + ffj_t_DeviceWhitelistno_such_key - ffj_t_ExecutorID_Value + ffj_t_DeviceWhitelist_AllowedDevices ) -var ffj_key_ExecutorID_Value = []byte("value") +var ffj_key_DeviceWhitelist_AllowedDevices = []byte("allowed_devices") -func (uj *ExecutorID) UnmarshalJSON(input []byte) error { +func (uj *DeviceWhitelist) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *ExecutorID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *DeviceWhitelist) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_ExecutorIDbase + currentKey := ffj_t_DeviceWhitelistbase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -9701,29 +9793,29 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_ExecutorIDno_such_key + currentKey = ffj_t_DeviceWhitelistno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'v': + case 'a': - if bytes.Equal(ffj_key_ExecutorID_Value, kn) { - currentKey = ffj_t_ExecutorID_Value + if bytes.Equal(ffj_key_DeviceWhitelist_AllowedDevices, kn) { + currentKey = ffj_t_DeviceWhitelist_AllowedDevices state = fflib.FFParse_want_colon goto mainparse } } - if fflib.SimpleLetterEqualFold(ffj_key_ExecutorID_Value, kn) { - currentKey = ffj_t_ExecutorID_Value + if fflib.EqualFoldRight(ffj_key_DeviceWhitelist_AllowedDevices, kn) { + currentKey = ffj_t_DeviceWhitelist_AllowedDevices state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_ExecutorIDno_such_key + currentKey = ffj_t_DeviceWhitelistno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -9740,10 +9832,10 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_ExecutorID_Value: - goto handle_Value + case ffj_t_DeviceWhitelist_AllowedDevices: + goto handle_AllowedDevices - case ffj_t_ExecutorIDno_such_key: + case ffj_t_DeviceWhitelistno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -9757,26 +9849,69 @@ mainparse: } } -handle_Value: +handle_AllowedDevices: - /* handler: uj.Value type=string kind=string quoted=false*/ + /* handler: uj.AllowedDevices type=[]mesos.DeviceAccess kind=slice quoted=false*/ { { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) } } if tok == fflib.FFTok_null { - + uj.AllowedDevices = nil } else { - outBuf := fs.Output.Bytes() + uj.AllowedDevices = []DeviceAccess{} - uj.Value = string(string(outBuf)) + wantVal := true + + for { + + var tmp_uj__AllowedDevices DeviceAccess + + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } + + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } + + /* handler: tmp_uj__AllowedDevices type=mesos.DeviceAccess kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = tmp_uj__AllowedDevices.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + uj.AllowedDevices = append(uj.AllowedDevices, tmp_uj__AllowedDevices) + wantVal = false + } } } @@ -9801,7 +9936,7 @@ done: return nil } -func (mj *ExecutorInfo) MarshalJSON() ([]byte, error) { +func (mj *DiscoveryInfo) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -9813,7 +9948,7 @@ func (mj *ExecutorInfo) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *ExecutorInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *DiscoveryInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -9822,94 +9957,17 @@ func (mj *ExecutorInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{ "type":`) + buf.WriteString(`{ "visibility":`) { - obj, err = mj.Type.MarshalJSON() + obj, err = mj.Visibility.MarshalJSON() if err != nil { return err } buf.Write(obj) } - buf.WriteString(`,"executor_id":`) - - { - - err = mj.ExecutorID.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - buf.WriteByte(',') - if mj.FrameworkID != nil { - if true { - buf.WriteString(`"framework_id":`) - - { - - err = mj.FrameworkID.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - buf.WriteByte(',') - } - } - if mj.Command != nil { - if true { - buf.WriteString(`"command":`) - - { - - err = mj.Command.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - buf.WriteByte(',') - } - } - if mj.Container != nil { - if true { - buf.WriteString(`"container":`) - - { - - err = mj.Container.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - buf.WriteByte(',') - } - } - buf.WriteString(`"resources":`) - if mj.Resources != nil { - buf.WriteString(`[`) - for i, v := range mj.Resources { - if i != 0 { - buf.WriteString(`,`) - } - - { - - err = v.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - } - buf.WriteString(`]`) - } else { - buf.WriteString(`null`) - } buf.WriteByte(',') if mj.Name != nil { if true { @@ -9918,50 +9976,34 @@ func (mj *ExecutorInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { buf.WriteByte(',') } } - if mj.Source != nil { + if mj.Environment != nil { if true { - buf.WriteString(`"source":`) - fflib.WriteJsonString(buf, string(*mj.Source)) + buf.WriteString(`"environment":`) + fflib.WriteJsonString(buf, string(*mj.Environment)) buf.WriteByte(',') } } - if len(mj.Data) != 0 { - buf.WriteString(`"data":`) - if mj.Data != nil { - buf.WriteString(`"`) - { - enc := base64.NewEncoder(base64.StdEncoding, buf) - enc.Write(reflect.Indirect(reflect.ValueOf(mj.Data)).Bytes()) - enc.Close() - } - buf.WriteString(`"`) - } else { - buf.WriteString(`null`) + if mj.Location != nil { + if true { + buf.WriteString(`"location":`) + fflib.WriteJsonString(buf, string(*mj.Location)) + buf.WriteByte(',') } - buf.WriteByte(',') } - if mj.Discovery != nil { + if mj.Version != nil { if true { - buf.WriteString(`"discovery":`) - - { - - err = mj.Discovery.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } + buf.WriteString(`"version":`) + fflib.WriteJsonString(buf, string(*mj.Version)) buf.WriteByte(',') } } - if mj.ShutdownGracePeriod != nil { + if mj.Ports != nil { if true { - buf.WriteString(`"shutdown_grace_period":`) + buf.WriteString(`"ports":`) { - err = mj.ShutdownGracePeriod.MarshalJSONBuf(buf) + err = mj.Ports.MarshalJSONBuf(buf) if err != nil { return err } @@ -9991,66 +10033,46 @@ func (mj *ExecutorInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { } const ( - ffj_t_ExecutorInfobase = iota - ffj_t_ExecutorInfono_such_key - - ffj_t_ExecutorInfo_Type - - ffj_t_ExecutorInfo_ExecutorID - - ffj_t_ExecutorInfo_FrameworkID - - ffj_t_ExecutorInfo_Command - - ffj_t_ExecutorInfo_Container + ffj_t_DiscoveryInfobase = iota + ffj_t_DiscoveryInfono_such_key - ffj_t_ExecutorInfo_Resources + ffj_t_DiscoveryInfo_Visibility - ffj_t_ExecutorInfo_Name + ffj_t_DiscoveryInfo_Name - ffj_t_ExecutorInfo_Source + ffj_t_DiscoveryInfo_Environment - ffj_t_ExecutorInfo_Data + ffj_t_DiscoveryInfo_Location - ffj_t_ExecutorInfo_Discovery + ffj_t_DiscoveryInfo_Version - ffj_t_ExecutorInfo_ShutdownGracePeriod + ffj_t_DiscoveryInfo_Ports - ffj_t_ExecutorInfo_Labels + ffj_t_DiscoveryInfo_Labels ) -var ffj_key_ExecutorInfo_Type = []byte("type") - -var ffj_key_ExecutorInfo_ExecutorID = []byte("executor_id") - -var ffj_key_ExecutorInfo_FrameworkID = []byte("framework_id") - -var ffj_key_ExecutorInfo_Command = []byte("command") - -var ffj_key_ExecutorInfo_Container = []byte("container") - -var ffj_key_ExecutorInfo_Resources = []byte("resources") +var ffj_key_DiscoveryInfo_Visibility = []byte("visibility") -var ffj_key_ExecutorInfo_Name = []byte("name") +var ffj_key_DiscoveryInfo_Name = []byte("name") -var ffj_key_ExecutorInfo_Source = []byte("source") +var ffj_key_DiscoveryInfo_Environment = []byte("environment") -var ffj_key_ExecutorInfo_Data = []byte("data") +var ffj_key_DiscoveryInfo_Location = []byte("location") -var ffj_key_ExecutorInfo_Discovery = []byte("discovery") +var ffj_key_DiscoveryInfo_Version = []byte("version") -var ffj_key_ExecutorInfo_ShutdownGracePeriod = []byte("shutdown_grace_period") +var ffj_key_DiscoveryInfo_Ports = []byte("ports") -var ffj_key_ExecutorInfo_Labels = []byte("labels") +var ffj_key_DiscoveryInfo_Labels = []byte("labels") -func (uj *ExecutorInfo) UnmarshalJSON(input []byte) error { +func (uj *DiscoveryInfo) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *ExecutorInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *DiscoveryInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_ExecutorInfobase + currentKey := ffj_t_DiscoveryInfobase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -10096,174 +10118,107 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_ExecutorInfono_such_key + currentKey = ffj_t_DiscoveryInfono_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'c': - - if bytes.Equal(ffj_key_ExecutorInfo_Command, kn) { - currentKey = ffj_t_ExecutorInfo_Command - state = fflib.FFParse_want_colon - goto mainparse - - } else if bytes.Equal(ffj_key_ExecutorInfo_Container, kn) { - currentKey = ffj_t_ExecutorInfo_Container - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'd': - - if bytes.Equal(ffj_key_ExecutorInfo_Data, kn) { - currentKey = ffj_t_ExecutorInfo_Data - state = fflib.FFParse_want_colon - goto mainparse - - } else if bytes.Equal(ffj_key_ExecutorInfo_Discovery, kn) { - currentKey = ffj_t_ExecutorInfo_Discovery - state = fflib.FFParse_want_colon - goto mainparse - } - case 'e': - if bytes.Equal(ffj_key_ExecutorInfo_ExecutorID, kn) { - currentKey = ffj_t_ExecutorInfo_ExecutorID + if bytes.Equal(ffj_key_DiscoveryInfo_Environment, kn) { + currentKey = ffj_t_DiscoveryInfo_Environment state = fflib.FFParse_want_colon goto mainparse } - case 'f': + case 'l': - if bytes.Equal(ffj_key_ExecutorInfo_FrameworkID, kn) { - currentKey = ffj_t_ExecutorInfo_FrameworkID + if bytes.Equal(ffj_key_DiscoveryInfo_Location, kn) { + currentKey = ffj_t_DiscoveryInfo_Location state = fflib.FFParse_want_colon goto mainparse - } - - case 'l': - if bytes.Equal(ffj_key_ExecutorInfo_Labels, kn) { - currentKey = ffj_t_ExecutorInfo_Labels + } else if bytes.Equal(ffj_key_DiscoveryInfo_Labels, kn) { + currentKey = ffj_t_DiscoveryInfo_Labels state = fflib.FFParse_want_colon goto mainparse } case 'n': - if bytes.Equal(ffj_key_ExecutorInfo_Name, kn) { - currentKey = ffj_t_ExecutorInfo_Name + if bytes.Equal(ffj_key_DiscoveryInfo_Name, kn) { + currentKey = ffj_t_DiscoveryInfo_Name state = fflib.FFParse_want_colon goto mainparse } - case 'r': + case 'p': - if bytes.Equal(ffj_key_ExecutorInfo_Resources, kn) { - currentKey = ffj_t_ExecutorInfo_Resources + if bytes.Equal(ffj_key_DiscoveryInfo_Ports, kn) { + currentKey = ffj_t_DiscoveryInfo_Ports state = fflib.FFParse_want_colon goto mainparse } - case 's': - - if bytes.Equal(ffj_key_ExecutorInfo_Source, kn) { - currentKey = ffj_t_ExecutorInfo_Source - state = fflib.FFParse_want_colon - goto mainparse + case 'v': - } else if bytes.Equal(ffj_key_ExecutorInfo_ShutdownGracePeriod, kn) { - currentKey = ffj_t_ExecutorInfo_ShutdownGracePeriod + if bytes.Equal(ffj_key_DiscoveryInfo_Visibility, kn) { + currentKey = ffj_t_DiscoveryInfo_Visibility state = fflib.FFParse_want_colon goto mainparse - } - - case 't': - if bytes.Equal(ffj_key_ExecutorInfo_Type, kn) { - currentKey = ffj_t_ExecutorInfo_Type + } else if bytes.Equal(ffj_key_DiscoveryInfo_Version, kn) { + currentKey = ffj_t_DiscoveryInfo_Version state = fflib.FFParse_want_colon goto mainparse } } - if fflib.EqualFoldRight(ffj_key_ExecutorInfo_Labels, kn) { - currentKey = ffj_t_ExecutorInfo_Labels - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_ExecutorInfo_ShutdownGracePeriod, kn) { - currentKey = ffj_t_ExecutorInfo_ShutdownGracePeriod - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_ExecutorInfo_Discovery, kn) { - currentKey = ffj_t_ExecutorInfo_Discovery - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_ExecutorInfo_Data, kn) { - currentKey = ffj_t_ExecutorInfo_Data - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_ExecutorInfo_Source, kn) { - currentKey = ffj_t_ExecutorInfo_Source - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_ExecutorInfo_Name, kn) { - currentKey = ffj_t_ExecutorInfo_Name + if fflib.EqualFoldRight(ffj_key_DiscoveryInfo_Labels, kn) { + currentKey = ffj_t_DiscoveryInfo_Labels state = fflib.FFParse_want_colon goto mainparse } - if fflib.EqualFoldRight(ffj_key_ExecutorInfo_Resources, kn) { - currentKey = ffj_t_ExecutorInfo_Resources + if fflib.EqualFoldRight(ffj_key_DiscoveryInfo_Ports, kn) { + currentKey = ffj_t_DiscoveryInfo_Ports state = fflib.FFParse_want_colon goto mainparse } - if fflib.SimpleLetterEqualFold(ffj_key_ExecutorInfo_Container, kn) { - currentKey = ffj_t_ExecutorInfo_Container + if fflib.EqualFoldRight(ffj_key_DiscoveryInfo_Version, kn) { + currentKey = ffj_t_DiscoveryInfo_Version state = fflib.FFParse_want_colon goto mainparse } - if fflib.SimpleLetterEqualFold(ffj_key_ExecutorInfo_Command, kn) { - currentKey = ffj_t_ExecutorInfo_Command + if fflib.SimpleLetterEqualFold(ffj_key_DiscoveryInfo_Location, kn) { + currentKey = ffj_t_DiscoveryInfo_Location state = fflib.FFParse_want_colon goto mainparse } - if fflib.EqualFoldRight(ffj_key_ExecutorInfo_FrameworkID, kn) { - currentKey = ffj_t_ExecutorInfo_FrameworkID + if fflib.SimpleLetterEqualFold(ffj_key_DiscoveryInfo_Environment, kn) { + currentKey = ffj_t_DiscoveryInfo_Environment state = fflib.FFParse_want_colon goto mainparse } - if fflib.AsciiEqualFold(ffj_key_ExecutorInfo_ExecutorID, kn) { - currentKey = ffj_t_ExecutorInfo_ExecutorID + if fflib.SimpleLetterEqualFold(ffj_key_DiscoveryInfo_Name, kn) { + currentKey = ffj_t_DiscoveryInfo_Name state = fflib.FFParse_want_colon goto mainparse } - if fflib.SimpleLetterEqualFold(ffj_key_ExecutorInfo_Type, kn) { - currentKey = ffj_t_ExecutorInfo_Type + if fflib.EqualFoldRight(ffj_key_DiscoveryInfo_Visibility, kn) { + currentKey = ffj_t_DiscoveryInfo_Visibility state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_ExecutorInfono_such_key + currentKey = ffj_t_DiscoveryInfono_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -10280,43 +10235,28 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_ExecutorInfo_Type: - goto handle_Type - - case ffj_t_ExecutorInfo_ExecutorID: - goto handle_ExecutorID - - case ffj_t_ExecutorInfo_FrameworkID: - goto handle_FrameworkID - - case ffj_t_ExecutorInfo_Command: - goto handle_Command - - case ffj_t_ExecutorInfo_Container: - goto handle_Container - - case ffj_t_ExecutorInfo_Resources: - goto handle_Resources + case ffj_t_DiscoveryInfo_Visibility: + goto handle_Visibility - case ffj_t_ExecutorInfo_Name: + case ffj_t_DiscoveryInfo_Name: goto handle_Name - case ffj_t_ExecutorInfo_Source: - goto handle_Source + case ffj_t_DiscoveryInfo_Environment: + goto handle_Environment - case ffj_t_ExecutorInfo_Data: - goto handle_Data + case ffj_t_DiscoveryInfo_Location: + goto handle_Location - case ffj_t_ExecutorInfo_Discovery: - goto handle_Discovery + case ffj_t_DiscoveryInfo_Version: + goto handle_Version - case ffj_t_ExecutorInfo_ShutdownGracePeriod: - goto handle_ShutdownGracePeriod + case ffj_t_DiscoveryInfo_Ports: + goto handle_Ports - case ffj_t_ExecutorInfo_Labels: + case ffj_t_DiscoveryInfo_Labels: goto handle_Labels - case ffj_t_ExecutorInfono_such_key: + case ffj_t_DiscoveryInfono_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -10330,9 +10270,9 @@ mainparse: } } -handle_Type: +handle_Visibility: - /* handler: uj.Type type=mesos.ExecutorInfo_Type kind=int32 quoted=false*/ + /* handler: uj.Visibility type=mesos.DiscoveryInfo_Visibility kind=int32 quoted=false*/ { if tok == fflib.FFTok_null { @@ -10346,7 +10286,7 @@ handle_Type: return fs.WrapErr(err) } - err = uj.Type.UnmarshalJSON(tbuf) + err = uj.Visibility.UnmarshalJSON(tbuf) if err != nil { return fs.WrapErr(err) } @@ -10356,180 +10296,39 @@ handle_Type: state = fflib.FFParse_after_value goto mainparse -handle_ExecutorID: - - /* handler: uj.ExecutorID type=mesos.ExecutorID kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { - - state = fflib.FFParse_after_value - goto mainparse - } - - err = uj.ExecutorID.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_FrameworkID: - - /* handler: uj.FrameworkID type=mesos.FrameworkID kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { - - uj.FrameworkID = nil - - state = fflib.FFParse_after_value - goto mainparse - } - - if uj.FrameworkID == nil { - uj.FrameworkID = new(FrameworkID) - } - - err = uj.FrameworkID.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Command: - - /* handler: uj.Command type=mesos.CommandInfo kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { - - uj.Command = nil - - state = fflib.FFParse_after_value - goto mainparse - } - - if uj.Command == nil { - uj.Command = new(CommandInfo) - } - - err = uj.Command.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Container: - - /* handler: uj.Container type=mesos.ContainerInfo kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { - - uj.Container = nil - - state = fflib.FFParse_after_value - goto mainparse - } - - if uj.Container == nil { - uj.Container = new(ContainerInfo) - } - - err = uj.Container.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Resources: +handle_Name: - /* handler: uj.Resources type=[]mesos.Resource kind=slice quoted=false*/ + /* handler: uj.Name type=string kind=string quoted=false*/ { { - if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) } } if tok == fflib.FFTok_null { - uj.Resources = nil - } else { - - uj.Resources = []Resource{} - - wantVal := true - - for { - - var tmp_uj__Resources Resource - - tok = fs.Scan() - if tok == fflib.FFTok_error { - goto tokerror - } - if tok == fflib.FFTok_right_brace { - break - } - - if tok == fflib.FFTok_comma { - if wantVal == true { - // TODO(pquerna): this isn't an ideal error message, this handles - // things like [,,,] as an array value. - return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) - } - continue - } else { - wantVal = true - } - - /* handler: tmp_uj__Resources type=mesos.Resource kind=struct quoted=false*/ - { - if tok == fflib.FFTok_null { + uj.Name = nil - state = fflib.FFParse_after_value - goto mainparse - } + } else { - err = tmp_uj__Resources.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } + var tval string + outBuf := fs.Output.Bytes() - uj.Resources = append(uj.Resources, tmp_uj__Resources) + tval = string(string(outBuf)) + uj.Name = &tval - wantVal = false - } } } state = fflib.FFParse_after_value goto mainparse -handle_Name: +handle_Environment: - /* handler: uj.Name type=string kind=string quoted=false*/ + /* handler: uj.Environment type=string kind=string quoted=false*/ { @@ -10541,7 +10340,7 @@ handle_Name: if tok == fflib.FFTok_null { - uj.Name = nil + uj.Environment = nil } else { @@ -10549,7 +10348,7 @@ handle_Name: outBuf := fs.Output.Bytes() tval = string(string(outBuf)) - uj.Name = &tval + uj.Environment = &tval } } @@ -10557,9 +10356,9 @@ handle_Name: state = fflib.FFParse_after_value goto mainparse -handle_Source: +handle_Location: - /* handler: uj.Source type=string kind=string quoted=false*/ + /* handler: uj.Location type=string kind=string quoted=false*/ { @@ -10571,7 +10370,7 @@ handle_Source: if tok == fflib.FFTok_null { - uj.Source = nil + uj.Location = nil } else { @@ -10579,7 +10378,7 @@ handle_Source: outBuf := fs.Output.Bytes() tval = string(string(outBuf)) - uj.Source = &tval + uj.Location = &tval } } @@ -10587,81 +10386,54 @@ handle_Source: state = fflib.FFParse_after_value goto mainparse -handle_Data: +handle_Version: - /* handler: uj.Data type=[]uint8 kind=slice quoted=false*/ + /* handler: uj.Version type=string kind=string quoted=false*/ { { if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) } } if tok == fflib.FFTok_null { - uj.Data = nil - } else { - b := make([]byte, base64.StdEncoding.DecodedLen(fs.Output.Len())) - n, err := base64.StdEncoding.Decode(b, fs.Output.Bytes()) - if err != nil { - return fs.WrapErr(err) - } - - v := reflect.ValueOf(&uj.Data).Elem() - v.SetBytes(b[0:n]) - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Discovery: - /* handler: uj.Discovery type=mesos.DiscoveryInfo kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { + uj.Version = nil - uj.Discovery = nil + } else { - state = fflib.FFParse_after_value - goto mainparse - } + var tval string + outBuf := fs.Output.Bytes() - if uj.Discovery == nil { - uj.Discovery = new(DiscoveryInfo) - } + tval = string(string(outBuf)) + uj.Version = &tval - err = uj.Discovery.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err } - state = fflib.FFParse_after_value } state = fflib.FFParse_after_value goto mainparse -handle_ShutdownGracePeriod: +handle_Ports: - /* handler: uj.ShutdownGracePeriod type=mesos.DurationInfo kind=struct quoted=false*/ + /* handler: uj.Ports type=mesos.Ports kind=struct quoted=false*/ { if tok == fflib.FFTok_null { - uj.ShutdownGracePeriod = nil + uj.Ports = nil state = fflib.FFParse_after_value goto mainparse } - if uj.ShutdownGracePeriod == nil { - uj.ShutdownGracePeriod = new(DurationInfo) + if uj.Ports == nil { + uj.Ports = new(Ports) } - err = uj.ShutdownGracePeriod.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.Ports.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -10716,7 +10488,7 @@ done: return nil } -func (mj *FileInfo) MarshalJSON() ([]byte, error) { +func (mj *DiskStatistics) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -10728,7 +10500,7 @@ func (mj *FileInfo) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *FileInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *DiskStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -10737,30 +10509,14 @@ func (mj *FileInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{ "path":`) - fflib.WriteJsonString(buf, string(mj.Path)) - buf.WriteByte(',') - if mj.Nlink != nil { - if true { - buf.WriteString(`"nlink":`) - fflib.FormatBits2(buf, uint64(*mj.Nlink), 10, *mj.Nlink < 0) - buf.WriteByte(',') - } - } - if mj.Size != nil { - if true { - buf.WriteString(`"size":`) - fflib.FormatBits2(buf, uint64(*mj.Size), 10, false) - buf.WriteByte(',') - } - } - if mj.Mtime != nil { + buf.WriteString(`{ `) + if mj.Source != nil { if true { - buf.WriteString(`"mtime":`) + buf.WriteString(`"source":`) { - err = mj.Mtime.MarshalJSONBuf(buf) + err = mj.Source.MarshalJSONBuf(buf) if err != nil { return err } @@ -10769,24 +10525,32 @@ func (mj *FileInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { buf.WriteByte(',') } } - if mj.Mode != nil { + if mj.Persistence != nil { if true { - buf.WriteString(`"mode":`) - fflib.FormatBits2(buf, uint64(*mj.Mode), 10, false) + buf.WriteString(`"persistence":`) + + { + + err = mj.Persistence.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } buf.WriteByte(',') } } - if mj.UID != nil { + if mj.LimitBytes != nil { if true { - buf.WriteString(`"uid":`) - fflib.WriteJsonString(buf, string(*mj.UID)) + buf.WriteString(`"limit_bytes":`) + fflib.FormatBits2(buf, uint64(*mj.LimitBytes), 10, false) buf.WriteByte(',') } } - if mj.GID != nil { + if mj.UsedBytes != nil { if true { - buf.WriteString(`"gid":`) - fflib.WriteJsonString(buf, string(*mj.GID)) + buf.WriteString(`"used_bytes":`) + fflib.FormatBits2(buf, uint64(*mj.UsedBytes), 10, false) buf.WriteByte(',') } } @@ -10796,46 +10560,34 @@ func (mj *FileInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { } const ( - ffj_t_FileInfobase = iota - ffj_t_FileInfono_such_key - - ffj_t_FileInfo_Path - - ffj_t_FileInfo_Nlink - - ffj_t_FileInfo_Size + ffj_t_DiskStatisticsbase = iota + ffj_t_DiskStatisticsno_such_key - ffj_t_FileInfo_Mtime + ffj_t_DiskStatistics_Source - ffj_t_FileInfo_Mode + ffj_t_DiskStatistics_Persistence - ffj_t_FileInfo_UID + ffj_t_DiskStatistics_LimitBytes - ffj_t_FileInfo_GID + ffj_t_DiskStatistics_UsedBytes ) -var ffj_key_FileInfo_Path = []byte("path") - -var ffj_key_FileInfo_Nlink = []byte("nlink") - -var ffj_key_FileInfo_Size = []byte("size") - -var ffj_key_FileInfo_Mtime = []byte("mtime") +var ffj_key_DiskStatistics_Source = []byte("source") -var ffj_key_FileInfo_Mode = []byte("mode") +var ffj_key_DiskStatistics_Persistence = []byte("persistence") -var ffj_key_FileInfo_UID = []byte("uid") +var ffj_key_DiskStatistics_LimitBytes = []byte("limit_bytes") -var ffj_key_FileInfo_GID = []byte("gid") +var ffj_key_DiskStatistics_UsedBytes = []byte("used_bytes") -func (uj *FileInfo) UnmarshalJSON(input []byte) error { +func (uj *DiskStatistics) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *FileInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *DiskStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_FileInfobase + currentKey := ffj_t_DiskStatisticsbase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -10881,110 +10633,71 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_FileInfono_such_key + currentKey = ffj_t_DiskStatisticsno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'g': + case 'l': - if bytes.Equal(ffj_key_FileInfo_GID, kn) { - currentKey = ffj_t_FileInfo_GID + if bytes.Equal(ffj_key_DiskStatistics_LimitBytes, kn) { + currentKey = ffj_t_DiskStatistics_LimitBytes state = fflib.FFParse_want_colon goto mainparse } - case 'm': - - if bytes.Equal(ffj_key_FileInfo_Mtime, kn) { - currentKey = ffj_t_FileInfo_Mtime - state = fflib.FFParse_want_colon - goto mainparse + case 'p': - } else if bytes.Equal(ffj_key_FileInfo_Mode, kn) { - currentKey = ffj_t_FileInfo_Mode + if bytes.Equal(ffj_key_DiskStatistics_Persistence, kn) { + currentKey = ffj_t_DiskStatistics_Persistence state = fflib.FFParse_want_colon goto mainparse } - case 'n': + case 's': - if bytes.Equal(ffj_key_FileInfo_Nlink, kn) { - currentKey = ffj_t_FileInfo_Nlink + if bytes.Equal(ffj_key_DiskStatistics_Source, kn) { + currentKey = ffj_t_DiskStatistics_Source state = fflib.FFParse_want_colon goto mainparse } - case 'p': + case 'u': - if bytes.Equal(ffj_key_FileInfo_Path, kn) { - currentKey = ffj_t_FileInfo_Path + if bytes.Equal(ffj_key_DiskStatistics_UsedBytes, kn) { + currentKey = ffj_t_DiskStatistics_UsedBytes state = fflib.FFParse_want_colon goto mainparse } - case 's': + } - if bytes.Equal(ffj_key_FileInfo_Size, kn) { - currentKey = ffj_t_FileInfo_Size - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'u': - - if bytes.Equal(ffj_key_FileInfo_UID, kn) { - currentKey = ffj_t_FileInfo_UID - state = fflib.FFParse_want_colon - goto mainparse - } - - } - - if fflib.SimpleLetterEqualFold(ffj_key_FileInfo_GID, kn) { - currentKey = ffj_t_FileInfo_GID - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_FileInfo_UID, kn) { - currentKey = ffj_t_FileInfo_UID - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_FileInfo_Mode, kn) { - currentKey = ffj_t_FileInfo_Mode - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_FileInfo_Mtime, kn) { - currentKey = ffj_t_FileInfo_Mtime + if fflib.EqualFoldRight(ffj_key_DiskStatistics_UsedBytes, kn) { + currentKey = ffj_t_DiskStatistics_UsedBytes state = fflib.FFParse_want_colon goto mainparse } - if fflib.EqualFoldRight(ffj_key_FileInfo_Size, kn) { - currentKey = ffj_t_FileInfo_Size + if fflib.EqualFoldRight(ffj_key_DiskStatistics_LimitBytes, kn) { + currentKey = ffj_t_DiskStatistics_LimitBytes state = fflib.FFParse_want_colon goto mainparse } - if fflib.EqualFoldRight(ffj_key_FileInfo_Nlink, kn) { - currentKey = ffj_t_FileInfo_Nlink + if fflib.EqualFoldRight(ffj_key_DiskStatistics_Persistence, kn) { + currentKey = ffj_t_DiskStatistics_Persistence state = fflib.FFParse_want_colon goto mainparse } - if fflib.SimpleLetterEqualFold(ffj_key_FileInfo_Path, kn) { - currentKey = ffj_t_FileInfo_Path + if fflib.EqualFoldRight(ffj_key_DiskStatistics_Source, kn) { + currentKey = ffj_t_DiskStatistics_Source state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_FileInfono_such_key + currentKey = ffj_t_DiskStatisticsno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -11001,28 +10714,19 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_FileInfo_Path: - goto handle_Path - - case ffj_t_FileInfo_Nlink: - goto handle_Nlink - - case ffj_t_FileInfo_Size: - goto handle_Size - - case ffj_t_FileInfo_Mtime: - goto handle_Mtime + case ffj_t_DiskStatistics_Source: + goto handle_Source - case ffj_t_FileInfo_Mode: - goto handle_Mode + case ffj_t_DiskStatistics_Persistence: + goto handle_Persistence - case ffj_t_FileInfo_UID: - goto handle_UID + case ffj_t_DiskStatistics_LimitBytes: + goto handle_LimitBytes - case ffj_t_FileInfo_GID: - goto handle_GID + case ffj_t_DiskStatistics_UsedBytes: + goto handle_UsedBytes - case ffj_t_FileInfono_such_key: + case ffj_t_DiskStatisticsno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -11036,116 +10740,51 @@ mainparse: } } -handle_Path: - - /* handler: uj.Path type=string kind=string quoted=false*/ - - { - - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - - if tok == fflib.FFTok_null { - - } else { - - outBuf := fs.Output.Bytes() - - uj.Path = string(string(outBuf)) - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Nlink: - - /* handler: uj.Nlink type=int32 kind=int32 quoted=false*/ +handle_Source: - { - if tok != fflib.FFTok_integer && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for int32", tok)) - } - } + /* handler: uj.Source type=mesos.Resource_DiskInfo_Source kind=struct quoted=false*/ { - if tok == fflib.FFTok_null { - uj.Nlink = nil - - } else { - - tval, err := fflib.ParseInt(fs.Output.Bytes(), 10, 32) - - if err != nil { - return fs.WrapErr(err) - } - - ttypval := int32(tval) - uj.Nlink = &ttypval + uj.Source = nil + state = fflib.FFParse_after_value + goto mainparse } - } - state = fflib.FFParse_after_value - goto mainparse - -handle_Size: - - /* handler: uj.Size type=uint64 kind=uint64 quoted=false*/ - - { - if tok != fflib.FFTok_integer && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for uint64", tok)) + if uj.Source == nil { + uj.Source = new(Resource_DiskInfo_Source) } - } - - { - - if tok == fflib.FFTok_null { - - uj.Size = nil - - } else { - - tval, err := fflib.ParseUint(fs.Output.Bytes(), 10, 64) - - if err != nil { - return fs.WrapErr(err) - } - - ttypval := uint64(tval) - uj.Size = &ttypval + err = uj.Source.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err } + state = fflib.FFParse_after_value } state = fflib.FFParse_after_value goto mainparse -handle_Mtime: +handle_Persistence: - /* handler: uj.Mtime type=mesos.TimeInfo kind=struct quoted=false*/ + /* handler: uj.Persistence type=mesos.Resource_DiskInfo_Persistence kind=struct quoted=false*/ { if tok == fflib.FFTok_null { - uj.Mtime = nil + uj.Persistence = nil state = fflib.FFParse_after_value goto mainparse } - if uj.Mtime == nil { - uj.Mtime = new(TimeInfo) + if uj.Persistence == nil { + uj.Persistence = new(Resource_DiskInfo_Persistence) } - err = uj.Mtime.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.Persistence.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -11155,13 +10794,13 @@ handle_Mtime: state = fflib.FFParse_after_value goto mainparse -handle_Mode: +handle_LimitBytes: - /* handler: uj.Mode type=uint32 kind=uint32 quoted=false*/ + /* handler: uj.LimitBytes type=uint64 kind=uint64 quoted=false*/ { if tok != fflib.FFTok_integer && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for uint32", tok)) + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for uint64", tok)) } } @@ -11169,18 +10808,18 @@ handle_Mode: if tok == fflib.FFTok_null { - uj.Mode = nil + uj.LimitBytes = nil } else { - tval, err := fflib.ParseUint(fs.Output.Bytes(), 10, 32) + tval, err := fflib.ParseUint(fs.Output.Bytes(), 10, 64) if err != nil { return fs.WrapErr(err) } - ttypval := uint32(tval) - uj.Mode = &ttypval + ttypval := uint64(tval) + uj.LimitBytes = &ttypval } } @@ -11188,59 +10827,32 @@ handle_Mode: state = fflib.FFParse_after_value goto mainparse -handle_UID: +handle_UsedBytes: - /* handler: uj.UID type=string kind=string quoted=false*/ + /* handler: uj.UsedBytes type=uint64 kind=uint64 quoted=false*/ { - - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - - if tok == fflib.FFTok_null { - - uj.UID = nil - - } else { - - var tval string - outBuf := fs.Output.Bytes() - - tval = string(string(outBuf)) - uj.UID = &tval - + if tok != fflib.FFTok_integer && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for uint64", tok)) } } - state = fflib.FFParse_after_value - goto mainparse - -handle_GID: - - /* handler: uj.GID type=string kind=string quoted=false*/ - { - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - if tok == fflib.FFTok_null { - uj.GID = nil + uj.UsedBytes = nil } else { - var tval string - outBuf := fs.Output.Bytes() + tval, err := fflib.ParseUint(fs.Output.Bytes(), 10, 64) - tval = string(string(outBuf)) - uj.GID = &tval + if err != nil { + return fs.WrapErr(err) + } + + ttypval := uint64(tval) + uj.UsedBytes = &ttypval } } @@ -11266,7 +10878,7 @@ done: return nil } -func (mj *Filters) MarshalJSON() ([]byte, error) { +func (mj *DurationInfo) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -11278,7 +10890,7 @@ func (mj *Filters) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Filters) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *DurationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -11287,36 +10899,29 @@ func (mj *Filters) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{ `) - if mj.RefuseSeconds != nil { - if true { - buf.WriteString(`"refuse_seconds":`) - fflib.AppendFloat(buf, float64(*mj.RefuseSeconds), 'g', -1, 64) - buf.WriteByte(',') - } - } - buf.Rewind(1) + buf.WriteString(`{"nanoseconds":`) + fflib.FormatBits2(buf, uint64(mj.Nanoseconds), 10, mj.Nanoseconds < 0) buf.WriteByte('}') return nil } const ( - ffj_t_Filtersbase = iota - ffj_t_Filtersno_such_key + ffj_t_DurationInfobase = iota + ffj_t_DurationInfono_such_key - ffj_t_Filters_RefuseSeconds + ffj_t_DurationInfo_Nanoseconds ) -var ffj_key_Filters_RefuseSeconds = []byte("refuse_seconds") +var ffj_key_DurationInfo_Nanoseconds = []byte("nanoseconds") -func (uj *Filters) UnmarshalJSON(input []byte) error { +func (uj *DurationInfo) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Filters) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *DurationInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Filtersbase + currentKey := ffj_t_DurationInfobase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -11362,29 +10967,29 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Filtersno_such_key + currentKey = ffj_t_DurationInfono_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'r': + case 'n': - if bytes.Equal(ffj_key_Filters_RefuseSeconds, kn) { - currentKey = ffj_t_Filters_RefuseSeconds + if bytes.Equal(ffj_key_DurationInfo_Nanoseconds, kn) { + currentKey = ffj_t_DurationInfo_Nanoseconds state = fflib.FFParse_want_colon goto mainparse } } - if fflib.EqualFoldRight(ffj_key_Filters_RefuseSeconds, kn) { - currentKey = ffj_t_Filters_RefuseSeconds + if fflib.EqualFoldRight(ffj_key_DurationInfo_Nanoseconds, kn) { + currentKey = ffj_t_DurationInfo_Nanoseconds state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_Filtersno_such_key + currentKey = ffj_t_DurationInfono_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -11401,10 +11006,10 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Filters_RefuseSeconds: - goto handle_RefuseSeconds + case ffj_t_DurationInfo_Nanoseconds: + goto handle_Nanoseconds - case ffj_t_Filtersno_such_key: + case ffj_t_DurationInfono_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -11418,13 +11023,13 @@ mainparse: } } -handle_RefuseSeconds: +handle_Nanoseconds: - /* handler: uj.RefuseSeconds type=float64 kind=float64 quoted=false*/ + /* handler: uj.Nanoseconds type=int64 kind=int64 quoted=false*/ { - if tok != fflib.FFTok_double && tok != fflib.FFTok_integer && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for float64", tok)) + if tok != fflib.FFTok_integer && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for int64", tok)) } } @@ -11432,18 +11037,15 @@ handle_RefuseSeconds: if tok == fflib.FFTok_null { - uj.RefuseSeconds = nil - } else { - tval, err := fflib.ParseFloat(fs.Output.Bytes(), 64) + tval, err := fflib.ParseInt(fs.Output.Bytes(), 10, 64) if err != nil { return fs.WrapErr(err) } - ttypval := float64(tval) - uj.RefuseSeconds = &ttypval + uj.Nanoseconds = int64(tval) } } @@ -11469,7 +11071,7 @@ done: return nil } -func (mj *Flag) MarshalJSON() ([]byte, error) { +func (mj *Environment) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -11481,7 +11083,7 @@ func (mj *Flag) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Flag) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Environment) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -11490,42 +11092,48 @@ func (mj *Flag) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{ "name":`) - fflib.WriteJsonString(buf, string(mj.Name)) - buf.WriteByte(',') - if mj.Value != nil { - if true { - buf.WriteString(`"value":`) - fflib.WriteJsonString(buf, string(*mj.Value)) - buf.WriteByte(',') + buf.WriteString(`{"variables":`) + if mj.Variables != nil { + buf.WriteString(`[`) + for i, v := range mj.Variables { + if i != 0 { + buf.WriteString(`,`) + } + + { + + err = v.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } } + buf.WriteString(`]`) + } else { + buf.WriteString(`null`) } - buf.Rewind(1) buf.WriteByte('}') return nil } const ( - ffj_t_Flagbase = iota - ffj_t_Flagno_such_key - - ffj_t_Flag_Name + ffj_t_Environmentbase = iota + ffj_t_Environmentno_such_key - ffj_t_Flag_Value + ffj_t_Environment_Variables ) -var ffj_key_Flag_Name = []byte("name") - -var ffj_key_Flag_Value = []byte("value") +var ffj_key_Environment_Variables = []byte("variables") -func (uj *Flag) UnmarshalJSON(input []byte) error { +func (uj *Environment) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Flag) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Environment) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Flagbase + currentKey := ffj_t_Environmentbase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -11571,43 +11179,29 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Flagno_such_key + currentKey = ffj_t_Environmentno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'n': - - if bytes.Equal(ffj_key_Flag_Name, kn) { - currentKey = ffj_t_Flag_Name - state = fflib.FFParse_want_colon - goto mainparse - } - case 'v': - if bytes.Equal(ffj_key_Flag_Value, kn) { - currentKey = ffj_t_Flag_Value + if bytes.Equal(ffj_key_Environment_Variables, kn) { + currentKey = ffj_t_Environment_Variables state = fflib.FFParse_want_colon goto mainparse } } - if fflib.SimpleLetterEqualFold(ffj_key_Flag_Value, kn) { - currentKey = ffj_t_Flag_Value - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_Flag_Name, kn) { - currentKey = ffj_t_Flag_Name + if fflib.EqualFoldRight(ffj_key_Environment_Variables, kn) { + currentKey = ffj_t_Environment_Variables state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_Flagno_such_key + currentKey = ffj_t_Environmentno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -11624,13 +11218,10 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Flag_Name: - goto handle_Name - - case ffj_t_Flag_Value: - goto handle_Value + case ffj_t_Environment_Variables: + goto handle_Variables - case ffj_t_Flagno_such_key: + case ffj_t_Environmentno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -11644,56 +11235,69 @@ mainparse: } } -handle_Name: +handle_Variables: - /* handler: uj.Name type=string kind=string quoted=false*/ + /* handler: uj.Variables type=[]mesos.Environment_Variable kind=slice quoted=false*/ { { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) } } if tok == fflib.FFTok_null { - + uj.Variables = nil } else { - outBuf := fs.Output.Bytes() - - uj.Name = string(string(outBuf)) - - } - } + uj.Variables = []Environment_Variable{} - state = fflib.FFParse_after_value - goto mainparse + wantVal := true -handle_Value: + for { - /* handler: uj.Value type=string kind=string quoted=false*/ + var tmp_uj__Variables Environment_Variable - { + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } - if tok == fflib.FFTok_null { + /* handler: tmp_uj__Variables type=mesos.Environment_Variable kind=struct quoted=false*/ - uj.Value = nil + { + if tok == fflib.FFTok_null { - } else { + state = fflib.FFParse_after_value + goto mainparse + } - var tval string - outBuf := fs.Output.Bytes() + err = tmp_uj__Variables.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } - tval = string(string(outBuf)) - uj.Value = &tval + uj.Variables = append(uj.Variables, tmp_uj__Variables) + wantVal = false + } } } @@ -11718,7 +11322,7 @@ done: return nil } -func (mj *FrameworkID) MarshalJSON() ([]byte, error) { +func (mj *Environment_Variable) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -11730,7 +11334,7 @@ func (mj *FrameworkID) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *FrameworkID) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Environment_Variable) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -11739,29 +11343,81 @@ func (mj *FrameworkID) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{"value":`) - fflib.WriteJsonString(buf, string(mj.Value)) + buf.WriteString(`{ "name":`) + fflib.WriteJsonString(buf, string(mj.Name)) + buf.WriteByte(',') + if mj.Type != nil { + if true { + buf.WriteString(`"type":`) + + { + + obj, err = mj.Type.MarshalJSON() + if err != nil { + return err + } + buf.Write(obj) + + } + buf.WriteByte(',') + } + } + if mj.Value != nil { + if true { + buf.WriteString(`"value":`) + fflib.WriteJsonString(buf, string(*mj.Value)) + buf.WriteByte(',') + } + } + if mj.Secret != nil { + if true { + buf.WriteString(`"secret":`) + + { + + err = mj.Secret.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + buf.Rewind(1) buf.WriteByte('}') return nil } const ( - ffj_t_FrameworkIDbase = iota - ffj_t_FrameworkIDno_such_key + ffj_t_Environment_Variablebase = iota + ffj_t_Environment_Variableno_such_key - ffj_t_FrameworkID_Value + ffj_t_Environment_Variable_Name + + ffj_t_Environment_Variable_Type + + ffj_t_Environment_Variable_Value + + ffj_t_Environment_Variable_Secret ) -var ffj_key_FrameworkID_Value = []byte("value") +var ffj_key_Environment_Variable_Name = []byte("name") -func (uj *FrameworkID) UnmarshalJSON(input []byte) error { +var ffj_key_Environment_Variable_Type = []byte("type") + +var ffj_key_Environment_Variable_Value = []byte("value") + +var ffj_key_Environment_Variable_Secret = []byte("secret") + +func (uj *Environment_Variable) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *FrameworkID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Environment_Variable) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_FrameworkIDbase + currentKey := ffj_t_Environment_Variablebase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -11807,21 +11463,2456 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_FrameworkIDno_such_key + currentKey = ffj_t_Environment_Variableno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'v': + case 'n': - if bytes.Equal(ffj_key_FrameworkID_Value, kn) { - currentKey = ffj_t_FrameworkID_Value + if bytes.Equal(ffj_key_Environment_Variable_Name, kn) { + currentKey = ffj_t_Environment_Variable_Name state = fflib.FFParse_want_colon goto mainparse } - } + case 's': + + if bytes.Equal(ffj_key_Environment_Variable_Secret, kn) { + currentKey = ffj_t_Environment_Variable_Secret + state = fflib.FFParse_want_colon + goto mainparse + } + + case 't': + + if bytes.Equal(ffj_key_Environment_Variable_Type, kn) { + currentKey = ffj_t_Environment_Variable_Type + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'v': + + if bytes.Equal(ffj_key_Environment_Variable_Value, kn) { + currentKey = ffj_t_Environment_Variable_Value + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.EqualFoldRight(ffj_key_Environment_Variable_Secret, kn) { + currentKey = ffj_t_Environment_Variable_Secret + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_Environment_Variable_Value, kn) { + currentKey = ffj_t_Environment_Variable_Value + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_Environment_Variable_Type, kn) { + currentKey = ffj_t_Environment_Variable_Type + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_Environment_Variable_Name, kn) { + currentKey = ffj_t_Environment_Variable_Name + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_Environment_Variableno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_Environment_Variable_Name: + goto handle_Name + + case ffj_t_Environment_Variable_Type: + goto handle_Type + + case ffj_t_Environment_Variable_Value: + goto handle_Value + + case ffj_t_Environment_Variable_Secret: + goto handle_Secret + + case ffj_t_Environment_Variableno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_Name: + + /* handler: uj.Name type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + } else { + + outBuf := fs.Output.Bytes() + + uj.Name = string(string(outBuf)) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Type: + + /* handler: uj.Type type=mesos.Environment_Variable_Type kind=int32 quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Type = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + tbuf, err := fs.CaptureField(tok) + if err != nil { + return fs.WrapErr(err) + } + + if uj.Type == nil { + uj.Type = new(Environment_Variable_Type) + } + + err = uj.Type.UnmarshalJSON(tbuf) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Value: + + /* handler: uj.Value type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + uj.Value = nil + + } else { + + var tval string + outBuf := fs.Output.Bytes() + + tval = string(string(outBuf)) + uj.Value = &tval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Secret: + + /* handler: uj.Secret type=mesos.Secret kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Secret = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Secret == nil { + uj.Secret = new(Secret) + } + + err = uj.Secret.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + +func (mj *ExecutorID) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *ExecutorID) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{"value":`) + fflib.WriteJsonString(buf, string(mj.Value)) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_ExecutorIDbase = iota + ffj_t_ExecutorIDno_such_key + + ffj_t_ExecutorID_Value +) + +var ffj_key_ExecutorID_Value = []byte("value") + +func (uj *ExecutorID) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *ExecutorID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_ExecutorIDbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_ExecutorIDno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'v': + + if bytes.Equal(ffj_key_ExecutorID_Value, kn) { + currentKey = ffj_t_ExecutorID_Value + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.SimpleLetterEqualFold(ffj_key_ExecutorID_Value, kn) { + currentKey = ffj_t_ExecutorID_Value + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_ExecutorIDno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_ExecutorID_Value: + goto handle_Value + + case ffj_t_ExecutorIDno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_Value: + + /* handler: uj.Value type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + } else { + + outBuf := fs.Output.Bytes() + + uj.Value = string(string(outBuf)) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + +func (mj *ExecutorInfo) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *ExecutorInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{ "type":`) + + { + + obj, err = mj.Type.MarshalJSON() + if err != nil { + return err + } + buf.Write(obj) + + } + buf.WriteString(`,"executor_id":`) + + { + + err = mj.ExecutorID.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + if mj.FrameworkID != nil { + if true { + buf.WriteString(`"framework_id":`) + + { + + err = mj.FrameworkID.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + if mj.Command != nil { + if true { + buf.WriteString(`"command":`) + + { + + err = mj.Command.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + if mj.Container != nil { + if true { + buf.WriteString(`"container":`) + + { + + err = mj.Container.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + buf.WriteString(`"resources":`) + if mj.Resources != nil { + buf.WriteString(`[`) + for i, v := range mj.Resources { + if i != 0 { + buf.WriteString(`,`) + } + + { + + err = v.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + } + buf.WriteString(`]`) + } else { + buf.WriteString(`null`) + } + buf.WriteByte(',') + if mj.Name != nil { + if true { + buf.WriteString(`"name":`) + fflib.WriteJsonString(buf, string(*mj.Name)) + buf.WriteByte(',') + } + } + if mj.Source != nil { + if true { + buf.WriteString(`"source":`) + fflib.WriteJsonString(buf, string(*mj.Source)) + buf.WriteByte(',') + } + } + if len(mj.Data) != 0 { + buf.WriteString(`"data":`) + if mj.Data != nil { + buf.WriteString(`"`) + { + enc := base64.NewEncoder(base64.StdEncoding, buf) + enc.Write(reflect.Indirect(reflect.ValueOf(mj.Data)).Bytes()) + enc.Close() + } + buf.WriteString(`"`) + } else { + buf.WriteString(`null`) + } + buf.WriteByte(',') + } + if mj.Discovery != nil { + if true { + buf.WriteString(`"discovery":`) + + { + + err = mj.Discovery.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + if mj.ShutdownGracePeriod != nil { + if true { + buf.WriteString(`"shutdown_grace_period":`) + + { + + err = mj.ShutdownGracePeriod.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + if mj.Labels != nil { + if true { + buf.WriteString(`"labels":`) + + { + + err = mj.Labels.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + buf.Rewind(1) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_ExecutorInfobase = iota + ffj_t_ExecutorInfono_such_key + + ffj_t_ExecutorInfo_Type + + ffj_t_ExecutorInfo_ExecutorID + + ffj_t_ExecutorInfo_FrameworkID + + ffj_t_ExecutorInfo_Command + + ffj_t_ExecutorInfo_Container + + ffj_t_ExecutorInfo_Resources + + ffj_t_ExecutorInfo_Name + + ffj_t_ExecutorInfo_Source + + ffj_t_ExecutorInfo_Data + + ffj_t_ExecutorInfo_Discovery + + ffj_t_ExecutorInfo_ShutdownGracePeriod + + ffj_t_ExecutorInfo_Labels +) + +var ffj_key_ExecutorInfo_Type = []byte("type") + +var ffj_key_ExecutorInfo_ExecutorID = []byte("executor_id") + +var ffj_key_ExecutorInfo_FrameworkID = []byte("framework_id") + +var ffj_key_ExecutorInfo_Command = []byte("command") + +var ffj_key_ExecutorInfo_Container = []byte("container") + +var ffj_key_ExecutorInfo_Resources = []byte("resources") + +var ffj_key_ExecutorInfo_Name = []byte("name") + +var ffj_key_ExecutorInfo_Source = []byte("source") + +var ffj_key_ExecutorInfo_Data = []byte("data") + +var ffj_key_ExecutorInfo_Discovery = []byte("discovery") + +var ffj_key_ExecutorInfo_ShutdownGracePeriod = []byte("shutdown_grace_period") + +var ffj_key_ExecutorInfo_Labels = []byte("labels") + +func (uj *ExecutorInfo) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *ExecutorInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_ExecutorInfobase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_ExecutorInfono_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'c': + + if bytes.Equal(ffj_key_ExecutorInfo_Command, kn) { + currentKey = ffj_t_ExecutorInfo_Command + state = fflib.FFParse_want_colon + goto mainparse + + } else if bytes.Equal(ffj_key_ExecutorInfo_Container, kn) { + currentKey = ffj_t_ExecutorInfo_Container + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'd': + + if bytes.Equal(ffj_key_ExecutorInfo_Data, kn) { + currentKey = ffj_t_ExecutorInfo_Data + state = fflib.FFParse_want_colon + goto mainparse + + } else if bytes.Equal(ffj_key_ExecutorInfo_Discovery, kn) { + currentKey = ffj_t_ExecutorInfo_Discovery + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'e': + + if bytes.Equal(ffj_key_ExecutorInfo_ExecutorID, kn) { + currentKey = ffj_t_ExecutorInfo_ExecutorID + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'f': + + if bytes.Equal(ffj_key_ExecutorInfo_FrameworkID, kn) { + currentKey = ffj_t_ExecutorInfo_FrameworkID + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'l': + + if bytes.Equal(ffj_key_ExecutorInfo_Labels, kn) { + currentKey = ffj_t_ExecutorInfo_Labels + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'n': + + if bytes.Equal(ffj_key_ExecutorInfo_Name, kn) { + currentKey = ffj_t_ExecutorInfo_Name + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'r': + + if bytes.Equal(ffj_key_ExecutorInfo_Resources, kn) { + currentKey = ffj_t_ExecutorInfo_Resources + state = fflib.FFParse_want_colon + goto mainparse + } + + case 's': + + if bytes.Equal(ffj_key_ExecutorInfo_Source, kn) { + currentKey = ffj_t_ExecutorInfo_Source + state = fflib.FFParse_want_colon + goto mainparse + + } else if bytes.Equal(ffj_key_ExecutorInfo_ShutdownGracePeriod, kn) { + currentKey = ffj_t_ExecutorInfo_ShutdownGracePeriod + state = fflib.FFParse_want_colon + goto mainparse + } + + case 't': + + if bytes.Equal(ffj_key_ExecutorInfo_Type, kn) { + currentKey = ffj_t_ExecutorInfo_Type + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.EqualFoldRight(ffj_key_ExecutorInfo_Labels, kn) { + currentKey = ffj_t_ExecutorInfo_Labels + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.EqualFoldRight(ffj_key_ExecutorInfo_ShutdownGracePeriod, kn) { + currentKey = ffj_t_ExecutorInfo_ShutdownGracePeriod + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.EqualFoldRight(ffj_key_ExecutorInfo_Discovery, kn) { + currentKey = ffj_t_ExecutorInfo_Discovery + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_ExecutorInfo_Data, kn) { + currentKey = ffj_t_ExecutorInfo_Data + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.EqualFoldRight(ffj_key_ExecutorInfo_Source, kn) { + currentKey = ffj_t_ExecutorInfo_Source + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_ExecutorInfo_Name, kn) { + currentKey = ffj_t_ExecutorInfo_Name + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.EqualFoldRight(ffj_key_ExecutorInfo_Resources, kn) { + currentKey = ffj_t_ExecutorInfo_Resources + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_ExecutorInfo_Container, kn) { + currentKey = ffj_t_ExecutorInfo_Container + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_ExecutorInfo_Command, kn) { + currentKey = ffj_t_ExecutorInfo_Command + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.EqualFoldRight(ffj_key_ExecutorInfo_FrameworkID, kn) { + currentKey = ffj_t_ExecutorInfo_FrameworkID + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.AsciiEqualFold(ffj_key_ExecutorInfo_ExecutorID, kn) { + currentKey = ffj_t_ExecutorInfo_ExecutorID + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_ExecutorInfo_Type, kn) { + currentKey = ffj_t_ExecutorInfo_Type + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_ExecutorInfono_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_ExecutorInfo_Type: + goto handle_Type + + case ffj_t_ExecutorInfo_ExecutorID: + goto handle_ExecutorID + + case ffj_t_ExecutorInfo_FrameworkID: + goto handle_FrameworkID + + case ffj_t_ExecutorInfo_Command: + goto handle_Command + + case ffj_t_ExecutorInfo_Container: + goto handle_Container + + case ffj_t_ExecutorInfo_Resources: + goto handle_Resources + + case ffj_t_ExecutorInfo_Name: + goto handle_Name + + case ffj_t_ExecutorInfo_Source: + goto handle_Source + + case ffj_t_ExecutorInfo_Data: + goto handle_Data + + case ffj_t_ExecutorInfo_Discovery: + goto handle_Discovery + + case ffj_t_ExecutorInfo_ShutdownGracePeriod: + goto handle_ShutdownGracePeriod + + case ffj_t_ExecutorInfo_Labels: + goto handle_Labels + + case ffj_t_ExecutorInfono_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_Type: + + /* handler: uj.Type type=mesos.ExecutorInfo_Type kind=int32 quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + tbuf, err := fs.CaptureField(tok) + if err != nil { + return fs.WrapErr(err) + } + + err = uj.Type.UnmarshalJSON(tbuf) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_ExecutorID: + + /* handler: uj.ExecutorID type=mesos.ExecutorID kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = uj.ExecutorID.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_FrameworkID: + + /* handler: uj.FrameworkID type=mesos.FrameworkID kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.FrameworkID = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.FrameworkID == nil { + uj.FrameworkID = new(FrameworkID) + } + + err = uj.FrameworkID.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Command: + + /* handler: uj.Command type=mesos.CommandInfo kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Command = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Command == nil { + uj.Command = new(CommandInfo) + } + + err = uj.Command.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Container: + + /* handler: uj.Container type=mesos.ContainerInfo kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Container = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Container == nil { + uj.Container = new(ContainerInfo) + } + + err = uj.Container.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Resources: + + /* handler: uj.Resources type=[]mesos.Resource kind=slice quoted=false*/ + + { + + { + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + } + } + + if tok == fflib.FFTok_null { + uj.Resources = nil + } else { + + uj.Resources = []Resource{} + + wantVal := true + + for { + + var tmp_uj__Resources Resource + + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } + + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } + + /* handler: tmp_uj__Resources type=mesos.Resource kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = tmp_uj__Resources.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + uj.Resources = append(uj.Resources, tmp_uj__Resources) + + wantVal = false + } + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Name: + + /* handler: uj.Name type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + uj.Name = nil + + } else { + + var tval string + outBuf := fs.Output.Bytes() + + tval = string(string(outBuf)) + uj.Name = &tval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Source: + + /* handler: uj.Source type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + uj.Source = nil + + } else { + + var tval string + outBuf := fs.Output.Bytes() + + tval = string(string(outBuf)) + uj.Source = &tval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Data: + + /* handler: uj.Data type=[]uint8 kind=slice quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + } + } + + if tok == fflib.FFTok_null { + uj.Data = nil + } else { + b := make([]byte, base64.StdEncoding.DecodedLen(fs.Output.Len())) + n, err := base64.StdEncoding.Decode(b, fs.Output.Bytes()) + if err != nil { + return fs.WrapErr(err) + } + + v := reflect.ValueOf(&uj.Data).Elem() + v.SetBytes(b[0:n]) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Discovery: + + /* handler: uj.Discovery type=mesos.DiscoveryInfo kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Discovery = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Discovery == nil { + uj.Discovery = new(DiscoveryInfo) + } + + err = uj.Discovery.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_ShutdownGracePeriod: + + /* handler: uj.ShutdownGracePeriod type=mesos.DurationInfo kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.ShutdownGracePeriod = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.ShutdownGracePeriod == nil { + uj.ShutdownGracePeriod = new(DurationInfo) + } + + err = uj.ShutdownGracePeriod.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Labels: + + /* handler: uj.Labels type=mesos.Labels kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Labels = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Labels == nil { + uj.Labels = new(Labels) + } + + err = uj.Labels.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + +func (mj *FileInfo) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *FileInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{ "path":`) + fflib.WriteJsonString(buf, string(mj.Path)) + buf.WriteByte(',') + if mj.Nlink != nil { + if true { + buf.WriteString(`"nlink":`) + fflib.FormatBits2(buf, uint64(*mj.Nlink), 10, *mj.Nlink < 0) + buf.WriteByte(',') + } + } + if mj.Size != nil { + if true { + buf.WriteString(`"size":`) + fflib.FormatBits2(buf, uint64(*mj.Size), 10, false) + buf.WriteByte(',') + } + } + if mj.Mtime != nil { + if true { + buf.WriteString(`"mtime":`) + + { + + err = mj.Mtime.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + if mj.Mode != nil { + if true { + buf.WriteString(`"mode":`) + fflib.FormatBits2(buf, uint64(*mj.Mode), 10, false) + buf.WriteByte(',') + } + } + if mj.UID != nil { + if true { + buf.WriteString(`"uid":`) + fflib.WriteJsonString(buf, string(*mj.UID)) + buf.WriteByte(',') + } + } + if mj.GID != nil { + if true { + buf.WriteString(`"gid":`) + fflib.WriteJsonString(buf, string(*mj.GID)) + buf.WriteByte(',') + } + } + buf.Rewind(1) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_FileInfobase = iota + ffj_t_FileInfono_such_key + + ffj_t_FileInfo_Path + + ffj_t_FileInfo_Nlink + + ffj_t_FileInfo_Size + + ffj_t_FileInfo_Mtime + + ffj_t_FileInfo_Mode + + ffj_t_FileInfo_UID + + ffj_t_FileInfo_GID +) + +var ffj_key_FileInfo_Path = []byte("path") + +var ffj_key_FileInfo_Nlink = []byte("nlink") + +var ffj_key_FileInfo_Size = []byte("size") + +var ffj_key_FileInfo_Mtime = []byte("mtime") + +var ffj_key_FileInfo_Mode = []byte("mode") + +var ffj_key_FileInfo_UID = []byte("uid") + +var ffj_key_FileInfo_GID = []byte("gid") + +func (uj *FileInfo) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *FileInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_FileInfobase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_FileInfono_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'g': + + if bytes.Equal(ffj_key_FileInfo_GID, kn) { + currentKey = ffj_t_FileInfo_GID + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'm': + + if bytes.Equal(ffj_key_FileInfo_Mtime, kn) { + currentKey = ffj_t_FileInfo_Mtime + state = fflib.FFParse_want_colon + goto mainparse + + } else if bytes.Equal(ffj_key_FileInfo_Mode, kn) { + currentKey = ffj_t_FileInfo_Mode + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'n': + + if bytes.Equal(ffj_key_FileInfo_Nlink, kn) { + currentKey = ffj_t_FileInfo_Nlink + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'p': + + if bytes.Equal(ffj_key_FileInfo_Path, kn) { + currentKey = ffj_t_FileInfo_Path + state = fflib.FFParse_want_colon + goto mainparse + } + + case 's': + + if bytes.Equal(ffj_key_FileInfo_Size, kn) { + currentKey = ffj_t_FileInfo_Size + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'u': + + if bytes.Equal(ffj_key_FileInfo_UID, kn) { + currentKey = ffj_t_FileInfo_UID + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.SimpleLetterEqualFold(ffj_key_FileInfo_GID, kn) { + currentKey = ffj_t_FileInfo_GID + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_FileInfo_UID, kn) { + currentKey = ffj_t_FileInfo_UID + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_FileInfo_Mode, kn) { + currentKey = ffj_t_FileInfo_Mode + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_FileInfo_Mtime, kn) { + currentKey = ffj_t_FileInfo_Mtime + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.EqualFoldRight(ffj_key_FileInfo_Size, kn) { + currentKey = ffj_t_FileInfo_Size + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.EqualFoldRight(ffj_key_FileInfo_Nlink, kn) { + currentKey = ffj_t_FileInfo_Nlink + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_FileInfo_Path, kn) { + currentKey = ffj_t_FileInfo_Path + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_FileInfono_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_FileInfo_Path: + goto handle_Path + + case ffj_t_FileInfo_Nlink: + goto handle_Nlink + + case ffj_t_FileInfo_Size: + goto handle_Size + + case ffj_t_FileInfo_Mtime: + goto handle_Mtime + + case ffj_t_FileInfo_Mode: + goto handle_Mode + + case ffj_t_FileInfo_UID: + goto handle_UID + + case ffj_t_FileInfo_GID: + goto handle_GID + + case ffj_t_FileInfono_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_Path: + + /* handler: uj.Path type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + } else { + + outBuf := fs.Output.Bytes() + + uj.Path = string(string(outBuf)) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Nlink: + + /* handler: uj.Nlink type=int32 kind=int32 quoted=false*/ + + { + if tok != fflib.FFTok_integer && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for int32", tok)) + } + } + + { + + if tok == fflib.FFTok_null { + + uj.Nlink = nil + + } else { + + tval, err := fflib.ParseInt(fs.Output.Bytes(), 10, 32) + + if err != nil { + return fs.WrapErr(err) + } + + ttypval := int32(tval) + uj.Nlink = &ttypval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Size: + + /* handler: uj.Size type=uint64 kind=uint64 quoted=false*/ + + { + if tok != fflib.FFTok_integer && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for uint64", tok)) + } + } + + { + + if tok == fflib.FFTok_null { + + uj.Size = nil + + } else { + + tval, err := fflib.ParseUint(fs.Output.Bytes(), 10, 64) + + if err != nil { + return fs.WrapErr(err) + } + + ttypval := uint64(tval) + uj.Size = &ttypval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Mtime: + + /* handler: uj.Mtime type=mesos.TimeInfo kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Mtime = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Mtime == nil { + uj.Mtime = new(TimeInfo) + } + + err = uj.Mtime.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Mode: + + /* handler: uj.Mode type=uint32 kind=uint32 quoted=false*/ + + { + if tok != fflib.FFTok_integer && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for uint32", tok)) + } + } + + { + + if tok == fflib.FFTok_null { + + uj.Mode = nil + + } else { + + tval, err := fflib.ParseUint(fs.Output.Bytes(), 10, 32) + + if err != nil { + return fs.WrapErr(err) + } + + ttypval := uint32(tval) + uj.Mode = &ttypval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_UID: + + /* handler: uj.UID type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + uj.UID = nil + + } else { + + var tval string + outBuf := fs.Output.Bytes() + + tval = string(string(outBuf)) + uj.UID = &tval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_GID: + + /* handler: uj.GID type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + uj.GID = nil + + } else { + + var tval string + outBuf := fs.Output.Bytes() + + tval = string(string(outBuf)) + uj.GID = &tval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + +func (mj *Filters) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *Filters) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{ `) + if mj.RefuseSeconds != nil { + if true { + buf.WriteString(`"refuse_seconds":`) + fflib.AppendFloat(buf, float64(*mj.RefuseSeconds), 'g', -1, 64) + buf.WriteByte(',') + } + } + buf.Rewind(1) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_Filtersbase = iota + ffj_t_Filtersno_such_key + + ffj_t_Filters_RefuseSeconds +) + +var ffj_key_Filters_RefuseSeconds = []byte("refuse_seconds") + +func (uj *Filters) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *Filters) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_Filtersbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_Filtersno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'r': + + if bytes.Equal(ffj_key_Filters_RefuseSeconds, kn) { + currentKey = ffj_t_Filters_RefuseSeconds + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.EqualFoldRight(ffj_key_Filters_RefuseSeconds, kn) { + currentKey = ffj_t_Filters_RefuseSeconds + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_Filtersno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_Filters_RefuseSeconds: + goto handle_RefuseSeconds + + case ffj_t_Filtersno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_RefuseSeconds: + + /* handler: uj.RefuseSeconds type=float64 kind=float64 quoted=false*/ + + { + if tok != fflib.FFTok_double && tok != fflib.FFTok_integer && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for float64", tok)) + } + } + + { + + if tok == fflib.FFTok_null { + + uj.RefuseSeconds = nil + + } else { + + tval, err := fflib.ParseFloat(fs.Output.Bytes(), 64) + + if err != nil { + return fs.WrapErr(err) + } + + ttypval := float64(tval) + uj.RefuseSeconds = &ttypval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + +func (mj *Flag) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *Flag) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{ "name":`) + fflib.WriteJsonString(buf, string(mj.Name)) + buf.WriteByte(',') + if mj.Value != nil { + if true { + buf.WriteString(`"value":`) + fflib.WriteJsonString(buf, string(*mj.Value)) + buf.WriteByte(',') + } + } + buf.Rewind(1) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_Flagbase = iota + ffj_t_Flagno_such_key + + ffj_t_Flag_Name + + ffj_t_Flag_Value +) + +var ffj_key_Flag_Name = []byte("name") + +var ffj_key_Flag_Value = []byte("value") + +func (uj *Flag) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *Flag) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_Flagbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_Flagno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'n': + + if bytes.Equal(ffj_key_Flag_Name, kn) { + currentKey = ffj_t_Flag_Name + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'v': + + if bytes.Equal(ffj_key_Flag_Value, kn) { + currentKey = ffj_t_Flag_Value + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.SimpleLetterEqualFold(ffj_key_Flag_Value, kn) { + currentKey = ffj_t_Flag_Value + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_Flag_Name, kn) { + currentKey = ffj_t_Flag_Name + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_Flagno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_Flag_Name: + goto handle_Name + + case ffj_t_Flag_Value: + goto handle_Value + + case ffj_t_Flagno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_Name: + + /* handler: uj.Name type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + } else { + + outBuf := fs.Output.Bytes() + + uj.Name = string(string(outBuf)) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Value: + + /* handler: uj.Value type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + uj.Value = nil + + } else { + + var tval string + outBuf := fs.Output.Bytes() + + tval = string(string(outBuf)) + uj.Value = &tval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + +func (mj *FrameworkID) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *FrameworkID) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{"value":`) + fflib.WriteJsonString(buf, string(mj.Value)) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_FrameworkIDbase = iota + ffj_t_FrameworkIDno_such_key + + ffj_t_FrameworkID_Value +) + +var ffj_key_FrameworkID_Value = []byte("value") + +func (uj *FrameworkID) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *FrameworkID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_FrameworkIDbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_FrameworkIDno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'v': + + if bytes.Equal(ffj_key_FrameworkID_Value, kn) { + currentKey = ffj_t_FrameworkID_Value + state = fflib.FFParse_want_colon + goto mainparse + } + + } if fflib.SimpleLetterEqualFold(ffj_key_FrameworkID_Value, kn) { currentKey = ffj_t_FrameworkID_Value @@ -16713,54 +18804,341 @@ handle_Name: state = fflib.FFParse_after_value goto mainparse -handle_ID: - - /* handler: uj.ID type=string kind=string quoted=false*/ - - { - - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - - if tok == fflib.FFTok_null { - - uj.ID = nil - - } else { - - var tval string - outBuf := fs.Output.Bytes() - - tval = string(string(outBuf)) - uj.ID = &tval - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Labels: +handle_ID: + + /* handler: uj.ID type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + uj.ID = nil + + } else { + + var tval string + outBuf := fs.Output.Bytes() + + tval = string(string(outBuf)) + uj.ID = &tval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Labels: + + /* handler: uj.Labels type=mesos.Labels kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Labels = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Labels == nil { + uj.Labels = new(Labels) + } + + err = uj.Labels.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + +func (mj *Image_Docker) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *Image_Docker) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{ "name":`) + fflib.WriteJsonString(buf, string(mj.Name)) + buf.WriteByte(',') + if mj.Credential != nil { + if true { + buf.WriteString(`"credential":`) + + { + + err = mj.Credential.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + if mj.Config != nil { + if true { + buf.WriteString(`"config":`) + + { + + err = mj.Config.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + buf.Rewind(1) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_Image_Dockerbase = iota + ffj_t_Image_Dockerno_such_key + + ffj_t_Image_Docker_Name + + ffj_t_Image_Docker_Credential + + ffj_t_Image_Docker_Config +) + +var ffj_key_Image_Docker_Name = []byte("name") + +var ffj_key_Image_Docker_Credential = []byte("credential") + +var ffj_key_Image_Docker_Config = []byte("config") + +func (uj *Image_Docker) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *Image_Docker) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_Image_Dockerbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_Image_Dockerno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'c': + + if bytes.Equal(ffj_key_Image_Docker_Credential, kn) { + currentKey = ffj_t_Image_Docker_Credential + state = fflib.FFParse_want_colon + goto mainparse + + } else if bytes.Equal(ffj_key_Image_Docker_Config, kn) { + currentKey = ffj_t_Image_Docker_Config + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'n': + + if bytes.Equal(ffj_key_Image_Docker_Name, kn) { + currentKey = ffj_t_Image_Docker_Name + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.SimpleLetterEqualFold(ffj_key_Image_Docker_Config, kn) { + currentKey = ffj_t_Image_Docker_Config + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_Image_Docker_Credential, kn) { + currentKey = ffj_t_Image_Docker_Credential + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_Image_Docker_Name, kn) { + currentKey = ffj_t_Image_Docker_Name + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_Image_Dockerno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_Image_Docker_Name: + goto handle_Name + + case ffj_t_Image_Docker_Credential: + goto handle_Credential + + case ffj_t_Image_Docker_Config: + goto handle_Config + + case ffj_t_Image_Dockerno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_Name: + + /* handler: uj.Name type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + } else { + + outBuf := fs.Output.Bytes() + + uj.Name = string(string(outBuf)) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Credential: - /* handler: uj.Labels type=mesos.Labels kind=struct quoted=false*/ + /* handler: uj.Credential type=mesos.Credential kind=struct quoted=false*/ { if tok == fflib.FFTok_null { - uj.Labels = nil + uj.Credential = nil state = fflib.FFParse_after_value goto mainparse } - if uj.Labels == nil { - uj.Labels = new(Labels) + if uj.Credential == nil { + uj.Credential = new(Credential) } - err = uj.Labels.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.Credential.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -16770,251 +19148,24 @@ handle_Labels: state = fflib.FFParse_after_value goto mainparse -wantedvalue: - return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) -wrongtokenerror: - return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) -tokerror: - if fs.BigError != nil { - return fs.WrapErr(fs.BigError) - } - err = fs.Error.ToError() - if err != nil { - return fs.WrapErr(err) - } - panic("ffjson-generated: unreachable, please report bug.") -done: - - return nil -} - -func (mj *Image_Docker) MarshalJSON() ([]byte, error) { - var buf fflib.Buffer - if mj == nil { - buf.WriteString("null") - return buf.Bytes(), nil - } - err := mj.MarshalJSONBuf(&buf) - if err != nil { - return nil, err - } - return buf.Bytes(), nil -} -func (mj *Image_Docker) MarshalJSONBuf(buf fflib.EncodingBuffer) error { - if mj == nil { - buf.WriteString("null") - return nil - } - var err error - var obj []byte - _ = obj - _ = err - buf.WriteString(`{ "name":`) - fflib.WriteJsonString(buf, string(mj.Name)) - buf.WriteByte(',') - if mj.Credential != nil { - if true { - buf.WriteString(`"credential":`) - - { - - err = mj.Credential.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - buf.WriteByte(',') - } - } - buf.Rewind(1) - buf.WriteByte('}') - return nil -} - -const ( - ffj_t_Image_Dockerbase = iota - ffj_t_Image_Dockerno_such_key - - ffj_t_Image_Docker_Name - - ffj_t_Image_Docker_Credential -) - -var ffj_key_Image_Docker_Name = []byte("name") - -var ffj_key_Image_Docker_Credential = []byte("credential") - -func (uj *Image_Docker) UnmarshalJSON(input []byte) error { - fs := fflib.NewFFLexer(input) - return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) -} - -func (uj *Image_Docker) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { - var err error = nil - currentKey := ffj_t_Image_Dockerbase - _ = currentKey - tok := fflib.FFTok_init - wantedTok := fflib.FFTok_init - -mainparse: - for { - tok = fs.Scan() - // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) - if tok == fflib.FFTok_error { - goto tokerror - } - - switch state { - - case fflib.FFParse_map_start: - if tok != fflib.FFTok_left_bracket { - wantedTok = fflib.FFTok_left_bracket - goto wrongtokenerror - } - state = fflib.FFParse_want_key - continue - - case fflib.FFParse_after_value: - if tok == fflib.FFTok_comma { - state = fflib.FFParse_want_key - } else if tok == fflib.FFTok_right_bracket { - goto done - } else { - wantedTok = fflib.FFTok_comma - goto wrongtokenerror - } - - case fflib.FFParse_want_key: - // json {} ended. goto exit. woo. - if tok == fflib.FFTok_right_bracket { - goto done - } - if tok != fflib.FFTok_string { - wantedTok = fflib.FFTok_string - goto wrongtokenerror - } - - kn := fs.Output.Bytes() - if len(kn) <= 0 { - // "" case. hrm. - currentKey = ffj_t_Image_Dockerno_such_key - state = fflib.FFParse_want_colon - goto mainparse - } else { - switch kn[0] { - - case 'c': - - if bytes.Equal(ffj_key_Image_Docker_Credential, kn) { - currentKey = ffj_t_Image_Docker_Credential - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'n': - - if bytes.Equal(ffj_key_Image_Docker_Name, kn) { - currentKey = ffj_t_Image_Docker_Name - state = fflib.FFParse_want_colon - goto mainparse - } - - } - - if fflib.SimpleLetterEqualFold(ffj_key_Image_Docker_Credential, kn) { - currentKey = ffj_t_Image_Docker_Credential - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_Image_Docker_Name, kn) { - currentKey = ffj_t_Image_Docker_Name - state = fflib.FFParse_want_colon - goto mainparse - } - - currentKey = ffj_t_Image_Dockerno_such_key - state = fflib.FFParse_want_colon - goto mainparse - } - - case fflib.FFParse_want_colon: - if tok != fflib.FFTok_colon { - wantedTok = fflib.FFTok_colon - goto wrongtokenerror - } - state = fflib.FFParse_want_value - continue - case fflib.FFParse_want_value: - - if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { - switch currentKey { - - case ffj_t_Image_Docker_Name: - goto handle_Name - - case ffj_t_Image_Docker_Credential: - goto handle_Credential - - case ffj_t_Image_Dockerno_such_key: - err = fs.SkipField(tok) - if err != nil { - return fs.WrapErr(err) - } - state = fflib.FFParse_after_value - goto mainparse - } - } else { - goto wantedvalue - } - } - } - -handle_Name: - - /* handler: uj.Name type=string kind=string quoted=false*/ - - { - - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - - if tok == fflib.FFTok_null { - - } else { - - outBuf := fs.Output.Bytes() - - uj.Name = string(string(outBuf)) - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Credential: +handle_Config: - /* handler: uj.Credential type=mesos.Credential kind=struct quoted=false*/ + /* handler: uj.Config type=mesos.Secret kind=struct quoted=false*/ { if tok == fflib.FFTok_null { - uj.Credential = nil + uj.Config = nil state = fflib.FFParse_after_value goto mainparse } - if uj.Credential == nil { - uj.Credential = new(Credential) + if uj.Config == nil { + uj.Config = new(Secret) } - err = uj.Credential.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.Config.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -31423,7 +33574,23 @@ func (mj *Resource) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{ "name":`) + buf.WriteString(`{ `) + if mj.ProviderID != nil { + if true { + buf.WriteString(`"provider_id":`) + + { + + err = mj.ProviderID.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + buf.WriteString(`"name":`) fflib.WriteJsonString(buf, string(mj.Name)) buf.WriteByte(',') if mj.Type != nil { @@ -31578,6 +33745,8 @@ const ( ffj_t_Resourcebase = iota ffj_t_Resourceno_such_key + ffj_t_Resource_ProviderID + ffj_t_Resource_Name ffj_t_Resource_Type @@ -31601,6 +33770,8 @@ const ( ffj_t_Resource_Shared ) +var ffj_key_Resource_ProviderID = []byte("provider_id") + var ffj_key_Resource_Name = []byte("name") var ffj_key_Resource_Type = []byte("type") @@ -31706,6 +33877,14 @@ mainparse: goto mainparse } + case 'p': + + if bytes.Equal(ffj_key_Resource_ProviderID, kn) { + currentKey = ffj_t_Resource_ProviderID + state = fflib.FFParse_want_colon + goto mainparse + } + case 'r': if bytes.Equal(ffj_key_Resource_Ranges, kn) { @@ -31823,6 +34002,12 @@ mainparse: goto mainparse } + if fflib.AsciiEqualFold(ffj_key_Resource_ProviderID, kn) { + currentKey = ffj_t_Resource_ProviderID + state = fflib.FFParse_want_colon + goto mainparse + } + currentKey = ffj_t_Resourceno_such_key state = fflib.FFParse_want_colon goto mainparse @@ -31840,6 +34025,9 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { + case ffj_t_Resource_ProviderID: + goto handle_ProviderID + case ffj_t_Resource_Name: goto handle_Name @@ -31887,6 +34075,33 @@ mainparse: } } +handle_ProviderID: + + /* handler: uj.ProviderID type=mesos.ResourceProviderID kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.ProviderID = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.ProviderID == nil { + uj.ProviderID = new(ResourceProviderID) + } + + err = uj.ProviderID.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + handle_Name: /* handler: uj.Name type=string kind=string quoted=false*/ @@ -32209,6 +34424,195 @@ done: return nil } +func (mj *ResourceProviderID) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *ResourceProviderID) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{"value":`) + fflib.WriteJsonString(buf, string(mj.Value)) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_ResourceProviderIDbase = iota + ffj_t_ResourceProviderIDno_such_key + + ffj_t_ResourceProviderID_Value +) + +var ffj_key_ResourceProviderID_Value = []byte("value") + +func (uj *ResourceProviderID) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *ResourceProviderID) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_ResourceProviderIDbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_ResourceProviderIDno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'v': + + if bytes.Equal(ffj_key_ResourceProviderID_Value, kn) { + currentKey = ffj_t_ResourceProviderID_Value + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.SimpleLetterEqualFold(ffj_key_ResourceProviderID_Value, kn) { + currentKey = ffj_t_ResourceProviderID_Value + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_ResourceProviderIDno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_ResourceProviderID_Value: + goto handle_Value + + case ffj_t_ResourceProviderIDno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_Value: + + /* handler: uj.Value type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + } else { + + outBuf := fs.Output.Bytes() + + uj.Value = string(string(outBuf)) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + func (mj *ResourceStatistics) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { @@ -32401,6 +34805,28 @@ func (mj *ResourceStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error { buf.WriteByte(',') } } + buf.WriteString(`"disk_statistics":`) + if mj.DiskStatistics != nil { + buf.WriteString(`[`) + for i, v := range mj.DiskStatistics { + if i != 0 { + buf.WriteString(`,`) + } + + { + + err = v.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + } + buf.WriteString(`]`) + } else { + buf.WriteString(`null`) + } + buf.WriteByte(',') if mj.Perf != nil { if true { buf.WriteString(`"perf":`) @@ -32610,6 +35036,8 @@ const ( ffj_t_ResourceStatistics_DiskUsedBytes + ffj_t_ResourceStatistics_DiskStatistics + ffj_t_ResourceStatistics_Perf ffj_t_ResourceStatistics_NetRxPackets @@ -32695,6 +35123,8 @@ var ffj_key_ResourceStatistics_DiskLimitBytes = []byte("disk_limit_bytes") var ffj_key_ResourceStatistics_DiskUsedBytes = []byte("disk_used_bytes") +var ffj_key_ResourceStatistics_DiskStatistics = []byte("disk_statistics") + var ffj_key_ResourceStatistics_Perf = []byte("perf") var ffj_key_ResourceStatistics_NetRxPackets = []byte("net_rx_packets") @@ -32832,6 +35262,11 @@ mainparse: currentKey = ffj_t_ResourceStatistics_DiskUsedBytes state = fflib.FFParse_want_colon goto mainparse + + } else if bytes.Equal(ffj_key_ResourceStatistics_DiskStatistics, kn) { + currentKey = ffj_t_ResourceStatistics_DiskStatistics + state = fflib.FFParse_want_colon + goto mainparse } case 'm': @@ -33120,6 +35555,12 @@ mainparse: goto mainparse } + if fflib.EqualFoldRight(ffj_key_ResourceStatistics_DiskStatistics, kn) { + currentKey = ffj_t_ResourceStatistics_DiskStatistics + state = fflib.FFParse_want_colon + goto mainparse + } + if fflib.EqualFoldRight(ffj_key_ResourceStatistics_DiskUsedBytes, kn) { currentKey = ffj_t_ResourceStatistics_DiskUsedBytes state = fflib.FFParse_want_colon @@ -33362,6 +35803,9 @@ mainparse: case ffj_t_ResourceStatistics_DiskUsedBytes: goto handle_DiskUsedBytes + case ffj_t_ResourceStatistics_DiskStatistics: + goto handle_DiskStatistics + case ffj_t_ResourceStatistics_Perf: goto handle_Perf @@ -34249,6 +36693,75 @@ handle_DiskUsedBytes: state = fflib.FFParse_after_value goto mainparse +handle_DiskStatistics: + + /* handler: uj.DiskStatistics type=[]mesos.DiskStatistics kind=slice quoted=false*/ + + { + + { + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + } + } + + if tok == fflib.FFTok_null { + uj.DiskStatistics = nil + } else { + + uj.DiskStatistics = []DiskStatistics{} + + wantVal := true + + for { + + var tmp_uj__DiskStatistics DiskStatistics + + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } + + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } + + /* handler: tmp_uj__DiskStatistics type=mesos.DiskStatistics kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = tmp_uj__DiskStatistics.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + uj.DiskStatistics = append(uj.DiskStatistics, tmp_uj__DiskStatistics) + + wantVal = false + } + } + } + + state = fflib.FFParse_after_value + goto mainparse + handle_Perf: /* handler: uj.Perf type=mesos.PerfStatistics kind=struct quoted=false*/ @@ -35499,13 +38012,494 @@ mainparse: case ffj_t_ResourceUsage_Executor_Statistics: goto handle_Statistics - case ffj_t_ResourceUsage_Executor_ContainerID: - goto handle_ContainerID + case ffj_t_ResourceUsage_Executor_ContainerID: + goto handle_ContainerID + + case ffj_t_ResourceUsage_Executor_Tasks: + goto handle_Tasks + + case ffj_t_ResourceUsage_Executorno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_ExecutorInfo: + + /* handler: uj.ExecutorInfo type=mesos.ExecutorInfo kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = uj.ExecutorInfo.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Allocated: + + /* handler: uj.Allocated type=[]mesos.Resource kind=slice quoted=false*/ + + { + + { + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + } + } + + if tok == fflib.FFTok_null { + uj.Allocated = nil + } else { + + uj.Allocated = []Resource{} + + wantVal := true + + for { + + var tmp_uj__Allocated Resource + + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } + + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } + + /* handler: tmp_uj__Allocated type=mesos.Resource kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = tmp_uj__Allocated.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + uj.Allocated = append(uj.Allocated, tmp_uj__Allocated) + + wantVal = false + } + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Statistics: + + /* handler: uj.Statistics type=mesos.ResourceStatistics kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Statistics = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Statistics == nil { + uj.Statistics = new(ResourceStatistics) + } + + err = uj.Statistics.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_ContainerID: + + /* handler: uj.ContainerID type=mesos.ContainerID kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = uj.ContainerID.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Tasks: + + /* handler: uj.Tasks type=[]mesos.ResourceUsage_Executor_Task kind=slice quoted=false*/ + + { + + { + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + } + } + + if tok == fflib.FFTok_null { + uj.Tasks = nil + } else { + + uj.Tasks = []ResourceUsage_Executor_Task{} + + wantVal := true + + for { + + var tmp_uj__Tasks ResourceUsage_Executor_Task + + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } + + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } + + /* handler: tmp_uj__Tasks type=mesos.ResourceUsage_Executor_Task kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = tmp_uj__Tasks.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + uj.Tasks = append(uj.Tasks, tmp_uj__Tasks) + + wantVal = false + } + } + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + +func (mj *ResourceUsage_Executor_Task) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *ResourceUsage_Executor_Task) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{ "name":`) + fflib.WriteJsonString(buf, string(mj.Name)) + buf.WriteString(`,"id":`) + + { + + err = mj.ID.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteString(`,"resources":`) + if mj.Resources != nil { + buf.WriteString(`[`) + for i, v := range mj.Resources { + if i != 0 { + buf.WriteString(`,`) + } + + { + + err = v.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + } + buf.WriteString(`]`) + } else { + buf.WriteString(`null`) + } + buf.WriteByte(',') + if mj.Labels != nil { + if true { + buf.WriteString(`"labels":`) + + { + + err = mj.Labels.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + buf.Rewind(1) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_ResourceUsage_Executor_Taskbase = iota + ffj_t_ResourceUsage_Executor_Taskno_such_key + + ffj_t_ResourceUsage_Executor_Task_Name + + ffj_t_ResourceUsage_Executor_Task_ID + + ffj_t_ResourceUsage_Executor_Task_Resources + + ffj_t_ResourceUsage_Executor_Task_Labels +) + +var ffj_key_ResourceUsage_Executor_Task_Name = []byte("name") + +var ffj_key_ResourceUsage_Executor_Task_ID = []byte("id") + +var ffj_key_ResourceUsage_Executor_Task_Resources = []byte("resources") + +var ffj_key_ResourceUsage_Executor_Task_Labels = []byte("labels") + +func (uj *ResourceUsage_Executor_Task) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *ResourceUsage_Executor_Task) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_ResourceUsage_Executor_Taskbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_ResourceUsage_Executor_Taskno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'i': + + if bytes.Equal(ffj_key_ResourceUsage_Executor_Task_ID, kn) { + currentKey = ffj_t_ResourceUsage_Executor_Task_ID + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'l': + + if bytes.Equal(ffj_key_ResourceUsage_Executor_Task_Labels, kn) { + currentKey = ffj_t_ResourceUsage_Executor_Task_Labels + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'n': + + if bytes.Equal(ffj_key_ResourceUsage_Executor_Task_Name, kn) { + currentKey = ffj_t_ResourceUsage_Executor_Task_Name + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'r': + + if bytes.Equal(ffj_key_ResourceUsage_Executor_Task_Resources, kn) { + currentKey = ffj_t_ResourceUsage_Executor_Task_Resources + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.EqualFoldRight(ffj_key_ResourceUsage_Executor_Task_Labels, kn) { + currentKey = ffj_t_ResourceUsage_Executor_Task_Labels + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.EqualFoldRight(ffj_key_ResourceUsage_Executor_Task_Resources, kn) { + currentKey = ffj_t_ResourceUsage_Executor_Task_Resources + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_ResourceUsage_Executor_Task_ID, kn) { + currentKey = ffj_t_ResourceUsage_Executor_Task_ID + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_ResourceUsage_Executor_Task_Name, kn) { + currentKey = ffj_t_ResourceUsage_Executor_Task_Name + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_ResourceUsage_Executor_Taskno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_ResourceUsage_Executor_Task_Name: + goto handle_Name + + case ffj_t_ResourceUsage_Executor_Task_ID: + goto handle_ID - case ffj_t_ResourceUsage_Executor_Tasks: - goto handle_Tasks + case ffj_t_ResourceUsage_Executor_Task_Resources: + goto handle_Resources - case ffj_t_ResourceUsage_Executorno_such_key: + case ffj_t_ResourceUsage_Executor_Task_Labels: + goto handle_Labels + + case ffj_t_ResourceUsage_Executor_Taskno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -35519,9 +38513,35 @@ mainparse: } } -handle_ExecutorInfo: +handle_Name: - /* handler: uj.ExecutorInfo type=mesos.ExecutorInfo kind=struct quoted=false*/ + /* handler: uj.Name type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + } else { + + outBuf := fs.Output.Bytes() + + uj.Name = string(string(outBuf)) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_ID: + + /* handler: uj.ID type=mesos.TaskID kind=struct quoted=false*/ { if tok == fflib.FFTok_null { @@ -35530,7 +38550,7 @@ handle_ExecutorInfo: goto mainparse } - err = uj.ExecutorInfo.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.ID.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -35540,9 +38560,9 @@ handle_ExecutorInfo: state = fflib.FFParse_after_value goto mainparse -handle_Allocated: +handle_Resources: - /* handler: uj.Allocated type=[]mesos.Resource kind=slice quoted=false*/ + /* handler: uj.Resources type=[]mesos.Resource kind=slice quoted=false*/ { @@ -35553,16 +38573,16 @@ handle_Allocated: } if tok == fflib.FFTok_null { - uj.Allocated = nil + uj.Resources = nil } else { - uj.Allocated = []Resource{} + uj.Resources = []Resource{} wantVal := true for { - var tmp_uj__Allocated Resource + var tmp_uj__Resources Resource tok = fs.Scan() if tok == fflib.FFTok_error { @@ -35583,7 +38603,7 @@ handle_Allocated: wantVal = true } - /* handler: tmp_uj__Allocated type=mesos.Resource kind=struct quoted=false*/ + /* handler: tmp_uj__Resources type=mesos.Resource kind=struct quoted=false*/ { if tok == fflib.FFTok_null { @@ -35592,14 +38612,14 @@ handle_Allocated: goto mainparse } - err = tmp_uj__Allocated.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = tmp_uj__Resources.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } state = fflib.FFParse_after_value } - uj.Allocated = append(uj.Allocated, tmp_uj__Allocated) + uj.Resources = append(uj.Resources, tmp_uj__Resources) wantVal = false } @@ -35609,24 +38629,24 @@ handle_Allocated: state = fflib.FFParse_after_value goto mainparse -handle_Statistics: +handle_Labels: - /* handler: uj.Statistics type=mesos.ResourceStatistics kind=struct quoted=false*/ + /* handler: uj.Labels type=mesos.Labels kind=struct quoted=false*/ { if tok == fflib.FFTok_null { - uj.Statistics = nil + uj.Labels = nil state = fflib.FFParse_after_value goto mainparse } - if uj.Statistics == nil { - uj.Statistics = new(ResourceStatistics) + if uj.Labels == nil { + uj.Labels = new(Labels) } - err = uj.Statistics.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.Labels.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -35636,91 +38656,201 @@ handle_Statistics: state = fflib.FFParse_after_value goto mainparse -handle_ContainerID: - - /* handler: uj.ContainerID type=mesos.ContainerID kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: - state = fflib.FFParse_after_value - goto mainparse - } + return nil +} - err = uj.ContainerID.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err +func (mj *Resource_AllocationInfo) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *Resource_AllocationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{ `) + if mj.Role != nil { + if true { + buf.WriteString(`"role":`) + fflib.WriteJsonString(buf, string(*mj.Role)) + buf.WriteByte(',') } - state = fflib.FFParse_after_value } + buf.Rewind(1) + buf.WriteByte('}') + return nil +} - state = fflib.FFParse_after_value - goto mainparse +const ( + ffj_t_Resource_AllocationInfobase = iota + ffj_t_Resource_AllocationInfono_such_key -handle_Tasks: + ffj_t_Resource_AllocationInfo_Role +) - /* handler: uj.Tasks type=[]mesos.ResourceUsage_Executor_Task kind=slice quoted=false*/ +var ffj_key_Resource_AllocationInfo_Role = []byte("role") - { +func (uj *Resource_AllocationInfo) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} - { - if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) - } +func (uj *Resource_AllocationInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_Resource_AllocationInfobase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror } - if tok == fflib.FFTok_null { - uj.Tasks = nil - } else { + switch state { - uj.Tasks = []ResourceUsage_Executor_Task{} + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue - wantVal := true + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } - for { + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } - var tmp_uj__Tasks ResourceUsage_Executor_Task + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_Resource_AllocationInfono_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { - tok = fs.Scan() - if tok == fflib.FFTok_error { - goto tokerror - } - if tok == fflib.FFTok_right_brace { - break - } + case 'r': - if tok == fflib.FFTok_comma { - if wantVal == true { - // TODO(pquerna): this isn't an ideal error message, this handles - // things like [,,,] as an array value. - return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + if bytes.Equal(ffj_key_Resource_AllocationInfo_Role, kn) { + currentKey = ffj_t_Resource_AllocationInfo_Role + state = fflib.FFParse_want_colon + goto mainparse } - continue - } else { - wantVal = true + } - /* handler: tmp_uj__Tasks type=mesos.ResourceUsage_Executor_Task kind=struct quoted=false*/ + if fflib.SimpleLetterEqualFold(ffj_key_Resource_AllocationInfo_Role, kn) { + currentKey = ffj_t_Resource_AllocationInfo_Role + state = fflib.FFParse_want_colon + goto mainparse + } - { - if tok == fflib.FFTok_null { + currentKey = ffj_t_Resource_AllocationInfono_such_key + state = fflib.FFParse_want_colon + goto mainparse + } - state = fflib.FFParse_after_value - goto mainparse - } + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: - err = tmp_uj__Tasks.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_Resource_AllocationInfo_Role: + goto handle_Role + + case ffj_t_Resource_AllocationInfono_such_key: + err = fs.SkipField(tok) if err != nil { - return err + return fs.WrapErr(err) } state = fflib.FFParse_after_value + goto mainparse } + } else { + goto wantedvalue + } + } + } - uj.Tasks = append(uj.Tasks, tmp_uj__Tasks) +handle_Role: - wantVal = false + /* handler: uj.Role type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) } } + + if tok == fflib.FFTok_null { + + uj.Role = nil + + } else { + + var tval string + outBuf := fs.Output.Bytes() + + tval = string(string(outBuf)) + uj.Role = &tval + + } } state = fflib.FFParse_after_value @@ -35744,7 +38874,7 @@ done: return nil } -func (mj *ResourceUsage_Executor_Task) MarshalJSON() ([]byte, error) { +func (mj *Resource_DiskInfo) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -35756,7 +38886,7 @@ func (mj *ResourceUsage_Executor_Task) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *ResourceUsage_Executor_Task) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Resource_DiskInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -35765,47 +38895,44 @@ func (mj *ResourceUsage_Executor_Task) MarshalJSONBuf(buf fflib.EncodingBuffer) var obj []byte _ = obj _ = err - buf.WriteString(`{ "name":`) - fflib.WriteJsonString(buf, string(mj.Name)) - buf.WriteString(`,"id":`) + buf.WriteString(`{ `) + if mj.Persistence != nil { + if true { + buf.WriteString(`"persistence":`) - { + { - err = mj.ID.MarshalJSONBuf(buf) - if err != nil { - return err - } + err = mj.Persistence.MarshalJSONBuf(buf) + if err != nil { + return err + } - } - buf.WriteString(`,"resources":`) - if mj.Resources != nil { - buf.WriteString(`[`) - for i, v := range mj.Resources { - if i != 0 { - buf.WriteString(`,`) } + buf.WriteByte(',') + } + } + if mj.Volume != nil { + if true { + buf.WriteString(`"volume":`) { - err = v.MarshalJSONBuf(buf) + err = mj.Volume.MarshalJSONBuf(buf) if err != nil { return err } } + buf.WriteByte(',') } - buf.WriteString(`]`) - } else { - buf.WriteString(`null`) } - buf.WriteByte(',') - if mj.Labels != nil { + if mj.Source != nil { if true { - buf.WriteString(`"labels":`) + buf.WriteString(`"source":`) { - err = mj.Labels.MarshalJSONBuf(buf) + err = mj.Source.MarshalJSONBuf(buf) if err != nil { return err } @@ -35820,34 +38947,30 @@ func (mj *ResourceUsage_Executor_Task) MarshalJSONBuf(buf fflib.EncodingBuffer) } const ( - ffj_t_ResourceUsage_Executor_Taskbase = iota - ffj_t_ResourceUsage_Executor_Taskno_such_key - - ffj_t_ResourceUsage_Executor_Task_Name + ffj_t_Resource_DiskInfobase = iota + ffj_t_Resource_DiskInfono_such_key - ffj_t_ResourceUsage_Executor_Task_ID + ffj_t_Resource_DiskInfo_Persistence - ffj_t_ResourceUsage_Executor_Task_Resources + ffj_t_Resource_DiskInfo_Volume - ffj_t_ResourceUsage_Executor_Task_Labels + ffj_t_Resource_DiskInfo_Source ) -var ffj_key_ResourceUsage_Executor_Task_Name = []byte("name") - -var ffj_key_ResourceUsage_Executor_Task_ID = []byte("id") +var ffj_key_Resource_DiskInfo_Persistence = []byte("persistence") -var ffj_key_ResourceUsage_Executor_Task_Resources = []byte("resources") +var ffj_key_Resource_DiskInfo_Volume = []byte("volume") -var ffj_key_ResourceUsage_Executor_Task_Labels = []byte("labels") +var ffj_key_Resource_DiskInfo_Source = []byte("source") -func (uj *ResourceUsage_Executor_Task) UnmarshalJSON(input []byte) error { +func (uj *Resource_DiskInfo) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *ResourceUsage_Executor_Task) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Resource_DiskInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_ResourceUsage_Executor_Taskbase + currentKey := ffj_t_Resource_DiskInfobase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -35893,71 +39016,57 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_ResourceUsage_Executor_Taskno_such_key + currentKey = ffj_t_Resource_DiskInfono_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'i': - - if bytes.Equal(ffj_key_ResourceUsage_Executor_Task_ID, kn) { - currentKey = ffj_t_ResourceUsage_Executor_Task_ID - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'l': + case 'p': - if bytes.Equal(ffj_key_ResourceUsage_Executor_Task_Labels, kn) { - currentKey = ffj_t_ResourceUsage_Executor_Task_Labels + if bytes.Equal(ffj_key_Resource_DiskInfo_Persistence, kn) { + currentKey = ffj_t_Resource_DiskInfo_Persistence state = fflib.FFParse_want_colon goto mainparse } - case 'n': + case 's': - if bytes.Equal(ffj_key_ResourceUsage_Executor_Task_Name, kn) { - currentKey = ffj_t_ResourceUsage_Executor_Task_Name + if bytes.Equal(ffj_key_Resource_DiskInfo_Source, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source state = fflib.FFParse_want_colon goto mainparse } - case 'r': + case 'v': - if bytes.Equal(ffj_key_ResourceUsage_Executor_Task_Resources, kn) { - currentKey = ffj_t_ResourceUsage_Executor_Task_Resources + if bytes.Equal(ffj_key_Resource_DiskInfo_Volume, kn) { + currentKey = ffj_t_Resource_DiskInfo_Volume state = fflib.FFParse_want_colon goto mainparse } } - if fflib.EqualFoldRight(ffj_key_ResourceUsage_Executor_Task_Labels, kn) { - currentKey = ffj_t_ResourceUsage_Executor_Task_Labels - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_ResourceUsage_Executor_Task_Resources, kn) { - currentKey = ffj_t_ResourceUsage_Executor_Task_Resources + if fflib.EqualFoldRight(ffj_key_Resource_DiskInfo_Source, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source state = fflib.FFParse_want_colon goto mainparse } - if fflib.SimpleLetterEqualFold(ffj_key_ResourceUsage_Executor_Task_ID, kn) { - currentKey = ffj_t_ResourceUsage_Executor_Task_ID + if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Volume, kn) { + currentKey = ffj_t_Resource_DiskInfo_Volume state = fflib.FFParse_want_colon goto mainparse } - if fflib.SimpleLetterEqualFold(ffj_key_ResourceUsage_Executor_Task_Name, kn) { - currentKey = ffj_t_ResourceUsage_Executor_Task_Name + if fflib.EqualFoldRight(ffj_key_Resource_DiskInfo_Persistence, kn) { + currentKey = ffj_t_Resource_DiskInfo_Persistence state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_ResourceUsage_Executor_Taskno_such_key + currentKey = ffj_t_Resource_DiskInfono_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -35974,19 +39083,16 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_ResourceUsage_Executor_Task_Name: - goto handle_Name - - case ffj_t_ResourceUsage_Executor_Task_ID: - goto handle_ID + case ffj_t_Resource_DiskInfo_Persistence: + goto handle_Persistence - case ffj_t_ResourceUsage_Executor_Task_Resources: - goto handle_Resources + case ffj_t_Resource_DiskInfo_Volume: + goto handle_Volume - case ffj_t_ResourceUsage_Executor_Task_Labels: - goto handle_Labels + case ffj_t_Resource_DiskInfo_Source: + goto handle_Source - case ffj_t_ResourceUsage_Executor_Taskno_such_key: + case ffj_t_Resource_DiskInfono_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -36000,140 +39106,78 @@ mainparse: } } -handle_Name: +handle_Persistence: - /* handler: uj.Name type=string kind=string quoted=false*/ + /* handler: uj.Persistence type=mesos.Resource_DiskInfo_Persistence kind=struct quoted=false*/ { - - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - if tok == fflib.FFTok_null { - } else { - - outBuf := fs.Output.Bytes() - - uj.Name = string(string(outBuf)) - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_ID: - - /* handler: uj.ID type=mesos.TaskID kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { + uj.Persistence = nil state = fflib.FFParse_after_value goto mainparse } - err = uj.ID.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Resources: - - /* handler: uj.Resources type=[]mesos.Resource kind=slice quoted=false*/ - - { - - { - if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) - } + if uj.Persistence == nil { + uj.Persistence = new(Resource_DiskInfo_Persistence) } - if tok == fflib.FFTok_null { - uj.Resources = nil - } else { - - uj.Resources = []Resource{} - - wantVal := true - - for { - - var tmp_uj__Resources Resource - - tok = fs.Scan() - if tok == fflib.FFTok_error { - goto tokerror - } - if tok == fflib.FFTok_right_brace { - break - } - - if tok == fflib.FFTok_comma { - if wantVal == true { - // TODO(pquerna): this isn't an ideal error message, this handles - // things like [,,,] as an array value. - return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) - } - continue - } else { - wantVal = true - } + err = uj.Persistence.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } - /* handler: tmp_uj__Resources type=mesos.Resource kind=struct quoted=false*/ + state = fflib.FFParse_after_value + goto mainparse - { - if tok == fflib.FFTok_null { +handle_Volume: - state = fflib.FFParse_after_value - goto mainparse - } + /* handler: uj.Volume type=mesos.Volume kind=struct quoted=false*/ - err = tmp_uj__Resources.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } + { + if tok == fflib.FFTok_null { - uj.Resources = append(uj.Resources, tmp_uj__Resources) + uj.Volume = nil - wantVal = false - } + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Volume == nil { + uj.Volume = new(Volume) + } + + err = uj.Volume.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err } + state = fflib.FFParse_after_value } state = fflib.FFParse_after_value goto mainparse -handle_Labels: +handle_Source: - /* handler: uj.Labels type=mesos.Labels kind=struct quoted=false*/ + /* handler: uj.Source type=mesos.Resource_DiskInfo_Source kind=struct quoted=false*/ { if tok == fflib.FFTok_null { - uj.Labels = nil + uj.Source = nil state = fflib.FFParse_after_value goto mainparse } - if uj.Labels == nil { - uj.Labels = new(Labels) + if uj.Source == nil { + uj.Source = new(Resource_DiskInfo_Source) } - err = uj.Labels.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.Source.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -36161,7 +39205,7 @@ done: return nil } -func (mj *Resource_AllocationInfo) MarshalJSON() ([]byte, error) { +func (mj *Resource_DiskInfo_Persistence) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -36173,7 +39217,7 @@ func (mj *Resource_AllocationInfo) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Resource_AllocationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Resource_DiskInfo_Persistence) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -36182,11 +39226,13 @@ func (mj *Resource_AllocationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) erro var obj []byte _ = obj _ = err - buf.WriteString(`{ `) - if mj.Role != nil { + buf.WriteString(`{ "id":`) + fflib.WriteJsonString(buf, string(mj.ID)) + buf.WriteByte(',') + if mj.Principal != nil { if true { - buf.WriteString(`"role":`) - fflib.WriteJsonString(buf, string(*mj.Role)) + buf.WriteString(`"principal":`) + fflib.WriteJsonString(buf, string(*mj.Principal)) buf.WriteByte(',') } } @@ -36196,22 +39242,26 @@ func (mj *Resource_AllocationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) erro } const ( - ffj_t_Resource_AllocationInfobase = iota - ffj_t_Resource_AllocationInfono_such_key + ffj_t_Resource_DiskInfo_Persistencebase = iota + ffj_t_Resource_DiskInfo_Persistenceno_such_key - ffj_t_Resource_AllocationInfo_Role + ffj_t_Resource_DiskInfo_Persistence_ID + + ffj_t_Resource_DiskInfo_Persistence_Principal ) -var ffj_key_Resource_AllocationInfo_Role = []byte("role") +var ffj_key_Resource_DiskInfo_Persistence_ID = []byte("id") -func (uj *Resource_AllocationInfo) UnmarshalJSON(input []byte) error { +var ffj_key_Resource_DiskInfo_Persistence_Principal = []byte("principal") + +func (uj *Resource_DiskInfo_Persistence) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Resource_AllocationInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Resource_DiskInfo_Persistence) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Resource_AllocationInfobase + currentKey := ffj_t_Resource_DiskInfo_Persistencebase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -36257,29 +39307,43 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Resource_AllocationInfono_such_key + currentKey = ffj_t_Resource_DiskInfo_Persistenceno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'r': + case 'i': - if bytes.Equal(ffj_key_Resource_AllocationInfo_Role, kn) { - currentKey = ffj_t_Resource_AllocationInfo_Role + if bytes.Equal(ffj_key_Resource_DiskInfo_Persistence_ID, kn) { + currentKey = ffj_t_Resource_DiskInfo_Persistence_ID + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'p': + + if bytes.Equal(ffj_key_Resource_DiskInfo_Persistence_Principal, kn) { + currentKey = ffj_t_Resource_DiskInfo_Persistence_Principal state = fflib.FFParse_want_colon goto mainparse } } - if fflib.SimpleLetterEqualFold(ffj_key_Resource_AllocationInfo_Role, kn) { - currentKey = ffj_t_Resource_AllocationInfo_Role + if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Persistence_Principal, kn) { + currentKey = ffj_t_Resource_DiskInfo_Persistence_Principal state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_Resource_AllocationInfono_such_key + if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Persistence_ID, kn) { + currentKey = ffj_t_Resource_DiskInfo_Persistence_ID + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_Resource_DiskInfo_Persistenceno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -36296,10 +39360,13 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Resource_AllocationInfo_Role: - goto handle_Role + case ffj_t_Resource_DiskInfo_Persistence_ID: + goto handle_ID - case ffj_t_Resource_AllocationInfono_such_key: + case ffj_t_Resource_DiskInfo_Persistence_Principal: + goto handle_Principal + + case ffj_t_Resource_DiskInfo_Persistenceno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -36313,9 +39380,9 @@ mainparse: } } -handle_Role: +handle_ID: - /* handler: uj.Role type=string kind=string quoted=false*/ + /* handler: uj.ID type=string kind=string quoted=false*/ { @@ -36327,7 +39394,33 @@ handle_Role: if tok == fflib.FFTok_null { - uj.Role = nil + } else { + + outBuf := fs.Output.Bytes() + + uj.ID = string(string(outBuf)) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Principal: + + /* handler: uj.Principal type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + uj.Principal = nil } else { @@ -36335,7 +39428,7 @@ handle_Role: outBuf := fs.Output.Bytes() tval = string(string(outBuf)) - uj.Role = &tval + uj.Principal = &tval } } @@ -36361,7 +39454,7 @@ done: return nil } -func (mj *Resource_DiskInfo) MarshalJSON() ([]byte, error) { +func (mj *Resource_DiskInfo_Source) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -36373,7 +39466,7 @@ func (mj *Resource_DiskInfo) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Resource_DiskInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Resource_DiskInfo_Source) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -36382,29 +39475,25 @@ func (mj *Resource_DiskInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{ `) - if mj.Persistence != nil { - if true { - buf.WriteString(`"persistence":`) - - { + buf.WriteString(`{ "type":`) - err = mj.Persistence.MarshalJSONBuf(buf) - if err != nil { - return err - } + { - } - buf.WriteByte(',') + obj, err = mj.Type.MarshalJSON() + if err != nil { + return err } + buf.Write(obj) + } - if mj.Volume != nil { + buf.WriteByte(',') + if mj.Path != nil { if true { - buf.WriteString(`"volume":`) + buf.WriteString(`"path":`) { - err = mj.Volume.MarshalJSONBuf(buf) + err = mj.Path.MarshalJSONBuf(buf) if err != nil { return err } @@ -36413,13 +39502,13 @@ func (mj *Resource_DiskInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { buf.WriteByte(',') } } - if mj.Source != nil { + if mj.Mount != nil { if true { - buf.WriteString(`"source":`) + buf.WriteString(`"mount":`) { - err = mj.Source.MarshalJSONBuf(buf) + err = mj.Mount.MarshalJSONBuf(buf) if err != nil { return err } @@ -36434,30 +39523,30 @@ func (mj *Resource_DiskInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { } const ( - ffj_t_Resource_DiskInfobase = iota - ffj_t_Resource_DiskInfono_such_key + ffj_t_Resource_DiskInfo_Sourcebase = iota + ffj_t_Resource_DiskInfo_Sourceno_such_key - ffj_t_Resource_DiskInfo_Persistence + ffj_t_Resource_DiskInfo_Source_Type - ffj_t_Resource_DiskInfo_Volume + ffj_t_Resource_DiskInfo_Source_Path - ffj_t_Resource_DiskInfo_Source + ffj_t_Resource_DiskInfo_Source_Mount ) -var ffj_key_Resource_DiskInfo_Persistence = []byte("persistence") +var ffj_key_Resource_DiskInfo_Source_Type = []byte("type") -var ffj_key_Resource_DiskInfo_Volume = []byte("volume") +var ffj_key_Resource_DiskInfo_Source_Path = []byte("path") -var ffj_key_Resource_DiskInfo_Source = []byte("source") +var ffj_key_Resource_DiskInfo_Source_Mount = []byte("mount") -func (uj *Resource_DiskInfo) UnmarshalJSON(input []byte) error { +func (uj *Resource_DiskInfo_Source) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Resource_DiskInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Resource_DiskInfo_Source) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Resource_DiskInfobase + currentKey := ffj_t_Resource_DiskInfo_Sourcebase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -36503,57 +39592,57 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Resource_DiskInfono_such_key + currentKey = ffj_t_Resource_DiskInfo_Sourceno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'p': + case 'm': - if bytes.Equal(ffj_key_Resource_DiskInfo_Persistence, kn) { - currentKey = ffj_t_Resource_DiskInfo_Persistence + if bytes.Equal(ffj_key_Resource_DiskInfo_Source_Mount, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source_Mount state = fflib.FFParse_want_colon goto mainparse } - case 's': + case 'p': - if bytes.Equal(ffj_key_Resource_DiskInfo_Source, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source + if bytes.Equal(ffj_key_Resource_DiskInfo_Source_Path, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source_Path state = fflib.FFParse_want_colon goto mainparse } - case 'v': + case 't': - if bytes.Equal(ffj_key_Resource_DiskInfo_Volume, kn) { - currentKey = ffj_t_Resource_DiskInfo_Volume + if bytes.Equal(ffj_key_Resource_DiskInfo_Source_Type, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source_Type state = fflib.FFParse_want_colon goto mainparse } } - if fflib.EqualFoldRight(ffj_key_Resource_DiskInfo_Source, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source + if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Source_Mount, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source_Mount state = fflib.FFParse_want_colon goto mainparse } - if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Volume, kn) { - currentKey = ffj_t_Resource_DiskInfo_Volume + if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Source_Path, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source_Path state = fflib.FFParse_want_colon goto mainparse } - if fflib.EqualFoldRight(ffj_key_Resource_DiskInfo_Persistence, kn) { - currentKey = ffj_t_Resource_DiskInfo_Persistence + if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Source_Type, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source_Type state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_Resource_DiskInfono_such_key + currentKey = ffj_t_Resource_DiskInfo_Sourceno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -36570,16 +39659,16 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Resource_DiskInfo_Persistence: - goto handle_Persistence + case ffj_t_Resource_DiskInfo_Source_Type: + goto handle_Type - case ffj_t_Resource_DiskInfo_Volume: - goto handle_Volume + case ffj_t_Resource_DiskInfo_Source_Path: + goto handle_Path - case ffj_t_Resource_DiskInfo_Source: - goto handle_Source + case ffj_t_Resource_DiskInfo_Source_Mount: + goto handle_Mount - case ffj_t_Resource_DiskInfono_such_key: + case ffj_t_Resource_DiskInfo_Sourceno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -36593,26 +39682,25 @@ mainparse: } } -handle_Persistence: +handle_Type: - /* handler: uj.Persistence type=mesos.Resource_DiskInfo_Persistence kind=struct quoted=false*/ + /* handler: uj.Type type=mesos.Resource_DiskInfo_Source_Type kind=int32 quoted=false*/ { if tok == fflib.FFTok_null { - uj.Persistence = nil - state = fflib.FFParse_after_value goto mainparse } - if uj.Persistence == nil { - uj.Persistence = new(Resource_DiskInfo_Persistence) + tbuf, err := fs.CaptureField(tok) + if err != nil { + return fs.WrapErr(err) } - err = uj.Persistence.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.Type.UnmarshalJSON(tbuf) if err != nil { - return err + return fs.WrapErr(err) } state = fflib.FFParse_after_value } @@ -36620,24 +39708,24 @@ handle_Persistence: state = fflib.FFParse_after_value goto mainparse -handle_Volume: +handle_Path: - /* handler: uj.Volume type=mesos.Volume kind=struct quoted=false*/ + /* handler: uj.Path type=mesos.Resource_DiskInfo_Source_Path kind=struct quoted=false*/ { if tok == fflib.FFTok_null { - uj.Volume = nil + uj.Path = nil state = fflib.FFParse_after_value goto mainparse } - if uj.Volume == nil { - uj.Volume = new(Volume) + if uj.Path == nil { + uj.Path = new(Resource_DiskInfo_Source_Path) } - err = uj.Volume.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.Path.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -36647,24 +39735,24 @@ handle_Volume: state = fflib.FFParse_after_value goto mainparse -handle_Source: +handle_Mount: - /* handler: uj.Source type=mesos.Resource_DiskInfo_Source kind=struct quoted=false*/ + /* handler: uj.Mount type=mesos.Resource_DiskInfo_Source_Mount kind=struct quoted=false*/ { if tok == fflib.FFTok_null { - uj.Source = nil + uj.Mount = nil state = fflib.FFParse_after_value goto mainparse } - if uj.Source == nil { - uj.Source = new(Resource_DiskInfo_Source) + if uj.Mount == nil { + uj.Mount = new(Resource_DiskInfo_Source_Mount) } - err = uj.Source.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.Mount.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -36692,7 +39780,7 @@ done: return nil } -func (mj *Resource_DiskInfo_Persistence) MarshalJSON() ([]byte, error) { +func (mj *Resource_DiskInfo_Source_Mount) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -36704,7 +39792,7 @@ func (mj *Resource_DiskInfo_Persistence) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Resource_DiskInfo_Persistence) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Resource_DiskInfo_Source_Mount) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -36713,13 +39801,11 @@ func (mj *Resource_DiskInfo_Persistence) MarshalJSONBuf(buf fflib.EncodingBuffer var obj []byte _ = obj _ = err - buf.WriteString(`{ "id":`) - fflib.WriteJsonString(buf, string(mj.ID)) - buf.WriteByte(',') - if mj.Principal != nil { + buf.WriteString(`{ `) + if mj.Root != nil { if true { - buf.WriteString(`"principal":`) - fflib.WriteJsonString(buf, string(*mj.Principal)) + buf.WriteString(`"root":`) + fflib.WriteJsonString(buf, string(*mj.Root)) buf.WriteByte(',') } } @@ -36729,26 +39815,222 @@ func (mj *Resource_DiskInfo_Persistence) MarshalJSONBuf(buf fflib.EncodingBuffer } const ( - ffj_t_Resource_DiskInfo_Persistencebase = iota - ffj_t_Resource_DiskInfo_Persistenceno_such_key - - ffj_t_Resource_DiskInfo_Persistence_ID + ffj_t_Resource_DiskInfo_Source_Mountbase = iota + ffj_t_Resource_DiskInfo_Source_Mountno_such_key - ffj_t_Resource_DiskInfo_Persistence_Principal + ffj_t_Resource_DiskInfo_Source_Mount_Root ) -var ffj_key_Resource_DiskInfo_Persistence_ID = []byte("id") +var ffj_key_Resource_DiskInfo_Source_Mount_Root = []byte("root") + +func (uj *Resource_DiskInfo_Source_Mount) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *Resource_DiskInfo_Source_Mount) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_Resource_DiskInfo_Source_Mountbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_Resource_DiskInfo_Source_Mountno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'r': + + if bytes.Equal(ffj_key_Resource_DiskInfo_Source_Mount_Root, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source_Mount_Root + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Source_Mount_Root, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source_Mount_Root + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_Resource_DiskInfo_Source_Mountno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_Resource_DiskInfo_Source_Mount_Root: + goto handle_Root + + case ffj_t_Resource_DiskInfo_Source_Mountno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_Root: + + /* handler: uj.Root type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + uj.Root = nil + + } else { + + var tval string + outBuf := fs.Output.Bytes() + + tval = string(string(outBuf)) + uj.Root = &tval + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + +func (mj *Resource_DiskInfo_Source_Path) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *Resource_DiskInfo_Source_Path) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{ `) + if mj.Root != nil { + if true { + buf.WriteString(`"root":`) + fflib.WriteJsonString(buf, string(*mj.Root)) + buf.WriteByte(',') + } + } + buf.Rewind(1) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_Resource_DiskInfo_Source_Pathbase = iota + ffj_t_Resource_DiskInfo_Source_Pathno_such_key + + ffj_t_Resource_DiskInfo_Source_Path_Root +) -var ffj_key_Resource_DiskInfo_Persistence_Principal = []byte("principal") +var ffj_key_Resource_DiskInfo_Source_Path_Root = []byte("root") -func (uj *Resource_DiskInfo_Persistence) UnmarshalJSON(input []byte) error { +func (uj *Resource_DiskInfo_Source_Path) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Resource_DiskInfo_Persistence) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Resource_DiskInfo_Source_Path) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Resource_DiskInfo_Persistencebase + currentKey := ffj_t_Resource_DiskInfo_Source_Pathbase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -36794,43 +40076,29 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Resource_DiskInfo_Persistenceno_such_key + currentKey = ffj_t_Resource_DiskInfo_Source_Pathno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'i': - - if bytes.Equal(ffj_key_Resource_DiskInfo_Persistence_ID, kn) { - currentKey = ffj_t_Resource_DiskInfo_Persistence_ID - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'p': + case 'r': - if bytes.Equal(ffj_key_Resource_DiskInfo_Persistence_Principal, kn) { - currentKey = ffj_t_Resource_DiskInfo_Persistence_Principal + if bytes.Equal(ffj_key_Resource_DiskInfo_Source_Path_Root, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source_Path_Root state = fflib.FFParse_want_colon goto mainparse } } - if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Persistence_Principal, kn) { - currentKey = ffj_t_Resource_DiskInfo_Persistence_Principal - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Persistence_ID, kn) { - currentKey = ffj_t_Resource_DiskInfo_Persistence_ID + if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Source_Path_Root, kn) { + currentKey = ffj_t_Resource_DiskInfo_Source_Path_Root state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_Resource_DiskInfo_Persistenceno_such_key + currentKey = ffj_t_Resource_DiskInfo_Source_Pathno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -36847,13 +40115,10 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Resource_DiskInfo_Persistence_ID: - goto handle_ID - - case ffj_t_Resource_DiskInfo_Persistence_Principal: - goto handle_Principal + case ffj_t_Resource_DiskInfo_Source_Path_Root: + goto handle_Root - case ffj_t_Resource_DiskInfo_Persistenceno_such_key: + case ffj_t_Resource_DiskInfo_Source_Pathno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -36867,35 +40132,9 @@ mainparse: } } -handle_ID: - - /* handler: uj.ID type=string kind=string quoted=false*/ - - { - - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - - if tok == fflib.FFTok_null { - - } else { - - outBuf := fs.Output.Bytes() - - uj.ID = string(string(outBuf)) - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Principal: +handle_Root: - /* handler: uj.Principal type=string kind=string quoted=false*/ + /* handler: uj.Root type=string kind=string quoted=false*/ { @@ -36907,7 +40146,7 @@ handle_Principal: if tok == fflib.FFTok_null { - uj.Principal = nil + uj.Root = nil } else { @@ -36915,7 +40154,7 @@ handle_Principal: outBuf := fs.Output.Bytes() tval = string(string(outBuf)) - uj.Principal = &tval + uj.Root = &tval } } @@ -36941,7 +40180,7 @@ done: return nil } -func (mj *Resource_DiskInfo_Source) MarshalJSON() ([]byte, error) { +func (mj *Resource_ReservationInfo) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -36953,7 +40192,7 @@ func (mj *Resource_DiskInfo_Source) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Resource_DiskInfo_Source) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Resource_ReservationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -36963,44 +40202,20 @@ func (mj *Resource_DiskInfo_Source) MarshalJSONBuf(buf fflib.EncodingBuffer) err _ = obj _ = err buf.WriteString(`{ `) - if mj.Type != nil { - if true { - buf.WriteString(`"type":`) - - { - - obj, err = mj.Type.MarshalJSON() - if err != nil { - return err - } - buf.Write(obj) - - } - buf.WriteByte(',') - } - } - if mj.Path != nil { + if mj.Principal != nil { if true { - buf.WriteString(`"path":`) - - { - - err = mj.Path.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } + buf.WriteString(`"principal":`) + fflib.WriteJsonString(buf, string(*mj.Principal)) buf.WriteByte(',') } } - if mj.Mount != nil { + if mj.Labels != nil { if true { - buf.WriteString(`"mount":`) + buf.WriteString(`"labels":`) { - err = mj.Mount.MarshalJSONBuf(buf) + err = mj.Labels.MarshalJSONBuf(buf) if err != nil { return err } @@ -37015,30 +40230,26 @@ func (mj *Resource_DiskInfo_Source) MarshalJSONBuf(buf fflib.EncodingBuffer) err } const ( - ffj_t_Resource_DiskInfo_Sourcebase = iota - ffj_t_Resource_DiskInfo_Sourceno_such_key - - ffj_t_Resource_DiskInfo_Source_Type + ffj_t_Resource_ReservationInfobase = iota + ffj_t_Resource_ReservationInfono_such_key - ffj_t_Resource_DiskInfo_Source_Path + ffj_t_Resource_ReservationInfo_Principal - ffj_t_Resource_DiskInfo_Source_Mount + ffj_t_Resource_ReservationInfo_Labels ) -var ffj_key_Resource_DiskInfo_Source_Type = []byte("type") - -var ffj_key_Resource_DiskInfo_Source_Path = []byte("path") +var ffj_key_Resource_ReservationInfo_Principal = []byte("principal") -var ffj_key_Resource_DiskInfo_Source_Mount = []byte("mount") +var ffj_key_Resource_ReservationInfo_Labels = []byte("labels") -func (uj *Resource_DiskInfo_Source) UnmarshalJSON(input []byte) error { +func (uj *Resource_ReservationInfo) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Resource_DiskInfo_Source) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Resource_ReservationInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Resource_DiskInfo_Sourcebase + currentKey := ffj_t_Resource_ReservationInfobase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -37084,57 +40295,43 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Resource_DiskInfo_Sourceno_such_key + currentKey = ffj_t_Resource_ReservationInfono_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'm': + case 'l': - if bytes.Equal(ffj_key_Resource_DiskInfo_Source_Mount, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source_Mount + if bytes.Equal(ffj_key_Resource_ReservationInfo_Labels, kn) { + currentKey = ffj_t_Resource_ReservationInfo_Labels state = fflib.FFParse_want_colon goto mainparse } case 'p': - if bytes.Equal(ffj_key_Resource_DiskInfo_Source_Path, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source_Path - state = fflib.FFParse_want_colon - goto mainparse - } - - case 't': - - if bytes.Equal(ffj_key_Resource_DiskInfo_Source_Type, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source_Type + if bytes.Equal(ffj_key_Resource_ReservationInfo_Principal, kn) { + currentKey = ffj_t_Resource_ReservationInfo_Principal state = fflib.FFParse_want_colon goto mainparse } } - if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Source_Mount, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source_Mount - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Source_Path, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source_Path + if fflib.EqualFoldRight(ffj_key_Resource_ReservationInfo_Labels, kn) { + currentKey = ffj_t_Resource_ReservationInfo_Labels state = fflib.FFParse_want_colon goto mainparse } - if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Source_Type, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source_Type + if fflib.SimpleLetterEqualFold(ffj_key_Resource_ReservationInfo_Principal, kn) { + currentKey = ffj_t_Resource_ReservationInfo_Principal state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_Resource_DiskInfo_Sourceno_such_key + currentKey = ffj_t_Resource_ReservationInfono_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -37151,16 +40348,13 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Resource_DiskInfo_Source_Type: - goto handle_Type - - case ffj_t_Resource_DiskInfo_Source_Path: - goto handle_Path + case ffj_t_Resource_ReservationInfo_Principal: + goto handle_Principal - case ffj_t_Resource_DiskInfo_Source_Mount: - goto handle_Mount + case ffj_t_Resource_ReservationInfo_Labels: + goto handle_Labels - case ffj_t_Resource_DiskInfo_Sourceno_such_key: + case ffj_t_Resource_ReservationInfono_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -37174,83 +40368,54 @@ mainparse: } } -handle_Type: +handle_Principal: - /* handler: uj.Type type=mesos.Resource_DiskInfo_Source_Type kind=int32 quoted=false*/ + /* handler: uj.Principal type=string kind=string quoted=false*/ { - if tok == fflib.FFTok_null { - - uj.Type = nil - - state = fflib.FFParse_after_value - goto mainparse - } - - tbuf, err := fs.CaptureField(tok) - if err != nil { - return fs.WrapErr(err) - } - - if uj.Type == nil { - uj.Type = new(Resource_DiskInfo_Source_Type) - } - err = uj.Type.UnmarshalJSON(tbuf) - if err != nil { - return fs.WrapErr(err) + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Path: - - /* handler: uj.Path type=mesos.Resource_DiskInfo_Source_Path kind=struct quoted=false*/ - { if tok == fflib.FFTok_null { - uj.Path = nil + uj.Principal = nil - state = fflib.FFParse_after_value - goto mainparse - } + } else { - if uj.Path == nil { - uj.Path = new(Resource_DiskInfo_Source_Path) - } + var tval string + outBuf := fs.Output.Bytes() + + tval = string(string(outBuf)) + uj.Principal = &tval - err = uj.Path.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err } - state = fflib.FFParse_after_value } state = fflib.FFParse_after_value goto mainparse -handle_Mount: +handle_Labels: - /* handler: uj.Mount type=mesos.Resource_DiskInfo_Source_Mount kind=struct quoted=false*/ + /* handler: uj.Labels type=mesos.Labels kind=struct quoted=false*/ { if tok == fflib.FFTok_null { - uj.Mount = nil + uj.Labels = nil state = fflib.FFParse_after_value goto mainparse } - if uj.Mount == nil { - uj.Mount = new(Resource_DiskInfo_Source_Mount) + if uj.Labels == nil { + uj.Labels = new(Labels) } - err = uj.Mount.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.Labels.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -37278,7 +40443,7 @@ done: return nil } -func (mj *Resource_DiskInfo_Source_Mount) MarshalJSON() ([]byte, error) { +func (mj *Resource_RevocableInfo) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -37290,7 +40455,7 @@ func (mj *Resource_DiskInfo_Source_Mount) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Resource_DiskInfo_Source_Mount) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Resource_RevocableInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -37299,29 +40464,23 @@ func (mj *Resource_DiskInfo_Source_Mount) MarshalJSONBuf(buf fflib.EncodingBuffe var obj []byte _ = obj _ = err - buf.WriteString(`{"root":`) - fflib.WriteJsonString(buf, string(mj.Root)) - buf.WriteByte('}') + buf.WriteString(`{}`) return nil } const ( - ffj_t_Resource_DiskInfo_Source_Mountbase = iota - ffj_t_Resource_DiskInfo_Source_Mountno_such_key - - ffj_t_Resource_DiskInfo_Source_Mount_Root + ffj_t_Resource_RevocableInfobase = iota + ffj_t_Resource_RevocableInfono_such_key ) -var ffj_key_Resource_DiskInfo_Source_Mount_Root = []byte("root") - -func (uj *Resource_DiskInfo_Source_Mount) UnmarshalJSON(input []byte) error { +func (uj *Resource_RevocableInfo) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Resource_DiskInfo_Source_Mount) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Resource_RevocableInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Resource_DiskInfo_Source_Mountbase + currentKey := ffj_t_Resource_RevocableInfobase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -37367,29 +40526,15 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Resource_DiskInfo_Source_Mountno_such_key + currentKey = ffj_t_Resource_RevocableInfono_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'r': - - if bytes.Equal(ffj_key_Resource_DiskInfo_Source_Mount_Root, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source_Mount_Root - state = fflib.FFParse_want_colon - goto mainparse - } - - } - - if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Source_Mount_Root, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source_Mount_Root - state = fflib.FFParse_want_colon - goto mainparse } - currentKey = ffj_t_Resource_DiskInfo_Source_Mountno_such_key + currentKey = ffj_t_Resource_RevocableInfono_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -37406,10 +40551,7 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Resource_DiskInfo_Source_Mount_Root: - goto handle_Root - - case ffj_t_Resource_DiskInfo_Source_Mountno_such_key: + case ffj_t_Resource_RevocableInfono_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -37423,32 +40565,146 @@ mainparse: } } -handle_Root: +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: - /* handler: uj.Root type=string kind=string quoted=false*/ + return nil +} - { +func (mj *Resource_SharedInfo) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *Resource_SharedInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{}`) + return nil +} - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } +const ( + ffj_t_Resource_SharedInfobase = iota + ffj_t_Resource_SharedInfono_such_key +) + +func (uj *Resource_SharedInfo) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *Resource_SharedInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_Resource_SharedInfobase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror } - if tok == fflib.FFTok_null { + switch state { - } else { + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue - outBuf := fs.Output.Bytes() + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_Resource_SharedInfono_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + } + + currentKey = ffj_t_Resource_SharedInfono_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: - uj.Root = string(string(outBuf)) + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + case ffj_t_Resource_SharedInfono_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } } } - state = fflib.FFParse_after_value - goto mainparse - wantedvalue: return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) wrongtokenerror: @@ -37467,7 +40723,7 @@ done: return nil } -func (mj *Resource_DiskInfo_Source_Path) MarshalJSON() ([]byte, error) { +func (mj *Role) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -37479,7 +40735,7 @@ func (mj *Resource_DiskInfo_Source_Path) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Resource_DiskInfo_Source_Path) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Role) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -37488,29 +40744,85 @@ func (mj *Resource_DiskInfo_Source_Path) MarshalJSONBuf(buf fflib.EncodingBuffer var obj []byte _ = obj _ = err - buf.WriteString(`{"root":`) - fflib.WriteJsonString(buf, string(mj.Root)) + buf.WriteString(`{"name":`) + fflib.WriteJsonString(buf, string(mj.Name)) + buf.WriteString(`,"weight":`) + fflib.AppendFloat(buf, float64(mj.Weight), 'g', -1, 64) + buf.WriteString(`,"frameworks":`) + if mj.Frameworks != nil { + buf.WriteString(`[`) + for i, v := range mj.Frameworks { + if i != 0 { + buf.WriteString(`,`) + } + + { + + err = v.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + } + buf.WriteString(`]`) + } else { + buf.WriteString(`null`) + } + buf.WriteString(`,"resources":`) + if mj.Resources != nil { + buf.WriteString(`[`) + for i, v := range mj.Resources { + if i != 0 { + buf.WriteString(`,`) + } + + { + + err = v.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + } + buf.WriteString(`]`) + } else { + buf.WriteString(`null`) + } buf.WriteByte('}') return nil } const ( - ffj_t_Resource_DiskInfo_Source_Pathbase = iota - ffj_t_Resource_DiskInfo_Source_Pathno_such_key + ffj_t_Rolebase = iota + ffj_t_Roleno_such_key - ffj_t_Resource_DiskInfo_Source_Path_Root + ffj_t_Role_Name + + ffj_t_Role_Weight + + ffj_t_Role_Frameworks + + ffj_t_Role_Resources ) -var ffj_key_Resource_DiskInfo_Source_Path_Root = []byte("root") +var ffj_key_Role_Name = []byte("name") -func (uj *Resource_DiskInfo_Source_Path) UnmarshalJSON(input []byte) error { +var ffj_key_Role_Weight = []byte("weight") + +var ffj_key_Role_Frameworks = []byte("frameworks") + +var ffj_key_Role_Resources = []byte("resources") + +func (uj *Role) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Resource_DiskInfo_Source_Path) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Role) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Resource_DiskInfo_Source_Pathbase + currentKey := ffj_t_Rolebase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -37556,29 +40868,71 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Resource_DiskInfo_Source_Pathno_such_key + currentKey = ffj_t_Roleno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { + case 'f': + + if bytes.Equal(ffj_key_Role_Frameworks, kn) { + currentKey = ffj_t_Role_Frameworks + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'n': + + if bytes.Equal(ffj_key_Role_Name, kn) { + currentKey = ffj_t_Role_Name + state = fflib.FFParse_want_colon + goto mainparse + } + case 'r': - if bytes.Equal(ffj_key_Resource_DiskInfo_Source_Path_Root, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source_Path_Root + if bytes.Equal(ffj_key_Role_Resources, kn) { + currentKey = ffj_t_Role_Resources + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'w': + + if bytes.Equal(ffj_key_Role_Weight, kn) { + currentKey = ffj_t_Role_Weight state = fflib.FFParse_want_colon goto mainparse } } - if fflib.SimpleLetterEqualFold(ffj_key_Resource_DiskInfo_Source_Path_Root, kn) { - currentKey = ffj_t_Resource_DiskInfo_Source_Path_Root + if fflib.EqualFoldRight(ffj_key_Role_Resources, kn) { + currentKey = ffj_t_Role_Resources state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_Resource_DiskInfo_Source_Pathno_such_key + if fflib.EqualFoldRight(ffj_key_Role_Frameworks, kn) { + currentKey = ffj_t_Role_Frameworks + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_Role_Weight, kn) { + currentKey = ffj_t_Role_Weight + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_Role_Name, kn) { + currentKey = ffj_t_Role_Name + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_Roleno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -37595,10 +40949,19 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Resource_DiskInfo_Source_Path_Root: - goto handle_Root + case ffj_t_Role_Name: + goto handle_Name - case ffj_t_Resource_DiskInfo_Source_Pathno_such_key: + case ffj_t_Role_Weight: + goto handle_Weight + + case ffj_t_Role_Frameworks: + goto handle_Frameworks + + case ffj_t_Role_Resources: + goto handle_Resources + + case ffj_t_Roleno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -37612,9 +40975,9 @@ mainparse: } } -handle_Root: +handle_Name: - /* handler: uj.Root type=string kind=string quoted=false*/ + /* handler: uj.Name type=string kind=string quoted=false*/ { @@ -37630,8 +40993,176 @@ handle_Root: outBuf := fs.Output.Bytes() - uj.Root = string(string(outBuf)) + uj.Name = string(string(outBuf)) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Weight: + + /* handler: uj.Weight type=float64 kind=float64 quoted=false*/ + + { + if tok != fflib.FFTok_double && tok != fflib.FFTok_integer && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for float64", tok)) + } + } + + { + + if tok == fflib.FFTok_null { + + } else { + + tval, err := fflib.ParseFloat(fs.Output.Bytes(), 64) + + if err != nil { + return fs.WrapErr(err) + } + + uj.Weight = float64(tval) + + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Frameworks: + + /* handler: uj.Frameworks type=[]mesos.FrameworkID kind=slice quoted=false*/ + + { + + { + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + } + } + + if tok == fflib.FFTok_null { + uj.Frameworks = nil + } else { + + uj.Frameworks = []FrameworkID{} + + wantVal := true + + for { + + var tmp_uj__Frameworks FrameworkID + + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } + + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } + + /* handler: tmp_uj__Frameworks type=mesos.FrameworkID kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = tmp_uj__Frameworks.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + uj.Frameworks = append(uj.Frameworks, tmp_uj__Frameworks) + + wantVal = false + } + } + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Resources: + + /* handler: uj.Resources type=[]mesos.Resource kind=slice quoted=false*/ + + { + + { + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + } + } + + if tok == fflib.FFTok_null { + uj.Resources = nil + } else { + + uj.Resources = []Resource{} + + wantVal := true + + for { + + var tmp_uj__Resources Resource + + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } + + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } + + /* handler: tmp_uj__Resources type=mesos.Resource kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = tmp_uj__Resources.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + uj.Resources = append(uj.Resources, tmp_uj__Resources) + wantVal = false + } } } @@ -37656,7 +41187,7 @@ done: return nil } -func (mj *Resource_ReservationInfo) MarshalJSON() ([]byte, error) { +func (mj *SNMPStatistics) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -37668,7 +41199,7 @@ func (mj *Resource_ReservationInfo) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Resource_ReservationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *SNMPStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -37678,20 +41209,58 @@ func (mj *Resource_ReservationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) err _ = obj _ = err buf.WriteString(`{ `) - if mj.Principal != nil { + if mj.IPStats != nil { if true { - buf.WriteString(`"principal":`) - fflib.WriteJsonString(buf, string(*mj.Principal)) + buf.WriteString(`"ip_stats":`) + + { + + err = mj.IPStats.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } buf.WriteByte(',') } } - if mj.Labels != nil { + if mj.ICMPStats != nil { if true { - buf.WriteString(`"labels":`) + buf.WriteString(`"icmp_stats":`) { - err = mj.Labels.MarshalJSONBuf(buf) + err = mj.ICMPStats.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + if mj.TCPStats != nil { + if true { + buf.WriteString(`"tcp_stats":`) + + { + + err = mj.TCPStats.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + if mj.UDPStats != nil { + if true { + buf.WriteString(`"udp_stats":`) + + { + + err = mj.UDPStats.MarshalJSONBuf(buf) if err != nil { return err } @@ -37706,26 +41275,34 @@ func (mj *Resource_ReservationInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) err } const ( - ffj_t_Resource_ReservationInfobase = iota - ffj_t_Resource_ReservationInfono_such_key + ffj_t_SNMPStatisticsbase = iota + ffj_t_SNMPStatisticsno_such_key - ffj_t_Resource_ReservationInfo_Principal + ffj_t_SNMPStatistics_IPStats - ffj_t_Resource_ReservationInfo_Labels + ffj_t_SNMPStatistics_ICMPStats + + ffj_t_SNMPStatistics_TCPStats + + ffj_t_SNMPStatistics_UDPStats ) -var ffj_key_Resource_ReservationInfo_Principal = []byte("principal") +var ffj_key_SNMPStatistics_IPStats = []byte("ip_stats") -var ffj_key_Resource_ReservationInfo_Labels = []byte("labels") +var ffj_key_SNMPStatistics_ICMPStats = []byte("icmp_stats") -func (uj *Resource_ReservationInfo) UnmarshalJSON(input []byte) error { +var ffj_key_SNMPStatistics_TCPStats = []byte("tcp_stats") + +var ffj_key_SNMPStatistics_UDPStats = []byte("udp_stats") + +func (uj *SNMPStatistics) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Resource_ReservationInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *SNMPStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Resource_ReservationInfobase + currentKey := ffj_t_SNMPStatisticsbase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -37771,43 +41348,68 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Resource_ReservationInfono_such_key + currentKey = ffj_t_SNMPStatisticsno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'l': + case 'i': - if bytes.Equal(ffj_key_Resource_ReservationInfo_Labels, kn) { - currentKey = ffj_t_Resource_ReservationInfo_Labels + if bytes.Equal(ffj_key_SNMPStatistics_IPStats, kn) { + currentKey = ffj_t_SNMPStatistics_IPStats + state = fflib.FFParse_want_colon + goto mainparse + + } else if bytes.Equal(ffj_key_SNMPStatistics_ICMPStats, kn) { + currentKey = ffj_t_SNMPStatistics_ICMPStats state = fflib.FFParse_want_colon goto mainparse } - case 'p': + case 't': - if bytes.Equal(ffj_key_Resource_ReservationInfo_Principal, kn) { - currentKey = ffj_t_Resource_ReservationInfo_Principal + if bytes.Equal(ffj_key_SNMPStatistics_TCPStats, kn) { + currentKey = ffj_t_SNMPStatistics_TCPStats + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'u': + + if bytes.Equal(ffj_key_SNMPStatistics_UDPStats, kn) { + currentKey = ffj_t_SNMPStatistics_UDPStats state = fflib.FFParse_want_colon goto mainparse } } - if fflib.EqualFoldRight(ffj_key_Resource_ReservationInfo_Labels, kn) { - currentKey = ffj_t_Resource_ReservationInfo_Labels + if fflib.EqualFoldRight(ffj_key_SNMPStatistics_UDPStats, kn) { + currentKey = ffj_t_SNMPStatistics_UDPStats state = fflib.FFParse_want_colon goto mainparse } - if fflib.SimpleLetterEqualFold(ffj_key_Resource_ReservationInfo_Principal, kn) { - currentKey = ffj_t_Resource_ReservationInfo_Principal + if fflib.EqualFoldRight(ffj_key_SNMPStatistics_TCPStats, kn) { + currentKey = ffj_t_SNMPStatistics_TCPStats state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_Resource_ReservationInfono_such_key + if fflib.EqualFoldRight(ffj_key_SNMPStatistics_ICMPStats, kn) { + currentKey = ffj_t_SNMPStatistics_ICMPStats + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.EqualFoldRight(ffj_key_SNMPStatistics_IPStats, kn) { + currentKey = ffj_t_SNMPStatistics_IPStats + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_SNMPStatisticsno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -37824,13 +41426,19 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Resource_ReservationInfo_Principal: - goto handle_Principal + case ffj_t_SNMPStatistics_IPStats: + goto handle_IPStats - case ffj_t_Resource_ReservationInfo_Labels: - goto handle_Labels + case ffj_t_SNMPStatistics_ICMPStats: + goto handle_ICMPStats - case ffj_t_Resource_ReservationInfono_such_key: + case ffj_t_SNMPStatistics_TCPStats: + goto handle_TCPStats + + case ffj_t_SNMPStatistics_UDPStats: + goto handle_UDPStats + + case ffj_t_SNMPStatisticsno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -37844,54 +41452,51 @@ mainparse: } } -handle_Principal: +handle_IPStats: - /* handler: uj.Principal type=string kind=string quoted=false*/ + /* handler: uj.IPStats type=mesos.IpStatistics kind=struct quoted=false*/ { - - { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) - } - } - if tok == fflib.FFTok_null { - uj.Principal = nil - - } else { + uj.IPStats = nil - var tval string - outBuf := fs.Output.Bytes() + state = fflib.FFParse_after_value + goto mainparse + } - tval = string(string(outBuf)) - uj.Principal = &tval + if uj.IPStats == nil { + uj.IPStats = new(IpStatistics) + } + err = uj.IPStats.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err } + state = fflib.FFParse_after_value } state = fflib.FFParse_after_value goto mainparse -handle_Labels: +handle_ICMPStats: - /* handler: uj.Labels type=mesos.Labels kind=struct quoted=false*/ + /* handler: uj.ICMPStats type=mesos.IcmpStatistics kind=struct quoted=false*/ { if tok == fflib.FFTok_null { - uj.Labels = nil + uj.ICMPStats = nil state = fflib.FFParse_after_value goto mainparse } - if uj.Labels == nil { - uj.Labels = new(Labels) + if uj.ICMPStats == nil { + uj.ICMPStats = new(IcmpStatistics) } - err = uj.Labels.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + err = uj.ICMPStats.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) if err != nil { return err } @@ -37901,146 +41506,60 @@ handle_Labels: state = fflib.FFParse_after_value goto mainparse -wantedvalue: - return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) -wrongtokenerror: - return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) -tokerror: - if fs.BigError != nil { - return fs.WrapErr(fs.BigError) - } - err = fs.Error.ToError() - if err != nil { - return fs.WrapErr(err) - } - panic("ffjson-generated: unreachable, please report bug.") -done: - - return nil -} - -func (mj *Resource_RevocableInfo) MarshalJSON() ([]byte, error) { - var buf fflib.Buffer - if mj == nil { - buf.WriteString("null") - return buf.Bytes(), nil - } - err := mj.MarshalJSONBuf(&buf) - if err != nil { - return nil, err - } - return buf.Bytes(), nil -} -func (mj *Resource_RevocableInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { - if mj == nil { - buf.WriteString("null") - return nil - } - var err error - var obj []byte - _ = obj - _ = err - buf.WriteString(`{}`) - return nil -} +handle_TCPStats: -const ( - ffj_t_Resource_RevocableInfobase = iota - ffj_t_Resource_RevocableInfono_such_key -) + /* handler: uj.TCPStats type=mesos.TcpStatistics kind=struct quoted=false*/ -func (uj *Resource_RevocableInfo) UnmarshalJSON(input []byte) error { - fs := fflib.NewFFLexer(input) - return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) -} + { + if tok == fflib.FFTok_null { -func (uj *Resource_RevocableInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { - var err error = nil - currentKey := ffj_t_Resource_RevocableInfobase - _ = currentKey - tok := fflib.FFTok_init - wantedTok := fflib.FFTok_init + uj.TCPStats = nil -mainparse: - for { - tok = fs.Scan() - // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) - if tok == fflib.FFTok_error { - goto tokerror + state = fflib.FFParse_after_value + goto mainparse } - switch state { - - case fflib.FFParse_map_start: - if tok != fflib.FFTok_left_bracket { - wantedTok = fflib.FFTok_left_bracket - goto wrongtokenerror - } - state = fflib.FFParse_want_key - continue + if uj.TCPStats == nil { + uj.TCPStats = new(TcpStatistics) + } - case fflib.FFParse_after_value: - if tok == fflib.FFTok_comma { - state = fflib.FFParse_want_key - } else if tok == fflib.FFTok_right_bracket { - goto done - } else { - wantedTok = fflib.FFTok_comma - goto wrongtokenerror - } + err = uj.TCPStats.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } - case fflib.FFParse_want_key: - // json {} ended. goto exit. woo. - if tok == fflib.FFTok_right_bracket { - goto done - } - if tok != fflib.FFTok_string { - wantedTok = fflib.FFTok_string - goto wrongtokenerror - } + state = fflib.FFParse_after_value + goto mainparse - kn := fs.Output.Bytes() - if len(kn) <= 0 { - // "" case. hrm. - currentKey = ffj_t_Resource_RevocableInfono_such_key - state = fflib.FFParse_want_colon - goto mainparse - } else { - switch kn[0] { +handle_UDPStats: - } + /* handler: uj.UDPStats type=mesos.UdpStatistics kind=struct quoted=false*/ - currentKey = ffj_t_Resource_RevocableInfono_such_key - state = fflib.FFParse_want_colon - goto mainparse - } + { + if tok == fflib.FFTok_null { - case fflib.FFParse_want_colon: - if tok != fflib.FFTok_colon { - wantedTok = fflib.FFTok_colon - goto wrongtokenerror - } - state = fflib.FFParse_want_value - continue - case fflib.FFParse_want_value: + uj.UDPStats = nil - if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { - switch currentKey { + state = fflib.FFParse_after_value + goto mainparse + } - case ffj_t_Resource_RevocableInfono_such_key: - err = fs.SkipField(tok) - if err != nil { - return fs.WrapErr(err) - } - state = fflib.FFParse_after_value - goto mainparse - } - } else { - goto wantedvalue - } + if uj.UDPStats == nil { + uj.UDPStats = new(UdpStatistics) + } + + err = uj.UDPStats.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err } + state = fflib.FFParse_after_value } + state = fflib.FFParse_after_value + goto mainparse + wantedvalue: return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) wrongtokenerror: @@ -38059,7 +41578,7 @@ done: return nil } -func (mj *Resource_SharedInfo) MarshalJSON() ([]byte, error) { +func (mj *Secret) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -38071,7 +41590,7 @@ func (mj *Resource_SharedInfo) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Resource_SharedInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Secret) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -38080,23 +41599,78 @@ func (mj *Resource_SharedInfo) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{}`) + buf.WriteString(`{ "type":`) + + { + + obj, err = mj.Type.MarshalJSON() + if err != nil { + return err + } + buf.Write(obj) + + } + buf.WriteByte(',') + if mj.Reference != nil { + if true { + buf.WriteString(`"reference":`) + + { + + err = mj.Reference.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + if mj.Value != nil { + if true { + buf.WriteString(`"value":`) + + { + + err = mj.Value.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + buf.Rewind(1) + buf.WriteByte('}') return nil } const ( - ffj_t_Resource_SharedInfobase = iota - ffj_t_Resource_SharedInfono_such_key + ffj_t_Secretbase = iota + ffj_t_Secretno_such_key + + ffj_t_Secret_Type + + ffj_t_Secret_Reference + + ffj_t_Secret_Value ) -func (uj *Resource_SharedInfo) UnmarshalJSON(input []byte) error { +var ffj_key_Secret_Type = []byte("type") + +var ffj_key_Secret_Reference = []byte("reference") + +var ffj_key_Secret_Value = []byte("value") + +func (uj *Secret) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Resource_SharedInfo) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Secret) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Resource_SharedInfobase + currentKey := ffj_t_Secretbase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -38142,15 +41716,57 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Resource_SharedInfono_such_key + currentKey = ffj_t_Secretno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { + case 'r': + + if bytes.Equal(ffj_key_Secret_Reference, kn) { + currentKey = ffj_t_Secret_Reference + state = fflib.FFParse_want_colon + goto mainparse + } + + case 't': + + if bytes.Equal(ffj_key_Secret_Type, kn) { + currentKey = ffj_t_Secret_Type + state = fflib.FFParse_want_colon + goto mainparse + } + + case 'v': + + if bytes.Equal(ffj_key_Secret_Value, kn) { + currentKey = ffj_t_Secret_Value + state = fflib.FFParse_want_colon + goto mainparse + } + } - currentKey = ffj_t_Resource_SharedInfono_such_key + if fflib.SimpleLetterEqualFold(ffj_key_Secret_Value, kn) { + currentKey = ffj_t_Secret_Value + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_Secret_Reference, kn) { + currentKey = ffj_t_Secret_Reference + state = fflib.FFParse_want_colon + goto mainparse + } + + if fflib.SimpleLetterEqualFold(ffj_key_Secret_Type, kn) { + currentKey = ffj_t_Secret_Type + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_Secretno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -38167,7 +41783,16 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Resource_SharedInfono_such_key: + case ffj_t_Secret_Type: + goto handle_Type + + case ffj_t_Secret_Reference: + goto handle_Reference + + case ffj_t_Secret_Value: + goto handle_Value + + case ffj_t_Secretno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -38181,6 +41806,86 @@ mainparse: } } +handle_Type: + + /* handler: uj.Type type=mesos.Secret_Type kind=int32 quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + tbuf, err := fs.CaptureField(tok) + if err != nil { + return fs.WrapErr(err) + } + + err = uj.Type.UnmarshalJSON(tbuf) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Reference: + + /* handler: uj.Reference type=mesos.Secret_Reference kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Reference = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Reference == nil { + uj.Reference = new(Secret_Reference) + } + + err = uj.Reference.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +handle_Value: + + /* handler: uj.Value type=mesos.Secret_Value kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Value = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Value == nil { + uj.Value = new(Secret_Value) + } + + err = uj.Value.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + wantedvalue: return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) wrongtokenerror: @@ -38199,7 +41904,7 @@ done: return nil } -func (mj *Role) MarshalJSON() ([]byte, error) { +func (mj *Secret_Reference) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -38211,7 +41916,7 @@ func (mj *Role) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *Role) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Secret_Reference) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -38220,85 +41925,42 @@ func (mj *Role) MarshalJSONBuf(buf fflib.EncodingBuffer) error { var obj []byte _ = obj _ = err - buf.WriteString(`{"name":`) + buf.WriteString(`{ "name":`) fflib.WriteJsonString(buf, string(mj.Name)) - buf.WriteString(`,"weight":`) - fflib.AppendFloat(buf, float64(mj.Weight), 'g', -1, 64) - buf.WriteString(`,"frameworks":`) - if mj.Frameworks != nil { - buf.WriteString(`[`) - for i, v := range mj.Frameworks { - if i != 0 { - buf.WriteString(`,`) - } - - { - - err = v.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - } - buf.WriteString(`]`) - } else { - buf.WriteString(`null`) - } - buf.WriteString(`,"resources":`) - if mj.Resources != nil { - buf.WriteString(`[`) - for i, v := range mj.Resources { - if i != 0 { - buf.WriteString(`,`) - } - - { - - err = v.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } + buf.WriteByte(',') + if mj.Key != nil { + if true { + buf.WriteString(`"key":`) + fflib.WriteJsonString(buf, string(*mj.Key)) + buf.WriteByte(',') } - buf.WriteString(`]`) - } else { - buf.WriteString(`null`) } + buf.Rewind(1) buf.WriteByte('}') return nil } const ( - ffj_t_Rolebase = iota - ffj_t_Roleno_such_key - - ffj_t_Role_Name - - ffj_t_Role_Weight + ffj_t_Secret_Referencebase = iota + ffj_t_Secret_Referenceno_such_key - ffj_t_Role_Frameworks + ffj_t_Secret_Reference_Name - ffj_t_Role_Resources + ffj_t_Secret_Reference_Key ) -var ffj_key_Role_Name = []byte("name") - -var ffj_key_Role_Weight = []byte("weight") - -var ffj_key_Role_Frameworks = []byte("frameworks") +var ffj_key_Secret_Reference_Name = []byte("name") -var ffj_key_Role_Resources = []byte("resources") +var ffj_key_Secret_Reference_Key = []byte("key") -func (uj *Role) UnmarshalJSON(input []byte) error { +func (uj *Secret_Reference) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *Role) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Secret_Reference) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_Rolebase + currentKey := ffj_t_Secret_Referencebase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -38344,71 +42006,43 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_Roleno_such_key + currentKey = ffj_t_Secret_Referenceno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'f': + case 'k': - if bytes.Equal(ffj_key_Role_Frameworks, kn) { - currentKey = ffj_t_Role_Frameworks + if bytes.Equal(ffj_key_Secret_Reference_Key, kn) { + currentKey = ffj_t_Secret_Reference_Key state = fflib.FFParse_want_colon goto mainparse } case 'n': - if bytes.Equal(ffj_key_Role_Name, kn) { - currentKey = ffj_t_Role_Name - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'r': - - if bytes.Equal(ffj_key_Role_Resources, kn) { - currentKey = ffj_t_Role_Resources - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'w': - - if bytes.Equal(ffj_key_Role_Weight, kn) { - currentKey = ffj_t_Role_Weight + if bytes.Equal(ffj_key_Secret_Reference_Name, kn) { + currentKey = ffj_t_Secret_Reference_Name state = fflib.FFParse_want_colon goto mainparse } } - if fflib.EqualFoldRight(ffj_key_Role_Resources, kn) { - currentKey = ffj_t_Role_Resources - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_Role_Frameworks, kn) { - currentKey = ffj_t_Role_Frameworks - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.SimpleLetterEqualFold(ffj_key_Role_Weight, kn) { - currentKey = ffj_t_Role_Weight + if fflib.EqualFoldRight(ffj_key_Secret_Reference_Key, kn) { + currentKey = ffj_t_Secret_Reference_Key state = fflib.FFParse_want_colon goto mainparse } - if fflib.SimpleLetterEqualFold(ffj_key_Role_Name, kn) { - currentKey = ffj_t_Role_Name + if fflib.SimpleLetterEqualFold(ffj_key_Secret_Reference_Name, kn) { + currentKey = ffj_t_Secret_Reference_Name state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_Roleno_such_key + currentKey = ffj_t_Secret_Referenceno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -38425,19 +42059,13 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Role_Name: + case ffj_t_Secret_Reference_Name: goto handle_Name - case ffj_t_Role_Weight: - goto handle_Weight - - case ffj_t_Role_Frameworks: - goto handle_Frameworks - - case ffj_t_Role_Resources: - goto handle_Resources + case ffj_t_Secret_Reference_Key: + goto handle_Key - case ffj_t_Roleno_such_key: + case ffj_t_Secret_Referenceno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -38477,168 +42105,30 @@ handle_Name: state = fflib.FFParse_after_value goto mainparse -handle_Weight: - - /* handler: uj.Weight type=float64 kind=float64 quoted=false*/ - - { - if tok != fflib.FFTok_double && tok != fflib.FFTok_integer && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for float64", tok)) - } - } - - { - - if tok == fflib.FFTok_null { - - } else { - - tval, err := fflib.ParseFloat(fs.Output.Bytes(), 64) - - if err != nil { - return fs.WrapErr(err) - } - - uj.Weight = float64(tval) - - } - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_Frameworks: +handle_Key: - /* handler: uj.Frameworks type=[]mesos.FrameworkID kind=slice quoted=false*/ + /* handler: uj.Key type=string kind=string quoted=false*/ { { - if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) } } if tok == fflib.FFTok_null { - uj.Frameworks = nil - } else { - - uj.Frameworks = []FrameworkID{} - - wantVal := true - - for { - - var tmp_uj__Frameworks FrameworkID - - tok = fs.Scan() - if tok == fflib.FFTok_error { - goto tokerror - } - if tok == fflib.FFTok_right_brace { - break - } - - if tok == fflib.FFTok_comma { - if wantVal == true { - // TODO(pquerna): this isn't an ideal error message, this handles - // things like [,,,] as an array value. - return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) - } - continue - } else { - wantVal = true - } - - /* handler: tmp_uj__Frameworks type=mesos.FrameworkID kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { - - state = fflib.FFParse_after_value - goto mainparse - } - - err = tmp_uj__Frameworks.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } - - uj.Frameworks = append(uj.Frameworks, tmp_uj__Frameworks) - - wantVal = false - } - } - } - state = fflib.FFParse_after_value - goto mainparse - -handle_Resources: - - /* handler: uj.Resources type=[]mesos.Resource kind=slice quoted=false*/ - - { + uj.Key = nil - { - if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) - } - } - - if tok == fflib.FFTok_null { - uj.Resources = nil } else { - uj.Resources = []Resource{} - - wantVal := true - - for { - - var tmp_uj__Resources Resource - - tok = fs.Scan() - if tok == fflib.FFTok_error { - goto tokerror - } - if tok == fflib.FFTok_right_brace { - break - } - - if tok == fflib.FFTok_comma { - if wantVal == true { - // TODO(pquerna): this isn't an ideal error message, this handles - // things like [,,,] as an array value. - return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) - } - continue - } else { - wantVal = true - } - - /* handler: tmp_uj__Resources type=mesos.Resource kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { - - state = fflib.FFParse_after_value - goto mainparse - } - - err = tmp_uj__Resources.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } + var tval string + outBuf := fs.Output.Bytes() - uj.Resources = append(uj.Resources, tmp_uj__Resources) + tval = string(string(outBuf)) + uj.Key = &tval - wantVal = false - } } } @@ -38663,7 +42153,7 @@ done: return nil } -func (mj *SNMPStatistics) MarshalJSON() ([]byte, error) { +func (mj *Secret_Value) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { buf.WriteString("null") @@ -38675,7 +42165,7 @@ func (mj *SNMPStatistics) MarshalJSON() ([]byte, error) { } return buf.Bytes(), nil } -func (mj *SNMPStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error { +func (mj *Secret_Value) MarshalJSONBuf(buf fflib.EncodingBuffer) error { if mj == nil { buf.WriteString("null") return nil @@ -38685,65 +42175,20 @@ func (mj *SNMPStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error { _ = obj _ = err buf.WriteString(`{ `) - if mj.IPStats != nil { - if true { - buf.WriteString(`"ip_stats":`) - - { - - err = mj.IPStats.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - buf.WriteByte(',') - } - } - if mj.ICMPStats != nil { - if true { - buf.WriteString(`"icmp_stats":`) - - { - - err = mj.ICMPStats.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - buf.WriteByte(',') - } - } - if mj.TCPStats != nil { - if true { - buf.WriteString(`"tcp_stats":`) - - { - - err = mj.TCPStats.MarshalJSONBuf(buf) - if err != nil { - return err - } - - } - buf.WriteByte(',') - } - } - if mj.UDPStats != nil { - if true { - buf.WriteString(`"udp_stats":`) - + if len(mj.Data) != 0 { + buf.WriteString(`"data":`) + if mj.Data != nil { + buf.WriteString(`"`) { - - err = mj.UDPStats.MarshalJSONBuf(buf) - if err != nil { - return err - } - + enc := base64.NewEncoder(base64.StdEncoding, buf) + enc.Write(reflect.Indirect(reflect.ValueOf(mj.Data)).Bytes()) + enc.Close() } - buf.WriteByte(',') + buf.WriteString(`"`) + } else { + buf.WriteString(`null`) } + buf.WriteByte(',') } buf.Rewind(1) buf.WriteByte('}') @@ -38751,34 +42196,22 @@ func (mj *SNMPStatistics) MarshalJSONBuf(buf fflib.EncodingBuffer) error { } const ( - ffj_t_SNMPStatisticsbase = iota - ffj_t_SNMPStatisticsno_such_key - - ffj_t_SNMPStatistics_IPStats - - ffj_t_SNMPStatistics_ICMPStats - - ffj_t_SNMPStatistics_TCPStats + ffj_t_Secret_Valuebase = iota + ffj_t_Secret_Valueno_such_key - ffj_t_SNMPStatistics_UDPStats + ffj_t_Secret_Value_Data ) -var ffj_key_SNMPStatistics_IPStats = []byte("ip_stats") - -var ffj_key_SNMPStatistics_ICMPStats = []byte("icmp_stats") - -var ffj_key_SNMPStatistics_TCPStats = []byte("tcp_stats") +var ffj_key_Secret_Value_Data = []byte("data") -var ffj_key_SNMPStatistics_UDPStats = []byte("udp_stats") - -func (uj *SNMPStatistics) UnmarshalJSON(input []byte) error { +func (uj *Secret_Value) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) } -func (uj *SNMPStatistics) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { +func (uj *Secret_Value) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { var err error = nil - currentKey := ffj_t_SNMPStatisticsbase + currentKey := ffj_t_Secret_Valuebase _ = currentKey tok := fflib.FFTok_init wantedTok := fflib.FFTok_init @@ -38824,68 +42257,29 @@ mainparse: kn := fs.Output.Bytes() if len(kn) <= 0 { // "" case. hrm. - currentKey = ffj_t_SNMPStatisticsno_such_key + currentKey = ffj_t_Secret_Valueno_such_key state = fflib.FFParse_want_colon goto mainparse } else { switch kn[0] { - case 'i': - - if bytes.Equal(ffj_key_SNMPStatistics_IPStats, kn) { - currentKey = ffj_t_SNMPStatistics_IPStats - state = fflib.FFParse_want_colon - goto mainparse - - } else if bytes.Equal(ffj_key_SNMPStatistics_ICMPStats, kn) { - currentKey = ffj_t_SNMPStatistics_ICMPStats - state = fflib.FFParse_want_colon - goto mainparse - } - - case 't': - - if bytes.Equal(ffj_key_SNMPStatistics_TCPStats, kn) { - currentKey = ffj_t_SNMPStatistics_TCPStats - state = fflib.FFParse_want_colon - goto mainparse - } - - case 'u': + case 'd': - if bytes.Equal(ffj_key_SNMPStatistics_UDPStats, kn) { - currentKey = ffj_t_SNMPStatistics_UDPStats + if bytes.Equal(ffj_key_Secret_Value_Data, kn) { + currentKey = ffj_t_Secret_Value_Data state = fflib.FFParse_want_colon goto mainparse } } - if fflib.EqualFoldRight(ffj_key_SNMPStatistics_UDPStats, kn) { - currentKey = ffj_t_SNMPStatistics_UDPStats - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_SNMPStatistics_TCPStats, kn) { - currentKey = ffj_t_SNMPStatistics_TCPStats - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_SNMPStatistics_ICMPStats, kn) { - currentKey = ffj_t_SNMPStatistics_ICMPStats - state = fflib.FFParse_want_colon - goto mainparse - } - - if fflib.EqualFoldRight(ffj_key_SNMPStatistics_IPStats, kn) { - currentKey = ffj_t_SNMPStatistics_IPStats + if fflib.SimpleLetterEqualFold(ffj_key_Secret_Value_Data, kn) { + currentKey = ffj_t_Secret_Value_Data state = fflib.FFParse_want_colon goto mainparse } - currentKey = ffj_t_SNMPStatisticsno_such_key + currentKey = ffj_t_Secret_Valueno_such_key state = fflib.FFParse_want_colon goto mainparse } @@ -38902,19 +42296,10 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_SNMPStatistics_IPStats: - goto handle_IPStats - - case ffj_t_SNMPStatistics_ICMPStats: - goto handle_ICMPStats - - case ffj_t_SNMPStatistics_TCPStats: - goto handle_TCPStats - - case ffj_t_SNMPStatistics_UDPStats: - goto handle_UDPStats + case ffj_t_Secret_Value_Data: + goto handle_Data - case ffj_t_SNMPStatisticsno_such_key: + case ffj_t_Secret_Valueno_such_key: err = fs.SkipField(tok) if err != nil { return fs.WrapErr(err) @@ -38928,109 +42313,31 @@ mainparse: } } -handle_IPStats: - - /* handler: uj.IPStats type=mesos.IpStatistics kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { - - uj.IPStats = nil - - state = fflib.FFParse_after_value - goto mainparse - } - - if uj.IPStats == nil { - uj.IPStats = new(IpStatistics) - } - - err = uj.IPStats.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_ICMPStats: - - /* handler: uj.ICMPStats type=mesos.IcmpStatistics kind=struct quoted=false*/ - - { - if tok == fflib.FFTok_null { - - uj.ICMPStats = nil - - state = fflib.FFParse_after_value - goto mainparse - } - - if uj.ICMPStats == nil { - uj.ICMPStats = new(IcmpStatistics) - } - - err = uj.ICMPStats.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err - } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_TCPStats: +handle_Data: - /* handler: uj.TCPStats type=mesos.TcpStatistics kind=struct quoted=false*/ + /* handler: uj.Data type=[]uint8 kind=slice quoted=false*/ { - if tok == fflib.FFTok_null { - - uj.TCPStats = nil - state = fflib.FFParse_after_value - goto mainparse - } - - if uj.TCPStats == nil { - uj.TCPStats = new(TcpStatistics) - } - - err = uj.TCPStats.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + } } - state = fflib.FFParse_after_value - } - - state = fflib.FFParse_after_value - goto mainparse - -handle_UDPStats: - - /* handler: uj.UDPStats type=mesos.UdpStatistics kind=struct quoted=false*/ - { if tok == fflib.FFTok_null { + uj.Data = nil + } else { + b := make([]byte, base64.StdEncoding.DecodedLen(fs.Output.Len())) + n, err := base64.StdEncoding.Decode(b, fs.Output.Bytes()) + if err != nil { + return fs.WrapErr(err) + } - uj.UDPStats = nil - - state = fflib.FFParse_after_value - goto mainparse - } - - if uj.UDPStats == nil { - uj.UDPStats = new(UdpStatistics) - } + v := reflect.ValueOf(&uj.Data).Elem() + v.SetBytes(b[0:n]) - err = uj.UDPStats.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) - if err != nil { - return err } - state = fflib.FFParse_after_value } state = fflib.FFParse_after_value @@ -49003,6 +52310,21 @@ func (mj *Volume_Source) MarshalJSONBuf(buf fflib.EncodingBuffer) error { buf.WriteByte(',') } } + if mj.Secret != nil { + if true { + buf.WriteString(`"secret":`) + + { + + err = mj.Secret.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } buf.Rewind(1) buf.WriteByte('}') return nil @@ -49017,6 +52339,8 @@ const ( ffj_t_Volume_Source_DockerVolume ffj_t_Volume_Source_SandboxPath + + ffj_t_Volume_Source_Secret ) var ffj_key_Volume_Source_Type = []byte("type") @@ -49025,6 +52349,8 @@ var ffj_key_Volume_Source_DockerVolume = []byte("docker_volume") var ffj_key_Volume_Source_SandboxPath = []byte("sandbox_path") +var ffj_key_Volume_Source_Secret = []byte("secret") + func (uj *Volume_Source) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) @@ -49098,6 +52424,11 @@ mainparse: currentKey = ffj_t_Volume_Source_SandboxPath state = fflib.FFParse_want_colon goto mainparse + + } else if bytes.Equal(ffj_key_Volume_Source_Secret, kn) { + currentKey = ffj_t_Volume_Source_Secret + state = fflib.FFParse_want_colon + goto mainparse } case 't': @@ -49110,6 +52441,12 @@ mainparse: } + if fflib.EqualFoldRight(ffj_key_Volume_Source_Secret, kn) { + currentKey = ffj_t_Volume_Source_Secret + state = fflib.FFParse_want_colon + goto mainparse + } + if fflib.EqualFoldRight(ffj_key_Volume_Source_SandboxPath, kn) { currentKey = ffj_t_Volume_Source_SandboxPath state = fflib.FFParse_want_colon @@ -49154,6 +52491,9 @@ mainparse: case ffj_t_Volume_Source_SandboxPath: goto handle_SandboxPath + case ffj_t_Volume_Source_Secret: + goto handle_Secret + case ffj_t_Volume_Sourceno_such_key: err = fs.SkipField(tok) if err != nil { @@ -49248,6 +52588,33 @@ handle_SandboxPath: state = fflib.FFParse_after_value goto mainparse +handle_Secret: + + /* handler: uj.Secret type=mesos.Secret kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.Secret = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.Secret == nil { + uj.Secret = new(Secret) + } + + err = uj.Secret.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + wantedvalue: return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) wrongtokenerror: diff --git a/api/v1/lib/mesos.proto b/api/v1/lib/mesos.proto index f99fb958..a875a581 100644 --- a/api/v1/lib/mesos.proto +++ b/api/v1/lib/mesos.proto @@ -118,13 +118,20 @@ message ContainerID { } +/** + * A unique ID assigned to a resource provider. Currently, a resource + * provider gets a new ID whenever it (re)registers with Mesos. + */ +message ResourceProviderID { + required string value = 1 [(gogoproto.nullable) = false]; +} + + /** * Represents time since the epoch, in nanoseconds. */ message TimeInfo { required int64 nanoseconds = 1 [(gogoproto.nullable) = false]; - - // TODO(josephw): Add time zone information, if necessary. } @@ -278,11 +285,8 @@ message FrameworkInfo { // `roles` and the default unset `role`, we require that // frameworks set the `MULTI_ROLE` capability if // setting the `roles` field. - // - // NOTE: The implmentation for supporting `roles` - // is not complete, DO NOT USE the `roles` field. - optional string role = 6 [default = "*"]; - repeated string roles = 12; // EXPERIMENTAL. + optional string role = 6 [default = "*", deprecated=true]; + repeated string roles = 12; // Used to indicate the current host from which the scheduler is // registered in the Mesos Web UI. If set to an empty string Mesos @@ -361,10 +365,7 @@ message FrameworkInfo { // expect that "single-tenant" schedulers eventually // provide this and move away from the deprecated // `role` field. - // - // NOTE: The implementation for supporting multiple - // roles is not complete, DO NOT USE THIS. - MULTI_ROLE = 6; // EXPERIMENTAL. + MULTI_ROLE = 6; option (gogoproto.goproto_enum_prefix) = true; } @@ -399,10 +400,11 @@ message CheckInfo { UNKNOWN = 0; COMMAND = 1; HTTP = 2; + TCP = 3; - // TODO(alexr): Consider supporting TCP checks and custom user checks. - // The latter should probably be paired with a `data` field and - // complemented by a `data` response in `CheckStatusInfo`. + // TODO(alexr): Consider supporting custom user checks. They should + // probably be paired with a `data` field and complemented by a + // `data` response in `CheckStatusInfo`. option (gogoproto.goproto_enum_prefix) = true; } @@ -433,6 +435,13 @@ message CheckInfo { // validation, TLS version. } + // Describes a TCP check, i.e. based on establishing a TCP connection to + // the specified port. Note that is not configurable and is resolved + // automatically to 127.0.0.1. + message Tcp { + required uint32 port = 1 [(gogoproto.nullable) = false]; + } + // The type of the check. optional Type type = 1 [(gogoproto.nullable) = false]; @@ -442,6 +451,9 @@ message CheckInfo { // HTTP check. optional Http http = 3 [(gogoproto.customname) = "HTTP"]; + // TCP check. + optional Tcp tcp = 7 [(gogoproto.customname) = "TCP"]; + // Amount of time to wait to start checking the task after it // transitions to `TASK_RUNNING` or `TASK_STARTING` if the latter // is used by the executor. @@ -817,10 +829,7 @@ message AgentInfo { // This expresses the ability for the agent to be able // to launch tasks of a 'multi-role' framework. - // - // NOTE: The implementation for supporting multiple - // roles is not complete, DO NOT USE THIS. - MULTI_ROLE = 1; // EXPERIMENTAL. + MULTI_ROLE = 1; option (gogoproto.goproto_enum_prefix) = true; } @@ -896,19 +905,21 @@ message Attribute { /** - * Describes a resource on a machine. The `name` field is a string - * like "cpus" or "mem" that indicates which kind of resource this is; - * the rest of the fields describe the properties of the resource. A - * resource can take on one of three types: scalar (double), a list of - * finite and discrete ranges (e.g., [1-10, 20-30]), or a set of - * items. A resource is described using the standard protocol buffer - * "union" trick. + * Describes a resource from a resource provider. The `name` field is + * a string like "cpus" or "mem" that indicates which kind of resource + * this is; the rest of the fields describe the properties of the + * resource. A resource can take on one of three types: scalar + * (double), a list of finite and discrete ranges (e.g., [1-10, + * 20-30]), or a set of items. A resource is described using the + * standard protocol buffer "union" trick. * * Note that "disk" and "mem" resources are scalar values expressed in * megabytes. Fractional "cpus" values are allowed (e.g., "0.5"), * which correspond to partial shares of a CPU. */ message Resource { + optional ResourceProviderID provider_id = 12 [(gogoproto.customname) = "ProviderID"]; + required string name = 1 [(gogoproto.nullable) = false]; required Value.Type type = 2; optional Value.Scalar scalar = 3; @@ -924,8 +935,6 @@ message Resource { // frameworks. Frameworks that are not MULTI_ROLE capable can // continue to assume that the offered resources are allocated // to their role. - // - // NOTE: Implementation of this is in-progress, DO NOT USE! message AllocationInfo { // If set, this resource is allocated to a role. Note that in the // future, this may be unset and the scheduler may be responsible @@ -990,11 +999,6 @@ message Resource { // with the "destroy" ACL to determine whether an entity // attempting to destroy the volume is permitted to do so. // - // NOTE: This field is optional, while the `principal` found in - // `ReservationInfo` is required. This field is optional to - // allow for the possibility of volume creation without a - // principal, though currently it must be provided. - // // NOTE: This field should match the FrameworkInfo.principal of // the framework that created the volume. optional string principal = 2; @@ -1017,6 +1021,7 @@ message Resource { // TODO(jmlvanre): Add support for BLOCK devices. message Source { enum Type { + UNKNOWN = 0; PATH = 1; MOUNT = 2; } @@ -1025,7 +1030,7 @@ message Resource { // can be shared and carved up as necessary between frameworks. message Path { // Path to the folder (e.g., /mnt/raid/disk0). - required string root = 1 [(gogoproto.nullable) = false]; + optional string root = 1; } // A mounted file-system set up by the Agent administrator. This @@ -1033,10 +1038,10 @@ message Resource { // partial amount of this disk. message Mount { // Path to mount point (e.g., /mnt/raid/disk0). - required string root = 1 [(gogoproto.nullable) = false]; + optional string root = 1; } - required Type type = 1; + required Type type = 1 [(gogoproto.nullable) = false]; optional Path path = 2; optional Mount mount = 3; } @@ -1066,6 +1071,7 @@ message Resource { optional SharedInfo shared = 10; } + /** * When the network bandwidth caps are enabled and the container * is over its limit, outbound packets may be either delayed or @@ -1198,6 +1204,14 @@ message SNMPStatistics { } +message DiskStatistics { + optional Resource.DiskInfo.Source source = 1; + optional Resource.DiskInfo.Persistence persistence = 2; + optional uint64 limit_bytes = 3; + optional uint64 used_bytes = 4; +} + + /** * A snapshot of resource usage statistics. */ @@ -1272,6 +1286,9 @@ message ResourceStatistics { optional uint64 disk_limit_bytes = 26; optional uint64 disk_used_bytes = 27; + // Per disk (resource) statistics. + repeated DiskStatistics disk_statistics = 43 [(gogoproto.nullable) = false]; + // Perf statistics. optional PerfStatistics perf = 13; @@ -1462,8 +1479,6 @@ message Offer { // roles managed by the scheduler. (Therefore, each // `Offer.resources[i].allocation_info` will match the // top level `Offer.allocation_info`). - // - // NOTE: Implementation of this is in-progress, DO NOT USE! optional Resource.AllocationInfo allocation_info = 10; // Defines an operation that can be performed against offers. @@ -1771,7 +1786,9 @@ enum TaskState { */ message CheckStatusInfo { message Command { - // Exit code of a command check. + // Exit code of a command check. It is the result of calling + // `WEXITSTATUS()` on `waitpid()` termination information on + // Posix and calling `GetExitCodeProcess()` on Windows. optional int32 exit_code = 1; } @@ -1780,6 +1797,11 @@ message CheckStatusInfo { optional uint32 status_code = 1; } + message Tcp { + // Whether a TCP connection succeeded. + optional bool succeeded = 1; + } + // TODO(alexr): Consider adding a `data` field, which can contain, e.g., // truncated stdout/stderr output for command checks or HTTP response body // for HTTP checks. Alternatively, it can be an even shorter `message` field @@ -1795,6 +1817,9 @@ message CheckStatusInfo { // Status of an HTTP check. optional Http http = 3 [(gogoproto.customname) = "HTTP"]; + // Status of a TCP check. + optional Tcp tcp = 4 [(gogoproto.customname) = "TCP"]; + // TODO(alexr): Consider introducing a "last changed at" timestamp, since // task status update's timestamp may not correspond to the last check's // state, e.g., for reconciliation. @@ -1834,7 +1859,7 @@ message TaskStatus { REASON_EXECUTOR_REGISTRATION_TIMEOUT = 23; REASON_EXECUTOR_REREGISTRATION_TIMEOUT = 24; REASON_EXECUTOR_TERMINATED = 1; - REASON_EXECUTOR_UNREGISTERED = 2; + REASON_EXECUTOR_UNREGISTERED = 2; // No longer used. REASON_FRAMEWORK_REMOVED = 3; REASON_GC_ERROR = 4; REASON_INVALID_FRAMEWORKID = 5; @@ -1847,6 +1872,7 @@ message TaskStatus { REASON_AGENT_REMOVED = 11; REASON_AGENT_RESTARTED = 12; REASON_AGENT_UNKNOWN = 13; + REASON_TASK_KILLED_DURING_LAUNCH = 30; REASON_TASK_CHECK_STATUS_UPDATED = 28; REASON_TASK_GROUP_INVALID = 25; REASON_TASK_GROUP_UNAUTHORIZED = 26; @@ -1931,15 +1957,30 @@ message Filters { /** * Describes a collection of environment variables. This is used with * CommandInfo in order to set environment variables before running a -* command. +* command. The contents of each variable may be specified as a string +* or a Secret; only one of `value` and `secret` must be set. */ message Environment { message Variable { required string name = 1 [(gogoproto.nullable) = false]; - // NOTE: The `value` field was made optional in Mesos 1.2 but it - // is currently enforced to be set. This constraint will be - // removed in a future version. + + enum Type { + UNKNOWN = 0; + VALUE = 1; + SECRET = 2; + option (gogoproto.goproto_enum_prefix) = true; + } + + // In Mesos 1.2, the `Environment.variables.value` message was made + // optional. The default type for `Environment.variables.type` is now VALUE, + // which requires `value` to be set, maintaining backward compatibility. + // + // TODO(greggomann): The default can be removed in Mesos 2.1 (MESOS-7134). + optional Type type = 3 [default = VALUE]; + + // Only one of `value` and `secret` must be set. optional string value = 2; + optional Secret secret = 4; } repeated Variable variables = 1 [(gogoproto.nullable) = false]; @@ -1988,6 +2029,54 @@ message Credentials { } +/** + * Secret used to pass privileged information. It is designed to provide + * pass-by-value or pass-by-reference semantics, where the REFERENCE type can be + * used by custom modules which interact with a secure back-end. + */ +message Secret +{ + enum Type { + UNKNOWN = 0; + REFERENCE = 1; + VALUE = 2; + option (gogoproto.goproto_enum_prefix) = true; + } + + // Can be used by modules to refer to a secret stored in a secure back-end. + // The `key` field is provided to permit reference to a single value within a + // secret containing arbitrary key-value pairs. + // + // For example, given a back-end secret store with a secret named + // "my-secret" containing the following key-value pairs: + // + // { + // "username": "my-user", + // "password": "my-password + // } + // + // the username could be referred to in a `Secret` by specifying + // "my-secret" for the `name` and "username" for the `key`. + message Reference + { + required string name = 1 [(gogoproto.nullable) = false]; + optional string key = 2; + } + + // Used to pass the value of a secret. + message Value + { + required bytes data = 1; + } + + optional Type type = 1 [(gogoproto.nullable) = false]; + + // Only one of `reference` and `value` must be set. + optional Reference reference = 2; + optional Value value = 3; +} + + /** * Rate (queries per second, QPS) limit for messages from a framework to master. * Strictly speaking they are the combined rate from all frameworks of the same @@ -2069,7 +2158,18 @@ message Image { // Credential to authenticate with docker registry. // NOTE: This is not encrypted, therefore framework and operators // should enable SSL when passing this information. - optional Credential credential = 2; + // + // This is field is never used in Mesos before and is deprecated + // since Mesos 1.3. Please use the `Secret::Value` field `config` + // below (see MESOS-7088 for details). + optional Credential credential = 2 [deprecated = true]; // Since 1.3. + + // The UTF-8 character encoded byte data, which is expected as + // a docker config file in JSON format. This field is used for + // supporting docker private registry credential per container. + // Users can specify different docker config files for pulling + // their private images from different registries. + optional Secret config = 3; } required Type type = 1; @@ -2128,6 +2228,8 @@ message Volume { // TODO(gyliu513): Add HOST_PATH and IMAGE as volume source type. DOCKER_VOLUME = 1; SANDBOX_PATH = 2; + SECRET = 3; + option (gogoproto.goproto_enum_prefix) = true; } @@ -2172,6 +2274,10 @@ message Volume { optional DockerVolume docker_volume = 2; optional SandboxPath sandbox_path = 3; + + // The volume/secret isolator uses the secret-fetcher module (third-party or + // internal) downloads the secret and makes it available at container_path. + optional Secret secret = 4; } optional Source source = 5; @@ -2675,3 +2781,30 @@ message FileInfo { // Group ID of owner. optional string gid = 7 [(gogoproto.customname) = "GID"]; } + + +/** + * Describes information abount a device. + */ +message Device { + required string path = 1 [(gogoproto.nullable) = false]; +} + + +/** + * Describes a device whitelist entry that expose from host to container. + */ +message DeviceAccess { + message Access { + optional bool read = 1; + optional bool write = 2; + optional bool mknod = 3; + } + required Device device = 1 [(gogoproto.nullable) = false]; + required Access access = 2 [(gogoproto.nullable) = false]; +} + + +message DeviceWhitelist { + repeated DeviceAccess allowed_devices = 1 [(gogoproto.nullable) = false]; +} diff --git a/api/v1/lib/mesospb_test.go b/api/v1/lib/mesospb_test.go index 1d05cded..e835a700 100644 --- a/api/v1/lib/mesospb_test.go +++ b/api/v1/lib/mesospb_test.go @@ -14,6 +14,7 @@ It has these top-level messages: TaskID ExecutorID ContainerID + ResourceProviderID TimeInfo DurationInfo Address @@ -38,6 +39,7 @@ It has these top-level messages: TcpStatistics UdpStatistics SNMPStatistics + DiskStatistics ResourceStatistics ResourceUsage PerfStatistics @@ -55,6 +57,7 @@ It has these top-level messages: Parameters Credential Credentials + Secret RateLimit RateLimits Image @@ -78,6 +81,9 @@ It has these top-level messages: Role Metric FileInfo + Device + DeviceAccess + DeviceWhitelist */ package mesos @@ -709,6 +715,108 @@ func BenchmarkContainerIDProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestResourceProviderIDProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResourceProviderID(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &ResourceProviderID{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestResourceProviderIDMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResourceProviderID(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &ResourceProviderID{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkResourceProviderIDProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*ResourceProviderID, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedResourceProviderID(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkResourceProviderIDProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedResourceProviderID(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &ResourceProviderID{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + func TestTimeInfoProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -1933,6 +2041,108 @@ func BenchmarkCheckInfo_HttpProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestCheckInfo_TcpProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckInfo_Tcp(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &CheckInfo_Tcp{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestCheckInfo_TcpMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckInfo_Tcp(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &CheckInfo_Tcp{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkCheckInfo_TcpProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*CheckInfo_Tcp, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedCheckInfo_Tcp(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkCheckInfo_TcpProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedCheckInfo_Tcp(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &CheckInfo_Tcp{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + func TestHealthCheckProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -5299,15 +5509,15 @@ func BenchmarkSNMPStatisticsProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestResourceStatisticsProto(t *testing.T) { +func TestDiskStatisticsProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedResourceStatistics(popr, false) + p := NewPopulatedDiskStatistics(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ResourceStatistics{} + msg := &DiskStatistics{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -5333,10 +5543,10 @@ func TestResourceStatisticsProto(t *testing.T) { } } -func TestResourceStatisticsMarshalTo(t *testing.T) { +func TestDiskStatisticsMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedResourceStatistics(popr, false) + p := NewPopulatedDiskStatistics(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -5346,7 +5556,7 @@ func TestResourceStatisticsMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ResourceStatistics{} + msg := &DiskStatistics{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -5361,12 +5571,12 @@ func TestResourceStatisticsMarshalTo(t *testing.T) { } } -func BenchmarkResourceStatisticsProtoMarshal(b *testing.B) { +func BenchmarkDiskStatisticsProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*ResourceStatistics, 10000) + pops := make([]*DiskStatistics, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedResourceStatistics(popr, false) + pops[i] = NewPopulatedDiskStatistics(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -5379,18 +5589,18 @@ func BenchmarkResourceStatisticsProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkResourceStatisticsProtoUnmarshal(b *testing.B) { +func BenchmarkDiskStatisticsProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedResourceStatistics(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedDiskStatistics(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &ResourceStatistics{} + msg := &DiskStatistics{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -5401,15 +5611,15 @@ func BenchmarkResourceStatisticsProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestResourceUsageProto(t *testing.T) { +func TestResourceStatisticsProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedResourceUsage(popr, false) + p := NewPopulatedResourceStatistics(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ResourceUsage{} + msg := &ResourceStatistics{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -5435,10 +5645,10 @@ func TestResourceUsageProto(t *testing.T) { } } -func TestResourceUsageMarshalTo(t *testing.T) { +func TestResourceStatisticsMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedResourceUsage(popr, false) + p := NewPopulatedResourceStatistics(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -5448,7 +5658,7 @@ func TestResourceUsageMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ResourceUsage{} + msg := &ResourceStatistics{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -5463,12 +5673,12 @@ func TestResourceUsageMarshalTo(t *testing.T) { } } -func BenchmarkResourceUsageProtoMarshal(b *testing.B) { +func BenchmarkResourceStatisticsProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*ResourceUsage, 10000) + pops := make([]*ResourceStatistics, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedResourceUsage(popr, false) + pops[i] = NewPopulatedResourceStatistics(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -5481,18 +5691,18 @@ func BenchmarkResourceUsageProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkResourceUsageProtoUnmarshal(b *testing.B) { +func BenchmarkResourceStatisticsProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedResourceUsage(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedResourceStatistics(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &ResourceUsage{} + msg := &ResourceStatistics{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -5503,15 +5713,15 @@ func BenchmarkResourceUsageProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestResourceUsage_ExecutorProto(t *testing.T) { +func TestResourceUsageProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedResourceUsage_Executor(popr, false) + p := NewPopulatedResourceUsage(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ResourceUsage_Executor{} + msg := &ResourceUsage{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -5537,10 +5747,10 @@ func TestResourceUsage_ExecutorProto(t *testing.T) { } } -func TestResourceUsage_ExecutorMarshalTo(t *testing.T) { +func TestResourceUsageMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedResourceUsage_Executor(popr, false) + p := NewPopulatedResourceUsage(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -5550,7 +5760,7 @@ func TestResourceUsage_ExecutorMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ResourceUsage_Executor{} + msg := &ResourceUsage{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -5565,12 +5775,12 @@ func TestResourceUsage_ExecutorMarshalTo(t *testing.T) { } } -func BenchmarkResourceUsage_ExecutorProtoMarshal(b *testing.B) { +func BenchmarkResourceUsageProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*ResourceUsage_Executor, 10000) + pops := make([]*ResourceUsage, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedResourceUsage_Executor(popr, false) + pops[i] = NewPopulatedResourceUsage(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -5583,18 +5793,18 @@ func BenchmarkResourceUsage_ExecutorProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkResourceUsage_ExecutorProtoUnmarshal(b *testing.B) { +func BenchmarkResourceUsageProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedResourceUsage_Executor(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedResourceUsage(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &ResourceUsage_Executor{} + msg := &ResourceUsage{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -5605,15 +5815,15 @@ func BenchmarkResourceUsage_ExecutorProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestResourceUsage_Executor_TaskProto(t *testing.T) { +func TestResourceUsage_ExecutorProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedResourceUsage_Executor_Task(popr, false) + p := NewPopulatedResourceUsage_Executor(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ResourceUsage_Executor_Task{} + msg := &ResourceUsage_Executor{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -5639,10 +5849,10 @@ func TestResourceUsage_Executor_TaskProto(t *testing.T) { } } -func TestResourceUsage_Executor_TaskMarshalTo(t *testing.T) { +func TestResourceUsage_ExecutorMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedResourceUsage_Executor_Task(popr, false) + p := NewPopulatedResourceUsage_Executor(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -5652,7 +5862,7 @@ func TestResourceUsage_Executor_TaskMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ResourceUsage_Executor_Task{} + msg := &ResourceUsage_Executor{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -5667,10 +5877,112 @@ func TestResourceUsage_Executor_TaskMarshalTo(t *testing.T) { } } -func BenchmarkResourceUsage_Executor_TaskProtoMarshal(b *testing.B) { +func BenchmarkResourceUsage_ExecutorProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*ResourceUsage_Executor_Task, 10000) + pops := make([]*ResourceUsage_Executor, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedResourceUsage_Executor(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkResourceUsage_ExecutorProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedResourceUsage_Executor(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &ResourceUsage_Executor{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + +func TestResourceUsage_Executor_TaskProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResourceUsage_Executor_Task(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &ResourceUsage_Executor_Task{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestResourceUsage_Executor_TaskMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResourceUsage_Executor_Task(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &ResourceUsage_Executor_Task{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkResourceUsage_Executor_TaskProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*ResourceUsage_Executor_Task, 10000) for i := 0; i < 10000; i++ { pops[i] = NewPopulatedResourceUsage_Executor_Task(popr, false) } @@ -7441,6 +7753,108 @@ func BenchmarkCheckStatusInfo_HttpProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestCheckStatusInfo_TcpProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckStatusInfo_Tcp(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &CheckStatusInfo_Tcp{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestCheckStatusInfo_TcpMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckStatusInfo_Tcp(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &CheckStatusInfo_Tcp{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkCheckStatusInfo_TcpProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*CheckStatusInfo_Tcp, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedCheckStatusInfo_Tcp(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkCheckStatusInfo_TcpProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedCheckStatusInfo_Tcp(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &CheckStatusInfo_Tcp{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + func TestTaskStatusProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -8257,15 +8671,15 @@ func BenchmarkCredentialsProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestRateLimitProto(t *testing.T) { +func TestSecretProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedRateLimit(popr, false) + p := NewPopulatedSecret(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &RateLimit{} + msg := &Secret{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8291,10 +8705,10 @@ func TestRateLimitProto(t *testing.T) { } } -func TestRateLimitMarshalTo(t *testing.T) { +func TestSecretMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedRateLimit(popr, false) + p := NewPopulatedSecret(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -8304,7 +8718,7 @@ func TestRateLimitMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &RateLimit{} + msg := &Secret{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8319,12 +8733,12 @@ func TestRateLimitMarshalTo(t *testing.T) { } } -func BenchmarkRateLimitProtoMarshal(b *testing.B) { +func BenchmarkSecretProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*RateLimit, 10000) + pops := make([]*Secret, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedRateLimit(popr, false) + pops[i] = NewPopulatedSecret(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -8337,18 +8751,18 @@ func BenchmarkRateLimitProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkRateLimitProtoUnmarshal(b *testing.B) { +func BenchmarkSecretProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedRateLimit(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedSecret(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &RateLimit{} + msg := &Secret{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -8359,15 +8773,15 @@ func BenchmarkRateLimitProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestRateLimitsProto(t *testing.T) { +func TestSecret_ReferenceProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedRateLimits(popr, false) + p := NewPopulatedSecret_Reference(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &RateLimits{} + msg := &Secret_Reference{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8393,10 +8807,10 @@ func TestRateLimitsProto(t *testing.T) { } } -func TestRateLimitsMarshalTo(t *testing.T) { +func TestSecret_ReferenceMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedRateLimits(popr, false) + p := NewPopulatedSecret_Reference(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -8406,7 +8820,7 @@ func TestRateLimitsMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &RateLimits{} + msg := &Secret_Reference{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8421,12 +8835,12 @@ func TestRateLimitsMarshalTo(t *testing.T) { } } -func BenchmarkRateLimitsProtoMarshal(b *testing.B) { +func BenchmarkSecret_ReferenceProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*RateLimits, 10000) + pops := make([]*Secret_Reference, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedRateLimits(popr, false) + pops[i] = NewPopulatedSecret_Reference(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -8439,18 +8853,18 @@ func BenchmarkRateLimitsProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkRateLimitsProtoUnmarshal(b *testing.B) { +func BenchmarkSecret_ReferenceProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedRateLimits(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedSecret_Reference(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &RateLimits{} + msg := &Secret_Reference{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -8461,15 +8875,15 @@ func BenchmarkRateLimitsProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestImageProto(t *testing.T) { +func TestSecret_ValueProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedImage(popr, false) + p := NewPopulatedSecret_Value(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Image{} + msg := &Secret_Value{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8495,10 +8909,10 @@ func TestImageProto(t *testing.T) { } } -func TestImageMarshalTo(t *testing.T) { +func TestSecret_ValueMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedImage(popr, false) + p := NewPopulatedSecret_Value(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -8508,7 +8922,7 @@ func TestImageMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Image{} + msg := &Secret_Value{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8523,12 +8937,12 @@ func TestImageMarshalTo(t *testing.T) { } } -func BenchmarkImageProtoMarshal(b *testing.B) { +func BenchmarkSecret_ValueProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Image, 10000) + pops := make([]*Secret_Value, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedImage(popr, false) + pops[i] = NewPopulatedSecret_Value(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -8541,18 +8955,18 @@ func BenchmarkImageProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkImageProtoUnmarshal(b *testing.B) { +func BenchmarkSecret_ValueProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedImage(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedSecret_Value(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Image{} + msg := &Secret_Value{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -8563,15 +8977,15 @@ func BenchmarkImageProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestImage_AppcProto(t *testing.T) { +func TestRateLimitProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedImage_Appc(popr, false) + p := NewPopulatedRateLimit(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Image_Appc{} + msg := &RateLimit{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8597,10 +9011,10 @@ func TestImage_AppcProto(t *testing.T) { } } -func TestImage_AppcMarshalTo(t *testing.T) { +func TestRateLimitMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedImage_Appc(popr, false) + p := NewPopulatedRateLimit(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -8610,7 +9024,7 @@ func TestImage_AppcMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Image_Appc{} + msg := &RateLimit{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8625,12 +9039,12 @@ func TestImage_AppcMarshalTo(t *testing.T) { } } -func BenchmarkImage_AppcProtoMarshal(b *testing.B) { +func BenchmarkRateLimitProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Image_Appc, 10000) + pops := make([]*RateLimit, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedImage_Appc(popr, false) + pops[i] = NewPopulatedRateLimit(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -8643,18 +9057,18 @@ func BenchmarkImage_AppcProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkImage_AppcProtoUnmarshal(b *testing.B) { +func BenchmarkRateLimitProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedImage_Appc(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedRateLimit(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Image_Appc{} + msg := &RateLimit{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -8665,15 +9079,15 @@ func BenchmarkImage_AppcProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestImage_DockerProto(t *testing.T) { +func TestRateLimitsProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedImage_Docker(popr, false) + p := NewPopulatedRateLimits(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Image_Docker{} + msg := &RateLimits{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8699,10 +9113,10 @@ func TestImage_DockerProto(t *testing.T) { } } -func TestImage_DockerMarshalTo(t *testing.T) { +func TestRateLimitsMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedImage_Docker(popr, false) + p := NewPopulatedRateLimits(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -8712,7 +9126,7 @@ func TestImage_DockerMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Image_Docker{} + msg := &RateLimits{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8727,12 +9141,12 @@ func TestImage_DockerMarshalTo(t *testing.T) { } } -func BenchmarkImage_DockerProtoMarshal(b *testing.B) { +func BenchmarkRateLimitsProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Image_Docker, 10000) + pops := make([]*RateLimits, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedImage_Docker(popr, false) + pops[i] = NewPopulatedRateLimits(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -8745,18 +9159,18 @@ func BenchmarkImage_DockerProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkImage_DockerProtoUnmarshal(b *testing.B) { +func BenchmarkRateLimitsProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedImage_Docker(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedRateLimits(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Image_Docker{} + msg := &RateLimits{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -8767,15 +9181,15 @@ func BenchmarkImage_DockerProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestVolumeProto(t *testing.T) { +func TestImageProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedVolume(popr, false) + p := NewPopulatedImage(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Volume{} + msg := &Image{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8801,10 +9215,10 @@ func TestVolumeProto(t *testing.T) { } } -func TestVolumeMarshalTo(t *testing.T) { +func TestImageMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedVolume(popr, false) + p := NewPopulatedImage(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -8814,7 +9228,7 @@ func TestVolumeMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Volume{} + msg := &Image{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8829,12 +9243,12 @@ func TestVolumeMarshalTo(t *testing.T) { } } -func BenchmarkVolumeProtoMarshal(b *testing.B) { +func BenchmarkImageProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Volume, 10000) + pops := make([]*Image, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedVolume(popr, false) + pops[i] = NewPopulatedImage(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -8847,18 +9261,18 @@ func BenchmarkVolumeProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkVolumeProtoUnmarshal(b *testing.B) { +func BenchmarkImageProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedVolume(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedImage(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Volume{} + msg := &Image{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -8869,15 +9283,15 @@ func BenchmarkVolumeProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestVolume_SourceProto(t *testing.T) { +func TestImage_AppcProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedVolume_Source(popr, false) + p := NewPopulatedImage_Appc(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Volume_Source{} + msg := &Image_Appc{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8903,10 +9317,10 @@ func TestVolume_SourceProto(t *testing.T) { } } -func TestVolume_SourceMarshalTo(t *testing.T) { +func TestImage_AppcMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedVolume_Source(popr, false) + p := NewPopulatedImage_Appc(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -8916,7 +9330,7 @@ func TestVolume_SourceMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Volume_Source{} + msg := &Image_Appc{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -8931,12 +9345,12 @@ func TestVolume_SourceMarshalTo(t *testing.T) { } } -func BenchmarkVolume_SourceProtoMarshal(b *testing.B) { +func BenchmarkImage_AppcProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Volume_Source, 10000) + pops := make([]*Image_Appc, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedVolume_Source(popr, false) + pops[i] = NewPopulatedImage_Appc(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -8949,18 +9363,18 @@ func BenchmarkVolume_SourceProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkVolume_SourceProtoUnmarshal(b *testing.B) { +func BenchmarkImage_AppcProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedVolume_Source(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedImage_Appc(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Volume_Source{} + msg := &Image_Appc{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -8971,15 +9385,15 @@ func BenchmarkVolume_SourceProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestVolume_Source_DockerVolumeProto(t *testing.T) { +func TestImage_DockerProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedVolume_Source_DockerVolume(popr, false) + p := NewPopulatedImage_Docker(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Volume_Source_DockerVolume{} + msg := &Image_Docker{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9005,10 +9419,10 @@ func TestVolume_Source_DockerVolumeProto(t *testing.T) { } } -func TestVolume_Source_DockerVolumeMarshalTo(t *testing.T) { +func TestImage_DockerMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedVolume_Source_DockerVolume(popr, false) + p := NewPopulatedImage_Docker(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -9018,7 +9432,7 @@ func TestVolume_Source_DockerVolumeMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Volume_Source_DockerVolume{} + msg := &Image_Docker{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9033,12 +9447,12 @@ func TestVolume_Source_DockerVolumeMarshalTo(t *testing.T) { } } -func BenchmarkVolume_Source_DockerVolumeProtoMarshal(b *testing.B) { +func BenchmarkImage_DockerProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Volume_Source_DockerVolume, 10000) + pops := make([]*Image_Docker, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedVolume_Source_DockerVolume(popr, false) + pops[i] = NewPopulatedImage_Docker(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -9051,18 +9465,18 @@ func BenchmarkVolume_Source_DockerVolumeProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkVolume_Source_DockerVolumeProtoUnmarshal(b *testing.B) { +func BenchmarkImage_DockerProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedVolume_Source_DockerVolume(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedImage_Docker(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Volume_Source_DockerVolume{} + msg := &Image_Docker{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -9073,15 +9487,15 @@ func BenchmarkVolume_Source_DockerVolumeProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestVolume_Source_SandboxPathProto(t *testing.T) { +func TestVolumeProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedVolume_Source_SandboxPath(popr, false) + p := NewPopulatedVolume(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Volume_Source_SandboxPath{} + msg := &Volume{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9107,10 +9521,10 @@ func TestVolume_Source_SandboxPathProto(t *testing.T) { } } -func TestVolume_Source_SandboxPathMarshalTo(t *testing.T) { +func TestVolumeMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedVolume_Source_SandboxPath(popr, false) + p := NewPopulatedVolume(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -9120,7 +9534,7 @@ func TestVolume_Source_SandboxPathMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Volume_Source_SandboxPath{} + msg := &Volume{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9135,12 +9549,12 @@ func TestVolume_Source_SandboxPathMarshalTo(t *testing.T) { } } -func BenchmarkVolume_Source_SandboxPathProtoMarshal(b *testing.B) { +func BenchmarkVolumeProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Volume_Source_SandboxPath, 10000) + pops := make([]*Volume, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedVolume_Source_SandboxPath(popr, false) + pops[i] = NewPopulatedVolume(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -9153,18 +9567,18 @@ func BenchmarkVolume_Source_SandboxPathProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkVolume_Source_SandboxPathProtoUnmarshal(b *testing.B) { +func BenchmarkVolumeProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedVolume_Source_SandboxPath(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedVolume(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Volume_Source_SandboxPath{} + msg := &Volume{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -9175,15 +9589,15 @@ func BenchmarkVolume_Source_SandboxPathProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestNetworkInfoProto(t *testing.T) { +func TestVolume_SourceProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedNetworkInfo(popr, false) + p := NewPopulatedVolume_Source(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &NetworkInfo{} + msg := &Volume_Source{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9209,10 +9623,10 @@ func TestNetworkInfoProto(t *testing.T) { } } -func TestNetworkInfoMarshalTo(t *testing.T) { +func TestVolume_SourceMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedNetworkInfo(popr, false) + p := NewPopulatedVolume_Source(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -9222,7 +9636,7 @@ func TestNetworkInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &NetworkInfo{} + msg := &Volume_Source{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9237,12 +9651,12 @@ func TestNetworkInfoMarshalTo(t *testing.T) { } } -func BenchmarkNetworkInfoProtoMarshal(b *testing.B) { +func BenchmarkVolume_SourceProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*NetworkInfo, 10000) + pops := make([]*Volume_Source, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedNetworkInfo(popr, false) + pops[i] = NewPopulatedVolume_Source(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -9255,18 +9669,18 @@ func BenchmarkNetworkInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkNetworkInfoProtoUnmarshal(b *testing.B) { +func BenchmarkVolume_SourceProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedNetworkInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedVolume_Source(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &NetworkInfo{} + msg := &Volume_Source{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -9277,15 +9691,15 @@ func BenchmarkNetworkInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestNetworkInfo_IPAddressProto(t *testing.T) { +func TestVolume_Source_DockerVolumeProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedNetworkInfo_IPAddress(popr, false) + p := NewPopulatedVolume_Source_DockerVolume(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &NetworkInfo_IPAddress{} + msg := &Volume_Source_DockerVolume{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9311,10 +9725,10 @@ func TestNetworkInfo_IPAddressProto(t *testing.T) { } } -func TestNetworkInfo_IPAddressMarshalTo(t *testing.T) { +func TestVolume_Source_DockerVolumeMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedNetworkInfo_IPAddress(popr, false) + p := NewPopulatedVolume_Source_DockerVolume(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -9324,7 +9738,7 @@ func TestNetworkInfo_IPAddressMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &NetworkInfo_IPAddress{} + msg := &Volume_Source_DockerVolume{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9339,12 +9753,12 @@ func TestNetworkInfo_IPAddressMarshalTo(t *testing.T) { } } -func BenchmarkNetworkInfo_IPAddressProtoMarshal(b *testing.B) { +func BenchmarkVolume_Source_DockerVolumeProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*NetworkInfo_IPAddress, 10000) + pops := make([]*Volume_Source_DockerVolume, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedNetworkInfo_IPAddress(popr, false) + pops[i] = NewPopulatedVolume_Source_DockerVolume(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -9357,18 +9771,18 @@ func BenchmarkNetworkInfo_IPAddressProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkNetworkInfo_IPAddressProtoUnmarshal(b *testing.B) { +func BenchmarkVolume_Source_DockerVolumeProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedNetworkInfo_IPAddress(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedVolume_Source_DockerVolume(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &NetworkInfo_IPAddress{} + msg := &Volume_Source_DockerVolume{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -9379,15 +9793,15 @@ func BenchmarkNetworkInfo_IPAddressProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestNetworkInfo_PortMappingProto(t *testing.T) { +func TestVolume_Source_SandboxPathProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedNetworkInfo_PortMapping(popr, false) + p := NewPopulatedVolume_Source_SandboxPath(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &NetworkInfo_PortMapping{} + msg := &Volume_Source_SandboxPath{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9413,10 +9827,10 @@ func TestNetworkInfo_PortMappingProto(t *testing.T) { } } -func TestNetworkInfo_PortMappingMarshalTo(t *testing.T) { +func TestVolume_Source_SandboxPathMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedNetworkInfo_PortMapping(popr, false) + p := NewPopulatedVolume_Source_SandboxPath(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -9426,7 +9840,7 @@ func TestNetworkInfo_PortMappingMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &NetworkInfo_PortMapping{} + msg := &Volume_Source_SandboxPath{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9441,12 +9855,12 @@ func TestNetworkInfo_PortMappingMarshalTo(t *testing.T) { } } -func BenchmarkNetworkInfo_PortMappingProtoMarshal(b *testing.B) { +func BenchmarkVolume_Source_SandboxPathProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*NetworkInfo_PortMapping, 10000) + pops := make([]*Volume_Source_SandboxPath, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedNetworkInfo_PortMapping(popr, false) + pops[i] = NewPopulatedVolume_Source_SandboxPath(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -9459,18 +9873,18 @@ func BenchmarkNetworkInfo_PortMappingProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkNetworkInfo_PortMappingProtoUnmarshal(b *testing.B) { +func BenchmarkVolume_Source_SandboxPathProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedNetworkInfo_PortMapping(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedVolume_Source_SandboxPath(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &NetworkInfo_PortMapping{} + msg := &Volume_Source_SandboxPath{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -9481,15 +9895,15 @@ func BenchmarkNetworkInfo_PortMappingProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestCapabilityInfoProto(t *testing.T) { +func TestNetworkInfoProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedCapabilityInfo(popr, false) + p := NewPopulatedNetworkInfo(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &CapabilityInfo{} + msg := &NetworkInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9515,10 +9929,10 @@ func TestCapabilityInfoProto(t *testing.T) { } } -func TestCapabilityInfoMarshalTo(t *testing.T) { +func TestNetworkInfoMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedCapabilityInfo(popr, false) + p := NewPopulatedNetworkInfo(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -9528,7 +9942,7 @@ func TestCapabilityInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &CapabilityInfo{} + msg := &NetworkInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9543,12 +9957,12 @@ func TestCapabilityInfoMarshalTo(t *testing.T) { } } -func BenchmarkCapabilityInfoProtoMarshal(b *testing.B) { +func BenchmarkNetworkInfoProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*CapabilityInfo, 10000) + pops := make([]*NetworkInfo, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedCapabilityInfo(popr, false) + pops[i] = NewPopulatedNetworkInfo(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -9561,18 +9975,18 @@ func BenchmarkCapabilityInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkCapabilityInfoProtoUnmarshal(b *testing.B) { +func BenchmarkNetworkInfoProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedCapabilityInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedNetworkInfo(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &CapabilityInfo{} + msg := &NetworkInfo{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -9583,15 +9997,15 @@ func BenchmarkCapabilityInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestLinuxInfoProto(t *testing.T) { +func TestNetworkInfo_IPAddressProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedLinuxInfo(popr, false) + p := NewPopulatedNetworkInfo_IPAddress(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &LinuxInfo{} + msg := &NetworkInfo_IPAddress{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9617,10 +10031,10 @@ func TestLinuxInfoProto(t *testing.T) { } } -func TestLinuxInfoMarshalTo(t *testing.T) { +func TestNetworkInfo_IPAddressMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedLinuxInfo(popr, false) + p := NewPopulatedNetworkInfo_IPAddress(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -9630,7 +10044,7 @@ func TestLinuxInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &LinuxInfo{} + msg := &NetworkInfo_IPAddress{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9645,12 +10059,12 @@ func TestLinuxInfoMarshalTo(t *testing.T) { } } -func BenchmarkLinuxInfoProtoMarshal(b *testing.B) { +func BenchmarkNetworkInfo_IPAddressProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*LinuxInfo, 10000) + pops := make([]*NetworkInfo_IPAddress, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedLinuxInfo(popr, false) + pops[i] = NewPopulatedNetworkInfo_IPAddress(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -9663,18 +10077,18 @@ func BenchmarkLinuxInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkLinuxInfoProtoUnmarshal(b *testing.B) { +func BenchmarkNetworkInfo_IPAddressProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedLinuxInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedNetworkInfo_IPAddress(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &LinuxInfo{} + msg := &NetworkInfo_IPAddress{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -9685,15 +10099,15 @@ func BenchmarkLinuxInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestRLimitInfoProto(t *testing.T) { +func TestNetworkInfo_PortMappingProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedRLimitInfo(popr, false) + p := NewPopulatedNetworkInfo_PortMapping(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &RLimitInfo{} + msg := &NetworkInfo_PortMapping{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9719,10 +10133,10 @@ func TestRLimitInfoProto(t *testing.T) { } } -func TestRLimitInfoMarshalTo(t *testing.T) { +func TestNetworkInfo_PortMappingMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedRLimitInfo(popr, false) + p := NewPopulatedNetworkInfo_PortMapping(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -9732,7 +10146,7 @@ func TestRLimitInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &RLimitInfo{} + msg := &NetworkInfo_PortMapping{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9747,12 +10161,12 @@ func TestRLimitInfoMarshalTo(t *testing.T) { } } -func BenchmarkRLimitInfoProtoMarshal(b *testing.B) { +func BenchmarkNetworkInfo_PortMappingProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*RLimitInfo, 10000) + pops := make([]*NetworkInfo_PortMapping, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedRLimitInfo(popr, false) + pops[i] = NewPopulatedNetworkInfo_PortMapping(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -9765,7 +10179,313 @@ func BenchmarkRLimitInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkRLimitInfoProtoUnmarshal(b *testing.B) { +func BenchmarkNetworkInfo_PortMappingProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedNetworkInfo_PortMapping(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &NetworkInfo_PortMapping{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + +func TestCapabilityInfoProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCapabilityInfo(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &CapabilityInfo{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestCapabilityInfoMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCapabilityInfo(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &CapabilityInfo{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkCapabilityInfoProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*CapabilityInfo, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedCapabilityInfo(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkCapabilityInfoProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedCapabilityInfo(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &CapabilityInfo{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + +func TestLinuxInfoProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedLinuxInfo(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &LinuxInfo{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestLinuxInfoMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedLinuxInfo(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &LinuxInfo{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkLinuxInfoProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*LinuxInfo, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedLinuxInfo(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkLinuxInfoProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedLinuxInfo(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &LinuxInfo{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + +func TestRLimitInfoProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedRLimitInfo(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &RLimitInfo{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestRLimitInfoMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedRLimitInfo(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &RLimitInfo{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkRLimitInfoProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*RLimitInfo, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedRLimitInfo(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkRLimitInfoProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) @@ -9776,7 +10496,415 @@ func BenchmarkRLimitInfoProtoUnmarshal(b *testing.B) { } datas[i] = dAtA } - msg := &RLimitInfo{} + msg := &RLimitInfo{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + +func TestRLimitInfo_RLimitProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedRLimitInfo_RLimit(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &RLimitInfo_RLimit{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestRLimitInfo_RLimitMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedRLimitInfo_RLimit(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &RLimitInfo_RLimit{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkRLimitInfo_RLimitProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*RLimitInfo_RLimit, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedRLimitInfo_RLimit(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkRLimitInfo_RLimitProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedRLimitInfo_RLimit(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &RLimitInfo_RLimit{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + +func TestTTYInfoProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedTTYInfo(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &TTYInfo{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestTTYInfoMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedTTYInfo(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &TTYInfo{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkTTYInfoProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*TTYInfo, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedTTYInfo(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkTTYInfoProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedTTYInfo(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &TTYInfo{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + +func TestTTYInfo_WindowSizeProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedTTYInfo_WindowSize(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &TTYInfo_WindowSize{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestTTYInfo_WindowSizeMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedTTYInfo_WindowSize(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &TTYInfo_WindowSize{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkTTYInfo_WindowSizeProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*TTYInfo_WindowSize, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedTTYInfo_WindowSize(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkTTYInfo_WindowSizeProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedTTYInfo_WindowSize(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &TTYInfo_WindowSize{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + +func TestContainerInfoProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedContainerInfo(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &ContainerInfo{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestContainerInfoMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedContainerInfo(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &ContainerInfo{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkContainerInfoProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*ContainerInfo, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedContainerInfo(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkContainerInfoProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedContainerInfo(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &ContainerInfo{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -9787,15 +10915,15 @@ func BenchmarkRLimitInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestRLimitInfo_RLimitProto(t *testing.T) { +func TestContainerInfo_DockerInfoProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedRLimitInfo_RLimit(popr, false) + p := NewPopulatedContainerInfo_DockerInfo(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &RLimitInfo_RLimit{} + msg := &ContainerInfo_DockerInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9821,10 +10949,10 @@ func TestRLimitInfo_RLimitProto(t *testing.T) { } } -func TestRLimitInfo_RLimitMarshalTo(t *testing.T) { +func TestContainerInfo_DockerInfoMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedRLimitInfo_RLimit(popr, false) + p := NewPopulatedContainerInfo_DockerInfo(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -9834,7 +10962,7 @@ func TestRLimitInfo_RLimitMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &RLimitInfo_RLimit{} + msg := &ContainerInfo_DockerInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9849,12 +10977,12 @@ func TestRLimitInfo_RLimitMarshalTo(t *testing.T) { } } -func BenchmarkRLimitInfo_RLimitProtoMarshal(b *testing.B) { +func BenchmarkContainerInfo_DockerInfoProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*RLimitInfo_RLimit, 10000) + pops := make([]*ContainerInfo_DockerInfo, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedRLimitInfo_RLimit(popr, false) + pops[i] = NewPopulatedContainerInfo_DockerInfo(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -9867,18 +10995,18 @@ func BenchmarkRLimitInfo_RLimitProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkRLimitInfo_RLimitProtoUnmarshal(b *testing.B) { +func BenchmarkContainerInfo_DockerInfoProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedRLimitInfo_RLimit(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedContainerInfo_DockerInfo(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &RLimitInfo_RLimit{} + msg := &ContainerInfo_DockerInfo{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -9889,15 +11017,15 @@ func BenchmarkRLimitInfo_RLimitProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestTTYInfoProto(t *testing.T) { +func TestContainerInfo_DockerInfo_PortMappingProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedTTYInfo(popr, false) + p := NewPopulatedContainerInfo_DockerInfo_PortMapping(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &TTYInfo{} + msg := &ContainerInfo_DockerInfo_PortMapping{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9923,10 +11051,10 @@ func TestTTYInfoProto(t *testing.T) { } } -func TestTTYInfoMarshalTo(t *testing.T) { +func TestContainerInfo_DockerInfo_PortMappingMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedTTYInfo(popr, false) + p := NewPopulatedContainerInfo_DockerInfo_PortMapping(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -9936,7 +11064,7 @@ func TestTTYInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &TTYInfo{} + msg := &ContainerInfo_DockerInfo_PortMapping{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -9951,12 +11079,12 @@ func TestTTYInfoMarshalTo(t *testing.T) { } } -func BenchmarkTTYInfoProtoMarshal(b *testing.B) { +func BenchmarkContainerInfo_DockerInfo_PortMappingProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*TTYInfo, 10000) + pops := make([]*ContainerInfo_DockerInfo_PortMapping, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedTTYInfo(popr, false) + pops[i] = NewPopulatedContainerInfo_DockerInfo_PortMapping(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -9969,18 +11097,18 @@ func BenchmarkTTYInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkTTYInfoProtoUnmarshal(b *testing.B) { +func BenchmarkContainerInfo_DockerInfo_PortMappingProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedTTYInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedContainerInfo_DockerInfo_PortMapping(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &TTYInfo{} + msg := &ContainerInfo_DockerInfo_PortMapping{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -9991,15 +11119,15 @@ func BenchmarkTTYInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestTTYInfo_WindowSizeProto(t *testing.T) { +func TestContainerInfo_MesosInfoProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedTTYInfo_WindowSize(popr, false) + p := NewPopulatedContainerInfo_MesosInfo(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &TTYInfo_WindowSize{} + msg := &ContainerInfo_MesosInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10025,10 +11153,10 @@ func TestTTYInfo_WindowSizeProto(t *testing.T) { } } -func TestTTYInfo_WindowSizeMarshalTo(t *testing.T) { +func TestContainerInfo_MesosInfoMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedTTYInfo_WindowSize(popr, false) + p := NewPopulatedContainerInfo_MesosInfo(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -10038,7 +11166,7 @@ func TestTTYInfo_WindowSizeMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &TTYInfo_WindowSize{} + msg := &ContainerInfo_MesosInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10053,12 +11181,12 @@ func TestTTYInfo_WindowSizeMarshalTo(t *testing.T) { } } -func BenchmarkTTYInfo_WindowSizeProtoMarshal(b *testing.B) { +func BenchmarkContainerInfo_MesosInfoProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*TTYInfo_WindowSize, 10000) + pops := make([]*ContainerInfo_MesosInfo, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedTTYInfo_WindowSize(popr, false) + pops[i] = NewPopulatedContainerInfo_MesosInfo(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -10071,18 +11199,18 @@ func BenchmarkTTYInfo_WindowSizeProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkTTYInfo_WindowSizeProtoUnmarshal(b *testing.B) { +func BenchmarkContainerInfo_MesosInfoProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedTTYInfo_WindowSize(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedContainerInfo_MesosInfo(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &TTYInfo_WindowSize{} + msg := &ContainerInfo_MesosInfo{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -10093,15 +11221,15 @@ func BenchmarkTTYInfo_WindowSizeProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestContainerInfoProto(t *testing.T) { +func TestContainerStatusProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedContainerInfo(popr, false) + p := NewPopulatedContainerStatus(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ContainerInfo{} + msg := &ContainerStatus{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10127,10 +11255,10 @@ func TestContainerInfoProto(t *testing.T) { } } -func TestContainerInfoMarshalTo(t *testing.T) { +func TestContainerStatusMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedContainerInfo(popr, false) + p := NewPopulatedContainerStatus(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -10140,7 +11268,7 @@ func TestContainerInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ContainerInfo{} + msg := &ContainerStatus{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10155,12 +11283,12 @@ func TestContainerInfoMarshalTo(t *testing.T) { } } -func BenchmarkContainerInfoProtoMarshal(b *testing.B) { +func BenchmarkContainerStatusProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*ContainerInfo, 10000) + pops := make([]*ContainerStatus, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedContainerInfo(popr, false) + pops[i] = NewPopulatedContainerStatus(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -10173,18 +11301,18 @@ func BenchmarkContainerInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkContainerInfoProtoUnmarshal(b *testing.B) { +func BenchmarkContainerStatusProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedContainerInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedContainerStatus(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &ContainerInfo{} + msg := &ContainerStatus{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -10195,15 +11323,15 @@ func BenchmarkContainerInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestContainerInfo_DockerInfoProto(t *testing.T) { +func TestCgroupInfoProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedContainerInfo_DockerInfo(popr, false) + p := NewPopulatedCgroupInfo(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ContainerInfo_DockerInfo{} + msg := &CgroupInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10229,10 +11357,10 @@ func TestContainerInfo_DockerInfoProto(t *testing.T) { } } -func TestContainerInfo_DockerInfoMarshalTo(t *testing.T) { +func TestCgroupInfoMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedContainerInfo_DockerInfo(popr, false) + p := NewPopulatedCgroupInfo(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -10242,7 +11370,7 @@ func TestContainerInfo_DockerInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ContainerInfo_DockerInfo{} + msg := &CgroupInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10257,12 +11385,12 @@ func TestContainerInfo_DockerInfoMarshalTo(t *testing.T) { } } -func BenchmarkContainerInfo_DockerInfoProtoMarshal(b *testing.B) { +func BenchmarkCgroupInfoProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*ContainerInfo_DockerInfo, 10000) + pops := make([]*CgroupInfo, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedContainerInfo_DockerInfo(popr, false) + pops[i] = NewPopulatedCgroupInfo(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -10275,18 +11403,18 @@ func BenchmarkContainerInfo_DockerInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkContainerInfo_DockerInfoProtoUnmarshal(b *testing.B) { +func BenchmarkCgroupInfoProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedContainerInfo_DockerInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedCgroupInfo(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &ContainerInfo_DockerInfo{} + msg := &CgroupInfo{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -10297,15 +11425,15 @@ func BenchmarkContainerInfo_DockerInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestContainerInfo_DockerInfo_PortMappingProto(t *testing.T) { +func TestCgroupInfo_NetClsProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedContainerInfo_DockerInfo_PortMapping(popr, false) + p := NewPopulatedCgroupInfo_NetCls(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ContainerInfo_DockerInfo_PortMapping{} + msg := &CgroupInfo_NetCls{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10331,10 +11459,10 @@ func TestContainerInfo_DockerInfo_PortMappingProto(t *testing.T) { } } -func TestContainerInfo_DockerInfo_PortMappingMarshalTo(t *testing.T) { +func TestCgroupInfo_NetClsMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedContainerInfo_DockerInfo_PortMapping(popr, false) + p := NewPopulatedCgroupInfo_NetCls(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -10344,7 +11472,7 @@ func TestContainerInfo_DockerInfo_PortMappingMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ContainerInfo_DockerInfo_PortMapping{} + msg := &CgroupInfo_NetCls{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10359,12 +11487,12 @@ func TestContainerInfo_DockerInfo_PortMappingMarshalTo(t *testing.T) { } } -func BenchmarkContainerInfo_DockerInfo_PortMappingProtoMarshal(b *testing.B) { +func BenchmarkCgroupInfo_NetClsProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*ContainerInfo_DockerInfo_PortMapping, 10000) + pops := make([]*CgroupInfo_NetCls, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedContainerInfo_DockerInfo_PortMapping(popr, false) + pops[i] = NewPopulatedCgroupInfo_NetCls(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -10377,18 +11505,18 @@ func BenchmarkContainerInfo_DockerInfo_PortMappingProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkContainerInfo_DockerInfo_PortMappingProtoUnmarshal(b *testing.B) { +func BenchmarkCgroupInfo_NetClsProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedContainerInfo_DockerInfo_PortMapping(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedCgroupInfo_NetCls(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &ContainerInfo_DockerInfo_PortMapping{} + msg := &CgroupInfo_NetCls{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -10399,15 +11527,15 @@ func BenchmarkContainerInfo_DockerInfo_PortMappingProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestContainerInfo_MesosInfoProto(t *testing.T) { +func TestLabelsProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedContainerInfo_MesosInfo(popr, false) + p := NewPopulatedLabels(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ContainerInfo_MesosInfo{} + msg := &Labels{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10433,10 +11561,10 @@ func TestContainerInfo_MesosInfoProto(t *testing.T) { } } -func TestContainerInfo_MesosInfoMarshalTo(t *testing.T) { +func TestLabelsMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedContainerInfo_MesosInfo(popr, false) + p := NewPopulatedLabels(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -10446,7 +11574,7 @@ func TestContainerInfo_MesosInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ContainerInfo_MesosInfo{} + msg := &Labels{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10461,12 +11589,12 @@ func TestContainerInfo_MesosInfoMarshalTo(t *testing.T) { } } -func BenchmarkContainerInfo_MesosInfoProtoMarshal(b *testing.B) { +func BenchmarkLabelsProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*ContainerInfo_MesosInfo, 10000) + pops := make([]*Labels, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedContainerInfo_MesosInfo(popr, false) + pops[i] = NewPopulatedLabels(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -10479,18 +11607,18 @@ func BenchmarkContainerInfo_MesosInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkContainerInfo_MesosInfoProtoUnmarshal(b *testing.B) { +func BenchmarkLabelsProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedContainerInfo_MesosInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedLabels(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &ContainerInfo_MesosInfo{} + msg := &Labels{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -10501,15 +11629,15 @@ func BenchmarkContainerInfo_MesosInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestContainerStatusProto(t *testing.T) { +func TestLabelProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedContainerStatus(popr, false) + p := NewPopulatedLabel(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ContainerStatus{} + msg := &Label{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10535,10 +11663,10 @@ func TestContainerStatusProto(t *testing.T) { } } -func TestContainerStatusMarshalTo(t *testing.T) { +func TestLabelMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedContainerStatus(popr, false) + p := NewPopulatedLabel(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -10548,7 +11676,7 @@ func TestContainerStatusMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &ContainerStatus{} + msg := &Label{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10563,12 +11691,12 @@ func TestContainerStatusMarshalTo(t *testing.T) { } } -func BenchmarkContainerStatusProtoMarshal(b *testing.B) { +func BenchmarkLabelProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*ContainerStatus, 10000) + pops := make([]*Label, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedContainerStatus(popr, false) + pops[i] = NewPopulatedLabel(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -10581,18 +11709,18 @@ func BenchmarkContainerStatusProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkContainerStatusProtoUnmarshal(b *testing.B) { +func BenchmarkLabelProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedContainerStatus(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedLabel(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &ContainerStatus{} + msg := &Label{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -10603,15 +11731,15 @@ func BenchmarkContainerStatusProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestCgroupInfoProto(t *testing.T) { +func TestPortProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedCgroupInfo(popr, false) + p := NewPopulatedPort(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &CgroupInfo{} + msg := &Port{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10637,10 +11765,10 @@ func TestCgroupInfoProto(t *testing.T) { } } -func TestCgroupInfoMarshalTo(t *testing.T) { +func TestPortMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedCgroupInfo(popr, false) + p := NewPopulatedPort(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -10650,7 +11778,7 @@ func TestCgroupInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &CgroupInfo{} + msg := &Port{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10665,12 +11793,12 @@ func TestCgroupInfoMarshalTo(t *testing.T) { } } -func BenchmarkCgroupInfoProtoMarshal(b *testing.B) { +func BenchmarkPortProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*CgroupInfo, 10000) + pops := make([]*Port, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedCgroupInfo(popr, false) + pops[i] = NewPopulatedPort(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -10683,18 +11811,18 @@ func BenchmarkCgroupInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkCgroupInfoProtoUnmarshal(b *testing.B) { +func BenchmarkPortProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedCgroupInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedPort(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &CgroupInfo{} + msg := &Port{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -10705,15 +11833,15 @@ func BenchmarkCgroupInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestCgroupInfo_NetClsProto(t *testing.T) { +func TestPortsProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedCgroupInfo_NetCls(popr, false) + p := NewPopulatedPorts(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &CgroupInfo_NetCls{} + msg := &Ports{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10739,10 +11867,10 @@ func TestCgroupInfo_NetClsProto(t *testing.T) { } } -func TestCgroupInfo_NetClsMarshalTo(t *testing.T) { +func TestPortsMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedCgroupInfo_NetCls(popr, false) + p := NewPopulatedPorts(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -10752,7 +11880,7 @@ func TestCgroupInfo_NetClsMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &CgroupInfo_NetCls{} + msg := &Ports{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10767,12 +11895,12 @@ func TestCgroupInfo_NetClsMarshalTo(t *testing.T) { } } -func BenchmarkCgroupInfo_NetClsProtoMarshal(b *testing.B) { +func BenchmarkPortsProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*CgroupInfo_NetCls, 10000) + pops := make([]*Ports, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedCgroupInfo_NetCls(popr, false) + pops[i] = NewPopulatedPorts(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -10785,18 +11913,18 @@ func BenchmarkCgroupInfo_NetClsProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkCgroupInfo_NetClsProtoUnmarshal(b *testing.B) { +func BenchmarkPortsProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedCgroupInfo_NetCls(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedPorts(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &CgroupInfo_NetCls{} + msg := &Ports{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -10807,15 +11935,15 @@ func BenchmarkCgroupInfo_NetClsProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestLabelsProto(t *testing.T) { +func TestDiscoveryInfoProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedLabels(popr, false) + p := NewPopulatedDiscoveryInfo(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Labels{} + msg := &DiscoveryInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10841,10 +11969,10 @@ func TestLabelsProto(t *testing.T) { } } -func TestLabelsMarshalTo(t *testing.T) { +func TestDiscoveryInfoMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedLabels(popr, false) + p := NewPopulatedDiscoveryInfo(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -10854,7 +11982,7 @@ func TestLabelsMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Labels{} + msg := &DiscoveryInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10869,12 +11997,12 @@ func TestLabelsMarshalTo(t *testing.T) { } } -func BenchmarkLabelsProtoMarshal(b *testing.B) { +func BenchmarkDiscoveryInfoProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Labels, 10000) + pops := make([]*DiscoveryInfo, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedLabels(popr, false) + pops[i] = NewPopulatedDiscoveryInfo(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -10887,18 +12015,18 @@ func BenchmarkLabelsProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkLabelsProtoUnmarshal(b *testing.B) { +func BenchmarkDiscoveryInfoProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedLabels(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedDiscoveryInfo(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Labels{} + msg := &DiscoveryInfo{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -10909,15 +12037,15 @@ func BenchmarkLabelsProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestLabelProto(t *testing.T) { +func TestWeightInfoProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedLabel(popr, false) + p := NewPopulatedWeightInfo(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Label{} + msg := &WeightInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10943,10 +12071,10 @@ func TestLabelProto(t *testing.T) { } } -func TestLabelMarshalTo(t *testing.T) { +func TestWeightInfoMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedLabel(popr, false) + p := NewPopulatedWeightInfo(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -10956,7 +12084,7 @@ func TestLabelMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Label{} + msg := &WeightInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -10971,12 +12099,12 @@ func TestLabelMarshalTo(t *testing.T) { } } -func BenchmarkLabelProtoMarshal(b *testing.B) { +func BenchmarkWeightInfoProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Label, 10000) + pops := make([]*WeightInfo, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedLabel(popr, false) + pops[i] = NewPopulatedWeightInfo(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -10989,18 +12117,18 @@ func BenchmarkLabelProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkLabelProtoUnmarshal(b *testing.B) { +func BenchmarkWeightInfoProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedLabel(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedWeightInfo(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Label{} + msg := &WeightInfo{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -11011,15 +12139,15 @@ func BenchmarkLabelProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestPortProto(t *testing.T) { +func TestVersionInfoProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedPort(popr, false) + p := NewPopulatedVersionInfo(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Port{} + msg := &VersionInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11045,10 +12173,10 @@ func TestPortProto(t *testing.T) { } } -func TestPortMarshalTo(t *testing.T) { +func TestVersionInfoMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedPort(popr, false) + p := NewPopulatedVersionInfo(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -11058,7 +12186,7 @@ func TestPortMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Port{} + msg := &VersionInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11073,12 +12201,12 @@ func TestPortMarshalTo(t *testing.T) { } } -func BenchmarkPortProtoMarshal(b *testing.B) { +func BenchmarkVersionInfoProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Port, 10000) + pops := make([]*VersionInfo, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedPort(popr, false) + pops[i] = NewPopulatedVersionInfo(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -11091,18 +12219,18 @@ func BenchmarkPortProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkPortProtoUnmarshal(b *testing.B) { +func BenchmarkVersionInfoProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedPort(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedVersionInfo(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Port{} + msg := &VersionInfo{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -11113,15 +12241,15 @@ func BenchmarkPortProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestPortsProto(t *testing.T) { +func TestFlagProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedPorts(popr, false) + p := NewPopulatedFlag(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Ports{} + msg := &Flag{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11147,10 +12275,10 @@ func TestPortsProto(t *testing.T) { } } -func TestPortsMarshalTo(t *testing.T) { +func TestFlagMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedPorts(popr, false) + p := NewPopulatedFlag(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -11160,7 +12288,7 @@ func TestPortsMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Ports{} + msg := &Flag{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11175,12 +12303,12 @@ func TestPortsMarshalTo(t *testing.T) { } } -func BenchmarkPortsProtoMarshal(b *testing.B) { +func BenchmarkFlagProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Ports, 10000) + pops := make([]*Flag, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedPorts(popr, false) + pops[i] = NewPopulatedFlag(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -11193,18 +12321,18 @@ func BenchmarkPortsProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkPortsProtoUnmarshal(b *testing.B) { +func BenchmarkFlagProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedPorts(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedFlag(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Ports{} + msg := &Flag{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -11215,15 +12343,15 @@ func BenchmarkPortsProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestDiscoveryInfoProto(t *testing.T) { +func TestRoleProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedDiscoveryInfo(popr, false) + p := NewPopulatedRole(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &DiscoveryInfo{} + msg := &Role{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11249,10 +12377,10 @@ func TestDiscoveryInfoProto(t *testing.T) { } } -func TestDiscoveryInfoMarshalTo(t *testing.T) { +func TestRoleMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedDiscoveryInfo(popr, false) + p := NewPopulatedRole(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -11262,7 +12390,7 @@ func TestDiscoveryInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &DiscoveryInfo{} + msg := &Role{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11277,12 +12405,12 @@ func TestDiscoveryInfoMarshalTo(t *testing.T) { } } -func BenchmarkDiscoveryInfoProtoMarshal(b *testing.B) { +func BenchmarkRoleProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*DiscoveryInfo, 10000) + pops := make([]*Role, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedDiscoveryInfo(popr, false) + pops[i] = NewPopulatedRole(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -11295,18 +12423,18 @@ func BenchmarkDiscoveryInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkDiscoveryInfoProtoUnmarshal(b *testing.B) { +func BenchmarkRoleProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedDiscoveryInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedRole(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &DiscoveryInfo{} + msg := &Role{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -11317,15 +12445,15 @@ func BenchmarkDiscoveryInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestWeightInfoProto(t *testing.T) { +func TestMetricProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedWeightInfo(popr, false) + p := NewPopulatedMetric(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &WeightInfo{} + msg := &Metric{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11351,10 +12479,10 @@ func TestWeightInfoProto(t *testing.T) { } } -func TestWeightInfoMarshalTo(t *testing.T) { +func TestMetricMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedWeightInfo(popr, false) + p := NewPopulatedMetric(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -11364,7 +12492,7 @@ func TestWeightInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &WeightInfo{} + msg := &Metric{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11379,12 +12507,12 @@ func TestWeightInfoMarshalTo(t *testing.T) { } } -func BenchmarkWeightInfoProtoMarshal(b *testing.B) { +func BenchmarkMetricProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*WeightInfo, 10000) + pops := make([]*Metric, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedWeightInfo(popr, false) + pops[i] = NewPopulatedMetric(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -11397,18 +12525,18 @@ func BenchmarkWeightInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkWeightInfoProtoUnmarshal(b *testing.B) { +func BenchmarkMetricProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedWeightInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedMetric(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &WeightInfo{} + msg := &Metric{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -11419,15 +12547,15 @@ func BenchmarkWeightInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestVersionInfoProto(t *testing.T) { +func TestFileInfoProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedVersionInfo(popr, false) + p := NewPopulatedFileInfo(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &VersionInfo{} + msg := &FileInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11453,10 +12581,10 @@ func TestVersionInfoProto(t *testing.T) { } } -func TestVersionInfoMarshalTo(t *testing.T) { +func TestFileInfoMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedVersionInfo(popr, false) + p := NewPopulatedFileInfo(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -11466,7 +12594,7 @@ func TestVersionInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &VersionInfo{} + msg := &FileInfo{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11481,12 +12609,12 @@ func TestVersionInfoMarshalTo(t *testing.T) { } } -func BenchmarkVersionInfoProtoMarshal(b *testing.B) { +func BenchmarkFileInfoProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*VersionInfo, 10000) + pops := make([]*FileInfo, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedVersionInfo(popr, false) + pops[i] = NewPopulatedFileInfo(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -11499,18 +12627,18 @@ func BenchmarkVersionInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkVersionInfoProtoUnmarshal(b *testing.B) { +func BenchmarkFileInfoProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedVersionInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedFileInfo(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &VersionInfo{} + msg := &FileInfo{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -11521,15 +12649,15 @@ func BenchmarkVersionInfoProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestFlagProto(t *testing.T) { +func TestDeviceProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedFlag(popr, false) + p := NewPopulatedDevice(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Flag{} + msg := &Device{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11555,10 +12683,10 @@ func TestFlagProto(t *testing.T) { } } -func TestFlagMarshalTo(t *testing.T) { +func TestDeviceMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedFlag(popr, false) + p := NewPopulatedDevice(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -11568,7 +12696,7 @@ func TestFlagMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Flag{} + msg := &Device{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11583,12 +12711,12 @@ func TestFlagMarshalTo(t *testing.T) { } } -func BenchmarkFlagProtoMarshal(b *testing.B) { +func BenchmarkDeviceProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Flag, 10000) + pops := make([]*Device, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedFlag(popr, false) + pops[i] = NewPopulatedDevice(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -11601,18 +12729,18 @@ func BenchmarkFlagProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkFlagProtoUnmarshal(b *testing.B) { +func BenchmarkDeviceProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedFlag(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedDevice(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Flag{} + msg := &Device{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -11623,15 +12751,15 @@ func BenchmarkFlagProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestRoleProto(t *testing.T) { +func TestDeviceAccessProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedRole(popr, false) + p := NewPopulatedDeviceAccess(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Role{} + msg := &DeviceAccess{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11657,10 +12785,10 @@ func TestRoleProto(t *testing.T) { } } -func TestRoleMarshalTo(t *testing.T) { +func TestDeviceAccessMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedRole(popr, false) + p := NewPopulatedDeviceAccess(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -11670,7 +12798,7 @@ func TestRoleMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Role{} + msg := &DeviceAccess{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11685,12 +12813,12 @@ func TestRoleMarshalTo(t *testing.T) { } } -func BenchmarkRoleProtoMarshal(b *testing.B) { +func BenchmarkDeviceAccessProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Role, 10000) + pops := make([]*DeviceAccess, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedRole(popr, false) + pops[i] = NewPopulatedDeviceAccess(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -11703,18 +12831,18 @@ func BenchmarkRoleProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkRoleProtoUnmarshal(b *testing.B) { +func BenchmarkDeviceAccessProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedRole(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedDeviceAccess(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Role{} + msg := &DeviceAccess{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -11725,15 +12853,15 @@ func BenchmarkRoleProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestMetricProto(t *testing.T) { +func TestDeviceAccess_AccessProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedMetric(popr, false) + p := NewPopulatedDeviceAccess_Access(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Metric{} + msg := &DeviceAccess_Access{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11759,10 +12887,10 @@ func TestMetricProto(t *testing.T) { } } -func TestMetricMarshalTo(t *testing.T) { +func TestDeviceAccess_AccessMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedMetric(popr, false) + p := NewPopulatedDeviceAccess_Access(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -11772,7 +12900,7 @@ func TestMetricMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &Metric{} + msg := &DeviceAccess_Access{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11787,12 +12915,12 @@ func TestMetricMarshalTo(t *testing.T) { } } -func BenchmarkMetricProtoMarshal(b *testing.B) { +func BenchmarkDeviceAccess_AccessProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Metric, 10000) + pops := make([]*DeviceAccess_Access, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedMetric(popr, false) + pops[i] = NewPopulatedDeviceAccess_Access(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -11805,18 +12933,18 @@ func BenchmarkMetricProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkMetricProtoUnmarshal(b *testing.B) { +func BenchmarkDeviceAccess_AccessProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedMetric(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedDeviceAccess_Access(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &Metric{} + msg := &DeviceAccess_Access{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -11827,15 +12955,15 @@ func BenchmarkMetricProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestFileInfoProto(t *testing.T) { +func TestDeviceWhitelistProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedFileInfo(popr, false) + p := NewPopulatedDeviceWhitelist(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &FileInfo{} + msg := &DeviceWhitelist{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11861,10 +12989,10 @@ func TestFileInfoProto(t *testing.T) { } } -func TestFileInfoMarshalTo(t *testing.T) { +func TestDeviceWhitelistMarshalTo(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedFileInfo(popr, false) + p := NewPopulatedDeviceWhitelist(popr, false) size := p.ProtoSize() dAtA := make([]byte, size) for i := range dAtA { @@ -11874,7 +13002,7 @@ func TestFileInfoMarshalTo(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &FileInfo{} + msg := &DeviceWhitelist{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -11889,12 +13017,12 @@ func TestFileInfoMarshalTo(t *testing.T) { } } -func BenchmarkFileInfoProtoMarshal(b *testing.B) { +func BenchmarkDeviceWhitelistProtoMarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*FileInfo, 10000) + pops := make([]*DeviceWhitelist, 10000) for i := 0; i < 10000; i++ { - pops[i] = NewPopulatedFileInfo(popr, false) + pops[i] = NewPopulatedDeviceWhitelist(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -11907,18 +13035,18 @@ func BenchmarkFileInfoProtoMarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func BenchmarkFileInfoProtoUnmarshal(b *testing.B) { +func BenchmarkDeviceWhitelistProtoUnmarshal(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 datas := make([][]byte, 10000) for i := 0; i < 10000; i++ { - dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedFileInfo(popr, false)) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedDeviceWhitelist(popr, false)) if err != nil { panic(err) } datas[i] = dAtA } - msg := &FileInfo{} + msg := &DeviceWhitelist{} b.ResetTimer() for i := 0; i < b.N; i++ { total += len(datas[i%10000]) @@ -12055,6 +13183,27 @@ func TestContainerIDJSON(t *testing.T) { t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) } } +func TestResourceProviderIDJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResourceProviderID(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &ResourceProviderID{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} func TestTimeInfoJSON(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -12274,7 +13423,28 @@ func TestCheckInfo_CommandJSON(t *testing.T) { if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &CheckInfo_Command{} + msg := &CheckInfo_Command{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} +func TestCheckInfo_HttpJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckInfo_Http(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &CheckInfo_Http{} err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) @@ -12286,16 +13456,16 @@ func TestCheckInfo_CommandJSON(t *testing.T) { t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) } } -func TestCheckInfo_HttpJSON(t *testing.T) { +func TestCheckInfo_TcpJSON(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedCheckInfo_Http(popr, true) + p := NewPopulatedCheckInfo_Tcp(popr, true) marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} jsondata, err := marshaler.MarshalToString(p) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } - msg := &CheckInfo_Http{} + msg := &CheckInfo_Tcp{} err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) if err != nil { t.Fatalf("seed = %d, err = %v", seed, err) @@ -13000,6 +14170,27 @@ func TestSNMPStatisticsJSON(t *testing.T) { t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) } } +func TestDiskStatisticsJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDiskStatistics(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &DiskStatistics{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} func TestResourceStatisticsJSON(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -13441,6 +14632,27 @@ func TestCheckStatusInfo_HttpJSON(t *testing.T) { t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) } } +func TestCheckStatusInfo_TcpJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckStatusInfo_Tcp(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &CheckStatusInfo_Tcp{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} func TestTaskStatusJSON(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -13609,6 +14821,69 @@ func TestCredentialsJSON(t *testing.T) { t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) } } +func TestSecretJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedSecret(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &Secret{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} +func TestSecret_ReferenceJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedSecret_Reference(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &Secret_Reference{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} +func TestSecret_ValueJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedSecret_Value(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &Secret_Value{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} func TestRateLimitJSON(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -14365,6 +15640,90 @@ func TestFileInfoJSON(t *testing.T) { t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) } } +func TestDeviceJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDevice(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &Device{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} +func TestDeviceAccessJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceAccess(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &DeviceAccess{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} +func TestDeviceAccess_AccessJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceAccess_Access(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &DeviceAccess_Access{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} +func TestDeviceWhitelistJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceWhitelist(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &DeviceWhitelist{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} func TestFrameworkIDProtoText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -14569,6 +15928,40 @@ func TestContainerIDProtoCompactText(t *testing.T) { } } +func TestResourceProviderIDProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResourceProviderID(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &ResourceProviderID{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestResourceProviderIDProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResourceProviderID(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &ResourceProviderID{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + func TestTimeInfoProtoText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -14977,6 +16370,40 @@ func TestCheckInfo_HttpProtoCompactText(t *testing.T) { } } +func TestCheckInfo_TcpProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckInfo_Tcp(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &CheckInfo_Tcp{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestCheckInfo_TcpProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckInfo_Tcp(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &CheckInfo_Tcp{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + func TestHealthCheckProtoText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -16034,9 +17461,43 @@ func TestTcpStatisticsProtoCompactText(t *testing.T) { func TestUdpStatisticsProtoText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedUdpStatistics(popr, true) + p := NewPopulatedUdpStatistics(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &UdpStatistics{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestUdpStatisticsProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedUdpStatistics(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &UdpStatistics{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestSNMPStatisticsProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedSNMPStatistics(popr, true) dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) - msg := &UdpStatistics{} + msg := &SNMPStatistics{} if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -16048,12 +17509,12 @@ func TestUdpStatisticsProtoText(t *testing.T) { } } -func TestUdpStatisticsProtoCompactText(t *testing.T) { +func TestSNMPStatisticsProtoCompactText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedUdpStatistics(popr, true) + p := NewPopulatedSNMPStatistics(popr, true) dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) - msg := &UdpStatistics{} + msg := &SNMPStatistics{} if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -16065,12 +17526,12 @@ func TestUdpStatisticsProtoCompactText(t *testing.T) { } } -func TestSNMPStatisticsProtoText(t *testing.T) { +func TestDiskStatisticsProtoText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedSNMPStatistics(popr, true) + p := NewPopulatedDiskStatistics(popr, true) dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) - msg := &SNMPStatistics{} + msg := &DiskStatistics{} if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -16082,12 +17543,12 @@ func TestSNMPStatisticsProtoText(t *testing.T) { } } -func TestSNMPStatisticsProtoCompactText(t *testing.T) { +func TestDiskStatisticsProtoCompactText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedSNMPStatistics(popr, true) + p := NewPopulatedDiskStatistics(popr, true) dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) - msg := &SNMPStatistics{} + msg := &DiskStatistics{} if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { t.Fatalf("seed = %d, err = %v", seed, err) } @@ -16813,6 +18274,40 @@ func TestCheckStatusInfo_HttpProtoCompactText(t *testing.T) { } } +func TestCheckStatusInfo_TcpProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckStatusInfo_Tcp(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &CheckStatusInfo_Tcp{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestCheckStatusInfo_TcpProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckStatusInfo_Tcp(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &CheckStatusInfo_Tcp{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + func TestTaskStatusProtoText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -17085,6 +18580,108 @@ func TestCredentialsProtoCompactText(t *testing.T) { } } +func TestSecretProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedSecret(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &Secret{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestSecretProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedSecret(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &Secret{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestSecret_ReferenceProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedSecret_Reference(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &Secret_Reference{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestSecret_ReferenceProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedSecret_Reference(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &Secret_Reference{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestSecret_ValueProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedSecret_Value(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &Secret_Value{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestSecret_ValueProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedSecret_Value(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &Secret_Value{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + func TestRateLimitProtoText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -18309,6 +19906,142 @@ func TestFileInfoProtoCompactText(t *testing.T) { } } +func TestDeviceProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDevice(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &Device{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestDeviceProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDevice(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &Device{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestDeviceAccessProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceAccess(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &DeviceAccess{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestDeviceAccessProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceAccess(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &DeviceAccess{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestDeviceAccess_AccessProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceAccess_Access(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &DeviceAccess_Access{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestDeviceAccess_AccessProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceAccess_Access(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &DeviceAccess_Access{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestDeviceWhitelistProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceWhitelist(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &DeviceWhitelist{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestDeviceWhitelistProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceWhitelist(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &DeviceWhitelist{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + func TestFrameworkIDVerboseEqual(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedFrameworkID(popr, false) @@ -18371,12 +20104,27 @@ func TestTaskIDVerboseEqual(t *testing.T) { } func TestExecutorIDVerboseEqual(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) - p := NewPopulatedExecutorID(popr, false) + p := NewPopulatedExecutorID(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &ExecutorID{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} +func TestContainerIDVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedContainerID(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { panic(err) } - msg := &ExecutorID{} + msg := &ContainerID{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { panic(err) } @@ -18384,14 +20132,14 @@ func TestExecutorIDVerboseEqual(t *testing.T) { t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) } } -func TestContainerIDVerboseEqual(t *testing.T) { +func TestResourceProviderIDVerboseEqual(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) - p := NewPopulatedContainerID(popr, false) + p := NewPopulatedResourceProviderID(popr, false) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { panic(err) } - msg := &ContainerID{} + msg := &ResourceProviderID{} if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { panic(err) } @@ -18579,6 +20327,21 @@ func TestCheckInfo_HttpVerboseEqual(t *testing.T) { t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) } } +func TestCheckInfo_TcpVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedCheckInfo_Tcp(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &CheckInfo_Tcp{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} func TestHealthCheckVerboseEqual(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedHealthCheck(popr, false) @@ -19074,6 +20837,21 @@ func TestSNMPStatisticsVerboseEqual(t *testing.T) { t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) } } +func TestDiskStatisticsVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDiskStatistics(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &DiskStatistics{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} func TestResourceStatisticsVerboseEqual(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedResourceStatistics(popr, false) @@ -19389,6 +21167,21 @@ func TestCheckStatusInfo_HttpVerboseEqual(t *testing.T) { t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) } } +func TestCheckStatusInfo_TcpVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedCheckStatusInfo_Tcp(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &CheckStatusInfo_Tcp{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} func TestTaskStatusVerboseEqual(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedTaskStatus(popr, false) @@ -19509,6 +21302,51 @@ func TestCredentialsVerboseEqual(t *testing.T) { t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) } } +func TestSecretVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedSecret(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &Secret{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} +func TestSecret_ReferenceVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedSecret_Reference(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &Secret_Reference{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} +func TestSecret_ValueVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedSecret_Value(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &Secret_Value{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} func TestRateLimitVerboseEqual(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedRateLimit(popr, false) @@ -20049,6 +21887,66 @@ func TestFileInfoVerboseEqual(t *testing.T) { t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) } } +func TestDeviceVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDevice(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &Device{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} +func TestDeviceAccessVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDeviceAccess(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &DeviceAccess{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} +func TestDeviceAccess_AccessVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDeviceAccess_Access(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &DeviceAccess_Access{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} +func TestDeviceWhitelistVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDeviceWhitelist(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &DeviceWhitelist{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} func TestFrameworkIDGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedFrameworkID(popr, false) @@ -20127,6 +22025,19 @@ func TestContainerIDGoString(t *testing.T) { panic(err) } } +func TestResourceProviderIDGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedResourceProviderID(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} func TestTimeInfoGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedTimeInfo(popr, false) @@ -20283,6 +22194,19 @@ func TestCheckInfo_HttpGoString(t *testing.T) { panic(err) } } +func TestCheckInfo_TcpGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedCheckInfo_Tcp(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} func TestHealthCheckGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedHealthCheck(popr, false) @@ -20712,6 +22636,19 @@ func TestSNMPStatisticsGoString(t *testing.T) { panic(err) } } +func TestDiskStatisticsGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDiskStatistics(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} func TestResourceStatisticsGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedResourceStatistics(popr, false) @@ -20985,6 +22922,19 @@ func TestCheckStatusInfo_HttpGoString(t *testing.T) { panic(err) } } +func TestCheckStatusInfo_TcpGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedCheckStatusInfo_Tcp(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} func TestTaskStatusGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedTaskStatus(popr, false) @@ -21089,6 +23039,45 @@ func TestCredentialsGoString(t *testing.T) { panic(err) } } +func TestSecretGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedSecret(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} +func TestSecret_ReferenceGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedSecret_Reference(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} +func TestSecret_ValueGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedSecret_Value(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} func TestRateLimitGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedRateLimit(popr, false) @@ -21453,9 +23442,61 @@ func TestPortGoString(t *testing.T) { panic(err) } } -func TestPortsGoString(t *testing.T) { +func TestPortsGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedPorts(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} +func TestDiscoveryInfoGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDiscoveryInfo(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} +func TestWeightInfoGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedWeightInfo(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} +func TestVersionInfoGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedVersionInfo(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} +func TestFlagGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) - p := NewPopulatedPorts(popr, false) + p := NewPopulatedFlag(popr, false) s1 := p.GoString() s2 := fmt.Sprintf("%#v", p) if s1 != s2 { @@ -21466,9 +23507,9 @@ func TestPortsGoString(t *testing.T) { panic(err) } } -func TestDiscoveryInfoGoString(t *testing.T) { +func TestRoleGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) - p := NewPopulatedDiscoveryInfo(popr, false) + p := NewPopulatedRole(popr, false) s1 := p.GoString() s2 := fmt.Sprintf("%#v", p) if s1 != s2 { @@ -21479,9 +23520,9 @@ func TestDiscoveryInfoGoString(t *testing.T) { panic(err) } } -func TestWeightInfoGoString(t *testing.T) { +func TestMetricGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) - p := NewPopulatedWeightInfo(popr, false) + p := NewPopulatedMetric(popr, false) s1 := p.GoString() s2 := fmt.Sprintf("%#v", p) if s1 != s2 { @@ -21492,9 +23533,9 @@ func TestWeightInfoGoString(t *testing.T) { panic(err) } } -func TestVersionInfoGoString(t *testing.T) { +func TestFileInfoGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) - p := NewPopulatedVersionInfo(popr, false) + p := NewPopulatedFileInfo(popr, false) s1 := p.GoString() s2 := fmt.Sprintf("%#v", p) if s1 != s2 { @@ -21505,9 +23546,9 @@ func TestVersionInfoGoString(t *testing.T) { panic(err) } } -func TestFlagGoString(t *testing.T) { +func TestDeviceGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) - p := NewPopulatedFlag(popr, false) + p := NewPopulatedDevice(popr, false) s1 := p.GoString() s2 := fmt.Sprintf("%#v", p) if s1 != s2 { @@ -21518,9 +23559,9 @@ func TestFlagGoString(t *testing.T) { panic(err) } } -func TestRoleGoString(t *testing.T) { +func TestDeviceAccessGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) - p := NewPopulatedRole(popr, false) + p := NewPopulatedDeviceAccess(popr, false) s1 := p.GoString() s2 := fmt.Sprintf("%#v", p) if s1 != s2 { @@ -21531,9 +23572,9 @@ func TestRoleGoString(t *testing.T) { panic(err) } } -func TestMetricGoString(t *testing.T) { +func TestDeviceAccess_AccessGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) - p := NewPopulatedMetric(popr, false) + p := NewPopulatedDeviceAccess_Access(popr, false) s1 := p.GoString() s2 := fmt.Sprintf("%#v", p) if s1 != s2 { @@ -21544,9 +23585,9 @@ func TestMetricGoString(t *testing.T) { panic(err) } } -func TestFileInfoGoString(t *testing.T) { +func TestDeviceWhitelistGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) - p := NewPopulatedFileInfo(popr, false) + p := NewPopulatedDeviceWhitelist(popr, false) s1 := p.GoString() s2 := fmt.Sprintf("%#v", p) if s1 != s2 { @@ -21773,6 +23814,42 @@ func BenchmarkContainerIDProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestResourceProviderIDProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResourceProviderID(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkResourceProviderIDProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*ResourceProviderID, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedResourceProviderID(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + func TestTimeInfoProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -22205,6 +24282,42 @@ func BenchmarkCheckInfo_HttpProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestCheckInfo_TcpProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckInfo_Tcp(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkCheckInfo_TcpProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*CheckInfo_Tcp, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedCheckInfo_Tcp(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + func TestHealthCheckProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -23393,6 +25506,42 @@ func BenchmarkSNMPStatisticsProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestDiskStatisticsProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDiskStatistics(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkDiskStatisticsProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*DiskStatistics, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedDiskStatistics(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + func TestResourceStatisticsProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -24149,6 +26298,42 @@ func BenchmarkCheckStatusInfo_HttpProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestCheckStatusInfo_TcpProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCheckStatusInfo_Tcp(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkCheckStatusInfo_TcpProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*CheckStatusInfo_Tcp, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedCheckStatusInfo_Tcp(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + func TestTaskStatusProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -24185,10 +26370,118 @@ func BenchmarkTaskStatusProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestFiltersProtoSize(t *testing.T) { +func TestFiltersProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedFilters(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkFiltersProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*Filters, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedFilters(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + +func TestEnvironmentProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedEnvironment(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkEnvironmentProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*Environment, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedEnvironment(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + +func TestEnvironment_VariableProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedEnvironment_Variable(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkEnvironment_VariableProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*Environment_Variable, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedEnvironment_Variable(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + +func TestParameterProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedFilters(popr, true) + p := NewPopulatedParameter(popr, true) size2 := github_com_gogo_protobuf_proto.Size(p) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { @@ -24207,12 +26500,12 @@ func TestFiltersProtoSize(t *testing.T) { } } -func BenchmarkFiltersProtoSize(b *testing.B) { +func BenchmarkParameterProtoSize(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Filters, 1000) + pops := make([]*Parameter, 1000) for i := 0; i < 1000; i++ { - pops[i] = NewPopulatedFilters(popr, false) + pops[i] = NewPopulatedParameter(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -24221,10 +26514,10 @@ func BenchmarkFiltersProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestEnvironmentProtoSize(t *testing.T) { +func TestParametersProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedEnvironment(popr, true) + p := NewPopulatedParameters(popr, true) size2 := github_com_gogo_protobuf_proto.Size(p) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { @@ -24243,12 +26536,12 @@ func TestEnvironmentProtoSize(t *testing.T) { } } -func BenchmarkEnvironmentProtoSize(b *testing.B) { +func BenchmarkParametersProtoSize(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Environment, 1000) + pops := make([]*Parameters, 1000) for i := 0; i < 1000; i++ { - pops[i] = NewPopulatedEnvironment(popr, false) + pops[i] = NewPopulatedParameters(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -24257,10 +26550,10 @@ func BenchmarkEnvironmentProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestEnvironment_VariableProtoSize(t *testing.T) { +func TestCredentialProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedEnvironment_Variable(popr, true) + p := NewPopulatedCredential(popr, true) size2 := github_com_gogo_protobuf_proto.Size(p) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { @@ -24279,12 +26572,12 @@ func TestEnvironment_VariableProtoSize(t *testing.T) { } } -func BenchmarkEnvironment_VariableProtoSize(b *testing.B) { +func BenchmarkCredentialProtoSize(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Environment_Variable, 1000) + pops := make([]*Credential, 1000) for i := 0; i < 1000; i++ { - pops[i] = NewPopulatedEnvironment_Variable(popr, false) + pops[i] = NewPopulatedCredential(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -24293,10 +26586,10 @@ func BenchmarkEnvironment_VariableProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestParameterProtoSize(t *testing.T) { +func TestCredentialsProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedParameter(popr, true) + p := NewPopulatedCredentials(popr, true) size2 := github_com_gogo_protobuf_proto.Size(p) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { @@ -24315,12 +26608,12 @@ func TestParameterProtoSize(t *testing.T) { } } -func BenchmarkParameterProtoSize(b *testing.B) { +func BenchmarkCredentialsProtoSize(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Parameter, 1000) + pops := make([]*Credentials, 1000) for i := 0; i < 1000; i++ { - pops[i] = NewPopulatedParameter(popr, false) + pops[i] = NewPopulatedCredentials(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -24329,10 +26622,10 @@ func BenchmarkParameterProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestParametersProtoSize(t *testing.T) { +func TestSecretProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedParameters(popr, true) + p := NewPopulatedSecret(popr, true) size2 := github_com_gogo_protobuf_proto.Size(p) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { @@ -24351,12 +26644,12 @@ func TestParametersProtoSize(t *testing.T) { } } -func BenchmarkParametersProtoSize(b *testing.B) { +func BenchmarkSecretProtoSize(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Parameters, 1000) + pops := make([]*Secret, 1000) for i := 0; i < 1000; i++ { - pops[i] = NewPopulatedParameters(popr, false) + pops[i] = NewPopulatedSecret(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -24365,10 +26658,10 @@ func BenchmarkParametersProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestCredentialProtoSize(t *testing.T) { +func TestSecret_ReferenceProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedCredential(popr, true) + p := NewPopulatedSecret_Reference(popr, true) size2 := github_com_gogo_protobuf_proto.Size(p) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { @@ -24387,12 +26680,12 @@ func TestCredentialProtoSize(t *testing.T) { } } -func BenchmarkCredentialProtoSize(b *testing.B) { +func BenchmarkSecret_ReferenceProtoSize(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Credential, 1000) + pops := make([]*Secret_Reference, 1000) for i := 0; i < 1000; i++ { - pops[i] = NewPopulatedCredential(popr, false) + pops[i] = NewPopulatedSecret_Reference(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -24401,10 +26694,10 @@ func BenchmarkCredentialProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } -func TestCredentialsProtoSize(t *testing.T) { +func TestSecret_ValueProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) - p := NewPopulatedCredentials(popr, true) + p := NewPopulatedSecret_Value(popr, true) size2 := github_com_gogo_protobuf_proto.Size(p) dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) if err != nil { @@ -24423,12 +26716,12 @@ func TestCredentialsProtoSize(t *testing.T) { } } -func BenchmarkCredentialsProtoSize(b *testing.B) { +func BenchmarkSecret_ValueProtoSize(b *testing.B) { popr := math_rand.New(math_rand.NewSource(616)) total := 0 - pops := make([]*Credentials, 1000) + pops := make([]*Secret_Value, 1000) for i := 0; i < 1000; i++ { - pops[i] = NewPopulatedCredentials(popr, false) + pops[i] = NewPopulatedSecret_Value(popr, false) } b.ResetTimer() for i := 0; i < b.N; i++ { @@ -25733,6 +28026,150 @@ func BenchmarkFileInfoProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestDeviceProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDevice(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkDeviceProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*Device, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedDevice(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + +func TestDeviceAccessProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceAccess(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkDeviceAccessProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*DeviceAccess, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedDeviceAccess(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + +func TestDeviceAccess_AccessProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceAccess_Access(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkDeviceAccess_AccessProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*DeviceAccess_Access, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedDeviceAccess_Access(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + +func TestDeviceWhitelistProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedDeviceWhitelist(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkDeviceWhitelistProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*DeviceWhitelist, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedDeviceWhitelist(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + func TestFrameworkIDStringer(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedFrameworkID(popr, false) @@ -25787,6 +28224,15 @@ func TestContainerIDStringer(t *testing.T) { t.Fatalf("String want %v got %v", s1, s2) } } +func TestResourceProviderIDStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedResourceProviderID(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} func TestTimeInfoStringer(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedTimeInfo(popr, false) @@ -25895,6 +28341,15 @@ func TestCheckInfo_HttpStringer(t *testing.T) { t.Fatalf("String want %v got %v", s1, s2) } } +func TestCheckInfo_TcpStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedCheckInfo_Tcp(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} func TestHealthCheckStringer(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedHealthCheck(popr, false) @@ -26192,6 +28647,15 @@ func TestSNMPStatisticsStringer(t *testing.T) { t.Fatalf("String want %v got %v", s1, s2) } } +func TestDiskStatisticsStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDiskStatistics(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} func TestResourceStatisticsStringer(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedResourceStatistics(popr, false) @@ -26381,6 +28845,15 @@ func TestCheckStatusInfo_HttpStringer(t *testing.T) { t.Fatalf("String want %v got %v", s1, s2) } } +func TestCheckStatusInfo_TcpStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedCheckStatusInfo_Tcp(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} func TestTaskStatusStringer(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedTaskStatus(popr, false) @@ -26453,6 +28926,33 @@ func TestCredentialsStringer(t *testing.T) { t.Fatalf("String want %v got %v", s1, s2) } } +func TestSecretStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedSecret(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} +func TestSecret_ReferenceStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedSecret_Reference(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} +func TestSecret_ValueStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedSecret_Value(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} func TestRateLimitStringer(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedRateLimit(popr, false) @@ -26777,5 +29277,41 @@ func TestFileInfoStringer(t *testing.T) { t.Fatalf("String want %v got %v", s1, s2) } } +func TestDeviceStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDevice(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} +func TestDeviceAccessStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDeviceAccess(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} +func TestDeviceAccess_AccessStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDeviceAccess_Access(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} +func TestDeviceWhitelistStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedDeviceWhitelist(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} //These tests are generated by github.com/gogo/protobuf/plugin/testgen From 9970e4a4ac662b9f2dfae4899eb3656e40ea1b03 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Wed, 13 Sep 2017 22:40:23 +0000 Subject: [PATCH 02/13] lib/scheduler: bump scheduler.proto to 1.3.x --- api/v1/lib/scheduler/scheduler.pb.go | 398 +++++++++++--------- api/v1/lib/scheduler/scheduler.pb_ffjson.go | 198 +++++++--- api/v1/lib/scheduler/scheduler.proto | 33 +- 3 files changed, 393 insertions(+), 236 deletions(-) diff --git a/api/v1/lib/scheduler/scheduler.pb.go b/api/v1/lib/scheduler/scheduler.pb.go index ebcc453b..6c314ad2 100644 --- a/api/v1/lib/scheduler/scheduler.pb.go +++ b/api/v1/lib/scheduler/scheduler.pb.go @@ -413,6 +413,11 @@ func (m *Event_RescindInverseOffer) GetInverseOfferID() mesos.OfferID { // to the task. It is also the responsibility of the scheduler to // explicitly acknowledge the receipt of a status update. See // 'Acknowledge' in the 'Call' section below for the semantics. +// +// A task status update may be used for guaranteed delivery of some +// task-related information, e.g., task's health update. Such +// information may be shadowed by subsequent task status updates, that +// do not preserve fields of the previously sent message. type Event_Update struct { Status mesos.TaskStatus `protobuf:"bytes,1,req,name=status" json:"status"` } @@ -464,7 +469,7 @@ func (m *Event_Message) GetData() []byte { return nil } -// Received when a agent is removed from the cluster (e.g., failed +// Received when an agent is removed from the cluster (e.g., failed // health checks) or when an executor is terminated. Note that, this // event coincides with receipt of terminal UPDATE events for any // active tasks belonging to the agent or executor and receipt of @@ -480,7 +485,16 @@ type Event_Failure struct { // 'executor_id' will be set and possibly 'status' (if we were // able to determine the exit status). ExecutorID *mesos.ExecutorID `protobuf:"bytes,2,opt,name=executor_id,json=executorId" json:"executor_id,omitempty"` - Status *int32 `protobuf:"varint,3,opt,name=status" json:"status,omitempty"` + // On Posix, `status` corresponds to termination information in the + // `stat_loc` area returned from a `waitpid` call. On Windows, `status` + // is obtained via calling the `GetExitCodeProcess()` function. For + // messages coming from Posix agents, schedulers need to apply + // `WEXITSTATUS` family macros or equivalent transformations to obtain + // exit codes. + // + // TODO(alexr): Consider unifying Windows and Posix behavior by returning + // exit code here, see MESOS-7241. + Status *int32 `protobuf:"varint,3,opt,name=status" json:"status,omitempty"` } func (m *Event_Failure) Reset() { *m = Event_Failure{} } @@ -822,22 +836,22 @@ func (m *Call_DeclineInverseOffers) GetFilters() *mesos.Filters { return nil } -// Revive offers for a specified role. If role is unset, the -// `REVIVE` call will revive offers for all of the roles the -// framework is subscribed to. +// Revive offers for the specified roles. If `roles` is empty, +// the `REVIVE` call will revive offers for all of the roles +// the framework is currently subscribed to. type Call_Revive struct { - Role *string `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"` + Roles []string `protobuf:"bytes,1,rep,name=roles" json:"roles,omitempty"` } func (m *Call_Revive) Reset() { *m = Call_Revive{} } func (*Call_Revive) ProtoMessage() {} func (*Call_Revive) Descriptor() ([]byte, []int) { return fileDescriptorScheduler, []int{1, 5} } -func (m *Call_Revive) GetRole() string { - if m != nil && m.Role != nil { - return *m.Role +func (m *Call_Revive) GetRoles() []string { + if m != nil { + return m.Roles } - return "" + return nil } // Kills a specific task. If the scheduler has a custom executor, @@ -1056,22 +1070,22 @@ func (m *Call_Request) GetRequests() []mesos.Request { return nil } -// Suppress offers for a specified role. If role is unset, the -// `SUPPRESS` call will suppress offers for all of the roles the -// framework is subscribed to. +// Suppress offers for the specified roles. If `roles` is empty, +// the `SUPPRESS` call will suppress offers for all of the roles +// the framework is currently subscribed to. type Call_Suppress struct { - Role *string `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"` + Roles []string `protobuf:"bytes,1,rep,name=roles" json:"roles,omitempty"` } func (m *Call_Suppress) Reset() { *m = Call_Suppress{} } func (*Call_Suppress) ProtoMessage() {} func (*Call_Suppress) Descriptor() ([]byte, []int) { return fileDescriptorScheduler, []int{1, 12} } -func (m *Call_Suppress) GetRole() string { - if m != nil && m.Role != nil { - return *m.Role +func (m *Call_Suppress) GetRoles() []string { + if m != nil { + return m.Roles } - return "" + return nil } func init() { @@ -2400,14 +2414,13 @@ func (this *Call_Revive) VerboseEqual(that interface{}) error { } else if this == nil { return fmt.Errorf("that is type *Call_Revive but is not nil && this == nil") } - if this.Role != nil && that1.Role != nil { - if *this.Role != *that1.Role { - return fmt.Errorf("Role this(%v) Not Equal that(%v)", *this.Role, *that1.Role) + if len(this.Roles) != len(that1.Roles) { + return fmt.Errorf("Roles this(%v) Not Equal that(%v)", len(this.Roles), len(that1.Roles)) + } + for i := range this.Roles { + if this.Roles[i] != that1.Roles[i] { + return fmt.Errorf("Roles this[%v](%v) Not Equal that[%v](%v)", i, this.Roles[i], i, that1.Roles[i]) } - } else if this.Role != nil { - return fmt.Errorf("this.Role == nil && that.Role != nil") - } else if that1.Role != nil { - return fmt.Errorf("Role this(%v) Not Equal that(%v)", this.Role, that1.Role) } return nil } @@ -2436,14 +2449,13 @@ func (this *Call_Revive) Equal(that interface{}) bool { } else if this == nil { return false } - if this.Role != nil && that1.Role != nil { - if *this.Role != *that1.Role { + if len(this.Roles) != len(that1.Roles) { + return false + } + for i := range this.Roles { + if this.Roles[i] != that1.Roles[i] { return false } - } else if this.Role != nil { - return false - } else if that1.Role != nil { - return false } return true } @@ -2960,14 +2972,13 @@ func (this *Call_Suppress) VerboseEqual(that interface{}) error { } else if this == nil { return fmt.Errorf("that is type *Call_Suppress but is not nil && this == nil") } - if this.Role != nil && that1.Role != nil { - if *this.Role != *that1.Role { - return fmt.Errorf("Role this(%v) Not Equal that(%v)", *this.Role, *that1.Role) + if len(this.Roles) != len(that1.Roles) { + return fmt.Errorf("Roles this(%v) Not Equal that(%v)", len(this.Roles), len(that1.Roles)) + } + for i := range this.Roles { + if this.Roles[i] != that1.Roles[i] { + return fmt.Errorf("Roles this[%v](%v) Not Equal that[%v](%v)", i, this.Roles[i], i, that1.Roles[i]) } - } else if this.Role != nil { - return fmt.Errorf("this.Role == nil && that.Role != nil") - } else if that1.Role != nil { - return fmt.Errorf("Role this(%v) Not Equal that(%v)", this.Role, that1.Role) } return nil } @@ -2996,14 +3007,13 @@ func (this *Call_Suppress) Equal(that interface{}) bool { } else if this == nil { return false } - if this.Role != nil && that1.Role != nil { - if *this.Role != *that1.Role { + if len(this.Roles) != len(that1.Roles) { + return false + } + for i := range this.Roles { + if this.Roles[i] != that1.Roles[i] { return false } - } else if this.Role != nil { - return false - } else if that1.Role != nil { - return false } return true } @@ -3291,8 +3301,8 @@ func (this *Call_Revive) GoString() string { } s := make([]string, 0, 5) s = append(s, "&scheduler.Call_Revive{") - if this.Role != nil { - s = append(s, "Role: "+valueToGoStringScheduler(this.Role, "string")+",\n") + if this.Roles != nil { + s = append(s, "Roles: "+fmt.Sprintf("%#v", this.Roles)+",\n") } s = append(s, "}") return strings.Join(s, "") @@ -3395,8 +3405,8 @@ func (this *Call_Suppress) GoString() string { } s := make([]string, 0, 5) s = append(s, "&scheduler.Call_Suppress{") - if this.Role != nil { - s = append(s, "Role: "+valueToGoStringScheduler(this.Role, "string")+",\n") + if this.Roles != nil { + s = append(s, "Roles: "+fmt.Sprintf("%#v", this.Roles)+",\n") } s = append(s, "}") return strings.Join(s, "") @@ -4190,11 +4200,20 @@ func (m *Call_Revive) MarshalTo(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.Role != nil { - dAtA[i] = 0xa - i++ - i = encodeVarintScheduler(dAtA, i, uint64(len(*m.Role))) - i += copy(dAtA[i:], *m.Role) + if len(m.Roles) > 0 { + for _, s := range m.Roles { + dAtA[i] = 0xa + i++ + l = len(s) + for l >= 1<<7 { + dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + dAtA[i] = uint8(l) + i++ + i += copy(dAtA[i:], s) + } } return i, nil } @@ -4474,11 +4493,20 @@ func (m *Call_Suppress) MarshalTo(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.Role != nil { - dAtA[i] = 0xa - i++ - i = encodeVarintScheduler(dAtA, i, uint64(len(*m.Role))) - i += copy(dAtA[i:], *m.Role) + if len(m.Roles) > 0 { + for _, s := range m.Roles { + dAtA[i] = 0xa + i++ + l = len(s) + for l >= 1<<7 { + dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + dAtA[i] = uint8(l) + i++ + i += copy(dAtA[i:], s) + } } return i, nil } @@ -4805,8 +4833,11 @@ func NewPopulatedCall_DeclineInverseOffers(r randyScheduler, easy bool) *Call_De func NewPopulatedCall_Revive(r randyScheduler, easy bool) *Call_Revive { this := &Call_Revive{} if r.Intn(10) != 0 { - v23 := string(randStringScheduler(r)) - this.Role = &v23 + v23 := r.Intn(10) + this.Roles = make([]string, v23) + for i := 0; i < v23; i++ { + this.Roles[i] = string(randStringScheduler(r)) + } } if !easy && r.Intn(10) != 0 { } @@ -4916,8 +4947,11 @@ func NewPopulatedCall_Request(r randyScheduler, easy bool) *Call_Request { func NewPopulatedCall_Suppress(r randyScheduler, easy bool) *Call_Suppress { this := &Call_Suppress{} if r.Intn(10) != 0 { - v38 := string(randStringScheduler(r)) - this.Role = &v38 + v38 := r.Intn(10) + this.Roles = make([]string, v38) + for i := 0; i < v38; i++ { + this.Roles[i] = string(randStringScheduler(r)) + } } if !easy && r.Intn(10) != 0 { } @@ -5289,9 +5323,11 @@ func (m *Call_DeclineInverseOffers) ProtoSize() (n int) { func (m *Call_Revive) ProtoSize() (n int) { var l int _ = l - if m.Role != nil { - l = len(*m.Role) - n += 1 + l + sovScheduler(uint64(l)) + if len(m.Roles) > 0 { + for _, s := range m.Roles { + l = len(s) + n += 1 + l + sovScheduler(uint64(l)) + } } return n } @@ -5389,9 +5425,11 @@ func (m *Call_Request) ProtoSize() (n int) { func (m *Call_Suppress) ProtoSize() (n int) { var l int _ = l - if m.Role != nil { - l = len(*m.Role) - n += 1 + l + sovScheduler(uint64(l)) + if len(m.Roles) > 0 { + for _, s := range m.Roles { + l = len(s) + n += 1 + l + sovScheduler(uint64(l)) + } } return n } @@ -5608,7 +5646,7 @@ func (this *Call_Revive) String() string { return "nil" } s := strings.Join([]string{`&Call_Revive{`, - `Role:` + valueToStringScheduler(this.Role) + `,`, + `Roles:` + fmt.Sprintf("%v", this.Roles) + `,`, `}`, }, "") return s @@ -5696,7 +5734,7 @@ func (this *Call_Suppress) String() string { return "nil" } s := strings.Join([]string{`&Call_Suppress{`, - `Role:` + valueToStringScheduler(this.Role) + `,`, + `Roles:` + fmt.Sprintf("%v", this.Roles) + `,`, `}`, }, "") return s @@ -8143,7 +8181,7 @@ func (m *Call_Revive) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -8168,8 +8206,7 @@ func (m *Call_Revive) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Role = &s + m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -9081,7 +9118,7 @@ func (m *Call_Suppress) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Roles", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9106,8 +9143,7 @@ func (m *Call_Suppress) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Role = &s + m.Roles = append(m.Roles, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -9238,109 +9274,109 @@ var ( func init() { proto.RegisterFile("scheduler/scheduler.proto", fileDescriptorScheduler) } var fileDescriptorScheduler = []byte{ - // 1655 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0x3b, 0x6c, 0x1b, 0xcd, - 0x11, 0xd6, 0x52, 0x7c, 0x0e, 0x45, 0xea, 0xbc, 0xb2, 0x14, 0xfa, 0xa2, 0x9c, 0x64, 0xc1, 0x40, - 0x14, 0x03, 0xa6, 0x1c, 0xc1, 0x8f, 0xc4, 0x76, 0x00, 0xf3, 0x71, 0xb2, 0x0f, 0x92, 0x25, 0x79, - 0x49, 0x3a, 0x40, 0x80, 0x84, 0x39, 0xf1, 0x96, 0xd4, 0x41, 0x27, 0x1e, 0x73, 0x77, 0x94, 0xe3, - 0x2e, 0x65, 0xaa, 0x20, 0x45, 0x52, 0x06, 0x79, 0x35, 0x41, 0x9a, 0x20, 0x5d, 0xca, 0x34, 0x09, - 0x5c, 0xba, 0x4c, 0x11, 0x08, 0x11, 0xdd, 0xa4, 0x34, 0x52, 0xa5, 0xfc, 0xb1, 0x7b, 0x7b, 0xa7, - 0xe3, 0xf3, 0x87, 0x6c, 0xe0, 0xff, 0xf1, 0x37, 0xc4, 0xed, 0xec, 0xf7, 0xcd, 0xcc, 0xce, 0xce, - 0xce, 0x0c, 0xe1, 0x86, 0xdb, 0x3a, 0xa6, 0x46, 0xd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0xf9, 0xd9, 0xbb, 0x0b, 0x65, - 0xee, 0x5f, 0x17, 0xca, 0xdc, 0x7f, 0x2e, 0x14, 0xf4, 0xe1, 0x42, 0x41, 0xff, 0xbf, 0x50, 0xd0, - 0xcf, 0x06, 0x0a, 0xfa, 0xd3, 0x40, 0x41, 0x7f, 0x1b, 0x28, 0xe8, 0xef, 0x03, 0x05, 0xbd, 0x1d, - 0x28, 0xe8, 0xdd, 0x40, 0x41, 0xff, 0x1d, 0x28, 0x73, 0x1f, 0x06, 0x0a, 0xfa, 0xe5, 0x7b, 0x65, - 0xee, 0x77, 0xef, 0x15, 0xf4, 0x83, 0x4c, 0x98, 0xd7, 0x9f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x9d, - 0x0c, 0x7c, 0xf5, 0xda, 0x12, 0x00, 0x00, + // 1656 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0x4d, 0x6c, 0x1b, 0x4f, + 0x15, 0xcf, 0x38, 0xfe, 0x7c, 0x8e, 0x9d, 0xed, 0xe4, 0x03, 0x77, 0x29, 0x9b, 0x34, 0xaa, 0x44, + 0xa8, 0x54, 0xa7, 0x44, 0xfd, 0x80, 0xb6, 0x48, 0xf5, 0xc7, 0xa6, 0x5d, 0x25, 0x4d, 0xd2, 0xb1, + 0x5d, 0x24, 0x24, 0x30, 0x1b, 0xef, 0xd8, 0x59, 0x65, 0xe3, 0x35, 0xbb, 0xeb, 0x94, 0xde, 0x38, + 0x72, 0x42, 0x1c, 0xe0, 0x88, 0x00, 0x21, 0x21, 0xc4, 0x05, 0x71, 0xe3, 0xc8, 0x05, 0xd4, 0x63, + 0x8f, 0x1c, 0x50, 0x44, 0xdc, 0x0b, 0xc7, 0x8a, 0x13, 0xc7, 0xbf, 0x66, 0x76, 0x76, 0xb3, 0xfe, + 0xfc, 0x2b, 0xad, 0xf4, 0xff, 0xeb, 0x7f, 0xb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fc, 0xa9, 0xfb, 0x65, 0x43, 0xad, 0xd5, 0xa5, 0x2c, + 0xd7, 0xd3, 0x38, 0x3c, 0x24, 0x6a, 0xad, 0x26, 0x2d, 0xf8, 0x83, 0x72, 0xf9, 0xd9, 0xbb, 0x0b, + 0x65, 0xee, 0x5f, 0x17, 0xca, 0xdc, 0x7f, 0x2e, 0x14, 0xf4, 0xe1, 0x42, 0x41, 0xff, 0xbf, 0x50, + 0xd0, 0xcf, 0x06, 0x0a, 0xfa, 0xd3, 0x40, 0x41, 0x7f, 0x1b, 0x28, 0xe8, 0xef, 0x03, 0x05, 0xbd, + 0x1d, 0x28, 0xe8, 0xdd, 0x40, 0x41, 0xff, 0x1d, 0x28, 0x73, 0x1f, 0x06, 0x0a, 0xfa, 0xe5, 0x7b, + 0x65, 0xee, 0x77, 0xef, 0x15, 0xf4, 0x83, 0x4c, 0x98, 0xd9, 0x9f, 0x05, 0x00, 0x00, 0xff, 0xff, + 0x4d, 0xc0, 0x83, 0x5f, 0xde, 0x12, 0x00, 0x00, } diff --git a/api/v1/lib/scheduler/scheduler.pb_ffjson.go b/api/v1/lib/scheduler/scheduler.pb_ffjson.go index 462c5b8b..70a0b579 100644 --- a/api/v1/lib/scheduler/scheduler.pb_ffjson.go +++ b/api/v1/lib/scheduler/scheduler.pb_ffjson.go @@ -4173,12 +4173,21 @@ func (mj *Call_Revive) MarshalJSONBuf(buf fflib.EncodingBuffer) error { _ = obj _ = err buf.WriteString(`{ `) - if mj.Role != nil { - if true { - buf.WriteString(`"role":`) - fflib.WriteJsonString(buf, string(*mj.Role)) - buf.WriteByte(',') + if len(mj.Roles) != 0 { + buf.WriteString(`"roles":`) + if mj.Roles != nil { + buf.WriteString(`[`) + for i, v := range mj.Roles { + if i != 0 { + buf.WriteString(`,`) + } + fflib.WriteJsonString(buf, string(v)) + } + buf.WriteString(`]`) + } else { + buf.WriteString(`null`) } + buf.WriteByte(',') } buf.Rewind(1) buf.WriteByte('}') @@ -4189,10 +4198,10 @@ const ( ffj_t_Call_Revivebase = iota ffj_t_Call_Reviveno_such_key - ffj_t_Call_Revive_Role + ffj_t_Call_Revive_Roles ) -var ffj_key_Call_Revive_Role = []byte("role") +var ffj_key_Call_Revive_Roles = []byte("roles") func (uj *Call_Revive) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) @@ -4255,16 +4264,16 @@ mainparse: case 'r': - if bytes.Equal(ffj_key_Call_Revive_Role, kn) { - currentKey = ffj_t_Call_Revive_Role + if bytes.Equal(ffj_key_Call_Revive_Roles, kn) { + currentKey = ffj_t_Call_Revive_Roles state = fflib.FFParse_want_colon goto mainparse } } - if fflib.SimpleLetterEqualFold(ffj_key_Call_Revive_Role, kn) { - currentKey = ffj_t_Call_Revive_Role + if fflib.EqualFoldRight(ffj_key_Call_Revive_Roles, kn) { + currentKey = ffj_t_Call_Revive_Roles state = fflib.FFParse_want_colon goto mainparse } @@ -4286,8 +4295,8 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Call_Revive_Role: - goto handle_Role + case ffj_t_Call_Revive_Roles: + goto handle_Roles case ffj_t_Call_Reviveno_such_key: err = fs.SkipField(tok) @@ -4303,30 +4312,74 @@ mainparse: } } -handle_Role: +handle_Roles: - /* handler: uj.Role type=string kind=string quoted=false*/ + /* handler: uj.Roles type=[]string kind=slice quoted=false*/ { { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) } } if tok == fflib.FFTok_null { + uj.Roles = nil + } else { - uj.Role = nil + uj.Roles = []string{} - } else { + wantVal := true - var tval string - outBuf := fs.Output.Bytes() + for { - tval = string(string(outBuf)) - uj.Role = &tval + var tmp_uj__Roles string + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } + + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } + + /* handler: tmp_uj__Roles type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + } else { + + outBuf := fs.Output.Bytes() + + tmp_uj__Roles = string(string(outBuf)) + + } + } + + uj.Roles = append(uj.Roles, tmp_uj__Roles) + + wantVal = false + } } } @@ -4822,12 +4875,21 @@ func (mj *Call_Suppress) MarshalJSONBuf(buf fflib.EncodingBuffer) error { _ = obj _ = err buf.WriteString(`{ `) - if mj.Role != nil { - if true { - buf.WriteString(`"role":`) - fflib.WriteJsonString(buf, string(*mj.Role)) - buf.WriteByte(',') + if len(mj.Roles) != 0 { + buf.WriteString(`"roles":`) + if mj.Roles != nil { + buf.WriteString(`[`) + for i, v := range mj.Roles { + if i != 0 { + buf.WriteString(`,`) + } + fflib.WriteJsonString(buf, string(v)) + } + buf.WriteString(`]`) + } else { + buf.WriteString(`null`) } + buf.WriteByte(',') } buf.Rewind(1) buf.WriteByte('}') @@ -4838,10 +4900,10 @@ const ( ffj_t_Call_Suppressbase = iota ffj_t_Call_Suppressno_such_key - ffj_t_Call_Suppress_Role + ffj_t_Call_Suppress_Roles ) -var ffj_key_Call_Suppress_Role = []byte("role") +var ffj_key_Call_Suppress_Roles = []byte("roles") func (uj *Call_Suppress) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) @@ -4904,16 +4966,16 @@ mainparse: case 'r': - if bytes.Equal(ffj_key_Call_Suppress_Role, kn) { - currentKey = ffj_t_Call_Suppress_Role + if bytes.Equal(ffj_key_Call_Suppress_Roles, kn) { + currentKey = ffj_t_Call_Suppress_Roles state = fflib.FFParse_want_colon goto mainparse } } - if fflib.SimpleLetterEqualFold(ffj_key_Call_Suppress_Role, kn) { - currentKey = ffj_t_Call_Suppress_Role + if fflib.EqualFoldRight(ffj_key_Call_Suppress_Roles, kn) { + currentKey = ffj_t_Call_Suppress_Roles state = fflib.FFParse_want_colon goto mainparse } @@ -4935,8 +4997,8 @@ mainparse: if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { switch currentKey { - case ffj_t_Call_Suppress_Role: - goto handle_Role + case ffj_t_Call_Suppress_Roles: + goto handle_Roles case ffj_t_Call_Suppressno_such_key: err = fs.SkipField(tok) @@ -4952,30 +5014,74 @@ mainparse: } } -handle_Role: +handle_Roles: - /* handler: uj.Role type=string kind=string quoted=false*/ + /* handler: uj.Roles type=[]string kind=slice quoted=false*/ { { - if tok != fflib.FFTok_string && tok != fflib.FFTok_null { - return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) } } if tok == fflib.FFTok_null { + uj.Roles = nil + } else { - uj.Role = nil + uj.Roles = []string{} - } else { + wantVal := true - var tval string - outBuf := fs.Output.Bytes() + for { - tval = string(string(outBuf)) - uj.Role = &tval + var tmp_uj__Roles string + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } + + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } + + /* handler: tmp_uj__Roles type=string kind=string quoted=false*/ + + { + + { + if tok != fflib.FFTok_string && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for string", tok)) + } + } + + if tok == fflib.FFTok_null { + + } else { + + outBuf := fs.Output.Bytes() + + tmp_uj__Roles = string(string(outBuf)) + + } + } + + uj.Roles = append(uj.Roles, tmp_uj__Roles) + + wantVal = false + } } } diff --git a/api/v1/lib/scheduler/scheduler.proto b/api/v1/lib/scheduler/scheduler.proto index 4f49b6a1..77a8f1a3 100644 --- a/api/v1/lib/scheduler/scheduler.proto +++ b/api/v1/lib/scheduler/scheduler.proto @@ -135,6 +135,11 @@ message Event { // to the task. It is also the responsibility of the scheduler to // explicitly acknowledge the receipt of a status update. See // 'Acknowledge' in the 'Call' section below for the semantics. + // + // A task status update may be used for guaranteed delivery of some + // task-related information, e.g., task's health update. Such + // information may be shadowed by subsequent task status updates, that + // do not preserve fields of the previously sent message. message Update { required TaskStatus status = 1 [(gogoproto.nullable) = false]; } @@ -150,7 +155,7 @@ message Event { required bytes data = 3; } - // Received when a agent is removed from the cluster (e.g., failed + // Received when an agent is removed from the cluster (e.g., failed // health checks) or when an executor is terminated. Note that, this // event coincides with receipt of terminal UPDATE events for any // active tasks belonging to the agent or executor and receipt of @@ -167,6 +172,16 @@ message Event { // 'executor_id' will be set and possibly 'status' (if we were // able to determine the exit status). optional ExecutorID executor_id = 2 [(gogoproto.customname) = "ExecutorID"]; + + // On Posix, `status` corresponds to termination information in the + // `stat_loc` area returned from a `waitpid` call. On Windows, `status` + // is obtained via calling the `GetExitCodeProcess()` function. For + // messages coming from Posix agents, schedulers need to apply + // `WEXITSTATUS` family macros or equivalent transformations to obtain + // exit codes. + // + // TODO(alexr): Consider unifying Windows and Posix behavior by returning + // exit code here, see MESOS-7241. optional int32 status = 3; } @@ -293,11 +308,11 @@ message Call { optional Filters filters = 2; } - // Revive offers for a specified role. If role is unset, the - // `REVIVE` call will revive offers for all of the roles the - // framework is subscribed to. + // Revive offers for the specified roles. If `roles` is empty, + // the `REVIVE` call will revive offers for all of the roles + // the framework is currently subscribed to. message Revive { - optional string role = 1; + repeated string roles = 1; } // Kills a specific task. If the scheduler has a custom executor, @@ -382,11 +397,11 @@ message Call { repeated mesos.Request requests = 1 [(gogoproto.nullable) = false]; } - // Suppress offers for a specified role. If role is unset, the - // `SUPPRESS` call will suppress offers for all of the roles the - // framework is subscribed to. + // Suppress offers for the specified roles. If `roles` is empty, + // the `SUPPRESS` call will suppress offers for all of the roles + // the framework is currently subscribed to. message Suppress { - optional string role = 1; + repeated string roles = 1; } // Identifies who generated this call. Master assigns a framework id From a22bd97755b921e40a4c3b1ab12ab22ee77afa2f Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Thu, 14 Sep 2017 04:59:01 +0000 Subject: [PATCH 03/13] lib/agent: bump agent.proto to 1.3.x --- api/v1/lib/agent/agent.pb.go | 1282 +++++++++++++++++++------- api/v1/lib/agent/agent.pb_ffjson.go | 517 +++++++++++ api/v1/lib/agent/agent.proto | 16 + api/v1/lib/agent/agentpb_test.go | 460 +++++++++ api/v1/lib/agent/calls/calls.go | 11 + api/v1/lib/agent/calls/calls_test.go | 2 + api/v1/lib/httpcli/httpagent/util.go | 2 + 7 files changed, 1953 insertions(+), 337 deletions(-) diff --git a/api/v1/lib/agent/agent.pb.go b/api/v1/lib/agent/agent.pb.go index cbf780d1..b1c2c7c4 100644 --- a/api/v1/lib/agent/agent.pb.go +++ b/api/v1/lib/agent/agent.pb.go @@ -64,10 +64,12 @@ const ( Call_GET_FRAMEWORKS Call_Type = 11 Call_GET_EXECUTORS Call_Type = 12 Call_GET_TASKS Call_Type = 13 + Call_GET_AGENT Call_Type = 20 // Calls for managing nested containers underneath an executor's container. Call_LAUNCH_NESTED_CONTAINER Call_Type = 14 Call_WAIT_NESTED_CONTAINER Call_Type = 15 Call_KILL_NESTED_CONTAINER Call_Type = 16 + Call_REMOVE_NESTED_CONTAINER Call_Type = 21 // See 'LaunchNestedContainerSession' below. Call_LAUNCH_NESTED_CONTAINER_SESSION Call_Type = 17 Call_ATTACH_CONTAINER_INPUT Call_Type = 18 @@ -89,9 +91,11 @@ var Call_Type_name = map[int32]string{ 11: "GET_FRAMEWORKS", 12: "GET_EXECUTORS", 13: "GET_TASKS", + 20: "GET_AGENT", 14: "LAUNCH_NESTED_CONTAINER", 15: "WAIT_NESTED_CONTAINER", 16: "KILL_NESTED_CONTAINER", + 21: "REMOVE_NESTED_CONTAINER", 17: "LAUNCH_NESTED_CONTAINER_SESSION", 18: "ATTACH_CONTAINER_INPUT", 19: "ATTACH_CONTAINER_OUTPUT", @@ -111,9 +115,11 @@ var Call_Type_value = map[string]int32{ "GET_FRAMEWORKS": 11, "GET_EXECUTORS": 12, "GET_TASKS": 13, + "GET_AGENT": 20, "LAUNCH_NESTED_CONTAINER": 14, "WAIT_NESTED_CONTAINER": 15, "KILL_NESTED_CONTAINER": 16, + "REMOVE_NESTED_CONTAINER": 21, "LAUNCH_NESTED_CONTAINER_SESSION": 17, "ATTACH_CONTAINER_INPUT": 18, "ATTACH_CONTAINER_OUTPUT": 19, @@ -173,7 +179,7 @@ func (x *Call_AttachContainerInput_Type) UnmarshalJSON(data []byte) error { return nil } func (Call_AttachContainerInput_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptorAgent, []int{0, 8, 0} + return fileDescriptorAgent, []int{0, 9, 0} } // Each of the responses of type `FOO` corresponds to `Foo` message below. @@ -193,6 +199,7 @@ const ( Response_GET_FRAMEWORKS Response_Type = 10 Response_GET_EXECUTORS Response_Type = 11 Response_GET_TASKS Response_Type = 12 + Response_GET_AGENT Response_Type = 14 Response_WAIT_NESTED_CONTAINER Response_Type = 13 ) @@ -210,6 +217,7 @@ var Response_Type_name = map[int32]string{ 10: "GET_FRAMEWORKS", 11: "GET_EXECUTORS", 12: "GET_TASKS", + 14: "GET_AGENT", 13: "WAIT_NESTED_CONTAINER", } var Response_Type_value = map[string]int32{ @@ -226,6 +234,7 @@ var Response_Type_value = map[string]int32{ "GET_FRAMEWORKS": 10, "GET_EXECUTORS": 11, "GET_TASKS": 12, + "GET_AGENT": 14, "WAIT_NESTED_CONTAINER": 13, } @@ -380,6 +389,7 @@ type Call struct { LaunchNestedContainer *Call_LaunchNestedContainer `protobuf:"bytes,6,opt,name=launch_nested_container,json=launchNestedContainer" json:"launch_nested_container,omitempty"` WaitNestedContainer *Call_WaitNestedContainer `protobuf:"bytes,7,opt,name=wait_nested_container,json=waitNestedContainer" json:"wait_nested_container,omitempty"` KillNestedContainer *Call_KillNestedContainer `protobuf:"bytes,8,opt,name=kill_nested_container,json=killNestedContainer" json:"kill_nested_container,omitempty"` + RemoveNestedContainer *Call_RemoveNestedContainer `protobuf:"bytes,12,opt,name=remove_nested_container,json=removeNestedContainer" json:"remove_nested_container,omitempty"` LaunchNestedContainerSession *Call_LaunchNestedContainerSession `protobuf:"bytes,9,opt,name=launch_nested_container_session,json=launchNestedContainerSession" json:"launch_nested_container_session,omitempty"` AttachContainerInput *Call_AttachContainerInput `protobuf:"bytes,10,opt,name=attach_container_input,json=attachContainerInput" json:"attach_container_input,omitempty"` AttachContainerOutput *Call_AttachContainerOutput `protobuf:"bytes,11,opt,name=attach_container_output,json=attachContainerOutput" json:"attach_container_output,omitempty"` @@ -445,6 +455,13 @@ func (m *Call) GetKillNestedContainer() *Call_KillNestedContainer { return nil } +func (m *Call) GetRemoveNestedContainer() *Call_RemoveNestedContainer { + if m != nil { + return m.RemoveNestedContainer + } + return nil +} + func (m *Call) GetLaunchNestedContainerSession() *Call_LaunchNestedContainerSession { if m != nil { return m.LaunchNestedContainerSession @@ -633,6 +650,25 @@ func (m *Call_KillNestedContainer) GetContainerID() mesos.ContainerID { return mesos.ContainerID{} } +// Removes a nested container and its artifacts (runtime and sandbox +// directories). +type Call_RemoveNestedContainer struct { + ContainerID mesos.ContainerID `protobuf:"bytes,1,req,name=container_id,json=containerId" json:"container_id"` +} + +func (m *Call_RemoveNestedContainer) Reset() { *m = Call_RemoveNestedContainer{} } +func (*Call_RemoveNestedContainer) ProtoMessage() {} +func (*Call_RemoveNestedContainer) Descriptor() ([]byte, []int) { + return fileDescriptorAgent, []int{0, 7} +} + +func (m *Call_RemoveNestedContainer) GetContainerID() mesos.ContainerID { + if m != nil { + return m.ContainerID + } + return mesos.ContainerID{} +} + // Launches a nested container within an executor's tree of containers. // The differences between this call and `LaunchNestedContainer` are: // 1) The container's life-cycle is tied to the lifetime of the @@ -651,7 +687,7 @@ type Call_LaunchNestedContainerSession struct { func (m *Call_LaunchNestedContainerSession) Reset() { *m = Call_LaunchNestedContainerSession{} } func (*Call_LaunchNestedContainerSession) ProtoMessage() {} func (*Call_LaunchNestedContainerSession) Descriptor() ([]byte, []int) { - return fileDescriptorAgent, []int{0, 7} + return fileDescriptorAgent, []int{0, 8} } func (m *Call_LaunchNestedContainerSession) GetContainerID() mesos.ContainerID { @@ -689,7 +725,7 @@ type Call_AttachContainerInput struct { func (m *Call_AttachContainerInput) Reset() { *m = Call_AttachContainerInput{} } func (*Call_AttachContainerInput) ProtoMessage() {} func (*Call_AttachContainerInput) Descriptor() ([]byte, []int) { - return fileDescriptorAgent, []int{0, 8} + return fileDescriptorAgent, []int{0, 9} } func (m *Call_AttachContainerInput) GetType() Call_AttachContainerInput_Type { @@ -724,7 +760,7 @@ type Call_AttachContainerOutput struct { func (m *Call_AttachContainerOutput) Reset() { *m = Call_AttachContainerOutput{} } func (*Call_AttachContainerOutput) ProtoMessage() {} func (*Call_AttachContainerOutput) Descriptor() ([]byte, []int) { - return fileDescriptorAgent, []int{0, 9} + return fileDescriptorAgent, []int{0, 10} } func (m *Call_AttachContainerOutput) GetContainerID() mesos.ContainerID { @@ -750,6 +786,7 @@ type Response struct { GetFrameworks *Response_GetFrameworks `protobuf:"bytes,11,opt,name=get_frameworks,json=getFrameworks" json:"get_frameworks,omitempty"` GetExecutors *Response_GetExecutors `protobuf:"bytes,12,opt,name=get_executors,json=getExecutors" json:"get_executors,omitempty"` GetTasks *Response_GetTasks `protobuf:"bytes,13,opt,name=get_tasks,json=getTasks" json:"get_tasks,omitempty"` + GetAgent *Response_GetAgent `protobuf:"bytes,15,opt,name=get_agent,json=getAgent" json:"get_agent,omitempty"` WaitNestedContainer *Response_WaitNestedContainer `protobuf:"bytes,14,opt,name=wait_nested_container,json=waitNestedContainer" json:"wait_nested_container,omitempty"` } @@ -848,6 +885,13 @@ func (m *Response) GetGetTasks() *Response_GetTasks { return nil } +func (m *Response) GetGetAgent() *Response_GetAgent { + if m != nil { + return m.GetAgent + } + return nil +} + func (m *Response) GetWaitNestedContainer() *Response_WaitNestedContainer { if m != nil { return m.WaitNestedContainer @@ -1225,6 +1269,22 @@ func (m *Response_GetTasks) GetCompletedTasks() []mesos.Task { return nil } +// Contains the agent's information. +type Response_GetAgent struct { + AgentInfo *mesos.AgentInfo `protobuf:"bytes,1,opt,name=agent_info,json=agentInfo" json:"agent_info,omitempty"` +} + +func (m *Response_GetAgent) Reset() { *m = Response_GetAgent{} } +func (*Response_GetAgent) ProtoMessage() {} +func (*Response_GetAgent) Descriptor() ([]byte, []int) { return fileDescriptorAgent, []int{1, 12} } + +func (m *Response_GetAgent) GetAgentInfo() *mesos.AgentInfo { + if m != nil { + return m.AgentInfo + } + return nil +} + // Returns termination information about the nested container. type Response_WaitNestedContainer struct { ExitStatus *int32 `protobuf:"varint,1,opt,name=exit_status,json=exitStatus" json:"exit_status,omitempty"` @@ -1233,7 +1293,7 @@ type Response_WaitNestedContainer struct { func (m *Response_WaitNestedContainer) Reset() { *m = Response_WaitNestedContainer{} } func (*Response_WaitNestedContainer) ProtoMessage() {} func (*Response_WaitNestedContainer) Descriptor() ([]byte, []int) { - return fileDescriptorAgent, []int{1, 12} + return fileDescriptorAgent, []int{1, 13} } func (m *Response_WaitNestedContainer) GetExitStatus() int32 { @@ -1360,6 +1420,7 @@ func init() { proto.RegisterType((*Call_LaunchNestedContainer)(nil), "mesos.agent.Call.LaunchNestedContainer") proto.RegisterType((*Call_WaitNestedContainer)(nil), "mesos.agent.Call.WaitNestedContainer") proto.RegisterType((*Call_KillNestedContainer)(nil), "mesos.agent.Call.KillNestedContainer") + proto.RegisterType((*Call_RemoveNestedContainer)(nil), "mesos.agent.Call.RemoveNestedContainer") proto.RegisterType((*Call_LaunchNestedContainerSession)(nil), "mesos.agent.Call.LaunchNestedContainerSession") proto.RegisterType((*Call_AttachContainerInput)(nil), "mesos.agent.Call.AttachContainerInput") proto.RegisterType((*Call_AttachContainerOutput)(nil), "mesos.agent.Call.AttachContainerOutput") @@ -1379,6 +1440,7 @@ func init() { proto.RegisterType((*Response_GetExecutors)(nil), "mesos.agent.Response.GetExecutors") proto.RegisterType((*Response_GetExecutors_Executor)(nil), "mesos.agent.Response.GetExecutors.Executor") proto.RegisterType((*Response_GetTasks)(nil), "mesos.agent.Response.GetTasks") + proto.RegisterType((*Response_GetAgent)(nil), "mesos.agent.Response.GetAgent") proto.RegisterType((*Response_WaitNestedContainer)(nil), "mesos.agent.Response.WaitNestedContainer") proto.RegisterType((*ProcessIO)(nil), "mesos.agent.ProcessIO") proto.RegisterType((*ProcessIO_Data)(nil), "mesos.agent.ProcessIO.Data") @@ -1482,6 +1544,9 @@ func (this *Call) VerboseEqual(that interface{}) error { if !this.KillNestedContainer.Equal(that1.KillNestedContainer) { return fmt.Errorf("KillNestedContainer this(%v) Not Equal that(%v)", this.KillNestedContainer, that1.KillNestedContainer) } + if !this.RemoveNestedContainer.Equal(that1.RemoveNestedContainer) { + return fmt.Errorf("RemoveNestedContainer this(%v) Not Equal that(%v)", this.RemoveNestedContainer, that1.RemoveNestedContainer) + } if !this.LaunchNestedContainerSession.Equal(that1.LaunchNestedContainerSession) { return fmt.Errorf("LaunchNestedContainerSession this(%v) Not Equal that(%v)", this.LaunchNestedContainerSession, that1.LaunchNestedContainerSession) } @@ -1542,6 +1607,9 @@ func (this *Call) Equal(that interface{}) bool { if !this.KillNestedContainer.Equal(that1.KillNestedContainer) { return false } + if !this.RemoveNestedContainer.Equal(that1.RemoveNestedContainer) { + return false + } if !this.LaunchNestedContainerSession.Equal(that1.LaunchNestedContainerSession) { return false } @@ -2015,6 +2083,66 @@ func (this *Call_KillNestedContainer) Equal(that interface{}) bool { } return true } +func (this *Call_RemoveNestedContainer) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*Call_RemoveNestedContainer) + if !ok { + that2, ok := that.(Call_RemoveNestedContainer) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *Call_RemoveNestedContainer") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *Call_RemoveNestedContainer but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *Call_RemoveNestedContainer but is not nil && this == nil") + } + if !this.ContainerID.Equal(&that1.ContainerID) { + return fmt.Errorf("ContainerID this(%v) Not Equal that(%v)", this.ContainerID, that1.ContainerID) + } + return nil +} +func (this *Call_RemoveNestedContainer) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*Call_RemoveNestedContainer) + if !ok { + that2, ok := that.(Call_RemoveNestedContainer) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if !this.ContainerID.Equal(&that1.ContainerID) { + return false + } + return true +} func (this *Call_LaunchNestedContainerSession) VerboseEqual(that interface{}) error { if that == nil { if this == nil { @@ -2283,6 +2411,9 @@ func (this *Response) VerboseEqual(that interface{}) error { if !this.GetTasks.Equal(that1.GetTasks) { return fmt.Errorf("GetTasks this(%v) Not Equal that(%v)", this.GetTasks, that1.GetTasks) } + if !this.GetAgent.Equal(that1.GetAgent) { + return fmt.Errorf("GetAgent this(%v) Not Equal that(%v)", this.GetAgent, that1.GetAgent) + } if !this.WaitNestedContainer.Equal(that1.WaitNestedContainer) { return fmt.Errorf("WaitNestedContainer this(%v) Not Equal that(%v)", this.WaitNestedContainer, that1.WaitNestedContainer) } @@ -2352,6 +2483,9 @@ func (this *Response) Equal(that interface{}) bool { if !this.GetTasks.Equal(that1.GetTasks) { return false } + if !this.GetAgent.Equal(that1.GetAgent) { + return false + } if !this.WaitNestedContainer.Equal(that1.WaitNestedContainer) { return false } @@ -3471,6 +3605,66 @@ func (this *Response_GetTasks) Equal(that interface{}) bool { } return true } +func (this *Response_GetAgent) VerboseEqual(that interface{}) error { + if that == nil { + if this == nil { + return nil + } + return fmt.Errorf("that == nil && this != nil") + } + + that1, ok := that.(*Response_GetAgent) + if !ok { + that2, ok := that.(Response_GetAgent) + if ok { + that1 = &that2 + } else { + return fmt.Errorf("that is not of type *Response_GetAgent") + } + } + if that1 == nil { + if this == nil { + return nil + } + return fmt.Errorf("that is type *Response_GetAgent but is nil && this != nil") + } else if this == nil { + return fmt.Errorf("that is type *Response_GetAgent but is not nil && this == nil") + } + if !this.AgentInfo.Equal(that1.AgentInfo) { + return fmt.Errorf("AgentInfo this(%v) Not Equal that(%v)", this.AgentInfo, that1.AgentInfo) + } + return nil +} +func (this *Response_GetAgent) Equal(that interface{}) bool { + if that == nil { + if this == nil { + return true + } + return false + } + + that1, ok := that.(*Response_GetAgent) + if !ok { + that2, ok := that.(Response_GetAgent) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + if this == nil { + return true + } + return false + } else if this == nil { + return false + } + if !this.AgentInfo.Equal(that1.AgentInfo) { + return false + } + return true +} func (this *Response_WaitNestedContainer) VerboseEqual(that interface{}) error { if that == nil { if this == nil { @@ -3817,7 +4011,7 @@ func (this *Call) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 15) + s := make([]string, 0, 16) s = append(s, "&agent.Call{") s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") if this.GetMetrics != nil { @@ -3841,6 +4035,9 @@ func (this *Call) GoString() string { if this.KillNestedContainer != nil { s = append(s, "KillNestedContainer: "+fmt.Sprintf("%#v", this.KillNestedContainer)+",\n") } + if this.RemoveNestedContainer != nil { + s = append(s, "RemoveNestedContainer: "+fmt.Sprintf("%#v", this.RemoveNestedContainer)+",\n") + } if this.LaunchNestedContainerSession != nil { s = append(s, "LaunchNestedContainerSession: "+fmt.Sprintf("%#v", this.LaunchNestedContainerSession)+",\n") } @@ -3936,6 +4133,16 @@ func (this *Call_KillNestedContainer) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *Call_RemoveNestedContainer) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&agent.Call_RemoveNestedContainer{") + s = append(s, "ContainerID: "+strings.Replace(this.ContainerID.GoString(), `&`, ``, 1)+",\n") + s = append(s, "}") + return strings.Join(s, "") +} func (this *Call_LaunchNestedContainerSession) GoString() string { if this == nil { return "nil" @@ -3982,7 +4189,7 @@ func (this *Response) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 18) + s := make([]string, 0, 19) s = append(s, "&agent.Response{") s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") if this.GetHealth != nil { @@ -4021,6 +4228,9 @@ func (this *Response) GoString() string { if this.GetTasks != nil { s = append(s, "GetTasks: "+fmt.Sprintf("%#v", this.GetTasks)+",\n") } + if this.GetAgent != nil { + s = append(s, "GetAgent: "+fmt.Sprintf("%#v", this.GetAgent)+",\n") + } if this.WaitNestedContainer != nil { s = append(s, "WaitNestedContainer: "+fmt.Sprintf("%#v", this.WaitNestedContainer)+",\n") } @@ -4229,6 +4439,18 @@ func (this *Response_GetTasks) GoString() string { s = append(s, "}") return strings.Join(s, "") } +func (this *Response_GetAgent) GoString() string { + if this == nil { + return "nil" + } + s := make([]string, 0, 5) + s = append(s, "&agent.Response_GetAgent{") + if this.AgentInfo != nil { + s = append(s, "AgentInfo: "+fmt.Sprintf("%#v", this.AgentInfo)+",\n") + } + s = append(s, "}") + return strings.Join(s, "") +} func (this *Response_WaitNestedContainer) GoString() string { if this == nil { return "nil" @@ -4424,6 +4646,16 @@ func (m *Call) MarshalTo(dAtA []byte) (int, error) { } i += n10 } + if m.RemoveNestedContainer != nil { + dAtA[i] = 0x62 + i++ + i = encodeVarintAgent(dAtA, i, uint64(m.RemoveNestedContainer.ProtoSize())) + n11, err := m.RemoveNestedContainer.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n11 + } return i, nil } @@ -4446,11 +4678,11 @@ func (m *Call_GetMetrics) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.Timeout.ProtoSize())) - n11, err := m.Timeout.MarshalTo(dAtA[i:]) + n12, err := m.Timeout.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n11 + i += n12 } return i, nil } @@ -4476,11 +4708,11 @@ func (m *Call_SetLoggingLevel) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintAgent(dAtA, i, uint64(m.Duration.ProtoSize())) - n12, err := m.Duration.MarshalTo(dAtA[i:]) + n13, err := m.Duration.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n12 + i += n13 return i, nil } @@ -4554,30 +4786,30 @@ func (m *Call_LaunchNestedContainer) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize())) - n13, err := m.ContainerID.MarshalTo(dAtA[i:]) + n14, err := m.ContainerID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n13 + i += n14 if m.Command != nil { dAtA[i] = 0x12 i++ i = encodeVarintAgent(dAtA, i, uint64(m.Command.ProtoSize())) - n14, err := m.Command.MarshalTo(dAtA[i:]) + n15, err := m.Command.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n14 + i += n15 } if m.Container != nil { dAtA[i] = 0x1a i++ i = encodeVarintAgent(dAtA, i, uint64(m.Container.ProtoSize())) - n15, err := m.Container.MarshalTo(dAtA[i:]) + n16, err := m.Container.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n15 + i += n16 } return i, nil } @@ -4600,11 +4832,11 @@ func (m *Call_WaitNestedContainer) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize())) - n16, err := m.ContainerID.MarshalTo(dAtA[i:]) + n17, err := m.ContainerID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n16 + i += n17 return i, nil } @@ -4626,11 +4858,37 @@ func (m *Call_KillNestedContainer) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize())) - n17, err := m.ContainerID.MarshalTo(dAtA[i:]) + n18, err := m.ContainerID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n17 + i += n18 + return i, nil +} + +func (m *Call_RemoveNestedContainer) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Call_RemoveNestedContainer) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0xa + i++ + i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize())) + n19, err := m.ContainerID.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n19 return i, nil } @@ -4652,30 +4910,30 @@ func (m *Call_LaunchNestedContainerSession) MarshalTo(dAtA []byte) (int, error) dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize())) - n18, err := m.ContainerID.MarshalTo(dAtA[i:]) + n20, err := m.ContainerID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n18 + i += n20 if m.Command != nil { dAtA[i] = 0x12 i++ i = encodeVarintAgent(dAtA, i, uint64(m.Command.ProtoSize())) - n19, err := m.Command.MarshalTo(dAtA[i:]) + n21, err := m.Command.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n19 + i += n21 } if m.Container != nil { dAtA[i] = 0x1a i++ i = encodeVarintAgent(dAtA, i, uint64(m.Container.ProtoSize())) - n20, err := m.Container.MarshalTo(dAtA[i:]) + n22, err := m.Container.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n20 + i += n22 } return i, nil } @@ -4702,21 +4960,21 @@ func (m *Call_AttachContainerInput) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize())) - n21, err := m.ContainerID.MarshalTo(dAtA[i:]) + n23, err := m.ContainerID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n21 + i += n23 } if m.ProcessIO != nil { dAtA[i] = 0x1a i++ i = encodeVarintAgent(dAtA, i, uint64(m.ProcessIO.ProtoSize())) - n22, err := m.ProcessIO.MarshalTo(dAtA[i:]) + n24, err := m.ProcessIO.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n22 + i += n24 } return i, nil } @@ -4739,11 +4997,11 @@ func (m *Call_AttachContainerOutput) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize())) - n23, err := m.ContainerID.MarshalTo(dAtA[i:]) + n25, err := m.ContainerID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n23 + i += n25 return i, nil } @@ -4769,131 +5027,141 @@ func (m *Response) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetHealth.ProtoSize())) - n24, err := m.GetHealth.MarshalTo(dAtA[i:]) + n26, err := m.GetHealth.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n24 + i += n26 } if m.GetFlags != nil { dAtA[i] = 0x1a i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetFlags.ProtoSize())) - n25, err := m.GetFlags.MarshalTo(dAtA[i:]) + n27, err := m.GetFlags.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n25 + i += n27 } if m.GetVersion != nil { dAtA[i] = 0x22 i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetVersion.ProtoSize())) - n26, err := m.GetVersion.MarshalTo(dAtA[i:]) + n28, err := m.GetVersion.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n26 + i += n28 } if m.GetMetrics != nil { dAtA[i] = 0x2a i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetMetrics.ProtoSize())) - n27, err := m.GetMetrics.MarshalTo(dAtA[i:]) + n29, err := m.GetMetrics.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n27 + i += n29 } if m.GetLoggingLevel != nil { dAtA[i] = 0x32 i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetLoggingLevel.ProtoSize())) - n28, err := m.GetLoggingLevel.MarshalTo(dAtA[i:]) + n30, err := m.GetLoggingLevel.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n28 + i += n30 } if m.ListFiles != nil { dAtA[i] = 0x3a i++ i = encodeVarintAgent(dAtA, i, uint64(m.ListFiles.ProtoSize())) - n29, err := m.ListFiles.MarshalTo(dAtA[i:]) + n31, err := m.ListFiles.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n29 + i += n31 } if m.ReadFile != nil { dAtA[i] = 0x42 i++ i = encodeVarintAgent(dAtA, i, uint64(m.ReadFile.ProtoSize())) - n30, err := m.ReadFile.MarshalTo(dAtA[i:]) + n32, err := m.ReadFile.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n30 + i += n32 } if m.GetState != nil { dAtA[i] = 0x4a i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetState.ProtoSize())) - n31, err := m.GetState.MarshalTo(dAtA[i:]) + n33, err := m.GetState.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n31 + i += n33 } if m.GetContainers != nil { dAtA[i] = 0x52 i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetContainers.ProtoSize())) - n32, err := m.GetContainers.MarshalTo(dAtA[i:]) + n34, err := m.GetContainers.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n32 + i += n34 } if m.GetFrameworks != nil { dAtA[i] = 0x5a i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetFrameworks.ProtoSize())) - n33, err := m.GetFrameworks.MarshalTo(dAtA[i:]) + n35, err := m.GetFrameworks.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n33 + i += n35 } if m.GetExecutors != nil { dAtA[i] = 0x62 i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetExecutors.ProtoSize())) - n34, err := m.GetExecutors.MarshalTo(dAtA[i:]) + n36, err := m.GetExecutors.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n34 + i += n36 } if m.GetTasks != nil { dAtA[i] = 0x6a i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetTasks.ProtoSize())) - n35, err := m.GetTasks.MarshalTo(dAtA[i:]) + n37, err := m.GetTasks.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n35 + i += n37 } if m.WaitNestedContainer != nil { dAtA[i] = 0x72 i++ i = encodeVarintAgent(dAtA, i, uint64(m.WaitNestedContainer.ProtoSize())) - n36, err := m.WaitNestedContainer.MarshalTo(dAtA[i:]) + n38, err := m.WaitNestedContainer.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n36 + i += n38 + } + if m.GetAgent != nil { + dAtA[i] = 0x7a + i++ + i = encodeVarintAgent(dAtA, i, uint64(m.GetAgent.ProtoSize())) + n39, err := m.GetAgent.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n39 } return i, nil } @@ -4972,11 +5240,11 @@ func (m *Response_GetVersion) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.VersionInfo.ProtoSize())) - n37, err := m.VersionInfo.MarshalTo(dAtA[i:]) + n40, err := m.VersionInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n37 + i += n40 return i, nil } @@ -5109,31 +5377,31 @@ func (m *Response_GetState) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetTasks.ProtoSize())) - n38, err := m.GetTasks.MarshalTo(dAtA[i:]) + n41, err := m.GetTasks.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n38 + i += n41 } if m.GetExecutors != nil { dAtA[i] = 0x12 i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetExecutors.ProtoSize())) - n39, err := m.GetExecutors.MarshalTo(dAtA[i:]) + n42, err := m.GetExecutors.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n39 + i += n42 } if m.GetFrameworks != nil { dAtA[i] = 0x1a i++ i = encodeVarintAgent(dAtA, i, uint64(m.GetFrameworks.ProtoSize())) - n40, err := m.GetFrameworks.MarshalTo(dAtA[i:]) + n43, err := m.GetFrameworks.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n40 + i += n43 } return i, nil } @@ -5186,19 +5454,19 @@ func (m *Response_GetContainers_Container) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.FrameworkID.ProtoSize())) - n41, err := m.FrameworkID.MarshalTo(dAtA[i:]) + n44, err := m.FrameworkID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n41 + i += n44 dAtA[i] = 0x12 i++ i = encodeVarintAgent(dAtA, i, uint64(m.ExecutorID.ProtoSize())) - n42, err := m.ExecutorID.MarshalTo(dAtA[i:]) + n45, err := m.ExecutorID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n42 + i += n45 dAtA[i] = 0x1a i++ i = encodeVarintAgent(dAtA, i, uint64(len(m.ExecutorName))) @@ -5206,30 +5474,30 @@ func (m *Response_GetContainers_Container) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintAgent(dAtA, i, uint64(m.ContainerID.ProtoSize())) - n43, err := m.ContainerID.MarshalTo(dAtA[i:]) + n46, err := m.ContainerID.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n43 + i += n46 if m.ContainerStatus != nil { dAtA[i] = 0x2a i++ i = encodeVarintAgent(dAtA, i, uint64(m.ContainerStatus.ProtoSize())) - n44, err := m.ContainerStatus.MarshalTo(dAtA[i:]) + n47, err := m.ContainerStatus.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n44 + i += n47 } if m.ResourceStatistics != nil { dAtA[i] = 0x32 i++ i = encodeVarintAgent(dAtA, i, uint64(m.ResourceStatistics.ProtoSize())) - n45, err := m.ResourceStatistics.MarshalTo(dAtA[i:]) + n48, err := m.ResourceStatistics.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n45 + i += n48 } return i, nil } @@ -5294,11 +5562,11 @@ func (m *Response_GetFrameworks_Framework) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.FrameworkInfo.ProtoSize())) - n46, err := m.FrameworkInfo.MarshalTo(dAtA[i:]) + n49, err := m.FrameworkInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n46 + i += n49 return i, nil } @@ -5362,11 +5630,11 @@ func (m *Response_GetExecutors_Executor) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.ExecutorInfo.ProtoSize())) - n47, err := m.ExecutorInfo.MarshalTo(dAtA[i:]) + n50, err := m.ExecutorInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n47 + i += n50 return i, nil } @@ -5448,7 +5716,7 @@ func (m *Response_GetTasks) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *Response_WaitNestedContainer) Marshal() (dAtA []byte, err error) { +func (m *Response_GetAgent) Marshal() (dAtA []byte, err error) { size := m.ProtoSize() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) @@ -5458,20 +5726,25 @@ func (m *Response_WaitNestedContainer) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Response_WaitNestedContainer) MarshalTo(dAtA []byte) (int, error) { +func (m *Response_GetAgent) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l - if m.ExitStatus != nil { - dAtA[i] = 0x8 + if m.AgentInfo != nil { + dAtA[i] = 0xa i++ - i = encodeVarintAgent(dAtA, i, uint64(*m.ExitStatus)) + i = encodeVarintAgent(dAtA, i, uint64(m.AgentInfo.ProtoSize())) + n51, err := m.AgentInfo.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n51 } return i, nil } -func (m *ProcessIO) Marshal() (dAtA []byte, err error) { +func (m *Response_WaitNestedContainer) Marshal() (dAtA []byte, err error) { size := m.ProtoSize() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) @@ -5481,33 +5754,56 @@ func (m *ProcessIO) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ProcessIO) MarshalTo(dAtA []byte) (int, error) { +func (m *Response_WaitNestedContainer) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l - dAtA[i] = 0x8 - i++ + if m.ExitStatus != nil { + dAtA[i] = 0x8 + i++ + i = encodeVarintAgent(dAtA, i, uint64(*m.ExitStatus)) + } + return i, nil +} + +func (m *ProcessIO) Marshal() (dAtA []byte, err error) { + size := m.ProtoSize() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ProcessIO) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0x8 + i++ i = encodeVarintAgent(dAtA, i, uint64(m.Type)) if m.Data != nil { dAtA[i] = 0x12 i++ i = encodeVarintAgent(dAtA, i, uint64(m.Data.ProtoSize())) - n48, err := m.Data.MarshalTo(dAtA[i:]) + n52, err := m.Data.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n48 + i += n52 } if m.Control != nil { dAtA[i] = 0x1a i++ i = encodeVarintAgent(dAtA, i, uint64(m.Control.ProtoSize())) - n49, err := m.Control.MarshalTo(dAtA[i:]) + n53, err := m.Control.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n49 + i += n53 } return i, nil } @@ -5561,21 +5857,21 @@ func (m *ProcessIO_Control) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintAgent(dAtA, i, uint64(m.TTYInfo.ProtoSize())) - n50, err := m.TTYInfo.MarshalTo(dAtA[i:]) + n54, err := m.TTYInfo.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n50 + i += n54 } if m.Heartbeat != nil { dAtA[i] = 0x1a i++ i = encodeVarintAgent(dAtA, i, uint64(m.Heartbeat.ProtoSize())) - n51, err := m.Heartbeat.MarshalTo(dAtA[i:]) + n55, err := m.Heartbeat.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n51 + i += n55 } return i, nil } @@ -5599,11 +5895,11 @@ func (m *ProcessIO_Control_Heartbeat) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintAgent(dAtA, i, uint64(m.Interval.ProtoSize())) - n52, err := m.Interval.MarshalTo(dAtA[i:]) + n56, err := m.Interval.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n52 + i += n56 } return i, nil } @@ -5637,7 +5933,7 @@ func encodeVarintAgent(dAtA []byte, offset int, v uint64) int { } func NewPopulatedCall(r randyAgent, easy bool) *Call { this := &Call{} - this.Type = Call_Type([]int32{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}[r.Intn(20)]) + this.Type = Call_Type([]int32{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 20, 14, 15, 16, 21, 17, 18, 19}[r.Intn(22)]) if r.Intn(10) != 0 { this.GetMetrics = NewPopulatedCall_GetMetrics(r, easy) } @@ -5668,6 +5964,9 @@ func NewPopulatedCall(r randyAgent, easy bool) *Call { if r.Intn(10) == 0 { this.AttachContainerOutput = NewPopulatedCall_AttachContainerOutput(r, easy) } + if r.Intn(10) == 0 { + this.RemoveNestedContainer = NewPopulatedCall_RemoveNestedContainer(r, easy) + } if !easy && r.Intn(10) != 0 { } return this @@ -5747,10 +6046,19 @@ func NewPopulatedCall_KillNestedContainer(r randyAgent, easy bool) *Call_KillNes return this } -func NewPopulatedCall_LaunchNestedContainerSession(r randyAgent, easy bool) *Call_LaunchNestedContainerSession { - this := &Call_LaunchNestedContainerSession{} +func NewPopulatedCall_RemoveNestedContainer(r randyAgent, easy bool) *Call_RemoveNestedContainer { + this := &Call_RemoveNestedContainer{} v6 := mesos.NewPopulatedContainerID(r, easy) this.ContainerID = *v6 + if !easy && r.Intn(10) != 0 { + } + return this +} + +func NewPopulatedCall_LaunchNestedContainerSession(r randyAgent, easy bool) *Call_LaunchNestedContainerSession { + this := &Call_LaunchNestedContainerSession{} + v7 := mesos.NewPopulatedContainerID(r, easy) + this.ContainerID = *v7 if r.Intn(10) != 0 { this.Command = mesos.NewPopulatedCommandInfo(r, easy) } @@ -5778,8 +6086,8 @@ func NewPopulatedCall_AttachContainerInput(r randyAgent, easy bool) *Call_Attach func NewPopulatedCall_AttachContainerOutput(r randyAgent, easy bool) *Call_AttachContainerOutput { this := &Call_AttachContainerOutput{} - v7 := mesos.NewPopulatedContainerID(r, easy) - this.ContainerID = *v7 + v8 := mesos.NewPopulatedContainerID(r, easy) + this.ContainerID = *v8 if !easy && r.Intn(10) != 0 { } return this @@ -5787,7 +6095,7 @@ func NewPopulatedCall_AttachContainerOutput(r randyAgent, easy bool) *Call_Attac func NewPopulatedResponse(r randyAgent, easy bool) *Response { this := &Response{} - this.Type = Response_Type([]int32{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13}[r.Intn(14)]) + this.Type = Response_Type([]int32{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 13}[r.Intn(15)]) if r.Intn(10) != 0 { this.GetHealth = NewPopulatedResponse_GetHealth(r, easy) } @@ -5827,6 +6135,9 @@ func NewPopulatedResponse(r randyAgent, easy bool) *Response { if r.Intn(10) != 0 { this.WaitNestedContainer = NewPopulatedResponse_WaitNestedContainer(r, easy) } + if r.Intn(10) != 0 { + this.GetAgent = NewPopulatedResponse_GetAgent(r, easy) + } if !easy && r.Intn(10) != 0 { } return this @@ -5843,11 +6154,11 @@ func NewPopulatedResponse_GetHealth(r randyAgent, easy bool) *Response_GetHealth func NewPopulatedResponse_GetFlags(r randyAgent, easy bool) *Response_GetFlags { this := &Response_GetFlags{} if r.Intn(10) != 0 { - v8 := r.Intn(5) - this.Flags = make([]mesos.Flag, v8) - for i := 0; i < v8; i++ { - v9 := mesos.NewPopulatedFlag(r, easy) - this.Flags[i] = *v9 + v9 := r.Intn(5) + this.Flags = make([]mesos.Flag, v9) + for i := 0; i < v9; i++ { + v10 := mesos.NewPopulatedFlag(r, easy) + this.Flags[i] = *v10 } } if !easy && r.Intn(10) != 0 { @@ -5857,8 +6168,8 @@ func NewPopulatedResponse_GetFlags(r randyAgent, easy bool) *Response_GetFlags { func NewPopulatedResponse_GetVersion(r randyAgent, easy bool) *Response_GetVersion { this := &Response_GetVersion{} - v10 := mesos.NewPopulatedVersionInfo(r, easy) - this.VersionInfo = *v10 + v11 := mesos.NewPopulatedVersionInfo(r, easy) + this.VersionInfo = *v11 if !easy && r.Intn(10) != 0 { } return this @@ -5867,11 +6178,11 @@ func NewPopulatedResponse_GetVersion(r randyAgent, easy bool) *Response_GetVersi func NewPopulatedResponse_GetMetrics(r randyAgent, easy bool) *Response_GetMetrics { this := &Response_GetMetrics{} if r.Intn(10) != 0 { - v11 := r.Intn(5) - this.Metrics = make([]mesos.Metric, v11) - for i := 0; i < v11; i++ { - v12 := mesos.NewPopulatedMetric(r, easy) - this.Metrics[i] = *v12 + v12 := r.Intn(5) + this.Metrics = make([]mesos.Metric, v12) + for i := 0; i < v12; i++ { + v13 := mesos.NewPopulatedMetric(r, easy) + this.Metrics[i] = *v13 } } if !easy && r.Intn(10) != 0 { @@ -5890,11 +6201,11 @@ func NewPopulatedResponse_GetLoggingLevel(r randyAgent, easy bool) *Response_Get func NewPopulatedResponse_ListFiles(r randyAgent, easy bool) *Response_ListFiles { this := &Response_ListFiles{} if r.Intn(10) != 0 { - v13 := r.Intn(5) - this.FileInfos = make([]mesos.FileInfo, v13) - for i := 0; i < v13; i++ { - v14 := mesos.NewPopulatedFileInfo(r, easy) - this.FileInfos[i] = *v14 + v14 := r.Intn(5) + this.FileInfos = make([]mesos.FileInfo, v14) + for i := 0; i < v14; i++ { + v15 := mesos.NewPopulatedFileInfo(r, easy) + this.FileInfos[i] = *v15 } } if !easy && r.Intn(10) != 0 { @@ -5905,9 +6216,9 @@ func NewPopulatedResponse_ListFiles(r randyAgent, easy bool) *Response_ListFiles func NewPopulatedResponse_ReadFile(r randyAgent, easy bool) *Response_ReadFile { this := &Response_ReadFile{} this.Size = uint64(uint64(r.Uint32())) - v15 := r.Intn(100) - this.Data = make([]byte, v15) - for i := 0; i < v15; i++ { + v16 := r.Intn(100) + this.Data = make([]byte, v16) + for i := 0; i < v16; i++ { this.Data[i] = byte(r.Intn(256)) } if !easy && r.Intn(10) != 0 { @@ -5934,11 +6245,11 @@ func NewPopulatedResponse_GetState(r randyAgent, easy bool) *Response_GetState { func NewPopulatedResponse_GetContainers(r randyAgent, easy bool) *Response_GetContainers { this := &Response_GetContainers{} if r.Intn(10) == 0 { - v16 := r.Intn(5) - this.Containers = make([]Response_GetContainers_Container, v16) - for i := 0; i < v16; i++ { - v17 := NewPopulatedResponse_GetContainers_Container(r, easy) - this.Containers[i] = *v17 + v17 := r.Intn(5) + this.Containers = make([]Response_GetContainers_Container, v17) + for i := 0; i < v17; i++ { + v18 := NewPopulatedResponse_GetContainers_Container(r, easy) + this.Containers[i] = *v18 } } if !easy && r.Intn(10) != 0 { @@ -5948,13 +6259,13 @@ func NewPopulatedResponse_GetContainers(r randyAgent, easy bool) *Response_GetCo func NewPopulatedResponse_GetContainers_Container(r randyAgent, easy bool) *Response_GetContainers_Container { this := &Response_GetContainers_Container{} - v18 := mesos.NewPopulatedFrameworkID(r, easy) - this.FrameworkID = *v18 - v19 := mesos.NewPopulatedExecutorID(r, easy) - this.ExecutorID = *v19 + v19 := mesos.NewPopulatedFrameworkID(r, easy) + this.FrameworkID = *v19 + v20 := mesos.NewPopulatedExecutorID(r, easy) + this.ExecutorID = *v20 this.ExecutorName = string(randStringAgent(r)) - v20 := mesos.NewPopulatedContainerID(r, easy) - this.ContainerID = *v20 + v21 := mesos.NewPopulatedContainerID(r, easy) + this.ContainerID = *v21 if r.Intn(10) == 0 { this.ContainerStatus = mesos.NewPopulatedContainerStatus(r, easy) } @@ -5969,19 +6280,19 @@ func NewPopulatedResponse_GetContainers_Container(r randyAgent, easy bool) *Resp func NewPopulatedResponse_GetFrameworks(r randyAgent, easy bool) *Response_GetFrameworks { this := &Response_GetFrameworks{} if r.Intn(10) != 0 { - v21 := r.Intn(5) - this.Frameworks = make([]Response_GetFrameworks_Framework, v21) - for i := 0; i < v21; i++ { - v22 := NewPopulatedResponse_GetFrameworks_Framework(r, easy) - this.Frameworks[i] = *v22 + v22 := r.Intn(5) + this.Frameworks = make([]Response_GetFrameworks_Framework, v22) + for i := 0; i < v22; i++ { + v23 := NewPopulatedResponse_GetFrameworks_Framework(r, easy) + this.Frameworks[i] = *v23 } } if r.Intn(10) != 0 { - v23 := r.Intn(5) - this.CompletedFrameworks = make([]Response_GetFrameworks_Framework, v23) - for i := 0; i < v23; i++ { - v24 := NewPopulatedResponse_GetFrameworks_Framework(r, easy) - this.CompletedFrameworks[i] = *v24 + v24 := r.Intn(5) + this.CompletedFrameworks = make([]Response_GetFrameworks_Framework, v24) + for i := 0; i < v24; i++ { + v25 := NewPopulatedResponse_GetFrameworks_Framework(r, easy) + this.CompletedFrameworks[i] = *v25 } } if !easy && r.Intn(10) != 0 { @@ -5991,8 +6302,8 @@ func NewPopulatedResponse_GetFrameworks(r randyAgent, easy bool) *Response_GetFr func NewPopulatedResponse_GetFrameworks_Framework(r randyAgent, easy bool) *Response_GetFrameworks_Framework { this := &Response_GetFrameworks_Framework{} - v25 := mesos.NewPopulatedFrameworkInfo(r, easy) - this.FrameworkInfo = *v25 + v26 := mesos.NewPopulatedFrameworkInfo(r, easy) + this.FrameworkInfo = *v26 if !easy && r.Intn(10) != 0 { } return this @@ -6001,19 +6312,19 @@ func NewPopulatedResponse_GetFrameworks_Framework(r randyAgent, easy bool) *Resp func NewPopulatedResponse_GetExecutors(r randyAgent, easy bool) *Response_GetExecutors { this := &Response_GetExecutors{} if r.Intn(10) != 0 { - v26 := r.Intn(5) - this.Executors = make([]Response_GetExecutors_Executor, v26) - for i := 0; i < v26; i++ { - v27 := NewPopulatedResponse_GetExecutors_Executor(r, easy) - this.Executors[i] = *v27 + v27 := r.Intn(5) + this.Executors = make([]Response_GetExecutors_Executor, v27) + for i := 0; i < v27; i++ { + v28 := NewPopulatedResponse_GetExecutors_Executor(r, easy) + this.Executors[i] = *v28 } } if r.Intn(10) != 0 { - v28 := r.Intn(5) - this.CompletedExecutors = make([]Response_GetExecutors_Executor, v28) - for i := 0; i < v28; i++ { - v29 := NewPopulatedResponse_GetExecutors_Executor(r, easy) - this.CompletedExecutors[i] = *v29 + v29 := r.Intn(5) + this.CompletedExecutors = make([]Response_GetExecutors_Executor, v29) + for i := 0; i < v29; i++ { + v30 := NewPopulatedResponse_GetExecutors_Executor(r, easy) + this.CompletedExecutors[i] = *v30 } } if !easy && r.Intn(10) != 0 { @@ -6023,8 +6334,8 @@ func NewPopulatedResponse_GetExecutors(r randyAgent, easy bool) *Response_GetExe func NewPopulatedResponse_GetExecutors_Executor(r randyAgent, easy bool) *Response_GetExecutors_Executor { this := &Response_GetExecutors_Executor{} - v30 := mesos.NewPopulatedExecutorInfo(r, easy) - this.ExecutorInfo = *v30 + v31 := mesos.NewPopulatedExecutorInfo(r, easy) + this.ExecutorInfo = *v31 if !easy && r.Intn(10) != 0 { } return this @@ -6033,43 +6344,43 @@ func NewPopulatedResponse_GetExecutors_Executor(r randyAgent, easy bool) *Respon func NewPopulatedResponse_GetTasks(r randyAgent, easy bool) *Response_GetTasks { this := &Response_GetTasks{} if r.Intn(10) == 0 { - v31 := r.Intn(5) - this.PendingTasks = make([]mesos.Task, v31) - for i := 0; i < v31; i++ { - v32 := mesos.NewPopulatedTask(r, easy) - this.PendingTasks[i] = *v32 + v32 := r.Intn(5) + this.PendingTasks = make([]mesos.Task, v32) + for i := 0; i < v32; i++ { + v33 := mesos.NewPopulatedTask(r, easy) + this.PendingTasks[i] = *v33 } } if r.Intn(10) == 0 { - v33 := r.Intn(5) - this.QueuedTasks = make([]mesos.Task, v33) - for i := 0; i < v33; i++ { - v34 := mesos.NewPopulatedTask(r, easy) - this.QueuedTasks[i] = *v34 + v34 := r.Intn(5) + this.QueuedTasks = make([]mesos.Task, v34) + for i := 0; i < v34; i++ { + v35 := mesos.NewPopulatedTask(r, easy) + this.QueuedTasks[i] = *v35 } } if r.Intn(10) == 0 { - v35 := r.Intn(5) - this.LaunchedTasks = make([]mesos.Task, v35) - for i := 0; i < v35; i++ { - v36 := mesos.NewPopulatedTask(r, easy) - this.LaunchedTasks[i] = *v36 + v36 := r.Intn(5) + this.LaunchedTasks = make([]mesos.Task, v36) + for i := 0; i < v36; i++ { + v37 := mesos.NewPopulatedTask(r, easy) + this.LaunchedTasks[i] = *v37 } } if r.Intn(10) == 0 { - v37 := r.Intn(5) - this.TerminatedTasks = make([]mesos.Task, v37) - for i := 0; i < v37; i++ { - v38 := mesos.NewPopulatedTask(r, easy) - this.TerminatedTasks[i] = *v38 + v38 := r.Intn(5) + this.TerminatedTasks = make([]mesos.Task, v38) + for i := 0; i < v38; i++ { + v39 := mesos.NewPopulatedTask(r, easy) + this.TerminatedTasks[i] = *v39 } } if r.Intn(10) == 0 { - v39 := r.Intn(5) - this.CompletedTasks = make([]mesos.Task, v39) - for i := 0; i < v39; i++ { - v40 := mesos.NewPopulatedTask(r, easy) - this.CompletedTasks[i] = *v40 + v40 := r.Intn(5) + this.CompletedTasks = make([]mesos.Task, v40) + for i := 0; i < v40; i++ { + v41 := mesos.NewPopulatedTask(r, easy) + this.CompletedTasks[i] = *v41 } } if !easy && r.Intn(10) != 0 { @@ -6077,14 +6388,24 @@ func NewPopulatedResponse_GetTasks(r randyAgent, easy bool) *Response_GetTasks { return this } +func NewPopulatedResponse_GetAgent(r randyAgent, easy bool) *Response_GetAgent { + this := &Response_GetAgent{} + if r.Intn(10) != 0 { + this.AgentInfo = mesos.NewPopulatedAgentInfo(r, easy) + } + if !easy && r.Intn(10) != 0 { + } + return this +} + func NewPopulatedResponse_WaitNestedContainer(r randyAgent, easy bool) *Response_WaitNestedContainer { this := &Response_WaitNestedContainer{} if r.Intn(10) != 0 { - v41 := int32(r.Int31()) + v42 := int32(r.Int31()) if r.Intn(2) == 0 { - v41 *= -1 + v42 *= -1 } - this.ExitStatus = &v41 + this.ExitStatus = &v42 } if !easy && r.Intn(10) != 0 { } @@ -6109,9 +6430,9 @@ func NewPopulatedProcessIO_Data(r randyAgent, easy bool) *ProcessIO_Data { this := &ProcessIO_Data{} this.Type = ProcessIO_Data_Type([]int32{0, 1, 2, 3}[r.Intn(4)]) if r.Intn(10) != 0 { - v42 := r.Intn(100) - this.Data = make([]byte, v42) - for i := 0; i < v42; i++ { + v43 := r.Intn(100) + this.Data = make([]byte, v43) + for i := 0; i < v43; i++ { this.Data[i] = byte(r.Intn(256)) } } @@ -6163,9 +6484,9 @@ func randUTF8RuneAgent(r randyAgent) rune { return rune(ru + 61) } func randStringAgent(r randyAgent) string { - v43 := r.Intn(100) - tmps := make([]rune, v43) - for i := 0; i < v43; i++ { + v44 := r.Intn(100) + tmps := make([]rune, v44) + for i := 0; i < v44; i++ { tmps[i] = randUTF8RuneAgent(r) } return string(tmps) @@ -6187,11 +6508,11 @@ func randFieldAgent(dAtA []byte, r randyAgent, fieldNumber int, wire int) []byte switch wire { case 0: dAtA = encodeVarintPopulateAgent(dAtA, uint64(key)) - v44 := r.Int63() + v45 := r.Int63() if r.Intn(2) == 0 { - v44 *= -1 + v45 *= -1 } - dAtA = encodeVarintPopulateAgent(dAtA, uint64(v44)) + dAtA = encodeVarintPopulateAgent(dAtA, uint64(v45)) case 1: dAtA = encodeVarintPopulateAgent(dAtA, uint64(key)) dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) @@ -6260,6 +6581,10 @@ func (m *Call) ProtoSize() (n int) { l = m.AttachContainerOutput.ProtoSize() n += 1 + l + sovAgent(uint64(l)) } + if m.RemoveNestedContainer != nil { + l = m.RemoveNestedContainer.ProtoSize() + n += 1 + l + sovAgent(uint64(l)) + } return n } @@ -6334,6 +6659,14 @@ func (m *Call_KillNestedContainer) ProtoSize() (n int) { return n } +func (m *Call_RemoveNestedContainer) ProtoSize() (n int) { + var l int + _ = l + l = m.ContainerID.ProtoSize() + n += 1 + l + sovAgent(uint64(l)) + return n +} + func (m *Call_LaunchNestedContainerSession) ProtoSize() (n int) { var l int _ = l @@ -6429,6 +6762,10 @@ func (m *Response) ProtoSize() (n int) { l = m.WaitNestedContainer.ProtoSize() n += 1 + l + sovAgent(uint64(l)) } + if m.GetAgent != nil { + l = m.GetAgent.ProtoSize() + n += 1 + l + sovAgent(uint64(l)) + } return n } @@ -6641,6 +6978,16 @@ func (m *Response_GetTasks) ProtoSize() (n int) { return n } +func (m *Response_GetAgent) ProtoSize() (n int) { + var l int + _ = l + if m.AgentInfo != nil { + l = m.AgentInfo.ProtoSize() + n += 1 + l + sovAgent(uint64(l)) + } + return n +} + func (m *Response_WaitNestedContainer) ProtoSize() (n int) { var l int _ = l @@ -6730,6 +7077,7 @@ func (this *Call) String() string { `LaunchNestedContainerSession:` + strings.Replace(fmt.Sprintf("%v", this.LaunchNestedContainerSession), "Call_LaunchNestedContainerSession", "Call_LaunchNestedContainerSession", 1) + `,`, `AttachContainerInput:` + strings.Replace(fmt.Sprintf("%v", this.AttachContainerInput), "Call_AttachContainerInput", "Call_AttachContainerInput", 1) + `,`, `AttachContainerOutput:` + strings.Replace(fmt.Sprintf("%v", this.AttachContainerOutput), "Call_AttachContainerOutput", "Call_AttachContainerOutput", 1) + `,`, + `RemoveNestedContainer:` + strings.Replace(fmt.Sprintf("%v", this.RemoveNestedContainer), "Call_RemoveNestedContainer", "Call_RemoveNestedContainer", 1) + `,`, `}`, }, "") return s @@ -6809,6 +7157,16 @@ func (this *Call_KillNestedContainer) String() string { }, "") return s } +func (this *Call_RemoveNestedContainer) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&Call_RemoveNestedContainer{`, + `ContainerID:` + strings.Replace(strings.Replace(this.ContainerID.String(), "ContainerID", "mesos.ContainerID", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} func (this *Call_LaunchNestedContainerSession) String() string { if this == nil { return "nil" @@ -6862,6 +7220,7 @@ func (this *Response) String() string { `GetExecutors:` + strings.Replace(fmt.Sprintf("%v", this.GetExecutors), "Response_GetExecutors", "Response_GetExecutors", 1) + `,`, `GetTasks:` + strings.Replace(fmt.Sprintf("%v", this.GetTasks), "Response_GetTasks", "Response_GetTasks", 1) + `,`, `WaitNestedContainer:` + strings.Replace(fmt.Sprintf("%v", this.WaitNestedContainer), "Response_WaitNestedContainer", "Response_WaitNestedContainer", 1) + `,`, + `GetAgent:` + strings.Replace(fmt.Sprintf("%v", this.GetAgent), "Response_GetAgent", "Response_GetAgent", 1) + `,`, `}`, }, "") return s @@ -7030,6 +7389,16 @@ func (this *Response_GetTasks) String() string { }, "") return s } +func (this *Response_GetAgent) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&Response_GetAgent{`, + `AgentInfo:` + strings.Replace(fmt.Sprintf("%v", this.AgentInfo), "AgentInfo", "mesos.AgentInfo", 1) + `,`, + `}`, + }, "") + return s +} func (this *Response_WaitNestedContainer) String() string { if this == nil { return "nil" @@ -7471,6 +7840,39 @@ func (m *Call) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RemoveNestedContainer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RemoveNestedContainer == nil { + m.RemoveNestedContainer = &Call_RemoveNestedContainer{} + } + if err := m.RemoveNestedContainer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipAgent(dAtA[iNdEx:]) @@ -8215,6 +8617,91 @@ func (m *Call_KillNestedContainer) Unmarshal(dAtA []byte) error { } return nil } +func (m *Call_RemoveNestedContainer) Unmarshal(dAtA []byte) error { + var hasFields [1]uint64 + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RemoveNestedContainer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RemoveNestedContainer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerID", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ContainerID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + hasFields[0] |= uint64(0x00000001) + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + if hasFields[0]&uint64(0x00000001) == 0 { + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("container_id") + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *Call_LaunchNestedContainerSession) Unmarshal(dAtA []byte) error { var hasFields [1]uint64 l := len(dAtA) @@ -9063,6 +9550,39 @@ func (m *Response) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GetAgent", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.GetAgent == nil { + m.GetAgent = &Response_GetAgent{} + } + if err := m.GetAgent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipAgent(dAtA[iNdEx:]) @@ -10751,6 +11271,89 @@ func (m *Response_GetTasks) Unmarshal(dAtA []byte) error { } return nil } +func (m *Response_GetAgent) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetAgent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetAgent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AgentInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgent + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAgent + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AgentInfo == nil { + m.AgentInfo = &mesos.AgentInfo{} + } + if err := m.AgentInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAgent(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthAgent + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *Response_WaitNestedContainer) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -11382,143 +11985,148 @@ var ( func init() { proto.RegisterFile("agent/agent.proto", fileDescriptorAgent) } var fileDescriptorAgent = []byte{ - // 2198 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0x4f, 0x6c, 0xdb, 0xc8, - 0xf5, 0x36, 0x65, 0xd9, 0x92, 0x9e, 0xfe, 0x98, 0x1e, 0xdb, 0x59, 0x2d, 0x37, 0x90, 0xfd, 0x73, - 0xb0, 0xbf, 0xcd, 0x22, 0x8d, 0x9d, 0xba, 0xd9, 0x34, 0x48, 0xb2, 0x01, 0x64, 0x8b, 0xb6, 0x99, - 0x28, 0x52, 0x4a, 0xd2, 0x49, 0xb3, 0x68, 0x41, 0x30, 0xd2, 0x48, 0x26, 0x42, 0x89, 0xae, 0x38, - 0x4a, 0x9a, 0x9e, 0x7a, 0xe8, 0xa1, 0x87, 0x02, 0xed, 0xa1, 0xc7, 0x1e, 0x0a, 0x14, 0x05, 0xf6, - 0xd0, 0x4b, 0x4f, 0xed, 0xa9, 0xe8, 0xa5, 0xc0, 0x1e, 0x0a, 0x74, 0x8f, 0x3d, 0x14, 0x41, 0xa3, - 0xbd, 0xf4, 0x98, 0x63, 0x8f, 0xc5, 0x0c, 0x67, 0x48, 0xca, 0xa4, 0x9c, 0x34, 0x0d, 0x0a, 0xf4, - 0x22, 0xcc, 0xbc, 0xf9, 0xde, 0x37, 0xc3, 0x37, 0xf3, 0xbd, 0x79, 0x23, 0x58, 0xb6, 0xfb, 0x78, - 0x48, 0xb6, 0xd9, 0xef, 0xd6, 0xc9, 0xc8, 0x23, 0x1e, 0x2a, 0x0e, 0xb0, 0xef, 0xf9, 0x5b, 0xcc, - 0xa4, 0x5c, 0xe9, 0x3b, 0xe4, 0x78, 0xfc, 0x78, 0xab, 0xe3, 0x0d, 0xb6, 0x99, 0x3d, 0xf8, 0xbd, - 0xdc, 0xf7, 0xb6, 0xed, 0x13, 0x67, 0xfb, 0xe9, 0xd7, 0xb7, 0x5d, 0xe7, 0x71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0xd5, 0x07, 0x6a, 0x53, 0x5e, 0xa0, 0x66, 0x23, 0x61, 0x5e, 0xa4, - 0xd3, 0x35, 0x35, 0xc3, 0xb4, 0xf6, 0xb5, 0xa6, 0x6a, 0xc8, 0x39, 0x3a, 0x9d, 0xae, 0xd6, 0x1b, - 0xac, 0x2f, 0xe7, 0xc5, 0xec, 0x86, 0x59, 0x37, 0x55, 0xb9, 0x80, 0x10, 0x54, 0x68, 0x37, 0x8c, - 0xa1, 0x21, 0x83, 0xb0, 0xed, 0xeb, 0xf5, 0x7b, 0xea, 0xc3, 0xb6, 0x7e, 0xd7, 0x90, 0x8b, 0x68, - 0x19, 0xca, 0xd4, 0xa6, 0x7e, 0x5b, 0xdd, 0x3b, 0x32, 0xdb, 0xba, 0x21, 0x97, 0x04, 0x93, 0x59, - 0x37, 0xee, 0x1a, 0x72, 0x19, 0x7d, 0x00, 0xef, 0x35, 0xeb, 0x47, 0xad, 0xbd, 0x43, 0xab, 0xa5, - 0x1a, 0xa6, 0xda, 0x88, 0x38, 0xe5, 0x0a, 0x7a, 0x1f, 0xd6, 0x1e, 0xd6, 0x35, 0x33, 0x39, 0xb4, - 0x44, 0x87, 0xee, 0x6a, 0xcd, 0x66, 0x72, 0x48, 0x46, 0x17, 0x60, 0x7d, 0x06, 0xa5, 0x65, 0xa8, - 0x06, 0x0b, 0xd7, 0x32, 0x52, 0xe0, 0x5c, 0xdd, 0x34, 0xeb, 0x7b, 0x87, 0xb1, 0x51, 0xad, 0x75, - 0xff, 0xc8, 0x94, 0x11, 0x5d, 0x53, 0x62, 0xac, 0x7d, 0x64, 0xd2, 0xc1, 0x95, 0xe0, 0x60, 0x6c, - 0xbe, 0x7a, 0x9f, 0x66, 0x7f, 0xff, 0xc4, 0x1b, 0xfa, 0x18, 0x5d, 0x9d, 0xd2, 0xcd, 0x74, 0x51, - 0x25, 0x40, 0x49, 0x99, 0xdc, 0x06, 0x5a, 0x28, 0x5a, 0xc7, 0xd8, 0x76, 0xc9, 0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 0x39, - 0x46, 0xdb, 0x28, 0x8e, 0x43, 0x44, 0x83, 0x7a, 0xb0, 0xda, 0xf1, 0x06, 0x27, 0x2e, 0xa6, 0x79, - 0x34, 0x46, 0x9f, 0x79, 0x7b, 0xfa, 0x95, 0x90, 0x30, 0x76, 0xba, 0x5b, 0x50, 0x08, 0x7b, 0xa8, - 0x0e, 0x95, 0xd8, 0xa9, 0x8b, 0x32, 0xde, 0x6a, 0xe2, 0xdc, 0x45, 0x29, 0xa4, 0xdc, 0x8b, 0x1b, - 0x95, 0x9f, 0x66, 0xa0, 0x14, 0x17, 0x26, 0x6a, 0x43, 0x21, 0xd2, 0x73, 0x10, 0x9c, 0x4b, 0xaf, - 0xd7, 0x73, 0x78, 0x2e, 0x45, 0xa2, 0x0a, 0x39, 0xd0, 0x63, 0x88, 0x3e, 0x64, 0x2a, 0x55, 0xbc, - 0x25, 0x35, 0x0a, 0xd9, 0x42, 0x88, 0x72, 0x07, 0xf2, 0xa2, 0x83, 0x6e, 0xc7, 0x8e, 0x7d, 0x2c, - 0x26, 0x2b, 0xa7, 0x05, 0x14, 0x85, 0x24, 0xd4, 0x02, 0x8b, 0xc8, 0x6f, 0x32, 0x2c, 0x3d, 0x06, - 0x19, 0xee, 0x1a, 0x94, 0x4f, 0xf0, 0xb0, 0x4b, 0xeb, 0x28, 0x91, 0x22, 0xe3, 0x17, 0x12, 0x05, - 0x09, 0x12, 0x8e, 0x0b, 0xfc, 0xae, 0x42, 0xe9, 0x7b, 0x63, 0x3c, 0xc6, 0x5d, 0xee, 0x96, 0x99, - 0xe5, 0x56, 0x0c, 0x60, 0x81, 0xd7, 0x75, 0xa8, 0x04, 0xff, 0x52, 0x85, 0x7e, 0xf3, 0xb3, 0xfc, - 0xca, 0x02, 0x18, 0x78, 0xde, 0x02, 0x99, 0xe0, 0xd1, 0xc0, 0x19, 0xda, 0x24, 0xf4, 0xcd, 0xce, - 0xf2, 0x5d, 0x8a, 0xa0, 0x81, 0xf7, 0x0d, 0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x3e, 0x5b, 0x60, 0x31, 0xf9, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x13, 0x7c, - 0xa8, 0x8a, 0xc5, 0x1a, 0x00, 0x00, + // 2281 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0x4d, 0x6c, 0xdb, 0xc8, + 0x15, 0x36, 0x65, 0xd9, 0x92, 0x9e, 0x24, 0x9b, 0x1e, 0xff, 0xac, 0x96, 0x1b, 0xc8, 0xae, 0x83, + 0xed, 0x66, 0x91, 0xc6, 0x4e, 0xdd, 0x6c, 0x1a, 0xc4, 0xd9, 0x00, 0xb4, 0x4d, 0xdb, 0x4c, 0x14, + 0x29, 0x25, 0xe9, 0xa4, 0x59, 0xb4, 0x10, 0x18, 0x69, 0x24, 0x13, 0xa1, 0x44, 0x57, 0x1c, 0x39, + 0x4d, 0x4f, 0x3d, 0xf6, 0x50, 0xa0, 0x05, 0xda, 0x63, 0x0f, 0x05, 0x8a, 0x02, 0x7b, 0xe8, 0xbd, + 0x3d, 0x15, 0xed, 0xa1, 0xc0, 0x1e, 0x7a, 0xd8, 0x63, 0x0f, 0x6d, 0xd0, 0x68, 0x2f, 0x3d, 0xee, + 0xb1, 0xbd, 0x15, 0x33, 0x9c, 0x21, 0x29, 0x93, 0xb2, 0xd3, 0x34, 0x28, 0xd0, 0x8b, 0x31, 0xf3, + 0xe6, 0x7b, 0xdf, 0x1b, 0x3d, 0xbe, 0xf7, 0xf8, 0x1e, 0x0d, 0x0b, 0x76, 0x17, 0xf7, 0xc9, 0x26, + 0xfb, 0xbb, 0x71, 0x32, 0xf0, 0x88, 0x87, 0x8a, 0x3d, 0xec, 0x7b, 0xfe, 0x06, 0x13, 0x29, 0xd7, + 0xbb, 0x0e, 0x39, 0x1e, 0x3e, 0xdd, 0x68, 0x79, 0xbd, 0x4d, 0x26, 0x0f, 0xfe, 0x5e, 0xeb, 0x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xfd, 0x46, 0x90, 0x62, 0x87, 0x9a, 0x6a, 0x58, 0x3b, + 0x9a, 0x6a, 0x89, 0x0f, 0x49, 0xeb, 0xd7, 0xd3, 0xf4, 0xf2, 0x90, 0xdd, 0x53, 0x2d, 0x55, 0x96, + 0xa8, 0x98, 0xc6, 0xae, 0xd1, 0xa8, 0x09, 0x8d, 0x9d, 0xdd, 0xcf, 0x5f, 0x55, 0xa7, 0xfe, 0xf2, + 0xaa, 0x3a, 0xf5, 0xf7, 0x57, 0x55, 0xe9, 0xcb, 0x57, 0x55, 0xe9, 0x9f, 0xaf, 0xaa, 0xd2, 0x0f, + 0x47, 0x55, 0xe9, 0xd3, 0x51, 0x55, 0xfa, 0xdd, 0xa8, 0x2a, 0xfd, 0x61, 0x54, 0x95, 0x3e, 0x1b, + 0x55, 0xa5, 0xcf, 0x47, 0x55, 0xe9, 0x1f, 0xa3, 0xea, 0xd4, 0x97, 0xa3, 0xaa, 0xf4, 0xd3, 0x2f, + 0xaa, 0x53, 0xbf, 0xfc, 0xa2, 0x2a, 0x7d, 0x32, 0xc3, 0x7c, 0xf2, 0xef, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x89, 0xfa, 0xf1, 0xd9, 0x40, 0x1c, 0x00, 0x00, } diff --git a/api/v1/lib/agent/agent.pb_ffjson.go b/api/v1/lib/agent/agent.pb_ffjson.go index a0597f3e..f750419f 100644 --- a/api/v1/lib/agent/agent.pb_ffjson.go +++ b/api/v1/lib/agent/agent.pb_ffjson.go @@ -153,6 +153,21 @@ func (mj *Call) MarshalJSONBuf(buf fflib.EncodingBuffer) error { buf.WriteByte(',') } } + if mj.RemoveNestedContainer != nil { + if true { + buf.WriteString(`"remove_nested_container":`) + + { + + err = mj.RemoveNestedContainer.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } if mj.LaunchNestedContainerSession != nil { if true { buf.WriteString(`"launch_nested_container_session":`) @@ -223,6 +238,8 @@ const ( ffj_t_Call_KillNestedContainer + ffj_t_Call_RemoveNestedContainer + ffj_t_Call_LaunchNestedContainerSession ffj_t_Call_AttachContainerInput @@ -246,6 +263,8 @@ var ffj_key_Call_WaitNestedContainer = []byte("wait_nested_container") var ffj_key_Call_KillNestedContainer = []byte("kill_nested_container") +var ffj_key_Call_RemoveNestedContainer = []byte("remove_nested_container") + var ffj_key_Call_LaunchNestedContainerSession = []byte("launch_nested_container_session") var ffj_key_Call_AttachContainerInput = []byte("attach_container_input") @@ -364,6 +383,11 @@ mainparse: currentKey = ffj_t_Call_ReadFile state = fflib.FFParse_want_colon goto mainparse + + } else if bytes.Equal(ffj_key_Call_RemoveNestedContainer, kn) { + currentKey = ffj_t_Call_RemoveNestedContainer + state = fflib.FFParse_want_colon + goto mainparse } case 's': @@ -410,6 +434,12 @@ mainparse: goto mainparse } + if fflib.EqualFoldRight(ffj_key_Call_RemoveNestedContainer, kn) { + currentKey = ffj_t_Call_RemoveNestedContainer + state = fflib.FFParse_want_colon + goto mainparse + } + if fflib.EqualFoldRight(ffj_key_Call_KillNestedContainer, kn) { currentKey = ffj_t_Call_KillNestedContainer state = fflib.FFParse_want_colon @@ -499,6 +529,9 @@ mainparse: case ffj_t_Call_KillNestedContainer: goto handle_KillNestedContainer + case ffj_t_Call_RemoveNestedContainer: + goto handle_RemoveNestedContainer + case ffj_t_Call_LaunchNestedContainerSession: goto handle_LaunchNestedContainerSession @@ -737,6 +770,33 @@ handle_KillNestedContainer: state = fflib.FFParse_after_value goto mainparse +handle_RemoveNestedContainer: + + /* handler: uj.RemoveNestedContainer type=agent.Call_RemoveNestedContainer kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.RemoveNestedContainer = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.RemoveNestedContainer == nil { + uj.RemoveNestedContainer = new(Call_RemoveNestedContainer) + } + + err = uj.RemoveNestedContainer.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + handle_LaunchNestedContainerSession: /* handler: uj.LaunchNestedContainerSession type=agent.Call_LaunchNestedContainerSession kind=struct quoted=false*/ @@ -2873,6 +2933,198 @@ done: return nil } +func (mj *Call_RemoveNestedContainer) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *Call_RemoveNestedContainer) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{"container_id":`) + + { + + err = mj.ContainerID.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_Call_RemoveNestedContainerbase = iota + ffj_t_Call_RemoveNestedContainerno_such_key + + ffj_t_Call_RemoveNestedContainer_ContainerID +) + +var ffj_key_Call_RemoveNestedContainer_ContainerID = []byte("container_id") + +func (uj *Call_RemoveNestedContainer) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *Call_RemoveNestedContainer) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_Call_RemoveNestedContainerbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_Call_RemoveNestedContainerno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'c': + + if bytes.Equal(ffj_key_Call_RemoveNestedContainer_ContainerID, kn) { + currentKey = ffj_t_Call_RemoveNestedContainer_ContainerID + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.AsciiEqualFold(ffj_key_Call_RemoveNestedContainer_ContainerID, kn) { + currentKey = ffj_t_Call_RemoveNestedContainer_ContainerID + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_Call_RemoveNestedContainerno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_Call_RemoveNestedContainer_ContainerID: + goto handle_ContainerID + + case ffj_t_Call_RemoveNestedContainerno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_ContainerID: + + /* handler: uj.ContainerID type=mesos.ContainerID kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = uj.ContainerID.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + func (mj *Call_SetLoggingLevel) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { @@ -4643,6 +4895,21 @@ func (mj *Response) MarshalJSONBuf(buf fflib.EncodingBuffer) error { buf.WriteByte(',') } } + if mj.GetAgent != nil { + if true { + buf.WriteString(`"get_agent":`) + + { + + err = mj.GetAgent.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } if mj.WaitNestedContainer != nil { if true { buf.WriteString(`"wait_nested_container":`) @@ -4693,6 +4960,8 @@ const ( ffj_t_Response_GetTasks + ffj_t_Response_GetAgent + ffj_t_Response_WaitNestedContainer ) @@ -4722,6 +4991,8 @@ var ffj_key_Response_GetExecutors = []byte("get_executors") var ffj_key_Response_GetTasks = []byte("get_tasks") +var ffj_key_Response_GetAgent = []byte("get_agent") + var ffj_key_Response_WaitNestedContainer = []byte("wait_nested_container") func (uj *Response) UnmarshalJSON(input []byte) error { @@ -4834,6 +5105,11 @@ mainparse: currentKey = ffj_t_Response_GetTasks state = fflib.FFParse_want_colon goto mainparse + + } else if bytes.Equal(ffj_key_Response_GetAgent, kn) { + currentKey = ffj_t_Response_GetAgent + state = fflib.FFParse_want_colon + goto mainparse } case 'l': @@ -4876,6 +5152,12 @@ mainparse: goto mainparse } + if fflib.AsciiEqualFold(ffj_key_Response_GetAgent, kn) { + currentKey = ffj_t_Response_GetAgent + state = fflib.FFParse_want_colon + goto mainparse + } + if fflib.EqualFoldRight(ffj_key_Response_GetTasks, kn) { currentKey = ffj_t_Response_GetTasks state = fflib.FFParse_want_colon @@ -5010,6 +5292,9 @@ mainparse: case ffj_t_Response_GetTasks: goto handle_GetTasks + case ffj_t_Response_GetAgent: + goto handle_GetAgent + case ffj_t_Response_WaitNestedContainer: goto handle_WaitNestedContainer @@ -5377,6 +5662,33 @@ handle_GetTasks: state = fflib.FFParse_after_value goto mainparse +handle_GetAgent: + + /* handler: uj.GetAgent type=agent.Response_GetAgent kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.GetAgent = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.GetAgent == nil { + uj.GetAgent = new(Response_GetAgent) + } + + err = uj.GetAgent.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + handle_WaitNestedContainer: /* handler: uj.WaitNestedContainer type=agent.Response_WaitNestedContainer kind=struct quoted=false*/ @@ -5422,6 +5734,211 @@ done: return nil } +func (mj *Response_GetAgent) MarshalJSON() ([]byte, error) { + var buf fflib.Buffer + if mj == nil { + buf.WriteString("null") + return buf.Bytes(), nil + } + err := mj.MarshalJSONBuf(&buf) + if err != nil { + return nil, err + } + return buf.Bytes(), nil +} +func (mj *Response_GetAgent) MarshalJSONBuf(buf fflib.EncodingBuffer) error { + if mj == nil { + buf.WriteString("null") + return nil + } + var err error + var obj []byte + _ = obj + _ = err + buf.WriteString(`{ `) + if mj.AgentInfo != nil { + if true { + buf.WriteString(`"agent_info":`) + + { + + err = mj.AgentInfo.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + buf.WriteByte(',') + } + } + buf.Rewind(1) + buf.WriteByte('}') + return nil +} + +const ( + ffj_t_Response_GetAgentbase = iota + ffj_t_Response_GetAgentno_such_key + + ffj_t_Response_GetAgent_AgentInfo +) + +var ffj_key_Response_GetAgent_AgentInfo = []byte("agent_info") + +func (uj *Response_GetAgent) UnmarshalJSON(input []byte) error { + fs := fflib.NewFFLexer(input) + return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) +} + +func (uj *Response_GetAgent) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error { + var err error = nil + currentKey := ffj_t_Response_GetAgentbase + _ = currentKey + tok := fflib.FFTok_init + wantedTok := fflib.FFTok_init + +mainparse: + for { + tok = fs.Scan() + // println(fmt.Sprintf("debug: tok: %v state: %v", tok, state)) + if tok == fflib.FFTok_error { + goto tokerror + } + + switch state { + + case fflib.FFParse_map_start: + if tok != fflib.FFTok_left_bracket { + wantedTok = fflib.FFTok_left_bracket + goto wrongtokenerror + } + state = fflib.FFParse_want_key + continue + + case fflib.FFParse_after_value: + if tok == fflib.FFTok_comma { + state = fflib.FFParse_want_key + } else if tok == fflib.FFTok_right_bracket { + goto done + } else { + wantedTok = fflib.FFTok_comma + goto wrongtokenerror + } + + case fflib.FFParse_want_key: + // json {} ended. goto exit. woo. + if tok == fflib.FFTok_right_bracket { + goto done + } + if tok != fflib.FFTok_string { + wantedTok = fflib.FFTok_string + goto wrongtokenerror + } + + kn := fs.Output.Bytes() + if len(kn) <= 0 { + // "" case. hrm. + currentKey = ffj_t_Response_GetAgentno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } else { + switch kn[0] { + + case 'a': + + if bytes.Equal(ffj_key_Response_GetAgent_AgentInfo, kn) { + currentKey = ffj_t_Response_GetAgent_AgentInfo + state = fflib.FFParse_want_colon + goto mainparse + } + + } + + if fflib.AsciiEqualFold(ffj_key_Response_GetAgent_AgentInfo, kn) { + currentKey = ffj_t_Response_GetAgent_AgentInfo + state = fflib.FFParse_want_colon + goto mainparse + } + + currentKey = ffj_t_Response_GetAgentno_such_key + state = fflib.FFParse_want_colon + goto mainparse + } + + case fflib.FFParse_want_colon: + if tok != fflib.FFTok_colon { + wantedTok = fflib.FFTok_colon + goto wrongtokenerror + } + state = fflib.FFParse_want_value + continue + case fflib.FFParse_want_value: + + if tok == fflib.FFTok_left_brace || tok == fflib.FFTok_left_bracket || tok == fflib.FFTok_integer || tok == fflib.FFTok_double || tok == fflib.FFTok_string || tok == fflib.FFTok_bool || tok == fflib.FFTok_null { + switch currentKey { + + case ffj_t_Response_GetAgent_AgentInfo: + goto handle_AgentInfo + + case ffj_t_Response_GetAgentno_such_key: + err = fs.SkipField(tok) + if err != nil { + return fs.WrapErr(err) + } + state = fflib.FFParse_after_value + goto mainparse + } + } else { + goto wantedvalue + } + } + } + +handle_AgentInfo: + + /* handler: uj.AgentInfo type=mesos.AgentInfo kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + uj.AgentInfo = nil + + state = fflib.FFParse_after_value + goto mainparse + } + + if uj.AgentInfo == nil { + uj.AgentInfo = new(mesos.AgentInfo) + } + + err = uj.AgentInfo.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + state = fflib.FFParse_after_value + goto mainparse + +wantedvalue: + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) +wrongtokenerror: + return fs.WrapErr(fmt.Errorf("ffjson: wanted token: %v, but got token: %v output=%s", wantedTok, tok, fs.Output.String())) +tokerror: + if fs.BigError != nil { + return fs.WrapErr(fs.BigError) + } + err = fs.Error.ToError() + if err != nil { + return fs.WrapErr(err) + } + panic("ffjson-generated: unreachable, please report bug.") +done: + + return nil +} + func (mj *Response_GetContainers) MarshalJSON() ([]byte, error) { var buf fflib.Buffer if mj == nil { diff --git a/api/v1/lib/agent/agent.proto b/api/v1/lib/agent/agent.proto index 6292e946..ebffd313 100644 --- a/api/v1/lib/agent/agent.proto +++ b/api/v1/lib/agent/agent.proto @@ -71,11 +71,13 @@ message Call { GET_FRAMEWORKS = 11; // Retrieves the information about known frameworks. GET_EXECUTORS = 12; // Retrieves the information about known executors. GET_TASKS = 13; // Retrieves the information about known tasks. + GET_AGENT = 20; // Retrieves the agent information. // Calls for managing nested containers underneath an executor's container. LAUNCH_NESTED_CONTAINER = 14; // See 'LaunchNestedContainer' below. WAIT_NESTED_CONTAINER = 15; // See 'WaitNestedContainer' below. KILL_NESTED_CONTAINER = 16; // See 'KillNestedContainer' below. + REMOVE_NESTED_CONTAINER = 21; // See 'RemoveNestedContainer' below. // See 'LaunchNestedContainerSession' below. LAUNCH_NESTED_CONTAINER_SESSION = 17; @@ -141,6 +143,12 @@ message Call { required ContainerID container_id = 1 [(gogoproto.customname) = "ContainerID", (gogoproto.nullable) = false]; } + // Removes a nested container and its artifacts (runtime and sandbox + // directories). + message RemoveNestedContainer { + required ContainerID container_id = 1 [(gogoproto.customname) = "ContainerID", (gogoproto.nullable) = false]; + } + // Launches a nested container within an executor's tree of containers. // The differences between this call and `LaunchNestedContainer` are: // 1) The container's life-cycle is tied to the lifetime of the @@ -191,6 +199,7 @@ message Call { optional LaunchNestedContainer launch_nested_container = 6; optional WaitNestedContainer wait_nested_container = 7; optional KillNestedContainer kill_nested_container = 8; + optional RemoveNestedContainer remove_nested_container = 12; optional LaunchNestedContainerSession launch_nested_container_session = 9; optional AttachContainerInput attach_container_input = 10; optional AttachContainerOutput attach_container_output = 11; @@ -221,6 +230,7 @@ message Response { GET_FRAMEWORKS = 10; // See 'GetFrameworks' below. GET_EXECUTORS = 11; // See 'GetExecutors' below. GET_TASKS = 12; // See 'GetTasks' below. + GET_AGENT = 14; // See 'GetAgent' below. WAIT_NESTED_CONTAINER = 13; // See 'WaitNestedContainer' below. option (gogoproto.goproto_enum_prefix) = true; @@ -332,6 +342,11 @@ message Response { repeated Task completed_tasks = 5 [(gogoproto.nullable) = false]; } + // Contains the agent's information. + message GetAgent { + optional AgentInfo agent_info = 1; + } + // Returns termination information about the nested container. message WaitNestedContainer { optional int32 exit_status = 1; @@ -351,6 +366,7 @@ message Response { optional GetFrameworks get_frameworks = 11; optional GetExecutors get_executors = 12; optional GetTasks get_tasks = 13; + optional GetAgent get_agent = 15; optional WaitNestedContainer wait_nested_container = 14; } diff --git a/api/v1/lib/agent/agentpb_test.go b/api/v1/lib/agent/agentpb_test.go index 25e37344..a9741d4a 100644 --- a/api/v1/lib/agent/agentpb_test.go +++ b/api/v1/lib/agent/agentpb_test.go @@ -847,6 +847,108 @@ func BenchmarkCall_KillNestedContainerProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestCall_RemoveNestedContainerProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCall_RemoveNestedContainer(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &Call_RemoveNestedContainer{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestCall_RemoveNestedContainerMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCall_RemoveNestedContainer(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &Call_RemoveNestedContainer{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkCall_RemoveNestedContainerProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*Call_RemoveNestedContainer, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedCall_RemoveNestedContainer(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkCall_RemoveNestedContainerProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedCall_RemoveNestedContainer(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &Call_RemoveNestedContainer{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + func TestCall_LaunchNestedContainerSessionProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -2785,6 +2887,108 @@ func BenchmarkResponse_GetTasksProtoUnmarshal(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestResponse_GetAgentProto(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResponse_GetAgent(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &Response_GetAgent{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + littlefuzz := make([]byte, len(dAtA)) + copy(littlefuzz, dAtA) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } + if len(littlefuzz) > 0 { + fuzzamount := 100 + for i := 0; i < fuzzamount; i++ { + littlefuzz[popr.Intn(len(littlefuzz))] = byte(popr.Intn(256)) + littlefuzz = append(littlefuzz, byte(popr.Intn(256))) + } + // shouldn't panic + _ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg) + } +} + +func TestResponse_GetAgentMarshalTo(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResponse_GetAgent(popr, false) + size := p.ProtoSize() + dAtA := make([]byte, size) + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + _, err := p.MarshalTo(dAtA) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &Response_GetAgent{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + for i := range dAtA { + dAtA[i] = byte(popr.Intn(256)) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func BenchmarkResponse_GetAgentProtoMarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*Response_GetAgent, 10000) + for i := 0; i < 10000; i++ { + pops[i] = NewPopulatedResponse_GetAgent(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(pops[i%10000]) + if err != nil { + panic(err) + } + total += len(dAtA) + } + b.SetBytes(int64(total / b.N)) +} + +func BenchmarkResponse_GetAgentProtoUnmarshal(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + datas := make([][]byte, 10000) + for i := 0; i < 10000; i++ { + dAtA, err := github_com_gogo_protobuf_proto.Marshal(NewPopulatedResponse_GetAgent(popr, false)) + if err != nil { + panic(err) + } + datas[i] = dAtA + } + msg := &Response_GetAgent{} + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += len(datas[i%10000]) + if err := github_com_gogo_protobuf_proto.Unmarshal(datas[i%10000], msg); err != nil { + panic(err) + } + } + b.SetBytes(int64(total / b.N)) +} + func TestResponse_WaitNestedContainerProto(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -3463,6 +3667,27 @@ func TestCall_KillNestedContainerJSON(t *testing.T) { t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) } } +func TestCall_RemoveNestedContainerJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCall_RemoveNestedContainer(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &Call_RemoveNestedContainer{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} func TestCall_LaunchNestedContainerSessionJSON(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -3862,6 +4087,27 @@ func TestResponse_GetTasksJSON(t *testing.T) { t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) } } +func TestResponse_GetAgentJSON(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResponse_GetAgent(popr, true) + marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{} + jsondata, err := marshaler.MarshalToString(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + msg := &Response_GetAgent{} + err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Json Equal %#v", seed, msg, p) + } +} func TestResponse_WaitNestedContainerJSON(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -4239,6 +4485,40 @@ func TestCall_KillNestedContainerProtoCompactText(t *testing.T) { } } +func TestCall_RemoveNestedContainerProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCall_RemoveNestedContainer(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &Call_RemoveNestedContainer{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestCall_RemoveNestedContainerProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCall_RemoveNestedContainer(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &Call_RemoveNestedContainer{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + func TestCall_LaunchNestedContainerSessionProtoText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -4885,6 +5165,40 @@ func TestResponse_GetTasksProtoCompactText(t *testing.T) { } } +func TestResponse_GetAgentProtoText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResponse_GetAgent(popr, true) + dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p) + msg := &Response_GetAgent{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + +func TestResponse_GetAgentProtoCompactText(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResponse_GetAgent(popr, true) + dAtA := github_com_gogo_protobuf_proto.CompactTextString(p) + msg := &Response_GetAgent{} + if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("seed = %d, %#v !VerboseProto %#v, since %v", seed, msg, p, err) + } + if !p.Equal(msg) { + t.Fatalf("seed = %d, %#v !Proto %#v", seed, msg, p) + } +} + func TestResponse_WaitNestedContainerProtoText(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -5175,6 +5489,21 @@ func TestCall_KillNestedContainerVerboseEqual(t *testing.T) { t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) } } +func TestCall_RemoveNestedContainerVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedCall_RemoveNestedContainer(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &Call_RemoveNestedContainer{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} func TestCall_LaunchNestedContainerSessionVerboseEqual(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedCall_LaunchNestedContainerSession(popr, false) @@ -5460,6 +5789,21 @@ func TestResponse_GetTasksVerboseEqual(t *testing.T) { t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) } } +func TestResponse_GetAgentVerboseEqual(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedResponse_GetAgent(popr, false) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + panic(err) + } + msg := &Response_GetAgent{} + if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil { + panic(err) + } + if err := p.VerboseEqual(msg); err != nil { + t.Fatalf("%#v !VerboseEqual %#v, since %v", msg, p, err) + } +} func TestResponse_WaitNestedContainerVerboseEqual(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedResponse_WaitNestedContainer(popr, false) @@ -5639,6 +5983,19 @@ func TestCall_KillNestedContainerGoString(t *testing.T) { panic(err) } } +func TestCall_RemoveNestedContainerGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedCall_RemoveNestedContainer(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} func TestCall_LaunchNestedContainerSessionGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedCall_LaunchNestedContainerSession(popr, false) @@ -5886,6 +6243,19 @@ func TestResponse_GetTasksGoString(t *testing.T) { panic(err) } } +func TestResponse_GetAgentGoString(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedResponse_GetAgent(popr, false) + s1 := p.GoString() + s2 := fmt.Sprintf("%#v", p) + if s1 != s2 { + t.Fatalf("GoString want %v got %v", s1, s2) + } + _, err := go_parser.ParseExpr(s1) + if err != nil { + panic(err) + } +} func TestResponse_WaitNestedContainerGoString(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedResponse_WaitNestedContainer(popr, false) @@ -6239,6 +6609,42 @@ func BenchmarkCall_KillNestedContainerProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestCall_RemoveNestedContainerProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedCall_RemoveNestedContainer(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkCall_RemoveNestedContainerProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*Call_RemoveNestedContainer, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedCall_RemoveNestedContainer(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + func TestCall_LaunchNestedContainerSessionProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -6923,6 +7329,42 @@ func BenchmarkResponse_GetTasksProtoSize(b *testing.B) { b.SetBytes(int64(total / b.N)) } +func TestResponse_GetAgentProtoSize(t *testing.T) { + seed := time.Now().UnixNano() + popr := math_rand.New(math_rand.NewSource(seed)) + p := NewPopulatedResponse_GetAgent(popr, true) + size2 := github_com_gogo_protobuf_proto.Size(p) + dAtA, err := github_com_gogo_protobuf_proto.Marshal(p) + if err != nil { + t.Fatalf("seed = %d, err = %v", seed, err) + } + size := p.ProtoSize() + if len(dAtA) != size { + t.Errorf("seed = %d, size %v != marshalled size %v", seed, size, len(dAtA)) + } + if size2 != size { + t.Errorf("seed = %d, size %v != before marshal proto.Size %v", seed, size, size2) + } + size3 := github_com_gogo_protobuf_proto.Size(p) + if size3 != size { + t.Errorf("seed = %d, size %v != after marshal proto.Size %v", seed, size, size3) + } +} + +func BenchmarkResponse_GetAgentProtoSize(b *testing.B) { + popr := math_rand.New(math_rand.NewSource(616)) + total := 0 + pops := make([]*Response_GetAgent, 1000) + for i := 0; i < 1000; i++ { + pops[i] = NewPopulatedResponse_GetAgent(popr, false) + } + b.ResetTimer() + for i := 0; i < b.N; i++ { + total += pops[i%1000].ProtoSize() + } + b.SetBytes(int64(total / b.N)) +} + func TestResponse_WaitNestedContainerProtoSize(t *testing.T) { seed := time.Now().UnixNano() popr := math_rand.New(math_rand.NewSource(seed)) @@ -7175,6 +7617,15 @@ func TestCall_KillNestedContainerStringer(t *testing.T) { t.Fatalf("String want %v got %v", s1, s2) } } +func TestCall_RemoveNestedContainerStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedCall_RemoveNestedContainer(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} func TestCall_LaunchNestedContainerSessionStringer(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedCall_LaunchNestedContainerSession(popr, false) @@ -7346,6 +7797,15 @@ func TestResponse_GetTasksStringer(t *testing.T) { t.Fatalf("String want %v got %v", s1, s2) } } +func TestResponse_GetAgentStringer(t *testing.T) { + popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) + p := NewPopulatedResponse_GetAgent(popr, false) + s1 := p.String() + s2 := fmt.Sprintf("%v", p) + if s1 != s2 { + t.Fatalf("String want %v got %v", s1, s2) + } +} func TestResponse_WaitNestedContainerStringer(t *testing.T) { popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) p := NewPopulatedResponse_WaitNestedContainer(popr, false) diff --git a/api/v1/lib/agent/calls/calls.go b/api/v1/lib/agent/calls/calls.go index 7d62aae2..db45266d 100644 --- a/api/v1/lib/agent/calls/calls.go +++ b/api/v1/lib/agent/calls/calls.go @@ -73,6 +73,8 @@ func GetExecutors() *agent.Call { return &agent.Call{Type: agent.Call_GET_EXECUT func GetTasks() *agent.Call { return &agent.Call{Type: agent.Call_GET_TASKS} } +func GetAgent() *agent.Call { return &agent.Call{Type: agent.Call_GET_AGENT} } + func LaunchNestedContainer(cid mesos.ContainerID, cmd *mesos.CommandInfo, ci *mesos.ContainerInfo) *agent.Call { return &agent.Call{ Type: agent.Call_LAUNCH_NESTED_CONTAINER, @@ -102,6 +104,15 @@ func KillNestedContainer(cid mesos.ContainerID) *agent.Call { } } +func RemoveNestedContainer(cid mesos.ContainerID) *agent.Call { + return &agent.Call{ + Type: agent.Call_REMOVE_NESTED_CONTAINER, + RemoveNestedContainer: &agent.Call_RemoveNestedContainer{ + ContainerID: cid, + }, + } +} + func LaunchNestedContainerSession(cid mesos.ContainerID, cmd *mesos.CommandInfo, ci *mesos.ContainerInfo) *agent.Call { return &agent.Call{ Type: agent.Call_LAUNCH_NESTED_CONTAINER_SESSION, diff --git a/api/v1/lib/agent/calls/calls_test.go b/api/v1/lib/agent/calls/calls_test.go index c9efe88e..0c47ed89 100644 --- a/api/v1/lib/agent/calls/calls_test.go +++ b/api/v1/lib/agent/calls/calls_test.go @@ -43,6 +43,7 @@ func Example() { GetFrameworks(), GetExecutors(), GetTasks(), + GetAgent(), WaitNestedContainer(mesos.ContainerID{}), LaunchNestedContainerSession(mesos.ContainerID{}, nil, nil), ) @@ -56,6 +57,7 @@ func Example() { SetLoggingLevel(0, d), LaunchNestedContainer(mesos.ContainerID{}, nil, nil), KillNestedContainer(mesos.ContainerID{}), + RemoveNestedContainer(mesos.ContainerID{}), AttachContainerOutput(mesos.ContainerID{}), ) diff --git a/api/v1/lib/httpcli/httpagent/util.go b/api/v1/lib/httpcli/httpagent/util.go index 4f8bcad0..5d8a5d1d 100644 --- a/api/v1/lib/httpcli/httpagent/util.go +++ b/api/v1/lib/httpcli/httpagent/util.go @@ -28,6 +28,7 @@ func classifyResponse(c *agent.Call) (rc client.ResponseClass, err error) { agent.Call_GET_FRAMEWORKS, agent.Call_GET_EXECUTORS, agent.Call_GET_TASKS, + agent.Call_GET_AGENT, agent.Call_WAIT_NESTED_CONTAINER: rc = client.ResponseClassSingleton @@ -40,6 +41,7 @@ func classifyResponse(c *agent.Call) (rc client.ResponseClass, err error) { case agent.Call_SET_LOGGING_LEVEL, agent.Call_LAUNCH_NESTED_CONTAINER, agent.Call_KILL_NESTED_CONTAINER, + agent.Call_REMOVE_NESTED_CONTAINER, agent.Call_ATTACH_CONTAINER_INPUT: rc = client.ResponseClassAuto From 535c5d4166da0d35d441373f40e00f9f983a27b2 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Thu, 14 Sep 2017 14:25:25 +0000 Subject: [PATCH 04/13] lib/executor: bump executor.proto to 1.3.x --- api/v1/lib/executor/executor.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/lib/executor/executor.proto b/api/v1/lib/executor/executor.proto index 85fb9fa7..ff8b3826 100644 --- a/api/v1/lib/executor/executor.proto +++ b/api/v1/lib/executor/executor.proto @@ -172,7 +172,7 @@ message Event { * Like Event, a Call is described using the standard protocol buffer * "union" trick (see above). */ - message Call { +message Call { // Possible call types, followed by message definitions if // applicable. enum Type { From 94cb72f5d54e3cd196696e797319892fffd2efb4 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Thu, 14 Sep 2017 14:30:47 +0000 Subject: [PATCH 05/13] lib/master: bump master.proto to 1.3.x --- api/v1/lib/master/master.pb.go | 653 +++++++++++++++----------- api/v1/lib/master/master.pb_ffjson.go | 111 +++++ api/v1/lib/master/master.proto | 8 +- 3 files changed, 484 insertions(+), 288 deletions(-) diff --git a/api/v1/lib/master/master.pb.go b/api/v1/lib/master/master.pb.go index 74cd5efd..0c982b00 100644 --- a/api/v1/lib/master/master.pb.go +++ b/api/v1/lib/master/master.pb.go @@ -1102,9 +1102,10 @@ type Response_GetAgents_Agent struct { ReregisteredTime *mesos.TimeInfo `protobuf:"bytes,6,opt,name=reregistered_time,json=reregisteredTime" json:"reregistered_time,omitempty"` // Total resources (including oversubscribed resources) the agent // provides. - TotalResources []mesos.Resource `protobuf:"bytes,7,rep,name=total_resources,json=totalResources" json:"total_resources"` - AllocatedResources []mesos.Resource `protobuf:"bytes,8,rep,name=allocated_resources,json=allocatedResources" json:"allocated_resources"` - OfferedResources []mesos.Resource `protobuf:"bytes,9,rep,name=offered_resources,json=offeredResources" json:"offered_resources"` + TotalResources []mesos.Resource `protobuf:"bytes,7,rep,name=total_resources,json=totalResources" json:"total_resources"` + AllocatedResources []mesos.Resource `protobuf:"bytes,8,rep,name=allocated_resources,json=allocatedResources" json:"allocated_resources"` + OfferedResources []mesos.Resource `protobuf:"bytes,9,rep,name=offered_resources,json=offeredResources" json:"offered_resources"` + Capabilities []mesos.AgentInfo_Capability `protobuf:"bytes,10,rep,name=capabilities" json:"capabilities"` } func (m *Response_GetAgents_Agent) Reset() { *m = Response_GetAgents_Agent{} } @@ -1176,6 +1177,13 @@ func (m *Response_GetAgents_Agent) GetOfferedResources() []mesos.Resource { return nil } +func (m *Response_GetAgents_Agent) GetCapabilities() []mesos.AgentInfo_Capability { + if m != nil { + return m.Capabilities + } + return nil +} + // Information about all the frameworks known to the master at the current // time. Note that there might be frameworks unknown to the master running // on partitioned or unsubscribed agents. @@ -1694,10 +1702,8 @@ func (m *Event_AgentAdded) GetAgent() Response_GetAgents_Agent { return Response_GetAgents_Agent{} } -// Forwarded by the master when an agent is removed. -// This can happen when an agent does not re-register -// within `--agent_reregister_timeout` upon a master failover, -// or when the agent is scheduled for maintenance. +// Forwarded by the master when an agent is removed. This +// can happen when the agent is scheduled for maintenance. // // NOTE: It's possible that an agent might become // active once it has been removed, i.e. if the master @@ -3756,6 +3762,14 @@ func (this *Response_GetAgents_Agent) VerboseEqual(that interface{}) error { return fmt.Errorf("OfferedResources this[%v](%v) Not Equal that[%v](%v)", i, this.OfferedResources[i], i, that1.OfferedResources[i]) } } + if len(this.Capabilities) != len(that1.Capabilities) { + return fmt.Errorf("Capabilities this(%v) Not Equal that(%v)", len(this.Capabilities), len(that1.Capabilities)) + } + for i := range this.Capabilities { + if !this.Capabilities[i].Equal(&that1.Capabilities[i]) { + return fmt.Errorf("Capabilities this[%v](%v) Not Equal that[%v](%v)", i, this.Capabilities[i], i, that1.Capabilities[i]) + } + } return nil } func (this *Response_GetAgents_Agent) Equal(that interface{}) bool { @@ -3831,6 +3845,14 @@ func (this *Response_GetAgents_Agent) Equal(that interface{}) bool { return false } } + if len(this.Capabilities) != len(that1.Capabilities) { + return false + } + for i := range this.Capabilities { + if !this.Capabilities[i].Equal(&that1.Capabilities[i]) { + return false + } + } return true } func (this *Response_GetFrameworks) VerboseEqual(that interface{}) error { @@ -5575,7 +5597,7 @@ func (this *Response_GetAgents_Agent) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 13) + s := make([]string, 0, 14) s = append(s, "&master.Response_GetAgents_Agent{") s = append(s, "AgentInfo: "+strings.Replace(this.AgentInfo.GoString(), `&`, ``, 1)+",\n") s = append(s, "Active: "+fmt.Sprintf("%#v", this.Active)+",\n") @@ -5598,6 +5620,9 @@ func (this *Response_GetAgents_Agent) GoString() string { if this.OfferedResources != nil { s = append(s, "OfferedResources: "+fmt.Sprintf("%#v", this.OfferedResources)+",\n") } + if this.Capabilities != nil { + s = append(s, "Capabilities: "+fmt.Sprintf("%#v", this.Capabilities)+",\n") + } s = append(s, "}") return strings.Join(s, "") } @@ -7042,6 +7067,18 @@ func (m *Response_GetAgents_Agent) MarshalTo(dAtA []byte) (int, error) { i += n } } + if len(m.Capabilities) > 0 { + for _, msg := range m.Capabilities { + dAtA[i] = 0x52 + i++ + i = encodeVarintMaster(dAtA, i, uint64(msg.ProtoSize())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } + } return i, nil } @@ -8249,6 +8286,14 @@ func NewPopulatedResponse_GetAgents_Agent(r randyMaster, easy bool) *Response_Ge this.OfferedResources[i] = *v42 } } + if r.Intn(10) != 0 { + v43 := r.Intn(5) + this.Capabilities = make([]mesos.AgentInfo_Capability, v43) + for i := 0; i < v43; i++ { + v44 := mesos.NewPopulatedAgentInfo_Capability(r, easy) + this.Capabilities[i] = *v44 + } + } if !easy && r.Intn(10) != 0 { } return this @@ -8256,28 +8301,28 @@ func NewPopulatedResponse_GetAgents_Agent(r randyMaster, easy bool) *Response_Ge func NewPopulatedResponse_GetFrameworks(r randyMaster, easy bool) *Response_GetFrameworks { this := &Response_GetFrameworks{} - if r.Intn(10) != 0 { - v43 := r.Intn(5) - this.Frameworks = make([]Response_GetFrameworks_Framework, v43) - for i := 0; i < v43; i++ { - v44 := NewPopulatedResponse_GetFrameworks_Framework(r, easy) - this.Frameworks[i] = *v44 - } - } if r.Intn(10) != 0 { v45 := r.Intn(5) - this.CompletedFrameworks = make([]Response_GetFrameworks_Framework, v45) + this.Frameworks = make([]Response_GetFrameworks_Framework, v45) for i := 0; i < v45; i++ { v46 := NewPopulatedResponse_GetFrameworks_Framework(r, easy) - this.CompletedFrameworks[i] = *v46 + this.Frameworks[i] = *v46 } } if r.Intn(10) != 0 { v47 := r.Intn(5) - this.RecoveredFrameworks = make([]mesos.FrameworkInfo, v47) + this.CompletedFrameworks = make([]Response_GetFrameworks_Framework, v47) for i := 0; i < v47; i++ { - v48 := mesos.NewPopulatedFrameworkInfo(r, easy) - this.RecoveredFrameworks[i] = *v48 + v48 := NewPopulatedResponse_GetFrameworks_Framework(r, easy) + this.CompletedFrameworks[i] = *v48 + } + } + if r.Intn(10) != 0 { + v49 := r.Intn(5) + this.RecoveredFrameworks = make([]mesos.FrameworkInfo, v49) + for i := 0; i < v49; i++ { + v50 := mesos.NewPopulatedFrameworkInfo(r, easy) + this.RecoveredFrameworks[i] = *v50 } } if !easy && r.Intn(10) != 0 { @@ -8287,8 +8332,8 @@ func NewPopulatedResponse_GetFrameworks(r randyMaster, easy bool) *Response_GetF func NewPopulatedResponse_GetFrameworks_Framework(r randyMaster, easy bool) *Response_GetFrameworks_Framework { this := &Response_GetFrameworks_Framework{} - v49 := mesos.NewPopulatedFrameworkInfo(r, easy) - this.FrameworkInfo = *v49 + v51 := mesos.NewPopulatedFrameworkInfo(r, easy) + this.FrameworkInfo = *v51 this.Active = bool(bool(r.Intn(2) == 0)) this.Connected = bool(bool(r.Intn(2) == 0)) if r.Intn(10) != 0 { @@ -8300,36 +8345,36 @@ func NewPopulatedResponse_GetFrameworks_Framework(r randyMaster, easy bool) *Res if r.Intn(10) != 0 { this.UnregisteredTime = mesos.NewPopulatedTimeInfo(r, easy) } - if r.Intn(10) != 0 { - v50 := r.Intn(5) - this.Offers = make([]mesos.Offer, v50) - for i := 0; i < v50; i++ { - v51 := mesos.NewPopulatedOffer(r, easy) - this.Offers[i] = *v51 - } - } if r.Intn(10) != 0 { v52 := r.Intn(5) - this.InverseOffers = make([]mesos.InverseOffer, v52) + this.Offers = make([]mesos.Offer, v52) for i := 0; i < v52; i++ { - v53 := mesos.NewPopulatedInverseOffer(r, easy) - this.InverseOffers[i] = *v53 + v53 := mesos.NewPopulatedOffer(r, easy) + this.Offers[i] = *v53 } } if r.Intn(10) != 0 { v54 := r.Intn(5) - this.AllocatedResources = make([]mesos.Resource, v54) + this.InverseOffers = make([]mesos.InverseOffer, v54) for i := 0; i < v54; i++ { - v55 := mesos.NewPopulatedResource(r, easy) - this.AllocatedResources[i] = *v55 + v55 := mesos.NewPopulatedInverseOffer(r, easy) + this.InverseOffers[i] = *v55 } } if r.Intn(10) != 0 { v56 := r.Intn(5) - this.OfferedResources = make([]mesos.Resource, v56) + this.AllocatedResources = make([]mesos.Resource, v56) for i := 0; i < v56; i++ { v57 := mesos.NewPopulatedResource(r, easy) - this.OfferedResources[i] = *v57 + this.AllocatedResources[i] = *v57 + } + } + if r.Intn(10) != 0 { + v58 := r.Intn(5) + this.OfferedResources = make([]mesos.Resource, v58) + for i := 0; i < v58; i++ { + v59 := mesos.NewPopulatedResource(r, easy) + this.OfferedResources[i] = *v59 } } this.Recovered = bool(bool(r.Intn(2) == 0)) @@ -8340,20 +8385,20 @@ func NewPopulatedResponse_GetFrameworks_Framework(r randyMaster, easy bool) *Res func NewPopulatedResponse_GetExecutors(r randyMaster, easy bool) *Response_GetExecutors { this := &Response_GetExecutors{} - if r.Intn(10) != 0 { - v58 := r.Intn(5) - this.Executors = make([]Response_GetExecutors_Executor, v58) - for i := 0; i < v58; i++ { - v59 := NewPopulatedResponse_GetExecutors_Executor(r, easy) - this.Executors[i] = *v59 - } - } if r.Intn(10) != 0 { v60 := r.Intn(5) - this.OrphanExecutors = make([]Response_GetExecutors_Executor, v60) + this.Executors = make([]Response_GetExecutors_Executor, v60) for i := 0; i < v60; i++ { v61 := NewPopulatedResponse_GetExecutors_Executor(r, easy) - this.OrphanExecutors[i] = *v61 + this.Executors[i] = *v61 + } + } + if r.Intn(10) != 0 { + v62 := r.Intn(5) + this.OrphanExecutors = make([]Response_GetExecutors_Executor, v62) + for i := 0; i < v62; i++ { + v63 := NewPopulatedResponse_GetExecutors_Executor(r, easy) + this.OrphanExecutors[i] = *v63 } } if !easy && r.Intn(10) != 0 { @@ -8363,10 +8408,10 @@ func NewPopulatedResponse_GetExecutors(r randyMaster, easy bool) *Response_GetEx func NewPopulatedResponse_GetExecutors_Executor(r randyMaster, easy bool) *Response_GetExecutors_Executor { this := &Response_GetExecutors_Executor{} - v62 := mesos.NewPopulatedExecutorInfo(r, easy) - this.ExecutorInfo = *v62 - v63 := mesos.NewPopulatedAgentID(r, easy) - this.AgentID = *v63 + v64 := mesos.NewPopulatedExecutorInfo(r, easy) + this.ExecutorInfo = *v64 + v65 := mesos.NewPopulatedAgentID(r, easy) + this.AgentID = *v65 if !easy && r.Intn(10) != 0 { } return this @@ -8374,44 +8419,44 @@ func NewPopulatedResponse_GetExecutors_Executor(r randyMaster, easy bool) *Respo func NewPopulatedResponse_GetTasks(r randyMaster, easy bool) *Response_GetTasks { this := &Response_GetTasks{} - if r.Intn(10) == 0 { - v64 := r.Intn(5) - this.PendingTasks = make([]mesos.Task, v64) - for i := 0; i < v64; i++ { - v65 := mesos.NewPopulatedTask(r, easy) - this.PendingTasks[i] = *v65 - } - } if r.Intn(10) == 0 { v66 := r.Intn(5) - this.Tasks = make([]mesos.Task, v66) + this.PendingTasks = make([]mesos.Task, v66) for i := 0; i < v66; i++ { v67 := mesos.NewPopulatedTask(r, easy) - this.Tasks[i] = *v67 + this.PendingTasks[i] = *v67 } } if r.Intn(10) == 0 { v68 := r.Intn(5) - this.CompletedTasks = make([]mesos.Task, v68) + this.Tasks = make([]mesos.Task, v68) for i := 0; i < v68; i++ { v69 := mesos.NewPopulatedTask(r, easy) - this.CompletedTasks[i] = *v69 + this.Tasks[i] = *v69 } } if r.Intn(10) == 0 { v70 := r.Intn(5) - this.OrphanTasks = make([]mesos.Task, v70) + this.CompletedTasks = make([]mesos.Task, v70) for i := 0; i < v70; i++ { v71 := mesos.NewPopulatedTask(r, easy) - this.OrphanTasks[i] = *v71 + this.CompletedTasks[i] = *v71 } } if r.Intn(10) == 0 { v72 := r.Intn(5) - this.UnreachableTasks = make([]mesos.Task, v72) + this.OrphanTasks = make([]mesos.Task, v72) for i := 0; i < v72; i++ { v73 := mesos.NewPopulatedTask(r, easy) - this.UnreachableTasks[i] = *v73 + this.OrphanTasks[i] = *v73 + } + } + if r.Intn(10) == 0 { + v74 := r.Intn(5) + this.UnreachableTasks = make([]mesos.Task, v74) + for i := 0; i < v74; i++ { + v75 := mesos.NewPopulatedTask(r, easy) + this.UnreachableTasks[i] = *v75 } } if !easy && r.Intn(10) != 0 { @@ -8422,11 +8467,11 @@ func NewPopulatedResponse_GetTasks(r randyMaster, easy bool) *Response_GetTasks func NewPopulatedResponse_GetRoles(r randyMaster, easy bool) *Response_GetRoles { this := &Response_GetRoles{} if r.Intn(10) != 0 { - v74 := r.Intn(5) - this.Roles = make([]mesos.Role, v74) - for i := 0; i < v74; i++ { - v75 := mesos.NewPopulatedRole(r, easy) - this.Roles[i] = *v75 + v76 := r.Intn(5) + this.Roles = make([]mesos.Role, v76) + for i := 0; i < v76; i++ { + v77 := mesos.NewPopulatedRole(r, easy) + this.Roles[i] = *v77 } } if !easy && r.Intn(10) != 0 { @@ -8437,11 +8482,11 @@ func NewPopulatedResponse_GetRoles(r randyMaster, easy bool) *Response_GetRoles func NewPopulatedResponse_GetWeights(r randyMaster, easy bool) *Response_GetWeights { this := &Response_GetWeights{} if r.Intn(10) != 0 { - v76 := r.Intn(5) - this.WeightInfos = make([]mesos.WeightInfo, v76) - for i := 0; i < v76; i++ { - v77 := mesos.NewPopulatedWeightInfo(r, easy) - this.WeightInfos[i] = *v77 + v78 := r.Intn(5) + this.WeightInfos = make([]mesos.WeightInfo, v78) + for i := 0; i < v78; i++ { + v79 := mesos.NewPopulatedWeightInfo(r, easy) + this.WeightInfos[i] = *v79 } } if !easy && r.Intn(10) != 0 { @@ -8461,8 +8506,8 @@ func NewPopulatedResponse_GetMaster(r randyMaster, easy bool) *Response_GetMaste func NewPopulatedResponse_GetMaintenanceStatus(r randyMaster, easy bool) *Response_GetMaintenanceStatus { this := &Response_GetMaintenanceStatus{} - v78 := mesos_maintenance.NewPopulatedClusterStatus(r, easy) - this.Status = *v78 + v80 := mesos_maintenance.NewPopulatedClusterStatus(r, easy) + this.Status = *v80 if !easy && r.Intn(10) != 0 { } return this @@ -8470,8 +8515,8 @@ func NewPopulatedResponse_GetMaintenanceStatus(r randyMaster, easy bool) *Respon func NewPopulatedResponse_GetMaintenanceSchedule(r randyMaster, easy bool) *Response_GetMaintenanceSchedule { this := &Response_GetMaintenanceSchedule{} - v79 := mesos_maintenance.NewPopulatedSchedule(r, easy) - this.Schedule = *v79 + v81 := mesos_maintenance.NewPopulatedSchedule(r, easy) + this.Schedule = *v81 if !easy && r.Intn(10) != 0 { } return this @@ -8479,8 +8524,8 @@ func NewPopulatedResponse_GetMaintenanceSchedule(r randyMaster, easy bool) *Resp func NewPopulatedResponse_GetQuota(r randyMaster, easy bool) *Response_GetQuota { this := &Response_GetQuota{} - v80 := mesos_quota.NewPopulatedQuotaStatus(r, easy) - this.Status = *v80 + v82 := mesos_quota.NewPopulatedQuotaStatus(r, easy) + this.Status = *v82 if !easy && r.Intn(10) != 0 { } return this @@ -8521,8 +8566,8 @@ func NewPopulatedEvent_Subscribed(r randyMaster, easy bool) *Event_Subscribed { func NewPopulatedEvent_TaskAdded(r randyMaster, easy bool) *Event_TaskAdded { this := &Event_TaskAdded{} - v81 := mesos.NewPopulatedTask(r, easy) - this.Task = *v81 + v83 := mesos.NewPopulatedTask(r, easy) + this.Task = *v83 if !easy && r.Intn(10) != 0 { } return this @@ -8530,12 +8575,12 @@ func NewPopulatedEvent_TaskAdded(r randyMaster, easy bool) *Event_TaskAdded { func NewPopulatedEvent_TaskUpdated(r randyMaster, easy bool) *Event_TaskUpdated { this := &Event_TaskUpdated{} - v82 := mesos.NewPopulatedFrameworkID(r, easy) - this.FrameworkID = *v82 - v83 := mesos.NewPopulatedTaskStatus(r, easy) - this.Status = *v83 - v84 := mesos.TaskState([]int32{6, 0, 1, 8, 2, 3, 4, 7, 5, 9, 10, 11, 12, 13}[r.Intn(14)]) - this.State = &v84 + v84 := mesos.NewPopulatedFrameworkID(r, easy) + this.FrameworkID = *v84 + v85 := mesos.NewPopulatedTaskStatus(r, easy) + this.Status = *v85 + v86 := mesos.TaskState([]int32{6, 0, 1, 8, 2, 3, 4, 7, 5, 9, 10, 11, 12, 13}[r.Intn(14)]) + this.State = &v86 if !easy && r.Intn(10) != 0 { } return this @@ -8543,8 +8588,8 @@ func NewPopulatedEvent_TaskUpdated(r randyMaster, easy bool) *Event_TaskUpdated func NewPopulatedEvent_AgentAdded(r randyMaster, easy bool) *Event_AgentAdded { this := &Event_AgentAdded{} - v85 := NewPopulatedResponse_GetAgents_Agent(r, easy) - this.Agent = *v85 + v87 := NewPopulatedResponse_GetAgents_Agent(r, easy) + this.Agent = *v87 if !easy && r.Intn(10) != 0 { } return this @@ -8552,8 +8597,8 @@ func NewPopulatedEvent_AgentAdded(r randyMaster, easy bool) *Event_AgentAdded { func NewPopulatedEvent_AgentRemoved(r randyMaster, easy bool) *Event_AgentRemoved { this := &Event_AgentRemoved{} - v86 := mesos.NewPopulatedAgentID(r, easy) - this.AgentID = *v86 + v88 := mesos.NewPopulatedAgentID(r, easy) + this.AgentID = *v88 if !easy && r.Intn(10) != 0 { } return this @@ -8578,9 +8623,9 @@ func randUTF8RuneMaster(r randyMaster) rune { return rune(ru + 61) } func randStringMaster(r randyMaster) string { - v87 := r.Intn(100) - tmps := make([]rune, v87) - for i := 0; i < v87; i++ { + v89 := r.Intn(100) + tmps := make([]rune, v89) + for i := 0; i < v89; i++ { tmps[i] = randUTF8RuneMaster(r) } return string(tmps) @@ -8602,11 +8647,11 @@ func randFieldMaster(dAtA []byte, r randyMaster, fieldNumber int, wire int) []by switch wire { case 0: dAtA = encodeVarintPopulateMaster(dAtA, uint64(key)) - v88 := r.Int63() + v90 := r.Int63() if r.Intn(2) == 0 { - v88 *= -1 + v90 *= -1 } - dAtA = encodeVarintPopulateMaster(dAtA, uint64(v88)) + dAtA = encodeVarintPopulateMaster(dAtA, uint64(v90)) case 1: dAtA = encodeVarintPopulateMaster(dAtA, uint64(key)) dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) @@ -9075,6 +9120,12 @@ func (m *Response_GetAgents_Agent) ProtoSize() (n int) { n += 1 + l + sovMaster(uint64(l)) } } + if len(m.Capabilities) > 0 { + for _, e := range m.Capabilities { + l = e.ProtoSize() + n += 1 + l + sovMaster(uint64(l)) + } + } return n } @@ -9666,6 +9717,7 @@ func (this *Response_GetAgents_Agent) String() string { `TotalResources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.TotalResources), "Resource", "mesos.Resource", 1), `&`, ``, 1) + `,`, `AllocatedResources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllocatedResources), "Resource", "mesos.Resource", 1), `&`, ``, 1) + `,`, `OfferedResources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.OfferedResources), "Resource", "mesos.Resource", 1), `&`, ``, 1) + `,`, + `Capabilities:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Capabilities), "AgentInfo_Capability", "mesos.AgentInfo_Capability", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -13611,6 +13663,37 @@ func (m *Response_GetAgents_Agent) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Capabilities", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMaster + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMaster + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Capabilities = append(m.Capabilities, mesos.AgentInfo_Capability{}) + if err := m.Capabilities[len(m.Capabilities)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMaster(dAtA[iNdEx:]) @@ -15923,186 +16006,188 @@ var ( func init() { proto.RegisterFile("master/master.proto", fileDescriptorMaster) } var fileDescriptorMaster = []byte{ - // 2887 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x4b, 0x6c, 0x1b, 0xd7, - 0xd5, 0xf6, 0x50, 0xa4, 0x44, 0x1e, 0xbe, 0x86, 0x57, 0x8a, 0x4d, 0x8f, 0x1d, 0x5a, 0xbf, 0xfe, - 0xc6, 0x36, 0x9a, 0x58, 0x6a, 0x94, 0x07, 0x82, 0xc4, 0xb5, 0x4b, 0x8a, 0x63, 0x89, 0xb6, 0x24, - 0x2a, 0x33, 0x94, 0xdc, 0x06, 0x28, 0x88, 0x31, 0xe7, 0x6a, 0x44, 0x84, 0xe4, 0x30, 0x33, 0x43, - 0xa5, 0x2e, 0x5a, 0xa0, 0x40, 0x1f, 0xe8, 0xb2, 0xfb, 0xa2, 0x40, 0x80, 0x6e, 0xba, 0xee, 0xaa, - 0xcb, 0x2e, 0xd3, 0x5d, 0x96, 0x05, 0x0a, 0x18, 0xb1, 0xd2, 0x45, 0x97, 0x41, 0x56, 0x5d, 0x16, - 0xf7, 0x35, 0xbc, 0x43, 0x0e, 0x69, 0xd9, 0x0e, 0xb2, 0x91, 0xee, 0x3d, 0xf7, 0x3b, 0xdf, 0x7d, + // 2915 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x4d, 0x6c, 0x1b, 0xd7, + 0xb5, 0xf6, 0x50, 0xa4, 0x44, 0x1e, 0xfe, 0x0d, 0xaf, 0x14, 0x9b, 0x1e, 0x3b, 0xb4, 0x9e, 0xde, + 0x4b, 0x6c, 0xbc, 0xc4, 0xd2, 0x8b, 0xf2, 0x83, 0x20, 0xf1, 0xb3, 0x4b, 0x8a, 0x63, 0x89, 0xb6, + 0x24, 0x2a, 0x33, 0x94, 0xdc, 0x06, 0x28, 0x88, 0x11, 0xe7, 0x8a, 0x1a, 0x84, 0xe4, 0x30, 0x33, + 0x43, 0xa5, 0x2e, 0x5a, 0xa0, 0x40, 0x7f, 0xd0, 0x65, 0xf7, 0x45, 0x81, 0xa0, 0xdd, 0x74, 0xdd, + 0x55, 0xb3, 0xeb, 0x32, 0xdd, 0x65, 0xd9, 0x95, 0x11, 0x2b, 0x5d, 0x74, 0x99, 0x65, 0x97, 0xc5, + 0xfd, 0x1b, 0xde, 0x21, 0x87, 0xb4, 0x6c, 0x07, 0xd9, 0x48, 0xf7, 0x9e, 0xfb, 0x9d, 0xef, 0xfe, 0x9e, 0x33, 0xe7, 0x1c, 0xc2, 0x72, 0xdf, 0xf2, 0x03, 0xec, 0x6d, 0xb0, 0x7f, 0xeb, 0x43, 0xcf, - 0x0d, 0x5c, 0x94, 0xeb, 0x63, 0xdf, 0xf5, 0xd7, 0x99, 0x4c, 0xfb, 0x81, 0xd3, 0x0d, 0x4e, 0x46, - 0x8f, 0xd6, 0x3b, 0x6e, 0x7f, 0x83, 0x0e, 0xb0, 0xbf, 0xb7, 0x1c, 0x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8, 0x13, 0xd9, 0x4a, 0xc6, 0x6e, 0x61, 0x1c, 0x84, 0x08, 0xb8, 0x30, 0x1b, - 0xa1, 0xa2, 0xdd, 0x03, 0x75, 0xd2, 0x97, 0xa1, 0x4d, 0x48, 0xf7, 0xad, 0xce, 0x49, 0x77, 0x80, - 0xc5, 0x93, 0x55, 0x39, 0xe5, 0x1e, 0x13, 0x37, 0xea, 0x82, 0x47, 0xe0, 0x34, 0x1d, 0x8a, 0x13, - 0x2e, 0xec, 0x85, 0x68, 0x0e, 0x20, 0x2d, 0x3c, 0x18, 0xaa, 0x43, 0x9e, 0x3a, 0xac, 0xb6, 0x87, - 0x3f, 0x19, 0x61, 0x3f, 0xe0, 0xdb, 0xbb, 0xcc, 0x49, 0x58, 0x94, 0xc4, 0x9c, 0x15, 0x03, 0x70, - 0xb6, 0xdc, 0x27, 0x92, 0x4c, 0xbb, 0x01, 0x59, 0xc9, 0xad, 0x11, 0x9b, 0xf7, 0x5c, 0x7e, 0x54, - 0xa1, 0xcd, 0x13, 0xc9, 0xda, 0x97, 0x49, 0x48, 0x92, 0x98, 0x08, 0x65, 0x61, 0xe9, 0x70, 0xff, - 0xc1, 0x7e, 0xf3, 0xe1, 0xbe, 0x7a, 0x01, 0x15, 0x00, 0xb6, 0xf5, 0x56, 0x7b, 0x47, 0xaf, 0xee, - 0xb6, 0x76, 0x54, 0x05, 0xe5, 0x21, 0x43, 0xfa, 0xf7, 0x76, 0xab, 0xdb, 0xa6, 0x9a, 0x40, 0x45, - 0xc8, 0x92, 0xee, 0x91, 0x6e, 0x98, 0x8d, 0xe6, 0xbe, 0xba, 0x20, 0x04, 0x7b, 0x7a, 0xcb, 0x68, - 0x6c, 0x99, 0x6a, 0x12, 0xbd, 0x02, 0x25, 0x22, 0xd8, 0x6d, 0x6e, 0x6f, 0x37, 0xf6, 0xb7, 0xdb, - 0xbb, 0xfa, 0x91, 0xbe, 0xab, 0xa6, 0x88, 0xd8, 0x9c, 0x12, 0x2f, 0x92,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, 0xc7, - 0x55, 0x9a, 0x44, 0x28, 0x95, 0xce, 0xb0, 0xe7, 0xa3, 0x1f, 0x41, 0xa1, 0x3b, 0x20, 0x0e, 0x00, - 0xb7, 0xb9, 0x0e, 0xb3, 0x0d, 0x51, 0xe2, 0x6b, 0xb0, 0x41, 0x59, 0x35, 0xdf, 0x95, 0x64, 0x33, - 0x4d, 0x2c, 0xf3, 0xad, 0x98, 0x18, 0x3c, 0x97, 0x89, 0x91, 0x3b, 0x0d, 0x5f, 0x56, 0x39, 0x2b, - 0xdf, 0x69, 0x28, 0xd6, 0x3e, 0x4f, 0x40, 0x4e, 0xfe, 0x50, 0xa1, 0x03, 0xc8, 0x8c, 0x3f, 0x70, - 0xcc, 0x08, 0xdf, 0x38, 0xc7, 0x07, 0x6e, 0x5d, 0xb4, 0xc4, 0x14, 0x21, 0x09, 0xfa, 0x29, 0xa8, - 0xae, 0x37, 0x3c, 0xb1, 0x06, 0x91, 0x2f, 0xe7, 0x8b, 0x12, 0x17, 0x19, 0x57, 0x38, 0xae, 0xfd, - 0x4e, 0x81, 0xb4, 0xe8, 0xa1, 0x3b, 0x90, 0x17, 0x93, 0xc8, 0x66, 0x22, 0xee, 0x4f, 0xe0, 0x24, - 0x2b, 0xc9, 0x61, 0x49, 0x16, 0x29, 0x9c, 0x25, 0x9e, 0xaf, 0x70, 0xa6, 0xfd, 0x89, 0x45, 0x1a, - 0x2c, 0x56, 0x78, 0x17, 0xf2, 0x43, 0x3c, 0xb0, 0x49, 0xf2, 0x27, 0xa2, 0x0d, 0x39, 0xb6, 0x23, - 0x20, 0xb1, 0x00, 0x8e, 0x63, 0x7a, 0x37, 0x20, 0xc5, 0xf0, 0x89, 0x59, 0x78, 0x36, 0x8e, 0xde, - 0x87, 0xe2, 0xd8, 0xaf, 0x31, 0x95, 0x85, 0x59, 0x2a, 0x85, 0x10, 0xc9, 0x26, 0x79, 0x1b, 0x72, - 0xfc, 0x46, 0x98, 0x62, 0x72, 0x96, 0x62, 0x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 0xe4, 0xf7, 0xc2, 0xd0, 0x65, 0xf5, 0x59, 0xf7, 0xb2, 0x47, 0x45, + 0xf4, 0x5e, 0x58, 0x13, 0x59, 0x70, 0x99, 0x11, 0x48, 0x49, 0x50, 0x60, 0x05, 0x23, 0xbf, 0x5c, + 0xa2, 0x64, 0x6f, 0xcc, 0x23, 0x1b, 0xc7, 0x0b, 0x54, 0xc5, 0x58, 0xe9, 0xc6, 0x48, 0x51, 0x17, + 0xca, 0x53, 0x53, 0x88, 0x98, 0x02, 0xd1, 0x49, 0x6e, 0x5f, 0x6c, 0x12, 0x91, 0x68, 0x5d, 0xee, + 0xc6, 0xca, 0xc5, 0x75, 0xb0, 0x3c, 0x64, 0xf9, 0x59, 0xd7, 0xc1, 0x13, 0x99, 0x2e, 0x6f, 0x69, + 0x6f, 0x40, 0x26, 0xf4, 0x68, 0xa8, 0x02, 0x4b, 0xcc, 0x07, 0x3e, 0xa6, 0xdf, 0xf2, 0xb4, 0x08, + 0x9a, 0xb8, 0x50, 0x7b, 0x1b, 0xd2, 0xc2, 0x7d, 0xa1, 0x9b, 0x90, 0x62, 0xee, 0x8e, 0x85, 0x21, + 0x59, 0x3e, 0x25, 0x19, 0x14, 0xb9, 0x07, 0x1d, 0xd7, 0x1a, 0x34, 0xcf, 0x11, 0x7e, 0xea, 0x43, + 0xc8, 0x71, 0x3f, 0x47, 0xe3, 0x77, 0x1e, 0x7f, 0x20, 0xae, 0xcd, 0x51, 0x72, 0xfc, 0x7e, 0x36, + 0x16, 0x4d, 0xa7, 0x4c, 0xc2, 0xdd, 0xb1, 0x35, 0xe4, 0x45, 0x28, 0x44, 0xa5, 0x62, 0xf1, 0x1c, + 0xa3, 0xdd, 0x86, 0xe2, 0xf6, 0xc5, 0x53, 0x26, 0xad, 0x2a, 0xe7, 0x3e, 0xef, 0x00, 0x10, 0xff, + 0x13, 0x49, 0x39, 0x44, 0x84, 0x49, 0x10, 0xd2, 0x82, 0x33, 0x27, 0xbc, 0xef, 0x6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0x64, 0xe1, 0x33, 0x8c, 0x6a, + 0x0d, 0x32, 0x1d, 0x77, 0x30, 0xc0, 0x9d, 0x00, 0xdb, 0xd4, 0xac, 0x04, 0x60, 0x2c, 0x8e, 0xb3, + 0x9e, 0xe4, 0x4b, 0x58, 0x4f, 0xea, 0xa2, 0xd6, 0x73, 0x07, 0x4a, 0xa3, 0xc1, 0x45, 0x6d, 0x4f, + 0x46, 0x52, 0xed, 0xff, 0xa5, 0x35, 0x37, 0xec, 0x09, 0x93, 0xcb, 0x71, 0x95, 0x26, 0x11, 0x4a, + 0x15, 0x38, 0xec, 0xf9, 0xe8, 0x07, 0x50, 0x70, 0x06, 0xc4, 0x8f, 0xe0, 0x36, 0xd7, 0x61, 0x26, + 0x26, 0x2a, 0x85, 0x0d, 0x36, 0x28, 0xab, 0xe6, 0x1d, 0x49, 0x36, 0xd3, 0x52, 0x33, 0xdf, 0x89, + 0xa5, 0xc2, 0xf3, 0x59, 0xea, 0x1a, 0x49, 0x1b, 0xf8, 0xcb, 0x2a, 0x67, 0xe5, 0x3b, 0x0d, 0xc5, + 0xda, 0x97, 0x09, 0xc8, 0xc9, 0xdf, 0x3b, 0x74, 0x00, 0x99, 0xf1, 0x77, 0x92, 0x19, 0xe1, 0x9b, + 0x17, 0xf8, 0x4e, 0xae, 0x8b, 0x96, 0x98, 0x22, 0x24, 0x41, 0x3f, 0x06, 0xd5, 0xf5, 0x86, 0xa7, + 0xd6, 0x20, 0xf2, 0x01, 0x7e, 0x51, 0xe2, 0x22, 0xe3, 0x0a, 0xc7, 0xb5, 0xdf, 0x28, 0x90, 0x16, + 0x3d, 0x74, 0x17, 0xf2, 0x62, 0x12, 0xd9, 0x4c, 0xc4, 0xfd, 0x09, 0x9c, 0x64, 0x25, 0x39, 0x2c, + 0xc9, 0x22, 0xf5, 0xb7, 0xc4, 0xf3, 0xd5, 0xdf, 0xb4, 0x3f, 0xb0, 0x80, 0x85, 0x85, 0x1c, 0xef, + 0x41, 0x7e, 0x88,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0x5f, 0x9e, 0x57, 0x94, 0xaf, 0xce, 0x2b, 0xca, + 0xbf, 0xce, 0x2b, 0x97, 0xbe, 0x3d, 0xaf, 0x28, 0xbf, 0xfb, 0xa6, 0x72, 0xe9, 0xf3, 0x6f, 0x2a, + 0xca, 0xc7, 0x8b, 0xec, 0xa0, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x37, 0x19, 0xfe, 0xac, + 0x24, 0x00, 0x00, } diff --git a/api/v1/lib/master/master.pb_ffjson.go b/api/v1/lib/master/master.pb_ffjson.go index 3b9047d3..dadd4359 100644 --- a/api/v1/lib/master/master.pb_ffjson.go +++ b/api/v1/lib/master/master.pb_ffjson.go @@ -7947,6 +7947,27 @@ func (mj *Response_GetAgents_Agent) MarshalJSONBuf(buf fflib.EncodingBuffer) err } else { buf.WriteString(`null`) } + buf.WriteString(`,"capabilities":`) + if mj.Capabilities != nil { + buf.WriteString(`[`) + for i, v := range mj.Capabilities { + if i != 0 { + buf.WriteString(`,`) + } + + { + + err = v.MarshalJSONBuf(buf) + if err != nil { + return err + } + + } + } + buf.WriteString(`]`) + } else { + buf.WriteString(`null`) + } buf.WriteByte('}') return nil } @@ -7972,6 +7993,8 @@ const ( ffj_t_Response_GetAgents_Agent_AllocatedResources ffj_t_Response_GetAgents_Agent_OfferedResources + + ffj_t_Response_GetAgents_Agent_Capabilities ) var ffj_key_Response_GetAgents_Agent_AgentInfo = []byte("agent_info") @@ -7992,6 +8015,8 @@ var ffj_key_Response_GetAgents_Agent_AllocatedResources = []byte("allocated_reso var ffj_key_Response_GetAgents_Agent_OfferedResources = []byte("offered_resources") +var ffj_key_Response_GetAgents_Agent_Capabilities = []byte("capabilities") + func (uj *Response_GetAgents_Agent) UnmarshalJSON(input []byte) error { fs := fflib.NewFFLexer(input) return uj.UnmarshalJSONFFLexer(fs, fflib.FFParse_map_start) @@ -8069,6 +8094,14 @@ mainparse: goto mainparse } + case 'c': + + if bytes.Equal(ffj_key_Response_GetAgents_Agent_Capabilities, kn) { + currentKey = ffj_t_Response_GetAgents_Agent_Capabilities + state = fflib.FFParse_want_colon + goto mainparse + } + case 'o': if bytes.Equal(ffj_key_Response_GetAgents_Agent_OfferedResources, kn) { @@ -8116,6 +8149,12 @@ mainparse: } + if fflib.EqualFoldRight(ffj_key_Response_GetAgents_Agent_Capabilities, kn) { + currentKey = ffj_t_Response_GetAgents_Agent_Capabilities + state = fflib.FFParse_want_colon + goto mainparse + } + if fflib.EqualFoldRight(ffj_key_Response_GetAgents_Agent_OfferedResources, kn) { currentKey = ffj_t_Response_GetAgents_Agent_OfferedResources state = fflib.FFParse_want_colon @@ -8214,6 +8253,9 @@ mainparse: case ffj_t_Response_GetAgents_Agent_OfferedResources: goto handle_OfferedResources + case ffj_t_Response_GetAgents_Agent_Capabilities: + goto handle_Capabilities + case ffj_t_Response_GetAgents_Agentno_such_key: err = fs.SkipField(tok) if err != nil { @@ -8601,6 +8643,75 @@ handle_OfferedResources: state = fflib.FFParse_after_value goto mainparse +handle_Capabilities: + + /* handler: uj.Capabilities type=[]mesos.AgentInfo_Capability kind=slice quoted=false*/ + + { + + { + if tok != fflib.FFTok_left_brace && tok != fflib.FFTok_null { + return fs.WrapErr(fmt.Errorf("cannot unmarshal %s into Go value for ", tok)) + } + } + + if tok == fflib.FFTok_null { + uj.Capabilities = nil + } else { + + uj.Capabilities = []mesos.AgentInfo_Capability{} + + wantVal := true + + for { + + var tmp_uj__Capabilities mesos.AgentInfo_Capability + + tok = fs.Scan() + if tok == fflib.FFTok_error { + goto tokerror + } + if tok == fflib.FFTok_right_brace { + break + } + + if tok == fflib.FFTok_comma { + if wantVal == true { + // TODO(pquerna): this isn't an ideal error message, this handles + // things like [,,,] as an array value. + return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) + } + continue + } else { + wantVal = true + } + + /* handler: tmp_uj__Capabilities type=mesos.AgentInfo_Capability kind=struct quoted=false*/ + + { + if tok == fflib.FFTok_null { + + state = fflib.FFParse_after_value + goto mainparse + } + + err = tmp_uj__Capabilities.UnmarshalJSONFFLexer(fs, fflib.FFParse_want_key) + if err != nil { + return err + } + state = fflib.FFParse_after_value + } + + uj.Capabilities = append(uj.Capabilities, tmp_uj__Capabilities) + + wantVal = false + } + } + } + + state = fflib.FFParse_after_value + goto mainparse + wantedvalue: return fs.WrapErr(fmt.Errorf("wanted value token, but got token: %v", tok)) wrongtokenerror: diff --git a/api/v1/lib/master/master.proto b/api/v1/lib/master/master.proto index 02439c98..574ae542 100644 --- a/api/v1/lib/master/master.proto +++ b/api/v1/lib/master/master.proto @@ -327,6 +327,8 @@ message Response { repeated Resource allocated_resources = 8 [(gogoproto.nullable) = false]; repeated Resource offered_resources = 9 [(gogoproto.nullable) = false]; + + repeated AgentInfo.Capability capabilities = 10 [(gogoproto.nullable) = false]; } // Registered agents. @@ -537,10 +539,8 @@ message Event { required Response.GetAgents.Agent agent = 1 [(gogoproto.nullable) = false]; } - // Forwarded by the master when an agent is removed. - // This can happen when an agent does not re-register - // within `--agent_reregister_timeout` upon a master failover, - // or when the agent is scheduled for maintenance. + // Forwarded by the master when an agent is removed. This + // can happen when the agent is scheduled for maintenance. // // NOTE: It's possible that an agent might become // active once it has been removed, i.e. if the master From 5a646fbea7768aa6a3d373f5488af2e51730105d Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Thu, 14 Sep 2017 16:58:45 +0000 Subject: [PATCH 06/13] lib: resource and scheduler unit test fixes for 1.3.x compliance --- api/v1/lib/resources/builders.go | 6 +-- api/v1/lib/resourcetest/resourcetest.go | 6 +-- api/v1/lib/scheduler/calls/calls.go | 22 +++++------ api/v1/lib/scheduler/calls/calls_test.go | 50 ++++++++++++------------ 4 files changed, 43 insertions(+), 41 deletions(-) diff --git a/api/v1/lib/resources/builders.go b/api/v1/lib/resources/builders.go index 88064e54..f14471a4 100644 --- a/api/v1/lib/resources/builders.go +++ b/api/v1/lib/resources/builders.go @@ -81,12 +81,12 @@ func (rb *Builder) DiskSource(root string, t mesos.Resource_DiskInfo_Source_Type if rb.Resource.Disk == nil { return rb } - rb.Resource.Disk.Source = &mesos.Resource_DiskInfo_Source{Type: &t} + rb.Resource.Disk.Source = &mesos.Resource_DiskInfo_Source{Type: t} switch t { case mesos.PATH: - rb.Resource.Disk.Source.Path = &mesos.Resource_DiskInfo_Source_Path{Root: root} + rb.Resource.Disk.Source.Path = &mesos.Resource_DiskInfo_Source_Path{Root: &root} case mesos.MOUNT: - rb.Resource.Disk.Source.Mount = &mesos.Resource_DiskInfo_Source_Mount{Root: root} + rb.Resource.Disk.Source.Mount = &mesos.Resource_DiskInfo_Source_Mount{Root: &root} } return rb } diff --git a/api/v1/lib/resourcetest/resourcetest.go b/api/v1/lib/resourcetest/resourcetest.go index a9a026ca..9871733e 100644 --- a/api/v1/lib/resourcetest/resourcetest.go +++ b/api/v1/lib/resourcetest/resourcetest.go @@ -94,12 +94,12 @@ func DiskWithSource(persistenceID, containerPath, source string, sourceType meso r.Disk.Persistence = &mesos.Resource_DiskInfo_Persistence{ID: persistenceID} } if source != "" { - r.Disk.Source = &mesos.Resource_DiskInfo_Source{Type: &sourceType} + r.Disk.Source = &mesos.Resource_DiskInfo_Source{Type: sourceType} switch sourceType { case mesos.PATH: - r.Disk.Source.Path = &mesos.Resource_DiskInfo_Source_Path{Root: source} + r.Disk.Source.Path = &mesos.Resource_DiskInfo_Source_Path{Root: &source} case mesos.MOUNT: - r.Disk.Source.Mount = &mesos.Resource_DiskInfo_Source_Mount{Root: source} + r.Disk.Source.Mount = &mesos.Resource_DiskInfo_Source_Mount{Root: &source} } } } diff --git a/api/v1/lib/scheduler/calls/calls.go b/api/v1/lib/scheduler/calls/calls.go index 78582e71..5be35a3c 100644 --- a/api/v1/lib/scheduler/calls/calls.go +++ b/api/v1/lib/scheduler/calls/calls.go @@ -200,8 +200,8 @@ func OpDestroy(rs ...mesos.Resource) mesos.Offer_Operation { } } -// Role decorates Revive and Suppress calls; panics for any other call type. -func Role(role string) scheduler.CallOpt { +// Roles decorates Revive and Suppress calls; panics for any other call type. +func Roles(roles ...string) scheduler.CallOpt { return func(c *scheduler.Call) { if c == nil { return @@ -209,30 +209,30 @@ func Role(role string) scheduler.CallOpt { switch c.Type { case scheduler.Call_REVIVE: if c.Revive == nil { - if role == "" { + if len(roles) == 0 { return } c.Revive = new(scheduler.Call_Revive) } - if role == "" { - c.Revive.Role = nil + if len(roles) == 0 { + c.Revive.Roles = nil } else { - c.Revive.Role = &role + c.Revive.Roles = roles } case scheduler.Call_SUPPRESS: if c.Suppress == nil { - if role == "" { + if len(roles) == 0 { return } c.Suppress = new(scheduler.Call_Suppress) } - if role == "" { - c.Suppress.Role = nil + if len(roles) == 0 { + c.Suppress.Roles = nil } else { - c.Suppress.Role = &role + c.Suppress.Roles = roles } default: - panic("Role doesn't support call type " + c.Type.String()) + panic("Roles doesn't support call type " + c.Type.String()) } } } diff --git a/api/v1/lib/scheduler/calls/calls_test.go b/api/v1/lib/scheduler/calls/calls_test.go index e0b056a3..02859264 100644 --- a/api/v1/lib/scheduler/calls/calls_test.go +++ b/api/v1/lib/scheduler/calls/calls_test.go @@ -16,37 +16,39 @@ func TestRole(t *testing.T) { outcomeChanged = outcome(iota) outcomePanic outcomeUnchanged - - roleX = "x" - roleY = "y" + ) + var ( + rolesNone []string + roleX = []string{"x"} + roleY = []string{"y"} ) for ti, tc := range []struct { call *scheduler.Call - role string + roles []string outcome outcome }{ - {nil, "", outcomeUnchanged}, + {nil, rolesNone, outcomeUnchanged}, {nil, roleX, outcomeUnchanged}, - {&scheduler.Call{}, "", outcomePanic}, + {&scheduler.Call{}, rolesNone, outcomePanic}, {&scheduler.Call{}, roleX, outcomePanic}, - {&scheduler.Call{Type: scheduler.Call_SUBSCRIBE}, "", outcomePanic}, + {&scheduler.Call{Type: scheduler.Call_SUBSCRIBE}, rolesNone, outcomePanic}, {&scheduler.Call{Type: scheduler.Call_SUBSCRIBE}, roleX, outcomePanic}, - {&scheduler.Call{Type: scheduler.Call_REVIVE}, "", outcomeUnchanged}, - {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{}}, "", outcomeUnchanged}, - {&scheduler.Call{Type: scheduler.Call_SUPPRESS}, "", outcomeUnchanged}, - {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{}}, "", outcomeUnchanged}, + {&scheduler.Call{Type: scheduler.Call_REVIVE}, rolesNone, outcomeUnchanged}, + {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{}}, rolesNone, outcomeUnchanged}, + {&scheduler.Call{Type: scheduler.Call_SUPPRESS}, rolesNone, outcomeUnchanged}, + {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{}}, rolesNone, outcomeUnchanged}, {&scheduler.Call{Type: scheduler.Call_REVIVE}, roleX, outcomeChanged}, {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{}}, roleX, outcomeChanged}, {&scheduler.Call{Type: scheduler.Call_SUPPRESS}, roleX, outcomeChanged}, {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{}}, roleX, outcomeChanged}, - {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{Role: proto.String(roleY)}}, roleX, outcomeChanged}, - {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{Role: proto.String(roleY)}}, roleX, outcomeChanged}, + {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{Roles: roleY}}, roleX, outcomeChanged}, + {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{Roles: roleY}}, roleX, outcomeChanged}, - {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{Role: proto.String(roleY)}}, "", outcomeChanged}, - {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{Role: proto.String(roleY)}}, "", outcomeChanged}, + {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{Roles: roleY}}, rolesNone, outcomeChanged}, + {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{Roles: roleY}}, rolesNone, outcomeChanged}, } { var ( caught interface{} @@ -56,7 +58,7 @@ func TestRole(t *testing.T) { defer func() { caught = recover() }() - _ = tc.call.With(calls.Role(tc.role)) + _ = tc.call.With(calls.Roles(tc.roles...)) }() switch tc.outcome { case outcomePanic: @@ -68,25 +70,25 @@ func TestRole(t *testing.T) { t.Errorf("test case %d failed: expected unchanged call instead of: %#v ", ti, tc.call) } case outcomeChanged: - role, hasRole := func() (string, bool) { + roles, hasRole := func() ([]string, bool) { switch tc.call.Type { case scheduler.Call_SUPPRESS: - return tc.call.Suppress.GetRole(), tc.call.Suppress.Role != nil + return tc.call.Suppress.GetRoles(), len(tc.call.Suppress.Roles) > 0 case scheduler.Call_REVIVE: - return tc.call.Revive.GetRole(), tc.call.Revive.Role != nil + return tc.call.Revive.GetRoles(), len(tc.call.Revive.Roles) > 0 default: panic(fmt.Sprintf("test case %d failed: unsupported call type: %v", ti, tc.call.Type)) } }() - if hasRole != (tc.role != "") { + if hasRole != (len(tc.roles) > 0) { if hasRole { - t.Errorf("test case %d failed: expected no role instead of %q", ti, role) + t.Errorf("test case %d failed: expected no role instead of %q", ti, roles) } else { - t.Errorf("test case %d failed: expected role %q instead of no role", ti, tc.role) + t.Errorf("test case %d failed: expected role %q instead of no role", ti, tc.roles) } } - if hasRole && tc.role != role { - t.Errorf("test case %d failed: expected role %q instead of %q", ti, tc.role, role) + if hasRole && !reflect.DeepEqual(tc.roles, roles) { + t.Errorf("test case %d failed: expected role %q instead of %q", ti, tc.roles, roles) } } } From d4f22c623d1157d36adb65d75bcdfcca35599c1e Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Thu, 14 Sep 2017 19:24:41 +0000 Subject: [PATCH 07/13] lib/scheduler/calls: rewrite Roles() option for Revive/Suppress calls --- api/v1/lib/scheduler/calls/calls.go | 64 ++++++---------- api/v1/lib/scheduler/calls/calls_test.go | 93 ++++++------------------ api/v1/lib/scheduler/options.go | 14 ++++ 3 files changed, 60 insertions(+), 111 deletions(-) diff --git a/api/v1/lib/scheduler/calls/calls.go b/api/v1/lib/scheduler/calls/calls.go index 5be35a3c..6a32fb97 100644 --- a/api/v1/lib/scheduler/calls/calls.go +++ b/api/v1/lib/scheduler/calls/calls.go @@ -200,57 +200,39 @@ func OpDestroy(rs ...mesos.Resource) mesos.Offer_Operation { } } -// Roles decorates Revive and Suppress calls; panics for any other call type. -func Roles(roles ...string) scheduler.CallOpt { - return func(c *scheduler.Call) { - if c == nil { - return - } - switch c.Type { - case scheduler.Call_REVIVE: - if c.Revive == nil { - if len(roles) == 0 { - return - } - c.Revive = new(scheduler.Call_Revive) - } - if len(roles) == 0 { - c.Revive.Roles = nil - } else { - c.Revive.Roles = roles - } - case scheduler.Call_SUPPRESS: - if c.Suppress == nil { - if len(roles) == 0 { - return - } - c.Suppress = new(scheduler.Call_Suppress) - } - if len(roles) == 0 { - c.Suppress.Roles = nil - } else { - c.Suppress.Roles = roles - } - default: - panic("Roles doesn't support call type " + c.Type.String()) - } - } +// OfferFlowControl is a marker interface for Call subtypes that adjust offer throttling. +type OfferFlowControl interface { + SetRoles(roles ...string) } +// OfferFlowOpt configures OfferFlowControl. +type OfferFlowOpt func(OfferFlowControl) + +// Roles configures the roles for an OfferFlowControl. +func Roles(roles ...string) OfferFlowOpt { return func(ofc OfferFlowControl) { ofc.SetRoles(roles...) } } + // Revive returns a revive call. // Callers are expected to fill in the FrameworkID. -func Revive() *scheduler.Call { - return &scheduler.Call{ - Type: scheduler.Call_REVIVE, +func Revive(opts ...OfferFlowOpt) (c *scheduler.Call) { + c = &scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{}} + for _, f := range opts { + if f != nil { + f(c.Revive) + } } + return } // Suppress returns a suppress call. // Callers are expected to fill in the FrameworkID. -func Suppress() *scheduler.Call { - return &scheduler.Call{ - Type: scheduler.Call_SUPPRESS, +func Suppress(opts ...OfferFlowOpt) (c *scheduler.Call) { + c = &scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{}} + for _, f := range opts { + if f != nil { + f(c.Suppress) + } } + return } // Decline returns a decline call with the given parameters. diff --git a/api/v1/lib/scheduler/calls/calls_test.go b/api/v1/lib/scheduler/calls/calls_test.go index 02859264..07513952 100644 --- a/api/v1/lib/scheduler/calls/calls_test.go +++ b/api/v1/lib/scheduler/calls/calls_test.go @@ -5,91 +5,44 @@ import ( "reflect" "testing" - "github.com/gogo/protobuf/proto" "github.com/mesos/mesos-go/api/v1/lib/scheduler" "github.com/mesos/mesos-go/api/v1/lib/scheduler/calls" ) func TestRole(t *testing.T) { - type outcome int - const ( - outcomeChanged = outcome(iota) - outcomePanic - outcomeUnchanged - ) var ( rolesNone []string roleX = []string{"x"} - roleY = []string{"y"} ) for ti, tc := range []struct { - call *scheduler.Call - roles []string - outcome outcome + call *scheduler.Call + roles []string }{ - {nil, rolesNone, outcomeUnchanged}, - {nil, roleX, outcomeUnchanged}, - {&scheduler.Call{}, rolesNone, outcomePanic}, - {&scheduler.Call{}, roleX, outcomePanic}, - {&scheduler.Call{Type: scheduler.Call_SUBSCRIBE}, rolesNone, outcomePanic}, - {&scheduler.Call{Type: scheduler.Call_SUBSCRIBE}, roleX, outcomePanic}, - - {&scheduler.Call{Type: scheduler.Call_REVIVE}, rolesNone, outcomeUnchanged}, - {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{}}, rolesNone, outcomeUnchanged}, - {&scheduler.Call{Type: scheduler.Call_SUPPRESS}, rolesNone, outcomeUnchanged}, - {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{}}, rolesNone, outcomeUnchanged}, - - {&scheduler.Call{Type: scheduler.Call_REVIVE}, roleX, outcomeChanged}, - {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{}}, roleX, outcomeChanged}, - {&scheduler.Call{Type: scheduler.Call_SUPPRESS}, roleX, outcomeChanged}, - {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{}}, roleX, outcomeChanged}, + {calls.Revive(calls.Roles()), rolesNone}, + {calls.Suppress(calls.Roles()), rolesNone}, - {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{Roles: roleY}}, roleX, outcomeChanged}, - {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{Roles: roleY}}, roleX, outcomeChanged}, - - {&scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{Roles: roleY}}, rolesNone, outcomeChanged}, - {&scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{Roles: roleY}}, rolesNone, outcomeChanged}, + {calls.Revive(calls.Roles(roleX...)), roleX}, + {calls.Suppress(calls.Roles(roleX...)), roleX}, } { - var ( - caught interface{} - before = proto.Clone(tc.call).(*scheduler.Call) - ) - func() { - defer func() { - caught = recover() - }() - _ = tc.call.With(calls.Roles(tc.roles...)) - }() - switch tc.outcome { - case outcomePanic: - if caught == nil { - t.Errorf("test case %d failed: expected panic", ti) + roles, hasRole := func() ([]string, bool) { + switch tc.call.Type { + case scheduler.Call_SUPPRESS: + return tc.call.Suppress.GetRoles(), len(tc.call.Suppress.Roles) > 0 + case scheduler.Call_REVIVE: + return tc.call.Revive.GetRoles(), len(tc.call.Revive.Roles) > 0 + default: + panic(fmt.Sprintf("test case %d failed: unsupported call type: %v", ti, tc.call.Type)) } - case outcomeUnchanged: - if !reflect.DeepEqual(before, tc.call) { - t.Errorf("test case %d failed: expected unchanged call instead of: %#v ", ti, tc.call) - } - case outcomeChanged: - roles, hasRole := func() ([]string, bool) { - switch tc.call.Type { - case scheduler.Call_SUPPRESS: - return tc.call.Suppress.GetRoles(), len(tc.call.Suppress.Roles) > 0 - case scheduler.Call_REVIVE: - return tc.call.Revive.GetRoles(), len(tc.call.Revive.Roles) > 0 - default: - panic(fmt.Sprintf("test case %d failed: unsupported call type: %v", ti, tc.call.Type)) - } - }() - if hasRole != (len(tc.roles) > 0) { - if hasRole { - t.Errorf("test case %d failed: expected no role instead of %q", ti, roles) - } else { - t.Errorf("test case %d failed: expected role %q instead of no role", ti, tc.roles) - } - } - if hasRole && !reflect.DeepEqual(tc.roles, roles) { - t.Errorf("test case %d failed: expected role %q instead of %q", ti, tc.roles, roles) + }() + if hasRole != (len(tc.roles) > 0) { + if hasRole { + t.Errorf("test case %d failed: expected no role instead of %q", ti, roles) + } else { + t.Errorf("test case %d failed: expected role %q instead of no role", ti, tc.roles) } } + if hasRole && !reflect.DeepEqual(tc.roles, roles) { + t.Errorf("test case %d failed: expected role %q instead of %q", ti, tc.roles, roles) + } } } diff --git a/api/v1/lib/scheduler/options.go b/api/v1/lib/scheduler/options.go index e7bc2ac1..772b22de 100644 --- a/api/v1/lib/scheduler/options.go +++ b/api/v1/lib/scheduler/options.go @@ -37,3 +37,17 @@ func (co CallOptions) Copy() CallOptions { copy(x, co) return x } + +// SetRoles implements calls.OfferFlowControl +func (c *Call_Revive) SetRoles(roles ...string) { + if c != nil { + c.Roles = roles + } +} + +// SetRoles implements calls.OfferFlowControl +func (c *Call_Suppress) SetRoles(roles ...string) { + if c != nil { + c.Roles = roles + } +} From 907d8a8d6c0f2a5b35f4e225efd21438f1f37795 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Fri, 15 Sep 2017 04:47:20 +0000 Subject: [PATCH 08/13] encoding: introduce SourceNil --- api/v1/lib/encoding/types.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/v1/lib/encoding/types.go b/api/v1/lib/encoding/types.go index f927afb4..492a346a 100644 --- a/api/v1/lib/encoding/types.go +++ b/api/v1/lib/encoding/types.go @@ -46,6 +46,14 @@ var ( _ = SinkFactory(SinkFactoryFunc(nil)) ) +func SourceNil(r io.Reader) Source { + return func() framing.Reader { + return framing.ReaderFunc(func() ([]byte, error) { + return nil, io.EOF + }) + } +} + // SourceReader returns a Source that buffers all input from the given io.Reader // and returns the contents in a single frame. func SourceReader(r io.Reader) Source { From 54db8346130cbf794eda36169d4d40e2b61ea558 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Fri, 15 Sep 2017 04:48:36 +0000 Subject: [PATCH 09/13] client, httpcli: use ResponseClassNoData for empty reponse entities --- api/v1/lib/client/client.go | 1 + api/v1/lib/httpcli/http.go | 8 +++++++- api/v1/lib/httpcli/httpagent/util.go | 2 +- api/v1/lib/httpcli/httpmaster/util.go | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/api/v1/lib/client/client.go b/api/v1/lib/client/client.go index fcc15607..0f0d0dd8 100644 --- a/api/v1/lib/client/client.go +++ b/api/v1/lib/client/client.go @@ -45,6 +45,7 @@ func RequestSingleton(m encoding.Marshaler) Request { const ( ResponseClassSingleton ResponseClass = iota ResponseClassStreaming + ResponseClassNoData // ResponseClassAuto should be used with versions of Mesos prior to 1.2.x. // Otherwise, this type is deprecated and callers should use ResponseClassSingleton diff --git a/api/v1/lib/httpcli/http.go b/api/v1/lib/httpcli/http.go index 26df4932..d5499fcb 100644 --- a/api/v1/lib/httpcli/http.go +++ b/api/v1/lib/httpcli/http.go @@ -163,7 +163,7 @@ func prepareForResponse(rc client.ResponseClass, codec encoding.Codec) (RequestO // type from the perspective of the caller --> client.ResponseClass. var accept RequestOpts switch rc { - case client.ResponseClassSingleton, client.ResponseClassAuto: + case client.ResponseClassSingleton, client.ResponseClassAuto, client.ResponseClassNoData: accept = append(accept, Header("Accept", codec.Type.ContentType())) case client.ResponseClassStreaming: accept = append(accept, Header("Accept", mediaTypeRecordIO.ContentType())) @@ -257,6 +257,10 @@ func validateSuccessfulResponse(codec encoding.Codec, res *http.Response, rc cli case http.StatusOK: ct := res.Header.Get("Content-Type") switch rc { + case client.ResponseClassNoData: + if ct != "" { + return ProtocolError(fmt.Sprintf("unexpected content type: %q", ct)) + } case client.ResponseClassSingleton, client.ResponseClassAuto: if ct != codec.Type.ContentType() { return ProtocolError(fmt.Sprintf("unexpected content type: %q", ct)) @@ -282,6 +286,8 @@ func validateSuccessfulResponse(codec encoding.Codec, res *http.Response, rc cli func responseToSource(res *http.Response, rc client.ResponseClass) encoding.SourceFactoryFunc { switch rc { + case client.ResponseClassNoData: + return encoding.SourceNil case client.ResponseClassSingleton: return encoding.SourceReader case client.ResponseClassStreaming, client.ResponseClassAuto: diff --git a/api/v1/lib/httpcli/httpagent/util.go b/api/v1/lib/httpcli/httpagent/util.go index 5d8a5d1d..7f9d3337 100644 --- a/api/v1/lib/httpcli/httpagent/util.go +++ b/api/v1/lib/httpcli/httpagent/util.go @@ -43,7 +43,7 @@ func classifyResponse(c *agent.Call) (rc client.ResponseClass, err error) { agent.Call_KILL_NESTED_CONTAINER, agent.Call_REMOVE_NESTED_CONTAINER, agent.Call_ATTACH_CONTAINER_INPUT: - rc = client.ResponseClassAuto + rc = client.ResponseClassNoData default: err = httpcli.ProtocolError(fmt.Sprintf("unsupported agent.Call type: %v", t)) diff --git a/api/v1/lib/httpcli/httpmaster/util.go b/api/v1/lib/httpcli/httpmaster/util.go index a1243257..65479a68 100644 --- a/api/v1/lib/httpcli/httpmaster/util.go +++ b/api/v1/lib/httpcli/httpmaster/util.go @@ -54,7 +54,7 @@ func classifyResponse(c *master.Call) (rc client.ResponseClass, err error) { master.Call_STOP_MAINTENANCE, master.Call_SET_QUOTA, master.Call_REMOVE_QUOTA: - rc = client.ResponseClassAuto + rc = client.ResponseClassNoData default: err = httpcli.ProtocolError(fmt.Sprintf("unsupported master.Call type: %v", t)) From 2423c4dc2a152e0b706c21520d12dc823c7587bd Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Fri, 15 Sep 2017 04:49:12 +0000 Subject: [PATCH 10/13] msh: better signal cleanup code --- api/v1/cmd/msh/tty.go | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/api/v1/cmd/msh/tty.go b/api/v1/cmd/msh/tty.go index ca818838..88f5c412 100644 --- a/api/v1/cmd/msh/tty.go +++ b/api/v1/cmd/msh/tty.go @@ -166,7 +166,7 @@ func ttyWinch(tty *ttyDevice) { Columns: uint32(tty.original_winsize.ws_col), } go func() { - defer signal.Ignore(os.Signal(syscall.SIGWINCH)) + defer signal.Reset(os.Signal(syscall.SIGWINCH)) for { select { case <-c: @@ -195,13 +195,23 @@ func ttyWinch(tty *ttyDevice) { } func ttyTermReset(tty *ttyDevice) { - // cleanup properly upon SIGTERM - term := make(chan os.Signal, 1) + var ( + // cleanup properly upon SIGTERM + term = make(chan os.Signal, 1) + done = make(chan struct{}) + ) go func() { - <-term - tty.cleanups.unwind() - os.Exit(0) + select { + case <-term: + tty.cleanups.unwind() + os.Exit(0) + case <-done: + //println("stop waiting for SIGTERM") + } }() - tty.cleanups.push(func() { signal.Ignore(os.Signal(syscall.SIGTERM)) }) + tty.cleanups.push(func() { + signal.Reset(os.Signal(syscall.SIGTERM)) + close(done) // stop waiting for a signal + }) signal.Notify(term, os.Signal(syscall.SIGTERM)) } From b08f1ba65f8a8681d191f2fba424833ce3be04f0 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Fri, 15 Sep 2017 04:49:52 +0000 Subject: [PATCH 11/13] msh: CTRL-P, CTRL-Q aborts interactive session --- api/v1/cmd/msh/msh.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/api/v1/cmd/msh/msh.go b/api/v1/cmd/msh/msh.go index 8729d41f..c2cc1b41 100644 --- a/api/v1/cmd/msh/msh.go +++ b/api/v1/cmd/msh/msh.go @@ -10,6 +10,7 @@ package main // import ( + "bytes" "context" "flag" "fmt" @@ -342,6 +343,7 @@ func tryInteractive(agentHost string, cid mesos.ContainerID) (err error) { go func() { <-ctx.Done() + //println("closing ttyd via ctx.Done") ttyd.Close() }() @@ -396,11 +398,18 @@ func attachContainerInput(ctx context.Context, stdin io.Reader, winCh <-chan mes input := make(chan []byte) go func() { defer close(input) + escape := []byte{0x10, 0x11} // CTRL-P, CTRL-Q + var last byte for { buf := make([]byte, 512) // not efficient to always do this n, err := stdin.Read(buf) if n > 0 { + if (last == escape[0] && buf[0] == escape[1]) || bytes.Index(buf, escape) > -1 { + //println("escape sequence detected") + return + } buf = buf[:n] + last = buf[n-1] select { case input <- buf: case <-ctx.Done(): From c10cbadacaf595cf62c7e73b73110f3dd3e2f6eb Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Fri, 15 Sep 2017 07:23:49 +0000 Subject: [PATCH 12/13] encoding: remove SourceNil; httpcli: drain response body --- api/v1/lib/encoding/types.go | 8 -------- api/v1/lib/httpcli/http.go | 27 +++++++++++++++++++++++---- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/api/v1/lib/encoding/types.go b/api/v1/lib/encoding/types.go index 492a346a..f927afb4 100644 --- a/api/v1/lib/encoding/types.go +++ b/api/v1/lib/encoding/types.go @@ -46,14 +46,6 @@ var ( _ = SinkFactory(SinkFactoryFunc(nil)) ) -func SourceNil(r io.Reader) Source { - return func() framing.Reader { - return framing.ReaderFunc(func() ([]byte, error) { - return nil, io.EOF - }) - } -} - // SourceReader returns a Source that buffers all input from the given io.Reader // and returns the contents in a single frame. func SourceReader(r io.Reader) Source { diff --git a/api/v1/lib/httpcli/http.go b/api/v1/lib/httpcli/http.go index d5499fcb..4d724a56 100644 --- a/api/v1/lib/httpcli/http.go +++ b/api/v1/lib/httpcli/http.go @@ -6,6 +6,7 @@ import ( "crypto/tls" "fmt" "io" + "io/ioutil" "net" "net/http" "sync" @@ -287,7 +288,7 @@ func validateSuccessfulResponse(codec encoding.Codec, res *http.Response, rc cli func responseToSource(res *http.Response, rc client.ResponseClass) encoding.SourceFactoryFunc { switch rc { case client.ResponseClassNoData: - return encoding.SourceNil + return nil case client.ResponseClassSingleton: return encoding.SourceReader case client.ResponseClassStreaming, client.ResponseClassAuto: @@ -328,17 +329,35 @@ func (c *Client) HandleResponse(res *http.Response, rc client.ResponseClass, err switch res.StatusCode { case http.StatusOK: debug.Log("request OK, decoding response") + sf := responseToSource(res, rc) + if sf == nil { + if rc != client.ResponseClassNoData { + panic("nil Source for response that expected data") + } + // we don't expect any data. drain the response body and close it (compliant with golang's expectations + // for http/1.1 keepalive support. + defer res.Body.Close() + _, err = io.Copy(ioutil.Discard, res.Body) + return nil, err + } + result.Decoder = c.codec.NewDecoder(sf.NewSource(res.Body)) case http.StatusAccepted: debug.Log("request Accepted") + // noop; no decoder for these types of calls + defer res.Body.Close() + _, err = io.Copy(ioutil.Discard, res.Body) + return nil, err default: - // don't close the response here because the caller may want to evaluate the entity. - // it's the caller's job to Close the returned response. - return result, ProtocolError(fmt.Sprintf("unexpected mesos HTTP response code: %d", res.StatusCode)) + debug.Log("unexpected HTTP status", res.StatusCode) + + defer res.Body.Close() + io.Copy(ioutil.Discard, res.Body) // intentionally discard any error here + return nil, ProtocolError(fmt.Sprintf("unexpected mesos HTTP response code: %d", res.StatusCode)) } return result, nil From 9d5cb64199503e36103cc145224c4c3197487366 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Fri, 15 Sep 2017 14:48:30 +0000 Subject: [PATCH 13/13] lib/scheduler: further simplify revive/suppress APIs --- api/v1/lib/scheduler/calls/calls.go | 43 +++++++++++------------- api/v1/lib/scheduler/calls/calls_test.go | 15 +++++---- api/v1/lib/scheduler/options.go | 14 -------- 3 files changed, 28 insertions(+), 44 deletions(-) diff --git a/api/v1/lib/scheduler/calls/calls.go b/api/v1/lib/scheduler/calls/calls.go index 6a32fb97..9291c21f 100644 --- a/api/v1/lib/scheduler/calls/calls.go +++ b/api/v1/lib/scheduler/calls/calls.go @@ -200,39 +200,34 @@ func OpDestroy(rs ...mesos.Resource) mesos.Offer_Operation { } } -// OfferFlowControl is a marker interface for Call subtypes that adjust offer throttling. -type OfferFlowControl interface { - SetRoles(roles ...string) +// Revive returns a revive call. +// Callers are expected to fill in the FrameworkID. +func Revive() *scheduler.Call { + return &scheduler.Call{Type: scheduler.Call_REVIVE} } -// OfferFlowOpt configures OfferFlowControl. -type OfferFlowOpt func(OfferFlowControl) - -// Roles configures the roles for an OfferFlowControl. -func Roles(roles ...string) OfferFlowOpt { return func(ofc OfferFlowControl) { ofc.SetRoles(roles...) } } - -// Revive returns a revive call. +// Revive returns a revive call with the given filters. // Callers are expected to fill in the FrameworkID. -func Revive(opts ...OfferFlowOpt) (c *scheduler.Call) { - c = &scheduler.Call{Type: scheduler.Call_REVIVE, Revive: &scheduler.Call_Revive{}} - for _, f := range opts { - if f != nil { - f(c.Revive) - } +func ReviveWith(roles []string) *scheduler.Call { + return &scheduler.Call{ + Type: scheduler.Call_REVIVE, + Revive: &scheduler.Call_Revive{Roles: roles}, } - return } // Suppress returns a suppress call. // Callers are expected to fill in the FrameworkID. -func Suppress(opts ...OfferFlowOpt) (c *scheduler.Call) { - c = &scheduler.Call{Type: scheduler.Call_SUPPRESS, Suppress: &scheduler.Call_Suppress{}} - for _, f := range opts { - if f != nil { - f(c.Suppress) - } +func Suppress() *scheduler.Call { + return &scheduler.Call{Type: scheduler.Call_SUPPRESS} +} + +// Suppress returns a suppress call with the given filters. +// Callers are expected to fill in the FrameworkID. +func SuppressWith(roles []string) *scheduler.Call { + return &scheduler.Call{ + Type: scheduler.Call_SUPPRESS, + Suppress: &scheduler.Call_Suppress{Roles: roles}, } - return } // Decline returns a decline call with the given parameters. diff --git a/api/v1/lib/scheduler/calls/calls_test.go b/api/v1/lib/scheduler/calls/calls_test.go index 07513952..19df2306 100644 --- a/api/v1/lib/scheduler/calls/calls_test.go +++ b/api/v1/lib/scheduler/calls/calls_test.go @@ -18,18 +18,21 @@ func TestRole(t *testing.T) { call *scheduler.Call roles []string }{ - {calls.Revive(calls.Roles()), rolesNone}, - {calls.Suppress(calls.Roles()), rolesNone}, + {calls.Revive(), rolesNone}, + {calls.Suppress(), rolesNone}, - {calls.Revive(calls.Roles(roleX...)), roleX}, - {calls.Suppress(calls.Roles(roleX...)), roleX}, + {calls.ReviveWith(nil), rolesNone}, + {calls.SuppressWith(nil), rolesNone}, + + {calls.ReviveWith(roleX), roleX}, + {calls.SuppressWith(roleX), roleX}, } { roles, hasRole := func() ([]string, bool) { switch tc.call.Type { case scheduler.Call_SUPPRESS: - return tc.call.Suppress.GetRoles(), len(tc.call.Suppress.Roles) > 0 + return tc.call.GetSuppress().GetRoles(), len(tc.call.GetSuppress().GetRoles()) > 0 case scheduler.Call_REVIVE: - return tc.call.Revive.GetRoles(), len(tc.call.Revive.Roles) > 0 + return tc.call.GetRevive().GetRoles(), len(tc.call.GetRevive().GetRoles()) > 0 default: panic(fmt.Sprintf("test case %d failed: unsupported call type: %v", ti, tc.call.Type)) } diff --git a/api/v1/lib/scheduler/options.go b/api/v1/lib/scheduler/options.go index 772b22de..e7bc2ac1 100644 --- a/api/v1/lib/scheduler/options.go +++ b/api/v1/lib/scheduler/options.go @@ -37,17 +37,3 @@ func (co CallOptions) Copy() CallOptions { copy(x, co) return x } - -// SetRoles implements calls.OfferFlowControl -func (c *Call_Revive) SetRoles(roles ...string) { - if c != nil { - c.Roles = roles - } -} - -// SetRoles implements calls.OfferFlowControl -func (c *Call_Suppress) SetRoles(roles ...string) { - if c != nil { - c.Roles = roles - } -}