service

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.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 ControlPlaneService

type ControlPlaneService struct {
	v1.UnimplementedControlPlaneServer
	// contains filtered or unexported fields
}

func NewControlPlaneService

func NewControlPlaneService(repo apis.Repo, servicebound apis.Servicebound, edgebound apis.Edgebound) *ControlPlaneService

func (*ControlPlaneService) GetEdge

func (cps *ControlPlaneService) GetEdge(ctx context.Context, req *v1.GetEdgeRequest) (*v1.Edge, error)

@Summary Get Edge @Tags 1.0 @Param params query v1.GetEdgeRequest true "queries" @Success 200 {object} v1.Edge "result" @Router /v1/edges/{edge_id} [get]

func (*ControlPlaneService) GetService

func (cps *ControlPlaneService) GetService(ctx context.Context, req *v1.GetServiceRequest) (*v1.Service, error)

@Summary Get Service @Tags 1.0 @Param params query v1.GetServiceRequest true "queries" @Success 200 {object} v1.Service "result" @Router /v1/services/{service_id} [get]

func (*ControlPlaneService) KickEdge

@Summary Kick Edge @Tags 1.0 @Param params query v1.KickEdgeRequest true "queries" @Success 200 {object} v1.KickEdgeResponse "result" @Router /v1/edges/{edge_id} [delete]

func (*ControlPlaneService) KickService

@Summary Kick Service @Tags 1.0 @Param params query v1.KickServiceRequest true "queries" @Success 200 {object} v1.KickServiceResponse "result" @Router /v1/services/{service_id} [delete]

func (*ControlPlaneService) ListEdgeRPCs

@Summary List Edges RPCs @Tags 1.0 @Param params query v1.ListEdgeRPCsRequest true "queries" @Success 200 {object} v1.ListEdgeRPCsResponse "result" @Router /v1/edges/rpcs [get]

func (*ControlPlaneService) ListEdges

@Summary ListEdges @Tags 1.0 @Param params query v1.ListEdgesRequest true "queries" @Success 200 {object} v1.ListEdgesResponse "result" @Router /v1/edges [get]

func (*ControlPlaneService) ListServiceRPCs

@Summary List Services RPCs @Tags 1.0 @Param params query v1.ListServiceRPCsRequest true "queries" @Success 200 {object} v1.ListServiceRPCsResponse "result" @Router /v1/services/rpcs [get]

func (*ControlPlaneService) ListServiceTopics

@Summary List Services Topics @Tags 1.0 @Param params query v1.ListServiceTopicsRequest true "queries" @Success 200 {object} v1.ListServiceTopicsResponse "result" @Router /v1/services/topics [get]

func (*ControlPlaneService) ListServices

@Summary List Services @Tags 1.0 @Param params query v1.ListServicesRequest true "queries" @Success 200 {object} v1.ListServicesResponse "result" @Router /v1/services [get]

Jump to

Keyboard shortcuts

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