Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TerraformToSdk ¶
func TerraformToSdk(ctx context.Context, plan *OrgWebhookModel) (models.Webhook, diag.Diagnostics)
Types ¶
type OrgWebhookModel ¶
type OrgWebhookModel struct { Enabled types.Bool `tfsdk:"enabled"` Headers types.Map `tfsdk:"headers"` Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Oauth2ClientId types.String `tfsdk:"oauth2_client_id"` Oauth2ClientSecret types.String `tfsdk:"oauth2_client_secret"` Oauth2GrantType types.String `tfsdk:"oauth2_grant_type"` Oauth2Password types.String `tfsdk:"oauth2_password"` Oauth2Scopes types.List `tfsdk:"oauth2_scopes"` Oauth2TokenUrl types.String `tfsdk:"oauth2_token_url"` Oauth2Username types.String `tfsdk:"oauth2_username"` OrgId types.String `tfsdk:"org_id"` Secret types.String `tfsdk:"secret"` SplunkToken types.String `tfsdk:"splunk_token"` Topics types.List `tfsdk:"topics"` Type types.String `tfsdk:"type"` Url types.String `tfsdk:"url"` VerifyCert types.Bool `tfsdk:"verify_cert"` }
func SdkToTerraform ¶
func SdkToTerraform(ctx context.Context, d *models.Webhook) (OrgWebhookModel, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.