Documentation
¶
Overview ¶
Package utils contains functions useful for the discovery component, in particular during the communications with a remote cluster.
Index ¶
Constants ¶
View Source
const ( // HTTPRequestTimeout is the timeout used in http connection to a remote authentication service. HTTPRequestTimeout = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func GetClusterInfo ¶
func GetClusterInfo(ctx context.Context, transport *http.Transport, url string) (*auth.ClusterInfo, error)
GetClusterInfo contacts the remote cluster to get its info, it returns also if the remote cluster exposes a trusted certificate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.