hold

package
v0.0.0-test-multiarch Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	gen.UnimplementedHubApiServer
	// contains filtered or unexported fields
}

Server forwards all HubApiServer calls to impl if present or returns errNotEnabled.

func (*Server) Empty

func (s *Server) Empty()

func (*Server) EnrollHubNode

func (s *Server) EnrollHubNode(ctx context.Context, request *gen.EnrollHubNodeRequest) (*gen.HubNode, error)

func (*Server) Fill

func (s *Server) Fill(impl gen.HubApiClient)

func (*Server) ForgetHubNode

func (s *Server) ForgetHubNode(ctx context.Context, request *gen.ForgetHubNodeRequest) (*gen.ForgetHubNodeResponse, error)

func (*Server) GetHubNode

func (s *Server) GetHubNode(ctx context.Context, request *gen.GetHubNodeRequest) (*gen.HubNode, error)

func (*Server) InspectHubNode

func (s *Server) InspectHubNode(ctx context.Context, request *gen.InspectHubNodeRequest) (*gen.HubNodeInspection, error)

func (*Server) ListHubNodes

func (s *Server) ListHubNodes(ctx context.Context, request *gen.ListHubNodesRequest) (*gen.ListHubNodesResponse, error)

func (*Server) PullHubNodes

func (s *Server) PullHubNodes(request *gen.PullHubNodesRequest, server gen.HubApi_PullHubNodesServer) error

func (*Server) Register

func (s *Server) Register(server *grpc.Server)

func (*Server) RenewHubNode

func (s *Server) RenewHubNode(ctx context.Context, request *gen.RenewHubNodeRequest) (*gen.HubNode, error)

func (*Server) TestHubNode

func (s *Server) TestHubNode(ctx context.Context, request *gen.TestHubNodeRequest) (*gen.TestHubNodeResponse, error)

Jump to

Keyboard shortcuts

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