Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func NewCollector(repo *cluster.Repository, options Options) *Collector
type Options ¶
type Options struct {
Owner string
HomeID string
GlobalProxyURL string
GlobalProxyURLProvider func() string
PollInterval time.Duration
ProbeTimeout time.Duration
LeaseDuration time.Duration
SnapshotFreshness time.Duration
ProviderConcurrency int
CodexUsageURL string
ClaudeUsageURL string
ClaudeProfileURL string
KimiUsageURL string
XAIBillingURL string
AntigravityURLs []string
Now func() time.Time
HTTPClient func(*coreauth.Auth, time.Duration) (*http.Client, error)
ResolveAuth func(context.Context, *coreauth.Auth) (*coreauth.Auth, error)
}
Click to show internal directories.
Click to hide internal directories.