zitadel/pkg/admin/api/grpc/probes.go

21 lines
676 B
Go
Raw Normal View History

2020-03-24 06:09:28 +00:00
package grpc
import (
"context"
"github.com/caos/zitadel/internal/errors"
"github.com/golang/protobuf/ptypes/empty"
pb_struct "github.com/golang/protobuf/ptypes/struct"
)
func (s *Server) Healthz(_ context.Context, e *empty.Empty) (*empty.Empty, error) {
return nil, errors.ThrowUnimplemented(nil, "GRPC-ruc8e", "Not implemented")
}
func (s *Server) Ready(ctx context.Context, e *empty.Empty) (*empty.Empty, error) {
2020-03-24 09:14:39 +00:00
return nil, errors.ThrowUnimplemented(nil, "GRPC-bw3vR", "Not implemented")
2020-03-24 06:09:28 +00:00
}
func (s *Server) Validate(ctx context.Context, _ *empty.Empty) (*pb_struct.Struct, error) {
2020-03-24 09:14:39 +00:00
return nil, errors.ThrowUnimplemented(nil, "GRPC-98Gse", "Not implemented")
2020-03-24 06:09:28 +00:00
}