package v1alpha1
import "k8s.io/kubernetes/cmd/kubernetes-discovery/discoverysummarizer/apis/config/v1alpha1"
Index ¶
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.
Source Files ¶
types.go
- Version
- v1.5.0
- Published
- Dec 12, 2016
- Platform
- linux/amd64
- Last checked
- 1 hour ago –
Tools for package owners.