Documentation ¶
Index ¶
- type Client
- func NewFromEnv(version string) Client
- func NewFromFramework(ctx context.Context, cfg ProviderConfiguration, version string) (Client, diag.Diagnostics)
- func NewFromSDK(d *schema.ResourceData, version string) (Client, diag.Diagnostics)
- func NewFromSDKResource(d *schema.ResourceData, version string) (*Client, diag.Diagnostics)
- type ElasticsearchConnection
- type FleetConnection
- type KibanaConnection
- type ProviderConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { UserAgent string Kibana *kibana.Config Elasticsearch *elasticsearch.Config Fleet *fleet.Config }
func NewFromEnv ¶
func NewFromFramework ¶
func NewFromFramework(ctx context.Context, cfg ProviderConfiguration, version string) (Client, diag.Diagnostics)
func NewFromSDK ¶
func NewFromSDK(d *schema.ResourceData, version string) (Client, diag.Diagnostics)
func NewFromSDKResource ¶
func NewFromSDKResource(d *schema.ResourceData, version string) (*Client, diag.Diagnostics)
type ElasticsearchConnection ¶
type ElasticsearchConnection struct { Username types.String `tfsdk:"username"` Password types.String `tfsdk:"password"` APIKey types.String `tfsdk:"api_key"` BearerToken types.String `tfsdk:"bearer_token"` ESClientAuthentication types.String `tfsdk:"es_client_authentication"` Endpoints types.List `tfsdk:"endpoints"` Insecure types.Bool `tfsdk:"insecure"` CAFile types.String `tfsdk:"ca_file"` CAData types.String `tfsdk:"ca_data"` CertFile types.String `tfsdk:"cert_file"` KeyFile types.String `tfsdk:"key_file"` CertData types.String `tfsdk:"cert_data"` KeyData types.String `tfsdk:"key_data"` }
type FleetConnection ¶
type KibanaConnection ¶
type ProviderConfiguration ¶
type ProviderConfiguration struct { Elasticsearch []ElasticsearchConnection `tfsdk:"elasticsearch"` Kibana []KibanaConnection `tfsdk:"kibana"` Fleet []FleetConnection `tfsdk:"fleet"` }
Click to show internal directories.
Click to hide internal directories.