Help us shape the future of Go! Take the 2026 Go Developer Survey

notification

package
v1.12.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertNotificationModelToData added in v0.3.7

func ConvertNotificationModelToData(model NotificationResourceModel) dbt_cloud.Notification

func NotificationDataSource

func NotificationDataSource() datasource.DataSource

func NotificationResource

func NotificationResource() resource.Resource

Types

type NotificationDataSourceModel

type NotificationDataSourceModel struct {
	NotificationID   types.Int64  `tfsdk:"notification_id"`
	UserID           types.Int64  `tfsdk:"user_id"`
	OnCancel         types.Set    `tfsdk:"on_cancel"`
	OnFailure        types.Set    `tfsdk:"on_failure"`
	OnWarning        types.Set    `tfsdk:"on_warning"`
	OnSuccess        types.Set    `tfsdk:"on_success"`
	State            types.Int64  `tfsdk:"state"`
	NotificationType types.Int64  `tfsdk:"notification_type"`
	ExternalEmail    types.String `tfsdk:"external_email"`
	SlackChannelID   types.String `tfsdk:"slack_channel_id"`
	SlackChannelName types.String `tfsdk:"slack_channel_name"`
}

type NotificationResourceModel

type NotificationResourceModel struct {
	ID               types.String `tfsdk:"id"`
	UserID           types.Int64  `tfsdk:"user_id"`
	OnCancel         types.Set    `tfsdk:"on_cancel"`
	OnFailure        types.Set    `tfsdk:"on_failure"`
	OnWarning        types.Set    `tfsdk:"on_warning"`
	OnSuccess        types.Set    `tfsdk:"on_success"`
	State            types.Int64  `tfsdk:"state"`
	NotificationType types.Int64  `tfsdk:"notification_type"`
	ExternalEmail    types.String `tfsdk:"external_email"`
	SlackChannelID   types.String `tfsdk:"slack_channel_id"`
	SlackChannelName types.String `tfsdk:"slack_channel_name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL