Versions in this module Expand all Collapse all v1 v1.1.105 Dec 11, 2024 Changes in this version + const MetricReportingService_MetricReporting_FullMethodName + const QuotaEnforcement_QuotaEnforcementInfo_FullMethodName + var APIServiceLookupType_name = map[int32]string + var APIServiceLookupType_value = map[string]int32 + var AppLookupType_name = map[int32]string + var AppLookupType_value = map[string]int32 + var File_customunits_customunits_proto protoreflect.FileDescriptor + var MetricReportingService_ServiceDesc = grpc.ServiceDesc + var QuotaEnforcement_ServiceDesc = grpc.ServiceDesc + var QuotaIntervalType_name = map[int32]string + var QuotaIntervalType_value = map[string]int32 + func RegisterMetricReportingServiceServer(s grpc.ServiceRegistrar, srv MetricReportingServiceServer) + func RegisterQuotaEnforcementServer(s grpc.ServiceRegistrar, srv QuotaEnforcementServer) + type APIInfo struct + ExternalAPIID string + ServiceDetails map[string]string + ServiceID string + ServiceName string + func (*APIInfo) Descriptor() ([]byte, []int) + func (*APIInfo) ProtoMessage() + func (x *APIInfo) GetExternalAPIID() string + func (x *APIInfo) GetServiceDetails() map[string]string + func (x *APIInfo) GetServiceID() string + func (x *APIInfo) GetServiceName() string + func (x *APIInfo) ProtoReflect() protoreflect.Message + func (x *APIInfo) Reset() + func (x *APIInfo) String() string + type APIServiceLookup struct + CustomAttribute string + Type APIServiceLookupType + Value string + func (*APIServiceLookup) Descriptor() ([]byte, []int) + func (*APIServiceLookup) ProtoMessage() + func (x *APIServiceLookup) GetCustomAttribute() string + func (x *APIServiceLookup) GetType() APIServiceLookupType + func (x *APIServiceLookup) GetValue() string + func (x *APIServiceLookup) ProtoReflect() protoreflect.Message + func (x *APIServiceLookup) Reset() + func (x *APIServiceLookup) String() string + type APIServiceLookupType int32 + const APIServiceLookupType_CustomAPIServiceLookup + const APIServiceLookupType_ExternalAPIID + const APIServiceLookupType_ServiceID + const APIServiceLookupType_ServiceName + func (APIServiceLookupType) Descriptor() protoreflect.EnumDescriptor + func (APIServiceLookupType) EnumDescriptor() ([]byte, []int) + func (APIServiceLookupType) Type() protoreflect.EnumType + func (x APIServiceLookupType) Enum() *APIServiceLookupType + func (x APIServiceLookupType) Number() protoreflect.EnumNumber + func (x APIServiceLookupType) String() string + type AppInfo struct + AppDetails map[string]string + AppID string + AppName string + ExternalAppID string + func (*AppInfo) Descriptor() ([]byte, []int) + func (*AppInfo) ProtoMessage() + func (x *AppInfo) GetAppDetails() map[string]string + func (x *AppInfo) GetAppID() string + func (x *AppInfo) GetAppName() string + func (x *AppInfo) GetExternalAppID() string + func (x *AppInfo) ProtoReflect() protoreflect.Message + func (x *AppInfo) Reset() + func (x *AppInfo) String() string + type AppLookup struct + CustomAttribute string + Type AppLookupType + Value string + func (*AppLookup) Descriptor() ([]byte, []int) + func (*AppLookup) ProtoMessage() + func (x *AppLookup) GetCustomAttribute() string + func (x *AppLookup) GetType() AppLookupType + func (x *AppLookup) GetValue() string + func (x *AppLookup) ProtoReflect() protoreflect.Message + func (x *AppLookup) Reset() + func (x *AppLookup) String() string + type AppLookupType int32 + const AppLookupType_CustomAppLookup + const AppLookupType_ExternalAppID + const AppLookupType_ManagedAppID + const AppLookupType_ManagedAppName + func (AppLookupType) Descriptor() protoreflect.EnumDescriptor + func (AppLookupType) EnumDescriptor() ([]byte, []int) + func (AppLookupType) Type() protoreflect.EnumType + func (x AppLookupType) Enum() *AppLookupType + func (x AppLookupType) Number() protoreflect.EnumNumber + func (x AppLookupType) String() string + type MetricReport struct + ApiService *APIServiceLookup + Count int64 + ManagedApp *AppLookup + PlanUnit *UnitLookup + func (*MetricReport) Descriptor() ([]byte, []int) + func (*MetricReport) ProtoMessage() + func (x *MetricReport) GetApiService() *APIServiceLookup + func (x *MetricReport) GetCount() int64 + func (x *MetricReport) GetManagedApp() *AppLookup + func (x *MetricReport) GetPlanUnit() *UnitLookup + func (x *MetricReport) ProtoReflect() protoreflect.Message + func (x *MetricReport) Reset() + func (x *MetricReport) String() string + type MetricReportingServiceClient interface + MetricReporting func(ctx context.Context, in *MetricServiceInit, opts ...grpc.CallOption) (MetricReportingService_MetricReportingClient, error) + func NewMetricReportingServiceClient(cc grpc.ClientConnInterface) MetricReportingServiceClient + type MetricReportingServiceServer interface + MetricReporting func(*MetricServiceInit, MetricReportingService_MetricReportingServer) error + type MetricReportingService_MetricReportingClient interface + Recv func() (*MetricReport, error) + type MetricReportingService_MetricReportingServer interface + Send func(*MetricReport) error + type MetricServiceInit struct + func (*MetricServiceInit) Descriptor() ([]byte, []int) + func (*MetricServiceInit) ProtoMessage() + func (x *MetricServiceInit) ProtoReflect() protoreflect.Message + func (x *MetricServiceInit) Reset() + func (x *MetricServiceInit) String() string + type Quota struct + Count int64 + Interval QuotaIntervalType + Unit string + func (*Quota) Descriptor() ([]byte, []int) + func (*Quota) ProtoMessage() + func (x *Quota) GetCount() int64 + func (x *Quota) GetInterval() QuotaIntervalType + func (x *Quota) GetUnit() string + func (x *Quota) ProtoReflect() protoreflect.Message + func (x *Quota) Reset() + func (x *Quota) String() string + type QuotaEnforcementClient interface + QuotaEnforcementInfo func(ctx context.Context, in *QuotaInfo, opts ...grpc.CallOption) (*QuotaEnforcementResponse, error) + func NewQuotaEnforcementClient(cc grpc.ClientConnInterface) QuotaEnforcementClient + type QuotaEnforcementResponse struct + Error string + func (*QuotaEnforcementResponse) Descriptor() ([]byte, []int) + func (*QuotaEnforcementResponse) ProtoMessage() + func (x *QuotaEnforcementResponse) GetError() string + func (x *QuotaEnforcementResponse) ProtoReflect() protoreflect.Message + func (x *QuotaEnforcementResponse) Reset() + func (x *QuotaEnforcementResponse) String() string + type QuotaEnforcementServer interface + QuotaEnforcementInfo func(context.Context, *QuotaInfo) (*QuotaEnforcementResponse, error) + type QuotaInfo struct + ApiInfo *APIInfo + AppInfo *AppInfo + Quota *Quota + func (*QuotaInfo) Descriptor() ([]byte, []int) + func (*QuotaInfo) ProtoMessage() + func (x *QuotaInfo) GetApiInfo() *APIInfo + func (x *QuotaInfo) GetAppInfo() *AppInfo + func (x *QuotaInfo) GetQuota() *Quota + func (x *QuotaInfo) ProtoReflect() protoreflect.Message + func (x *QuotaInfo) Reset() + func (x *QuotaInfo) String() string + type QuotaIntervalType int32 + const QuotaIntervalType_IntervalAnnually + const QuotaIntervalType_IntervalDaily + const QuotaIntervalType_IntervalMonthly + const QuotaIntervalType_IntervalUnspecified + const QuotaIntervalType_IntervalWeekly + func (QuotaIntervalType) Descriptor() protoreflect.EnumDescriptor + func (QuotaIntervalType) EnumDescriptor() ([]byte, []int) + func (QuotaIntervalType) Type() protoreflect.EnumType + func (x QuotaIntervalType) Enum() *QuotaIntervalType + func (x QuotaIntervalType) Number() protoreflect.EnumNumber + func (x QuotaIntervalType) String() string + type UnimplementedMetricReportingServiceServer struct + func (UnimplementedMetricReportingServiceServer) MetricReporting(*MetricServiceInit, MetricReportingService_MetricReportingServer) error + type UnimplementedQuotaEnforcementServer struct + func (UnimplementedQuotaEnforcementServer) QuotaEnforcementInfo(context.Context, *QuotaInfo) (*QuotaEnforcementResponse, error) + type UnitLookup struct + UnitName string + func (*UnitLookup) Descriptor() ([]byte, []int) + func (*UnitLookup) ProtoMessage() + func (x *UnitLookup) GetUnitName() string + func (x *UnitLookup) ProtoReflect() protoreflect.Message + func (x *UnitLookup) Reset() + func (x *UnitLookup) String() string + type UnsafeMetricReportingServiceServer interface + type UnsafeQuotaEnforcementServer interface