utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterInfo

func GetClusterInfo(url string) (*auth.ClusterInfo, discovery.TrustMode, error)

contact the remote cluster to get its info it returns also if the remote cluster exposes a trusted certificate

func IsUnknownAuthority

func IsUnknownAuthority(err error) bool

check if the error is due to a TLS certificate signed by unknown authority

Types

This section is empty.

Jump to

Keyboard shortcuts

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