Versions in this module Expand all Collapse all v0 v0.1.0 Jul 25, 2023 Changes in this version + type EndpointService struct + func NewEndpointService(db *serverdb.DB, tc tclient.Client) *EndpointService + func (s *EndpointService) CreateEndpoint(ctx context.Context, req *endpointv1.CreateEndpointRequest) (*endpointv1.Endpoint, error) + func (s *EndpointService) DeleteEndpoint(ctx context.Context, req *endpointv1.DeleteEndpointRequest) (*emptypb.Empty, error) + func (s *EndpointService) GetEndpoint(ctx context.Context, req *endpointv1.GetEndpointRequest) (*endpointv1.Endpoint, error) + func (s *EndpointService) InternalListEndpoints(ctx context.Context, _ *emptypb.Empty) (*endpointv1.ListEndpointsResponse, error) + func (s *EndpointService) ListEndpoints(ctx context.Context, req *endpointv1.ListEndpointsRequest) (*endpointv1.ListEndpointsResponse, error) + func (s *EndpointService) UpdateEndpoint(ctx context.Context, req *endpointv1.UpdateEndpointRequest) (*endpointv1.Endpoint, error) + type LogsService struct + func NewLogsService(db *serverdb.DB) *LogsService + func (s *LogsService) GetFullLog(ctx context.Context, req *logsv1.GetFullLogRequest) (*logsv1.FullLog, error) + func (s *LogsService) GetLogs(ctx context.Context, req *logsv1.GetLogsRequest) (*logsv1.GetLogsResponse, error) + func (s *LogsService) RegisterALS(srv *grpc.Server) + func (s *LogsService) StreamAccessLogs(stream accesslogservicev3.AccessLogService_StreamAccessLogsServer) error + type MiddlewareService struct + func NewMiddlewareService(db *serverdb.DB, tc tclient.Client, w *watcher.Watcher) *MiddlewareService + func (s *MiddlewareService) Create(ctx context.Context, req *middlewarev1.CreateRequest) (*middlewarev1.Middleware, error) + func (s *MiddlewareService) Delete(ctx context.Context, req *middlewarev1.DeleteRequest) (*emptypb.Empty, error) + func (s *MiddlewareService) Get(ctx context.Context, req *middlewarev1.GetRequest) (*middlewarev1.Middleware, error) + func (s *MiddlewareService) GetBuild(ctx context.Context, req *middlewarev1.GetBuildRequest) (*middlewarev1.Build, error) + func (s *MiddlewareService) GetBuildOutput(ctx context.Context, req *middlewarev1.GetBuildOutputRequest) (*middlewarev1.BuildOutput, error) + func (s *MiddlewareService) GetLiveBuild(ctx context.Context, req *middlewarev1.GetLiveBuildRequest) (*middlewarev1.Build, error) + func (s *MiddlewareService) GetLiveBuildOutput(ctx context.Context, req *middlewarev1.GetLiveBuildOutputRequest) (*middlewarev1.BuildOutput, error) + func (s *MiddlewareService) InternalList(ctx context.Context, _ *empty.Empty) (*middlewarev1.ListResponse, error) + func (s *MiddlewareService) List(ctx context.Context, req *middlewarev1.ListRequest) (*middlewarev1.ListResponse, error) + func (s *MiddlewareService) ListBuilds(ctx context.Context, req *middlewarev1.ListBuildsRequest) (*middlewarev1.ListBuildsResponse, error) + func (s *MiddlewareService) TriggerBuild(ctx context.Context, req *middlewarev1.TriggerBuildRequest) (*emptypb.Empty, error) + func (s *MiddlewareService) Update(ctx context.Context, req *middlewarev1.UpdateRequest) (*middlewarev1.Middleware, error)