Documentation ¶
Index ¶
- func AccountMultiplex(meta schema.ClientMeta) []schema.ClientMeta
- func Configure(logger hclog.Logger, config interface{}) (schema.ClientMeta, diag.Diagnostics)
- func ResolveAccountName(_ context.Context, meta schema.ClientMeta, r *schema.Resource, ...) error
- type Account
- type Client
- type Config
- type DDAccount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountMultiplex ¶ added in v0.0.2
func AccountMultiplex(meta schema.ClientMeta) []schema.ClientMeta
func Configure ¶
func Configure(logger hclog.Logger, config interface{}) (schema.ClientMeta, diag.Diagnostics)
Types ¶
type Client ¶
type Config ¶
type Config struct { Accounts []Account `hcl:"accounts,block"` DatdogDebug bool `hcl:"datadog_debug,optional"` MaxRetries int `hcl:"max_retries,optional" default:"10"` MaxBackoff int `hcl:"max_backoff,optional" default:"30"` // contains filtered or unexported fields }
func NewConfig ¶ added in v0.1.0
func NewConfig(f cqproto.ConfigFormat) *Config
func (Config) Format ¶ added in v0.1.0
func (c Config) Format() cqproto.ConfigFormat
Click to show internal directories.
Click to hide internal directories.