Documentation ¶
Overview ¶
Package model is a model abstraction of federation in.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FederationInQuery ¶
type FederationInQuery struct { QueryID string ServerAddr string Audience string IncludeRegions []string ExcludeRegions []string LastTimestamp time.Time }
FederationInQuery represents a configuration to pull federation results from other servers.
type FederationInSync ¶
type FederationInSync struct { SyncID int64 QueryID string Started time.Time Completed time.Time Insertions int MaxTimestamp time.Time }
FederationInSync is the result of a federation query pulled from other servers.
type FederationOutAuthorization ¶
type FederationOutAuthorization struct { Issuer string Subject string // Audience is optional, but will be validated against the OIDC token if provided. Audience string Note string IncludeRegions []string ExcludeRegions []string }
FederationOutAuthorization is an authorized client that reads federation data from this server.
Click to show internal directories.
Click to hide internal directories.