From 24aa7dccae1effa7bef50a89ddd31da3391ab71f Mon Sep 17 00:00:00 2001 From: Oliver O'Mahony Date: Tue, 11 Oct 2022 12:23:24 +0100 Subject: [PATCH] Proto updates (#68) * Proto updates for future workflows Co-authored-by: o.omahony --- sdk/proto/agent.proto | 2 +- sdk/proto/command.pb.go | 860 +++++++++++++++--- sdk/proto/command.proto | 19 +- sdk/proto/dp_software_details.proto | 1 - sdk/proto/nap.proto | 8 +- .../nginx/agent/sdk/v2/proto/agent.proto | 2 +- .../nginx/agent/sdk/v2/proto/command.pb.go | 860 +++++++++++++++--- .../nginx/agent/sdk/v2/proto/command.proto | 19 +- .../sdk/v2/proto/dp_software_details.proto | 1 - .../nginx/agent/sdk/v2/proto/nap.proto | 8 +- .../nginx/agent/sdk/v2/proto/agent.proto | 2 +- .../nginx/agent/sdk/v2/proto/command.pb.go | 860 +++++++++++++++--- .../nginx/agent/sdk/v2/proto/command.proto | 19 +- .../sdk/v2/proto/dp_software_details.proto | 1 - .../nginx/agent/sdk/v2/proto/nap.proto | 8 +- 15 files changed, 2325 insertions(+), 345 deletions(-) diff --git a/sdk/proto/agent.proto b/sdk/proto/agent.proto index 65e08ff40e..92894732f1 100644 --- a/sdk/proto/agent.proto +++ b/sdk/proto/agent.proto @@ -14,7 +14,7 @@ message AgentConnectRequest { reserved 1; reserved "identity"; AgentMeta meta = 2 [(gogoproto.jsontag) = "meta"]; - repeated NginxDetails details = 3 [(gogoproto.jsontag) = "details"]; + repeated NginxDetails details = 3 [(gogoproto.jsontag) = "details"]; // moving to dataplane_software_details HostInfo host = 4 [(gogoproto.jsontag) = "host"]; repeated DataplaneSoftwareDetails dataplane_software_details = 5 [(gogoproto.jsontag) = "dataplane_software_details"]; } diff --git a/sdk/proto/command.pb.go b/sdk/proto/command.pb.go index 34b51e20c0..b633422567 100644 --- a/sdk/proto/command.pb.go +++ b/sdk/proto/command.pb.go @@ -130,7 +130,7 @@ func (x UploadStatus_TransferStatus) String() string { } func (UploadStatus_TransferStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{5, 0} + return fileDescriptor_213c0bb044472049, []int{7, 0} } // Command is the envelope sent between the management plane and the data plane, requesting some action or reporting a response @@ -422,6 +422,7 @@ type DataplaneStatus struct { Host *HostInfo `protobuf:"bytes,3,opt,name=host,proto3" json:"host"` Healths []*NginxHealth `protobuf:"bytes,5,rep,name=healths,proto3" json:"healths"` DataplaneSoftwareDetails []*DataplaneSoftwareDetails `protobuf:"bytes,6,rep,name=dataplane_software_details,json=dataplaneSoftwareDetails,proto3" json:"dataplane_software_details"` + DataplaneSoftwareHealths []*DataplaneSoftwareHealth `protobuf:"bytes,7,rep,name=dataplane_software_healths,json=dataplaneSoftwareHealths,proto3" json:"dataplane_software_healths"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -495,6 +496,156 @@ func (m *DataplaneStatus) GetDataplaneSoftwareDetails() []*DataplaneSoftwareDeta return nil } +func (m *DataplaneStatus) GetDataplaneSoftwareHealths() []*DataplaneSoftwareHealth { + if m != nil { + return m.DataplaneSoftwareHealths + } + return nil +} + +type DataplaneSoftwareHealth struct { + // Types that are valid to be assigned to Health: + // *DataplaneSoftwareHealth_NginxHealth + // *DataplaneSoftwareHealth_AppProtectWafHealth + Health isDataplaneSoftwareHealth_Health `protobuf_oneof:"health"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DataplaneSoftwareHealth) Reset() { *m = DataplaneSoftwareHealth{} } +func (m *DataplaneSoftwareHealth) String() string { return proto.CompactTextString(m) } +func (*DataplaneSoftwareHealth) ProtoMessage() {} +func (*DataplaneSoftwareHealth) Descriptor() ([]byte, []int) { + return fileDescriptor_213c0bb044472049, []int{3} +} +func (m *DataplaneSoftwareHealth) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DataplaneSoftwareHealth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DataplaneSoftwareHealth.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DataplaneSoftwareHealth) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataplaneSoftwareHealth.Merge(m, src) +} +func (m *DataplaneSoftwareHealth) XXX_Size() int { + return m.Size() +} +func (m *DataplaneSoftwareHealth) XXX_DiscardUnknown() { + xxx_messageInfo_DataplaneSoftwareHealth.DiscardUnknown(m) +} + +var xxx_messageInfo_DataplaneSoftwareHealth proto.InternalMessageInfo + +type isDataplaneSoftwareHealth_Health interface { + isDataplaneSoftwareHealth_Health() + MarshalTo([]byte) (int, error) + Size() int +} + +type DataplaneSoftwareHealth_NginxHealth struct { + NginxHealth *NginxHealth `protobuf:"bytes,1,opt,name=nginx_health,json=nginxHealth,proto3,oneof" json:"nginx_health"` +} +type DataplaneSoftwareHealth_AppProtectWafHealth struct { + AppProtectWafHealth *AppProtectWAFHealth `protobuf:"bytes,2,opt,name=app_protect_waf_health,json=appProtectWafHealth,proto3,oneof" json:"app_protect_waf_health"` +} + +func (*DataplaneSoftwareHealth_NginxHealth) isDataplaneSoftwareHealth_Health() {} +func (*DataplaneSoftwareHealth_AppProtectWafHealth) isDataplaneSoftwareHealth_Health() {} + +func (m *DataplaneSoftwareHealth) GetHealth() isDataplaneSoftwareHealth_Health { + if m != nil { + return m.Health + } + return nil +} + +func (m *DataplaneSoftwareHealth) GetNginxHealth() *NginxHealth { + if x, ok := m.GetHealth().(*DataplaneSoftwareHealth_NginxHealth); ok { + return x.NginxHealth + } + return nil +} + +func (m *DataplaneSoftwareHealth) GetAppProtectWafHealth() *AppProtectWAFHealth { + if x, ok := m.GetHealth().(*DataplaneSoftwareHealth_AppProtectWafHealth); ok { + return x.AppProtectWafHealth + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*DataplaneSoftwareHealth) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*DataplaneSoftwareHealth_NginxHealth)(nil), + (*DataplaneSoftwareHealth_AppProtectWafHealth)(nil), + } +} + +type DataplaneUpdate struct { + Host *HostInfo `protobuf:"bytes,1,opt,name=host,proto3" json:"host"` + DataplaneSoftwareDetails []*DataplaneSoftwareDetails `protobuf:"bytes,2,rep,name=dataplane_software_details,json=dataplaneSoftwareDetails,proto3" json:"dataplane_software_details"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DataplaneUpdate) Reset() { *m = DataplaneUpdate{} } +func (m *DataplaneUpdate) String() string { return proto.CompactTextString(m) } +func (*DataplaneUpdate) ProtoMessage() {} +func (*DataplaneUpdate) Descriptor() ([]byte, []int) { + return fileDescriptor_213c0bb044472049, []int{4} +} +func (m *DataplaneUpdate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DataplaneUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DataplaneUpdate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DataplaneUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataplaneUpdate.Merge(m, src) +} +func (m *DataplaneUpdate) XXX_Size() int { + return m.Size() +} +func (m *DataplaneUpdate) XXX_DiscardUnknown() { + xxx_messageInfo_DataplaneUpdate.DiscardUnknown(m) +} + +var xxx_messageInfo_DataplaneUpdate proto.InternalMessageInfo + +func (m *DataplaneUpdate) GetHost() *HostInfo { + if m != nil { + return m.Host + } + return nil +} + +func (m *DataplaneUpdate) GetDataplaneSoftwareDetails() []*DataplaneSoftwareDetails { + if m != nil { + return m.DataplaneSoftwareDetails + } + return nil +} + type DownloadRequest struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -506,7 +657,7 @@ func (m *DownloadRequest) Reset() { *m = DownloadRequest{} } func (m *DownloadRequest) String() string { return proto.CompactTextString(m) } func (*DownloadRequest) ProtoMessage() {} func (*DownloadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{3} + return fileDescriptor_213c0bb044472049, []int{5} } func (m *DownloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -555,7 +706,7 @@ func (m *NginxConfigResponse) Reset() { *m = NginxConfigResponse{} } func (m *NginxConfigResponse) String() string { return proto.CompactTextString(m) } func (*NginxConfigResponse) ProtoMessage() {} func (*NginxConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{4} + return fileDescriptor_213c0bb044472049, []int{6} } func (m *NginxConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -618,7 +769,7 @@ func (m *UploadStatus) Reset() { *m = UploadStatus{} } func (m *UploadStatus) String() string { return proto.CompactTextString(m) } func (*UploadStatus) ProtoMessage() {} func (*UploadStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{5} + return fileDescriptor_213c0bb044472049, []int{7} } func (m *UploadStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -682,7 +833,7 @@ func (m *DataChunk) Reset() { *m = DataChunk{} } func (m *DataChunk) String() string { return proto.CompactTextString(m) } func (*DataChunk) ProtoMessage() {} func (*DataChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{6} + return fileDescriptor_213c0bb044472049, []int{8} } func (m *DataChunk) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -771,7 +922,7 @@ func (m *ChunkedResourceHeader) Reset() { *m = ChunkedResourceHeader{} } func (m *ChunkedResourceHeader) String() string { return proto.CompactTextString(m) } func (*ChunkedResourceHeader) ProtoMessage() {} func (*ChunkedResourceHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{7} + return fileDescriptor_213c0bb044472049, []int{9} } func (m *ChunkedResourceHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -841,7 +992,7 @@ func (m *ChunkedResourceChunk) Reset() { *m = ChunkedResourceChunk{} } func (m *ChunkedResourceChunk) String() string { return proto.CompactTextString(m) } func (*ChunkedResourceChunk) ProtoMessage() {} func (*ChunkedResourceChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{8} + return fileDescriptor_213c0bb044472049, []int{10} } func (m *ChunkedResourceChunk) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -899,6 +1050,8 @@ func init() { proto.RegisterType((*Command)(nil), "f5.nginx.agent.sdk.Command") proto.RegisterType((*CommandStatusResponse)(nil), "f5.nginx.agent.sdk.CommandStatusResponse") proto.RegisterType((*DataplaneStatus)(nil), "f5.nginx.agent.sdk.DataplaneStatus") + proto.RegisterType((*DataplaneSoftwareHealth)(nil), "f5.nginx.agent.sdk.DataplaneSoftwareHealth") + proto.RegisterType((*DataplaneUpdate)(nil), "f5.nginx.agent.sdk.DataplaneUpdate") proto.RegisterType((*DownloadRequest)(nil), "f5.nginx.agent.sdk.DownloadRequest") proto.RegisterType((*NginxConfigResponse)(nil), "f5.nginx.agent.sdk.NginxConfigResponse") proto.RegisterType((*UploadStatus)(nil), "f5.nginx.agent.sdk.UploadStatus") @@ -910,85 +1063,92 @@ func init() { func init() { proto.RegisterFile("command.proto", fileDescriptor_213c0bb044472049) } var fileDescriptor_213c0bb044472049 = []byte{ - // 1233 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcb, 0x6e, 0xdb, 0x46, - 0x17, 0x26, 0x65, 0x8b, 0xb2, 0x8e, 0xe4, 0x58, 0x98, 0x38, 0x3f, 0x18, 0x23, 0x30, 0x0d, 0xfe, - 0x4d, 0xed, 0x14, 0xad, 0x84, 0x3a, 0x28, 0x02, 0x24, 0x2b, 0x53, 0x52, 0x4a, 0x23, 0xb6, 0x54, - 0x8c, 0xe3, 0x04, 0x48, 0x51, 0x08, 0x0c, 0x39, 0xba, 0xc0, 0x16, 0xa9, 0x72, 0xa8, 0x24, 0x0e, - 0xba, 0x2f, 0x50, 0x74, 0x57, 0x14, 0x45, 0x9f, 0xa2, 0xaf, 0xd1, 0x65, 0x9e, 0x80, 0x28, 0xbc, - 0xe4, 0x03, 0x74, 0x5d, 0xcc, 0x85, 0xb2, 0x64, 0x53, 0x72, 0x03, 0x77, 0xa3, 0x39, 0x1c, 0x7e, - 0xdf, 0x77, 0x2e, 0x33, 0x73, 0x86, 0x82, 0x55, 0x37, 0x18, 0x0e, 0x1d, 0xdf, 0xab, 0x8e, 0xc2, - 0x20, 0x0a, 0x10, 0xea, 0x7e, 0x55, 0xf5, 0x7b, 0x03, 0xff, 0x5d, 0xd5, 0xe9, 0x11, 0x3f, 0xaa, - 0x52, 0xef, 0x64, 0x03, 0x7a, 0x41, 0x2f, 0x10, 0xef, 0x37, 0xca, 0x0c, 0x1e, 0xf8, 0xf2, 0xa9, - 0x24, 0x40, 0xe2, 0x01, 0xfa, 0x01, 0x4d, 0xed, 0x92, 0xd0, 0x98, 0x70, 0xfc, 0xee, 0xa0, 0x27, - 0x9f, 0x10, 0x79, 0x43, 0xfc, 0x88, 0xd6, 0xf8, 0x20, 0xe7, 0xee, 0x7a, 0xa3, 0x0e, 0x0d, 0xba, - 0xd1, 0x5b, 0x27, 0x24, 0x1d, 0x8f, 0x44, 0xce, 0xe0, 0x94, 0x8a, 0x57, 0xe6, 0x2f, 0x00, 0x85, - 0xba, 0x08, 0x11, 0x3d, 0x86, 0xe5, 0x21, 0x89, 0x1c, 0x5d, 0xdd, 0x52, 0x77, 0x4a, 0xbb, 0xf7, - 0xaa, 0x57, 0x63, 0xad, 0x1e, 0x92, 0xc8, 0xf1, 0x9c, 0xc8, 0xb1, 0x56, 0x92, 0xd8, 0xe0, 0x68, - 0xcc, 0x7f, 0x51, 0x13, 0x96, 0xa3, 0xb3, 0x11, 0xd1, 0x73, 0x5b, 0xea, 0xce, 0xad, 0xdd, 0xed, - 0x2c, 0xae, 0x74, 0x93, 0x8e, 0xcf, 0xcf, 0x46, 0x44, 0xc8, 0x30, 0x22, 0xe6, 0xbf, 0xe8, 0x15, - 0x80, 0x3b, 0xf4, 0x3a, 0x34, 0x72, 0xa2, 0x31, 0xd5, 0x97, 0x78, 0x20, 0x0f, 0x16, 0x88, 0x1d, - 0x71, 0x20, 0x26, 0x74, 0x14, 0xf8, 0x94, 0x58, 0xb7, 0x92, 0xd8, 0x98, 0x12, 0xb0, 0x15, 0x5c, - 0x74, 0x87, 0x12, 0x84, 0x5e, 0x40, 0x99, 0xab, 0x74, 0x44, 0xbd, 0xf4, 0x65, 0xae, 0x6e, 0x64, - 0xa9, 0xb7, 0xd8, 0x73, 0x9d, 0xc3, 0xac, 0x4a, 0x12, 0x1b, 0x33, 0x44, 0x5b, 0xc1, 0xa2, 0xfe, - 0x02, 0x80, 0xde, 0xc1, 0x9d, 0xe9, 0xd7, 0x9d, 0x50, 0x46, 0xa3, 0xe7, 0xb9, 0x83, 0xed, 0x6b, - 0x1c, 0x4c, 0x82, 0xbf, 0x9b, 0xc4, 0x46, 0xb6, 0x92, 0xad, 0xe0, 0xdb, 0xfe, 0x55, 0x06, 0xf3, - 0xcc, 0x25, 0x19, 0xde, 0x27, 0x6e, 0xd4, 0x09, 0xc9, 0xf7, 0x63, 0x42, 0x23, 0x5d, 0x9b, 0xef, - 0x79, 0x8f, 0x59, 0x75, 0x81, 0xc7, 0x02, 0x2e, 0x3c, 0x67, 0x2a, 0x31, 0xcf, 0xce, 0x55, 0x06, - 0xfa, 0x01, 0xfe, 0x77, 0x19, 0x2f, 0x93, 0x2e, 0x70, 0xd7, 0x3b, 0xd7, 0xbb, 0x96, 0x59, 0x6f, - 0x24, 0xb1, 0x31, 0x47, 0xcb, 0x56, 0xf0, 0xba, 0x93, 0xc1, 0x41, 0x11, 0xac, 0x4f, 0x18, 0xa2, - 0x4e, 0x22, 0xed, 0x15, 0xee, 0xfb, 0xd3, 0x45, 0xbe, 0x79, 0xf9, 0x44, 0xd6, 0x7a, 0x12, 0x1b, - 0x99, 0x3a, 0xb6, 0x82, 0x91, 0x73, 0x05, 0xcf, 0xf6, 0xcf, 0x34, 0x5a, 0x2f, 0xce, 0xdf, 0x3f, - 0x53, 0xde, 0xc4, 0xfe, 0x99, 0x26, 0xb2, 0xfd, 0x33, 0x25, 0x8f, 0xba, 0x50, 0x61, 0x47, 0x6a, - 0x74, 0xea, 0xf8, 0x24, 0xdd, 0xf9, 0x25, 0xae, 0xfd, 0xff, 0x2c, 0xed, 0x46, 0x8a, 0x15, 0xdb, - 0xda, 0x5a, 0x4f, 0x62, 0xe3, 0x8a, 0x80, 0xad, 0xe0, 0x35, 0x6f, 0x16, 0x88, 0xbe, 0x83, 0x32, - 0x6f, 0x0a, 0x9d, 0x90, 0x8c, 0x82, 0x30, 0xd2, 0xcb, 0xf3, 0xab, 0x25, 0x7a, 0x48, 0xb5, 0xc9, - 0x06, 0xcc, 0xd1, 0x22, 0x8d, 0x69, 0x3e, 0x4b, 0x83, 0x5c, 0x00, 0xd0, 0xcf, 0x2a, 0x6c, 0x4c, - 0x85, 0x71, 0xa9, 0xdd, 0xe8, 0xab, 0xdc, 0xdb, 0xe7, 0x8b, 0x33, 0x92, 0xa4, 0x86, 0xe0, 0x58, - 0x9b, 0x49, 0x6c, 0x2c, 0xd0, 0xb4, 0x15, 0xac, 0x7b, 0x73, 0xb8, 0xe6, 0x43, 0x28, 0x4d, 0x35, - 0x1a, 0x04, 0xa0, 0xb5, 0xda, 0xf8, 0x70, 0xef, 0xa0, 0xa2, 0xa0, 0x32, 0xac, 0x34, 0xda, 0x2f, - 0x5b, 0x07, 0xed, 0xbd, 0x46, 0x45,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, 0xdf, 0xe4, 0x2b, 0xed, 0x68, 0x52, 0x3e, 0x91, 0x6f, 0x2d, 0x8b, 0x3d, - 0xed, 0xad, 0xfa, 0x3c, 0x74, 0x7c, 0xda, 0x25, 0xe1, 0x82, 0xae, 0x65, 0x82, 0x16, 0x12, 0x87, - 0x06, 0xbe, 0xec, 0x24, 0x1c, 0x23, 0x66, 0xb0, 0x1c, 0xcd, 0x2f, 0xe1, 0xd6, 0xac, 0x12, 0x2a, - 0x41, 0xe1, 0xa2, 0x47, 0x68, 0x90, 0xe3, 0xfd, 0x01, 0x40, 0x7b, 0xba, 0xb7, 0x7f, 0xd0, 0x6c, - 0x54, 0x72, 0xe6, 0x1f, 0x2a, 0x14, 0x59, 0x05, 0xea, 0xfd, 0xb1, 0x7f, 0x82, 0xda, 0xa0, 0xf5, - 0x89, 0xe3, 0x91, 0x70, 0xe1, 0xc2, 0x33, 0x28, 0xf1, 0x30, 0xa1, 0xc1, 0x38, 0x74, 0x89, 0xcd, - 0x09, 0x22, 0x1e, 0x41, 0xb6, 0x15, 0x2c, 0x2d, 0x64, 0x8b, 0x56, 0xcf, 0x0b, 0x31, 0xe7, 0x7b, - 0xe5, 0x92, 0x1c, 0x7f, 0x14, 0x25, 0x65, 0x4c, 0x5b, 0xc1, 0x7c, 0xb4, 0x0a, 0x90, 0x77, 0xd9, - 0x2b, 0xf3, 0x83, 0x0a, 0x77, 0x32, 0x43, 0xb8, 0xd1, 0x9a, 0x99, 0xa0, 0x71, 0x79, 0xb1, 0x66, - 0x79, 0x91, 0x8e, 0x98, 0xc1, 0x72, 0x44, 0x3b, 0xb0, 0xe2, 0xf6, 0x89, 0x7b, 0x42, 0xc7, 0x43, - 0xb9, 0x08, 0xe5, 0x24, 0x36, 0x26, 0x73, 0x78, 0x62, 0xa1, 0x2f, 0x00, 0x38, 0xa7, 0x43, 0x07, - 0xef, 0x09, 0xef, 0xea, 0x79, 0xf9, 0xd5, 0x3c, 0x99, 0xc5, 0x45, 0x6e, 0x1f, 0x0d, 0xde, 0x13, - 0xf3, 0x77, 0x15, 0xd6, 0xb3, 0xca, 0x70, 0xa3, 0x8c, 0xb6, 0x59, 0xb4, 0xcc, 0xdb, 0xc0, 0x93, - 0x39, 0xc9, 0x68, 0xc5, 0x1c, 0x2e, 0x70, 0x6b, 0xdf, 0x43, 0xf7, 0xe4, 0x1a, 0xb1, 0x94, 0xca, - 0x17, 0x95, 0x97, 0x75, 0x7f, 0xf4, 0xe7, 0xf9, 0xa6, 0xfa, 0xe1, 0x7c, 0x53, 0xfd, 0xeb, 0x7c, - 0x53, 0x7d, 0xf5, 0xa0, 0x37, 0x88, 0xfa, 0xe3, 0xd7, 0x55, 0x37, 0x18, 0xd6, 0x78, 0x24, 0x35, - 0x1e, 0x49, 0x8d, 0x7a, 0x27, 0xb5, 0x37, 0xbb, 0x35, 0xfe, 0x6f, 0xe7, 0x09, 0xff, 0x7d, 0xad, - 0xf1, 0xe1, 0xe1, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb6, 0xa7, 0x4a, 0x04, 0x9c, 0x0d, 0x00, - 0x00, + // 1359 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x4b, 0x6f, 0xdb, 0xc6, + 0x13, 0x17, 0x15, 0x5b, 0xb2, 0x46, 0x72, 0x2c, 0x6c, 0x9c, 0xfc, 0x19, 0x23, 0x30, 0x0d, 0xfe, + 0x9b, 0xc6, 0xe9, 0x43, 0x42, 0x1d, 0x14, 0x01, 0x92, 0x93, 0x69, 0x39, 0xa5, 0x91, 0xd8, 0x0a, + 0x36, 0x71, 0x02, 0xa4, 0x28, 0x88, 0x0d, 0xb9, 0x92, 0x05, 0x5b, 0x24, 0xcb, 0xa5, 0xf3, 0x42, + 0xef, 0x45, 0x8b, 0xde, 0x8a, 0x1e, 0x7a, 0xee, 0x07, 0xe8, 0xd7, 0xe8, 0x31, 0xe7,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, 0x33, 0x00, 0x77, 0xe8, 0x39, 0x2c, 0x26, 0xf1, 0x21, 0xd3, 0x2f, + 0x08, 0x47, 0x6e, 0x4e, 0x21, 0x7b, 0x24, 0x14, 0x31, 0x65, 0x61, 0xe0, 0x33, 0x6a, 0x5d, 0x4c, + 0x13, 0x23, 0x47, 0x60, 0x97, 0x70, 0xcd, 0x1d, 0x2a, 0x25, 0xf4, 0x04, 0x1a, 0x82, 0xc5, 0x91, + 0xa9, 0xd3, 0x67, 0x04, 0xbb, 0x51, 0xc4, 0xbe, 0xc3, 0x9f, 0x37, 0x84, 0x9a, 0xd5, 0x4c, 0x13, + 0xe3, 0x08, 0xd0, 0x2e, 0x61, 0x79, 0x14, 0x52, 0x01, 0xbd, 0x82, 0xcb, 0xf9, 0xd7, 0x4e, 0xa4, + 0xbc, 0xd1, 0x67, 0x85, 0x81, 0x1b, 0xa7, 0x18, 0x18, 0x39, 0x7f, 0x35, 0x4d, 0x8c, 0x62, 0x26, + 0xbb, 0x84, 0x2f, 0xf9, 0x27, 0x11, 0xdc, 0xb2, 0xa0, 0xe4, 0xfa, 0x3e, 0x75, 0x63, 0x27, 0xa2, + 0x5f, 0x1f, 0x52, 0x16, 0xeb, 0x95, 0xc9, 0x96, 0xd7, 0xb9, 0xb4, 0x21, 0xf5, 0xb1, 0x54, 0x97, + 0x96, 0x0b, 0x99, 0xb8, 0x65, 0x72, 0x12, 0x81, 0xbe, 0x81, 0x2b, 0xc7, 0xf5, 0x55, 0xd0, 0x55, + 0x61, 0x7a, 0xf5, 0x74, 0xd3, 0x2a, 0xea, 0xa5, 0x34, 0x31, 0x26, 0x70, 0xd9, 0x25, 0xbc, 0x48, + 0x0a, 0x30, 0x28, 0x86, 0xc5, 0x11, 0x42, 0xe6, 0x49, 0x86, 0x3d, 0x27, 0x6c, 0x7f, 0x38, 0xcd, + 0xb6, 0x48, 0x9f, 0x8c, 0x5a, 0x4f, 0x13, 0xa3, 0x90, 0xc7, 0x2e, 0x61, 0x44,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 0x54, 0xda, 0x01, 0x8b, 0xb7, 0xfc, + 0x5e, 0x20, 0x67, 0x1c, 0xd7, 0xc6, 0xe2, 0x17, 0xdd, 0x83, 0xea, 0x1e, 0x25, 0x07, 0xf1, 0x1e, + 0xd3, 0x67, 0x85, 0x13, 0x93, 0x47, 0x90, 0x2d, 0xf4, 0xa4, 0x0f, 0x0a, 0x83, 0x33, 0x01, 0x7d, + 0x3f, 0xfd, 0x83, 0xab, 0x08, 0xee, 0x7f, 0xf5, 0x83, 0x9b, 0xfc, 0xb9, 0xa1, 0xef, 0x8a, 0x9d, + 0xc9, 0x02, 0xad, 0x0a, 0x67, 0x3e, 0x3e, 0x93, 0x33, 0x2a, 0xe8, 0x49, 0xbe, 0x64, 0x79, 0x38, + 0xe9, 0x8b, 0x04, 0x32, 0xf3, 0x2f, 0x0d, 0xfe, 0x37, 0x81, 0x75, 0x7c, 0x09, 0x90, 0x34, 0xea, + 0xae, 0x73, 0xea, 0x09, 0xe4, 0x2e, 0x01, 0x12, 0x38, 0xba, 0x04, 0x28, 0xde, 0x37, 0x70, 0x85, + 0x84, 0xa1, 0xc3, 0x2f, 0x55, 0x7c, 0x84, 0xbd, 0x24, 0xbd, 0xcc, 0x42, 0x79, 0xca, 0x2c, 0x0e, + 0xc3, 0x87, 0x12, 0xf0, 0x74, 0xfd, 0x9e, 0xb2, 0x24, 0xe7, 0x61, 0x21, 0x95, 0x18, 0xc6, 0x63, + 0x08, 0xe9, 0x29, 0xc8, 0x1c, 0x54, 0xa4, 0x82, 0xf9, 0xbb, 0x96, 0xfb, 0x3e, 0x76, 0x43, 0x8f, + 0xc4, 0x74, 0x54, 0xaa, 0xda, 0x3f, 0x28, 0xd5, 0x53, 0x4a, 0xac, 0xfc, 0x5f, 0x96, 0x98, 0xb9, + 0x0d, 0x0b, 0x9d, 0xe0, 0xa5, 0x7f, 0x10, 0x10, 0x2f, 0x1b, 0xc9, 0xe7, 0xb8, 0xb1, 0x9a, 0xdf, + 0x96, 0xe1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 0x10, 0x00, 0x00, } func (m *Command) Marshal() (dAtA []byte, err error) { @@ -1329,6 +1489,20 @@ func (m *DataplaneStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.DataplaneSoftwareHealths) > 0 { + for iNdEx := len(m.DataplaneSoftwareHealths) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DataplaneSoftwareHealths[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } if len(m.DataplaneSoftwareDetails) > 0 { for iNdEx := len(m.DataplaneSoftwareDetails) - 1; iNdEx >= 0; iNdEx-- { { @@ -1393,6 +1567,137 @@ func (m *DataplaneStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *DataplaneSoftwareHealth) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DataplaneSoftwareHealth) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneSoftwareHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Health != nil { + { + size := m.Health.Size() + i -= size + if _, err := m.Health.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + return len(dAtA) - i, nil +} + +func (m *DataplaneSoftwareHealth_NginxHealth) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneSoftwareHealth_NginxHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.NginxHealth != nil { + { + size, err := m.NginxHealth.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} +func (m *DataplaneSoftwareHealth_AppProtectWafHealth) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneSoftwareHealth_AppProtectWafHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AppProtectWafHealth != nil { + { + size, err := m.AppProtectWafHealth.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} +func (m *DataplaneUpdate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DataplaneUpdate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.DataplaneSoftwareDetails) > 0 { + for iNdEx := len(m.DataplaneSoftwareDetails) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DataplaneSoftwareDetails[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.Host != nil { + { + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *DownloadRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1935,21 +2240,26 @@ func (m *DataplaneStatus) Size() (n int) { n += 1 + l + sovCommand(uint64(l)) } } + if len(m.DataplaneSoftwareHealths) > 0 { + for _, e := range m.DataplaneSoftwareHealths { + l = e.Size() + n += 1 + l + sovCommand(uint64(l)) + } + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } -func (m *DownloadRequest) Size() (n int) { +func (m *DataplaneSoftwareHealth) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Meta != nil { - l = m.Meta.Size() - n += 1 + l + sovCommand(uint64(l)) + if m.Health != nil { + n += m.Health.Size() } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) @@ -1957,41 +2267,103 @@ func (m *DownloadRequest) Size() (n int) { return n } -func (m *NginxConfigResponse) Size() (n int) { +func (m *DataplaneSoftwareHealth_NginxHealth) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Status != nil { - l = m.Status.Size() + if m.NginxHealth != nil { + l = m.NginxHealth.Size() n += 1 + l + sovCommand(uint64(l)) } - if m.Action != 0 { - n += 1 + sovCommand(uint64(m.Action)) + return n +} +func (m *DataplaneSoftwareHealth_AppProtectWafHealth) Size() (n int) { + if m == nil { + return 0 } - if m.ConfigData != nil { - l = m.ConfigData.Size() + var l int + _ = l + if m.AppProtectWafHealth != nil { + l = m.AppProtectWafHealth.Size() n += 1 + l + sovCommand(uint64(l)) } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } return n } - -func (m *UploadStatus) Size() (n int) { +func (m *DataplaneUpdate) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Meta != nil { - l = m.Meta.Size() + if m.Host != nil { + l = m.Host.Size() n += 1 + l + sovCommand(uint64(l)) } - if m.Status != 0 { - n += 1 + sovCommand(uint64(m.Status)) + if len(m.DataplaneSoftwareDetails) > 0 { + for _, e := range m.DataplaneSoftwareDetails { + l = e.Size() + n += 1 + l + sovCommand(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DownloadRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Meta != nil { + l = m.Meta.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *NginxConfigResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + l = m.Status.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.Action != 0 { + n += 1 + sovCommand(uint64(m.Action)) + } + if m.ConfigData != nil { + l = m.ConfigData.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *UploadStatus) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Meta != nil { + l = m.Meta.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.Status != 0 { + n += 1 + sovCommand(uint64(m.Status)) } l = len(m.Reason) if l > 0 { @@ -2905,6 +3277,282 @@ func (m *DataplaneStatus) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DataplaneSoftwareHealths", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DataplaneSoftwareHealths = append(m.DataplaneSoftwareHealths, &DataplaneSoftwareHealth{}) + if err := m.DataplaneSoftwareHealths[len(m.DataplaneSoftwareHealths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommand(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommand + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DataplaneSoftwareHealth) 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 ErrIntOverflowCommand + } + 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: DataplaneSoftwareHealth: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DataplaneSoftwareHealth: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NginxHealth", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &NginxHealth{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Health = &DataplaneSoftwareHealth_NginxHealth{v} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AppProtectWafHealth", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &AppProtectWAFHealth{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Health = &DataplaneSoftwareHealth_AppProtectWafHealth{v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommand(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommand + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DataplaneUpdate) 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 ErrIntOverflowCommand + } + 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: DataplaneUpdate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DataplaneUpdate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Host == nil { + m.Host = &HostInfo{} + } + if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DataplaneSoftwareDetails", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DataplaneSoftwareDetails = append(m.DataplaneSoftwareDetails, &DataplaneSoftwareDetails{}) + if err := m.DataplaneSoftwareDetails[len(m.DataplaneSoftwareDetails)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCommand(dAtA[iNdEx:]) diff --git a/sdk/proto/command.proto b/sdk/proto/command.proto index f93e7a0044..74ec8c9ff5 100644 --- a/sdk/proto/command.proto +++ b/sdk/proto/command.proto @@ -10,7 +10,7 @@ import "nginx.proto"; import "config.proto"; import "events/event.proto"; import "dp_software_details.proto"; - +import "nap.proto"; // Command is the envelope sent between the management plane and the data plane, requesting some action or reporting a response message Command { @@ -82,10 +82,23 @@ message CommandStatusResponse { // DataplaneStatus reports Dataplane metrics the Agent is aware of message DataplaneStatus { string system_id = 1 [(gogoproto.jsontag) = "system_id" ]; - repeated NginxDetails details = 2 [(gogoproto.jsontag) = "details" ]; + repeated NginxDetails details = 2 [(gogoproto.jsontag) = "details" ]; // moving to dataplane_software_details HostInfo host = 3 [(gogoproto.jsontag) = "host" ]; - repeated NginxHealth healths = 5 [(gogoproto.jsontag) = "healths" ]; + repeated NginxHealth healths = 5 [(gogoproto.jsontag) = "healths" ]; // moving to DataplaneSoftwareHealth repeated DataplaneSoftwareDetails dataplane_software_details = 6 [(gogoproto.jsontag) = "dataplane_software_details"]; + repeated DataplaneSoftwareHealth dataplane_software_healths = 7 [(gogoproto.jsontag) = "dataplane_software_healths"]; +} + +message DataplaneSoftwareHealth { + oneof health { + NginxHealth nginx_health = 1 [(gogoproto.jsontag) = "nginx_health"]; + AppProtectWAFHealth app_protect_waf_health = 2 [(gogoproto.jsontag) = "app_protect_waf_health"]; + } +} + +message DataplaneUpdate { + HostInfo host = 1 [(gogoproto.jsontag) = "host"]; + repeated DataplaneSoftwareDetails dataplane_software_details = 2 [(gogoproto.jsontag) = "dataplane_software_details"]; } message DownloadRequest { diff --git a/sdk/proto/dp_software_details.proto b/sdk/proto/dp_software_details.proto index 463cddf504..30f6c148e8 100644 --- a/sdk/proto/dp_software_details.proto +++ b/sdk/proto/dp_software_details.proto @@ -11,5 +11,4 @@ message DataplaneSoftwareDetails { oneof data { AppProtectWAFDetails app_protect_waf_details = 1 [(gogoproto.jsontag) = "app_protect_waf_details"]; } - } diff --git a/sdk/proto/nap.proto b/sdk/proto/nap.proto index cf782fab02..f91b87f024 100644 --- a/sdk/proto/nap.proto +++ b/sdk/proto/nap.proto @@ -7,9 +7,9 @@ import "gogo.proto"; // AppProtectWAFDetails reports the details of Nginx App Protect message AppProtectWAFDetails { string waf_version = 1 [(gogoproto.jsontag) = "waf_version"]; - string attack_signatures_version = 2 [(gogoproto.jsontag) = "attack_signatures_version"]; - string threat_campaigns_version = 3 [(gogoproto.jsontag) = "threat_campaigns_version"]; - AppProtectWAFHealth health = 4 [(gogoproto.jsontag) = "health"]; + string attack_signatures_version = 2 [(gogoproto.jsontag) = "attack_signatures_version"]; // deprecating + string threat_campaigns_version = 3 [(gogoproto.jsontag) = "threat_campaigns_version"]; // deprecating + AppProtectWAFHealth health = 4 [(gogoproto.jsontag) = "health"]; // deprecating } // AppProtectWAFHealth reports the health details of Nginx App Protect @@ -22,4 +22,4 @@ message AppProtectWAFHealth { string system_id = 1 [(gogoproto.jsontag) = "system_id"]; AppProtectWAFStatus app_protect_waf_status = 2 [(gogoproto.jsontag) = "app_protect_waf_status"]; string degraded_reason = 3 [(gogoproto.jsontag) = "degraded_reason"]; -} \ No newline at end of file +} diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/agent.proto b/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/agent.proto index 65e08ff40e..92894732f1 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/agent.proto +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/agent.proto @@ -14,7 +14,7 @@ message AgentConnectRequest { reserved 1; reserved "identity"; AgentMeta meta = 2 [(gogoproto.jsontag) = "meta"]; - repeated NginxDetails details = 3 [(gogoproto.jsontag) = "details"]; + repeated NginxDetails details = 3 [(gogoproto.jsontag) = "details"]; // moving to dataplane_software_details HostInfo host = 4 [(gogoproto.jsontag) = "host"]; repeated DataplaneSoftwareDetails dataplane_software_details = 5 [(gogoproto.jsontag) = "dataplane_software_details"]; } diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/command.pb.go b/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/command.pb.go index 34b51e20c0..b633422567 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/command.pb.go +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/command.pb.go @@ -130,7 +130,7 @@ func (x UploadStatus_TransferStatus) String() string { } func (UploadStatus_TransferStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{5, 0} + return fileDescriptor_213c0bb044472049, []int{7, 0} } // Command is the envelope sent between the management plane and the data plane, requesting some action or reporting a response @@ -422,6 +422,7 @@ type DataplaneStatus struct { Host *HostInfo `protobuf:"bytes,3,opt,name=host,proto3" json:"host"` Healths []*NginxHealth `protobuf:"bytes,5,rep,name=healths,proto3" json:"healths"` DataplaneSoftwareDetails []*DataplaneSoftwareDetails `protobuf:"bytes,6,rep,name=dataplane_software_details,json=dataplaneSoftwareDetails,proto3" json:"dataplane_software_details"` + DataplaneSoftwareHealths []*DataplaneSoftwareHealth `protobuf:"bytes,7,rep,name=dataplane_software_healths,json=dataplaneSoftwareHealths,proto3" json:"dataplane_software_healths"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -495,6 +496,156 @@ func (m *DataplaneStatus) GetDataplaneSoftwareDetails() []*DataplaneSoftwareDeta return nil } +func (m *DataplaneStatus) GetDataplaneSoftwareHealths() []*DataplaneSoftwareHealth { + if m != nil { + return m.DataplaneSoftwareHealths + } + return nil +} + +type DataplaneSoftwareHealth struct { + // Types that are valid to be assigned to Health: + // *DataplaneSoftwareHealth_NginxHealth + // *DataplaneSoftwareHealth_AppProtectWafHealth + Health isDataplaneSoftwareHealth_Health `protobuf_oneof:"health"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DataplaneSoftwareHealth) Reset() { *m = DataplaneSoftwareHealth{} } +func (m *DataplaneSoftwareHealth) String() string { return proto.CompactTextString(m) } +func (*DataplaneSoftwareHealth) ProtoMessage() {} +func (*DataplaneSoftwareHealth) Descriptor() ([]byte, []int) { + return fileDescriptor_213c0bb044472049, []int{3} +} +func (m *DataplaneSoftwareHealth) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DataplaneSoftwareHealth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DataplaneSoftwareHealth.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DataplaneSoftwareHealth) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataplaneSoftwareHealth.Merge(m, src) +} +func (m *DataplaneSoftwareHealth) XXX_Size() int { + return m.Size() +} +func (m *DataplaneSoftwareHealth) XXX_DiscardUnknown() { + xxx_messageInfo_DataplaneSoftwareHealth.DiscardUnknown(m) +} + +var xxx_messageInfo_DataplaneSoftwareHealth proto.InternalMessageInfo + +type isDataplaneSoftwareHealth_Health interface { + isDataplaneSoftwareHealth_Health() + MarshalTo([]byte) (int, error) + Size() int +} + +type DataplaneSoftwareHealth_NginxHealth struct { + NginxHealth *NginxHealth `protobuf:"bytes,1,opt,name=nginx_health,json=nginxHealth,proto3,oneof" json:"nginx_health"` +} +type DataplaneSoftwareHealth_AppProtectWafHealth struct { + AppProtectWafHealth *AppProtectWAFHealth `protobuf:"bytes,2,opt,name=app_protect_waf_health,json=appProtectWafHealth,proto3,oneof" json:"app_protect_waf_health"` +} + +func (*DataplaneSoftwareHealth_NginxHealth) isDataplaneSoftwareHealth_Health() {} +func (*DataplaneSoftwareHealth_AppProtectWafHealth) isDataplaneSoftwareHealth_Health() {} + +func (m *DataplaneSoftwareHealth) GetHealth() isDataplaneSoftwareHealth_Health { + if m != nil { + return m.Health + } + return nil +} + +func (m *DataplaneSoftwareHealth) GetNginxHealth() *NginxHealth { + if x, ok := m.GetHealth().(*DataplaneSoftwareHealth_NginxHealth); ok { + return x.NginxHealth + } + return nil +} + +func (m *DataplaneSoftwareHealth) GetAppProtectWafHealth() *AppProtectWAFHealth { + if x, ok := m.GetHealth().(*DataplaneSoftwareHealth_AppProtectWafHealth); ok { + return x.AppProtectWafHealth + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*DataplaneSoftwareHealth) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*DataplaneSoftwareHealth_NginxHealth)(nil), + (*DataplaneSoftwareHealth_AppProtectWafHealth)(nil), + } +} + +type DataplaneUpdate struct { + Host *HostInfo `protobuf:"bytes,1,opt,name=host,proto3" json:"host"` + DataplaneSoftwareDetails []*DataplaneSoftwareDetails `protobuf:"bytes,2,rep,name=dataplane_software_details,json=dataplaneSoftwareDetails,proto3" json:"dataplane_software_details"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DataplaneUpdate) Reset() { *m = DataplaneUpdate{} } +func (m *DataplaneUpdate) String() string { return proto.CompactTextString(m) } +func (*DataplaneUpdate) ProtoMessage() {} +func (*DataplaneUpdate) Descriptor() ([]byte, []int) { + return fileDescriptor_213c0bb044472049, []int{4} +} +func (m *DataplaneUpdate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DataplaneUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DataplaneUpdate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DataplaneUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataplaneUpdate.Merge(m, src) +} +func (m *DataplaneUpdate) XXX_Size() int { + return m.Size() +} +func (m *DataplaneUpdate) XXX_DiscardUnknown() { + xxx_messageInfo_DataplaneUpdate.DiscardUnknown(m) +} + +var xxx_messageInfo_DataplaneUpdate proto.InternalMessageInfo + +func (m *DataplaneUpdate) GetHost() *HostInfo { + if m != nil { + return m.Host + } + return nil +} + +func (m *DataplaneUpdate) GetDataplaneSoftwareDetails() []*DataplaneSoftwareDetails { + if m != nil { + return m.DataplaneSoftwareDetails + } + return nil +} + type DownloadRequest struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -506,7 +657,7 @@ func (m *DownloadRequest) Reset() { *m = DownloadRequest{} } func (m *DownloadRequest) String() string { return proto.CompactTextString(m) } func (*DownloadRequest) ProtoMessage() {} func (*DownloadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{3} + return fileDescriptor_213c0bb044472049, []int{5} } func (m *DownloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -555,7 +706,7 @@ func (m *NginxConfigResponse) Reset() { *m = NginxConfigResponse{} } func (m *NginxConfigResponse) String() string { return proto.CompactTextString(m) } func (*NginxConfigResponse) ProtoMessage() {} func (*NginxConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{4} + return fileDescriptor_213c0bb044472049, []int{6} } func (m *NginxConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -618,7 +769,7 @@ func (m *UploadStatus) Reset() { *m = UploadStatus{} } func (m *UploadStatus) String() string { return proto.CompactTextString(m) } func (*UploadStatus) ProtoMessage() {} func (*UploadStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{5} + return fileDescriptor_213c0bb044472049, []int{7} } func (m *UploadStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -682,7 +833,7 @@ func (m *DataChunk) Reset() { *m = DataChunk{} } func (m *DataChunk) String() string { return proto.CompactTextString(m) } func (*DataChunk) ProtoMessage() {} func (*DataChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{6} + return fileDescriptor_213c0bb044472049, []int{8} } func (m *DataChunk) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -771,7 +922,7 @@ func (m *ChunkedResourceHeader) Reset() { *m = ChunkedResourceHeader{} } func (m *ChunkedResourceHeader) String() string { return proto.CompactTextString(m) } func (*ChunkedResourceHeader) ProtoMessage() {} func (*ChunkedResourceHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{7} + return fileDescriptor_213c0bb044472049, []int{9} } func (m *ChunkedResourceHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -841,7 +992,7 @@ func (m *ChunkedResourceChunk) Reset() { *m = ChunkedResourceChunk{} } func (m *ChunkedResourceChunk) String() string { return proto.CompactTextString(m) } func (*ChunkedResourceChunk) ProtoMessage() {} func (*ChunkedResourceChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{8} + return fileDescriptor_213c0bb044472049, []int{10} } func (m *ChunkedResourceChunk) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -899,6 +1050,8 @@ func init() { proto.RegisterType((*Command)(nil), "f5.nginx.agent.sdk.Command") proto.RegisterType((*CommandStatusResponse)(nil), "f5.nginx.agent.sdk.CommandStatusResponse") proto.RegisterType((*DataplaneStatus)(nil), "f5.nginx.agent.sdk.DataplaneStatus") + proto.RegisterType((*DataplaneSoftwareHealth)(nil), "f5.nginx.agent.sdk.DataplaneSoftwareHealth") + proto.RegisterType((*DataplaneUpdate)(nil), "f5.nginx.agent.sdk.DataplaneUpdate") proto.RegisterType((*DownloadRequest)(nil), "f5.nginx.agent.sdk.DownloadRequest") proto.RegisterType((*NginxConfigResponse)(nil), "f5.nginx.agent.sdk.NginxConfigResponse") proto.RegisterType((*UploadStatus)(nil), "f5.nginx.agent.sdk.UploadStatus") @@ -910,85 +1063,92 @@ func init() { func init() { proto.RegisterFile("command.proto", fileDescriptor_213c0bb044472049) } var fileDescriptor_213c0bb044472049 = []byte{ - // 1233 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcb, 0x6e, 0xdb, 0x46, - 0x17, 0x26, 0x65, 0x8b, 0xb2, 0x8e, 0xe4, 0x58, 0x98, 0x38, 0x3f, 0x18, 0x23, 0x30, 0x0d, 0xfe, - 0x4d, 0xed, 0x14, 0xad, 0x84, 0x3a, 0x28, 0x02, 0x24, 0x2b, 0x53, 0x52, 0x4a, 0x23, 0xb6, 0x54, - 0x8c, 0xe3, 0x04, 0x48, 0x51, 0x08, 0x0c, 0x39, 0xba, 0xc0, 0x16, 0xa9, 0x72, 0xa8, 0x24, 0x0e, - 0xba, 0x2f, 0x50, 0x74, 0x57, 0x14, 0x45, 0x9f, 0xa2, 0xaf, 0xd1, 0x65, 0x9e, 0x80, 0x28, 0xbc, - 0xe4, 0x03, 0x74, 0x5d, 0xcc, 0x85, 0xb2, 0x64, 0x53, 0x72, 0x03, 0x77, 0xa3, 0x39, 0x1c, 0x7e, - 0xdf, 0x77, 0x2e, 0x33, 0x73, 0x86, 0x82, 0x55, 0x37, 0x18, 0x0e, 0x1d, 0xdf, 0xab, 0x8e, 0xc2, - 0x20, 0x0a, 0x10, 0xea, 0x7e, 0x55, 0xf5, 0x7b, 0x03, 0xff, 0x5d, 0xd5, 0xe9, 0x11, 0x3f, 0xaa, - 0x52, 0xef, 0x64, 0x03, 0x7a, 0x41, 0x2f, 0x10, 0xef, 0x37, 0xca, 0x0c, 0x1e, 0xf8, 0xf2, 0xa9, - 0x24, 0x40, 0xe2, 0x01, 0xfa, 0x01, 0x4d, 0xed, 0x92, 0xd0, 0x98, 0x70, 0xfc, 0xee, 0xa0, 0x27, - 0x9f, 0x10, 0x79, 0x43, 0xfc, 0x88, 0xd6, 0xf8, 0x20, 0xe7, 0xee, 0x7a, 0xa3, 0x0e, 0x0d, 0xba, - 0xd1, 0x5b, 0x27, 0x24, 0x1d, 0x8f, 0x44, 0xce, 0xe0, 0x94, 0x8a, 0x57, 0xe6, 0x2f, 0x00, 0x85, - 0xba, 0x08, 0x11, 0x3d, 0x86, 0xe5, 0x21, 0x89, 0x1c, 0x5d, 0xdd, 0x52, 0x77, 0x4a, 0xbb, 0xf7, - 0xaa, 0x57, 0x63, 0xad, 0x1e, 0x92, 0xc8, 0xf1, 0x9c, 0xc8, 0xb1, 0x56, 0x92, 0xd8, 0xe0, 0x68, - 0xcc, 0x7f, 0x51, 0x13, 0x96, 0xa3, 0xb3, 0x11, 0xd1, 0x73, 0x5b, 0xea, 0xce, 0xad, 0xdd, 0xed, - 0x2c, 0xae, 0x74, 0x93, 0x8e, 0xcf, 0xcf, 0x46, 0x44, 0xc8, 0x30, 0x22, 0xe6, 0xbf, 0xe8, 0x15, - 0x80, 0x3b, 0xf4, 0x3a, 0x34, 0x72, 0xa2, 0x31, 0xd5, 0x97, 0x78, 0x20, 0x0f, 0x16, 0x88, 0x1d, - 0x71, 0x20, 0x26, 0x74, 0x14, 0xf8, 0x94, 0x58, 0xb7, 0x92, 0xd8, 0x98, 0x12, 0xb0, 0x15, 0x5c, - 0x74, 0x87, 0x12, 0x84, 0x5e, 0x40, 0x99, 0xab, 0x74, 0x44, 0xbd, 0xf4, 0x65, 0xae, 0x6e, 0x64, - 0xa9, 0xb7, 0xd8, 0x73, 0x9d, 0xc3, 0xac, 0x4a, 0x12, 0x1b, 0x33, 0x44, 0x5b, 0xc1, 0xa2, 0xfe, - 0x02, 0x80, 0xde, 0xc1, 0x9d, 0xe9, 0xd7, 0x9d, 0x50, 0x46, 0xa3, 0xe7, 0xb9, 0x83, 0xed, 0x6b, - 0x1c, 0x4c, 0x82, 0xbf, 0x9b, 0xc4, 0x46, 0xb6, 0x92, 0xad, 0xe0, 0xdb, 0xfe, 0x55, 0x06, 0xf3, - 0xcc, 0x25, 0x19, 0xde, 0x27, 0x6e, 0xd4, 0x09, 0xc9, 0xf7, 0x63, 0x42, 0x23, 0x5d, 0x9b, 0xef, - 0x79, 0x8f, 0x59, 0x75, 0x81, 0xc7, 0x02, 0x2e, 0x3c, 0x67, 0x2a, 0x31, 0xcf, 0xce, 0x55, 0x06, - 0xfa, 0x01, 0xfe, 0x77, 0x19, 0x2f, 0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, 0x2a, 0x94, 0x8f, 0x47, - 0xac, 0xae, 0x72, 0xbf, 0xdf, 0xe4, 0x2b, 0xed, 0x68, 0x52, 0x3e, 0x91, 0x6f, 0x2d, 0x8b, 0x3d, - 0xed, 0xad, 0xfa, 0x3c, 0x74, 0x7c, 0xda, 0x25, 0xe1, 0x82, 0xae, 0x65, 0x82, 0x16, 0x12, 0x87, - 0x06, 0xbe, 0xec, 0x24, 0x1c, 0x23, 0x66, 0xb0, 0x1c, 0xcd, 0x2f, 0xe1, 0xd6, 0xac, 0x12, 0x2a, - 0x41, 0xe1, 0xa2, 0x47, 0x68, 0x90, 0xe3, 0xfd, 0x01, 0x40, 0x7b, 0xba, 0xb7, 0x7f, 0xd0, 0x6c, - 0x54, 0x72, 0xe6, 0x1f, 0x2a, 0x14, 0x59, 0x05, 0xea, 0xfd, 0xb1, 0x7f, 0x82, 0xda, 0xa0, 0xf5, - 0x89, 0xe3, 0x91, 0x70, 0xe1, 0xc2, 0x33, 0x28, 0xf1, 0x30, 0xa1, 0xc1, 0x38, 0x74, 0x89, 0xcd, - 0x09, 0x22, 0x1e, 0x41, 0xb6, 0x15, 0x2c, 0x2d, 0x64, 0x8b, 0x56, 0xcf, 0x0b, 0x31, 0xe7, 0x7b, - 0xe5, 0x92, 0x1c, 0x7f, 0x14, 0x25, 0x65, 0x4c, 0x5b, 0xc1, 0x7c, 0xb4, 0x0a, 0x90, 0x77, 0xd9, - 0x2b, 0xf3, 0x83, 0x0a, 0x77, 0x32, 0x43, 0xb8, 0xd1, 0x9a, 0x99, 0xa0, 0x71, 0x79, 0xb1, 0x66, - 0x79, 0x91, 0x8e, 0x98, 0xc1, 0x72, 0x44, 0x3b, 0xb0, 0xe2, 0xf6, 0x89, 0x7b, 0x42, 0xc7, 0x43, - 0xb9, 0x08, 0xe5, 0x24, 0x36, 0x26, 0x73, 0x78, 0x62, 0xa1, 0x2f, 0x00, 0x38, 0xa7, 0x43, 0x07, - 0xef, 0x09, 0xef, 0xea, 0x79, 0xf9, 0xd5, 0x3c, 0x99, 0xc5, 0x45, 0x6e, 0x1f, 0x0d, 0xde, 0x13, - 0xf3, 0x77, 0x15, 0xd6, 0xb3, 0xca, 0x70, 0xa3, 0x8c, 0xb6, 0x59, 0xb4, 0xcc, 0xdb, 0xc0, 0x93, - 0x39, 0xc9, 0x68, 0xc5, 0x1c, 0x2e, 0x70, 0x6b, 0xdf, 0x43, 0xf7, 0xe4, 0x1a, 0xb1, 0x94, 0xca, - 0x17, 0x95, 0x97, 0x75, 0x7f, 0xf4, 0xe7, 0xf9, 0xa6, 0xfa, 0xe1, 0x7c, 0x53, 0xfd, 0xeb, 0x7c, - 0x53, 0x7d, 0xf5, 0xa0, 0x37, 0x88, 0xfa, 0xe3, 0xd7, 0x55, 0x37, 0x18, 0xd6, 0x78, 0x24, 0x35, - 0x1e, 0x49, 0x8d, 0x7a, 0x27, 0xb5, 0x37, 0xbb, 0x35, 0xfe, 0x6f, 0xe7, 0x09, 0xff, 0x7d, 0xad, - 0xf1, 0xe1, 0xe1, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb6, 0xa7, 0x4a, 0x04, 0x9c, 0x0d, 0x00, - 0x00, + // 1359 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x4b, 0x6f, 0xdb, 0xc6, + 0x13, 0x17, 0x15, 0x5b, 0xb2, 0x46, 0x72, 0x2c, 0x6c, 0x9c, 0xfc, 0x19, 0x23, 0x30, 0x0d, 0xfe, + 0x9b, 0xc6, 0xe9, 0x43, 0x42, 0x1d, 0x14, 0x01, 0x92, 0x93, 0x69, 0x39, 0xa5, 0x91, 0xd8, 0x0a, + 0x36, 0x71, 0x02, 0xa4, 0x28, 0x88, 0x0d, 0xb9, 0x92, 0x05, 0x5b, 0x24, 0xcb, 0xa5, 0xf3, 0x42, + 0xef, 0x45, 0x8b, 0xde, 0x8a, 0x1e, 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 0x3e, 0x2a, 0xf9, 0x64, 0x56, 0x13, 0xaa, 0x70, 0x54, 0xda, 0x01, 0x8b, 0xb7, 0xfc, + 0x5e, 0x20, 0x67, 0x1c, 0xd7, 0xc6, 0xe2, 0x17, 0xdd, 0x83, 0xea, 0x1e, 0x25, 0x07, 0xf1, 0x1e, + 0xd3, 0x67, 0x85, 0x13, 0x93, 0x47, 0x90, 0x2d, 0xf4, 0xa4, 0x0f, 0x0a, 0x83, 0x33, 0x01, 0x7d, + 0x3f, 0xfd, 0x83, 0xab, 0x08, 0xee, 0x7f, 0xf5, 0x83, 0x9b, 0xfc, 0xb9, 0xa1, 0xef, 0x8a, 0x9d, + 0xc9, 0x02, 0xad, 0x0a, 0x67, 0x3e, 0x3e, 0x93, 0x33, 0x2a, 0xe8, 0x49, 0xbe, 0x64, 0x79, 0x38, + 0xe9, 0x8b, 0x04, 0x32, 0xf3, 0x2f, 0x0d, 0xfe, 0x37, 0x81, 0x75, 0x7c, 0x09, 0x90, 0x34, 0xea, + 0xae, 0x73, 0xea, 0x09, 0xe4, 0x2e, 0x01, 0x12, 0x38, 0xba, 0x04, 0x28, 0xde, 0x37, 0x70, 0x85, + 0x84, 0xa1, 0xc3, 0x2f, 0x55, 0x7c, 0x84, 0xbd, 0x24, 0xbd, 0xcc, 0x42, 0x79, 0xca, 0x2c, 0x0e, + 0xc3, 0x87, 0x12, 0xf0, 0x74, 0xfd, 0x9e, 0xb2, 0x24, 0xe7, 0x61, 0x21, 0x95, 0x18, 0xc6, 0x63, + 0x08, 0xe9, 0x29, 0xc8, 0x1c, 0x54, 0xa4, 0x82, 0xf9, 0xbb, 0x96, 0xfb, 0x3e, 0x76, 0x43, 0x8f, + 0xc4, 0x74, 0x54, 0xaa, 0xda, 0x3f, 0x28, 0xd5, 0x53, 0x4a, 0xac, 0xfc, 0x5f, 0x96, 0x98, 0xb9, + 0x0d, 0x0b, 0x9d, 0xe0, 0xa5, 0x7f, 0x10, 0x10, 0x2f, 0x1b, 0x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, 0x00, 0xff, 0xff, 0x6a, 0x62, 0x04, 0x2c, 0x0a, 0x10, 0x00, 0x00, } func (m *Command) Marshal() (dAtA []byte, err error) { @@ -1329,6 +1489,20 @@ func (m *DataplaneStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.DataplaneSoftwareHealths) > 0 { + for iNdEx := len(m.DataplaneSoftwareHealths) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DataplaneSoftwareHealths[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } if len(m.DataplaneSoftwareDetails) > 0 { for iNdEx := len(m.DataplaneSoftwareDetails) - 1; iNdEx >= 0; iNdEx-- { { @@ -1393,6 +1567,137 @@ func (m *DataplaneStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *DataplaneSoftwareHealth) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DataplaneSoftwareHealth) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneSoftwareHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Health != nil { + { + size := m.Health.Size() + i -= size + if _, err := m.Health.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + return len(dAtA) - i, nil +} + +func (m *DataplaneSoftwareHealth_NginxHealth) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneSoftwareHealth_NginxHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.NginxHealth != nil { + { + size, err := m.NginxHealth.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} +func (m *DataplaneSoftwareHealth_AppProtectWafHealth) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneSoftwareHealth_AppProtectWafHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AppProtectWafHealth != nil { + { + size, err := m.AppProtectWafHealth.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} +func (m *DataplaneUpdate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DataplaneUpdate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.DataplaneSoftwareDetails) > 0 { + for iNdEx := len(m.DataplaneSoftwareDetails) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DataplaneSoftwareDetails[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.Host != nil { + { + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *DownloadRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1935,21 +2240,26 @@ func (m *DataplaneStatus) Size() (n int) { n += 1 + l + sovCommand(uint64(l)) } } + if len(m.DataplaneSoftwareHealths) > 0 { + for _, e := range m.DataplaneSoftwareHealths { + l = e.Size() + n += 1 + l + sovCommand(uint64(l)) + } + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } -func (m *DownloadRequest) Size() (n int) { +func (m *DataplaneSoftwareHealth) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Meta != nil { - l = m.Meta.Size() - n += 1 + l + sovCommand(uint64(l)) + if m.Health != nil { + n += m.Health.Size() } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) @@ -1957,41 +2267,103 @@ func (m *DownloadRequest) Size() (n int) { return n } -func (m *NginxConfigResponse) Size() (n int) { +func (m *DataplaneSoftwareHealth_NginxHealth) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Status != nil { - l = m.Status.Size() + if m.NginxHealth != nil { + l = m.NginxHealth.Size() n += 1 + l + sovCommand(uint64(l)) } - if m.Action != 0 { - n += 1 + sovCommand(uint64(m.Action)) + return n +} +func (m *DataplaneSoftwareHealth_AppProtectWafHealth) Size() (n int) { + if m == nil { + return 0 } - if m.ConfigData != nil { - l = m.ConfigData.Size() + var l int + _ = l + if m.AppProtectWafHealth != nil { + l = m.AppProtectWafHealth.Size() n += 1 + l + sovCommand(uint64(l)) } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } return n } - -func (m *UploadStatus) Size() (n int) { +func (m *DataplaneUpdate) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Meta != nil { - l = m.Meta.Size() + if m.Host != nil { + l = m.Host.Size() n += 1 + l + sovCommand(uint64(l)) } - if m.Status != 0 { - n += 1 + sovCommand(uint64(m.Status)) + if len(m.DataplaneSoftwareDetails) > 0 { + for _, e := range m.DataplaneSoftwareDetails { + l = e.Size() + n += 1 + l + sovCommand(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DownloadRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Meta != nil { + l = m.Meta.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *NginxConfigResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + l = m.Status.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.Action != 0 { + n += 1 + sovCommand(uint64(m.Action)) + } + if m.ConfigData != nil { + l = m.ConfigData.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *UploadStatus) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Meta != nil { + l = m.Meta.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.Status != 0 { + n += 1 + sovCommand(uint64(m.Status)) } l = len(m.Reason) if l > 0 { @@ -2905,6 +3277,282 @@ func (m *DataplaneStatus) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DataplaneSoftwareHealths", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DataplaneSoftwareHealths = append(m.DataplaneSoftwareHealths, &DataplaneSoftwareHealth{}) + if err := m.DataplaneSoftwareHealths[len(m.DataplaneSoftwareHealths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommand(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommand + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DataplaneSoftwareHealth) 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 ErrIntOverflowCommand + } + 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: DataplaneSoftwareHealth: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DataplaneSoftwareHealth: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NginxHealth", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &NginxHealth{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Health = &DataplaneSoftwareHealth_NginxHealth{v} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AppProtectWafHealth", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &AppProtectWAFHealth{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Health = &DataplaneSoftwareHealth_AppProtectWafHealth{v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommand(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommand + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DataplaneUpdate) 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 ErrIntOverflowCommand + } + 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: DataplaneUpdate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DataplaneUpdate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Host == nil { + m.Host = &HostInfo{} + } + if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DataplaneSoftwareDetails", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DataplaneSoftwareDetails = append(m.DataplaneSoftwareDetails, &DataplaneSoftwareDetails{}) + if err := m.DataplaneSoftwareDetails[len(m.DataplaneSoftwareDetails)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCommand(dAtA[iNdEx:]) diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/command.proto b/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/command.proto index f93e7a0044..74ec8c9ff5 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/command.proto +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/command.proto @@ -10,7 +10,7 @@ import "nginx.proto"; import "config.proto"; import "events/event.proto"; import "dp_software_details.proto"; - +import "nap.proto"; // Command is the envelope sent between the management plane and the data plane, requesting some action or reporting a response message Command { @@ -82,10 +82,23 @@ message CommandStatusResponse { // DataplaneStatus reports Dataplane metrics the Agent is aware of message DataplaneStatus { string system_id = 1 [(gogoproto.jsontag) = "system_id" ]; - repeated NginxDetails details = 2 [(gogoproto.jsontag) = "details" ]; + repeated NginxDetails details = 2 [(gogoproto.jsontag) = "details" ]; // moving to dataplane_software_details HostInfo host = 3 [(gogoproto.jsontag) = "host" ]; - repeated NginxHealth healths = 5 [(gogoproto.jsontag) = "healths" ]; + repeated NginxHealth healths = 5 [(gogoproto.jsontag) = "healths" ]; // moving to DataplaneSoftwareHealth repeated DataplaneSoftwareDetails dataplane_software_details = 6 [(gogoproto.jsontag) = "dataplane_software_details"]; + repeated DataplaneSoftwareHealth dataplane_software_healths = 7 [(gogoproto.jsontag) = "dataplane_software_healths"]; +} + +message DataplaneSoftwareHealth { + oneof health { + NginxHealth nginx_health = 1 [(gogoproto.jsontag) = "nginx_health"]; + AppProtectWAFHealth app_protect_waf_health = 2 [(gogoproto.jsontag) = "app_protect_waf_health"]; + } +} + +message DataplaneUpdate { + HostInfo host = 1 [(gogoproto.jsontag) = "host"]; + repeated DataplaneSoftwareDetails dataplane_software_details = 2 [(gogoproto.jsontag) = "dataplane_software_details"]; } message DownloadRequest { diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/dp_software_details.proto b/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/dp_software_details.proto index 463cddf504..30f6c148e8 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/dp_software_details.proto +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/dp_software_details.proto @@ -11,5 +11,4 @@ message DataplaneSoftwareDetails { oneof data { AppProtectWAFDetails app_protect_waf_details = 1 [(gogoproto.jsontag) = "app_protect_waf_details"]; } - } diff --git a/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/nap.proto b/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/nap.proto index cf782fab02..f91b87f024 100644 --- a/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/nap.proto +++ b/test/performance/vendor/github.com/nginx/agent/sdk/v2/proto/nap.proto @@ -7,9 +7,9 @@ import "gogo.proto"; // AppProtectWAFDetails reports the details of Nginx App Protect message AppProtectWAFDetails { string waf_version = 1 [(gogoproto.jsontag) = "waf_version"]; - string attack_signatures_version = 2 [(gogoproto.jsontag) = "attack_signatures_version"]; - string threat_campaigns_version = 3 [(gogoproto.jsontag) = "threat_campaigns_version"]; - AppProtectWAFHealth health = 4 [(gogoproto.jsontag) = "health"]; + string attack_signatures_version = 2 [(gogoproto.jsontag) = "attack_signatures_version"]; // deprecating + string threat_campaigns_version = 3 [(gogoproto.jsontag) = "threat_campaigns_version"]; // deprecating + AppProtectWAFHealth health = 4 [(gogoproto.jsontag) = "health"]; // deprecating } // AppProtectWAFHealth reports the health details of Nginx App Protect @@ -22,4 +22,4 @@ message AppProtectWAFHealth { string system_id = 1 [(gogoproto.jsontag) = "system_id"]; AppProtectWAFStatus app_protect_waf_status = 2 [(gogoproto.jsontag) = "app_protect_waf_status"]; string degraded_reason = 3 [(gogoproto.jsontag) = "degraded_reason"]; -} \ No newline at end of file +} diff --git a/vendor/github.com/nginx/agent/sdk/v2/proto/agent.proto b/vendor/github.com/nginx/agent/sdk/v2/proto/agent.proto index 65e08ff40e..92894732f1 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/proto/agent.proto +++ b/vendor/github.com/nginx/agent/sdk/v2/proto/agent.proto @@ -14,7 +14,7 @@ message AgentConnectRequest { reserved 1; reserved "identity"; AgentMeta meta = 2 [(gogoproto.jsontag) = "meta"]; - repeated NginxDetails details = 3 [(gogoproto.jsontag) = "details"]; + repeated NginxDetails details = 3 [(gogoproto.jsontag) = "details"]; // moving to dataplane_software_details HostInfo host = 4 [(gogoproto.jsontag) = "host"]; repeated DataplaneSoftwareDetails dataplane_software_details = 5 [(gogoproto.jsontag) = "dataplane_software_details"]; } diff --git a/vendor/github.com/nginx/agent/sdk/v2/proto/command.pb.go b/vendor/github.com/nginx/agent/sdk/v2/proto/command.pb.go index 34b51e20c0..b633422567 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/proto/command.pb.go +++ b/vendor/github.com/nginx/agent/sdk/v2/proto/command.pb.go @@ -130,7 +130,7 @@ func (x UploadStatus_TransferStatus) String() string { } func (UploadStatus_TransferStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{5, 0} + return fileDescriptor_213c0bb044472049, []int{7, 0} } // Command is the envelope sent between the management plane and the data plane, requesting some action or reporting a response @@ -422,6 +422,7 @@ type DataplaneStatus struct { Host *HostInfo `protobuf:"bytes,3,opt,name=host,proto3" json:"host"` Healths []*NginxHealth `protobuf:"bytes,5,rep,name=healths,proto3" json:"healths"` DataplaneSoftwareDetails []*DataplaneSoftwareDetails `protobuf:"bytes,6,rep,name=dataplane_software_details,json=dataplaneSoftwareDetails,proto3" json:"dataplane_software_details"` + DataplaneSoftwareHealths []*DataplaneSoftwareHealth `protobuf:"bytes,7,rep,name=dataplane_software_healths,json=dataplaneSoftwareHealths,proto3" json:"dataplane_software_healths"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -495,6 +496,156 @@ func (m *DataplaneStatus) GetDataplaneSoftwareDetails() []*DataplaneSoftwareDeta return nil } +func (m *DataplaneStatus) GetDataplaneSoftwareHealths() []*DataplaneSoftwareHealth { + if m != nil { + return m.DataplaneSoftwareHealths + } + return nil +} + +type DataplaneSoftwareHealth struct { + // Types that are valid to be assigned to Health: + // *DataplaneSoftwareHealth_NginxHealth + // *DataplaneSoftwareHealth_AppProtectWafHealth + Health isDataplaneSoftwareHealth_Health `protobuf_oneof:"health"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DataplaneSoftwareHealth) Reset() { *m = DataplaneSoftwareHealth{} } +func (m *DataplaneSoftwareHealth) String() string { return proto.CompactTextString(m) } +func (*DataplaneSoftwareHealth) ProtoMessage() {} +func (*DataplaneSoftwareHealth) Descriptor() ([]byte, []int) { + return fileDescriptor_213c0bb044472049, []int{3} +} +func (m *DataplaneSoftwareHealth) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DataplaneSoftwareHealth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DataplaneSoftwareHealth.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DataplaneSoftwareHealth) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataplaneSoftwareHealth.Merge(m, src) +} +func (m *DataplaneSoftwareHealth) XXX_Size() int { + return m.Size() +} +func (m *DataplaneSoftwareHealth) XXX_DiscardUnknown() { + xxx_messageInfo_DataplaneSoftwareHealth.DiscardUnknown(m) +} + +var xxx_messageInfo_DataplaneSoftwareHealth proto.InternalMessageInfo + +type isDataplaneSoftwareHealth_Health interface { + isDataplaneSoftwareHealth_Health() + MarshalTo([]byte) (int, error) + Size() int +} + +type DataplaneSoftwareHealth_NginxHealth struct { + NginxHealth *NginxHealth `protobuf:"bytes,1,opt,name=nginx_health,json=nginxHealth,proto3,oneof" json:"nginx_health"` +} +type DataplaneSoftwareHealth_AppProtectWafHealth struct { + AppProtectWafHealth *AppProtectWAFHealth `protobuf:"bytes,2,opt,name=app_protect_waf_health,json=appProtectWafHealth,proto3,oneof" json:"app_protect_waf_health"` +} + +func (*DataplaneSoftwareHealth_NginxHealth) isDataplaneSoftwareHealth_Health() {} +func (*DataplaneSoftwareHealth_AppProtectWafHealth) isDataplaneSoftwareHealth_Health() {} + +func (m *DataplaneSoftwareHealth) GetHealth() isDataplaneSoftwareHealth_Health { + if m != nil { + return m.Health + } + return nil +} + +func (m *DataplaneSoftwareHealth) GetNginxHealth() *NginxHealth { + if x, ok := m.GetHealth().(*DataplaneSoftwareHealth_NginxHealth); ok { + return x.NginxHealth + } + return nil +} + +func (m *DataplaneSoftwareHealth) GetAppProtectWafHealth() *AppProtectWAFHealth { + if x, ok := m.GetHealth().(*DataplaneSoftwareHealth_AppProtectWafHealth); ok { + return x.AppProtectWafHealth + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*DataplaneSoftwareHealth) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*DataplaneSoftwareHealth_NginxHealth)(nil), + (*DataplaneSoftwareHealth_AppProtectWafHealth)(nil), + } +} + +type DataplaneUpdate struct { + Host *HostInfo `protobuf:"bytes,1,opt,name=host,proto3" json:"host"` + DataplaneSoftwareDetails []*DataplaneSoftwareDetails `protobuf:"bytes,2,rep,name=dataplane_software_details,json=dataplaneSoftwareDetails,proto3" json:"dataplane_software_details"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DataplaneUpdate) Reset() { *m = DataplaneUpdate{} } +func (m *DataplaneUpdate) String() string { return proto.CompactTextString(m) } +func (*DataplaneUpdate) ProtoMessage() {} +func (*DataplaneUpdate) Descriptor() ([]byte, []int) { + return fileDescriptor_213c0bb044472049, []int{4} +} +func (m *DataplaneUpdate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DataplaneUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DataplaneUpdate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DataplaneUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataplaneUpdate.Merge(m, src) +} +func (m *DataplaneUpdate) XXX_Size() int { + return m.Size() +} +func (m *DataplaneUpdate) XXX_DiscardUnknown() { + xxx_messageInfo_DataplaneUpdate.DiscardUnknown(m) +} + +var xxx_messageInfo_DataplaneUpdate proto.InternalMessageInfo + +func (m *DataplaneUpdate) GetHost() *HostInfo { + if m != nil { + return m.Host + } + return nil +} + +func (m *DataplaneUpdate) GetDataplaneSoftwareDetails() []*DataplaneSoftwareDetails { + if m != nil { + return m.DataplaneSoftwareDetails + } + return nil +} + type DownloadRequest struct { Meta *Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -506,7 +657,7 @@ func (m *DownloadRequest) Reset() { *m = DownloadRequest{} } func (m *DownloadRequest) String() string { return proto.CompactTextString(m) } func (*DownloadRequest) ProtoMessage() {} func (*DownloadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{3} + return fileDescriptor_213c0bb044472049, []int{5} } func (m *DownloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -555,7 +706,7 @@ func (m *NginxConfigResponse) Reset() { *m = NginxConfigResponse{} } func (m *NginxConfigResponse) String() string { return proto.CompactTextString(m) } func (*NginxConfigResponse) ProtoMessage() {} func (*NginxConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{4} + return fileDescriptor_213c0bb044472049, []int{6} } func (m *NginxConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -618,7 +769,7 @@ func (m *UploadStatus) Reset() { *m = UploadStatus{} } func (m *UploadStatus) String() string { return proto.CompactTextString(m) } func (*UploadStatus) ProtoMessage() {} func (*UploadStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{5} + return fileDescriptor_213c0bb044472049, []int{7} } func (m *UploadStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -682,7 +833,7 @@ func (m *DataChunk) Reset() { *m = DataChunk{} } func (m *DataChunk) String() string { return proto.CompactTextString(m) } func (*DataChunk) ProtoMessage() {} func (*DataChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{6} + return fileDescriptor_213c0bb044472049, []int{8} } func (m *DataChunk) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -771,7 +922,7 @@ func (m *ChunkedResourceHeader) Reset() { *m = ChunkedResourceHeader{} } func (m *ChunkedResourceHeader) String() string { return proto.CompactTextString(m) } func (*ChunkedResourceHeader) ProtoMessage() {} func (*ChunkedResourceHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{7} + return fileDescriptor_213c0bb044472049, []int{9} } func (m *ChunkedResourceHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -841,7 +992,7 @@ func (m *ChunkedResourceChunk) Reset() { *m = ChunkedResourceChunk{} } func (m *ChunkedResourceChunk) String() string { return proto.CompactTextString(m) } func (*ChunkedResourceChunk) ProtoMessage() {} func (*ChunkedResourceChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_213c0bb044472049, []int{8} + return fileDescriptor_213c0bb044472049, []int{10} } func (m *ChunkedResourceChunk) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -899,6 +1050,8 @@ func init() { proto.RegisterType((*Command)(nil), "f5.nginx.agent.sdk.Command") proto.RegisterType((*CommandStatusResponse)(nil), "f5.nginx.agent.sdk.CommandStatusResponse") proto.RegisterType((*DataplaneStatus)(nil), "f5.nginx.agent.sdk.DataplaneStatus") + proto.RegisterType((*DataplaneSoftwareHealth)(nil), "f5.nginx.agent.sdk.DataplaneSoftwareHealth") + proto.RegisterType((*DataplaneUpdate)(nil), "f5.nginx.agent.sdk.DataplaneUpdate") proto.RegisterType((*DownloadRequest)(nil), "f5.nginx.agent.sdk.DownloadRequest") proto.RegisterType((*NginxConfigResponse)(nil), "f5.nginx.agent.sdk.NginxConfigResponse") proto.RegisterType((*UploadStatus)(nil), "f5.nginx.agent.sdk.UploadStatus") @@ -910,85 +1063,92 @@ func init() { func init() { proto.RegisterFile("command.proto", fileDescriptor_213c0bb044472049) } var fileDescriptor_213c0bb044472049 = []byte{ - // 1233 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcb, 0x6e, 0xdb, 0x46, - 0x17, 0x26, 0x65, 0x8b, 0xb2, 0x8e, 0xe4, 0x58, 0x98, 0x38, 0x3f, 0x18, 0x23, 0x30, 0x0d, 0xfe, - 0x4d, 0xed, 0x14, 0xad, 0x84, 0x3a, 0x28, 0x02, 0x24, 0x2b, 0x53, 0x52, 0x4a, 0x23, 0xb6, 0x54, - 0x8c, 0xe3, 0x04, 0x48, 0x51, 0x08, 0x0c, 0x39, 0xba, 0xc0, 0x16, 0xa9, 0x72, 0xa8, 0x24, 0x0e, - 0xba, 0x2f, 0x50, 0x74, 0x57, 0x14, 0x45, 0x9f, 0xa2, 0xaf, 0xd1, 0x65, 0x9e, 0x80, 0x28, 0xbc, - 0xe4, 0x03, 0x74, 0x5d, 0xcc, 0x85, 0xb2, 0x64, 0x53, 0x72, 0x03, 0x77, 0xa3, 0x39, 0x1c, 0x7e, - 0xdf, 0x77, 0x2e, 0x33, 0x73, 0x86, 0x82, 0x55, 0x37, 0x18, 0x0e, 0x1d, 0xdf, 0xab, 0x8e, 0xc2, - 0x20, 0x0a, 0x10, 0xea, 0x7e, 0x55, 0xf5, 0x7b, 0x03, 0xff, 0x5d, 0xd5, 0xe9, 0x11, 0x3f, 0xaa, - 0x52, 0xef, 0x64, 0x03, 0x7a, 0x41, 0x2f, 0x10, 0xef, 0x37, 0xca, 0x0c, 0x1e, 0xf8, 0xf2, 0xa9, - 0x24, 0x40, 0xe2, 0x01, 0xfa, 0x01, 0x4d, 0xed, 0x92, 0xd0, 0x98, 0x70, 0xfc, 0xee, 0xa0, 0x27, - 0x9f, 0x10, 0x79, 0x43, 0xfc, 0x88, 0xd6, 0xf8, 0x20, 0xe7, 0xee, 0x7a, 0xa3, 0x0e, 0x0d, 0xba, - 0xd1, 0x5b, 0x27, 0x24, 0x1d, 0x8f, 0x44, 0xce, 0xe0, 0x94, 0x8a, 0x57, 0xe6, 0x2f, 0x00, 0x85, - 0xba, 0x08, 0x11, 0x3d, 0x86, 0xe5, 0x21, 0x89, 0x1c, 0x5d, 0xdd, 0x52, 0x77, 0x4a, 0xbb, 0xf7, - 0xaa, 0x57, 0x63, 0xad, 0x1e, 0x92, 0xc8, 0xf1, 0x9c, 0xc8, 0xb1, 0x56, 0x92, 0xd8, 0xe0, 0x68, - 0xcc, 0x7f, 0x51, 0x13, 0x96, 0xa3, 0xb3, 0x11, 0xd1, 0x73, 0x5b, 0xea, 0xce, 0xad, 0xdd, 0xed, - 0x2c, 0xae, 0x74, 0x93, 0x8e, 0xcf, 0xcf, 0x46, 0x44, 0xc8, 0x30, 0x22, 0xe6, 0xbf, 0xe8, 0x15, - 0x80, 0x3b, 0xf4, 0x3a, 0x34, 0x72, 0xa2, 0x31, 0xd5, 0x97, 0x78, 0x20, 0x0f, 0x16, 0x88, 0x1d, - 0x71, 0x20, 0x26, 0x74, 0x14, 0xf8, 0x94, 0x58, 0xb7, 0x92, 0xd8, 0x98, 0x12, 0xb0, 0x15, 0x5c, - 0x74, 0x87, 0x12, 0x84, 0x5e, 0x40, 0x99, 0xab, 0x74, 0x44, 0xbd, 0xf4, 0x65, 0xae, 0x6e, 0x64, - 0xa9, 0xb7, 0xd8, 0x73, 0x9d, 0xc3, 0xac, 0x4a, 0x12, 0x1b, 0x33, 0x44, 0x5b, 0xc1, 0xa2, 0xfe, - 0x02, 0x80, 0xde, 0xc1, 0x9d, 0xe9, 0xd7, 0x9d, 0x50, 0x46, 0xa3, 0xe7, 0xb9, 0x83, 0xed, 0x6b, - 0x1c, 0x4c, 0x82, 0xbf, 0x9b, 0xc4, 0x46, 0xb6, 0x92, 0xad, 0xe0, 0xdb, 0xfe, 0x55, 0x06, 0xf3, - 0xcc, 0x25, 0x19, 0xde, 0x27, 0x6e, 0xd4, 0x09, 0xc9, 0xf7, 0x63, 0x42, 0x23, 0x5d, 0x9b, 0xef, - 0x79, 0x8f, 0x59, 0x75, 0x81, 0xc7, 0x02, 0x2e, 0x3c, 0x67, 0x2a, 0x31, 0xcf, 0xce, 0x55, 0x06, - 0xfa, 0x01, 0xfe, 0x77, 0x19, 0x2f, 0x93, 0x2e, 0x70, 0xd7, 0x3b, 0xd7, 0xbb, 0x96, 0x59, 0x6f, - 0x24, 0xb1, 0x31, 0x47, 0xcb, 0x56, 0xf0, 0xba, 0x93, 0xc1, 0x41, 0x11, 0xac, 0x4f, 0x18, 0xa2, - 0x4e, 0x22, 0xed, 0x15, 0xee, 0xfb, 0xd3, 0x45, 0xbe, 0x79, 0xf9, 0x44, 0xd6, 0x7a, 0x12, 0x1b, - 0x99, 0x3a, 0xb6, 0x82, 0x91, 0x73, 0x05, 0xcf, 0xf6, 0xcf, 0x34, 0x5a, 0x2f, 0xce, 0xdf, 0x3f, - 0x53, 0xde, 0xc4, 0xfe, 0x99, 0x26, 0xb2, 0xfd, 0x33, 0x25, 0x8f, 0xba, 0x50, 0x61, 0x47, 0x6a, - 0x74, 0xea, 0xf8, 0x24, 0xdd, 0xf9, 0x25, 0xae, 0xfd, 0xff, 0x2c, 0xed, 0x46, 0x8a, 0x15, 0xdb, - 0xda, 0x5a, 0x4f, 0x62, 0xe3, 0x8a, 0x80, 0xad, 0xe0, 0x35, 0x6f, 0x16, 0x88, 0xbe, 0x83, 0x32, - 0x6f, 0x0a, 0x9d, 0x90, 0x8c, 0x82, 0x30, 0xd2, 0xcb, 0xf3, 0xab, 0x25, 0x7a, 0x48, 0xb5, 0xc9, - 0x06, 0xcc, 0xd1, 0x22, 0x8d, 0x69, 0x3e, 0x4b, 0x83, 0x5c, 0x00, 0xd0, 0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0xf3, 0x83, 0x0a, 0x77, 0x32, 0x43, 0xb8, 0xd1, 0x9a, 0x99, 0xa0, 0x71, 0x79, 0xb1, 0x66, - 0x79, 0x91, 0x8e, 0x98, 0xc1, 0x72, 0x44, 0x3b, 0xb0, 0xe2, 0xf6, 0x89, 0x7b, 0x42, 0xc7, 0x43, - 0xb9, 0x08, 0xe5, 0x24, 0x36, 0x26, 0x73, 0x78, 0x62, 0xa1, 0x2f, 0x00, 0x38, 0xa7, 0x43, 0x07, - 0xef, 0x09, 0xef, 0xea, 0x79, 0xf9, 0xd5, 0x3c, 0x99, 0xc5, 0x45, 0x6e, 0x1f, 0x0d, 0xde, 0x13, - 0xf3, 0x77, 0x15, 0xd6, 0xb3, 0xca, 0x70, 0xa3, 0x8c, 0xb6, 0x59, 0xb4, 0xcc, 0xdb, 0xc0, 0x93, - 0x39, 0xc9, 0x68, 0xc5, 0x1c, 0x2e, 0x70, 0x6b, 0xdf, 0x43, 0xf7, 0xe4, 0x1a, 0xb1, 0x94, 0xca, - 0x17, 0x95, 0x97, 0x75, 0x7f, 0xf4, 0xe7, 0xf9, 0xa6, 0xfa, 0xe1, 0x7c, 0x53, 0xfd, 0xeb, 0x7c, - 0x53, 0x7d, 0xf5, 0xa0, 0x37, 0x88, 0xfa, 0xe3, 0xd7, 0x55, 0x37, 0x18, 0xd6, 0x78, 0x24, 0x35, - 0x1e, 0x49, 0x8d, 0x7a, 0x27, 0xb5, 0x37, 0xbb, 0x35, 0xfe, 0x6f, 0xe7, 0x09, 0xff, 0x7d, 0xad, - 0xf1, 0xe1, 0xe1, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb6, 0xa7, 0x4a, 0x04, 0x9c, 0x0d, 0x00, - 0x00, + // 1359 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x4b, 0x6f, 0xdb, 0xc6, + 0x13, 0x17, 0x15, 0x5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, 0x01, 0x54, 0x76, 0xba, 0x78, 0x7b, 0xfd, 0x41, + 0xb3, 0x84, 0x1a, 0x30, 0xd7, 0xe9, 0x3e, 0xdd, 0x79, 0xd0, 0x5d, 0xef, 0x34, 0x35, 0xfe, 0x66, + 0xf7, 0xa1, 0x90, 0xcb, 0x56, 0x05, 0x66, 0x38, 0xa1, 0xf9, 0xd3, 0x05, 0xb8, 0x5c, 0xd8, 0x61, + 0xd0, 0x97, 0x50, 0x51, 0x47, 0xa4, 0x89, 0x4e, 0x77, 0xfb, 0xcc, 0xcd, 0xe9, 0xe8, 0xae, 0x05, + 0x69, 0x62, 0x28, 0x2a, 0xac, 0x56, 0x34, 0x00, 0xa0, 0x51, 0x14, 0x44, 0x8e, 0x1b, 0x78, 0x59, + 0x2b, 0xbd, 0xf3, 0xde, 0x06, 0x36, 0x39, 0xc5, 0x46, 0xe0, 0xa9, 0x76, 0x38, 0x66, 0xc4, 0x35, + 0x9a, 0xbd, 0x42, 0xd7, 0xa1, 0x3a, 0xa4, 0x8c, 0x91, 0x3e, 0x15, 0x5d, 0xb6, 0x66, 0xd5, 0xd3, + 0xc4, 0xc8, 0xb6, 0x70, 0x26, 0x20, 0x03, 0x66, 0x05, 0x46, 0x34, 0xcb, 0x9a, 0x55, 0x4b, 0x13, + 0x43, 0x6e, 0x60, 0xb9, 0x98, 0x77, 0x61, 0xfe, 0x88, 0x33, 0x68, 0x01, 0xea, 0x1b, 0xdb, 0x1d, + 0x67, 0x77, 0xe7, 0xfe, 0x4e, 0xf7, 0xe9, 0x4e, 0xb3, 0xc4, 0xf3, 0xcb, 0x37, 0xba, 0xf7, 0x9b, + 0x1a, 0x9a, 0x87, 0x1a, 0x97, 0x37, 0x31, 0xee, 0xe2, 0x66, 0xd9, 0x6c, 0x43, 0xf3, 0xb8, 0xcf, + 0x5c, 0x7d, 0x13, 0x63, 0xae, 0x5e, 0xe2, 0x5c, 0x5c, 0xce, 0xb8, 0x34, 0xf3, 0x97, 0x19, 0x58, + 0x38, 0x56, 0xff, 0xe8, 0x23, 0xa8, 0xb1, 0xd7, 0x2c, 0xa6, 0x43, 0x67, 0xe0, 0x89, 0x43, 0xa9, + 0x59, 0xf3, 0x69, 0x62, 0x8c, 0x37, 0xf1, 0x9c, 0x14, 0xb7, 0x3c, 0xf4, 0x05, 0x54, 0xb3, 0x7a, + 0x2c, 0xaf, 0x5c, 0x58, 0xad, 0xaf, 0xad, 0x4c, 0x6c, 0xce, 0x59, 0x0d, 0x8a, 0xbc, 0x28, 0x10, + 0xce, 0x04, 0x3e, 0x2a, 0xf9, 0x64, 0x56, 0x13, 0xaa, 0x70, 0x54, 0xda, 0x01, 0x8b, 0xb7, 0xfc, + 0x5e, 0x20, 0x67, 0x1c, 0xd7, 0xc6, 0xe2, 0x17, 0xdd, 0x83, 0xea, 0x1e, 0x25, 0x07, 0xf1, 0x1e, + 0xd3, 0x67, 0x85, 0x13, 0x93, 0x47, 0x90, 0x2d, 0xf4, 0xa4, 0x0f, 0x0a, 0x83, 0x33, 0x01, 0x7d, + 0x3f, 0xfd, 0x83, 0xab, 0x08, 0xee, 0x7f, 0xf5, 0x83, 0x9b, 0xfc, 0xb9, 0xa1, 0xef, 0x8a, 0x9d, + 0xc9, 0x02, 0xad, 0x0a, 0x67, 0x3e, 0x3e, 0x93, 0x33, 0x2a, 0xe8, 0x49, 0xbe, 0x64, 0x79, 0x38, + 0xe9, 0x8b, 0x04, 0x32, 0xf3, 0x2f, 0x0d, 0xfe, 0x37, 0x81, 0x75, 0x7c, 0x09, 0x90, 0x34, 0xea, + 0xae, 0x73, 0xea, 0x09, 0xe4, 0x2e, 0x01, 0x12, 0x38, 0xba, 0x04, 0x28, 0xde, 0x37, 0x70, 0x85, + 0x84, 0xa1, 0xc3, 0x2f, 0x55, 0x7c, 0x84, 0xbd, 0x24, 0xbd, 0xcc, 0x42, 0x79, 0xca, 0x2c, 0x0e, + 0xc3, 0x87, 0x12, 0xf0, 0x74, 0xfd, 0x9e, 0xb2, 0x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0x7f, 0x7b, 0xb7, 0xac, 0xbd, 0x7d, 0xb7, 0xac, 0xfd, 0xf1, 0x6e, 0x59, 0x7b, + 0x76, 0xb3, 0x3f, 0x88, 0xf7, 0x0e, 0x9f, 0xb7, 0xdc, 0x60, 0xd8, 0x16, 0x9e, 0xb4, 0x85, 0x27, + 0x6d, 0xe6, 0xed, 0xb7, 0x5f, 0xac, 0xb5, 0xc5, 0x1f, 0xea, 0xbb, 0xe2, 0xf7, 0x79, 0x45, 0x2c, + 0xb7, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x6a, 0x62, 0x04, 0x2c, 0x0a, 0x10, 0x00, 0x00, } func (m *Command) Marshal() (dAtA []byte, err error) { @@ -1329,6 +1489,20 @@ func (m *DataplaneStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.DataplaneSoftwareHealths) > 0 { + for iNdEx := len(m.DataplaneSoftwareHealths) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DataplaneSoftwareHealths[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + } if len(m.DataplaneSoftwareDetails) > 0 { for iNdEx := len(m.DataplaneSoftwareDetails) - 1; iNdEx >= 0; iNdEx-- { { @@ -1393,6 +1567,137 @@ func (m *DataplaneStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *DataplaneSoftwareHealth) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DataplaneSoftwareHealth) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneSoftwareHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Health != nil { + { + size := m.Health.Size() + i -= size + if _, err := m.Health.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + return len(dAtA) - i, nil +} + +func (m *DataplaneSoftwareHealth_NginxHealth) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneSoftwareHealth_NginxHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.NginxHealth != nil { + { + size, err := m.NginxHealth.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} +func (m *DataplaneSoftwareHealth_AppProtectWafHealth) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneSoftwareHealth_AppProtectWafHealth) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AppProtectWafHealth != nil { + { + size, err := m.AppProtectWafHealth.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} +func (m *DataplaneUpdate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DataplaneUpdate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataplaneUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.DataplaneSoftwareDetails) > 0 { + for iNdEx := len(m.DataplaneSoftwareDetails) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DataplaneSoftwareDetails[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.Host != nil { + { + size, err := m.Host.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommand(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *DownloadRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1935,21 +2240,26 @@ func (m *DataplaneStatus) Size() (n int) { n += 1 + l + sovCommand(uint64(l)) } } + if len(m.DataplaneSoftwareHealths) > 0 { + for _, e := range m.DataplaneSoftwareHealths { + l = e.Size() + n += 1 + l + sovCommand(uint64(l)) + } + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } -func (m *DownloadRequest) Size() (n int) { +func (m *DataplaneSoftwareHealth) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Meta != nil { - l = m.Meta.Size() - n += 1 + l + sovCommand(uint64(l)) + if m.Health != nil { + n += m.Health.Size() } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) @@ -1957,41 +2267,103 @@ func (m *DownloadRequest) Size() (n int) { return n } -func (m *NginxConfigResponse) Size() (n int) { +func (m *DataplaneSoftwareHealth_NginxHealth) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Status != nil { - l = m.Status.Size() + if m.NginxHealth != nil { + l = m.NginxHealth.Size() n += 1 + l + sovCommand(uint64(l)) } - if m.Action != 0 { - n += 1 + sovCommand(uint64(m.Action)) + return n +} +func (m *DataplaneSoftwareHealth_AppProtectWafHealth) Size() (n int) { + if m == nil { + return 0 } - if m.ConfigData != nil { - l = m.ConfigData.Size() + var l int + _ = l + if m.AppProtectWafHealth != nil { + l = m.AppProtectWafHealth.Size() n += 1 + l + sovCommand(uint64(l)) } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } return n } - -func (m *UploadStatus) Size() (n int) { +func (m *DataplaneUpdate) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Meta != nil { - l = m.Meta.Size() + if m.Host != nil { + l = m.Host.Size() n += 1 + l + sovCommand(uint64(l)) } - if m.Status != 0 { - n += 1 + sovCommand(uint64(m.Status)) + if len(m.DataplaneSoftwareDetails) > 0 { + for _, e := range m.DataplaneSoftwareDetails { + l = e.Size() + n += 1 + l + sovCommand(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DownloadRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Meta != nil { + l = m.Meta.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *NginxConfigResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != nil { + l = m.Status.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.Action != 0 { + n += 1 + sovCommand(uint64(m.Action)) + } + if m.ConfigData != nil { + l = m.ConfigData.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *UploadStatus) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Meta != nil { + l = m.Meta.Size() + n += 1 + l + sovCommand(uint64(l)) + } + if m.Status != 0 { + n += 1 + sovCommand(uint64(m.Status)) } l = len(m.Reason) if l > 0 { @@ -2905,6 +3277,282 @@ func (m *DataplaneStatus) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DataplaneSoftwareHealths", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DataplaneSoftwareHealths = append(m.DataplaneSoftwareHealths, &DataplaneSoftwareHealth{}) + if err := m.DataplaneSoftwareHealths[len(m.DataplaneSoftwareHealths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommand(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommand + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DataplaneSoftwareHealth) 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 ErrIntOverflowCommand + } + 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: DataplaneSoftwareHealth: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DataplaneSoftwareHealth: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NginxHealth", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &NginxHealth{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Health = &DataplaneSoftwareHealth_NginxHealth{v} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AppProtectWafHealth", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &AppProtectWAFHealth{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Health = &DataplaneSoftwareHealth_AppProtectWafHealth{v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommand(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommand + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DataplaneUpdate) 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 ErrIntOverflowCommand + } + 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: DataplaneUpdate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DataplaneUpdate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Host == nil { + m.Host = &HostInfo{} + } + if err := m.Host.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DataplaneSoftwareDetails", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommand + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommand + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommand + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DataplaneSoftwareDetails = append(m.DataplaneSoftwareDetails, &DataplaneSoftwareDetails{}) + if err := m.DataplaneSoftwareDetails[len(m.DataplaneSoftwareDetails)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCommand(dAtA[iNdEx:]) diff --git a/vendor/github.com/nginx/agent/sdk/v2/proto/command.proto b/vendor/github.com/nginx/agent/sdk/v2/proto/command.proto index f93e7a0044..74ec8c9ff5 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/proto/command.proto +++ b/vendor/github.com/nginx/agent/sdk/v2/proto/command.proto @@ -10,7 +10,7 @@ import "nginx.proto"; import "config.proto"; import "events/event.proto"; import "dp_software_details.proto"; - +import "nap.proto"; // Command is the envelope sent between the management plane and the data plane, requesting some action or reporting a response message Command { @@ -82,10 +82,23 @@ message CommandStatusResponse { // DataplaneStatus reports Dataplane metrics the Agent is aware of message DataplaneStatus { string system_id = 1 [(gogoproto.jsontag) = "system_id" ]; - repeated NginxDetails details = 2 [(gogoproto.jsontag) = "details" ]; + repeated NginxDetails details = 2 [(gogoproto.jsontag) = "details" ]; // moving to dataplane_software_details HostInfo host = 3 [(gogoproto.jsontag) = "host" ]; - repeated NginxHealth healths = 5 [(gogoproto.jsontag) = "healths" ]; + repeated NginxHealth healths = 5 [(gogoproto.jsontag) = "healths" ]; // moving to DataplaneSoftwareHealth repeated DataplaneSoftwareDetails dataplane_software_details = 6 [(gogoproto.jsontag) = "dataplane_software_details"]; + repeated DataplaneSoftwareHealth dataplane_software_healths = 7 [(gogoproto.jsontag) = "dataplane_software_healths"]; +} + +message DataplaneSoftwareHealth { + oneof health { + NginxHealth nginx_health = 1 [(gogoproto.jsontag) = "nginx_health"]; + AppProtectWAFHealth app_protect_waf_health = 2 [(gogoproto.jsontag) = "app_protect_waf_health"]; + } +} + +message DataplaneUpdate { + HostInfo host = 1 [(gogoproto.jsontag) = "host"]; + repeated DataplaneSoftwareDetails dataplane_software_details = 2 [(gogoproto.jsontag) = "dataplane_software_details"]; } message DownloadRequest { diff --git a/vendor/github.com/nginx/agent/sdk/v2/proto/dp_software_details.proto b/vendor/github.com/nginx/agent/sdk/v2/proto/dp_software_details.proto index 463cddf504..30f6c148e8 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/proto/dp_software_details.proto +++ b/vendor/github.com/nginx/agent/sdk/v2/proto/dp_software_details.proto @@ -11,5 +11,4 @@ message DataplaneSoftwareDetails { oneof data { AppProtectWAFDetails app_protect_waf_details = 1 [(gogoproto.jsontag) = "app_protect_waf_details"]; } - } diff --git a/vendor/github.com/nginx/agent/sdk/v2/proto/nap.proto b/vendor/github.com/nginx/agent/sdk/v2/proto/nap.proto index cf782fab02..f91b87f024 100644 --- a/vendor/github.com/nginx/agent/sdk/v2/proto/nap.proto +++ b/vendor/github.com/nginx/agent/sdk/v2/proto/nap.proto @@ -7,9 +7,9 @@ import "gogo.proto"; // AppProtectWAFDetails reports the details of Nginx App Protect message AppProtectWAFDetails { string waf_version = 1 [(gogoproto.jsontag) = "waf_version"]; - string attack_signatures_version = 2 [(gogoproto.jsontag) = "attack_signatures_version"]; - string threat_campaigns_version = 3 [(gogoproto.jsontag) = "threat_campaigns_version"]; - AppProtectWAFHealth health = 4 [(gogoproto.jsontag) = "health"]; + string attack_signatures_version = 2 [(gogoproto.jsontag) = "attack_signatures_version"]; // deprecating + string threat_campaigns_version = 3 [(gogoproto.jsontag) = "threat_campaigns_version"]; // deprecating + AppProtectWAFHealth health = 4 [(gogoproto.jsontag) = "health"]; // deprecating } // AppProtectWAFHealth reports the health details of Nginx App Protect @@ -22,4 +22,4 @@ message AppProtectWAFHealth { string system_id = 1 [(gogoproto.jsontag) = "system_id"]; AppProtectWAFStatus app_protect_waf_status = 2 [(gogoproto.jsontag) = "app_protect_waf_status"]; string degraded_reason = 3 [(gogoproto.jsontag) = "degraded_reason"]; -} \ No newline at end of file +}