Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DailyQuotaCollector ¶
type DailyQuotaCollector struct {
// contains filtered or unexported fields
}
func NewDailyQuotaCollector ¶
func NewDailyQuotaCollector(opts ...DailyQuotaCollectorOption) *DailyQuotaCollector
func (*DailyQuotaCollector) Task ¶
func (d *DailyQuotaCollector) Task() (bool, error)
type DailyQuotaCollectorOption ¶
type DailyQuotaCollectorOption func(collector *DailyQuotaCollector)
func DailyQuotaCollectorWithBundle ¶
func DailyQuotaCollectorWithBundle(bndl *bundle.Bundle) DailyQuotaCollectorOption
func DailyQuotaCollectorWithCMPAPI ¶
func DailyQuotaCollectorWithCMPAPI(cmp interface { ListSteveResource(ctx context.Context, req *apistructs.SteveRequest) ([]types.APIObject, error) GetNamespacesResources(ctx context.Context, nReq *pb.GetNamespacesResourcesRequest) (*pb.GetNamespacesResourcesResponse, error) GetClustersResources(ctx context.Context, cReq *pb.GetClustersResourcesRequest) (*pb.GetClusterResourcesResponse, error) GetAllClusters() []string }) DailyQuotaCollectorOption
func DailyQuotaCollectorWithDBClient ¶
func DailyQuotaCollectorWithDBClient(db *dbclient.DBClient) DailyQuotaCollectorOption
Click to show internal directories.
Click to hide internal directories.