v1alpha1

package
v1.4.6-rancher2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2016 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL