Documentation ¶
Index ¶
- type Config
- type Service
- func (s *Service) GetDailyMetricCount(ctx context.Context, ...) (*connect.Response[mgmtv1alpha1.GetDailyMetricCountResponse], error)
- func (s *Service) GetMetricCount(ctx context.Context, req *connect.Request[mgmtv1alpha1.GetMetricCountRequest]) (*connect.Response[mgmtv1alpha1.GetMetricCountResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New( cfg *Config, useraccountservice mgmtv1alpha1connect.UserAccountServiceClient, jobservice mgmtv1alpha1connect.JobServiceHandler, promclient promv1.API, ) *Service
func (*Service) GetDailyMetricCount ¶
func (s *Service) GetDailyMetricCount( ctx context.Context, req *connect.Request[mgmtv1alpha1.GetDailyMetricCountRequest], ) (*connect.Response[mgmtv1alpha1.GetDailyMetricCountResponse], error)
func (*Service) GetMetricCount ¶
func (s *Service) GetMetricCount( ctx context.Context, req *connect.Request[mgmtv1alpha1.GetMetricCountRequest], ) (*connect.Response[mgmtv1alpha1.GetMetricCountResponse], error)
Click to show internal directories.
Click to hide internal directories.