Documentation ¶
Index ¶
- type ClusterService
- func (cs *ClusterService) Check(context.Context, *v1.HealthCheckRequest) (*v1.HealthCheckResponse, error)
- func (cs *ClusterService) GetEdgeByID(ctx context.Context, req *v1.GetEdgeByIDRequest) (*v1.GetEdgeByIDResponse, error)
- func (cs *ClusterService) GetEdgesCount(ctx context.Context, req *v1.GetEdgesCountRequest) (*v1.GetEdgesCountResponse, error)
- func (cs *ClusterService) GetFrontierByEdge(ctx context.Context, req *v1.GetFrontierByEdgeIDRequest) (*v1.GetFrontierByEdgeIDResponse, error)
- func (cs *ClusterService) GetServiceByID(ctx context.Context, req *v1.GetServiceByIDRequest) (*v1.GetServiceByIDResponse, error)
- func (cs *ClusterService) GetServicesCount(ctx context.Context, req *v1.GetServicesCountRequest) (*v1.GetServicesCountResponse, error)
- func (cs *ClusterService) ListEdges(ctx context.Context, req *v1.ListEdgesRequest) (*v1.ListEdgesResponse, error)
- func (cs *ClusterService) ListFrontiers(ctx context.Context, req *v1.ListFrontiersRequest) (*v1.ListFrontiersResponse, error)
- func (cs *ClusterService) ListServices(ctx context.Context, req *v1.ListServicesRequest) (*v1.ListServicesResponse, error)
- func (cs *ClusterService) Watch(_ *v1.HealthCheckRequest, stream v1.Health_WatchServer) error
- type Readiness
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterService ¶
type ClusterService struct { v1.UnimplementedClusterServiceServer v1.UnimplementedHealthServer // contains filtered or unexported fields }
func NewClusterService ¶
func NewClusterService(repo *repo.Dao, readiness Readiness) *ClusterService
func (*ClusterService) Check ¶
func (cs *ClusterService) Check(context.Context, *v1.HealthCheckRequest) (*v1.HealthCheckResponse, error)
func (*ClusterService) GetEdgeByID ¶
func (cs *ClusterService) GetEdgeByID(ctx context.Context, req *v1.GetEdgeByIDRequest) (*v1.GetEdgeByIDResponse, error)
func (*ClusterService) GetEdgesCount ¶
func (cs *ClusterService) GetEdgesCount(ctx context.Context, req *v1.GetEdgesCountRequest) (*v1.GetEdgesCountResponse, error)
func (*ClusterService) GetFrontierByEdge ¶
func (cs *ClusterService) GetFrontierByEdge(ctx context.Context, req *v1.GetFrontierByEdgeIDRequest) (*v1.GetFrontierByEdgeIDResponse, error)
func (*ClusterService) GetServiceByID ¶
func (cs *ClusterService) GetServiceByID(ctx context.Context, req *v1.GetServiceByIDRequest) (*v1.GetServiceByIDResponse, error)
func (*ClusterService) GetServicesCount ¶
func (cs *ClusterService) GetServicesCount(ctx context.Context, req *v1.GetServicesCountRequest) (*v1.GetServicesCountResponse, error)
func (*ClusterService) ListEdges ¶
func (cs *ClusterService) ListEdges(ctx context.Context, req *v1.ListEdgesRequest) (*v1.ListEdgesResponse, error)
func (*ClusterService) ListFrontiers ¶
func (cs *ClusterService) ListFrontiers(ctx context.Context, req *v1.ListFrontiersRequest) (*v1.ListFrontiersResponse, error)
func (*ClusterService) ListServices ¶
func (cs *ClusterService) ListServices(ctx context.Context, req *v1.ListServicesRequest) (*v1.ListServicesResponse, error)
func (*ClusterService) Watch ¶
func (cs *ClusterService) Watch(_ *v1.HealthCheckRequest, stream v1.Health_WatchServer) error
Click to show internal directories.
Click to hide internal directories.