Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
Username string
Email string
Password string
Token string
OtpSecret string
Proxy string
}
AuthConfig carries optional authentication inputs.
type PlatformPoller ¶
type PlatformPoller interface {
Name() string
// Authenticate configures the poller with credentials, if needed.
// Implementations that don't require auth should return nil.
Authenticate(ctx context.Context, cfg AuthConfig) error
ListProgramHandles(ctx context.Context, opts PollOptions) ([]string, error)
FetchProgramScope(ctx context.Context, handle string, opts PollOptions) (scope.ProgramData, error)
}
PlatformPoller defines a common interface for platform-specific polling operations, abstracting away the details of authentication, program discovery, and scope fetching.
type PollOptions ¶
PollOptions carries optional controls/filters used by pollers.
Click to show internal directories.
Click to hide internal directories.