Documentation ¶
Index ¶
- Variables
- func DefaultDeleteAddress(ctx context.Context, in *Address, db *gorm.DB) error
- func DefaultDeleteAddressSet(ctx context.Context, in []*Address, db *gorm.DB) error
- func DefaultDeleteDistance(ctx context.Context, in *Distance, db *gorm.DB) error
- func DefaultDeleteDistanceSet(ctx context.Context, in []*Distance, db *gorm.DB) error
- func DefaultDeleteHop(ctx context.Context, in *Hop, db *gorm.DB) error
- func DefaultDeleteHopSet(ctx context.Context, in []*Hop, db *gorm.DB) error
- func DefaultDeleteICMPResponse(ctx context.Context, in *ICMPResponse, db *gorm.DB) error
- func DefaultDeleteICMPResponseSet(ctx context.Context, in []*ICMPResponse, db *gorm.DB) error
- func DefaultDeleteIPIDSequence(ctx context.Context, in *IPIDSequence, db *gorm.DB) error
- func DefaultDeleteIPIDSequenceSet(ctx context.Context, in []*IPIDSequence, db *gorm.DB) error
- func DefaultDeleteSequence(ctx context.Context, in *Sequence, db *gorm.DB) error
- func DefaultDeleteSequenceSet(ctx context.Context, in []*Sequence, db *gorm.DB) error
- func DefaultDeleteService(ctx context.Context, in *Service, db *gorm.DB) error
- func DefaultDeleteServiceSet(ctx context.Context, in []*Service, db *gorm.DB) error
- func DefaultDeleteTCPSequence(ctx context.Context, in *TCPSequence, db *gorm.DB) error
- func DefaultDeleteTCPSequenceSet(ctx context.Context, in []*TCPSequence, db *gorm.DB) error
- func DefaultDeleteTCPTSSequence(ctx context.Context, in *TCPTSSequence, db *gorm.DB) error
- func DefaultDeleteTCPTSSequenceSet(ctx context.Context, in []*TCPTSSequence, db *gorm.DB) error
- func DefaultDeleteTimes(ctx context.Context, in *Times, db *gorm.DB) error
- func DefaultDeleteTimesSet(ctx context.Context, in []*Times, db *gorm.DB) error
- func DefaultDeleteTrace(ctx context.Context, in *Trace, db *gorm.DB) error
- func DefaultDeleteTraceSet(ctx context.Context, in []*Trace, db *gorm.DB) error
- type Address
- func DefaultApplyFieldMaskAddress(ctx context.Context, patchee *Address, patcher *Address, ...) (*Address, error)
- func DefaultCreateAddress(ctx context.Context, in *Address, db *gorm.DB) (*Address, error)
- func DefaultListAddress(ctx context.Context, db *gorm.DB) ([]*Address, error)
- func DefaultPatchAddress(ctx context.Context, in *Address, updateMask *field_mask.FieldMask, ...) (*Address, error)
- func DefaultPatchSetAddress(ctx context.Context, objects []*Address, updateMasks []*field_mask.FieldMask, ...) ([]*Address, error)
- func DefaultReadAddress(ctx context.Context, in *Address, db *gorm.DB) (*Address, error)
- func DefaultStrictUpdateAddress(ctx context.Context, in *Address, db *gorm.DB) (*Address, error)
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetAddr() string
- func (x *Address) GetCreatedAt() *timestamppb.Timestamp
- func (x *Address) GetId() string
- func (x *Address) GetType() string
- func (x *Address) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Address) GetVendor() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- func (m *Address) ToORM(ctx context.Context) (AddressORM, error)
- type AddressORM
- type AddressORMWithAfterCreate_
- type AddressORMWithAfterDeleteSet
- type AddressORMWithAfterDelete_
- type AddressORMWithAfterListFind
- type AddressORMWithAfterReadFind
- type AddressORMWithAfterStrictUpdateSave
- type AddressORMWithBeforeCreate_
- type AddressORMWithBeforeDeleteSet
- type AddressORMWithBeforeDelete_
- type AddressORMWithBeforeListApplyQuery
- type AddressORMWithBeforeListFind
- type AddressORMWithBeforeReadApplyQuery
- type AddressORMWithBeforeReadFind
- type AddressORMWithBeforeStrictUpdateCleanup
- type AddressORMWithBeforeStrictUpdateSave
- type AddressWithAfterPatchSave
- type AddressWithAfterToORM
- type AddressWithAfterToPB
- type AddressWithBeforePatchApplyFieldMask
- type AddressWithBeforePatchRead
- type AddressWithBeforePatchSave
- type AddressWithBeforeToORM
- type AddressWithBeforeToPB
- type Distance
- func DefaultApplyFieldMaskDistance(ctx context.Context, patchee *Distance, patcher *Distance, ...) (*Distance, error)
- func DefaultCreateDistance(ctx context.Context, in *Distance, db *gorm.DB) (*Distance, error)
- func DefaultListDistance(ctx context.Context, db *gorm.DB) ([]*Distance, error)
- func DefaultPatchDistance(ctx context.Context, in *Distance, updateMask *field_mask.FieldMask, ...) (*Distance, error)
- func DefaultPatchSetDistance(ctx context.Context, objects []*Distance, updateMasks []*field_mask.FieldMask, ...) ([]*Distance, error)
- func DefaultReadDistance(ctx context.Context, in *Distance, db *gorm.DB) (*Distance, error)
- func DefaultStrictUpdateDistance(ctx context.Context, in *Distance, db *gorm.DB) (*Distance, error)
- func (*Distance) Descriptor() ([]byte, []int)deprecated
- func (x *Distance) GetId() string
- func (x *Distance) GetValue() int32
- func (*Distance) ProtoMessage()
- func (x *Distance) ProtoReflect() protoreflect.Message
- func (x *Distance) Reset()
- func (x *Distance) String() string
- func (m *Distance) ToORM(ctx context.Context) (DistanceORM, error)
- type DistanceORM
- type DistanceORMWithAfterCreate_
- type DistanceORMWithAfterDeleteSet
- type DistanceORMWithAfterDelete_
- type DistanceORMWithAfterListFind
- type DistanceORMWithAfterReadFind
- type DistanceORMWithAfterStrictUpdateSave
- type DistanceORMWithBeforeCreate_
- type DistanceORMWithBeforeDeleteSet
- type DistanceORMWithBeforeDelete_
- type DistanceORMWithBeforeListApplyQuery
- type DistanceORMWithBeforeListFind
- type DistanceORMWithBeforeReadApplyQuery
- type DistanceORMWithBeforeReadFind
- type DistanceORMWithBeforeStrictUpdateCleanup
- type DistanceORMWithBeforeStrictUpdateSave
- type DistanceWithAfterPatchSave
- type DistanceWithAfterToORM
- type DistanceWithAfterToPB
- type DistanceWithBeforePatchApplyFieldMask
- type DistanceWithBeforePatchRead
- type DistanceWithBeforePatchSave
- type DistanceWithBeforeToORM
- type DistanceWithBeforeToPB
- type Hop
- func DefaultApplyFieldMaskHop(ctx context.Context, patchee *Hop, patcher *Hop, ...) (*Hop, error)
- func DefaultCreateHop(ctx context.Context, in *Hop, db *gorm.DB) (*Hop, error)
- func DefaultListHop(ctx context.Context, db *gorm.DB) ([]*Hop, error)
- func DefaultPatchHop(ctx context.Context, in *Hop, updateMask *field_mask.FieldMask, db *gorm.DB) (*Hop, error)
- func DefaultPatchSetHop(ctx context.Context, objects []*Hop, updateMasks []*field_mask.FieldMask, ...) ([]*Hop, error)
- func DefaultReadHop(ctx context.Context, in *Hop, db *gorm.DB) (*Hop, error)
- func DefaultStrictUpdateHop(ctx context.Context, in *Hop, db *gorm.DB) (*Hop, error)
- func (*Hop) Descriptor() ([]byte, []int)deprecated
- func (x *Hop) GetHost() string
- func (x *Hop) GetIPAddr() string
- func (x *Hop) GetId() string
- func (x *Hop) GetRTT() string
- func (x *Hop) GetTTL() float32
- func (*Hop) ProtoMessage()
- func (x *Hop) ProtoReflect() protoreflect.Message
- func (x *Hop) Reset()
- func (x *Hop) String() string
- func (m *Hop) ToORM(ctx context.Context) (HopORM, error)
- type HopORM
- type HopORMWithAfterCreate_
- type HopORMWithAfterDeleteSet
- type HopORMWithAfterDelete_
- type HopORMWithAfterListFind
- type HopORMWithAfterReadFind
- type HopORMWithAfterStrictUpdateSave
- type HopORMWithBeforeCreate_
- type HopORMWithBeforeDeleteSet
- type HopORMWithBeforeDelete_
- type HopORMWithBeforeListApplyQuery
- type HopORMWithBeforeListFind
- type HopORMWithBeforeReadApplyQuery
- type HopORMWithBeforeReadFind
- type HopORMWithBeforeStrictUpdateCleanup
- type HopORMWithBeforeStrictUpdateSave
- type HopWithAfterPatchSave
- type HopWithAfterToORM
- type HopWithAfterToPB
- type HopWithBeforePatchApplyFieldMask
- type HopWithBeforePatchRead
- type HopWithBeforePatchSave
- type HopWithBeforeToORM
- type HopWithBeforeToPB
- type ICMPResponse
- func DefaultApplyFieldMaskICMPResponse(ctx context.Context, patchee *ICMPResponse, patcher *ICMPResponse, ...) (*ICMPResponse, error)
- func DefaultCreateICMPResponse(ctx context.Context, in *ICMPResponse, db *gorm.DB) (*ICMPResponse, error)
- func DefaultListICMPResponse(ctx context.Context, db *gorm.DB) ([]*ICMPResponse, error)
- func DefaultPatchICMPResponse(ctx context.Context, in *ICMPResponse, updateMask *field_mask.FieldMask, ...) (*ICMPResponse, error)
- func DefaultPatchSetICMPResponse(ctx context.Context, objects []*ICMPResponse, ...) ([]*ICMPResponse, error)
- func DefaultReadICMPResponse(ctx context.Context, in *ICMPResponse, db *gorm.DB) (*ICMPResponse, error)
- func DefaultStrictUpdateICMPResponse(ctx context.Context, in *ICMPResponse, db *gorm.DB) (*ICMPResponse, error)
- func (*ICMPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ICMPResponse) GetCode() uint32
- func (x *ICMPResponse) GetId() string
- func (x *ICMPResponse) GetType() ICMPType
- func (*ICMPResponse) ProtoMessage()
- func (x *ICMPResponse) ProtoReflect() protoreflect.Message
- func (x *ICMPResponse) Reset()
- func (x *ICMPResponse) String() string
- func (m *ICMPResponse) ToORM(ctx context.Context) (ICMPResponseORM, error)
- type ICMPResponseORM
- type ICMPResponseORMWithAfterCreate_
- type ICMPResponseORMWithAfterDeleteSet
- type ICMPResponseORMWithAfterDelete_
- type ICMPResponseORMWithAfterListFind
- type ICMPResponseORMWithAfterReadFind
- type ICMPResponseORMWithAfterStrictUpdateSave
- type ICMPResponseORMWithBeforeCreate_
- type ICMPResponseORMWithBeforeDeleteSet
- type ICMPResponseORMWithBeforeDelete_
- type ICMPResponseORMWithBeforeListApplyQuery
- type ICMPResponseORMWithBeforeListFind
- type ICMPResponseORMWithBeforeReadApplyQuery
- type ICMPResponseORMWithBeforeReadFind
- type ICMPResponseORMWithBeforeStrictUpdateCleanup
- type ICMPResponseORMWithBeforeStrictUpdateSave
- type ICMPResponseWithAfterPatchSave
- type ICMPResponseWithAfterToORM
- type ICMPResponseWithAfterToPB
- type ICMPResponseWithBeforePatchApplyFieldMask
- type ICMPResponseWithBeforePatchRead
- type ICMPResponseWithBeforePatchSave
- type ICMPResponseWithBeforeToORM
- type ICMPResponseWithBeforeToPB
- type ICMPType
- type IPIDSequence
- func DefaultApplyFieldMaskIPIDSequence(ctx context.Context, patchee *IPIDSequence, patcher *IPIDSequence, ...) (*IPIDSequence, error)
- func DefaultCreateIPIDSequence(ctx context.Context, in *IPIDSequence, db *gorm.DB) (*IPIDSequence, error)
- func DefaultListIPIDSequence(ctx context.Context, db *gorm.DB) ([]*IPIDSequence, error)
- func DefaultPatchIPIDSequence(ctx context.Context, in *IPIDSequence, updateMask *field_mask.FieldMask, ...) (*IPIDSequence, error)
- func DefaultPatchSetIPIDSequence(ctx context.Context, objects []*IPIDSequence, ...) ([]*IPIDSequence, error)
- func DefaultReadIPIDSequence(ctx context.Context, in *IPIDSequence, db *gorm.DB) (*IPIDSequence, error)
- func DefaultStrictUpdateIPIDSequence(ctx context.Context, in *IPIDSequence, db *gorm.DB) (*IPIDSequence, error)
- func (*IPIDSequence) Descriptor() ([]byte, []int)deprecated
- func (x *IPIDSequence) GetDifficulty() string
- func (x *IPIDSequence) GetId() string
- func (x *IPIDSequence) GetIndex() int32
- func (x *IPIDSequence) GetValues() string
- func (*IPIDSequence) ProtoMessage()
- func (x *IPIDSequence) ProtoReflect() protoreflect.Message
- func (x *IPIDSequence) Reset()
- func (x *IPIDSequence) String() string
- func (m *IPIDSequence) ToORM(ctx context.Context) (IPIDSequenceORM, error)
- type IPIDSequenceORM
- type IPIDSequenceORMWithAfterCreate_
- type IPIDSequenceORMWithAfterDeleteSet
- type IPIDSequenceORMWithAfterDelete_
- type IPIDSequenceORMWithAfterListFind
- type IPIDSequenceORMWithAfterReadFind
- type IPIDSequenceORMWithAfterStrictUpdateSave
- type IPIDSequenceORMWithBeforeCreate_
- type IPIDSequenceORMWithBeforeDeleteSet
- type IPIDSequenceORMWithBeforeDelete_
- type IPIDSequenceORMWithBeforeListApplyQuery
- type IPIDSequenceORMWithBeforeListFind
- type IPIDSequenceORMWithBeforeReadApplyQuery
- type IPIDSequenceORMWithBeforeReadFind
- type IPIDSequenceORMWithBeforeStrictUpdateCleanup
- type IPIDSequenceORMWithBeforeStrictUpdateSave
- type IPIDSequenceWithAfterPatchSave
- type IPIDSequenceWithAfterToORM
- type IPIDSequenceWithAfterToPB
- type IPIDSequenceWithBeforePatchApplyFieldMask
- type IPIDSequenceWithBeforePatchRead
- type IPIDSequenceWithBeforePatchSave
- type IPIDSequenceWithBeforeToORM
- type IPIDSequenceWithBeforeToPB
- type Sequence
- func DefaultApplyFieldMaskSequence(ctx context.Context, patchee *Sequence, patcher *Sequence, ...) (*Sequence, error)
- func DefaultCreateSequence(ctx context.Context, in *Sequence, db *gorm.DB) (*Sequence, error)
- func DefaultListSequence(ctx context.Context, db *gorm.DB) ([]*Sequence, error)
- func DefaultPatchSequence(ctx context.Context, in *Sequence, updateMask *field_mask.FieldMask, ...) (*Sequence, error)
- func DefaultPatchSetSequence(ctx context.Context, objects []*Sequence, updateMasks []*field_mask.FieldMask, ...) ([]*Sequence, error)
- func DefaultReadSequence(ctx context.Context, in *Sequence, db *gorm.DB) (*Sequence, error)
- func DefaultStrictUpdateSequence(ctx context.Context, in *Sequence, db *gorm.DB) (*Sequence, error)
- func (*Sequence) Descriptor() ([]byte, []int)deprecated
- func (x *Sequence) GetClass() string
- func (x *Sequence) GetId() string
- func (x *Sequence) GetValues() string
- func (*Sequence) ProtoMessage()
- func (x *Sequence) ProtoReflect() protoreflect.Message
- func (x *Sequence) Reset()
- func (x *Sequence) String() string
- func (m *Sequence) ToORM(ctx context.Context) (SequenceORM, error)
- type SequenceORM
- type SequenceORMWithAfterCreate_
- type SequenceORMWithAfterDeleteSet
- type SequenceORMWithAfterDelete_
- type SequenceORMWithAfterListFind
- type SequenceORMWithAfterReadFind
- type SequenceORMWithAfterStrictUpdateSave
- type SequenceORMWithBeforeCreate_
- type SequenceORMWithBeforeDeleteSet
- type SequenceORMWithBeforeDelete_
- type SequenceORMWithBeforeListApplyQuery
- type SequenceORMWithBeforeListFind
- type SequenceORMWithBeforeReadApplyQuery
- type SequenceORMWithBeforeReadFind
- type SequenceORMWithBeforeStrictUpdateCleanup
- type SequenceORMWithBeforeStrictUpdateSave
- type SequenceWithAfterPatchSave
- type SequenceWithAfterToORM
- type SequenceWithAfterToPB
- type SequenceWithBeforePatchApplyFieldMask
- type SequenceWithBeforePatchRead
- type SequenceWithBeforePatchSave
- type SequenceWithBeforeToORM
- type SequenceWithBeforeToPB
- type Service
- func DefaultApplyFieldMaskService(ctx context.Context, patchee *Service, patcher *Service, ...) (*Service, error)
- func DefaultCreateService(ctx context.Context, in *Service, db *gorm.DB) (*Service, error)
- func DefaultListService(ctx context.Context, db *gorm.DB) ([]*Service, error)
- func DefaultPatchService(ctx context.Context, in *Service, updateMask *field_mask.FieldMask, ...) (*Service, error)
- func DefaultPatchSetService(ctx context.Context, objects []*Service, updateMasks []*field_mask.FieldMask, ...) ([]*Service, error)
- func DefaultReadService(ctx context.Context, in *Service, db *gorm.DB) (*Service, error)
- func DefaultStrictUpdateService(ctx context.Context, in *Service, db *gorm.DB) (*Service, error)
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetAdditionalInfo() []*Service_AddedInfo
- func (x *Service) GetAuthenticated() bool
- func (x *Service) GetCPEs() []string
- func (x *Service) GetConfidence() int32
- func (x *Service) GetCreatedAt() *timestamppb.Timestamp
- func (x *Service) GetDeviceType() string
- func (x *Service) GetExtraInfo() string
- func (x *Service) GetHighVersion() string
- func (x *Service) GetHostname() string
- func (x *Service) GetId() string
- func (x *Service) GetLowVersion() string
- func (x *Service) GetMethod() string
- func (x *Service) GetName() string
- func (x *Service) GetOSType() string
- func (x *Service) GetProduct() string
- func (x *Service) GetProtocol() string
- func (x *Service) GetRPCNum() string
- func (x *Service) GetServiceFP() string
- func (x *Service) GetTunnel() string
- func (x *Service) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Service) GetVersion() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- func (m *Service) ToORM(ctx context.Context) (ServiceORM, error)
- type ServiceORM
- type ServiceORMWithAfterCreate_
- type ServiceORMWithAfterDeleteSet
- type ServiceORMWithAfterDelete_
- type ServiceORMWithAfterListFind
- type ServiceORMWithAfterReadFind
- type ServiceORMWithAfterStrictUpdateSave
- type ServiceORMWithBeforeCreate_
- type ServiceORMWithBeforeDeleteSet
- type ServiceORMWithBeforeDelete_
- type ServiceORMWithBeforeListApplyQuery
- type ServiceORMWithBeforeListFind
- type ServiceORMWithBeforeReadApplyQuery
- type ServiceORMWithBeforeReadFind
- type ServiceORMWithBeforeStrictUpdateCleanup
- type ServiceORMWithBeforeStrictUpdateSave
- type ServiceWithAfterPatchSave
- type ServiceWithAfterToORM
- type ServiceWithAfterToPB
- type ServiceWithBeforePatchApplyFieldMask
- type ServiceWithBeforePatchRead
- type ServiceWithBeforePatchSave
- type ServiceWithBeforeToORM
- type ServiceWithBeforeToPB
- type Service_AddedInfo
- func (*Service_AddedInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Service_AddedInfo) GetKey() string
- func (x *Service_AddedInfo) GetValue() string
- func (*Service_AddedInfo) ProtoMessage()
- func (x *Service_AddedInfo) ProtoReflect() protoreflect.Message
- func (x *Service_AddedInfo) Reset()
- func (x *Service_AddedInfo) String() string
- type TCPSequence
- func DefaultApplyFieldMaskTCPSequence(ctx context.Context, patchee *TCPSequence, patcher *TCPSequence, ...) (*TCPSequence, error)
- func DefaultCreateTCPSequence(ctx context.Context, in *TCPSequence, db *gorm.DB) (*TCPSequence, error)
- func DefaultListTCPSequence(ctx context.Context, db *gorm.DB) ([]*TCPSequence, error)
- func DefaultPatchSetTCPSequence(ctx context.Context, objects []*TCPSequence, ...) ([]*TCPSequence, error)
- func DefaultPatchTCPSequence(ctx context.Context, in *TCPSequence, updateMask *field_mask.FieldMask, ...) (*TCPSequence, error)
- func DefaultReadTCPSequence(ctx context.Context, in *TCPSequence, db *gorm.DB) (*TCPSequence, error)
- func DefaultStrictUpdateTCPSequence(ctx context.Context, in *TCPSequence, db *gorm.DB) (*TCPSequence, error)
- func (*TCPSequence) Descriptor() ([]byte, []int)deprecated
- func (x *TCPSequence) GetDifficulty() string
- func (x *TCPSequence) GetId() string
- func (x *TCPSequence) GetIndex() int32
- func (x *TCPSequence) GetValues() string
- func (*TCPSequence) ProtoMessage()
- func (x *TCPSequence) ProtoReflect() protoreflect.Message
- func (x *TCPSequence) Reset()
- func (x *TCPSequence) String() string
- func (m *TCPSequence) ToORM(ctx context.Context) (TCPSequenceORM, error)
- type TCPSequenceORM
- type TCPSequenceORMWithAfterCreate_
- type TCPSequenceORMWithAfterDeleteSet
- type TCPSequenceORMWithAfterDelete_
- type TCPSequenceORMWithAfterListFind
- type TCPSequenceORMWithAfterReadFind
- type TCPSequenceORMWithAfterStrictUpdateSave
- type TCPSequenceORMWithBeforeCreate_
- type TCPSequenceORMWithBeforeDeleteSet
- type TCPSequenceORMWithBeforeDelete_
- type TCPSequenceORMWithBeforeListApplyQuery
- type TCPSequenceORMWithBeforeListFind
- type TCPSequenceORMWithBeforeReadApplyQuery
- type TCPSequenceORMWithBeforeReadFind
- type TCPSequenceORMWithBeforeStrictUpdateCleanup
- type TCPSequenceORMWithBeforeStrictUpdateSave
- type TCPSequenceWithAfterPatchSave
- type TCPSequenceWithAfterToORM
- type TCPSequenceWithAfterToPB
- type TCPSequenceWithBeforePatchApplyFieldMask
- type TCPSequenceWithBeforePatchRead
- type TCPSequenceWithBeforePatchSave
- type TCPSequenceWithBeforeToORM
- type TCPSequenceWithBeforeToPB
- type TCPTSSequence
- func DefaultApplyFieldMaskTCPTSSequence(ctx context.Context, patchee *TCPTSSequence, patcher *TCPTSSequence, ...) (*TCPTSSequence, error)
- func DefaultCreateTCPTSSequence(ctx context.Context, in *TCPTSSequence, db *gorm.DB) (*TCPTSSequence, error)
- func DefaultListTCPTSSequence(ctx context.Context, db *gorm.DB) ([]*TCPTSSequence, error)
- func DefaultPatchSetTCPTSSequence(ctx context.Context, objects []*TCPTSSequence, ...) ([]*TCPTSSequence, error)
- func DefaultPatchTCPTSSequence(ctx context.Context, in *TCPTSSequence, updateMask *field_mask.FieldMask, ...) (*TCPTSSequence, error)
- func DefaultReadTCPTSSequence(ctx context.Context, in *TCPTSSequence, db *gorm.DB) (*TCPTSSequence, error)
- func DefaultStrictUpdateTCPTSSequence(ctx context.Context, in *TCPTSSequence, db *gorm.DB) (*TCPTSSequence, error)
- func (*TCPTSSequence) Descriptor() ([]byte, []int)deprecated
- func (x *TCPTSSequence) GetDifficulty() string
- func (x *TCPTSSequence) GetId() string
- func (x *TCPTSSequence) GetIndex() int32
- func (x *TCPTSSequence) GetValues() string
- func (*TCPTSSequence) ProtoMessage()
- func (x *TCPTSSequence) ProtoReflect() protoreflect.Message
- func (x *TCPTSSequence) Reset()
- func (x *TCPTSSequence) String() string
- func (m *TCPTSSequence) ToORM(ctx context.Context) (TCPTSSequenceORM, error)
- type TCPTSSequenceORM
- type TCPTSSequenceORMWithAfterCreate_
- type TCPTSSequenceORMWithAfterDeleteSet
- type TCPTSSequenceORMWithAfterDelete_
- type TCPTSSequenceORMWithAfterListFind
- type TCPTSSequenceORMWithAfterReadFind
- type TCPTSSequenceORMWithAfterStrictUpdateSave
- type TCPTSSequenceORMWithBeforeCreate_
- type TCPTSSequenceORMWithBeforeDeleteSet
- type TCPTSSequenceORMWithBeforeDelete_
- type TCPTSSequenceORMWithBeforeListApplyQuery
- type TCPTSSequenceORMWithBeforeListFind
- type TCPTSSequenceORMWithBeforeReadApplyQuery
- type TCPTSSequenceORMWithBeforeReadFind
- type TCPTSSequenceORMWithBeforeStrictUpdateCleanup
- type TCPTSSequenceORMWithBeforeStrictUpdateSave
- type TCPTSSequenceWithAfterPatchSave
- type TCPTSSequenceWithAfterToORM
- type TCPTSSequenceWithAfterToPB
- type TCPTSSequenceWithBeforePatchApplyFieldMask
- type TCPTSSequenceWithBeforePatchRead
- type TCPTSSequenceWithBeforePatchSave
- type TCPTSSequenceWithBeforeToORM
- type TCPTSSequenceWithBeforeToPB
- type Times
- func DefaultApplyFieldMaskTimes(ctx context.Context, patchee *Times, patcher *Times, ...) (*Times, error)
- func DefaultCreateTimes(ctx context.Context, in *Times, db *gorm.DB) (*Times, error)
- func DefaultListTimes(ctx context.Context, db *gorm.DB) ([]*Times, error)
- func DefaultPatchSetTimes(ctx context.Context, objects []*Times, updateMasks []*field_mask.FieldMask, ...) ([]*Times, error)
- func DefaultPatchTimes(ctx context.Context, in *Times, updateMask *field_mask.FieldMask, db *gorm.DB) (*Times, error)
- func DefaultReadTimes(ctx context.Context, in *Times, db *gorm.DB) (*Times, error)
- func DefaultStrictUpdateTimes(ctx context.Context, in *Times, db *gorm.DB) (*Times, error)
- func (*Times) Descriptor() ([]byte, []int)deprecated
- func (x *Times) GetId() string
- func (x *Times) GetRTT() string
- func (x *Times) GetSRTT() string
- func (x *Times) GetTo() string
- func (*Times) ProtoMessage()
- func (x *Times) ProtoReflect() protoreflect.Message
- func (x *Times) Reset()
- func (x *Times) String() string
- func (m *Times) ToORM(ctx context.Context) (TimesORM, error)
- type TimesORM
- type TimesORMWithAfterCreate_
- type TimesORMWithAfterDeleteSet
- type TimesORMWithAfterDelete_
- type TimesORMWithAfterListFind
- type TimesORMWithAfterReadFind
- type TimesORMWithAfterStrictUpdateSave
- type TimesORMWithBeforeCreate_
- type TimesORMWithBeforeDeleteSet
- type TimesORMWithBeforeDelete_
- type TimesORMWithBeforeListApplyQuery
- type TimesORMWithBeforeListFind
- type TimesORMWithBeforeReadApplyQuery
- type TimesORMWithBeforeReadFind
- type TimesORMWithBeforeStrictUpdateCleanup
- type TimesORMWithBeforeStrictUpdateSave
- type TimesWithAfterPatchSave
- type TimesWithAfterToORM
- type TimesWithAfterToPB
- type TimesWithBeforePatchApplyFieldMask
- type TimesWithBeforePatchRead
- type TimesWithBeforePatchSave
- type TimesWithBeforeToORM
- type TimesWithBeforeToPB
- type Trace
- func DefaultApplyFieldMaskTrace(ctx context.Context, patchee *Trace, patcher *Trace, ...) (*Trace, error)
- func DefaultCreateTrace(ctx context.Context, in *Trace, db *gorm.DB) (*Trace, error)
- func DefaultListTrace(ctx context.Context, db *gorm.DB) ([]*Trace, error)
- func DefaultPatchSetTrace(ctx context.Context, objects []*Trace, updateMasks []*field_mask.FieldMask, ...) ([]*Trace, error)
- func DefaultPatchTrace(ctx context.Context, in *Trace, updateMask *field_mask.FieldMask, db *gorm.DB) (*Trace, error)
- func DefaultReadTrace(ctx context.Context, in *Trace, db *gorm.DB) (*Trace, error)
- func DefaultStrictUpdateTrace(ctx context.Context, in *Trace, db *gorm.DB) (*Trace, error)
- func (*Trace) Descriptor() ([]byte, []int)deprecated
- func (x *Trace) GetHops() []*Hop
- func (x *Trace) GetId() string
- func (x *Trace) GetPort() int32
- func (x *Trace) GetProtocol() string
- func (*Trace) ProtoMessage()
- func (x *Trace) ProtoReflect() protoreflect.Message
- func (x *Trace) Reset()
- func (x *Trace) String() string
- func (m *Trace) ToORM(ctx context.Context) (TraceORM, error)
- type TraceORM
- type TraceORMWithAfterCreate_
- type TraceORMWithAfterDeleteSet
- type TraceORMWithAfterDelete_
- type TraceORMWithAfterListFind
- type TraceORMWithAfterReadFind
- type TraceORMWithAfterStrictUpdateSave
- type TraceORMWithBeforeCreate_
- type TraceORMWithBeforeDeleteSet
- type TraceORMWithBeforeDelete_
- type TraceORMWithBeforeListApplyQuery
- type TraceORMWithBeforeListFind
- type TraceORMWithBeforeReadApplyQuery
- type TraceORMWithBeforeReadFind
- type TraceORMWithBeforeStrictUpdateCleanup
- type TraceORMWithBeforeStrictUpdateSave
- type TraceWithAfterPatchSave
- type TraceWithAfterToORM
- type TraceWithAfterToPB
- type TraceWithBeforePatchApplyFieldMask
- type TraceWithBeforePatchRead
- type TraceWithBeforePatchSave
- type TraceWithBeforeToORM
- type TraceWithBeforeToPB
Constants ¶
This section is empty.
Variables ¶
var ( ICMPType_name = map[int32]string{ 0: "EchoReply", 3: "DestinationUnreachable", 4: "SourceQuench", 5: "RedirectMessage", 8: "EchoRequest", 9: "RouterAdvertisement", 10: "RouterSolicitation", 11: "TimeExceeded", 12: "BadIPHeader", 13: "Timestamp", 14: "TimestampReply", 40: "Photuris", 41: "MobilityProto", 42: "ExtendedEchoRequest", 43: "ExtendedEchoReply", 253: "RFC3692Experiment1", 254: "RFC3692Experiment2", } ICMPType_value = map[string]int32{ "EchoReply": 0, "DestinationUnreachable": 3, "SourceQuench": 4, "RedirectMessage": 5, "EchoRequest": 8, "RouterAdvertisement": 9, "RouterSolicitation": 10, "TimeExceeded": 11, "BadIPHeader": 12, "Timestamp": 13, "TimestampReply": 14, "Photuris": 40, "MobilityProto": 41, "ExtendedEchoRequest": 42, "ExtendedEchoReply": 43, "RFC3692Experiment1": 253, "RFC3692Experiment2": 254, } )
Enum value maps for ICMPType.
var File_network_network_proto protoreflect.FileDescriptor
var File_network_packet_proto protoreflect.FileDescriptor
var File_network_service_proto protoreflect.FileDescriptor
Functions ¶
func DefaultDeleteAddress ¶
func DefaultDeleteAddressSet ¶
func DefaultDeleteDistance ¶
func DefaultDeleteHopSet ¶
func DefaultDeleteSequence ¶
func DefaultDeleteService ¶
func DefaultDeleteServiceSet ¶
func DefaultDeleteTimes ¶
func DefaultDeleteTimesSet ¶
func DefaultDeleteTrace ¶
Types ¶
type Address ¶
type Address struct { // @gotags: display:"ID" readonly:"true" Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty" display:"ID" readonly:"true"` // @gotags: display:"Created at" readonly:"true" xml:"-" CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty" display:"Created at" readonly:"true" xml:"-"` // @gotags: display:"Updated at" readonly:"true" xml:"-" UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty" display:"Updated at" readonly:"true" xml:"-"` // @gotags: xml:"addr,attr" Addr string `protobuf:"bytes,10,opt,name=Addr,proto3" json:"Addr,omitempty" xml:"addr,attr"` // @gotags: xml:"addrtype,attr" Type string `protobuf:"bytes,11,opt,name=Type,proto3" json:"Type,omitempty" xml:"addrtype,attr"` // @gotags: xml:"vendor,attr" Vendor string `protobuf:"bytes,12,opt,name=Vendor,proto3" json:"Vendor,omitempty" xml:"vendor,attr"` // contains filtered or unexported fields }
Address - A network address
func DefaultApplyFieldMaskAddress ¶
func DefaultApplyFieldMaskAddress(ctx context.Context, patchee *Address, patcher *Address, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Address, error)
DefaultApplyFieldMaskAddress patches an pbObject with patcher according to a field mask.
func DefaultCreateAddress ¶
DefaultCreateAddress executes a basic gorm create call
func DefaultListAddress ¶
DefaultListAddress executes a gorm list call
func DefaultPatchAddress ¶
func DefaultPatchAddress(ctx context.Context, in *Address, updateMask *field_mask.FieldMask, db *gorm.DB) (*Address, error)
DefaultPatchAddress executes a basic gorm update call with patch behavior
func DefaultPatchSetAddress ¶
func DefaultPatchSetAddress(ctx context.Context, objects []*Address, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Address, error)
DefaultPatchSetAddress executes a bulk gorm update call with patch behavior
func DefaultReadAddress ¶
func DefaultStrictUpdateAddress ¶
DefaultStrictUpdateAddress clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*Address) Descriptor
deprecated
func (*Address) GetCreatedAt ¶
func (x *Address) GetCreatedAt() *timestamppb.Timestamp
func (*Address) GetUpdatedAt ¶
func (x *Address) GetUpdatedAt() *timestamppb.Timestamp
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type AddressORM ¶
type AddressORM struct { Addr string CreatedAt *time.Time Id string `gorm:"type:uuid;primary_key"` Type string UpdatedAt *time.Time Vendor string }
func (*AddressORM) BeforeCreate ¶
func (address *AddressORM) BeforeCreate(tx *gorm.DB) (err error)
BeforeCreate - GORM-specific autogenerated helpers.
func (AddressORM) TableName ¶
func (AddressORM) TableName() string
TableName overrides the default tablename generated by GORM
type AddressWithAfterToORM ¶
type AddressWithAfterToORM interface {
AfterToORM(context.Context, *AddressORM) error
}
AddressAfterToORM called after default ToORM code
type AddressWithAfterToPB ¶
AddressAfterToPB called after default ToPB code
type AddressWithBeforeToORM ¶
type AddressWithBeforeToORM interface {
BeforeToORM(context.Context, *AddressORM) error
}
AddressBeforeToORM called before default ToORM code
type AddressWithBeforeToPB ¶
AddressBeforeToPB called before default ToPB code
type Distance ¶
type Distance struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` // @gotags: xml:"value,attr" Value int32 `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty" xml:"value,attr"` // contains filtered or unexported fields }
Distance - The number of hops before reaching the host
func DefaultApplyFieldMaskDistance ¶
func DefaultApplyFieldMaskDistance(ctx context.Context, patchee *Distance, patcher *Distance, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Distance, error)
DefaultApplyFieldMaskDistance patches an pbObject with patcher according to a field mask.
func DefaultCreateDistance ¶
DefaultCreateDistance executes a basic gorm create call
func DefaultListDistance ¶
DefaultListDistance executes a gorm list call
func DefaultPatchDistance ¶
func DefaultPatchDistance(ctx context.Context, in *Distance, updateMask *field_mask.FieldMask, db *gorm.DB) (*Distance, error)
DefaultPatchDistance executes a basic gorm update call with patch behavior
func DefaultPatchSetDistance ¶
func DefaultPatchSetDistance(ctx context.Context, objects []*Distance, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Distance, error)
DefaultPatchSetDistance executes a bulk gorm update call with patch behavior
func DefaultReadDistance ¶
func DefaultStrictUpdateDistance ¶
DefaultStrictUpdateDistance clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*Distance) Descriptor
deprecated
func (*Distance) ProtoMessage ¶
func (*Distance) ProtoMessage()
func (*Distance) ProtoReflect ¶
func (x *Distance) ProtoReflect() protoreflect.Message
type DistanceORM ¶
func (*DistanceORM) BeforeCreate ¶
func (distance *DistanceORM) BeforeCreate(tx *gorm.DB) (err error)
BeforeCreate - GORM-specific autogenerated helpers.
func (DistanceORM) TableName ¶
func (DistanceORM) TableName() string
TableName overrides the default tablename generated by GORM
type DistanceWithAfterToORM ¶
type DistanceWithAfterToORM interface {
AfterToORM(context.Context, *DistanceORM) error
}
DistanceAfterToORM called after default ToORM code
type DistanceWithAfterToPB ¶
DistanceAfterToPB called after default ToPB code
type DistanceWithBeforeToORM ¶
type DistanceWithBeforeToORM interface {
BeforeToORM(context.Context, *DistanceORM) error
}
DistanceBeforeToORM called before default ToORM code
type DistanceWithBeforeToPB ¶
DistanceBeforeToPB called before default ToPB code
type Hop ¶
type Hop struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` // @gotags: xml:"ttl,attr" TTL float32 `protobuf:"fixed32,11,opt,name=TTL,proto3" json:"TTL,omitempty" xml:"ttl,attr"` // @gotags: xml:"rtt,attr" RTT string `protobuf:"bytes,12,opt,name=RTT,proto3" json:"RTT,omitempty" xml:"rtt,attr"` // @gotags: xml:"ipaddr,attr" IPAddr string `protobuf:"bytes,13,opt,name=IPAddr,proto3" json:"IPAddr,omitempty" xml:"ipaddr,attr"` // @gotags: xml:"host,attr" Host string `protobuf:"bytes,14,opt,name=Host,proto3" json:"Host,omitempty" xml:"host,attr"` // contains filtered or unexported fields }
Hop - An IP hop to a host
func DefaultApplyFieldMaskHop ¶
func DefaultApplyFieldMaskHop(ctx context.Context, patchee *Hop, patcher *Hop, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Hop, error)
DefaultApplyFieldMaskHop patches an pbObject with patcher according to a field mask.
func DefaultCreateHop ¶
DefaultCreateHop executes a basic gorm create call
func DefaultListHop ¶
DefaultListHop executes a gorm list call
func DefaultPatchHop ¶
func DefaultPatchHop(ctx context.Context, in *Hop, updateMask *field_mask.FieldMask, db *gorm.DB) (*Hop, error)
DefaultPatchHop executes a basic gorm update call with patch behavior
func DefaultPatchSetHop ¶
func DefaultPatchSetHop(ctx context.Context, objects []*Hop, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Hop, error)
DefaultPatchSetHop executes a bulk gorm update call with patch behavior
func DefaultStrictUpdateHop ¶
DefaultStrictUpdateHop clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*Hop) Descriptor
deprecated
func (*Hop) ProtoMessage ¶
func (*Hop) ProtoMessage()
func (*Hop) ProtoReflect ¶
func (x *Hop) ProtoReflect() protoreflect.Message
type HopORM ¶
type HopORM struct { Host string IPAddr string Id string `gorm:"type:uuid;primary_key"` RTT string TTL float32 TraceId *string }
func (*HopORM) BeforeCreate ¶
BeforeCreate - GORM-specific autogenerated helpers.
type HopORMWithAfterCreate_ ¶
type HopORMWithAfterDelete_ ¶
type HopORMWithAfterListFind ¶
type HopORMWithAfterReadFind ¶
type HopORMWithBeforeCreate_ ¶
type HopORMWithBeforeDelete_ ¶
type HopWithAfterPatchSave ¶
type HopWithAfterToORM ¶
HopAfterToORM called after default ToORM code
type HopWithAfterToPB ¶
HopAfterToPB called after default ToPB code
type HopWithBeforePatchRead ¶
type HopWithBeforePatchSave ¶
type HopWithBeforeToORM ¶
HopBeforeToORM called before default ToORM code
type HopWithBeforeToPB ¶
HopBeforeToPB called before default ToPB code
type ICMPResponse ¶
type ICMPResponse struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` // Type - The type of response that we received, // determines how to interpret the .Code given // with it. Type ICMPType `protobuf:"varint,2,opt,name=Type,proto3,enum=network.ICMPType" json:"Type,omitempty"` // Code - The precise "status" given along with its .ICMPType. // The Go generated package also contains a map with many of // these codes and their corresponding descriptions. Code uint32 `protobuf:"varint,3,opt,name=Code,proto3" json:"Code,omitempty"` // contains filtered or unexported fields }
ICMPResponse - An ICMP response sent by a remote host. The TTL given by the response is stored in the Host object or the Scan Run object, but is not related to ICMP in anyway.
func DefaultApplyFieldMaskICMPResponse ¶
func DefaultApplyFieldMaskICMPResponse(ctx context.Context, patchee *ICMPResponse, patcher *ICMPResponse, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*ICMPResponse, error)
DefaultApplyFieldMaskICMPResponse patches an pbObject with patcher according to a field mask.
func DefaultCreateICMPResponse ¶
func DefaultCreateICMPResponse(ctx context.Context, in *ICMPResponse, db *gorm.DB) (*ICMPResponse, error)
DefaultCreateICMPResponse executes a basic gorm create call
func DefaultListICMPResponse ¶
DefaultListICMPResponse executes a gorm list call
func DefaultPatchICMPResponse ¶
func DefaultPatchICMPResponse(ctx context.Context, in *ICMPResponse, updateMask *field_mask.FieldMask, db *gorm.DB) (*ICMPResponse, error)
DefaultPatchICMPResponse executes a basic gorm update call with patch behavior
func DefaultPatchSetICMPResponse ¶
func DefaultPatchSetICMPResponse(ctx context.Context, objects []*ICMPResponse, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*ICMPResponse, error)
DefaultPatchSetICMPResponse executes a bulk gorm update call with patch behavior
func DefaultReadICMPResponse ¶
func DefaultReadICMPResponse(ctx context.Context, in *ICMPResponse, db *gorm.DB) (*ICMPResponse, error)
func DefaultStrictUpdateICMPResponse ¶
func DefaultStrictUpdateICMPResponse(ctx context.Context, in *ICMPResponse, db *gorm.DB) (*ICMPResponse, error)
DefaultStrictUpdateICMPResponse clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*ICMPResponse) Descriptor
deprecated
func (*ICMPResponse) Descriptor() ([]byte, []int)
Deprecated: Use ICMPResponse.ProtoReflect.Descriptor instead.
func (*ICMPResponse) GetCode ¶
func (x *ICMPResponse) GetCode() uint32
func (*ICMPResponse) GetId ¶
func (x *ICMPResponse) GetId() string
func (*ICMPResponse) GetType ¶
func (x *ICMPResponse) GetType() ICMPType
func (*ICMPResponse) ProtoMessage ¶
func (*ICMPResponse) ProtoMessage()
func (*ICMPResponse) ProtoReflect ¶
func (x *ICMPResponse) ProtoReflect() protoreflect.Message
func (*ICMPResponse) Reset ¶
func (x *ICMPResponse) Reset()
func (*ICMPResponse) String ¶
func (x *ICMPResponse) String() string
func (*ICMPResponse) ToORM ¶
func (m *ICMPResponse) ToORM(ctx context.Context) (ICMPResponseORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type ICMPResponseORM ¶
func (*ICMPResponseORM) BeforeCreate ¶
func (icmpresponse *ICMPResponseORM) BeforeCreate(tx *gorm.DB) (err error)
BeforeCreate - GORM-specific autogenerated helpers.
func (ICMPResponseORM) TableName ¶
func (ICMPResponseORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*ICMPResponseORM) ToPB ¶
func (m *ICMPResponseORM) ToPB(ctx context.Context) (ICMPResponse, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type ICMPResponseWithAfterPatchSave ¶
type ICMPResponseWithAfterPatchSave interface {
AfterPatchSave(context.Context, *ICMPResponse, *field_mask.FieldMask, *gorm.DB) error
}
type ICMPResponseWithAfterToORM ¶
type ICMPResponseWithAfterToORM interface {
AfterToORM(context.Context, *ICMPResponseORM) error
}
ICMPResponseAfterToORM called after default ToORM code
type ICMPResponseWithAfterToPB ¶
type ICMPResponseWithAfterToPB interface {
AfterToPB(context.Context, *ICMPResponse) error
}
ICMPResponseAfterToPB called after default ToPB code
type ICMPResponseWithBeforePatchApplyFieldMask ¶
type ICMPResponseWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *ICMPResponse, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type ICMPResponseWithBeforePatchRead ¶
type ICMPResponseWithBeforePatchRead interface {
BeforePatchRead(context.Context, *ICMPResponse, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type ICMPResponseWithBeforePatchSave ¶
type ICMPResponseWithBeforePatchSave interface {
BeforePatchSave(context.Context, *ICMPResponse, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type ICMPResponseWithBeforeToORM ¶
type ICMPResponseWithBeforeToORM interface {
BeforeToORM(context.Context, *ICMPResponseORM) error
}
ICMPResponseBeforeToORM called before default ToORM code
type ICMPResponseWithBeforeToPB ¶
type ICMPResponseWithBeforeToPB interface {
BeforeToPB(context.Context, *ICMPResponse) error
}
ICMPResponseBeforeToPB called before default ToPB code
type ICMPType ¶
type ICMPType int32
ICMPType - The general type of ICMP response received from a host.
const ( ICMPType_EchoReply ICMPType = 0 // 1 and 2 reserved ICMPType_DestinationUnreachable ICMPType = 3 ICMPType_SourceQuench ICMPType = 4 // Deprecated ICMPType_RedirectMessage ICMPType = 5 // 6 deprecated // 7 reserved ICMPType_EchoRequest ICMPType = 8 ICMPType_RouterAdvertisement ICMPType = 9 ICMPType_RouterSolicitation ICMPType = 10 ICMPType_TimeExceeded ICMPType = 11 ICMPType_BadIPHeader ICMPType = 12 ICMPType_Timestamp ICMPType = 13 ICMPType_TimestampReply ICMPType = 14 // 15-18 deprecated // 19,20-29 reserved // 30-39 deprecated ICMPType_Photuris ICMPType = 40 ICMPType_MobilityProto ICMPType = 41 // Experimental ICMPType_ExtendedEchoRequest ICMPType = 42 ICMPType_ExtendedEchoReply ICMPType = 43 // 44-252 reserved ICMPType_RFC3692Experiment1 ICMPType = 253 ICMPType_RFC3692Experiment2 ICMPType = 254 // 255 reserved )
func (ICMPType) Descriptor ¶
func (ICMPType) Descriptor() protoreflect.EnumDescriptor
func (ICMPType) EnumDescriptor
deprecated
func (ICMPType) Number ¶
func (x ICMPType) Number() protoreflect.EnumNumber
func (ICMPType) Type ¶
func (ICMPType) Type() protoreflect.EnumType
type IPIDSequence ¶
type IPIDSequence struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` // @gotags: xml:"index,attr" Index int32 `protobuf:"varint,10,opt,name=Index,proto3" json:"Index,omitempty" xml:"index,attr"` // @gotags: xml:"difficulty,attr" Difficulty string `protobuf:"bytes,11,opt,name=Difficulty,proto3" json:"Difficulty,omitempty" xml:"difficulty,attr"` // @gotags: xml:"values,attr" Values string `protobuf:"bytes,12,opt,name=Values,proto3" json:"Values,omitempty" xml:"values,attr"` // contains filtered or unexported fields }
IPIDSequence - Represents a detected IP ID Sequence
func DefaultApplyFieldMaskIPIDSequence ¶
func DefaultApplyFieldMaskIPIDSequence(ctx context.Context, patchee *IPIDSequence, patcher *IPIDSequence, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*IPIDSequence, error)
DefaultApplyFieldMaskIPIDSequence patches an pbObject with patcher according to a field mask.
func DefaultCreateIPIDSequence ¶
func DefaultCreateIPIDSequence(ctx context.Context, in *IPIDSequence, db *gorm.DB) (*IPIDSequence, error)
DefaultCreateIPIDSequence executes a basic gorm create call
func DefaultListIPIDSequence ¶
DefaultListIPIDSequence executes a gorm list call
func DefaultPatchIPIDSequence ¶
func DefaultPatchIPIDSequence(ctx context.Context, in *IPIDSequence, updateMask *field_mask.FieldMask, db *gorm.DB) (*IPIDSequence, error)
DefaultPatchIPIDSequence executes a basic gorm update call with patch behavior
func DefaultPatchSetIPIDSequence ¶
func DefaultPatchSetIPIDSequence(ctx context.Context, objects []*IPIDSequence, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*IPIDSequence, error)
DefaultPatchSetIPIDSequence executes a bulk gorm update call with patch behavior
func DefaultReadIPIDSequence ¶
func DefaultReadIPIDSequence(ctx context.Context, in *IPIDSequence, db *gorm.DB) (*IPIDSequence, error)
func DefaultStrictUpdateIPIDSequence ¶
func DefaultStrictUpdateIPIDSequence(ctx context.Context, in *IPIDSequence, db *gorm.DB) (*IPIDSequence, error)
DefaultStrictUpdateIPIDSequence clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*IPIDSequence) Descriptor
deprecated
func (*IPIDSequence) Descriptor() ([]byte, []int)
Deprecated: Use IPIDSequence.ProtoReflect.Descriptor instead.
func (*IPIDSequence) GetDifficulty ¶
func (x *IPIDSequence) GetDifficulty() string
func (*IPIDSequence) GetId ¶
func (x *IPIDSequence) GetId() string
func (*IPIDSequence) GetIndex ¶
func (x *IPIDSequence) GetIndex() int32
func (*IPIDSequence) GetValues ¶
func (x *IPIDSequence) GetValues() string
func (*IPIDSequence) ProtoMessage ¶
func (*IPIDSequence) ProtoMessage()
func (*IPIDSequence) ProtoReflect ¶
func (x *IPIDSequence) ProtoReflect() protoreflect.Message
func (*IPIDSequence) Reset ¶
func (x *IPIDSequence) Reset()
func (*IPIDSequence) String ¶
func (x *IPIDSequence) String() string
func (*IPIDSequence) ToORM ¶
func (m *IPIDSequence) ToORM(ctx context.Context) (IPIDSequenceORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type IPIDSequenceORM ¶
type IPIDSequenceORM struct { Difficulty string Id string `gorm:"type:uuid;primary_key"` Index int32 Values string }
func (*IPIDSequenceORM) BeforeCreate ¶
func (ipidsequence *IPIDSequenceORM) BeforeCreate(tx *gorm.DB) (err error)
BeforeCreate - GORM-specific autogenerated helpers.
func (IPIDSequenceORM) TableName ¶
func (IPIDSequenceORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*IPIDSequenceORM) ToPB ¶
func (m *IPIDSequenceORM) ToPB(ctx context.Context) (IPIDSequence, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type IPIDSequenceWithAfterPatchSave ¶
type IPIDSequenceWithAfterPatchSave interface {
AfterPatchSave(context.Context, *IPIDSequence, *field_mask.FieldMask, *gorm.DB) error
}
type IPIDSequenceWithAfterToORM ¶
type IPIDSequenceWithAfterToORM interface {
AfterToORM(context.Context, *IPIDSequenceORM) error
}
IPIDSequenceAfterToORM called after default ToORM code
type IPIDSequenceWithAfterToPB ¶
type IPIDSequenceWithAfterToPB interface {
AfterToPB(context.Context, *IPIDSequence) error
}
IPIDSequenceAfterToPB called after default ToPB code
type IPIDSequenceWithBeforePatchApplyFieldMask ¶
type IPIDSequenceWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *IPIDSequence, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type IPIDSequenceWithBeforePatchRead ¶
type IPIDSequenceWithBeforePatchRead interface {
BeforePatchRead(context.Context, *IPIDSequence, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type IPIDSequenceWithBeforePatchSave ¶
type IPIDSequenceWithBeforePatchSave interface {
BeforePatchSave(context.Context, *IPIDSequence, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type IPIDSequenceWithBeforeToORM ¶
type IPIDSequenceWithBeforeToORM interface {
BeforeToORM(context.Context, *IPIDSequenceORM) error
}
IPIDSequenceBeforeToORM called before default ToORM code
type IPIDSequenceWithBeforeToPB ¶
type IPIDSequenceWithBeforeToPB interface {
BeforeToPB(context.Context, *IPIDSequence) error
}
IPIDSequenceBeforeToPB called before default ToPB code
type Sequence ¶
type Sequence struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` // @gotags: xml:"class,attr" Class string `protobuf:"bytes,10,opt,name=Class,proto3" json:"Class,omitempty" xml:"class,attr"` // @gotags: xml:"values,attr" Values string `protobuf:"bytes,11,opt,name=Values,proto3" json:"Values,omitempty" xml:"values,attr"` // contains filtered or unexported fields }
Sequence - Represents a detected Sequence
func DefaultApplyFieldMaskSequence ¶
func DefaultApplyFieldMaskSequence(ctx context.Context, patchee *Sequence, patcher *Sequence, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Sequence, error)
DefaultApplyFieldMaskSequence patches an pbObject with patcher according to a field mask.
func DefaultCreateSequence ¶
DefaultCreateSequence executes a basic gorm create call
func DefaultListSequence ¶
DefaultListSequence executes a gorm list call
func DefaultPatchSequence ¶
func DefaultPatchSequence(ctx context.Context, in *Sequence, updateMask *field_mask.FieldMask, db *gorm.DB) (*Sequence, error)
DefaultPatchSequence executes a basic gorm update call with patch behavior
func DefaultPatchSetSequence ¶
func DefaultPatchSetSequence(ctx context.Context, objects []*Sequence, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Sequence, error)
DefaultPatchSetSequence executes a bulk gorm update call with patch behavior
func DefaultReadSequence ¶
func DefaultStrictUpdateSequence ¶
DefaultStrictUpdateSequence clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*Sequence) Descriptor
deprecated
func (*Sequence) ProtoMessage ¶
func (*Sequence) ProtoMessage()
func (*Sequence) ProtoReflect ¶
func (x *Sequence) ProtoReflect() protoreflect.Message
type SequenceORM ¶
func (*SequenceORM) BeforeCreate ¶
func (sequence *SequenceORM) BeforeCreate(tx *gorm.DB) (err error)
BeforeCreate - GORM-specific autogenerated helpers.
func (SequenceORM) TableName ¶
func (SequenceORM) TableName() string
TableName overrides the default tablename generated by GORM
type SequenceWithAfterToORM ¶
type SequenceWithAfterToORM interface {
AfterToORM(context.Context, *SequenceORM) error
}
SequenceAfterToORM called after default ToORM code
type SequenceWithAfterToPB ¶
SequenceAfterToPB called after default ToPB code
type SequenceWithBeforeToORM ¶
type SequenceWithBeforeToORM interface {
BeforeToORM(context.Context, *SequenceORM) error
}
SequenceBeforeToORM called before default ToORM code
type SequenceWithBeforeToPB ¶
SequenceBeforeToPB called before default ToPB code
type Service ¶
type Service struct { // @gotags: display:"ID" readonly:"true" strict:"yes" Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty" display:"ID" readonly:"true" strict:"yes"` // @gotags: display:"Created at" readonly:"true" xml:"-" CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty" display:"Created at" readonly:"true" xml:"-"` // @gotags: display:"Updated at" readonly:"true" xml:"-" UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty" display:"Updated at" readonly:"true" xml:"-"` // Nmap // @gotags: xml:"proto,attr" display:"Protocol" Protocol string `protobuf:"bytes,10,opt,name=Protocol,proto3" json:"Protocol,omitempty" xml:"proto,attr" display:"Protocol"` // @gotags: xml:"name,attr" display:"Name" Name string `protobuf:"bytes,11,opt,name=Name,proto3" json:"Name,omitempty" xml:"name,attr" display:"Name"` // @gotags: xml:"extrainfo,attr" display:"Extra Info" ExtraInfo string `protobuf:"bytes,12,opt,name=ExtraInfo,proto3" json:"ExtraInfo,omitempty" xml:"extrainfo,attr" display:"Extra Info"` // @gotags: xml:"devicetype,attr" display:"Device Type" DeviceType string `protobuf:"bytes,17,opt,name=DeviceType,proto3" json:"DeviceType,omitempty" xml:"devicetype,attr" display:"Device Type"` // @gotags: xml:"hostname,attr" Hostname string `protobuf:"bytes,18,opt,name=Hostname,proto3" json:"Hostname,omitempty" xml:"hostname,attr"` // @gotags: xml:"method,attr" display:"Method" Method string `protobuf:"bytes,19,opt,name=Method,proto3" json:"Method,omitempty" xml:"method,attr" display:"Method"` // @gotags: xml:"ostype,attr" display:"OS Type" OSType string `protobuf:"bytes,20,opt,name=OSType,proto3" json:"OSType,omitempty" xml:"ostype,attr" display:"OS Type"` // @gotags: xml:"product,attr" display:"Product" Product string `protobuf:"bytes,21,opt,name=Product,proto3" json:"Product,omitempty" xml:"product,attr" display:"Product"` // @gotags: xml:"rpcnum,attr" display:"RPC Number" RPCNum string `protobuf:"bytes,22,opt,name=RPCNum,proto3" json:"RPCNum,omitempty" xml:"rpcnum,attr" display:"RPC Number"` // @gotags: xml:"servicefp,attr" display:"Fingerprint" ServiceFP string `protobuf:"bytes,23,opt,name=ServiceFP,proto3" json:"ServiceFP,omitempty" xml:"servicefp,attr" display:"Fingerprint"` // @gotags: xml:"tunnel,attr" display:"Tunnel" Tunnel string `protobuf:"bytes,24,opt,name=Tunnel,proto3" json:"Tunnel,omitempty" xml:"tunnel,attr" display:"Tunnel"` // @gotags: xml:"lowver,attr" display:"Low Version" LowVersion string `protobuf:"bytes,25,opt,name=LowVersion,proto3" json:"LowVersion,omitempty" xml:"lowver,attr" display:"Low Version"` // @gotags: xml:"highver,attr" display:"High Version" HighVersion string `protobuf:"bytes,26,opt,name=HighVersion,proto3" json:"HighVersion,omitempty" xml:"highver,attr" display:"High Version"` // @gotags: xml:"version,attr" display:"Version" Version string `protobuf:"bytes,27,opt,name=Version,proto3" json:"Version,omitempty" xml:"version,attr" display:"Version"` // @gotags: xml:"conf,attr" Confidence int32 `protobuf:"varint,28,opt,name=Confidence,proto3" json:"Confidence,omitempty" xml:"conf,attr"` // @gotags: xml:"cpe" display:"CPEs" CPEs []string `protobuf:"bytes,29,rep,name=CPEs,proto3" json:"CPEs,omitempty" xml:"cpe" display:"CPEs"` // "Common Platform Enumeration":standardized way to name software apps, OSs and Hardware platforms // @gotags: display:"Authenticated" Authenticated bool `protobuf:"varint,30,opt,name=Authenticated,proto3" json:"Authenticated,omitempty" display:"Authenticated"` AdditionalInfo []*Service_AddedInfo `protobuf:"bytes,40,rep,name=AdditionalInfo,proto3" json:"AdditionalInfo,omitempty"` // contains filtered or unexported fields }
Service - A service running behind a port
func DefaultApplyFieldMaskService ¶
func DefaultApplyFieldMaskService(ctx context.Context, patchee *Service, patcher *Service, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Service, error)
DefaultApplyFieldMaskService patches an pbObject with patcher according to a field mask.
func DefaultCreateService ¶
DefaultCreateService executes a basic gorm create call
func DefaultListService ¶
DefaultListService executes a gorm list call
func DefaultPatchService ¶
func DefaultPatchService(ctx context.Context, in *Service, updateMask *field_mask.FieldMask, db *gorm.DB) (*Service, error)
DefaultPatchService executes a basic gorm update call with patch behavior
func DefaultPatchSetService ¶
func DefaultPatchSetService(ctx context.Context, objects []*Service, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Service, error)
DefaultPatchSetService executes a bulk gorm update call with patch behavior
func DefaultReadService ¶
func DefaultStrictUpdateService ¶
DefaultStrictUpdateService clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*Service) Descriptor
deprecated
func (*Service) GetAdditionalInfo ¶
func (x *Service) GetAdditionalInfo() []*Service_AddedInfo
func (*Service) GetAuthenticated ¶
func (*Service) GetConfidence ¶
func (*Service) GetCreatedAt ¶
func (x *Service) GetCreatedAt() *timestamppb.Timestamp
func (*Service) GetDeviceType ¶
func (*Service) GetExtraInfo ¶
func (*Service) GetHighVersion ¶
func (*Service) GetHostname ¶
func (*Service) GetLowVersion ¶
func (*Service) GetProduct ¶
func (*Service) GetProtocol ¶
func (*Service) GetServiceFP ¶
func (*Service) GetUpdatedAt ¶
func (x *Service) GetUpdatedAt() *timestamppb.Timestamp
func (*Service) GetVersion ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type ServiceORM ¶
type ServiceORM struct { Authenticated bool Confidence int32 CreatedAt *time.Time DeviceType string ExtraInfo string HighVersion string Hostname string Id string `gorm:"type:uuid;primary_key"` LowVersion string Method string Name string OSType string Product string Protocol string RPCNum string ServiceFP string Tunnel string UpdatedAt *time.Time Version string }
func (*ServiceORM) BeforeCreate ¶
func (service *ServiceORM) BeforeCreate(tx *gorm.DB) (err error)
BeforeCreate - GORM-specific autogenerated helpers.
func (ServiceORM) TableName ¶
func (ServiceORM) TableName() string
TableName overrides the default tablename generated by GORM
type ServiceWithAfterToORM ¶
type ServiceWithAfterToORM interface {
AfterToORM(context.Context, *ServiceORM) error
}
ServiceAfterToORM called after default ToORM code
type ServiceWithAfterToPB ¶
ServiceAfterToPB called after default ToPB code
type ServiceWithBeforeToORM ¶
type ServiceWithBeforeToORM interface {
BeforeToORM(context.Context, *ServiceORM) error
}
ServiceBeforeToORM called before default ToORM code
type ServiceWithBeforeToPB ¶
ServiceBeforeToPB called before default ToPB code
type Service_AddedInfo ¶
type Service_AddedInfo struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
Additional information grabbed from any method ran against the service. Because some HTTP scanners yield map[string]interface{}, we always store them as map[string]string.
func (*Service_AddedInfo) Descriptor
deprecated
func (*Service_AddedInfo) Descriptor() ([]byte, []int)
Deprecated: Use Service_AddedInfo.ProtoReflect.Descriptor instead.
func (*Service_AddedInfo) GetKey ¶
func (x *Service_AddedInfo) GetKey() string
func (*Service_AddedInfo) GetValue ¶
func (x *Service_AddedInfo) GetValue() string
func (*Service_AddedInfo) ProtoMessage ¶
func (*Service_AddedInfo) ProtoMessage()
func (*Service_AddedInfo) ProtoReflect ¶
func (x *Service_AddedInfo) ProtoReflect() protoreflect.Message
func (*Service_AddedInfo) Reset ¶
func (x *Service_AddedInfo) Reset()
func (*Service_AddedInfo) String ¶
func (x *Service_AddedInfo) String() string
type TCPSequence ¶
type TCPSequence struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` // @gotags: xml:"index,attr" Index int32 `protobuf:"varint,10,opt,name=Index,proto3" json:"Index,omitempty" xml:"index,attr"` // @gotags: xml:"difficulty,attr" Difficulty string `protobuf:"bytes,11,opt,name=Difficulty,proto3" json:"Difficulty,omitempty" xml:"difficulty,attr"` // @gotags: xml:"values,attr" Values string `protobuf:"bytes,12,opt,name=Values,proto3" json:"Values,omitempty" xml:"values,attr"` // contains filtered or unexported fields }
TCPSequence - Represents a detected TCP Sequence
func DefaultApplyFieldMaskTCPSequence ¶
func DefaultApplyFieldMaskTCPSequence(ctx context.Context, patchee *TCPSequence, patcher *TCPSequence, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*TCPSequence, error)
DefaultApplyFieldMaskTCPSequence patches an pbObject with patcher according to a field mask.
func DefaultCreateTCPSequence ¶
func DefaultCreateTCPSequence(ctx context.Context, in *TCPSequence, db *gorm.DB) (*TCPSequence, error)
DefaultCreateTCPSequence executes a basic gorm create call
func DefaultListTCPSequence ¶
DefaultListTCPSequence executes a gorm list call
func DefaultPatchSetTCPSequence ¶
func DefaultPatchSetTCPSequence(ctx context.Context, objects []*TCPSequence, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*TCPSequence, error)
DefaultPatchSetTCPSequence executes a bulk gorm update call with patch behavior
func DefaultPatchTCPSequence ¶
func DefaultPatchTCPSequence(ctx context.Context, in *TCPSequence, updateMask *field_mask.FieldMask, db *gorm.DB) (*TCPSequence, error)
DefaultPatchTCPSequence executes a basic gorm update call with patch behavior
func DefaultReadTCPSequence ¶
func DefaultReadTCPSequence(ctx context.Context, in *TCPSequence, db *gorm.DB) (*TCPSequence, error)
func DefaultStrictUpdateTCPSequence ¶
func DefaultStrictUpdateTCPSequence(ctx context.Context, in *TCPSequence, db *gorm.DB) (*TCPSequence, error)
DefaultStrictUpdateTCPSequence clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TCPSequence) Descriptor
deprecated
func (*TCPSequence) Descriptor() ([]byte, []int)
Deprecated: Use TCPSequence.ProtoReflect.Descriptor instead.
func (*TCPSequence) GetDifficulty ¶
func (x *TCPSequence) GetDifficulty() string
func (*TCPSequence) GetId ¶
func (x *TCPSequence) GetId() string
func (*TCPSequence) GetIndex ¶
func (x *TCPSequence) GetIndex() int32
func (*TCPSequence) GetValues ¶
func (x *TCPSequence) GetValues() string
func (*TCPSequence) ProtoMessage ¶
func (*TCPSequence) ProtoMessage()
func (*TCPSequence) ProtoReflect ¶
func (x *TCPSequence) ProtoReflect() protoreflect.Message
func (*TCPSequence) Reset ¶
func (x *TCPSequence) Reset()
func (*TCPSequence) String ¶
func (x *TCPSequence) String() string
func (*TCPSequence) ToORM ¶
func (m *TCPSequence) ToORM(ctx context.Context) (TCPSequenceORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TCPSequenceORM ¶
type TCPSequenceORM struct { Difficulty string Id string `gorm:"type:uuid;primary_key"` Index int32 Values string }
func (*TCPSequenceORM) BeforeCreate ¶
func (tcpsequence *TCPSequenceORM) BeforeCreate(tx *gorm.DB) (err error)
BeforeCreate - GORM-specific autogenerated helpers.
func (TCPSequenceORM) TableName ¶
func (TCPSequenceORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TCPSequenceORM) ToPB ¶
func (m *TCPSequenceORM) ToPB(ctx context.Context) (TCPSequence, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TCPSequenceWithAfterPatchSave ¶
type TCPSequenceWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TCPSequence, *field_mask.FieldMask, *gorm.DB) error
}
type TCPSequenceWithAfterToORM ¶
type TCPSequenceWithAfterToORM interface {
AfterToORM(context.Context, *TCPSequenceORM) error
}
TCPSequenceAfterToORM called after default ToORM code
type TCPSequenceWithAfterToPB ¶
type TCPSequenceWithAfterToPB interface {
AfterToPB(context.Context, *TCPSequence) error
}
TCPSequenceAfterToPB called after default ToPB code
type TCPSequenceWithBeforePatchApplyFieldMask ¶
type TCPSequenceWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TCPSequence, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TCPSequenceWithBeforePatchRead ¶
type TCPSequenceWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TCPSequence, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TCPSequenceWithBeforePatchSave ¶
type TCPSequenceWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TCPSequence, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TCPSequenceWithBeforeToORM ¶
type TCPSequenceWithBeforeToORM interface {
BeforeToORM(context.Context, *TCPSequenceORM) error
}
TCPSequenceBeforeToORM called before default ToORM code
type TCPSequenceWithBeforeToPB ¶
type TCPSequenceWithBeforeToPB interface {
BeforeToPB(context.Context, *TCPSequence) error
}
TCPSequenceBeforeToPB called before default ToPB code
type TCPTSSequence ¶
type TCPTSSequence struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` // @gotags: xml:"index,attr" Index int32 `protobuf:"varint,10,opt,name=Index,proto3" json:"Index,omitempty" xml:"index,attr"` // @gotags: xml:"difficulty,attr" Difficulty string `protobuf:"bytes,11,opt,name=Difficulty,proto3" json:"Difficulty,omitempty" xml:"difficulty,attr"` // @gotags: xml:"values,attr" Values string `protobuf:"bytes,12,opt,name=Values,proto3" json:"Values,omitempty" xml:"values,attr"` // contains filtered or unexported fields }
TCPTSSequence - Represents a detected TCP TS Sequence
func DefaultApplyFieldMaskTCPTSSequence ¶
func DefaultApplyFieldMaskTCPTSSequence(ctx context.Context, patchee *TCPTSSequence, patcher *TCPTSSequence, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*TCPTSSequence, error)
DefaultApplyFieldMaskTCPTSSequence patches an pbObject with patcher according to a field mask.
func DefaultCreateTCPTSSequence ¶
func DefaultCreateTCPTSSequence(ctx context.Context, in *TCPTSSequence, db *gorm.DB) (*TCPTSSequence, error)
DefaultCreateTCPTSSequence executes a basic gorm create call
func DefaultListTCPTSSequence ¶
DefaultListTCPTSSequence executes a gorm list call
func DefaultPatchSetTCPTSSequence ¶
func DefaultPatchSetTCPTSSequence(ctx context.Context, objects []*TCPTSSequence, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*TCPTSSequence, error)
DefaultPatchSetTCPTSSequence executes a bulk gorm update call with patch behavior
func DefaultPatchTCPTSSequence ¶
func DefaultPatchTCPTSSequence(ctx context.Context, in *TCPTSSequence, updateMask *field_mask.FieldMask, db *gorm.DB) (*TCPTSSequence, error)
DefaultPatchTCPTSSequence executes a basic gorm update call with patch behavior
func DefaultReadTCPTSSequence ¶
func DefaultReadTCPTSSequence(ctx context.Context, in *TCPTSSequence, db *gorm.DB) (*TCPTSSequence, error)
func DefaultStrictUpdateTCPTSSequence ¶
func DefaultStrictUpdateTCPTSSequence(ctx context.Context, in *TCPTSSequence, db *gorm.DB) (*TCPTSSequence, error)
DefaultStrictUpdateTCPTSSequence clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*TCPTSSequence) Descriptor
deprecated
func (*TCPTSSequence) Descriptor() ([]byte, []int)
Deprecated: Use TCPTSSequence.ProtoReflect.Descriptor instead.
func (*TCPTSSequence) GetDifficulty ¶
func (x *TCPTSSequence) GetDifficulty() string
func (*TCPTSSequence) GetId ¶
func (x *TCPTSSequence) GetId() string
func (*TCPTSSequence) GetIndex ¶
func (x *TCPTSSequence) GetIndex() int32
func (*TCPTSSequence) GetValues ¶
func (x *TCPTSSequence) GetValues() string
func (*TCPTSSequence) ProtoMessage ¶
func (*TCPTSSequence) ProtoMessage()
func (*TCPTSSequence) ProtoReflect ¶
func (x *TCPTSSequence) ProtoReflect() protoreflect.Message
func (*TCPTSSequence) Reset ¶
func (x *TCPTSSequence) Reset()
func (*TCPTSSequence) String ¶
func (x *TCPTSSequence) String() string
func (*TCPTSSequence) ToORM ¶
func (m *TCPTSSequence) ToORM(ctx context.Context) (TCPTSSequenceORM, error)
ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object
type TCPTSSequenceORM ¶
type TCPTSSequenceORM struct { Difficulty string Id string `gorm:"type:uuid;primary_key"` Index int32 Values string }
func (*TCPTSSequenceORM) BeforeCreate ¶
func (tcptssequence *TCPTSSequenceORM) BeforeCreate(tx *gorm.DB) (err error)
BeforeCreate - GORM-specific autogenerated helpers.
func (TCPTSSequenceORM) TableName ¶
func (TCPTSSequenceORM) TableName() string
TableName overrides the default tablename generated by GORM
func (*TCPTSSequenceORM) ToPB ¶
func (m *TCPTSSequenceORM) ToPB(ctx context.Context) (TCPTSSequence, error)
ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object
type TCPTSSequenceWithAfterPatchSave ¶
type TCPTSSequenceWithAfterPatchSave interface {
AfterPatchSave(context.Context, *TCPTSSequence, *field_mask.FieldMask, *gorm.DB) error
}
type TCPTSSequenceWithAfterToORM ¶
type TCPTSSequenceWithAfterToORM interface {
AfterToORM(context.Context, *TCPTSSequenceORM) error
}
TCPTSSequenceAfterToORM called after default ToORM code
type TCPTSSequenceWithAfterToPB ¶
type TCPTSSequenceWithAfterToPB interface {
AfterToPB(context.Context, *TCPTSSequence) error
}
TCPTSSequenceAfterToPB called after default ToPB code
type TCPTSSequenceWithBeforePatchApplyFieldMask ¶
type TCPTSSequenceWithBeforePatchApplyFieldMask interface {
BeforePatchApplyFieldMask(context.Context, *TCPTSSequence, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TCPTSSequenceWithBeforePatchRead ¶
type TCPTSSequenceWithBeforePatchRead interface {
BeforePatchRead(context.Context, *TCPTSSequence, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TCPTSSequenceWithBeforePatchSave ¶
type TCPTSSequenceWithBeforePatchSave interface {
BeforePatchSave(context.Context, *TCPTSSequence, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}
type TCPTSSequenceWithBeforeToORM ¶
type TCPTSSequenceWithBeforeToORM interface {
BeforeToORM(context.Context, *TCPTSSequenceORM) error
}
TCPTSSequenceBeforeToORM called before default ToORM code
type TCPTSSequenceWithBeforeToPB ¶
type TCPTSSequenceWithBeforeToPB interface {
BeforeToPB(context.Context, *TCPTSSequence) error
}
TCPTSSequenceBeforeToPB called before default ToPB code
type Times ¶
type Times struct { // @gotags: display:"ID" readonly:"true" Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty" display:"ID" readonly:"true"` // @gotags: xml:"srtt,attr" SRTT string `protobuf:"bytes,10,opt,name=SRTT,proto3" json:"SRTT,omitempty" xml:"srtt,attr"` // @gotags: xml:"rttvar,attr" RTT string `protobuf:"bytes,11,opt,name=RTT,proto3" json:"RTT,omitempty" xml:"rttvar,attr"` // @gotags: xml:"to,attr" To string `protobuf:"bytes,12,opt,name=To,proto3" json:"To,omitempty" xml:"to,attr"` // contains filtered or unexported fields }
Times - Contains time statistics for a Nmap scan
func DefaultApplyFieldMaskTimes ¶
func DefaultApplyFieldMaskTimes(ctx context.Context, patchee *Times, patcher *Times, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Times, error)
DefaultApplyFieldMaskTimes patches an pbObject with patcher according to a field mask.
func DefaultCreateTimes ¶
DefaultCreateTimes executes a basic gorm create call
func DefaultListTimes ¶
DefaultListTimes executes a gorm list call
func DefaultPatchSetTimes ¶
func DefaultPatchSetTimes(ctx context.Context, objects []*Times, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Times, error)
DefaultPatchSetTimes executes a bulk gorm update call with patch behavior
func DefaultPatchTimes ¶
func DefaultPatchTimes(ctx context.Context, in *Times, updateMask *field_mask.FieldMask, db *gorm.DB) (*Times, error)
DefaultPatchTimes executes a basic gorm update call with patch behavior
func DefaultReadTimes ¶
func DefaultStrictUpdateTimes ¶
DefaultStrictUpdateTimes clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*Times) Descriptor
deprecated
func (*Times) ProtoMessage ¶
func (*Times) ProtoMessage()
func (*Times) ProtoReflect ¶
func (x *Times) ProtoReflect() protoreflect.Message
type TimesORM ¶
func (*TimesORM) BeforeCreate ¶
BeforeCreate - GORM-specific autogenerated helpers.
type TimesWithAfterPatchSave ¶
type TimesWithAfterToORM ¶
TimesAfterToORM called after default ToORM code
type TimesWithAfterToPB ¶
TimesAfterToPB called after default ToPB code
type TimesWithBeforeToORM ¶
TimesBeforeToORM called before default ToORM code
type TimesWithBeforeToPB ¶
TimesBeforeToPB called before default ToPB code
type Trace ¶
type Trace struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` // @gotags: xml:"proto,attr" Protocol string `protobuf:"bytes,10,opt,name=Protocol,proto3" json:"Protocol,omitempty" xml:"proto,attr"` // @gotags: xml:"port,attr" Port int32 `protobuf:"varint,11,opt,name=Port,proto3" json:"Port,omitempty" xml:"port,attr"` // @gotags: xml:"hop" Hops []*Hop `protobuf:"bytes,12,rep,name=Hops,proto3" json:"Hops,omitempty" xml:"hop"` // contains filtered or unexported fields }
Trace Represents the trace to a host, including the hops
func DefaultApplyFieldMaskTrace ¶
func DefaultApplyFieldMaskTrace(ctx context.Context, patchee *Trace, patcher *Trace, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Trace, error)
DefaultApplyFieldMaskTrace patches an pbObject with patcher according to a field mask.
func DefaultCreateTrace ¶
DefaultCreateTrace executes a basic gorm create call
func DefaultListTrace ¶
DefaultListTrace executes a gorm list call
func DefaultPatchSetTrace ¶
func DefaultPatchSetTrace(ctx context.Context, objects []*Trace, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Trace, error)
DefaultPatchSetTrace executes a bulk gorm update call with patch behavior
func DefaultPatchTrace ¶
func DefaultPatchTrace(ctx context.Context, in *Trace, updateMask *field_mask.FieldMask, db *gorm.DB) (*Trace, error)
DefaultPatchTrace executes a basic gorm update call with patch behavior
func DefaultReadTrace ¶
func DefaultStrictUpdateTrace ¶
DefaultStrictUpdateTrace clears / replaces / appends first level 1:many children and then executes a gorm update call
func (*Trace) Descriptor
deprecated
func (*Trace) GetProtocol ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect ¶
func (x *Trace) ProtoReflect() protoreflect.Message
type TraceORM ¶
type TraceORM struct { Hops []*HopORM `gorm:"foreignkey:TraceId;association_foreignkey:Id"` Id string `gorm:"type:uuid;primary_key"` Port int32 Protocol string }
func (*TraceORM) BeforeCreate ¶
BeforeCreate - GORM-specific autogenerated helpers.
type TraceWithAfterPatchSave ¶
type TraceWithAfterToORM ¶
TraceAfterToORM called after default ToORM code
type TraceWithAfterToPB ¶
TraceAfterToPB called after default ToPB code
type TraceWithBeforeToORM ¶
TraceBeforeToORM called before default ToORM code