Driver networking support

Adds support for passing network isolation config into drivers and
implements support in the rawexec driver as a proof of concept
This commit is contained in:
Nick Ethier
2019-04-29 13:37:23 -04:00
parent 9fa47daf5c
commit e26192ad49
9 changed files with 237 additions and 174 deletions

View File

@@ -50,7 +50,7 @@ func (x TaskState) String() string {
return proto.EnumName(TaskState_name, int32(x))
}
func (TaskState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{0}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{0}
}
type FingerprintResponse_HealthState int32
@@ -76,7 +76,7 @@ func (x FingerprintResponse_HealthState) String() string {
return proto.EnumName(FingerprintResponse_HealthState_name, int32(x))
}
func (FingerprintResponse_HealthState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{5, 0}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{5, 0}
}
type StartTaskResponse_Result int32
@@ -102,7 +102,7 @@ func (x StartTaskResponse_Result) String() string {
return proto.EnumName(StartTaskResponse_Result_name, int32(x))
}
func (StartTaskResponse_Result) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{9, 0}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{9, 0}
}
type DriverCapabilities_FSIsolation int32
@@ -128,7 +128,7 @@ func (x DriverCapabilities_FSIsolation) String() string {
return proto.EnumName(DriverCapabilities_FSIsolation_name, int32(x))
}
func (DriverCapabilities_FSIsolation) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{32, 0}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{32, 0}
}
type NetworkIsolationSpec_NetworkIsolationMode int32
@@ -157,7 +157,7 @@ func (x NetworkIsolationSpec_NetworkIsolationMode) String() string {
return proto.EnumName(NetworkIsolationSpec_NetworkIsolationMode_name, int32(x))
}
func (NetworkIsolationSpec_NetworkIsolationMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{33, 0}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{33, 0}
}
type CPUUsage_Fields int32
@@ -192,7 +192,7 @@ func (x CPUUsage_Fields) String() string {
return proto.EnumName(CPUUsage_Fields_name, int32(x))
}
func (CPUUsage_Fields) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{51, 0}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{51, 0}
}
type MemoryUsage_Fields int32
@@ -230,7 +230,7 @@ func (x MemoryUsage_Fields) String() string {
return proto.EnumName(MemoryUsage_Fields_name, int32(x))
}
func (MemoryUsage_Fields) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{52, 0}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{52, 0}
}
type TaskConfigSchemaRequest struct {
@@ -243,7 +243,7 @@ func (m *TaskConfigSchemaRequest) Reset() { *m = TaskConfigSchemaRequest
func (m *TaskConfigSchemaRequest) String() string { return proto.CompactTextString(m) }
func (*TaskConfigSchemaRequest) ProtoMessage() {}
func (*TaskConfigSchemaRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{0}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{0}
}
func (m *TaskConfigSchemaRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskConfigSchemaRequest.Unmarshal(m, b)
@@ -275,7 +275,7 @@ func (m *TaskConfigSchemaResponse) Reset() { *m = TaskConfigSchemaRespon
func (m *TaskConfigSchemaResponse) String() string { return proto.CompactTextString(m) }
func (*TaskConfigSchemaResponse) ProtoMessage() {}
func (*TaskConfigSchemaResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{1}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{1}
}
func (m *TaskConfigSchemaResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskConfigSchemaResponse.Unmarshal(m, b)
@@ -312,7 +312,7 @@ func (m *CapabilitiesRequest) Reset() { *m = CapabilitiesRequest{} }
func (m *CapabilitiesRequest) String() string { return proto.CompactTextString(m) }
func (*CapabilitiesRequest) ProtoMessage() {}
func (*CapabilitiesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{2}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{2}
}
func (m *CapabilitiesRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CapabilitiesRequest.Unmarshal(m, b)
@@ -347,7 +347,7 @@ func (m *CapabilitiesResponse) Reset() { *m = CapabilitiesResponse{} }
func (m *CapabilitiesResponse) String() string { return proto.CompactTextString(m) }
func (*CapabilitiesResponse) ProtoMessage() {}
func (*CapabilitiesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{3}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{3}
}
func (m *CapabilitiesResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CapabilitiesResponse.Unmarshal(m, b)
@@ -384,7 +384,7 @@ func (m *FingerprintRequest) Reset() { *m = FingerprintRequest{} }
func (m *FingerprintRequest) String() string { return proto.CompactTextString(m) }
func (*FingerprintRequest) ProtoMessage() {}
func (*FingerprintRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{4}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{4}
}
func (m *FingerprintRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FingerprintRequest.Unmarshal(m, b)
@@ -427,7 +427,7 @@ func (m *FingerprintResponse) Reset() { *m = FingerprintResponse{} }
func (m *FingerprintResponse) String() string { return proto.CompactTextString(m) }
func (*FingerprintResponse) ProtoMessage() {}
func (*FingerprintResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{5}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{5}
}
func (m *FingerprintResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FingerprintResponse.Unmarshal(m, b)
@@ -482,7 +482,7 @@ func (m *RecoverTaskRequest) Reset() { *m = RecoverTaskRequest{} }
func (m *RecoverTaskRequest) String() string { return proto.CompactTextString(m) }
func (*RecoverTaskRequest) ProtoMessage() {}
func (*RecoverTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{6}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{6}
}
func (m *RecoverTaskRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RecoverTaskRequest.Unmarshal(m, b)
@@ -526,7 +526,7 @@ func (m *RecoverTaskResponse) Reset() { *m = RecoverTaskResponse{} }
func (m *RecoverTaskResponse) String() string { return proto.CompactTextString(m) }
func (*RecoverTaskResponse) ProtoMessage() {}
func (*RecoverTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{7}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{7}
}
func (m *RecoverTaskResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RecoverTaskResponse.Unmarshal(m, b)
@@ -558,7 +558,7 @@ func (m *StartTaskRequest) Reset() { *m = StartTaskRequest{} }
func (m *StartTaskRequest) String() string { return proto.CompactTextString(m) }
func (*StartTaskRequest) ProtoMessage() {}
func (*StartTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{8}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{8}
}
func (m *StartTaskRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StartTaskRequest.Unmarshal(m, b)
@@ -612,7 +612,7 @@ func (m *StartTaskResponse) Reset() { *m = StartTaskResponse{} }
func (m *StartTaskResponse) String() string { return proto.CompactTextString(m) }
func (*StartTaskResponse) ProtoMessage() {}
func (*StartTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{9}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{9}
}
func (m *StartTaskResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StartTaskResponse.Unmarshal(m, b)
@@ -672,7 +672,7 @@ func (m *WaitTaskRequest) Reset() { *m = WaitTaskRequest{} }
func (m *WaitTaskRequest) String() string { return proto.CompactTextString(m) }
func (*WaitTaskRequest) ProtoMessage() {}
func (*WaitTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{10}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{10}
}
func (m *WaitTaskRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WaitTaskRequest.Unmarshal(m, b)
@@ -713,7 +713,7 @@ func (m *WaitTaskResponse) Reset() { *m = WaitTaskResponse{} }
func (m *WaitTaskResponse) String() string { return proto.CompactTextString(m) }
func (*WaitTaskResponse) ProtoMessage() {}
func (*WaitTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{11}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{11}
}
func (m *WaitTaskResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WaitTaskResponse.Unmarshal(m, b)
@@ -765,7 +765,7 @@ func (m *StopTaskRequest) Reset() { *m = StopTaskRequest{} }
func (m *StopTaskRequest) String() string { return proto.CompactTextString(m) }
func (*StopTaskRequest) ProtoMessage() {}
func (*StopTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{12}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{12}
}
func (m *StopTaskRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StopTaskRequest.Unmarshal(m, b)
@@ -816,7 +816,7 @@ func (m *StopTaskResponse) Reset() { *m = StopTaskResponse{} }
func (m *StopTaskResponse) String() string { return proto.CompactTextString(m) }
func (*StopTaskResponse) ProtoMessage() {}
func (*StopTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{13}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{13}
}
func (m *StopTaskResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StopTaskResponse.Unmarshal(m, b)
@@ -850,7 +850,7 @@ func (m *DestroyTaskRequest) Reset() { *m = DestroyTaskRequest{} }
func (m *DestroyTaskRequest) String() string { return proto.CompactTextString(m) }
func (*DestroyTaskRequest) ProtoMessage() {}
func (*DestroyTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{14}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{14}
}
func (m *DestroyTaskRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DestroyTaskRequest.Unmarshal(m, b)
@@ -894,7 +894,7 @@ func (m *DestroyTaskResponse) Reset() { *m = DestroyTaskResponse{} }
func (m *DestroyTaskResponse) String() string { return proto.CompactTextString(m) }
func (*DestroyTaskResponse) ProtoMessage() {}
func (*DestroyTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{15}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{15}
}
func (m *DestroyTaskResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DestroyTaskResponse.Unmarshal(m, b)
@@ -926,7 +926,7 @@ func (m *InspectTaskRequest) Reset() { *m = InspectTaskRequest{} }
func (m *InspectTaskRequest) String() string { return proto.CompactTextString(m) }
func (*InspectTaskRequest) ProtoMessage() {}
func (*InspectTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{16}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{16}
}
func (m *InspectTaskRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InspectTaskRequest.Unmarshal(m, b)
@@ -969,7 +969,7 @@ func (m *InspectTaskResponse) Reset() { *m = InspectTaskResponse{} }
func (m *InspectTaskResponse) String() string { return proto.CompactTextString(m) }
func (*InspectTaskResponse) ProtoMessage() {}
func (*InspectTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{17}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{17}
}
func (m *InspectTaskResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InspectTaskResponse.Unmarshal(m, b)
@@ -1024,7 +1024,7 @@ func (m *TaskStatsRequest) Reset() { *m = TaskStatsRequest{} }
func (m *TaskStatsRequest) String() string { return proto.CompactTextString(m) }
func (*TaskStatsRequest) ProtoMessage() {}
func (*TaskStatsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{18}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{18}
}
func (m *TaskStatsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskStatsRequest.Unmarshal(m, b)
@@ -1070,7 +1070,7 @@ func (m *TaskStatsResponse) Reset() { *m = TaskStatsResponse{} }
func (m *TaskStatsResponse) String() string { return proto.CompactTextString(m) }
func (*TaskStatsResponse) ProtoMessage() {}
func (*TaskStatsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{19}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{19}
}
func (m *TaskStatsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskStatsResponse.Unmarshal(m, b)
@@ -1107,7 +1107,7 @@ func (m *TaskEventsRequest) Reset() { *m = TaskEventsRequest{} }
func (m *TaskEventsRequest) String() string { return proto.CompactTextString(m) }
func (*TaskEventsRequest) ProtoMessage() {}
func (*TaskEventsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{20}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{20}
}
func (m *TaskEventsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskEventsRequest.Unmarshal(m, b)
@@ -1141,7 +1141,7 @@ func (m *SignalTaskRequest) Reset() { *m = SignalTaskRequest{} }
func (m *SignalTaskRequest) String() string { return proto.CompactTextString(m) }
func (*SignalTaskRequest) ProtoMessage() {}
func (*SignalTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{21}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{21}
}
func (m *SignalTaskRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SignalTaskRequest.Unmarshal(m, b)
@@ -1185,7 +1185,7 @@ func (m *SignalTaskResponse) Reset() { *m = SignalTaskResponse{} }
func (m *SignalTaskResponse) String() string { return proto.CompactTextString(m) }
func (*SignalTaskResponse) ProtoMessage() {}
func (*SignalTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{22}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{22}
}
func (m *SignalTaskResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SignalTaskResponse.Unmarshal(m, b)
@@ -1222,7 +1222,7 @@ func (m *ExecTaskRequest) Reset() { *m = ExecTaskRequest{} }
func (m *ExecTaskRequest) String() string { return proto.CompactTextString(m) }
func (*ExecTaskRequest) ProtoMessage() {}
func (*ExecTaskRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{23}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{23}
}
func (m *ExecTaskRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecTaskRequest.Unmarshal(m, b)
@@ -1279,7 +1279,7 @@ func (m *ExecTaskResponse) Reset() { *m = ExecTaskResponse{} }
func (m *ExecTaskResponse) String() string { return proto.CompactTextString(m) }
func (*ExecTaskResponse) ProtoMessage() {}
func (*ExecTaskResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{24}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{24}
}
func (m *ExecTaskResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecTaskResponse.Unmarshal(m, b)
@@ -1332,7 +1332,7 @@ func (m *ExecTaskStreamingIOOperation) Reset() { *m = ExecTaskStreamingI
func (m *ExecTaskStreamingIOOperation) String() string { return proto.CompactTextString(m) }
func (*ExecTaskStreamingIOOperation) ProtoMessage() {}
func (*ExecTaskStreamingIOOperation) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{25}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{25}
}
func (m *ExecTaskStreamingIOOperation) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecTaskStreamingIOOperation.Unmarshal(m, b)
@@ -1379,7 +1379,7 @@ func (m *ExecTaskStreamingRequest) Reset() { *m = ExecTaskStreamingReque
func (m *ExecTaskStreamingRequest) String() string { return proto.CompactTextString(m) }
func (*ExecTaskStreamingRequest) ProtoMessage() {}
func (*ExecTaskStreamingRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{26}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{26}
}
func (m *ExecTaskStreamingRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecTaskStreamingRequest.Unmarshal(m, b)
@@ -1433,7 +1433,7 @@ func (m *ExecTaskStreamingRequest_Setup) Reset() { *m = ExecTaskStreamin
func (m *ExecTaskStreamingRequest_Setup) String() string { return proto.CompactTextString(m) }
func (*ExecTaskStreamingRequest_Setup) ProtoMessage() {}
func (*ExecTaskStreamingRequest_Setup) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{26, 0}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{26, 0}
}
func (m *ExecTaskStreamingRequest_Setup) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecTaskStreamingRequest_Setup.Unmarshal(m, b)
@@ -1486,7 +1486,7 @@ func (m *ExecTaskStreamingRequest_TerminalSize) Reset() { *m = ExecTaskS
func (m *ExecTaskStreamingRequest_TerminalSize) String() string { return proto.CompactTextString(m) }
func (*ExecTaskStreamingRequest_TerminalSize) ProtoMessage() {}
func (*ExecTaskStreamingRequest_TerminalSize) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{26, 1}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{26, 1}
}
func (m *ExecTaskStreamingRequest_TerminalSize) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecTaskStreamingRequest_TerminalSize.Unmarshal(m, b)
@@ -1534,7 +1534,7 @@ func (m *ExecTaskStreamingResponse) Reset() { *m = ExecTaskStreamingResp
func (m *ExecTaskStreamingResponse) String() string { return proto.CompactTextString(m) }
func (*ExecTaskStreamingResponse) ProtoMessage() {}
func (*ExecTaskStreamingResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{27}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{27}
}
func (m *ExecTaskStreamingResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecTaskStreamingResponse.Unmarshal(m, b)
@@ -1594,7 +1594,7 @@ func (m *CreateNetworkRequest) Reset() { *m = CreateNetworkRequest{} }
func (m *CreateNetworkRequest) String() string { return proto.CompactTextString(m) }
func (*CreateNetworkRequest) ProtoMessage() {}
func (*CreateNetworkRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{28}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{28}
}
func (m *CreateNetworkRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateNetworkRequest.Unmarshal(m, b)
@@ -1632,7 +1632,7 @@ func (m *CreateNetworkResponse) Reset() { *m = CreateNetworkResponse{} }
func (m *CreateNetworkResponse) String() string { return proto.CompactTextString(m) }
func (*CreateNetworkResponse) ProtoMessage() {}
func (*CreateNetworkResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{29}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{29}
}
func (m *CreateNetworkResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateNetworkResponse.Unmarshal(m, b)
@@ -1672,7 +1672,7 @@ func (m *DestroyNetworkRequest) Reset() { *m = DestroyNetworkRequest{} }
func (m *DestroyNetworkRequest) String() string { return proto.CompactTextString(m) }
func (*DestroyNetworkRequest) ProtoMessage() {}
func (*DestroyNetworkRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{30}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{30}
}
func (m *DestroyNetworkRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DestroyNetworkRequest.Unmarshal(m, b)
@@ -1716,7 +1716,7 @@ func (m *DestroyNetworkResponse) Reset() { *m = DestroyNetworkResponse{}
func (m *DestroyNetworkResponse) String() string { return proto.CompactTextString(m) }
func (*DestroyNetworkResponse) ProtoMessage() {}
func (*DestroyNetworkResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{31}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{31}
}
func (m *DestroyNetworkResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DestroyNetworkResponse.Unmarshal(m, b)
@@ -1756,7 +1756,7 @@ func (m *DriverCapabilities) Reset() { *m = DriverCapabilities{} }
func (m *DriverCapabilities) String() string { return proto.CompactTextString(m) }
func (*DriverCapabilities) ProtoMessage() {}
func (*DriverCapabilities) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{32}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{32}
}
func (m *DriverCapabilities) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DriverCapabilities.Unmarshal(m, b)
@@ -1824,7 +1824,7 @@ func (m *NetworkIsolationSpec) Reset() { *m = NetworkIsolationSpec{} }
func (m *NetworkIsolationSpec) String() string { return proto.CompactTextString(m) }
func (*NetworkIsolationSpec) ProtoMessage() {}
func (*NetworkIsolationSpec) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{33}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{33}
}
func (m *NetworkIsolationSpec) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetworkIsolationSpec.Unmarshal(m, b)
@@ -1913,7 +1913,7 @@ func (m *TaskConfig) Reset() { *m = TaskConfig{} }
func (m *TaskConfig) String() string { return proto.CompactTextString(m) }
func (*TaskConfig) ProtoMessage() {}
func (*TaskConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{34}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{34}
}
func (m *TaskConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskConfig.Unmarshal(m, b)
@@ -2059,7 +2059,7 @@ func (m *Resources) Reset() { *m = Resources{} }
func (m *Resources) String() string { return proto.CompactTextString(m) }
func (*Resources) ProtoMessage() {}
func (*Resources) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{35}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{35}
}
func (m *Resources) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Resources.Unmarshal(m, b)
@@ -2106,7 +2106,7 @@ func (m *AllocatedTaskResources) Reset() { *m = AllocatedTaskResources{}
func (m *AllocatedTaskResources) String() string { return proto.CompactTextString(m) }
func (*AllocatedTaskResources) ProtoMessage() {}
func (*AllocatedTaskResources) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{36}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{36}
}
func (m *AllocatedTaskResources) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AllocatedTaskResources.Unmarshal(m, b)
@@ -2158,7 +2158,7 @@ func (m *AllocatedCpuResources) Reset() { *m = AllocatedCpuResources{} }
func (m *AllocatedCpuResources) String() string { return proto.CompactTextString(m) }
func (*AllocatedCpuResources) ProtoMessage() {}
func (*AllocatedCpuResources) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{37}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{37}
}
func (m *AllocatedCpuResources) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AllocatedCpuResources.Unmarshal(m, b)
@@ -2196,7 +2196,7 @@ func (m *AllocatedMemoryResources) Reset() { *m = AllocatedMemoryResourc
func (m *AllocatedMemoryResources) String() string { return proto.CompactTextString(m) }
func (*AllocatedMemoryResources) ProtoMessage() {}
func (*AllocatedMemoryResources) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{38}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{38}
}
func (m *AllocatedMemoryResources) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AllocatedMemoryResources.Unmarshal(m, b)
@@ -2239,7 +2239,7 @@ func (m *NetworkResource) Reset() { *m = NetworkResource{} }
func (m *NetworkResource) String() string { return proto.CompactTextString(m) }
func (*NetworkResource) ProtoMessage() {}
func (*NetworkResource) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{39}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{39}
}
func (m *NetworkResource) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetworkResource.Unmarshal(m, b)
@@ -2313,7 +2313,7 @@ func (m *NetworkPort) Reset() { *m = NetworkPort{} }
func (m *NetworkPort) String() string { return proto.CompactTextString(m) }
func (*NetworkPort) ProtoMessage() {}
func (*NetworkPort) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{40}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{40}
}
func (m *NetworkPort) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetworkPort.Unmarshal(m, b)
@@ -2373,7 +2373,7 @@ func (m *LinuxResources) Reset() { *m = LinuxResources{} }
func (m *LinuxResources) String() string { return proto.CompactTextString(m) }
func (*LinuxResources) ProtoMessage() {}
func (*LinuxResources) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{41}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{41}
}
func (m *LinuxResources) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LinuxResources.Unmarshal(m, b)
@@ -2465,7 +2465,7 @@ func (m *Mount) Reset() { *m = Mount{} }
func (m *Mount) String() string { return proto.CompactTextString(m) }
func (*Mount) ProtoMessage() {}
func (*Mount) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{42}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{42}
}
func (m *Mount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Mount.Unmarshal(m, b)
@@ -2528,7 +2528,7 @@ func (m *Device) Reset() { *m = Device{} }
func (m *Device) String() string { return proto.CompactTextString(m) }
func (*Device) ProtoMessage() {}
func (*Device) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{43}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{43}
}
func (m *Device) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Device.Unmarshal(m, b)
@@ -2589,7 +2589,7 @@ func (m *TaskHandle) Reset() { *m = TaskHandle{} }
func (m *TaskHandle) String() string { return proto.CompactTextString(m) }
func (*TaskHandle) ProtoMessage() {}
func (*TaskHandle) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{44}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{44}
}
func (m *TaskHandle) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskHandle.Unmarshal(m, b)
@@ -2656,7 +2656,7 @@ func (m *NetworkOverride) Reset() { *m = NetworkOverride{} }
func (m *NetworkOverride) String() string { return proto.CompactTextString(m) }
func (*NetworkOverride) ProtoMessage() {}
func (*NetworkOverride) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{45}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{45}
}
func (m *NetworkOverride) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NetworkOverride.Unmarshal(m, b)
@@ -2714,7 +2714,7 @@ func (m *ExitResult) Reset() { *m = ExitResult{} }
func (m *ExitResult) String() string { return proto.CompactTextString(m) }
func (*ExitResult) ProtoMessage() {}
func (*ExitResult) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{46}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{46}
}
func (m *ExitResult) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExitResult.Unmarshal(m, b)
@@ -2777,7 +2777,7 @@ func (m *TaskStatus) Reset() { *m = TaskStatus{} }
func (m *TaskStatus) String() string { return proto.CompactTextString(m) }
func (*TaskStatus) ProtoMessage() {}
func (*TaskStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{47}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{47}
}
func (m *TaskStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskStatus.Unmarshal(m, b)
@@ -2852,7 +2852,7 @@ func (m *TaskDriverStatus) Reset() { *m = TaskDriverStatus{} }
func (m *TaskDriverStatus) String() string { return proto.CompactTextString(m) }
func (*TaskDriverStatus) ProtoMessage() {}
func (*TaskDriverStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{48}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{48}
}
func (m *TaskDriverStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskDriverStatus.Unmarshal(m, b)
@@ -2897,7 +2897,7 @@ func (m *TaskStats) Reset() { *m = TaskStats{} }
func (m *TaskStats) String() string { return proto.CompactTextString(m) }
func (*TaskStats) ProtoMessage() {}
func (*TaskStats) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{49}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{49}
}
func (m *TaskStats) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskStats.Unmarshal(m, b)
@@ -2959,7 +2959,7 @@ func (m *TaskResourceUsage) Reset() { *m = TaskResourceUsage{} }
func (m *TaskResourceUsage) String() string { return proto.CompactTextString(m) }
func (*TaskResourceUsage) ProtoMessage() {}
func (*TaskResourceUsage) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{50}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{50}
}
func (m *TaskResourceUsage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TaskResourceUsage.Unmarshal(m, b)
@@ -3011,7 +3011,7 @@ func (m *CPUUsage) Reset() { *m = CPUUsage{} }
func (m *CPUUsage) String() string { return proto.CompactTextString(m) }
func (*CPUUsage) ProtoMessage() {}
func (*CPUUsage) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{51}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{51}
}
func (m *CPUUsage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CPUUsage.Unmarshal(m, b)
@@ -3099,7 +3099,7 @@ func (m *MemoryUsage) Reset() { *m = MemoryUsage{} }
func (m *MemoryUsage) String() string { return proto.CompactTextString(m) }
func (*MemoryUsage) ProtoMessage() {}
func (*MemoryUsage) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{52}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{52}
}
func (m *MemoryUsage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MemoryUsage.Unmarshal(m, b)
@@ -3197,7 +3197,7 @@ func (m *DriverTaskEvent) Reset() { *m = DriverTaskEvent{} }
func (m *DriverTaskEvent) String() string { return proto.CompactTextString(m) }
func (*DriverTaskEvent) ProtoMessage() {}
func (*DriverTaskEvent) Descriptor() ([]byte, []int) {
return fileDescriptor_driver_cb668dd098b629a6, []int{53}
return fileDescriptor_driver_3d62bf87918f3eb8, []int{53}
}
func (m *DriverTaskEvent) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DriverTaskEvent.Unmarshal(m, b)
@@ -4087,10 +4087,10 @@ var _Driver_serviceDesc = grpc.ServiceDesc{
}
func init() {
proto.RegisterFile("plugins/drivers/proto/driver.proto", fileDescriptor_driver_cb668dd098b629a6)
proto.RegisterFile("plugins/drivers/proto/driver.proto", fileDescriptor_driver_3d62bf87918f3eb8)
}
var fileDescriptor_driver_cb668dd098b629a6 = []byte{
var fileDescriptor_driver_3d62bf87918f3eb8 = []byte{
// 3516 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5a, 0x4f, 0x6f, 0x23, 0xc9,
0x75, 0x57, 0xf3, 0x9f, 0xc8, 0x47, 0x89, 0x6a, 0x95, 0xa4, 0x59, 0x0e, 0x37, 0xc9, 0x8e, 0x1b,