Update generated files to fix dirty state
This commit is contained in:
parent
135d849e1a
commit
45c4c70971
10 changed files with 109 additions and 76 deletions
|
@ -26,12 +26,12 @@ variables:
|
||||||
|
|
||||||
.go-cache:
|
.go-cache:
|
||||||
variables:
|
variables:
|
||||||
GOPATH: $CI_PROJECT_DIR/.go
|
GOPATH: /gocache
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir -p .go
|
- mkdir -p /gocache
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .go/pkg/mod/
|
- /gocache/pkg/mod/
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
|
@ -24,7 +24,7 @@ tasks:
|
||||||
format:
|
format:
|
||||||
desc: format all source files
|
desc: format all source files
|
||||||
cmds:
|
cmds:
|
||||||
- go fmt ./...
|
- gofumpt -l -w ./
|
||||||
- goimports -local gitlab.com/inetmock/inetmock -w ./
|
- goimports -local gitlab.com/inetmock/inetmock -w ./
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
|
@ -182,6 +182,7 @@ tasks:
|
||||||
- deps
|
- deps
|
||||||
- generate
|
- generate
|
||||||
cmds:
|
cmds:
|
||||||
|
- task: format
|
||||||
- goreleaser release --snapshot --skip-publish --rm-dist
|
- goreleaser release --snapshot --skip-publish --rm-dist
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
@ -190,6 +191,7 @@ tasks:
|
||||||
- deps
|
- deps
|
||||||
- generate
|
- generate
|
||||||
cmds:
|
cmds:
|
||||||
|
- task: format
|
||||||
- goreleaser release --rm-dist
|
- goreleaser release --rm-dist
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
// Code generated by go-enum DO NOT EDIT.
|
// Code generated by go-enum DO NOT EDIT.
|
||||||
|
// Version:
|
||||||
|
// Revision:
|
||||||
|
// Build Date:
|
||||||
|
// Built By:
|
||||||
|
|
||||||
package endpoint
|
package endpoint
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.27.1
|
// protoc-gen-go v1.27.1
|
||||||
// protoc v3.17.3
|
// protoc v3.18.1
|
||||||
// source: audit/v1/dns_details.proto
|
// source: audit/v1/dns_details.proto
|
||||||
|
|
||||||
package v1
|
package v1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
||||||
reflect "reflect"
|
reflect "reflect"
|
||||||
sync "sync"
|
sync "sync"
|
||||||
|
|
||||||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -344,14 +345,17 @@ func file_audit_v1_dns_details_proto_rawDescGZIP() []byte {
|
||||||
return file_audit_v1_dns_details_proto_rawDescData
|
return file_audit_v1_dns_details_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_audit_v1_dns_details_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
var (
|
||||||
var file_audit_v1_dns_details_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
file_audit_v1_dns_details_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||||
var file_audit_v1_dns_details_proto_goTypes = []interface{}{
|
file_audit_v1_dns_details_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||||
|
file_audit_v1_dns_details_proto_goTypes = []interface{}{
|
||||||
(DNSOpCode)(0), // 0: inetmock.audit.v1.DNSOpCode
|
(DNSOpCode)(0), // 0: inetmock.audit.v1.DNSOpCode
|
||||||
(ResourceRecordType)(0), // 1: inetmock.audit.v1.ResourceRecordType
|
(ResourceRecordType)(0), // 1: inetmock.audit.v1.ResourceRecordType
|
||||||
(*DNSQuestionEntity)(nil), // 2: inetmock.audit.v1.DNSQuestionEntity
|
(*DNSQuestionEntity)(nil), // 2: inetmock.audit.v1.DNSQuestionEntity
|
||||||
(*DNSDetailsEntity)(nil), // 3: inetmock.audit.v1.DNSDetailsEntity
|
(*DNSDetailsEntity)(nil), // 3: inetmock.audit.v1.DNSDetailsEntity
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
var file_audit_v1_dns_details_proto_depIdxs = []int32{
|
var file_audit_v1_dns_details_proto_depIdxs = []int32{
|
||||||
1, // 0: inetmock.audit.v1.DNSQuestionEntity.type:type_name -> inetmock.audit.v1.ResourceRecordType
|
1, // 0: inetmock.audit.v1.DNSQuestionEntity.type:type_name -> inetmock.audit.v1.ResourceRecordType
|
||||||
0, // 1: inetmock.audit.v1.DNSDetailsEntity.opcode:type_name -> inetmock.audit.v1.DNSOpCode
|
0, // 1: inetmock.audit.v1.DNSDetailsEntity.opcode:type_name -> inetmock.audit.v1.DNSOpCode
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.27.1
|
// protoc-gen-go v1.27.1
|
||||||
// protoc v3.17.3
|
// protoc v3.18.1
|
||||||
// source: audit/v1/event_entity.proto
|
// source: audit/v1/event_entity.proto
|
||||||
|
|
||||||
package v1
|
package v1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
|
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
anypb "google.golang.org/protobuf/types/known/anypb"
|
anypb "google.golang.org/protobuf/types/known/anypb"
|
||||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||||
reflect "reflect"
|
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -460,9 +461,10 @@ func file_audit_v1_event_entity_proto_rawDescGZIP() []byte {
|
||||||
return file_audit_v1_event_entity_proto_rawDescData
|
return file_audit_v1_event_entity_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_audit_v1_event_entity_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
var (
|
||||||
var file_audit_v1_event_entity_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
file_audit_v1_event_entity_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||||||
var file_audit_v1_event_entity_proto_goTypes = []interface{}{
|
file_audit_v1_event_entity_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||||
|
file_audit_v1_event_entity_proto_goTypes = []interface{}{
|
||||||
(TransportProtocol)(0), // 0: inetmock.audit.v1.TransportProtocol
|
(TransportProtocol)(0), // 0: inetmock.audit.v1.TransportProtocol
|
||||||
(AppProtocol)(0), // 1: inetmock.audit.v1.AppProtocol
|
(AppProtocol)(0), // 1: inetmock.audit.v1.AppProtocol
|
||||||
(TLSVersion)(0), // 2: inetmock.audit.v1.TLSVersion
|
(TLSVersion)(0), // 2: inetmock.audit.v1.TLSVersion
|
||||||
|
@ -471,6 +473,8 @@ var file_audit_v1_event_entity_proto_goTypes = []interface{}{
|
||||||
(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
|
(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
|
||||||
(*anypb.Any)(nil), // 6: google.protobuf.Any
|
(*anypb.Any)(nil), // 6: google.protobuf.Any
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
var file_audit_v1_event_entity_proto_depIdxs = []int32{
|
var file_audit_v1_event_entity_proto_depIdxs = []int32{
|
||||||
2, // 0: inetmock.audit.v1.TLSDetailsEntity.version:type_name -> inetmock.audit.v1.TLSVersion
|
2, // 0: inetmock.audit.v1.TLSDetailsEntity.version:type_name -> inetmock.audit.v1.TLSVersion
|
||||||
5, // 1: inetmock.audit.v1.EventEntity.timestamp:type_name -> google.protobuf.Timestamp
|
5, // 1: inetmock.audit.v1.EventEntity.timestamp:type_name -> google.protobuf.Timestamp
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.27.1
|
// protoc-gen-go v1.27.1
|
||||||
// protoc v3.17.3
|
// protoc v3.18.1
|
||||||
// source: audit/v1/http_details.proto
|
// source: audit/v1/http_details.proto
|
||||||
|
|
||||||
package v1
|
package v1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
||||||
reflect "reflect"
|
reflect "reflect"
|
||||||
sync "sync"
|
sync "sync"
|
||||||
|
|
||||||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -282,14 +283,17 @@ func file_audit_v1_http_details_proto_rawDescGZIP() []byte {
|
||||||
return file_audit_v1_http_details_proto_rawDescData
|
return file_audit_v1_http_details_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_audit_v1_http_details_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var (
|
||||||
var file_audit_v1_http_details_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
file_audit_v1_http_details_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||||
var file_audit_v1_http_details_proto_goTypes = []interface{}{
|
file_audit_v1_http_details_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||||
|
file_audit_v1_http_details_proto_goTypes = []interface{}{
|
||||||
(HTTPMethod)(0), // 0: inetmock.audit.v1.HTTPMethod
|
(HTTPMethod)(0), // 0: inetmock.audit.v1.HTTPMethod
|
||||||
(*HTTPHeaderValue)(nil), // 1: inetmock.audit.v1.HTTPHeaderValue
|
(*HTTPHeaderValue)(nil), // 1: inetmock.audit.v1.HTTPHeaderValue
|
||||||
(*HTTPDetailsEntity)(nil), // 2: inetmock.audit.v1.HTTPDetailsEntity
|
(*HTTPDetailsEntity)(nil), // 2: inetmock.audit.v1.HTTPDetailsEntity
|
||||||
nil, // 3: inetmock.audit.v1.HTTPDetailsEntity.HeadersEntry
|
nil, // 3: inetmock.audit.v1.HTTPDetailsEntity.HeadersEntry
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
var file_audit_v1_http_details_proto_depIdxs = []int32{
|
var file_audit_v1_http_details_proto_depIdxs = []int32{
|
||||||
0, // 0: inetmock.audit.v1.HTTPDetailsEntity.method:type_name -> inetmock.audit.v1.HTTPMethod
|
0, // 0: inetmock.audit.v1.HTTPDetailsEntity.method:type_name -> inetmock.audit.v1.HTTPMethod
|
||||||
3, // 1: inetmock.audit.v1.HTTPDetailsEntity.headers:type_name -> inetmock.audit.v1.HTTPDetailsEntity.HeadersEntry
|
3, // 1: inetmock.audit.v1.HTTPDetailsEntity.headers:type_name -> inetmock.audit.v1.HTTPDetailsEntity.HeadersEntry
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.27.1
|
// protoc-gen-go v1.27.1
|
||||||
// protoc v3.17.3
|
// protoc v3.18.1
|
||||||
// source: rpc/v1/audit.proto
|
// source: rpc/v1/audit.proto
|
||||||
|
|
||||||
package v1
|
package v1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
v1 "gitlab.com/inetmock/inetmock/pkg/audit/v1"
|
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
||||||
reflect "reflect"
|
reflect "reflect"
|
||||||
sync "sync"
|
sync "sync"
|
||||||
|
|
||||||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
|
||||||
|
v1 "gitlab.com/inetmock/inetmock/pkg/audit/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -470,8 +472,9 @@ func file_rpc_v1_audit_proto_rawDescGZIP() []byte {
|
||||||
return file_rpc_v1_audit_proto_rawDescData
|
return file_rpc_v1_audit_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_rpc_v1_audit_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
var (
|
||||||
var file_rpc_v1_audit_proto_goTypes = []interface{}{
|
file_rpc_v1_audit_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||||||
|
file_rpc_v1_audit_proto_goTypes = []interface{}{
|
||||||
(*WatchEventsRequest)(nil), // 0: inetmock.rpc.v1.WatchEventsRequest
|
(*WatchEventsRequest)(nil), // 0: inetmock.rpc.v1.WatchEventsRequest
|
||||||
(*WatchEventsResponse)(nil), // 1: inetmock.rpc.v1.WatchEventsResponse
|
(*WatchEventsResponse)(nil), // 1: inetmock.rpc.v1.WatchEventsResponse
|
||||||
(*RegisterFileSinkRequest)(nil), // 2: inetmock.rpc.v1.RegisterFileSinkRequest
|
(*RegisterFileSinkRequest)(nil), // 2: inetmock.rpc.v1.RegisterFileSinkRequest
|
||||||
|
@ -482,6 +485,8 @@ var file_rpc_v1_audit_proto_goTypes = []interface{}{
|
||||||
(*ListSinksResponse)(nil), // 7: inetmock.rpc.v1.ListSinksResponse
|
(*ListSinksResponse)(nil), // 7: inetmock.rpc.v1.ListSinksResponse
|
||||||
(*v1.EventEntity)(nil), // 8: inetmock.audit.v1.EventEntity
|
(*v1.EventEntity)(nil), // 8: inetmock.audit.v1.EventEntity
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
var file_rpc_v1_audit_proto_depIdxs = []int32{
|
var file_rpc_v1_audit_proto_depIdxs = []int32{
|
||||||
8, // 0: inetmock.rpc.v1.WatchEventsResponse.entity:type_name -> inetmock.audit.v1.EventEntity
|
8, // 0: inetmock.rpc.v1.WatchEventsResponse.entity:type_name -> inetmock.audit.v1.EventEntity
|
||||||
0, // 1: inetmock.rpc.v1.AuditService.WatchEvents:input_type -> inetmock.rpc.v1.WatchEventsRequest
|
0, // 1: inetmock.rpc.v1.AuditService.WatchEvents:input_type -> inetmock.rpc.v1.WatchEventsRequest
|
||||||
|
|
|
@ -4,6 +4,7 @@ package v1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
|
@ -103,18 +104,20 @@ type AuditServiceServer interface {
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnimplementedAuditServiceServer must be embedded to have forward compatible implementations.
|
// UnimplementedAuditServiceServer must be embedded to have forward compatible implementations.
|
||||||
type UnimplementedAuditServiceServer struct {
|
type UnimplementedAuditServiceServer struct{}
|
||||||
}
|
|
||||||
|
|
||||||
func (UnimplementedAuditServiceServer) WatchEvents(*WatchEventsRequest, AuditService_WatchEventsServer) error {
|
func (UnimplementedAuditServiceServer) WatchEvents(*WatchEventsRequest, AuditService_WatchEventsServer) error {
|
||||||
return status.Errorf(codes.Unimplemented, "method WatchEvents not implemented")
|
return status.Errorf(codes.Unimplemented, "method WatchEvents not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (UnimplementedAuditServiceServer) RegisterFileSink(context.Context, *RegisterFileSinkRequest) (*RegisterFileSinkResponse, error) {
|
func (UnimplementedAuditServiceServer) RegisterFileSink(context.Context, *RegisterFileSinkRequest) (*RegisterFileSinkResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method RegisterFileSink not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method RegisterFileSink not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (UnimplementedAuditServiceServer) RemoveFileSink(context.Context, *RemoveFileSinkRequest) (*RemoveFileSinkResponse, error) {
|
func (UnimplementedAuditServiceServer) RemoveFileSink(context.Context, *RemoveFileSinkRequest) (*RemoveFileSinkResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method RemoveFileSink not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method RemoveFileSink not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (UnimplementedAuditServiceServer) ListSinks(context.Context, *ListSinksRequest) (*ListSinksResponse, error) {
|
func (UnimplementedAuditServiceServer) ListSinks(context.Context, *ListSinksRequest) (*ListSinksResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method ListSinks not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method ListSinks not implemented")
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.27.1
|
// protoc-gen-go v1.27.1
|
||||||
// protoc v3.17.3
|
// protoc v3.18.1
|
||||||
// source: rpc/v1/pcap.proto
|
// source: rpc/v1/pcap.proto
|
||||||
|
|
||||||
package v1
|
package v1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
|
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
durationpb "google.golang.org/protobuf/types/known/durationpb"
|
durationpb "google.golang.org/protobuf/types/known/durationpb"
|
||||||
reflect "reflect"
|
|
||||||
sync "sync"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -573,8 +574,9 @@ func file_rpc_v1_pcap_proto_rawDescGZIP() []byte {
|
||||||
return file_rpc_v1_pcap_proto_rawDescData
|
return file_rpc_v1_pcap_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_rpc_v1_pcap_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
var (
|
||||||
var file_rpc_v1_pcap_proto_goTypes = []interface{}{
|
file_rpc_v1_pcap_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||||||
|
file_rpc_v1_pcap_proto_goTypes = []interface{}{
|
||||||
(*ListAvailableDevicesRequest)(nil), // 0: inetmock.rpc.v1.ListAvailableDevicesRequest
|
(*ListAvailableDevicesRequest)(nil), // 0: inetmock.rpc.v1.ListAvailableDevicesRequest
|
||||||
(*ListAvailableDevicesResponse)(nil), // 1: inetmock.rpc.v1.ListAvailableDevicesResponse
|
(*ListAvailableDevicesResponse)(nil), // 1: inetmock.rpc.v1.ListAvailableDevicesResponse
|
||||||
(*ListActiveRecordingsRequest)(nil), // 2: inetmock.rpc.v1.ListActiveRecordingsRequest
|
(*ListActiveRecordingsRequest)(nil), // 2: inetmock.rpc.v1.ListActiveRecordingsRequest
|
||||||
|
@ -586,6 +588,8 @@ var file_rpc_v1_pcap_proto_goTypes = []interface{}{
|
||||||
(*ListAvailableDevicesResponse_PCAPDevice)(nil), // 8: inetmock.rpc.v1.ListAvailableDevicesResponse.PCAPDevice
|
(*ListAvailableDevicesResponse_PCAPDevice)(nil), // 8: inetmock.rpc.v1.ListAvailableDevicesResponse.PCAPDevice
|
||||||
(*durationpb.Duration)(nil), // 9: google.protobuf.Duration
|
(*durationpb.Duration)(nil), // 9: google.protobuf.Duration
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
var file_rpc_v1_pcap_proto_depIdxs = []int32{
|
var file_rpc_v1_pcap_proto_depIdxs = []int32{
|
||||||
8, // 0: inetmock.rpc.v1.ListAvailableDevicesResponse.available_devices:type_name -> inetmock.rpc.v1.ListAvailableDevicesResponse.PCAPDevice
|
8, // 0: inetmock.rpc.v1.ListAvailableDevicesResponse.available_devices:type_name -> inetmock.rpc.v1.ListAvailableDevicesResponse.PCAPDevice
|
||||||
9, // 1: inetmock.rpc.v1.StartPCAPFileRecordingRequest.read_timeout:type_name -> google.protobuf.Duration
|
9, // 1: inetmock.rpc.v1.StartPCAPFileRecordingRequest.read_timeout:type_name -> google.protobuf.Duration
|
||||||
|
|
|
@ -4,6 +4,7 @@ package v1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
|
@ -80,18 +81,20 @@ type PCAPServiceServer interface {
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnimplementedPCAPServiceServer must be embedded to have forward compatible implementations.
|
// UnimplementedPCAPServiceServer must be embedded to have forward compatible implementations.
|
||||||
type UnimplementedPCAPServiceServer struct {
|
type UnimplementedPCAPServiceServer struct{}
|
||||||
}
|
|
||||||
|
|
||||||
func (UnimplementedPCAPServiceServer) ListAvailableDevices(context.Context, *ListAvailableDevicesRequest) (*ListAvailableDevicesResponse, error) {
|
func (UnimplementedPCAPServiceServer) ListAvailableDevices(context.Context, *ListAvailableDevicesRequest) (*ListAvailableDevicesResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method ListAvailableDevices not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method ListAvailableDevices not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (UnimplementedPCAPServiceServer) ListActiveRecordings(context.Context, *ListActiveRecordingsRequest) (*ListActiveRecordingsResponse, error) {
|
func (UnimplementedPCAPServiceServer) ListActiveRecordings(context.Context, *ListActiveRecordingsRequest) (*ListActiveRecordingsResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method ListActiveRecordings not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method ListActiveRecordings not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (UnimplementedPCAPServiceServer) StartPCAPFileRecording(context.Context, *StartPCAPFileRecordingRequest) (*StartPCAPFileRecordingResponse, error) {
|
func (UnimplementedPCAPServiceServer) StartPCAPFileRecording(context.Context, *StartPCAPFileRecordingRequest) (*StartPCAPFileRecordingResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method StartPCAPFileRecording not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method StartPCAPFileRecording not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (UnimplementedPCAPServiceServer) StopPCAPFileRecording(context.Context, *StopPCAPFileRecordingRequest) (*StopPCAPFileRecordingResponse, error) {
|
func (UnimplementedPCAPServiceServer) StopPCAPFileRecording(context.Context, *StopPCAPFileRecordingRequest) (*StopPCAPFileRecordingResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method StopPCAPFileRecording not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method StopPCAPFileRecording not implemented")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue