Documentation ¶
Index ¶
Constants ¶
View Source
const WellKnownEndpoint = "/.well-known/open-resource-discovery"
WellKnownEndpoint is the single entry point for the discovery.
Variables ¶
This section is empty.
Functions ¶
func NewGlobalRegistryClient ¶
func NewGlobalRegistryClient(httpClient *http.Client, accessStrategyExecutorProvider accessstrategy.ExecutorProvider) *client
Types ¶
type DocumentDetails ¶
type DocumentDetails struct { URL string `json:"url"` AccessStrategies accessstrategy.AccessStrategies `json:"accessStrategies"` Perspective string `json:"perspective"` }
DocumentDetails contains fields related to the fetching of each Document
type OpenResourceDiscoveryV1 ¶
type OpenResourceDiscoveryV1 struct {
Documents []DocumentDetails `json:"documents"`
}
OpenResourceDiscoveryV1 contains all Documents' details
type WellKnownConfig ¶
type WellKnownConfig struct { BaseURL string `json:"baseUrl"` OpenResourceDiscoveryV1 OpenResourceDiscoveryV1 `json:"openResourceDiscoveryV1"` }
WellKnownConfig represents the whole config object
Click to show internal directories.
Click to hide internal directories.