Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudConfig ¶
type CloudConfig struct { ResourceID string ClientID string ClientSecret string Hostname string AuthURL string ScadaAddress string // Management token used by HCP management plane. // Cannot be set via config files. ManagementToken string // TlsConfig for testing. TLSConfig *tls.Config NodeID types.NodeID NodeName string }
CloudConfig defines configuration for connecting to HCP services
func (*CloudConfig) HCPConfig ¶
func (c *CloudConfig) HCPConfig(opts ...hcpcfg.HCPConfigOption) (hcpcfg.HCPConfig, error)
func (*CloudConfig) WithTLSConfig ¶
func (c *CloudConfig) WithTLSConfig(cfg *tls.Config)
Click to show internal directories.
Click to hide internal directories.