Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FederatedServer ¶
type FederatedServer struct { // The address that summarizer can reach to get discovery information from the server. // This can be hostname, hostname:port, IP or IP:port. ServerAddress string `json:"serverAddress"` // The list of paths where server exposes group version discovery information. // Summarizer will use these paths to figure out group versions supported by this server. GroupVersionDiscoveryPaths []GroupVersionDiscoveryPath `json:"groupVersionDiscoveryPaths"` }
Information about each individual server, whose group versions needs to be summarized.
type FederatedServerList ¶
type FederatedServerList struct {
Servers []FederatedServer `json:"servers"`
}
List of servers from which group versions should be summarized. This is used to represent the structure of the config file passed to discovery summarizer server.
type GroupVersionDiscoveryPath ¶
type GroupVersionDiscoveryPath struct { // Path where the server exposes the discovery API to surface the group versions that it supports. Path string `json:"path"` // True if the path is for legacy group version. // (i.e the path returns unversioned.APIVersions instead of unversioned.APIGroupList) IsLegacy bool `json:"isLegacy"` }
Information about each group version discovery path that needs to be summarized.
Click to show internal directories.
Click to hide internal directories.