Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminServer ¶ added in v0.10.0
type AdminServer struct {
v1.UnimplementedAPIUsageServiceServer
// contains filtered or unexported fields
}
AdminServer is the server for the api-usage service.
func NewAdmin ¶ added in v0.10.0
func NewAdmin(store *store.Store, logger logr.Logger) *AdminServer
NewAdmin creates a new admin server.
func (*AdminServer) GetAggregatedSummary ¶ added in v0.10.0
func (s *AdminServer) GetAggregatedSummary(ctx context.Context, req *v1.GetAggregatedSummaryRequest) (*v1.AggregatedSummary, error)
GetAggregatedSummary aggregates the API usage in the specified time range.
type InternalServer ¶ added in v0.10.0
type InternalServer struct {
v1.UnimplementedCollectionInternalServiceServer
// contains filtered or unexported fields
}
InternalServer is the server for the collection service.
func NewInternal ¶ added in v0.10.0
func NewInternal(store *store.Store, logger logr.Logger) *InternalServer
NewInternal creates a new internal server.
func (*InternalServer) CreateUsage ¶ added in v0.10.0
func (s *InternalServer) CreateUsage(ctx context.Context, req *v1.CreateUsageRequest) (*v1.Usage, error)
CreateUsage creates usage.
Click to show internal directories.
Click to hide internal directories.