host

package
v0.0.0-...-0f6999a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2023 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_host_host_proto protoreflect.FileDescriptor
View Source
var File_host_os_proto protoreflect.FileDescriptor
View Source
var File_host_port_proto protoreflect.FileDescriptor
View Source
var File_host_user_proto protoreflect.FileDescriptor

Functions

func DefaultDeleteExtraPort

func DefaultDeleteExtraPort(ctx context.Context, in *ExtraPort, db *gorm.DB) error

func DefaultDeleteExtraPortSet

func DefaultDeleteExtraPortSet(ctx context.Context, in []*ExtraPort, db *gorm.DB) error

func DefaultDeleteGroup

func DefaultDeleteGroup(ctx context.Context, in *Group, db *gorm.DB) error

func DefaultDeleteGroupSet

func DefaultDeleteGroupSet(ctx context.Context, in []*Group, db *gorm.DB) error

func DefaultDeleteHost

func DefaultDeleteHost(ctx context.Context, in *Host, db *gorm.DB) error

func DefaultDeleteHostSet

func DefaultDeleteHostSet(ctx context.Context, in []*Host, db *gorm.DB) error

func DefaultDeleteHostname

func DefaultDeleteHostname(ctx context.Context, in *Hostname, db *gorm.DB) error

func DefaultDeleteHostnameSet

func DefaultDeleteHostnameSet(ctx context.Context, in []*Hostname, db *gorm.DB) error

func DefaultDeleteOS

func DefaultDeleteOS(ctx context.Context, in *OS, db *gorm.DB) error

func DefaultDeleteOSClass

func DefaultDeleteOSClass(ctx context.Context, in *OSClass, db *gorm.DB) error

func DefaultDeleteOSClassSet

func DefaultDeleteOSClassSet(ctx context.Context, in []*OSClass, db *gorm.DB) error

func DefaultDeleteOSFingerprint

func DefaultDeleteOSFingerprint(ctx context.Context, in *OSFingerprint, db *gorm.DB) error

func DefaultDeleteOSFingerprintSet

func DefaultDeleteOSFingerprintSet(ctx context.Context, in []*OSFingerprint, db *gorm.DB) error

func DefaultDeleteOSMatch

func DefaultDeleteOSMatch(ctx context.Context, in *OSMatch, db *gorm.DB) error

func DefaultDeleteOSMatchSet

func DefaultDeleteOSMatchSet(ctx context.Context, in []*OSMatch, db *gorm.DB) error

func DefaultDeleteOSSet

func DefaultDeleteOSSet(ctx context.Context, in []*OS, db *gorm.DB) error

func DefaultDeletePort

func DefaultDeletePort(ctx context.Context, in *Port, db *gorm.DB) error

func DefaultDeletePortSet

func DefaultDeletePortSet(ctx context.Context, in []*Port, db *gorm.DB) error

func DefaultDeletePortUsed

func DefaultDeletePortUsed(ctx context.Context, in *PortUsed, db *gorm.DB) error

func DefaultDeletePortUsedSet

func DefaultDeletePortUsedSet(ctx context.Context, in []*PortUsed, db *gorm.DB) error

func DefaultDeleteReason

func DefaultDeleteReason(ctx context.Context, in *Reason, db *gorm.DB) error

func DefaultDeleteReasonSet

func DefaultDeleteReasonSet(ctx context.Context, in []*Reason, db *gorm.DB) error

func DefaultDeleteState

func DefaultDeleteState(ctx context.Context, in *State, db *gorm.DB) error

func DefaultDeleteStateSet

func DefaultDeleteStateSet(ctx context.Context, in []*State, db *gorm.DB) error

func DefaultDeleteStatus

func DefaultDeleteStatus(ctx context.Context, in *Status, db *gorm.DB) error

func DefaultDeleteStatusSet

func DefaultDeleteStatusSet(ctx context.Context, in []*Status, db *gorm.DB) error

func DefaultDeleteUptime

func DefaultDeleteUptime(ctx context.Context, in *Uptime, db *gorm.DB) error

func DefaultDeleteUptimeSet

func DefaultDeleteUptimeSet(ctx context.Context, in []*Uptime, db *gorm.DB) error

func DefaultDeleteUser

func DefaultDeleteUser(ctx context.Context, in *User, db *gorm.DB) error

func DefaultDeleteUserSet

func DefaultDeleteUserSet(ctx context.Context, in []*User, db *gorm.DB) error

Types

type ExtraPort

type ExtraPort struct {
	Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @gotags: xml:"count"
	Count int32 `protobuf:"varint,10,opt,name=Count,proto3" json:"Count,omitempty" xml:"count"`
	// @gotags: xml:"extrareasons"
	Reasons []*Reason `protobuf:"bytes,11,rep,name=Reasons,proto3" json:"Reasons,omitempty" xml:"extrareasons"`
	// contains filtered or unexported fields
}

ExtraPort - Contains the information about the closed and filtered ports

func DefaultApplyFieldMaskExtraPort

func DefaultApplyFieldMaskExtraPort(ctx context.Context, patchee *ExtraPort, patcher *ExtraPort, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*ExtraPort, error)

DefaultApplyFieldMaskExtraPort patches an pbObject with patcher according to a field mask.

func DefaultCreateExtraPort

func DefaultCreateExtraPort(ctx context.Context, in *ExtraPort, db *gorm.DB) (*ExtraPort, error)

DefaultCreateExtraPort executes a basic gorm create call

func DefaultListExtraPort

func DefaultListExtraPort(ctx context.Context, db *gorm.DB) ([]*ExtraPort, error)

DefaultListExtraPort executes a gorm list call

func DefaultPatchExtraPort

func DefaultPatchExtraPort(ctx context.Context, in *ExtraPort, updateMask *field_mask.FieldMask, db *gorm.DB) (*ExtraPort, error)

DefaultPatchExtraPort executes a basic gorm update call with patch behavior

func DefaultPatchSetExtraPort

func DefaultPatchSetExtraPort(ctx context.Context, objects []*ExtraPort, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*ExtraPort, error)

DefaultPatchSetExtraPort executes a bulk gorm update call with patch behavior

func DefaultReadExtraPort

func DefaultReadExtraPort(ctx context.Context, in *ExtraPort, db *gorm.DB) (*ExtraPort, error)

func DefaultStrictUpdateExtraPort

func DefaultStrictUpdateExtraPort(ctx context.Context, in *ExtraPort, db *gorm.DB) (*ExtraPort, error)

DefaultStrictUpdateExtraPort clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*ExtraPort) Descriptor deprecated

func (*ExtraPort) Descriptor() ([]byte, []int)

Deprecated: Use ExtraPort.ProtoReflect.Descriptor instead.

func (*ExtraPort) GetCount

func (x *ExtraPort) GetCount() int32

func (*ExtraPort) GetId

func (x *ExtraPort) GetId() string

func (*ExtraPort) GetReasons

func (x *ExtraPort) GetReasons() []*Reason

func (*ExtraPort) ProtoMessage

func (*ExtraPort) ProtoMessage()

func (*ExtraPort) ProtoReflect

func (x *ExtraPort) ProtoReflect() protoreflect.Message

func (*ExtraPort) Reset

func (x *ExtraPort) Reset()

func (*ExtraPort) String

func (x *ExtraPort) String() string

func (*ExtraPort) ToORM

func (m *ExtraPort) ToORM(ctx context.Context) (ExtraPortORM, 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 ExtraPortORM

type ExtraPortORM struct {
	Count   int32
	HostId  *string
	Id      string       `gorm:"type:uuid;primary_key"`
	Reasons []*ReasonORM `gorm:"foreignkey:ExtraPortId;association_foreignkey:Id"`
}

func (*ExtraPortORM) BeforeCreate

func (extraport *ExtraPortORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (ExtraPortORM) TableName

func (ExtraPortORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*ExtraPortORM) ToPB

func (m *ExtraPortORM) ToPB(ctx context.Context) (ExtraPort, 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 ExtraPortORMWithAfterCreate_

type ExtraPortORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type ExtraPortORMWithAfterDeleteSet

type ExtraPortORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*ExtraPort, *gorm.DB) error
}

type ExtraPortORMWithAfterDelete_

type ExtraPortORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type ExtraPortORMWithAfterListFind

type ExtraPortORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]ExtraPortORM) error
}

type ExtraPortORMWithAfterReadFind

type ExtraPortORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type ExtraPortORMWithAfterStrictUpdateSave

type ExtraPortORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type ExtraPortORMWithBeforeCreate_

type ExtraPortORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortORMWithBeforeDeleteSet

type ExtraPortORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*ExtraPort, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortORMWithBeforeDelete_

type ExtraPortORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortORMWithBeforeListApplyQuery

type ExtraPortORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortORMWithBeforeListFind

type ExtraPortORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortORMWithBeforeReadApplyQuery

type ExtraPortORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortORMWithBeforeReadFind

type ExtraPortORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortORMWithBeforeStrictUpdateCleanup

type ExtraPortORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortORMWithBeforeStrictUpdateSave

type ExtraPortORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortWithAfterPatchSave

type ExtraPortWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *ExtraPort, *field_mask.FieldMask, *gorm.DB) error
}

type ExtraPortWithAfterToORM

type ExtraPortWithAfterToORM interface {
	AfterToORM(context.Context, *ExtraPortORM) error
}

ExtraPortAfterToORM called after default ToORM code

type ExtraPortWithAfterToPB

type ExtraPortWithAfterToPB interface {
	AfterToPB(context.Context, *ExtraPort) error
}

ExtraPortAfterToPB called after default ToPB code

type ExtraPortWithBeforePatchApplyFieldMask

type ExtraPortWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *ExtraPort, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortWithBeforePatchRead

type ExtraPortWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *ExtraPort, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortWithBeforePatchSave

type ExtraPortWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *ExtraPort, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type ExtraPortWithBeforeToORM

type ExtraPortWithBeforeToORM interface {
	BeforeToORM(context.Context, *ExtraPortORM) error
}

ExtraPortBeforeToORM called before default ToORM code

type ExtraPortWithBeforeToPB

type ExtraPortWithBeforeToPB interface {
	BeforeToPB(context.Context, *ExtraPort) error
}

ExtraPortBeforeToPB called before default ToPB code

type Group

type Group struct {

	// @gotags: display:"ID" hidden:"true" strict:"yes"
	Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty" display:"ID" hidden:"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:"-"`
	// @gotags: display:"Name"
	Name string `protobuf:"bytes,10,opt,name=Name,proto3" json:"Name,omitempty" display:"Name"`
	// @gotags: display:"Group ID"
	GID     int32   `protobuf:"varint,11,opt,name=GID,proto3" json:"GID,omitempty" display:"Group ID"`
	Members []*User `protobuf:"bytes,12,rep,name=Members,proto3" json:"Members,omitempty"`
	// contains filtered or unexported fields
}

Group - An operating-system group of users

func DefaultApplyFieldMaskGroup

func DefaultApplyFieldMaskGroup(ctx context.Context, patchee *Group, patcher *Group, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Group, error)

DefaultApplyFieldMaskGroup patches an pbObject with patcher according to a field mask.

func DefaultCreateGroup

func DefaultCreateGroup(ctx context.Context, in *Group, db *gorm.DB) (*Group, error)

DefaultCreateGroup executes a basic gorm create call

func DefaultListGroup

func DefaultListGroup(ctx context.Context, db *gorm.DB) ([]*Group, error)

DefaultListGroup executes a gorm list call

func DefaultPatchGroup

func DefaultPatchGroup(ctx context.Context, in *Group, updateMask *field_mask.FieldMask, db *gorm.DB) (*Group, error)

DefaultPatchGroup executes a basic gorm update call with patch behavior

func DefaultPatchSetGroup

func DefaultPatchSetGroup(ctx context.Context, objects []*Group, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Group, error)

DefaultPatchSetGroup executes a bulk gorm update call with patch behavior

func DefaultReadGroup

func DefaultReadGroup(ctx context.Context, in *Group, db *gorm.DB) (*Group, error)

func DefaultStrictUpdateGroup

func DefaultStrictUpdateGroup(ctx context.Context, in *Group, db *gorm.DB) (*Group, error)

DefaultStrictUpdateGroup clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*Group) Descriptor deprecated

func (*Group) Descriptor() ([]byte, []int)

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetCreatedAt

func (x *Group) GetCreatedAt() *timestamppb.Timestamp

func (*Group) GetGID

func (x *Group) GetGID() int32

func (*Group) GetId

func (x *Group) GetId() string

func (*Group) GetMembers

func (x *Group) GetMembers() []*User

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetUpdatedAt

func (x *Group) GetUpdatedAt() *timestamppb.Timestamp

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

func (*Group) ToORM

func (m *Group) ToORM(ctx context.Context) (GroupORM, 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 GroupORM

type GroupORM struct {
	CreatedAt *time.Time
	GID       int32
	Id        string     `gorm:"type:uuid;primary_key"`
	Members   []*UserORM `` /* 137-byte string literal not displayed */
	Name      string
	UpdatedAt *time.Time
}

func (*GroupORM) BeforeCreate

func (group *GroupORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (GroupORM) TableName

func (GroupORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*GroupORM) ToPB

func (m *GroupORM) ToPB(ctx context.Context) (Group, 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 GroupORMWithAfterCreate_

type GroupORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type GroupORMWithAfterDeleteSet

type GroupORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Group, *gorm.DB) error
}

type GroupORMWithAfterDelete_

type GroupORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type GroupORMWithAfterListFind

type GroupORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]GroupORM) error
}

type GroupORMWithAfterReadFind

type GroupORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type GroupORMWithAfterStrictUpdateSave

type GroupORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type GroupORMWithBeforeCreate_

type GroupORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type GroupORMWithBeforeDeleteSet

type GroupORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Group, *gorm.DB) (*gorm.DB, error)
}

type GroupORMWithBeforeDelete_

type GroupORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type GroupORMWithBeforeListApplyQuery

type GroupORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type GroupORMWithBeforeListFind

type GroupORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type GroupORMWithBeforeReadApplyQuery

type GroupORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type GroupORMWithBeforeReadFind

type GroupORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type GroupORMWithBeforeStrictUpdateCleanup

type GroupORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type GroupORMWithBeforeStrictUpdateSave

type GroupORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type GroupWithAfterPatchSave

type GroupWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Group, *field_mask.FieldMask, *gorm.DB) error
}

type GroupWithAfterToORM

type GroupWithAfterToORM interface {
	AfterToORM(context.Context, *GroupORM) error
}

GroupAfterToORM called after default ToORM code

type GroupWithAfterToPB

type GroupWithAfterToPB interface {
	AfterToPB(context.Context, *Group) error
}

GroupAfterToPB called after default ToPB code

type GroupWithBeforePatchApplyFieldMask

type GroupWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Group, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type GroupWithBeforePatchRead

type GroupWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Group, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type GroupWithBeforePatchSave

type GroupWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Group, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type GroupWithBeforeToORM

type GroupWithBeforeToORM interface {
	BeforeToORM(context.Context, *GroupORM) error
}

GroupBeforeToORM called before default ToORM code

type GroupWithBeforeToPB

type GroupWithBeforeToPB interface {
	BeforeToPB(context.Context, *Group) error
}

GroupBeforeToPB called before default ToPB code

type Host

type Host struct {

	// @gotags: display:"ID" readonly:"true" strict:"yes"
	// int64 Id = 1 [(gorm.field).tag = {primary_key: true}];
	// string Id = 1 [(gorm.field).tag = {type:"uuid" primary_key: true }];
	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:"-"`
	// General ------------------------------------
	// @gotags: display:"MAC Address"
	MAC string `protobuf:"bytes,10,opt,name=MAC,proto3" json:"MAC,omitempty" display:"MAC Address"`
	// @gotags: display:"Comm"
	Comm string `protobuf:"bytes,11,opt,name=Comm,proto3" json:"Comm,omitempty" display:"Comm"`
	// @gotags: display:"OS Name"
	OSName string `protobuf:"bytes,12,opt,name=OSName,proto3" json:"OSName,omitempty" display:"OS Name"`
	// @gotags: display:"OS Flavor"
	OSFlavor string `protobuf:"bytes,13,opt,name=OSFlavor,proto3" json:"OSFlavor,omitempty" display:"OS Flavor"`
	// @gotags: display:"OS Service Pack"
	OSSp string `protobuf:"bytes,14,opt,name=OSSp,proto3" json:"OSSp,omitempty" display:"OS Service Pack"`
	// @gotags: display:"OS Language"
	OSLang string `protobuf:"bytes,15,opt,name=OSLang,proto3" json:"OSLang,omitempty" display:"OS Language"`
	// @gotags: display:"OS Family"
	OSFamily string `protobuf:"bytes,16,opt,name=OSFamily,proto3" json:"OSFamily,omitempty" display:"OS Family"`
	// @gotags: display:"CPU Arch"
	Arch string `protobuf:"bytes,17,opt,name=Arch,proto3" json:"Arch,omitempty" display:"CPU Arch"`
	// @gotags: display:"Purpose"
	Purpose string `protobuf:"bytes,18,opt,name=Purpose,proto3" json:"Purpose,omitempty" display:"Purpose"`
	// @gotags: display:"Info"
	Info string `protobuf:"bytes,19,opt,name=Info,proto3" json:"Info,omitempty" display:"Info"`
	// @gotags: display:"Scope"
	Scope string `protobuf:"bytes,20,opt,name=Scope,proto3" json:"Scope,omitempty" display:"Scope"`
	// @gotags: display:"Virtual Host"
	VirtualHost string  `protobuf:"bytes,21,opt,name=VirtualHost,proto3" json:"VirtualHost,omitempty" display:"Virtual Host"`
	Users       []*User `protobuf:"bytes,22,rep,name=Users,proto3" json:"Users,omitempty"`
	// @gotags: xml:"address"
	Addresses []*network.Address `protobuf:"bytes,23,rep,name=Addresses,proto3" json:"Addresses,omitempty" xml:"address"`
	// Nmap ---------------------------------------
	// @gotags: xml:"os"
	OS *OS `protobuf:"bytes,30,opt,name=OS,proto3" json:"OS,omitempty" xml:"os"`
	// @gotags: xml:"status"
	Status *Status `protobuf:"bytes,31,opt,name=Status,proto3" json:"Status,omitempty" xml:"status"`
	// @gotags: xml:"distance"
	Distance *network.Distance `protobuf:"bytes,32,opt,name=Distance,proto3" json:"Distance,omitempty" xml:"distance"`
	// @gotags: xml:"starttime,attr,omitempty"
	StartTime int64 `protobuf:"varint,33,opt,name=StartTime,proto3" json:"StartTime,omitempty" xml:"starttime,attr,omitempty"`
	// @gotags: xml:"endtime,attr,omitempty"
	EndTime int64 `protobuf:"varint,34,opt,name=EndTime,proto3" json:"EndTime,omitempty" xml:"endtime,attr,omitempty"` // Might have issues here with XML unmarshalling
	// @gotags: xml:"ipidsequence"
	IPIDSequence *network.IPIDSequence `protobuf:"bytes,35,opt,name=IPIDSequence,proto3" json:"IPIDSequence,omitempty" xml:"ipidsequence"`
	// @gotags: xml:"tcpsequence"
	TCPSequence *network.TCPSequence `protobuf:"bytes,36,opt,name=TCPSequence,proto3" json:"TCPSequence,omitempty" xml:"tcpsequence"`
	// @gotags: xml:"tcptssequence"
	TCPTSSequence *network.TCPTSSequence `protobuf:"bytes,37,opt,name=TCPTSSequence,proto3" json:"TCPTSSequence,omitempty" xml:"tcptssequence"`
	ICMPResponse  *network.ICMPResponse  `protobuf:"bytes,38,opt,name=ICMPResponse,proto3" json:"ICMPResponse,omitempty"`
	// @gotags: xml:"times"
	Testing *network.Times `protobuf:"bytes,39,opt,name=Testing,proto3" json:"Testing,omitempty" xml:"times"`
	// @gotags: xml:"trace"
	Trace *network.Trace `protobuf:"bytes,40,opt,name=Trace,proto3" json:"Trace,omitempty" xml:"trace"`
	// @gotags: xml:"uptime"
	Uptime *Uptime `protobuf:"bytes,41,opt,name=Uptime,proto3" json:"Uptime,omitempty" xml:"uptime"`
	// @gotags: xml:"comment,attr"
	Comment string `protobuf:"bytes,42,opt,name=Comment,proto3" json:"Comment,omitempty" xml:"comment,attr"`
	// @gotags: xml:"hostscript>script"
	HostScripts []*nmap.Script `protobuf:"bytes,43,rep,name=HostScripts,proto3" json:"HostScripts,omitempty" xml:"hostscript>script"`
	// @gotags: xml:"smurf"
	Smurfs []*nmap.Smurf `protobuf:"bytes,44,rep,name=Smurfs,proto3" json:"Smurfs,omitempty" xml:"smurf"`
	// @gotags: xml:"hostnames>hostname"
	Hostnames []*Hostname `protobuf:"bytes,45,rep,name=Hostnames,proto3" json:"Hostnames,omitempty" xml:"hostnames>hostname"`
	// @gotags: xml:"ports>port"
	Ports []*Port `protobuf:"bytes,46,rep,name=Ports,proto3" json:"Ports,omitempty" xml:"ports>port"`
	// @gotags: xml:"ports>extraports"
	ExtraPorts []*ExtraPort `protobuf:"bytes,47,rep,name=ExtraPorts,proto3" json:"ExtraPorts,omitempty" xml:"ports>extraports"`
	// contains filtered or unexported fields
}

Host - Represents a remote computer host in DB

func DefaultApplyFieldMaskHost

func DefaultApplyFieldMaskHost(ctx context.Context, patchee *Host, patcher *Host, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Host, error)

DefaultApplyFieldMaskHost patches an pbObject with patcher according to a field mask.

func DefaultCreateHost

func DefaultCreateHost(ctx context.Context, in *Host, db *gorm.DB) (*Host, error)

DefaultCreateHost executes a basic gorm create call

func DefaultListHost

func DefaultListHost(ctx context.Context, db *gorm.DB) ([]*Host, error)

DefaultListHost executes a gorm list call

func DefaultPatchHost

func DefaultPatchHost(ctx context.Context, in *Host, updateMask *field_mask.FieldMask, db *gorm.DB) (*Host, error)

DefaultPatchHost executes a basic gorm update call with patch behavior

func DefaultPatchSetHost

func DefaultPatchSetHost(ctx context.Context, objects []*Host, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Host, error)

DefaultPatchSetHost executes a bulk gorm update call with patch behavior

func DefaultReadHost

func DefaultReadHost(ctx context.Context, in *Host, db *gorm.DB) (*Host, error)

func DefaultStrictUpdateHost

func DefaultStrictUpdateHost(ctx context.Context, in *Host, db *gorm.DB) (*Host, error)

DefaultStrictUpdateHost clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*Host) Descriptor deprecated

func (*Host) Descriptor() ([]byte, []int)

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetAddresses

func (x *Host) GetAddresses() []*network.Address

func (*Host) GetArch

func (x *Host) GetArch() string

func (*Host) GetComm

func (x *Host) GetComm() string

func (*Host) GetComment

func (x *Host) GetComment() string

func (*Host) GetCreatedAt

func (x *Host) GetCreatedAt() *timestamppb.Timestamp

func (*Host) GetDistance

func (x *Host) GetDistance() *network.Distance

func (*Host) GetEndTime

func (x *Host) GetEndTime() int64

func (*Host) GetExtraPorts

func (x *Host) GetExtraPorts() []*ExtraPort

func (*Host) GetHostScripts

func (x *Host) GetHostScripts() []*nmap.Script

func (*Host) GetHostnames

func (x *Host) GetHostnames() []*Hostname

func (*Host) GetICMPResponse

func (x *Host) GetICMPResponse() *network.ICMPResponse

func (*Host) GetIPIDSequence

func (x *Host) GetIPIDSequence() *network.IPIDSequence

func (*Host) GetId

func (x *Host) GetId() string

func (*Host) GetInfo

func (x *Host) GetInfo() string

func (*Host) GetMAC

func (x *Host) GetMAC() string

func (*Host) GetOS

func (x *Host) GetOS() *OS

func (*Host) GetOSFamily

func (x *Host) GetOSFamily() string

func (*Host) GetOSFlavor

func (x *Host) GetOSFlavor() string

func (*Host) GetOSLang

func (x *Host) GetOSLang() string

func (*Host) GetOSName

func (x *Host) GetOSName() string

func (*Host) GetOSSp

func (x *Host) GetOSSp() string

func (*Host) GetPorts

func (x *Host) GetPorts() []*Port

func (*Host) GetPurpose

func (x *Host) GetPurpose() string

func (*Host) GetScope

func (x *Host) GetScope() string

func (*Host) GetSmurfs

func (x *Host) GetSmurfs() []*nmap.Smurf

func (*Host) GetStartTime

func (x *Host) GetStartTime() int64

func (*Host) GetStatus

func (x *Host) GetStatus() *Status

func (*Host) GetTCPSequence

func (x *Host) GetTCPSequence() *network.TCPSequence

func (*Host) GetTCPTSSequence

func (x *Host) GetTCPTSSequence() *network.TCPTSSequence

func (*Host) GetTesting

func (x *Host) GetTesting() *network.Times

func (*Host) GetTrace

func (x *Host) GetTrace() *network.Trace

func (*Host) GetUpdatedAt

func (x *Host) GetUpdatedAt() *timestamppb.Timestamp

func (*Host) GetUptime

func (x *Host) GetUptime() *Uptime

func (*Host) GetUsers

func (x *Host) GetUsers() []*User

func (*Host) GetVirtualHost

func (x *Host) GetVirtualHost() string

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) ProtoReflect

func (x *Host) ProtoReflect() protoreflect.Message

func (*Host) Reset

func (x *Host) Reset()

func (*Host) String

func (x *Host) String() string

func (*Host) ToORM

func (m *Host) ToORM(ctx context.Context) (HostORM, 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 HostORM

type HostORM struct {
	Addresses       []*network.AddressORM `` /* 142-byte string literal not displayed */
	Arch            string
	Comm            string
	Comment         string
	CreatedAt       *time.Time
	Distance        *network.DistanceORM `gorm:"foreignkey:DistanceId;association_foreignkey:Id"`
	DistanceId      *string
	EndTime         int64
	ExtraPorts      []*ExtraPortORM          `gorm:"foreignkey:HostId;association_foreignkey:Id"`
	HostScripts     []*nmap.ScriptORM        `` /* 139-byte string literal not displayed */
	Hostnames       []*HostnameORM           `gorm:"foreignkey:HostId;association_foreignkey:Id"`
	ICMPResponse    *network.ICMPResponseORM `gorm:"foreignkey:ICMPResponseId;association_foreignkey:Id"`
	ICMPResponseId  *string
	IPIDSequence    *network.IPIDSequenceORM `gorm:"foreignkey:IPIDSequenceId;association_foreignkey:Id"`
	IPIDSequenceId  *string
	Id              string `gorm:"type:uuid;primary_key"`
	Info            string
	MAC             string
	OS              *OSORM `gorm:"foreignkey:OSId;association_foreignkey:Id"`
	OSFamily        string
	OSFlavor        string
	OSId            *string
	OSLang          string
	OSName          string
	OSSp            string
	Ports           []*PortORM `gorm:"foreignkey:HostId;association_foreignkey:Id"`
	Purpose         string
	Scope           string
	Smurfs          []*nmap.SmurfORM `` /* 138-byte string literal not displayed */
	StartTime       int64
	Status          *StatusORM              `gorm:"foreignkey:HostId;association_foreignkey:Id"`
	TCPSequence     *network.TCPSequenceORM `gorm:"foreignkey:TCPSequenceId;association_foreignkey:Id"`
	TCPSequenceId   *string
	TCPTSSequence   *network.TCPTSSequenceORM `gorm:"foreignkey:TCPTSSequenceId;association_foreignkey:Id"`
	TCPTSSequenceId *string
	Testing         *network.TimesORM `gorm:"foreignkey:TimesId;association_foreignkey:Id"`
	TimesId         *string
	Trace           *network.TraceORM `gorm:"foreignkey:TraceId;association_foreignkey:Id"`
	TraceId         *string
	UpdatedAt       *time.Time
	Uptime          *UptimeORM `gorm:"foreignkey:UptimeId;association_foreignkey:Id"`
	UptimeId        *string
	Users           []*UserORM `gorm:"foreignkey:HostId;association_foreignkey:Id"`
	VirtualHost     string
}

func (*HostORM) BeforeCreate

func (host *HostORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (HostORM) TableName

func (HostORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*HostORM) ToPB

func (m *HostORM) ToPB(ctx context.Context) (Host, 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 HostORMWithAfterCreate_

type HostORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type HostORMWithAfterDeleteSet

type HostORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Host, *gorm.DB) error
}

type HostORMWithAfterDelete_

type HostORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type HostORMWithAfterListFind

type HostORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]HostORM) error
}

type HostORMWithAfterReadFind

type HostORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type HostORMWithAfterStrictUpdateSave

type HostORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type HostORMWithBeforeCreate_

type HostORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostORMWithBeforeDeleteSet

type HostORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Host, *gorm.DB) (*gorm.DB, error)
}

type HostORMWithBeforeDelete_

type HostORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostORMWithBeforeListApplyQuery

type HostORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostORMWithBeforeListFind

type HostORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostORMWithBeforeReadApplyQuery

type HostORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostORMWithBeforeReadFind

type HostORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostORMWithBeforeStrictUpdateCleanup

type HostORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostORMWithBeforeStrictUpdateSave

type HostORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostWithAfterPatchSave

type HostWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Host, *field_mask.FieldMask, *gorm.DB) error
}

type HostWithAfterToORM

type HostWithAfterToORM interface {
	AfterToORM(context.Context, *HostORM) error
}

HostAfterToORM called after default ToORM code

type HostWithAfterToPB

type HostWithAfterToPB interface {
	AfterToPB(context.Context, *Host) error
}

HostAfterToPB called after default ToPB code

type HostWithBeforePatchApplyFieldMask

type HostWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Host, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type HostWithBeforePatchRead

type HostWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Host, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type HostWithBeforePatchSave

type HostWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Host, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type HostWithBeforeToORM

type HostWithBeforeToORM interface {
	BeforeToORM(context.Context, *HostORM) error
}

HostBeforeToORM called before default ToORM code

type HostWithBeforeToPB

type HostWithBeforeToPB interface {
	BeforeToPB(context.Context, *Host) error
}

HostBeforeToPB called before default ToPB code

type Hostname

type Hostname 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:"-"`
	// @gotags: display:"Name" xml:"name,attr"
	Name string `protobuf:"bytes,10,opt,name=Name,proto3" json:"Name,omitempty" display:"Name" xml:"name,attr"`
	// @gotags: display:"Type" xml:"type,attr"
	Type string `protobuf:"bytes,11,opt,name=Type,proto3" json:"Type,omitempty" display:"Type" xml:"type,attr"`
	// contains filtered or unexported fields
}

A hostname for a host.

func DefaultApplyFieldMaskHostname

func DefaultApplyFieldMaskHostname(ctx context.Context, patchee *Hostname, patcher *Hostname, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Hostname, error)

DefaultApplyFieldMaskHostname patches an pbObject with patcher according to a field mask.

func DefaultCreateHostname

func DefaultCreateHostname(ctx context.Context, in *Hostname, db *gorm.DB) (*Hostname, error)

DefaultCreateHostname executes a basic gorm create call

func DefaultListHostname

func DefaultListHostname(ctx context.Context, db *gorm.DB) ([]*Hostname, error)

DefaultListHostname executes a gorm list call

func DefaultPatchHostname

func DefaultPatchHostname(ctx context.Context, in *Hostname, updateMask *field_mask.FieldMask, db *gorm.DB) (*Hostname, error)

DefaultPatchHostname executes a basic gorm update call with patch behavior

func DefaultPatchSetHostname

func DefaultPatchSetHostname(ctx context.Context, objects []*Hostname, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Hostname, error)

DefaultPatchSetHostname executes a bulk gorm update call with patch behavior

func DefaultReadHostname

func DefaultReadHostname(ctx context.Context, in *Hostname, db *gorm.DB) (*Hostname, error)

func DefaultStrictUpdateHostname

func DefaultStrictUpdateHostname(ctx context.Context, in *Hostname, db *gorm.DB) (*Hostname, error)

DefaultStrictUpdateHostname clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*Hostname) Descriptor deprecated

func (*Hostname) Descriptor() ([]byte, []int)

Deprecated: Use Hostname.ProtoReflect.Descriptor instead.

func (*Hostname) GetCreatedAt

func (x *Hostname) GetCreatedAt() *timestamppb.Timestamp

func (*Hostname) GetId

func (x *Hostname) GetId() string

func (*Hostname) GetName

func (x *Hostname) GetName() string

func (*Hostname) GetType

func (x *Hostname) GetType() string

func (*Hostname) GetUpdatedAt

func (x *Hostname) GetUpdatedAt() *timestamppb.Timestamp

func (*Hostname) ProtoMessage

func (*Hostname) ProtoMessage()

func (*Hostname) ProtoReflect

func (x *Hostname) ProtoReflect() protoreflect.Message

func (*Hostname) Reset

func (x *Hostname) Reset()

func (*Hostname) String

func (x *Hostname) String() string

func (*Hostname) ToORM

func (m *Hostname) ToORM(ctx context.Context) (HostnameORM, 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 HostnameORM

type HostnameORM struct {
	CreatedAt *time.Time
	HostId    *string
	Id        string `gorm:"type:uuid;primary_key"`
	Name      string
	Type      string
	UpdatedAt *time.Time
}

func (*HostnameORM) BeforeCreate

func (hostname *HostnameORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (HostnameORM) TableName

func (HostnameORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*HostnameORM) ToPB

func (m *HostnameORM) ToPB(ctx context.Context) (Hostname, 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 HostnameORMWithAfterCreate_

type HostnameORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type HostnameORMWithAfterDeleteSet

type HostnameORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Hostname, *gorm.DB) error
}

type HostnameORMWithAfterDelete_

type HostnameORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type HostnameORMWithAfterListFind

type HostnameORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]HostnameORM) error
}

type HostnameORMWithAfterReadFind

type HostnameORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type HostnameORMWithAfterStrictUpdateSave

type HostnameORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type HostnameORMWithBeforeCreate_

type HostnameORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostnameORMWithBeforeDeleteSet

type HostnameORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Hostname, *gorm.DB) (*gorm.DB, error)
}

type HostnameORMWithBeforeDelete_

type HostnameORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostnameORMWithBeforeListApplyQuery

type HostnameORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostnameORMWithBeforeListFind

type HostnameORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostnameORMWithBeforeReadApplyQuery

type HostnameORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostnameORMWithBeforeReadFind

type HostnameORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostnameORMWithBeforeStrictUpdateCleanup

type HostnameORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostnameORMWithBeforeStrictUpdateSave

type HostnameORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type HostnameWithAfterPatchSave

type HostnameWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Hostname, *field_mask.FieldMask, *gorm.DB) error
}

type HostnameWithAfterToORM

type HostnameWithAfterToORM interface {
	AfterToORM(context.Context, *HostnameORM) error
}

HostnameAfterToORM called after default ToORM code

type HostnameWithAfterToPB

type HostnameWithAfterToPB interface {
	AfterToPB(context.Context, *Hostname) error
}

HostnameAfterToPB called after default ToPB code

type HostnameWithBeforePatchApplyFieldMask

type HostnameWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Hostname, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type HostnameWithBeforePatchRead

type HostnameWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Hostname, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type HostnameWithBeforePatchSave

type HostnameWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Hostname, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type HostnameWithBeforeToORM

type HostnameWithBeforeToORM interface {
	BeforeToORM(context.Context, *HostnameORM) error
}

HostnameBeforeToORM called before default ToORM code

type HostnameWithBeforeToPB

type HostnameWithBeforeToPB interface {
	BeforeToPB(context.Context, *Hostname) error
}

HostnameBeforeToPB called before default ToPB code

type OS

type OS struct {
	Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: xml:"portused"
	PortsUsed []*PortUsed `protobuf:"bytes,2,rep,name=PortsUsed,proto3" json:"PortsUsed,omitempty" xml:"portused"`
	// @inject_tag: xml:"osmatch"
	Matches []*OSMatch `protobuf:"bytes,3,rep,name=Matches,proto3" json:"Matches,omitempty" xml:"osmatch"`
	// @inject_tag: xml:"osfingerprint"
	Fingerprints []*OSFingerprint `protobuf:"bytes,4,rep,name=Fingerprints,proto3" json:"Fingerprints,omitempty" xml:"osfingerprint"`
	// contains filtered or unexported fields
}

OS - An operating system identified by NMAP, with fingerprint information

func DefaultApplyFieldMaskOS

func DefaultApplyFieldMaskOS(ctx context.Context, patchee *OS, patcher *OS, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*OS, error)

DefaultApplyFieldMaskOS patches an pbObject with patcher according to a field mask.

func DefaultCreateOS

func DefaultCreateOS(ctx context.Context, in *OS, db *gorm.DB) (*OS, error)

DefaultCreateOS executes a basic gorm create call

func DefaultListOS

func DefaultListOS(ctx context.Context, db *gorm.DB) ([]*OS, error)

DefaultListOS executes a gorm list call

func DefaultPatchOS

func DefaultPatchOS(ctx context.Context, in *OS, updateMask *field_mask.FieldMask, db *gorm.DB) (*OS, error)

DefaultPatchOS executes a basic gorm update call with patch behavior

func DefaultPatchSetOS

func DefaultPatchSetOS(ctx context.Context, objects []*OS, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*OS, error)

DefaultPatchSetOS executes a bulk gorm update call with patch behavior

func DefaultReadOS

func DefaultReadOS(ctx context.Context, in *OS, db *gorm.DB) (*OS, error)

func DefaultStrictUpdateOS

func DefaultStrictUpdateOS(ctx context.Context, in *OS, db *gorm.DB) (*OS, error)

DefaultStrictUpdateOS clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*OS) Descriptor deprecated

func (*OS) Descriptor() ([]byte, []int)

Deprecated: Use OS.ProtoReflect.Descriptor instead.

func (*OS) GetFingerprints

func (x *OS) GetFingerprints() []*OSFingerprint

func (*OS) GetId

func (x *OS) GetId() string

func (*OS) GetMatches

func (x *OS) GetMatches() []*OSMatch

func (*OS) GetPortsUsed

func (x *OS) GetPortsUsed() []*PortUsed

func (*OS) ProtoMessage

func (*OS) ProtoMessage()

func (*OS) ProtoReflect

func (x *OS) ProtoReflect() protoreflect.Message

func (*OS) Reset

func (x *OS) Reset()

func (*OS) String

func (x *OS) String() string

func (*OS) ToORM

func (m *OS) ToORM(ctx context.Context) (OSORM, 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 OSClass

type OSClass struct {
	Id string `protobuf:"bytes,100,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: xml:"vendor,attr"
	Vendor string `protobuf:"bytes,1,opt,name=Vendor,proto3" json:"Vendor,omitempty" xml:"vendor,attr"`
	// @inject_tag: xml:"osgen,attr"
	OSGeneration string `protobuf:"bytes,2,opt,name=OSGeneration,proto3" json:"OSGeneration,omitempty" xml:"osgen,attr"`
	// @inject_tag: xml:"type,attr"
	Type string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty" xml:"type,attr"`
	// @inject_tag: xml:"accurary,attr"
	Accuracy int32 `protobuf:"varint,4,opt,name=Accuracy,proto3" json:"Accuracy,omitempty" xml:"accurary,attr"`
	// @inject_tag: xml:"osfamily,attr"
	Family os.Family `protobuf:"varint,5,opt,name=Family,proto3,enum=os.Family" json:"Family,omitempty" xml:"osfamily,attr"`
	// @inject_tag: xml:"cpe"
	CPEs []string `protobuf:"bytes,6,rep,name=CPEs,proto3" json:"CPEs,omitempty" xml:"cpe"` // "Common Platform Enumeration" is standardized way to name software applications, OSs and Hardware platforms
	// contains filtered or unexported fields
}

OSClass - Contains vendor information about an operating system

func DefaultApplyFieldMaskOSClass

func DefaultApplyFieldMaskOSClass(ctx context.Context, patchee *OSClass, patcher *OSClass, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*OSClass, error)

DefaultApplyFieldMaskOSClass patches an pbObject with patcher according to a field mask.

func DefaultCreateOSClass

func DefaultCreateOSClass(ctx context.Context, in *OSClass, db *gorm.DB) (*OSClass, error)

DefaultCreateOSClass executes a basic gorm create call

func DefaultListOSClass

func DefaultListOSClass(ctx context.Context, db *gorm.DB) ([]*OSClass, error)

DefaultListOSClass executes a gorm list call

func DefaultPatchOSClass

func DefaultPatchOSClass(ctx context.Context, in *OSClass, updateMask *field_mask.FieldMask, db *gorm.DB) (*OSClass, error)

DefaultPatchOSClass executes a basic gorm update call with patch behavior

func DefaultPatchSetOSClass

func DefaultPatchSetOSClass(ctx context.Context, objects []*OSClass, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*OSClass, error)

DefaultPatchSetOSClass executes a bulk gorm update call with patch behavior

func DefaultReadOSClass

func DefaultReadOSClass(ctx context.Context, in *OSClass, db *gorm.DB) (*OSClass, error)

func DefaultStrictUpdateOSClass

func DefaultStrictUpdateOSClass(ctx context.Context, in *OSClass, db *gorm.DB) (*OSClass, error)

DefaultStrictUpdateOSClass clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*OSClass) Descriptor deprecated

func (*OSClass) Descriptor() ([]byte, []int)

Deprecated: Use OSClass.ProtoReflect.Descriptor instead.

func (*OSClass) GetAccuracy

func (x *OSClass) GetAccuracy() int32

func (*OSClass) GetCPEs

func (x *OSClass) GetCPEs() []string

func (*OSClass) GetFamily

func (x *OSClass) GetFamily() os.Family

func (*OSClass) GetId

func (x *OSClass) GetId() string

func (*OSClass) GetOSGeneration

func (x *OSClass) GetOSGeneration() string

func (*OSClass) GetType

func (x *OSClass) GetType() string

func (*OSClass) GetVendor

func (x *OSClass) GetVendor() string

func (*OSClass) ProtoMessage

func (*OSClass) ProtoMessage()

func (*OSClass) ProtoReflect

func (x *OSClass) ProtoReflect() protoreflect.Message

func (*OSClass) Reset

func (x *OSClass) Reset()

func (*OSClass) String

func (x *OSClass) String() string

func (*OSClass) ToORM

func (m *OSClass) ToORM(ctx context.Context) (OSClassORM, 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 OSClassORM

type OSClassORM struct {
	Accuracy     int32
	Family       int32
	Id           string `gorm:"type:uuid;primary_key"`
	OSGeneration string
	OSMatchId    *string
	Type         string
	Vendor       string
}

func (*OSClassORM) BeforeCreate

func (osclass *OSClassORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (OSClassORM) TableName

func (OSClassORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*OSClassORM) ToPB

func (m *OSClassORM) ToPB(ctx context.Context) (OSClass, 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 OSClassORMWithAfterCreate_

type OSClassORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type OSClassORMWithAfterDeleteSet

type OSClassORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*OSClass, *gorm.DB) error
}

type OSClassORMWithAfterDelete_

type OSClassORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type OSClassORMWithAfterListFind

type OSClassORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]OSClassORM) error
}

type OSClassORMWithAfterReadFind

type OSClassORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type OSClassORMWithAfterStrictUpdateSave

type OSClassORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type OSClassORMWithBeforeCreate_

type OSClassORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSClassORMWithBeforeDeleteSet

type OSClassORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*OSClass, *gorm.DB) (*gorm.DB, error)
}

type OSClassORMWithBeforeDelete_

type OSClassORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSClassORMWithBeforeListApplyQuery

type OSClassORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSClassORMWithBeforeListFind

type OSClassORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSClassORMWithBeforeReadApplyQuery

type OSClassORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSClassORMWithBeforeReadFind

type OSClassORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSClassORMWithBeforeStrictUpdateCleanup

type OSClassORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSClassORMWithBeforeStrictUpdateSave

type OSClassORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSClassWithAfterPatchSave

type OSClassWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *OSClass, *field_mask.FieldMask, *gorm.DB) error
}

type OSClassWithAfterToORM

type OSClassWithAfterToORM interface {
	AfterToORM(context.Context, *OSClassORM) error
}

OSClassAfterToORM called after default ToORM code

type OSClassWithAfterToPB

type OSClassWithAfterToPB interface {
	AfterToPB(context.Context, *OSClass) error
}

OSClassAfterToPB called after default ToPB code

type OSClassWithBeforePatchApplyFieldMask

type OSClassWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *OSClass, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSClassWithBeforePatchRead

type OSClassWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *OSClass, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSClassWithBeforePatchSave

type OSClassWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *OSClass, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSClassWithBeforeToORM

type OSClassWithBeforeToORM interface {
	BeforeToORM(context.Context, *OSClassORM) error
}

OSClassBeforeToORM called before default ToORM code

type OSClassWithBeforeToPB

type OSClassWithBeforeToPB interface {
	BeforeToPB(context.Context, *OSClass) error
}

OSClassBeforeToPB called before default ToPB code

type OSFingerprint

type OSFingerprint struct {
	Id string `protobuf:"bytes,100,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: xml:"fingerprint,attr"
	Fingerprint string `protobuf:"bytes,1,opt,name=Fingerprint,proto3" json:"Fingerprint,omitempty" xml:"fingerprint,attr"`
	// contains filtered or unexported fields
}

OSFingerprint - The actual fingerprint string of an operating system

func DefaultApplyFieldMaskOSFingerprint

func DefaultApplyFieldMaskOSFingerprint(ctx context.Context, patchee *OSFingerprint, patcher *OSFingerprint, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*OSFingerprint, error)

DefaultApplyFieldMaskOSFingerprint patches an pbObject with patcher according to a field mask.

func DefaultCreateOSFingerprint

func DefaultCreateOSFingerprint(ctx context.Context, in *OSFingerprint, db *gorm.DB) (*OSFingerprint, error)

DefaultCreateOSFingerprint executes a basic gorm create call

func DefaultListOSFingerprint

func DefaultListOSFingerprint(ctx context.Context, db *gorm.DB) ([]*OSFingerprint, error)

DefaultListOSFingerprint executes a gorm list call

func DefaultPatchOSFingerprint

func DefaultPatchOSFingerprint(ctx context.Context, in *OSFingerprint, updateMask *field_mask.FieldMask, db *gorm.DB) (*OSFingerprint, error)

DefaultPatchOSFingerprint executes a basic gorm update call with patch behavior

func DefaultPatchSetOSFingerprint

func DefaultPatchSetOSFingerprint(ctx context.Context, objects []*OSFingerprint, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*OSFingerprint, error)

DefaultPatchSetOSFingerprint executes a bulk gorm update call with patch behavior

func DefaultReadOSFingerprint

func DefaultReadOSFingerprint(ctx context.Context, in *OSFingerprint, db *gorm.DB) (*OSFingerprint, error)

func DefaultStrictUpdateOSFingerprint

func DefaultStrictUpdateOSFingerprint(ctx context.Context, in *OSFingerprint, db *gorm.DB) (*OSFingerprint, error)

DefaultStrictUpdateOSFingerprint clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*OSFingerprint) Descriptor deprecated

func (*OSFingerprint) Descriptor() ([]byte, []int)

Deprecated: Use OSFingerprint.ProtoReflect.Descriptor instead.

func (*OSFingerprint) GetFingerprint

func (x *OSFingerprint) GetFingerprint() string

func (*OSFingerprint) GetId

func (x *OSFingerprint) GetId() string

func (*OSFingerprint) ProtoMessage

func (*OSFingerprint) ProtoMessage()

func (*OSFingerprint) ProtoReflect

func (x *OSFingerprint) ProtoReflect() protoreflect.Message

func (*OSFingerprint) Reset

func (x *OSFingerprint) Reset()

func (*OSFingerprint) String

func (x *OSFingerprint) String() string

func (*OSFingerprint) ToORM

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 OSFingerprintORM

type OSFingerprintORM struct {
	Fingerprint string
	Id          string `gorm:"type:uuid;primary_key"`
	OSId        *string
}

func (*OSFingerprintORM) BeforeCreate

func (osfingerprint *OSFingerprintORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (OSFingerprintORM) TableName

func (OSFingerprintORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*OSFingerprintORM) ToPB

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 OSFingerprintORMWithAfterCreate_

type OSFingerprintORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type OSFingerprintORMWithAfterDeleteSet

type OSFingerprintORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*OSFingerprint, *gorm.DB) error
}

type OSFingerprintORMWithAfterDelete_

type OSFingerprintORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type OSFingerprintORMWithAfterListFind

type OSFingerprintORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]OSFingerprintORM) error
}

type OSFingerprintORMWithAfterReadFind

type OSFingerprintORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type OSFingerprintORMWithAfterStrictUpdateSave

type OSFingerprintORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type OSFingerprintORMWithBeforeCreate_

type OSFingerprintORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintORMWithBeforeDeleteSet

type OSFingerprintORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*OSFingerprint, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintORMWithBeforeDelete_

type OSFingerprintORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintORMWithBeforeListApplyQuery

type OSFingerprintORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintORMWithBeforeListFind

type OSFingerprintORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintORMWithBeforeReadApplyQuery

type OSFingerprintORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintORMWithBeforeReadFind

type OSFingerprintORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintORMWithBeforeStrictUpdateCleanup

type OSFingerprintORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintORMWithBeforeStrictUpdateSave

type OSFingerprintORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintWithAfterPatchSave

type OSFingerprintWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *OSFingerprint, *field_mask.FieldMask, *gorm.DB) error
}

type OSFingerprintWithAfterToORM

type OSFingerprintWithAfterToORM interface {
	AfterToORM(context.Context, *OSFingerprintORM) error
}

OSFingerprintAfterToORM called after default ToORM code

type OSFingerprintWithAfterToPB

type OSFingerprintWithAfterToPB interface {
	AfterToPB(context.Context, *OSFingerprint) error
}

OSFingerprintAfterToPB called after default ToPB code

type OSFingerprintWithBeforePatchApplyFieldMask

type OSFingerprintWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *OSFingerprint, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintWithBeforePatchRead

type OSFingerprintWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *OSFingerprint, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintWithBeforePatchSave

type OSFingerprintWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *OSFingerprint, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSFingerprintWithBeforeToORM

type OSFingerprintWithBeforeToORM interface {
	BeforeToORM(context.Context, *OSFingerprintORM) error
}

OSFingerprintBeforeToORM called before default ToORM code

type OSFingerprintWithBeforeToPB

type OSFingerprintWithBeforeToPB interface {
	BeforeToPB(context.Context, *OSFingerprint) error
}

OSFingerprintBeforeToPB called before default ToPB code

type OSMatch

type OSMatch struct {
	Id string `protobuf:"bytes,100,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: xml:"name,attr"
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty" xml:"name,attr"`
	// @inject_tag: xml:"accuracy,attr"
	Accuracy int32 `protobuf:"varint,2,opt,name=Accuracy,proto3" json:"Accuracy,omitempty" xml:"accuracy,attr"`
	// @inject_tag: xml:"line,attr"
	Line int32 `protobuf:"varint,3,opt,name=Line,proto3" json:"Line,omitempty" xml:"line,attr"`
	// @inject_tag: xml:"osclass,attr"
	Classes []*OSClass `protobuf:"bytes,4,rep,name=Classes,proto3" json:"Classes,omitempty" xml:"osclass,attr"`
	// contains filtered or unexported fields
}

OSMatch - Contains detailed information regarding an Operating System fingerprint

func DefaultApplyFieldMaskOSMatch

func DefaultApplyFieldMaskOSMatch(ctx context.Context, patchee *OSMatch, patcher *OSMatch, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*OSMatch, error)

DefaultApplyFieldMaskOSMatch patches an pbObject with patcher according to a field mask.

func DefaultCreateOSMatch

func DefaultCreateOSMatch(ctx context.Context, in *OSMatch, db *gorm.DB) (*OSMatch, error)

DefaultCreateOSMatch executes a basic gorm create call

func DefaultListOSMatch

func DefaultListOSMatch(ctx context.Context, db *gorm.DB) ([]*OSMatch, error)

DefaultListOSMatch executes a gorm list call

func DefaultPatchOSMatch

func DefaultPatchOSMatch(ctx context.Context, in *OSMatch, updateMask *field_mask.FieldMask, db *gorm.DB) (*OSMatch, error)

DefaultPatchOSMatch executes a basic gorm update call with patch behavior

func DefaultPatchSetOSMatch

func DefaultPatchSetOSMatch(ctx context.Context, objects []*OSMatch, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*OSMatch, error)

DefaultPatchSetOSMatch executes a bulk gorm update call with patch behavior

func DefaultReadOSMatch

func DefaultReadOSMatch(ctx context.Context, in *OSMatch, db *gorm.DB) (*OSMatch, error)

func DefaultStrictUpdateOSMatch

func DefaultStrictUpdateOSMatch(ctx context.Context, in *OSMatch, db *gorm.DB) (*OSMatch, error)

DefaultStrictUpdateOSMatch clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*OSMatch) Descriptor deprecated

func (*OSMatch) Descriptor() ([]byte, []int)

Deprecated: Use OSMatch.ProtoReflect.Descriptor instead.

func (*OSMatch) GetAccuracy

func (x *OSMatch) GetAccuracy() int32

func (*OSMatch) GetClasses

func (x *OSMatch) GetClasses() []*OSClass

func (*OSMatch) GetId

func (x *OSMatch) GetId() string

func (*OSMatch) GetLine

func (x *OSMatch) GetLine() int32

func (*OSMatch) GetName

func (x *OSMatch) GetName() string

func (*OSMatch) ProtoMessage

func (*OSMatch) ProtoMessage()

func (*OSMatch) ProtoReflect

func (x *OSMatch) ProtoReflect() protoreflect.Message

func (*OSMatch) Reset

func (x *OSMatch) Reset()

func (*OSMatch) String

func (x *OSMatch) String() string

func (*OSMatch) ToORM

func (m *OSMatch) ToORM(ctx context.Context) (OSMatchORM, 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 OSMatchORM

type OSMatchORM struct {
	Accuracy int32
	Classes  []*OSClassORM `gorm:"foreignkey:OSMatchId;association_foreignkey:Id"`
	Id       string        `gorm:"type:uuid;primary_key"`
	Line     int32
	Name     string
	OSId     *string
}

func (*OSMatchORM) BeforeCreate

func (osmatch *OSMatchORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (OSMatchORM) TableName

func (OSMatchORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*OSMatchORM) ToPB

func (m *OSMatchORM) ToPB(ctx context.Context) (OSMatch, 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 OSMatchORMWithAfterCreate_

type OSMatchORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type OSMatchORMWithAfterDeleteSet

type OSMatchORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*OSMatch, *gorm.DB) error
}

type OSMatchORMWithAfterDelete_

type OSMatchORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type OSMatchORMWithAfterListFind

type OSMatchORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]OSMatchORM) error
}

type OSMatchORMWithAfterReadFind

type OSMatchORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type OSMatchORMWithAfterStrictUpdateSave

type OSMatchORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type OSMatchORMWithBeforeCreate_

type OSMatchORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSMatchORMWithBeforeDeleteSet

type OSMatchORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*OSMatch, *gorm.DB) (*gorm.DB, error)
}

type OSMatchORMWithBeforeDelete_

type OSMatchORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSMatchORMWithBeforeListApplyQuery

type OSMatchORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSMatchORMWithBeforeListFind

type OSMatchORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSMatchORMWithBeforeReadApplyQuery

type OSMatchORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSMatchORMWithBeforeReadFind

type OSMatchORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSMatchORMWithBeforeStrictUpdateCleanup

type OSMatchORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSMatchORMWithBeforeStrictUpdateSave

type OSMatchORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSMatchWithAfterPatchSave

type OSMatchWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *OSMatch, *field_mask.FieldMask, *gorm.DB) error
}

type OSMatchWithAfterToORM

type OSMatchWithAfterToORM interface {
	AfterToORM(context.Context, *OSMatchORM) error
}

OSMatchAfterToORM called after default ToORM code

type OSMatchWithAfterToPB

type OSMatchWithAfterToPB interface {
	AfterToPB(context.Context, *OSMatch) error
}

OSMatchAfterToPB called after default ToPB code

type OSMatchWithBeforePatchApplyFieldMask

type OSMatchWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *OSMatch, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSMatchWithBeforePatchRead

type OSMatchWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *OSMatch, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSMatchWithBeforePatchSave

type OSMatchWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *OSMatch, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSMatchWithBeforeToORM

type OSMatchWithBeforeToORM interface {
	BeforeToORM(context.Context, *OSMatchORM) error
}

OSMatchBeforeToORM called before default ToORM code

type OSMatchWithBeforeToPB

type OSMatchWithBeforeToPB interface {
	BeforeToPB(context.Context, *OSMatch) error
}

OSMatchBeforeToPB called before default ToPB code

type OSORM

type OSORM struct {
	Fingerprints []*OSFingerprintORM `gorm:"foreignkey:OSId;association_foreignkey:Id"`
	Id           string              `gorm:"type:uuid;primary_key"`
	Matches      []*OSMatchORM       `gorm:"foreignkey:OSId;association_foreignkey:Id"`
	PortsUsed    []*PortUsedORM      `gorm:"foreignkey:OSId;association_foreignkey:Id"`
}

func (*OSORM) BeforeCreate

func (os *OSORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (OSORM) TableName

func (OSORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*OSORM) ToPB

func (m *OSORM) ToPB(ctx context.Context) (OS, 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 OSORMWithAfterCreate_

type OSORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type OSORMWithAfterDeleteSet

type OSORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*OS, *gorm.DB) error
}

type OSORMWithAfterDelete_

type OSORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type OSORMWithAfterListFind

type OSORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]OSORM) error
}

type OSORMWithAfterReadFind

type OSORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type OSORMWithAfterStrictUpdateSave

type OSORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type OSORMWithBeforeCreate_

type OSORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSORMWithBeforeDeleteSet

type OSORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*OS, *gorm.DB) (*gorm.DB, error)
}

type OSORMWithBeforeDelete_

type OSORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSORMWithBeforeListApplyQuery

type OSORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSORMWithBeforeListFind

type OSORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSORMWithBeforeReadApplyQuery

type OSORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSORMWithBeforeReadFind

type OSORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSORMWithBeforeStrictUpdateCleanup

type OSORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSORMWithBeforeStrictUpdateSave

type OSORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type OSWithAfterPatchSave

type OSWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *OS, *field_mask.FieldMask, *gorm.DB) error
}

type OSWithAfterToORM

type OSWithAfterToORM interface {
	AfterToORM(context.Context, *OSORM) error
}

OSAfterToORM called after default ToORM code

type OSWithAfterToPB

type OSWithAfterToPB interface {
	AfterToPB(context.Context, *OS) error
}

OSAfterToPB called after default ToPB code

type OSWithBeforePatchApplyFieldMask

type OSWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *OS, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSWithBeforePatchRead

type OSWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *OS, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSWithBeforePatchSave

type OSWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *OS, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type OSWithBeforeToORM

type OSWithBeforeToORM interface {
	BeforeToORM(context.Context, *OSORM) error
}

OSBeforeToORM called before default ToORM code

type OSWithBeforeToPB

type OSWithBeforeToPB interface {
	BeforeToPB(context.Context, *OS) error
}

OSBeforeToPB called before default ToPB code

type Port

type Port 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:"-"`
	// @gotags: xml:"portid,attr"
	Number uint32 `protobuf:"varint,10,opt,name=Number,proto3" json:"Number,omitempty" xml:"portid,attr"`
	// Nmap --------------------------------
	// @gotags: xml:"protocol,attr"
	Protocol string `protobuf:"bytes,11,opt,name=Protocol,proto3" json:"Protocol,omitempty" xml:"protocol,attr"`
	// @gotags: xml:"owner"
	Owner string `protobuf:"bytes,12,opt,name=Owner,proto3" json:"Owner,omitempty" xml:"owner"`
	// @gotags: xml:"service"
	Service *network.Service `protobuf:"bytes,13,opt,name=Service,proto3" json:"Service,omitempty" xml:"service"`
	// @gotags: xml:"state"
	State *State `protobuf:"bytes,14,opt,name=State,proto3" json:"State,omitempty" xml:"state"`
	// @gotags: xml:"script"
	Scripts []*nmap.Script `protobuf:"bytes,15,rep,name=Scripts,proto3" json:"Scripts,omitempty" xml:"script"`
	// @gotags: xml:"count"
	Count int32 `protobuf:"varint,20,opt,name=Count,proto3" json:"Count,omitempty" xml:"count"`
	// @gotags: xml:"extrareasons"
	Reasons []*Reason `protobuf:"bytes,21,rep,name=Reasons,proto3" json:"Reasons,omitempty" xml:"extrareasons"`
	// contains filtered or unexported fields
}

Port - A port on a host

func DefaultApplyFieldMaskPort

func DefaultApplyFieldMaskPort(ctx context.Context, patchee *Port, patcher *Port, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Port, error)

DefaultApplyFieldMaskPort patches an pbObject with patcher according to a field mask.

func DefaultCreatePort

func DefaultCreatePort(ctx context.Context, in *Port, db *gorm.DB) (*Port, error)

DefaultCreatePort executes a basic gorm create call

func DefaultListPort

func DefaultListPort(ctx context.Context, db *gorm.DB) ([]*Port, error)

DefaultListPort executes a gorm list call

func DefaultPatchPort

func DefaultPatchPort(ctx context.Context, in *Port, updateMask *field_mask.FieldMask, db *gorm.DB) (*Port, error)

DefaultPatchPort executes a basic gorm update call with patch behavior

func DefaultPatchSetPort

func DefaultPatchSetPort(ctx context.Context, objects []*Port, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Port, error)

DefaultPatchSetPort executes a bulk gorm update call with patch behavior

func DefaultReadPort

func DefaultReadPort(ctx context.Context, in *Port, db *gorm.DB) (*Port, error)

func DefaultStrictUpdatePort

func DefaultStrictUpdatePort(ctx context.Context, in *Port, db *gorm.DB) (*Port, error)

DefaultStrictUpdatePort clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*Port) Descriptor deprecated

func (*Port) Descriptor() ([]byte, []int)

Deprecated: Use Port.ProtoReflect.Descriptor instead.

func (*Port) GetCount

func (x *Port) GetCount() int32

func (*Port) GetCreatedAt

func (x *Port) GetCreatedAt() *timestamppb.Timestamp

func (*Port) GetId

func (x *Port) GetId() string

func (*Port) GetNumber

func (x *Port) GetNumber() uint32

func (*Port) GetOwner

func (x *Port) GetOwner() string

func (*Port) GetProtocol

func (x *Port) GetProtocol() string

func (*Port) GetReasons

func (x *Port) GetReasons() []*Reason

func (*Port) GetScripts

func (x *Port) GetScripts() []*nmap.Script

func (*Port) GetService

func (x *Port) GetService() *network.Service

func (*Port) GetState

func (x *Port) GetState() *State

func (*Port) GetUpdatedAt

func (x *Port) GetUpdatedAt() *timestamppb.Timestamp

func (*Port) ProtoMessage

func (*Port) ProtoMessage()

func (*Port) ProtoReflect

func (x *Port) ProtoReflect() protoreflect.Message

func (*Port) Reset

func (x *Port) Reset()

func (*Port) String

func (x *Port) String() string

func (*Port) ToORM

func (m *Port) ToORM(ctx context.Context) (PortORM, 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 PortORM

type PortORM struct {
	Count     int32
	CreatedAt *time.Time
	HostId    *string
	Id        string `gorm:"type:uuid;primary_key"`
	Number    uint32
	Owner     string
	Protocol  string
	Reasons   []*ReasonORM        `gorm:"foreignkey:PortId;association_foreignkey:Id"`
	Scripts   []*nmap.ScriptORM   `` /* 139-byte string literal not displayed */
	Service   *network.ServiceORM `gorm:"foreignkey:ServiceId;association_foreignkey:Id"`
	ServiceId *string
	State     *StateORM `gorm:"foreignkey:PortId;association_foreignkey:Id"`
	UpdatedAt *time.Time
}

func (*PortORM) BeforeCreate

func (port *PortORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (PortORM) TableName

func (PortORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*PortORM) ToPB

func (m *PortORM) ToPB(ctx context.Context) (Port, 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 PortORMWithAfterCreate_

type PortORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type PortORMWithAfterDeleteSet

type PortORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Port, *gorm.DB) error
}

type PortORMWithAfterDelete_

type PortORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type PortORMWithAfterListFind

type PortORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]PortORM) error
}

type PortORMWithAfterReadFind

type PortORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type PortORMWithAfterStrictUpdateSave

type PortORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type PortORMWithBeforeCreate_

type PortORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortORMWithBeforeDeleteSet

type PortORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Port, *gorm.DB) (*gorm.DB, error)
}

type PortORMWithBeforeDelete_

type PortORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortORMWithBeforeListApplyQuery

type PortORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortORMWithBeforeListFind

type PortORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortORMWithBeforeReadApplyQuery

type PortORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortORMWithBeforeReadFind

type PortORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortORMWithBeforeStrictUpdateCleanup

type PortORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortORMWithBeforeStrictUpdateSave

type PortORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortUsed

type PortUsed struct {
	Id string `protobuf:"bytes,100,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: xml:"portid,attr"
	Number uint32 `protobuf:"varint,2,opt,name=Number,proto3" json:"Number,omitempty" xml:"portid,attr"`
	// @inject_tag: xml:"state,attr"
	State string `protobuf:"bytes,3,opt,name=State,proto3" json:"State,omitempty" xml:"state,attr"`
	// @inject_tag: xml:"proto,attr"
	Protocol string `protobuf:"bytes,4,opt,name=Protocol,proto3" json:"Protocol,omitempty" xml:"proto,attr"`
	// contains filtered or unexported fields
}

PortUsed - The port used to fingerprint the operating system

func DefaultApplyFieldMaskPortUsed

func DefaultApplyFieldMaskPortUsed(ctx context.Context, patchee *PortUsed, patcher *PortUsed, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*PortUsed, error)

DefaultApplyFieldMaskPortUsed patches an pbObject with patcher according to a field mask.

func DefaultCreatePortUsed

func DefaultCreatePortUsed(ctx context.Context, in *PortUsed, db *gorm.DB) (*PortUsed, error)

DefaultCreatePortUsed executes a basic gorm create call

func DefaultListPortUsed

func DefaultListPortUsed(ctx context.Context, db *gorm.DB) ([]*PortUsed, error)

DefaultListPortUsed executes a gorm list call

func DefaultPatchPortUsed

func DefaultPatchPortUsed(ctx context.Context, in *PortUsed, updateMask *field_mask.FieldMask, db *gorm.DB) (*PortUsed, error)

DefaultPatchPortUsed executes a basic gorm update call with patch behavior

func DefaultPatchSetPortUsed

func DefaultPatchSetPortUsed(ctx context.Context, objects []*PortUsed, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*PortUsed, error)

DefaultPatchSetPortUsed executes a bulk gorm update call with patch behavior

func DefaultReadPortUsed

func DefaultReadPortUsed(ctx context.Context, in *PortUsed, db *gorm.DB) (*PortUsed, error)

func DefaultStrictUpdatePortUsed

func DefaultStrictUpdatePortUsed(ctx context.Context, in *PortUsed, db *gorm.DB) (*PortUsed, error)

DefaultStrictUpdatePortUsed clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*PortUsed) Descriptor deprecated

func (*PortUsed) Descriptor() ([]byte, []int)

Deprecated: Use PortUsed.ProtoReflect.Descriptor instead.

func (*PortUsed) GetId

func (x *PortUsed) GetId() string

func (*PortUsed) GetNumber

func (x *PortUsed) GetNumber() uint32

func (*PortUsed) GetProtocol

func (x *PortUsed) GetProtocol() string

func (*PortUsed) GetState

func (x *PortUsed) GetState() string

func (*PortUsed) ProtoMessage

func (*PortUsed) ProtoMessage()

func (*PortUsed) ProtoReflect

func (x *PortUsed) ProtoReflect() protoreflect.Message

func (*PortUsed) Reset

func (x *PortUsed) Reset()

func (*PortUsed) String

func (x *PortUsed) String() string

func (*PortUsed) ToORM

func (m *PortUsed) ToORM(ctx context.Context) (PortUsedORM, 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 PortUsedORM

type PortUsedORM struct {
	Id       string `gorm:"type:uuid;primary_key"`
	Number   uint32
	OSId     *string
	Protocol string
	State    string
}

func (*PortUsedORM) BeforeCreate

func (portused *PortUsedORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (PortUsedORM) TableName

func (PortUsedORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*PortUsedORM) ToPB

func (m *PortUsedORM) ToPB(ctx context.Context) (PortUsed, 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 PortUsedORMWithAfterCreate_

type PortUsedORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type PortUsedORMWithAfterDeleteSet

type PortUsedORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*PortUsed, *gorm.DB) error
}

type PortUsedORMWithAfterDelete_

type PortUsedORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type PortUsedORMWithAfterListFind

type PortUsedORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]PortUsedORM) error
}

type PortUsedORMWithAfterReadFind

type PortUsedORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type PortUsedORMWithAfterStrictUpdateSave

type PortUsedORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type PortUsedORMWithBeforeCreate_

type PortUsedORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortUsedORMWithBeforeDeleteSet

type PortUsedORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*PortUsed, *gorm.DB) (*gorm.DB, error)
}

type PortUsedORMWithBeforeDelete_

type PortUsedORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortUsedORMWithBeforeListApplyQuery

type PortUsedORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortUsedORMWithBeforeListFind

type PortUsedORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortUsedORMWithBeforeReadApplyQuery

type PortUsedORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortUsedORMWithBeforeReadFind

type PortUsedORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortUsedORMWithBeforeStrictUpdateCleanup

type PortUsedORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortUsedORMWithBeforeStrictUpdateSave

type PortUsedORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type PortUsedWithAfterPatchSave

type PortUsedWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *PortUsed, *field_mask.FieldMask, *gorm.DB) error
}

type PortUsedWithAfterToORM

type PortUsedWithAfterToORM interface {
	AfterToORM(context.Context, *PortUsedORM) error
}

PortUsedAfterToORM called after default ToORM code

type PortUsedWithAfterToPB

type PortUsedWithAfterToPB interface {
	AfterToPB(context.Context, *PortUsed) error
}

PortUsedAfterToPB called after default ToPB code

type PortUsedWithBeforePatchApplyFieldMask

type PortUsedWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *PortUsed, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type PortUsedWithBeforePatchRead

type PortUsedWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *PortUsed, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type PortUsedWithBeforePatchSave

type PortUsedWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *PortUsed, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type PortUsedWithBeforeToORM

type PortUsedWithBeforeToORM interface {
	BeforeToORM(context.Context, *PortUsedORM) error
}

PortUsedBeforeToORM called before default ToORM code

type PortUsedWithBeforeToPB

type PortUsedWithBeforeToPB interface {
	BeforeToPB(context.Context, *PortUsed) error
}

PortUsedBeforeToPB called before default ToPB code

type PortWithAfterPatchSave

type PortWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Port, *field_mask.FieldMask, *gorm.DB) error
}

type PortWithAfterToORM

type PortWithAfterToORM interface {
	AfterToORM(context.Context, *PortORM) error
}

PortAfterToORM called after default ToORM code

type PortWithAfterToPB

type PortWithAfterToPB interface {
	AfterToPB(context.Context, *Port) error
}

PortAfterToPB called after default ToPB code

type PortWithBeforePatchApplyFieldMask

type PortWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Port, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type PortWithBeforePatchRead

type PortWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Port, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type PortWithBeforePatchSave

type PortWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Port, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type PortWithBeforeToORM

type PortWithBeforeToORM interface {
	BeforeToORM(context.Context, *PortORM) error
}

PortBeforeToORM called before default ToORM code

type PortWithBeforeToPB

type PortWithBeforeToPB interface {
	BeforeToPB(context.Context, *Port) error
}

PortBeforeToPB called before default ToPB code

type Reason

type Reason struct {
	Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @gotags: xml:"reason"
	Reason string `protobuf:"bytes,3,opt,name=Reason,proto3" json:"Reason,omitempty" xml:"reason"`
	// @gotags: xml:"count"
	Count int32 `protobuf:"varint,4,opt,name=Count,proto3" json:"Count,omitempty" xml:"count"`
	// contains filtered or unexported fields
}

Reason - Extra information on a closed/filtered port

func DefaultApplyFieldMaskReason

func DefaultApplyFieldMaskReason(ctx context.Context, patchee *Reason, patcher *Reason, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Reason, error)

DefaultApplyFieldMaskReason patches an pbObject with patcher according to a field mask.

func DefaultCreateReason

func DefaultCreateReason(ctx context.Context, in *Reason, db *gorm.DB) (*Reason, error)

DefaultCreateReason executes a basic gorm create call

func DefaultListReason

func DefaultListReason(ctx context.Context, db *gorm.DB) ([]*Reason, error)

DefaultListReason executes a gorm list call

func DefaultPatchReason

func DefaultPatchReason(ctx context.Context, in *Reason, updateMask *field_mask.FieldMask, db *gorm.DB) (*Reason, error)

DefaultPatchReason executes a basic gorm update call with patch behavior

func DefaultPatchSetReason

func DefaultPatchSetReason(ctx context.Context, objects []*Reason, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Reason, error)

DefaultPatchSetReason executes a bulk gorm update call with patch behavior

func DefaultReadReason

func DefaultReadReason(ctx context.Context, in *Reason, db *gorm.DB) (*Reason, error)

func DefaultStrictUpdateReason

func DefaultStrictUpdateReason(ctx context.Context, in *Reason, db *gorm.DB) (*Reason, error)

DefaultStrictUpdateReason clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*Reason) Descriptor deprecated

func (*Reason) Descriptor() ([]byte, []int)

Deprecated: Use Reason.ProtoReflect.Descriptor instead.

func (*Reason) GetCount

func (x *Reason) GetCount() int32

func (*Reason) GetId

func (x *Reason) GetId() string

func (*Reason) GetReason

func (x *Reason) GetReason() string

func (*Reason) ProtoMessage

func (*Reason) ProtoMessage()

func (*Reason) ProtoReflect

func (x *Reason) ProtoReflect() protoreflect.Message

func (*Reason) Reset

func (x *Reason) Reset()

func (*Reason) String

func (x *Reason) String() string

func (*Reason) ToORM

func (m *Reason) ToORM(ctx context.Context) (ReasonORM, 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 ReasonORM

type ReasonORM struct {
	Count       int32
	ExtraPortId *string
	Id          string `gorm:"type:uuid;primary_key"`
	PortId      *string
	Reason      string
}

func (*ReasonORM) BeforeCreate

func (reason *ReasonORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (ReasonORM) TableName

func (ReasonORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*ReasonORM) ToPB

func (m *ReasonORM) ToPB(ctx context.Context) (Reason, 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 ReasonORMWithAfterCreate_

type ReasonORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type ReasonORMWithAfterDeleteSet

type ReasonORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Reason, *gorm.DB) error
}

type ReasonORMWithAfterDelete_

type ReasonORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type ReasonORMWithAfterListFind

type ReasonORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]ReasonORM) error
}

type ReasonORMWithAfterReadFind

type ReasonORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type ReasonORMWithAfterStrictUpdateSave

type ReasonORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type ReasonORMWithBeforeCreate_

type ReasonORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ReasonORMWithBeforeDeleteSet

type ReasonORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Reason, *gorm.DB) (*gorm.DB, error)
}

type ReasonORMWithBeforeDelete_

type ReasonORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ReasonORMWithBeforeListApplyQuery

type ReasonORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ReasonORMWithBeforeListFind

type ReasonORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ReasonORMWithBeforeReadApplyQuery

type ReasonORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ReasonORMWithBeforeReadFind

type ReasonORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ReasonORMWithBeforeStrictUpdateCleanup

type ReasonORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ReasonORMWithBeforeStrictUpdateSave

type ReasonORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type ReasonWithAfterPatchSave

type ReasonWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Reason, *field_mask.FieldMask, *gorm.DB) error
}

type ReasonWithAfterToORM

type ReasonWithAfterToORM interface {
	AfterToORM(context.Context, *ReasonORM) error
}

ReasonAfterToORM called after default ToORM code

type ReasonWithAfterToPB

type ReasonWithAfterToPB interface {
	AfterToPB(context.Context, *Reason) error
}

ReasonAfterToPB called after default ToPB code

type ReasonWithBeforePatchApplyFieldMask

type ReasonWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Reason, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type ReasonWithBeforePatchRead

type ReasonWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Reason, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type ReasonWithBeforePatchSave

type ReasonWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Reason, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type ReasonWithBeforeToORM

type ReasonWithBeforeToORM interface {
	BeforeToORM(context.Context, *ReasonORM) error
}

ReasonBeforeToORM called before default ToORM code

type ReasonWithBeforeToPB

type ReasonWithBeforeToPB interface {
	BeforeToPB(context.Context, *Reason) error
}

ReasonBeforeToPB called before default ToPB code

type State

type State 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:"-"`
	// Nmap
	// @gotags: xml:"state,attr"
	State string `protobuf:"bytes,10,opt,name=State,proto3" json:"State,omitempty" xml:"state,attr"`
	// @gotags: xml:"reason,attr"
	Reason string `protobuf:"bytes,11,opt,name=Reason,proto3" json:"Reason,omitempty" xml:"reason,attr"`
	// @gotags: xml:"reason_ip,attr"
	ReasonIP string `protobuf:"bytes,12,opt,name=ReasonIP,proto3" json:"ReasonIP,omitempty" xml:"reason_ip,attr"`
	// @gotags: xml:"reason_ttl,attr"
	ReasonTTL float32 `protobuf:"fixed32,13,opt,name=ReasonTTL,proto3" json:"ReasonTTL,omitempty" xml:"reason_ttl,attr"`
	// contains filtered or unexported fields
}

State - Contains information about a given's port status

func DefaultApplyFieldMaskState

func DefaultApplyFieldMaskState(ctx context.Context, patchee *State, patcher *State, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*State, error)

DefaultApplyFieldMaskState patches an pbObject with patcher according to a field mask.

func DefaultCreateState

func DefaultCreateState(ctx context.Context, in *State, db *gorm.DB) (*State, error)

DefaultCreateState executes a basic gorm create call

func DefaultListState

func DefaultListState(ctx context.Context, db *gorm.DB) ([]*State, error)

DefaultListState executes a gorm list call

func DefaultPatchSetState

func DefaultPatchSetState(ctx context.Context, objects []*State, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*State, error)

DefaultPatchSetState executes a bulk gorm update call with patch behavior

func DefaultPatchState

func DefaultPatchState(ctx context.Context, in *State, updateMask *field_mask.FieldMask, db *gorm.DB) (*State, error)

DefaultPatchState executes a basic gorm update call with patch behavior

func DefaultReadState

func DefaultReadState(ctx context.Context, in *State, db *gorm.DB) (*State, error)

func DefaultStrictUpdateState

func DefaultStrictUpdateState(ctx context.Context, in *State, db *gorm.DB) (*State, error)

DefaultStrictUpdateState clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*State) Descriptor deprecated

func (*State) Descriptor() ([]byte, []int)

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetCreatedAt

func (x *State) GetCreatedAt() *timestamppb.Timestamp

func (*State) GetId

func (x *State) GetId() string

func (*State) GetReason

func (x *State) GetReason() string

func (*State) GetReasonIP

func (x *State) GetReasonIP() string

func (*State) GetReasonTTL

func (x *State) GetReasonTTL() float32

func (*State) GetState

func (x *State) GetState() string

func (*State) GetUpdatedAt

func (x *State) GetUpdatedAt() *timestamppb.Timestamp

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

func (x *State) ProtoReflect() protoreflect.Message

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

func (*State) ToORM

func (m *State) ToORM(ctx context.Context) (StateORM, 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 StateORM

type StateORM struct {
	CreatedAt *time.Time
	Id        string `gorm:"type:uuid;primary_key"`
	PortId    *string
	Reason    string
	ReasonIP  string
	ReasonTTL float32
	State     string
	UpdatedAt *time.Time
}

func (*StateORM) BeforeCreate

func (state *StateORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (StateORM) TableName

func (StateORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*StateORM) ToPB

func (m *StateORM) ToPB(ctx context.Context) (State, 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 StateORMWithAfterCreate_

type StateORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type StateORMWithAfterDeleteSet

type StateORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*State, *gorm.DB) error
}

type StateORMWithAfterDelete_

type StateORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type StateORMWithAfterListFind

type StateORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]StateORM) error
}

type StateORMWithAfterReadFind

type StateORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type StateORMWithAfterStrictUpdateSave

type StateORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type StateORMWithBeforeCreate_

type StateORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StateORMWithBeforeDeleteSet

type StateORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*State, *gorm.DB) (*gorm.DB, error)
}

type StateORMWithBeforeDelete_

type StateORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StateORMWithBeforeListApplyQuery

type StateORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StateORMWithBeforeListFind

type StateORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StateORMWithBeforeReadApplyQuery

type StateORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StateORMWithBeforeReadFind

type StateORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StateORMWithBeforeStrictUpdateCleanup

type StateORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StateORMWithBeforeStrictUpdateSave

type StateORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StateWithAfterPatchSave

type StateWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *State, *field_mask.FieldMask, *gorm.DB) error
}

type StateWithAfterToORM

type StateWithAfterToORM interface {
	AfterToORM(context.Context, *StateORM) error
}

StateAfterToORM called after default ToORM code

type StateWithAfterToPB

type StateWithAfterToPB interface {
	AfterToPB(context.Context, *State) error
}

StateAfterToPB called after default ToPB code

type StateWithBeforePatchApplyFieldMask

type StateWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *State, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type StateWithBeforePatchRead

type StateWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *State, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type StateWithBeforePatchSave

type StateWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *State, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type StateWithBeforeToORM

type StateWithBeforeToORM interface {
	BeforeToORM(context.Context, *StateORM) error
}

StateBeforeToORM called before default ToORM code

type StateWithBeforeToPB

type StateWithBeforeToPB interface {
	BeforeToPB(context.Context, *State) error
}

StateBeforeToPB called before default ToPB code

type Status

type Status struct {
	Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @gotags: xml:"state,attr"
	State string `protobuf:"bytes,2,opt,name=State,proto3" json:"State,omitempty" xml:"state,attr"`
	// @gotags: xml:"reason,attr"
	Reason string `protobuf:"bytes,3,opt,name=Reason,proto3" json:"Reason,omitempty" xml:"reason,attr"`
	// @gotags: xml:"reason_ttl,attr"
	ReasonTTL string `protobuf:"bytes,4,opt,name=ReasonTTL,proto3" json:"ReasonTTL,omitempty" xml:"reason_ttl,attr"`
	// contains filtered or unexported fields
}

Status represents a host's status.

func DefaultApplyFieldMaskStatus

func DefaultApplyFieldMaskStatus(ctx context.Context, patchee *Status, patcher *Status, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Status, error)

DefaultApplyFieldMaskStatus patches an pbObject with patcher according to a field mask.

func DefaultCreateStatus

func DefaultCreateStatus(ctx context.Context, in *Status, db *gorm.DB) (*Status, error)

DefaultCreateStatus executes a basic gorm create call

func DefaultListStatus

func DefaultListStatus(ctx context.Context, db *gorm.DB) ([]*Status, error)

DefaultListStatus executes a gorm list call

func DefaultPatchSetStatus

func DefaultPatchSetStatus(ctx context.Context, objects []*Status, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Status, error)

DefaultPatchSetStatus executes a bulk gorm update call with patch behavior

func DefaultPatchStatus

func DefaultPatchStatus(ctx context.Context, in *Status, updateMask *field_mask.FieldMask, db *gorm.DB) (*Status, error)

DefaultPatchStatus executes a basic gorm update call with patch behavior

func DefaultReadStatus

func DefaultReadStatus(ctx context.Context, in *Status, db *gorm.DB) (*Status, error)

func DefaultStrictUpdateStatus

func DefaultStrictUpdateStatus(ctx context.Context, in *Status, db *gorm.DB) (*Status, error)

DefaultStrictUpdateStatus clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*Status) Descriptor deprecated

func (*Status) Descriptor() ([]byte, []int)

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetId

func (x *Status) GetId() string

func (*Status) GetReason

func (x *Status) GetReason() string

func (*Status) GetReasonTTL

func (x *Status) GetReasonTTL() string

func (*Status) GetState

func (x *Status) GetState() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

func (x *Status) ProtoReflect() protoreflect.Message

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

func (*Status) ToORM

func (m *Status) ToORM(ctx context.Context) (StatusORM, 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 StatusORM

type StatusORM struct {
	HostId    *string
	Id        string `gorm:"type:uuid;primary_key"`
	Reason    string
	ReasonTTL string
	State     string
}

func (*StatusORM) BeforeCreate

func (status *StatusORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (StatusORM) TableName

func (StatusORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*StatusORM) ToPB

func (m *StatusORM) ToPB(ctx context.Context) (Status, 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 StatusORMWithAfterCreate_

type StatusORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type StatusORMWithAfterDeleteSet

type StatusORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Status, *gorm.DB) error
}

type StatusORMWithAfterDelete_

type StatusORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type StatusORMWithAfterListFind

type StatusORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]StatusORM) error
}

type StatusORMWithAfterReadFind

type StatusORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type StatusORMWithAfterStrictUpdateSave

type StatusORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type StatusORMWithBeforeCreate_

type StatusORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StatusORMWithBeforeDeleteSet

type StatusORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Status, *gorm.DB) (*gorm.DB, error)
}

type StatusORMWithBeforeDelete_

type StatusORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StatusORMWithBeforeListApplyQuery

type StatusORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StatusORMWithBeforeListFind

type StatusORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StatusORMWithBeforeReadApplyQuery

type StatusORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StatusORMWithBeforeReadFind

type StatusORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StatusORMWithBeforeStrictUpdateCleanup

type StatusORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StatusORMWithBeforeStrictUpdateSave

type StatusORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type StatusWithAfterPatchSave

type StatusWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Status, *field_mask.FieldMask, *gorm.DB) error
}

type StatusWithAfterToORM

type StatusWithAfterToORM interface {
	AfterToORM(context.Context, *StatusORM) error
}

StatusAfterToORM called after default ToORM code

type StatusWithAfterToPB

type StatusWithAfterToPB interface {
	AfterToPB(context.Context, *Status) error
}

StatusAfterToPB called after default ToPB code

type StatusWithBeforePatchApplyFieldMask

type StatusWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Status, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type StatusWithBeforePatchRead

type StatusWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Status, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type StatusWithBeforePatchSave

type StatusWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Status, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type StatusWithBeforeToORM

type StatusWithBeforeToORM interface {
	BeforeToORM(context.Context, *StatusORM) error
}

StatusBeforeToORM called before default ToORM code

type StatusWithBeforeToPB

type StatusWithBeforeToPB interface {
	BeforeToPB(context.Context, *Status) error
}

StatusBeforeToPB called before default ToPB code

type Uptime

type Uptime struct {
	Id string `protobuf:"bytes,100,opt,name=Id,proto3" json:"Id,omitempty"`
	// @gotags: xml:"seconds,attr"
	Seconds int32 `protobuf:"varint,1,opt,name=Seconds,proto3" json:"Seconds,omitempty" xml:"seconds,attr"`
	// @gotags: xml:"lastboot,attr"
	LastBoot string `protobuf:"bytes,2,opt,name=LastBoot,proto3" json:"LastBoot,omitempty" xml:"lastboot,attr"`
	// contains filtered or unexported fields
}

Uptime - The amount of time the host has been up

func DefaultApplyFieldMaskUptime

func DefaultApplyFieldMaskUptime(ctx context.Context, patchee *Uptime, patcher *Uptime, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*Uptime, error)

DefaultApplyFieldMaskUptime patches an pbObject with patcher according to a field mask.

func DefaultCreateUptime

func DefaultCreateUptime(ctx context.Context, in *Uptime, db *gorm.DB) (*Uptime, error)

DefaultCreateUptime executes a basic gorm create call

func DefaultListUptime

func DefaultListUptime(ctx context.Context, db *gorm.DB) ([]*Uptime, error)

DefaultListUptime executes a gorm list call

func DefaultPatchSetUptime

func DefaultPatchSetUptime(ctx context.Context, objects []*Uptime, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*Uptime, error)

DefaultPatchSetUptime executes a bulk gorm update call with patch behavior

func DefaultPatchUptime

func DefaultPatchUptime(ctx context.Context, in *Uptime, updateMask *field_mask.FieldMask, db *gorm.DB) (*Uptime, error)

DefaultPatchUptime executes a basic gorm update call with patch behavior

func DefaultReadUptime

func DefaultReadUptime(ctx context.Context, in *Uptime, db *gorm.DB) (*Uptime, error)

func DefaultStrictUpdateUptime

func DefaultStrictUpdateUptime(ctx context.Context, in *Uptime, db *gorm.DB) (*Uptime, error)

DefaultStrictUpdateUptime clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*Uptime) Descriptor deprecated

func (*Uptime) Descriptor() ([]byte, []int)

Deprecated: Use Uptime.ProtoReflect.Descriptor instead.

func (*Uptime) GetId

func (x *Uptime) GetId() string

func (*Uptime) GetLastBoot

func (x *Uptime) GetLastBoot() string

func (*Uptime) GetSeconds

func (x *Uptime) GetSeconds() int32

func (*Uptime) ProtoMessage

func (*Uptime) ProtoMessage()

func (*Uptime) ProtoReflect

func (x *Uptime) ProtoReflect() protoreflect.Message

func (*Uptime) Reset

func (x *Uptime) Reset()

func (*Uptime) String

func (x *Uptime) String() string

func (*Uptime) ToORM

func (m *Uptime) ToORM(ctx context.Context) (UptimeORM, 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 UptimeORM

type UptimeORM struct {
	Id       string `gorm:"type:uuid;primary_key"`
	LastBoot string
	Seconds  int32
}

func (*UptimeORM) BeforeCreate

func (uptime *UptimeORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (UptimeORM) TableName

func (UptimeORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*UptimeORM) ToPB

func (m *UptimeORM) ToPB(ctx context.Context) (Uptime, 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 UptimeORMWithAfterCreate_

type UptimeORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type UptimeORMWithAfterDeleteSet

type UptimeORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Uptime, *gorm.DB) error
}

type UptimeORMWithAfterDelete_

type UptimeORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type UptimeORMWithAfterListFind

type UptimeORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]UptimeORM) error
}

type UptimeORMWithAfterReadFind

type UptimeORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type UptimeORMWithAfterStrictUpdateSave

type UptimeORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type UptimeORMWithBeforeCreate_

type UptimeORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UptimeORMWithBeforeDeleteSet

type UptimeORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Uptime, *gorm.DB) (*gorm.DB, error)
}

type UptimeORMWithBeforeDelete_

type UptimeORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UptimeORMWithBeforeListApplyQuery

type UptimeORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UptimeORMWithBeforeListFind

type UptimeORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UptimeORMWithBeforeReadApplyQuery

type UptimeORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UptimeORMWithBeforeReadFind

type UptimeORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UptimeORMWithBeforeStrictUpdateCleanup

type UptimeORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UptimeORMWithBeforeStrictUpdateSave

type UptimeORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UptimeWithAfterPatchSave

type UptimeWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Uptime, *field_mask.FieldMask, *gorm.DB) error
}

type UptimeWithAfterToORM

type UptimeWithAfterToORM interface {
	AfterToORM(context.Context, *UptimeORM) error
}

UptimeAfterToORM called after default ToORM code

type UptimeWithAfterToPB

type UptimeWithAfterToPB interface {
	AfterToPB(context.Context, *Uptime) error
}

UptimeAfterToPB called after default ToPB code

type UptimeWithBeforePatchApplyFieldMask

type UptimeWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Uptime, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type UptimeWithBeforePatchRead

type UptimeWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Uptime, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type UptimeWithBeforePatchSave

type UptimeWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Uptime, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type UptimeWithBeforeToORM

type UptimeWithBeforeToORM interface {
	BeforeToORM(context.Context, *UptimeORM) error
}

UptimeBeforeToORM called before default ToORM code

type UptimeWithBeforeToPB

type UptimeWithBeforeToPB interface {
	BeforeToPB(context.Context, *Uptime) error
}

UptimeBeforeToPB called before default ToPB code

type User

type User 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:"-"` // -------------------------------------
	// @gotags: display:"Name"
	Name string `protobuf:"bytes,10,opt,name=Name,proto3" json:"Name,omitempty" display:"Name"`
	// @gotags: display:"UID"
	UID    int32    `protobuf:"varint,11,opt,name=UID,proto3" json:"UID,omitempty" display:"UID"`
	Groups []*Group `protobuf:"bytes,12,rep,name=Groups,proto3" json:"Groups,omitempty"`
	// contains filtered or unexported fields
}

User - An operating-system user.

func DefaultApplyFieldMaskUser

func DefaultApplyFieldMaskUser(ctx context.Context, patchee *User, patcher *User, updateMask *field_mask.FieldMask, prefix string, db *gorm.DB) (*User, error)

DefaultApplyFieldMaskUser patches an pbObject with patcher according to a field mask.

func DefaultCreateUser

func DefaultCreateUser(ctx context.Context, in *User, db *gorm.DB) (*User, error)

DefaultCreateUser executes a basic gorm create call

func DefaultListUser

func DefaultListUser(ctx context.Context, db *gorm.DB) ([]*User, error)

DefaultListUser executes a gorm list call

func DefaultPatchSetUser

func DefaultPatchSetUser(ctx context.Context, objects []*User, updateMasks []*field_mask.FieldMask, db *gorm.DB) ([]*User, error)

DefaultPatchSetUser executes a bulk gorm update call with patch behavior

func DefaultPatchUser

func DefaultPatchUser(ctx context.Context, in *User, updateMask *field_mask.FieldMask, db *gorm.DB) (*User, error)

DefaultPatchUser executes a basic gorm update call with patch behavior

func DefaultReadUser

func DefaultReadUser(ctx context.Context, in *User, db *gorm.DB) (*User, error)

func DefaultStrictUpdateUser

func DefaultStrictUpdateUser(ctx context.Context, in *User, db *gorm.DB) (*User, error)

DefaultStrictUpdateUser clears / replaces / appends first level 1:many children and then executes a gorm update call

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetGroups

func (x *User) GetGroups() []*Group

func (*User) GetId

func (x *User) GetId() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetUID

func (x *User) GetUID() int32

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamppb.Timestamp

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) ToORM

func (m *User) ToORM(ctx context.Context) (UserORM, 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 UserORM

type UserORM struct {
	CreatedAt *time.Time
	Groups    []*GroupORM `` /* 137-byte string literal not displayed */
	HostId    *string
	Id        string `gorm:"type:uuid;primary_key"`
	Name      string
	UID       int32
	UpdatedAt *time.Time
}

func (*UserORM) BeforeCreate

func (user *UserORM) BeforeCreate(tx *gorm.DB) (err error)

BeforeCreate - GORM-specific autogenerated helpers.

func (UserORM) TableName

func (UserORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*UserORM) ToPB

func (m *UserORM) ToPB(ctx context.Context) (User, 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 UserORMWithAfterCreate_

type UserORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm.DB) error
}

type UserORMWithAfterDeleteSet

type UserORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*User, *gorm.DB) error
}

type UserORMWithAfterDelete_

type UserORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm.DB) error
}

type UserORMWithAfterListFind

type UserORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm.DB, *[]UserORM) error
}

type UserORMWithAfterReadFind

type UserORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm.DB) error
}

type UserORMWithAfterStrictUpdateSave

type UserORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm.DB) error
}

type UserORMWithBeforeCreate_

type UserORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UserORMWithBeforeDeleteSet

type UserORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*User, *gorm.DB) (*gorm.DB, error)
}

type UserORMWithBeforeDelete_

type UserORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UserORMWithBeforeListApplyQuery

type UserORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UserORMWithBeforeListFind

type UserORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UserORMWithBeforeReadApplyQuery

type UserORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UserORMWithBeforeReadFind

type UserORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UserORMWithBeforeStrictUpdateCleanup

type UserORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UserORMWithBeforeStrictUpdateSave

type UserORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm.DB) (*gorm.DB, error)
}

type UserWithAfterPatchSave

type UserWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *User, *field_mask.FieldMask, *gorm.DB) error
}

type UserWithAfterToORM

type UserWithAfterToORM interface {
	AfterToORM(context.Context, *UserORM) error
}

UserAfterToORM called after default ToORM code

type UserWithAfterToPB

type UserWithAfterToPB interface {
	AfterToPB(context.Context, *User) error
}

UserAfterToPB called after default ToPB code

type UserWithBeforePatchApplyFieldMask

type UserWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *User, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type UserWithBeforePatchRead

type UserWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *User, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type UserWithBeforePatchSave

type UserWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *User, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error)
}

type UserWithBeforeToORM

type UserWithBeforeToORM interface {
	BeforeToORM(context.Context, *UserORM) error
}

UserBeforeToORM called before default ToORM code

type UserWithBeforeToPB

type UserWithBeforeToPB interface {
	BeforeToPB(context.Context, *User) error
}

UserBeforeToPB called before default ToPB code

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL