Documentation ¶
Index ¶
- Variables
- func RegisterMetadataServiceServer(s *grpc.Server, srv MetadataServiceServer)
- func RegisterNodeAndPortScanServiceServer(s *grpc.Server, srv NodeAndPortScanServiceServer)
- func RegisterNodeWakeServiceServer(s *grpc.Server, srv NodeWakeServiceServer)
- type MetadataServiceClient
- type MetadataServiceServer
- type NodeAndPortScanServiceClient
- type NodeAndPortScanServiceServer
- type NodeAndPortScanService_SubscribeToNodeScansClient
- type NodeAndPortScanService_SubscribeToNodeScansServer
- type NodeAndPortScanService_SubscribeToNodesClient
- type NodeAndPortScanService_SubscribeToNodesServer
- type NodeAndPortScanService_SubscribeToPortScansClient
- type NodeAndPortScanService_SubscribeToPortScansServer
- type NodeAndPortScanService_SubscribeToPortsClient
- type NodeAndPortScanService_SubscribeToPortsServer
- type NodeMessage
- func (*NodeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NodeMessage) GetCreatedAt() string
- func (x *NodeMessage) GetID() int64
- func (x *NodeMessage) GetIPAddress() string
- func (x *NodeMessage) GetMACAddress() string
- func (x *NodeMessage) GetNodeScanID() int64
- func (x *NodeMessage) GetPoweredOn() bool
- func (x *NodeMessage) GetPriority() int64
- func (*NodeMessage) ProtoMessage()
- func (x *NodeMessage) ProtoReflect() protoreflect.Message
- func (x *NodeMessage) Reset()
- func (x *NodeMessage) String() string
- type NodeMetadataMessage
- func (*NodeMetadataMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NodeMetadataMessage) GetAddress() string
- func (x *NodeMetadataMessage) GetMACAddress() string
- func (x *NodeMetadataMessage) GetOrganization() string
- func (x *NodeMetadataMessage) GetRegistry() string
- func (x *NodeMetadataMessage) GetVendor() string
- func (x *NodeMetadataMessage) GetVisible() bool
- func (*NodeMetadataMessage) ProtoMessage()
- func (x *NodeMetadataMessage) ProtoReflect() protoreflect.Message
- func (x *NodeMetadataMessage) Reset()
- func (x *NodeMetadataMessage) String() string
- type NodeMetadataReferenceMessage
- func (*NodeMetadataReferenceMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NodeMetadataReferenceMessage) GetMACAddress() string
- func (*NodeMetadataReferenceMessage) ProtoMessage()
- func (x *NodeMetadataReferenceMessage) ProtoReflect() protoreflect.Message
- func (x *NodeMetadataReferenceMessage) Reset()
- func (x *NodeMetadataReferenceMessage) String() string
- type NodeScanMessage
- func (*NodeScanMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NodeScanMessage) GetCreatedAt() string
- func (x *NodeScanMessage) GetDone() bool
- func (x *NodeScanMessage) GetID() int64
- func (*NodeScanMessage) ProtoMessage()
- func (x *NodeScanMessage) ProtoReflect() protoreflect.Message
- func (x *NodeScanMessage) Reset()
- func (x *NodeScanMessage) String() string
- type NodeScanStartMessage
- func (*NodeScanStartMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NodeScanStartMessage) GetMACAddress() string
- func (x *NodeScanStartMessage) GetNodeScanTimeout() int64
- func (x *NodeScanStartMessage) GetPortScanTimeout() int64
- func (*NodeScanStartMessage) ProtoMessage()
- func (x *NodeScanStartMessage) ProtoReflect() protoreflect.Message
- func (x *NodeScanStartMessage) Reset()
- func (x *NodeScanStartMessage) String() string
- type NodeWakeMessage
- func (*NodeWakeMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NodeWakeMessage) GetCreatedAt() string
- func (x *NodeWakeMessage) GetDone() bool
- func (x *NodeWakeMessage) GetID() int64
- func (x *NodeWakeMessage) GetMACAddress() string
- func (x *NodeWakeMessage) GetPoweredOn() bool
- func (x *NodeWakeMessage) GetPriority() int64
- func (*NodeWakeMessage) ProtoMessage()
- func (x *NodeWakeMessage) ProtoReflect() protoreflect.Message
- func (x *NodeWakeMessage) Reset()
- func (x *NodeWakeMessage) String() string
- type NodeWakeServiceClient
- type NodeWakeServiceServer
- type NodeWakeService_SubscribeToNodeWakesClient
- type NodeWakeService_SubscribeToNodeWakesServer
- type NodeWakeStartMessage
- func (*NodeWakeStartMessage) Descriptor() ([]byte, []int)deprecated
- func (x *NodeWakeStartMessage) GetMACAddress() string
- func (x *NodeWakeStartMessage) GetNodeWakeTimeout() int64
- func (*NodeWakeStartMessage) ProtoMessage()
- func (x *NodeWakeStartMessage) ProtoReflect() protoreflect.Message
- func (x *NodeWakeStartMessage) Reset()
- func (x *NodeWakeStartMessage) String() string
- type PortMessage
- func (*PortMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PortMessage) GetCreatedAt() string
- func (x *PortMessage) GetID() int64
- func (x *PortMessage) GetPortNumber() int64
- func (x *PortMessage) GetPortScanID() int64
- func (x *PortMessage) GetPriority() int64
- func (x *PortMessage) GetTransportProtocol() string
- func (*PortMessage) ProtoMessage()
- func (x *PortMessage) ProtoReflect() protoreflect.Message
- func (x *PortMessage) Reset()
- func (x *PortMessage) String() string
- type PortMetadataMessage
- func (*PortMetadataMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PortMetadataMessage) GetAssignee() string
- func (x *PortMetadataMessage) GetAssignmentNotes() string
- func (x *PortMetadataMessage) GetContact() string
- func (x *PortMetadataMessage) GetDescription() string
- func (x *PortMetadataMessage) GetModificationDate() string
- func (x *PortMetadataMessage) GetPortNumber() int64
- func (x *PortMetadataMessage) GetReference() string
- func (x *PortMetadataMessage) GetRegistrationDate() string
- func (x *PortMetadataMessage) GetServiceCode() string
- func (x *PortMetadataMessage) GetServiceName() string
- func (x *PortMetadataMessage) GetTransportProtocol() string
- func (x *PortMetadataMessage) GetUnauthorizedUseReported() string
- func (*PortMetadataMessage) ProtoMessage()
- func (x *PortMetadataMessage) ProtoReflect() protoreflect.Message
- func (x *PortMetadataMessage) Reset()
- func (x *PortMetadataMessage) String() string
- type PortMetadataReferenceMessage
- func (*PortMetadataReferenceMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PortMetadataReferenceMessage) GetPortNumber() int64
- func (x *PortMetadataReferenceMessage) GetTransportProtocol() string
- func (*PortMetadataReferenceMessage) ProtoMessage()
- func (x *PortMetadataReferenceMessage) ProtoReflect() protoreflect.Message
- func (x *PortMetadataReferenceMessage) Reset()
- func (x *PortMetadataReferenceMessage) String() string
- type PortScanMessage
- func (*PortScanMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PortScanMessage) GetCreatedAt() string
- func (x *PortScanMessage) GetDone() bool
- func (x *PortScanMessage) GetID() int64
- func (x *PortScanMessage) GetNodeID() int64
- func (*PortScanMessage) ProtoMessage()
- func (x *PortScanMessage) ProtoReflect() protoreflect.Message
- func (x *PortScanMessage) Reset()
- func (x *PortScanMessage) String() string
- type ScannerMetadataMessage
- func (*ScannerMetadataMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ScannerMetadataMessage) GetDevice() string
- func (x *ScannerMetadataMessage) GetSubnets() []string
- func (*ScannerMetadataMessage) ProtoMessage()
- func (x *ScannerMetadataMessage) ProtoReflect() protoreflect.Message
- func (x *ScannerMetadataMessage) Reset()
- func (x *ScannerMetadataMessage) String() string
- type UnimplementedMetadataServiceServer
- func (*UnimplementedMetadataServiceServer) GetMetadataForNode(context.Context, *NodeMetadataReferenceMessage) (*NodeMetadataMessage, error)
- func (*UnimplementedMetadataServiceServer) GetMetadataForPort(context.Context, *PortMetadataReferenceMessage) (*PortMetadataMessage, error)
- func (*UnimplementedMetadataServiceServer) GetMetadataForScanner(context.Context, *empty.Empty) (*ScannerMetadataMessage, error)
- type UnimplementedNodeAndPortScanServiceServer
- func (*UnimplementedNodeAndPortScanServiceServer) StartNodeScan(context.Context, *NodeScanStartMessage) (*NodeScanMessage, error)
- func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToNodeScans(*empty.Empty, NodeAndPortScanService_SubscribeToNodeScansServer) error
- func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToNodes(*NodeScanMessage, NodeAndPortScanService_SubscribeToNodesServer) error
- func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToPortScans(*NodeMessage, NodeAndPortScanService_SubscribeToPortScansServer) error
- func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToPorts(*PortScanMessage, NodeAndPortScanService_SubscribeToPortsServer) error
- type UnimplementedNodeWakeServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_metadata_proto protoreflect.FileDescriptor
var File_node_and_port_scan_proto protoreflect.FileDescriptor
var File_node_wake_proto protoreflect.FileDescriptor
Functions ¶
func RegisterMetadataServiceServer ¶
func RegisterMetadataServiceServer(s *grpc.Server, srv MetadataServiceServer)
func RegisterNodeAndPortScanServiceServer ¶
func RegisterNodeAndPortScanServiceServer(s *grpc.Server, srv NodeAndPortScanServiceServer)
func RegisterNodeWakeServiceServer ¶
func RegisterNodeWakeServiceServer(s *grpc.Server, srv NodeWakeServiceServer)
Types ¶
type MetadataServiceClient ¶
type MetadataServiceClient interface { GetMetadataForScanner(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ScannerMetadataMessage, error) GetMetadataForNode(ctx context.Context, in *NodeMetadataReferenceMessage, opts ...grpc.CallOption) (*NodeMetadataMessage, error) GetMetadataForPort(ctx context.Context, in *PortMetadataReferenceMessage, opts ...grpc.CallOption) (*PortMetadataMessage, error) }
MetadataServiceClient is the client API for MetadataService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMetadataServiceClient ¶
func NewMetadataServiceClient(cc grpc.ClientConnInterface) MetadataServiceClient
type MetadataServiceServer ¶
type MetadataServiceServer interface { GetMetadataForScanner(context.Context, *empty.Empty) (*ScannerMetadataMessage, error) GetMetadataForNode(context.Context, *NodeMetadataReferenceMessage) (*NodeMetadataMessage, error) GetMetadataForPort(context.Context, *PortMetadataReferenceMessage) (*PortMetadataMessage, error) }
MetadataServiceServer is the server API for MetadataService service.
type NodeAndPortScanServiceClient ¶
type NodeAndPortScanServiceClient interface { StartNodeScan(ctx context.Context, in *NodeScanStartMessage, opts ...grpc.CallOption) (*NodeScanMessage, error) SubscribeToNodeScans(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (NodeAndPortScanService_SubscribeToNodeScansClient, error) SubscribeToNodes(ctx context.Context, in *NodeScanMessage, opts ...grpc.CallOption) (NodeAndPortScanService_SubscribeToNodesClient, error) SubscribeToPortScans(ctx context.Context, in *NodeMessage, opts ...grpc.CallOption) (NodeAndPortScanService_SubscribeToPortScansClient, error) SubscribeToPorts(ctx context.Context, in *PortScanMessage, opts ...grpc.CallOption) (NodeAndPortScanService_SubscribeToPortsClient, error) }
NodeAndPortScanServiceClient is the client API for NodeAndPortScanService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNodeAndPortScanServiceClient ¶
func NewNodeAndPortScanServiceClient(cc grpc.ClientConnInterface) NodeAndPortScanServiceClient
type NodeAndPortScanServiceServer ¶
type NodeAndPortScanServiceServer interface { StartNodeScan(context.Context, *NodeScanStartMessage) (*NodeScanMessage, error) SubscribeToNodeScans(*empty.Empty, NodeAndPortScanService_SubscribeToNodeScansServer) error SubscribeToNodes(*NodeScanMessage, NodeAndPortScanService_SubscribeToNodesServer) error SubscribeToPortScans(*NodeMessage, NodeAndPortScanService_SubscribeToPortScansServer) error SubscribeToPorts(*PortScanMessage, NodeAndPortScanService_SubscribeToPortsServer) error }
NodeAndPortScanServiceServer is the server API for NodeAndPortScanService service.
type NodeAndPortScanService_SubscribeToNodeScansClient ¶
type NodeAndPortScanService_SubscribeToNodeScansClient interface { Recv() (*NodeScanMessage, error) grpc.ClientStream }
type NodeAndPortScanService_SubscribeToNodeScansServer ¶
type NodeAndPortScanService_SubscribeToNodeScansServer interface { Send(*NodeScanMessage) error grpc.ServerStream }
type NodeAndPortScanService_SubscribeToNodesClient ¶
type NodeAndPortScanService_SubscribeToNodesClient interface { Recv() (*NodeMessage, error) grpc.ClientStream }
type NodeAndPortScanService_SubscribeToNodesServer ¶
type NodeAndPortScanService_SubscribeToNodesServer interface { Send(*NodeMessage) error grpc.ServerStream }
type NodeAndPortScanService_SubscribeToPortScansClient ¶
type NodeAndPortScanService_SubscribeToPortScansClient interface { Recv() (*PortScanMessage, error) grpc.ClientStream }
type NodeAndPortScanService_SubscribeToPortScansServer ¶
type NodeAndPortScanService_SubscribeToPortScansServer interface { Send(*PortScanMessage) error grpc.ServerStream }
type NodeAndPortScanService_SubscribeToPortsClient ¶
type NodeAndPortScanService_SubscribeToPortsClient interface { Recv() (*PortMessage, error) grpc.ClientStream }
type NodeAndPortScanService_SubscribeToPortsServer ¶
type NodeAndPortScanService_SubscribeToPortsServer interface { Send(*PortMessage) error grpc.ServerStream }
type NodeMessage ¶
type NodeMessage struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` CreatedAt string `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` Priority int64 `protobuf:"varint,3,opt,name=Priority,proto3" json:"Priority,omitempty"` MACAddress string `protobuf:"bytes,4,opt,name=MACAddress,proto3" json:"MACAddress,omitempty"` IPAddress string `protobuf:"bytes,5,opt,name=IPAddress,proto3" json:"IPAddress,omitempty"` NodeScanID int64 `protobuf:"varint,6,opt,name=NodeScanID,proto3" json:"NodeScanID,omitempty"` PoweredOn bool `protobuf:"varint,7,opt,name=PoweredOn,proto3" json:"PoweredOn,omitempty"` // contains filtered or unexported fields }
func (*NodeMessage) Descriptor
deprecated
func (*NodeMessage) Descriptor() ([]byte, []int)
Deprecated: Use NodeMessage.ProtoReflect.Descriptor instead.
func (*NodeMessage) GetCreatedAt ¶
func (x *NodeMessage) GetCreatedAt() string
func (*NodeMessage) GetID ¶
func (x *NodeMessage) GetID() int64
func (*NodeMessage) GetIPAddress ¶
func (x *NodeMessage) GetIPAddress() string
func (*NodeMessage) GetMACAddress ¶
func (x *NodeMessage) GetMACAddress() string
func (*NodeMessage) GetNodeScanID ¶
func (x *NodeMessage) GetNodeScanID() int64
func (*NodeMessage) GetPoweredOn ¶
func (x *NodeMessage) GetPoweredOn() bool
func (*NodeMessage) GetPriority ¶
func (x *NodeMessage) GetPriority() int64
func (*NodeMessage) ProtoMessage ¶
func (*NodeMessage) ProtoMessage()
func (*NodeMessage) ProtoReflect ¶
func (x *NodeMessage) ProtoReflect() protoreflect.Message
func (*NodeMessage) Reset ¶
func (x *NodeMessage) Reset()
func (*NodeMessage) String ¶
func (x *NodeMessage) String() string
type NodeMetadataMessage ¶
type NodeMetadataMessage struct { MACAddress string `protobuf:"bytes,1,opt,name=MACAddress,proto3" json:"MACAddress,omitempty"` Vendor string `protobuf:"bytes,3,opt,name=Vendor,proto3" json:"Vendor,omitempty"` Registry string `protobuf:"bytes,4,opt,name=Registry,proto3" json:"Registry,omitempty"` Organization string `protobuf:"bytes,5,opt,name=Organization,proto3" json:"Organization,omitempty"` Address string `protobuf:"bytes,6,opt,name=Address,proto3" json:"Address,omitempty"` Visible bool `protobuf:"varint,7,opt,name=Visible,proto3" json:"Visible,omitempty"` // contains filtered or unexported fields }
func (*NodeMetadataMessage) Descriptor
deprecated
func (*NodeMetadataMessage) Descriptor() ([]byte, []int)
Deprecated: Use NodeMetadataMessage.ProtoReflect.Descriptor instead.
func (*NodeMetadataMessage) GetAddress ¶
func (x *NodeMetadataMessage) GetAddress() string
func (*NodeMetadataMessage) GetMACAddress ¶
func (x *NodeMetadataMessage) GetMACAddress() string
func (*NodeMetadataMessage) GetOrganization ¶
func (x *NodeMetadataMessage) GetOrganization() string
func (*NodeMetadataMessage) GetRegistry ¶
func (x *NodeMetadataMessage) GetRegistry() string
func (*NodeMetadataMessage) GetVendor ¶
func (x *NodeMetadataMessage) GetVendor() string
func (*NodeMetadataMessage) GetVisible ¶
func (x *NodeMetadataMessage) GetVisible() bool
func (*NodeMetadataMessage) ProtoMessage ¶
func (*NodeMetadataMessage) ProtoMessage()
func (*NodeMetadataMessage) ProtoReflect ¶
func (x *NodeMetadataMessage) ProtoReflect() protoreflect.Message
func (*NodeMetadataMessage) Reset ¶
func (x *NodeMetadataMessage) Reset()
func (*NodeMetadataMessage) String ¶
func (x *NodeMetadataMessage) String() string
type NodeMetadataReferenceMessage ¶
type NodeMetadataReferenceMessage struct { MACAddress string `protobuf:"bytes,1,opt,name=MACAddress,proto3" json:"MACAddress,omitempty"` // contains filtered or unexported fields }
func (*NodeMetadataReferenceMessage) Descriptor
deprecated
func (*NodeMetadataReferenceMessage) Descriptor() ([]byte, []int)
Deprecated: Use NodeMetadataReferenceMessage.ProtoReflect.Descriptor instead.
func (*NodeMetadataReferenceMessage) GetMACAddress ¶
func (x *NodeMetadataReferenceMessage) GetMACAddress() string
func (*NodeMetadataReferenceMessage) ProtoMessage ¶
func (*NodeMetadataReferenceMessage) ProtoMessage()
func (*NodeMetadataReferenceMessage) ProtoReflect ¶
func (x *NodeMetadataReferenceMessage) ProtoReflect() protoreflect.Message
func (*NodeMetadataReferenceMessage) Reset ¶
func (x *NodeMetadataReferenceMessage) Reset()
func (*NodeMetadataReferenceMessage) String ¶
func (x *NodeMetadataReferenceMessage) String() string
type NodeScanMessage ¶
type NodeScanMessage struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` CreatedAt string `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` Done bool `protobuf:"varint,3,opt,name=Done,proto3" json:"Done,omitempty"` // contains filtered or unexported fields }
func (*NodeScanMessage) Descriptor
deprecated
func (*NodeScanMessage) Descriptor() ([]byte, []int)
Deprecated: Use NodeScanMessage.ProtoReflect.Descriptor instead.
func (*NodeScanMessage) GetCreatedAt ¶
func (x *NodeScanMessage) GetCreatedAt() string
func (*NodeScanMessage) GetDone ¶
func (x *NodeScanMessage) GetDone() bool
func (*NodeScanMessage) GetID ¶
func (x *NodeScanMessage) GetID() int64
func (*NodeScanMessage) ProtoMessage ¶
func (*NodeScanMessage) ProtoMessage()
func (*NodeScanMessage) ProtoReflect ¶
func (x *NodeScanMessage) ProtoReflect() protoreflect.Message
func (*NodeScanMessage) Reset ¶
func (x *NodeScanMessage) Reset()
func (*NodeScanMessage) String ¶
func (x *NodeScanMessage) String() string
type NodeScanStartMessage ¶
type NodeScanStartMessage struct { NodeScanTimeout int64 `protobuf:"varint,1,opt,name=NodeScanTimeout,proto3" json:"NodeScanTimeout,omitempty"` PortScanTimeout int64 `protobuf:"varint,2,opt,name=PortScanTimeout,proto3" json:"PortScanTimeout,omitempty"` MACAddress string `protobuf:"bytes,3,opt,name=MACAddress,proto3" json:"MACAddress,omitempty"` // Scopes the scan to one node. Set to "" to scan all. // contains filtered or unexported fields }
func (*NodeScanStartMessage) Descriptor
deprecated
func (*NodeScanStartMessage) Descriptor() ([]byte, []int)
Deprecated: Use NodeScanStartMessage.ProtoReflect.Descriptor instead.
func (*NodeScanStartMessage) GetMACAddress ¶
func (x *NodeScanStartMessage) GetMACAddress() string
func (*NodeScanStartMessage) GetNodeScanTimeout ¶
func (x *NodeScanStartMessage) GetNodeScanTimeout() int64
func (*NodeScanStartMessage) GetPortScanTimeout ¶
func (x *NodeScanStartMessage) GetPortScanTimeout() int64
func (*NodeScanStartMessage) ProtoMessage ¶
func (*NodeScanStartMessage) ProtoMessage()
func (*NodeScanStartMessage) ProtoReflect ¶
func (x *NodeScanStartMessage) ProtoReflect() protoreflect.Message
func (*NodeScanStartMessage) Reset ¶
func (x *NodeScanStartMessage) Reset()
func (*NodeScanStartMessage) String ¶
func (x *NodeScanStartMessage) String() string
type NodeWakeMessage ¶
type NodeWakeMessage struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` CreatedAt string `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` Done bool `protobuf:"varint,3,opt,name=Done,proto3" json:"Done,omitempty"` Priority int64 `protobuf:"varint,4,opt,name=Priority,proto3" json:"Priority,omitempty"` MACAddress string `protobuf:"bytes,5,opt,name=MACAddress,proto3" json:"MACAddress,omitempty"` PoweredOn bool `protobuf:"varint,6,opt,name=PoweredOn,proto3" json:"PoweredOn,omitempty"` // contains filtered or unexported fields }
func (*NodeWakeMessage) Descriptor
deprecated
func (*NodeWakeMessage) Descriptor() ([]byte, []int)
Deprecated: Use NodeWakeMessage.ProtoReflect.Descriptor instead.
func (*NodeWakeMessage) GetCreatedAt ¶
func (x *NodeWakeMessage) GetCreatedAt() string
func (*NodeWakeMessage) GetDone ¶
func (x *NodeWakeMessage) GetDone() bool
func (*NodeWakeMessage) GetID ¶
func (x *NodeWakeMessage) GetID() int64
func (*NodeWakeMessage) GetMACAddress ¶
func (x *NodeWakeMessage) GetMACAddress() string
func (*NodeWakeMessage) GetPoweredOn ¶
func (x *NodeWakeMessage) GetPoweredOn() bool
func (*NodeWakeMessage) GetPriority ¶
func (x *NodeWakeMessage) GetPriority() int64
func (*NodeWakeMessage) ProtoMessage ¶
func (*NodeWakeMessage) ProtoMessage()
func (*NodeWakeMessage) ProtoReflect ¶
func (x *NodeWakeMessage) ProtoReflect() protoreflect.Message
func (*NodeWakeMessage) Reset ¶
func (x *NodeWakeMessage) Reset()
func (*NodeWakeMessage) String ¶
func (x *NodeWakeMessage) String() string
type NodeWakeServiceClient ¶
type NodeWakeServiceClient interface { StartNodeWake(ctx context.Context, in *NodeWakeStartMessage, opts ...grpc.CallOption) (*NodeWakeMessage, error) SubscribeToNodeWakes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (NodeWakeService_SubscribeToNodeWakesClient, error) }
NodeWakeServiceClient is the client API for NodeWakeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNodeWakeServiceClient ¶
func NewNodeWakeServiceClient(cc grpc.ClientConnInterface) NodeWakeServiceClient
type NodeWakeServiceServer ¶
type NodeWakeServiceServer interface { StartNodeWake(context.Context, *NodeWakeStartMessage) (*NodeWakeMessage, error) SubscribeToNodeWakes(*empty.Empty, NodeWakeService_SubscribeToNodeWakesServer) error }
NodeWakeServiceServer is the server API for NodeWakeService service.
type NodeWakeService_SubscribeToNodeWakesClient ¶
type NodeWakeService_SubscribeToNodeWakesClient interface { Recv() (*NodeWakeMessage, error) grpc.ClientStream }
type NodeWakeService_SubscribeToNodeWakesServer ¶
type NodeWakeService_SubscribeToNodeWakesServer interface { Send(*NodeWakeMessage) error grpc.ServerStream }
type NodeWakeStartMessage ¶
type NodeWakeStartMessage struct { NodeWakeTimeout int64 `protobuf:"varint,1,opt,name=NodeWakeTimeout,proto3" json:"NodeWakeTimeout,omitempty"` MACAddress string `protobuf:"bytes,2,opt,name=MACAddress,proto3" json:"MACAddress,omitempty"` // contains filtered or unexported fields }
func (*NodeWakeStartMessage) Descriptor
deprecated
func (*NodeWakeStartMessage) Descriptor() ([]byte, []int)
Deprecated: Use NodeWakeStartMessage.ProtoReflect.Descriptor instead.
func (*NodeWakeStartMessage) GetMACAddress ¶
func (x *NodeWakeStartMessage) GetMACAddress() string
func (*NodeWakeStartMessage) GetNodeWakeTimeout ¶
func (x *NodeWakeStartMessage) GetNodeWakeTimeout() int64
func (*NodeWakeStartMessage) ProtoMessage ¶
func (*NodeWakeStartMessage) ProtoMessage()
func (*NodeWakeStartMessage) ProtoReflect ¶
func (x *NodeWakeStartMessage) ProtoReflect() protoreflect.Message
func (*NodeWakeStartMessage) Reset ¶
func (x *NodeWakeStartMessage) Reset()
func (*NodeWakeStartMessage) String ¶
func (x *NodeWakeStartMessage) String() string
type PortMessage ¶
type PortMessage struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` CreatedAt string `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` Priority int64 `protobuf:"varint,3,opt,name=Priority,proto3" json:"Priority,omitempty"` PortNumber int64 `protobuf:"varint,4,opt,name=PortNumber,proto3" json:"PortNumber,omitempty"` TransportProtocol string `protobuf:"bytes,5,opt,name=TransportProtocol,proto3" json:"TransportProtocol,omitempty"` PortScanID int64 `protobuf:"varint,6,opt,name=PortScanID,proto3" json:"PortScanID,omitempty"` // contains filtered or unexported fields }
func (*PortMessage) Descriptor
deprecated
func (*PortMessage) Descriptor() ([]byte, []int)
Deprecated: Use PortMessage.ProtoReflect.Descriptor instead.
func (*PortMessage) GetCreatedAt ¶
func (x *PortMessage) GetCreatedAt() string
func (*PortMessage) GetID ¶
func (x *PortMessage) GetID() int64
func (*PortMessage) GetPortNumber ¶
func (x *PortMessage) GetPortNumber() int64
func (*PortMessage) GetPortScanID ¶
func (x *PortMessage) GetPortScanID() int64
func (*PortMessage) GetPriority ¶
func (x *PortMessage) GetPriority() int64
func (*PortMessage) GetTransportProtocol ¶
func (x *PortMessage) GetTransportProtocol() string
func (*PortMessage) ProtoMessage ¶
func (*PortMessage) ProtoMessage()
func (*PortMessage) ProtoReflect ¶
func (x *PortMessage) ProtoReflect() protoreflect.Message
func (*PortMessage) Reset ¶
func (x *PortMessage) Reset()
func (*PortMessage) String ¶
func (x *PortMessage) String() string
type PortMetadataMessage ¶
type PortMetadataMessage struct { ServiceName string `protobuf:"bytes,1,opt,name=ServiceName,proto3" json:"ServiceName,omitempty"` PortNumber int64 `protobuf:"varint,2,opt,name=PortNumber,proto3" json:"PortNumber,omitempty"` TransportProtocol string `protobuf:"bytes,3,opt,name=TransportProtocol,proto3" json:"TransportProtocol,omitempty"` Description string `protobuf:"bytes,4,opt,name=Description,proto3" json:"Description,omitempty"` Assignee string `protobuf:"bytes,5,opt,name=Assignee,proto3" json:"Assignee,omitempty"` Contact string `protobuf:"bytes,6,opt,name=Contact,proto3" json:"Contact,omitempty"` RegistrationDate string `protobuf:"bytes,7,opt,name=RegistrationDate,proto3" json:"RegistrationDate,omitempty"` ModificationDate string `protobuf:"bytes,8,opt,name=ModificationDate,proto3" json:"ModificationDate,omitempty"` Reference string `protobuf:"bytes,9,opt,name=Reference,proto3" json:"Reference,omitempty"` ServiceCode string `protobuf:"bytes,10,opt,name=ServiceCode,proto3" json:"ServiceCode,omitempty"` AssignmentNotes string `protobuf:"bytes,12,opt,name=AssignmentNotes,proto3" json:"AssignmentNotes,omitempty"` // contains filtered or unexported fields }
func (*PortMetadataMessage) Descriptor
deprecated
func (*PortMetadataMessage) Descriptor() ([]byte, []int)
Deprecated: Use PortMetadataMessage.ProtoReflect.Descriptor instead.
func (*PortMetadataMessage) GetAssignee ¶
func (x *PortMetadataMessage) GetAssignee() string
func (*PortMetadataMessage) GetAssignmentNotes ¶
func (x *PortMetadataMessage) GetAssignmentNotes() string
func (*PortMetadataMessage) GetContact ¶
func (x *PortMetadataMessage) GetContact() string
func (*PortMetadataMessage) GetDescription ¶
func (x *PortMetadataMessage) GetDescription() string
func (*PortMetadataMessage) GetModificationDate ¶
func (x *PortMetadataMessage) GetModificationDate() string
func (*PortMetadataMessage) GetPortNumber ¶
func (x *PortMetadataMessage) GetPortNumber() int64
func (*PortMetadataMessage) GetReference ¶
func (x *PortMetadataMessage) GetReference() string
func (*PortMetadataMessage) GetRegistrationDate ¶
func (x *PortMetadataMessage) GetRegistrationDate() string
func (*PortMetadataMessage) GetServiceCode ¶
func (x *PortMetadataMessage) GetServiceCode() string
func (*PortMetadataMessage) GetServiceName ¶
func (x *PortMetadataMessage) GetServiceName() string
func (*PortMetadataMessage) GetTransportProtocol ¶
func (x *PortMetadataMessage) GetTransportProtocol() string
func (*PortMetadataMessage) GetUnauthorizedUseReported ¶
func (x *PortMetadataMessage) GetUnauthorizedUseReported() string
func (*PortMetadataMessage) ProtoMessage ¶
func (*PortMetadataMessage) ProtoMessage()
func (*PortMetadataMessage) ProtoReflect ¶
func (x *PortMetadataMessage) ProtoReflect() protoreflect.Message
func (*PortMetadataMessage) Reset ¶
func (x *PortMetadataMessage) Reset()
func (*PortMetadataMessage) String ¶
func (x *PortMetadataMessage) String() string
type PortMetadataReferenceMessage ¶
type PortMetadataReferenceMessage struct { PortNumber int64 `protobuf:"varint,1,opt,name=PortNumber,proto3" json:"PortNumber,omitempty"` TransportProtocol string `protobuf:"bytes,2,opt,name=TransportProtocol,proto3" json:"TransportProtocol,omitempty"` // contains filtered or unexported fields }
func (*PortMetadataReferenceMessage) Descriptor
deprecated
func (*PortMetadataReferenceMessage) Descriptor() ([]byte, []int)
Deprecated: Use PortMetadataReferenceMessage.ProtoReflect.Descriptor instead.
func (*PortMetadataReferenceMessage) GetPortNumber ¶
func (x *PortMetadataReferenceMessage) GetPortNumber() int64
func (*PortMetadataReferenceMessage) GetTransportProtocol ¶
func (x *PortMetadataReferenceMessage) GetTransportProtocol() string
func (*PortMetadataReferenceMessage) ProtoMessage ¶
func (*PortMetadataReferenceMessage) ProtoMessage()
func (*PortMetadataReferenceMessage) ProtoReflect ¶
func (x *PortMetadataReferenceMessage) ProtoReflect() protoreflect.Message
func (*PortMetadataReferenceMessage) Reset ¶
func (x *PortMetadataReferenceMessage) Reset()
func (*PortMetadataReferenceMessage) String ¶
func (x *PortMetadataReferenceMessage) String() string
type PortScanMessage ¶
type PortScanMessage struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` CreatedAt string `protobuf:"bytes,2,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` Done bool `protobuf:"varint,3,opt,name=Done,proto3" json:"Done,omitempty"` NodeID int64 `protobuf:"varint,4,opt,name=NodeID,proto3" json:"NodeID,omitempty"` // contains filtered or unexported fields }
func (*PortScanMessage) Descriptor
deprecated
func (*PortScanMessage) Descriptor() ([]byte, []int)
Deprecated: Use PortScanMessage.ProtoReflect.Descriptor instead.
func (*PortScanMessage) GetCreatedAt ¶
func (x *PortScanMessage) GetCreatedAt() string
func (*PortScanMessage) GetDone ¶
func (x *PortScanMessage) GetDone() bool
func (*PortScanMessage) GetID ¶
func (x *PortScanMessage) GetID() int64
func (*PortScanMessage) GetNodeID ¶
func (x *PortScanMessage) GetNodeID() int64
func (*PortScanMessage) ProtoMessage ¶
func (*PortScanMessage) ProtoMessage()
func (*PortScanMessage) ProtoReflect ¶
func (x *PortScanMessage) ProtoReflect() protoreflect.Message
func (*PortScanMessage) Reset ¶
func (x *PortScanMessage) Reset()
func (*PortScanMessage) String ¶
func (x *PortScanMessage) String() string
type ScannerMetadataMessage ¶
type ScannerMetadataMessage struct { Subnets []string `protobuf:"bytes,1,rep,name=Subnets,proto3" json:"Subnets,omitempty"` Device string `protobuf:"bytes,2,opt,name=Device,proto3" json:"Device,omitempty"` // contains filtered or unexported fields }
func (*ScannerMetadataMessage) Descriptor
deprecated
func (*ScannerMetadataMessage) Descriptor() ([]byte, []int)
Deprecated: Use ScannerMetadataMessage.ProtoReflect.Descriptor instead.
func (*ScannerMetadataMessage) GetDevice ¶
func (x *ScannerMetadataMessage) GetDevice() string
func (*ScannerMetadataMessage) GetSubnets ¶
func (x *ScannerMetadataMessage) GetSubnets() []string
func (*ScannerMetadataMessage) ProtoMessage ¶
func (*ScannerMetadataMessage) ProtoMessage()
func (*ScannerMetadataMessage) ProtoReflect ¶
func (x *ScannerMetadataMessage) ProtoReflect() protoreflect.Message
func (*ScannerMetadataMessage) Reset ¶
func (x *ScannerMetadataMessage) Reset()
func (*ScannerMetadataMessage) String ¶
func (x *ScannerMetadataMessage) String() string
type UnimplementedMetadataServiceServer ¶
type UnimplementedMetadataServiceServer struct { }
UnimplementedMetadataServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMetadataServiceServer) GetMetadataForNode ¶
func (*UnimplementedMetadataServiceServer) GetMetadataForNode(context.Context, *NodeMetadataReferenceMessage) (*NodeMetadataMessage, error)
func (*UnimplementedMetadataServiceServer) GetMetadataForPort ¶
func (*UnimplementedMetadataServiceServer) GetMetadataForPort(context.Context, *PortMetadataReferenceMessage) (*PortMetadataMessage, error)
func (*UnimplementedMetadataServiceServer) GetMetadataForScanner ¶
func (*UnimplementedMetadataServiceServer) GetMetadataForScanner(context.Context, *empty.Empty) (*ScannerMetadataMessage, error)
type UnimplementedNodeAndPortScanServiceServer ¶
type UnimplementedNodeAndPortScanServiceServer struct { }
UnimplementedNodeAndPortScanServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNodeAndPortScanServiceServer) StartNodeScan ¶
func (*UnimplementedNodeAndPortScanServiceServer) StartNodeScan(context.Context, *NodeScanStartMessage) (*NodeScanMessage, error)
func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToNodeScans ¶
func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToNodeScans(*empty.Empty, NodeAndPortScanService_SubscribeToNodeScansServer) error
func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToNodes ¶
func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToNodes(*NodeScanMessage, NodeAndPortScanService_SubscribeToNodesServer) error
func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToPortScans ¶
func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToPortScans(*NodeMessage, NodeAndPortScanService_SubscribeToPortScansServer) error
func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToPorts ¶
func (*UnimplementedNodeAndPortScanServiceServer) SubscribeToPorts(*PortScanMessage, NodeAndPortScanService_SubscribeToPortsServer) error
type UnimplementedNodeWakeServiceServer ¶
type UnimplementedNodeWakeServiceServer struct { }
UnimplementedNodeWakeServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNodeWakeServiceServer) StartNodeWake ¶
func (*UnimplementedNodeWakeServiceServer) StartNodeWake(context.Context, *NodeWakeStartMessage) (*NodeWakeMessage, error)
func (*UnimplementedNodeWakeServiceServer) SubscribeToNodeWakes ¶
func (*UnimplementedNodeWakeServiceServer) SubscribeToNodeWakes(*empty.Empty, NodeWakeService_SubscribeToNodeWakesServer) error