Versions in this module Expand all Collapse all v1 v1.14.1 Mar 14, 2023 Changes in this version + func GetCert(clusterid, urlpath, tokenpath string) (ca, crt, key []byte, err error) + func IsNotExist(crt, key string) bool + func PutToSecrets(config *config.ClientConfig) error + type CERT struct + CA string + CRT string + KEY string + type Client struct + func NewClient(config *ClientConfig) (*Client, error) + func (c *Client) Start(targetURLStr string, cfg *rest.Config, tunnelsPerAgent int) error + type ClientConfig struct + Logger *log.Logger + ServerAddr string + TLSClientConfig *tls.Config