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 }
CloudConfig defines configuration for connecting to HCP services
func (*CloudConfig) HCPConfig ¶
func (c *CloudConfig) HCPConfig(opts ...hcpcfg.HCPConfigOption) (hcpcfg.HCPConfig, error)
func (*CloudConfig) Resource ¶ added in v1.15.3
func (c *CloudConfig) Resource() (resource.Resource, error)
func (*CloudConfig) WithTLSConfig ¶ added in v1.14.7
func (c *CloudConfig) WithTLSConfig(cfg *tls.Config)
Click to show internal directories.
Click to hide internal directories.