server

package
v0.0.0-...-2119b44 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupEventServer

type LookupEventServer struct {
	epb.UnimplementedEventNotificationServiceServer
	// contains filtered or unexported fields
}

func NewLookupEventServer

func NewLookupEventServer(orgName string, nodeRepo db.NodeRepo, orgRepo db.OrgRepo, systemRepo db.SystemRepo) *LookupEventServer

func (*LookupEventServer) EventNotification

func (l *LookupEventServer) EventNotification(ctx context.Context, e *epb.Event) (*epb.EventResponse, error)

type LookupServer

type LookupServer struct {
	pb.UnimplementedLookupServiceServer
	// contains filtered or unexported fields
}

func NewLookupServer

func NewLookupServer(nodeRepo db.NodeRepo, orgRepo db.OrgRepo, systemRepo db.SystemRepo, msgBus mb.MsgBusServiceClient, orgName string) *LookupServer

func (*LookupServer) AddNodeForOrg

func (l *LookupServer) AddNodeForOrg(ctx context.Context, req *pb.AddNodeRequest) (*pb.AddNodeResponse, error)

func (*LookupServer) AddOrg

func (*LookupServer) AddSystemForOrg

func (l *LookupServer) AddSystemForOrg(ctx context.Context, req *pb.AddSystemRequest) (*pb.AddSystemResponse, error)

func (*LookupServer) DeleteNodeForOrg

func (l *LookupServer) DeleteNodeForOrg(ctx context.Context, req *pb.DeleteNodeRequest) (*pb.DeleteNodeResponse, error)

func (*LookupServer) DeleteSystemForOrg

func (l *LookupServer) DeleteSystemForOrg(ctx context.Context, req *pb.DeleteSystemRequest) (*pb.DeleteSystemResponse, error)

func (*LookupServer) GetNode

func (*LookupServer) GetNodeForOrg

func (l *LookupServer) GetNodeForOrg(ctx context.Context, req *pb.GetNodeForOrgRequest) (*pb.GetNodeResponse, error)

func (*LookupServer) GetOrg

func (*LookupServer) GetSystemForOrg

func (l *LookupServer) GetSystemForOrg(ctx context.Context, req *pb.GetSystemRequest) (*pb.GetSystemResponse, error)

func (*LookupServer) UpdateOrg

func (*LookupServer) UpdateSystemForOrg

func (l *LookupServer) UpdateSystemForOrg(ctx context.Context, req *pb.UpdateSystemRequest) (*pb.UpdateSystemResponse, error)

Jump to

Keyboard shortcuts

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