Documentation ¶
Index ¶
- func ActionSchema() map[string]schema.Attribute
- func ArrayPropertySchema() schema.Attribute
- func BooleanPropertySchema() schema.Attribute
- func MetadataProperties() map[string]schema.Attribute
- func NewActionResource() resource.Resource
- func NumberPropertySchema() schema.Attribute
- func ObjectPropertySchema() schema.Attribute
- func StringPropertySchema() schema.Attribute
- type ActionModel
- type ActionResource
- func (r *ActionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ActionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ActionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ActionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ActionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ActionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ActionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ActionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ApprovalWebhookNotificationModel
- type ArrayPropModel
- type AzureMethodModel
- type BooleanItems
- type BooleanPropModel
- type DatasetModel
- type GithubMethodModel
- type GitlabMethodModel
- type NumberItems
- type NumberPropModel
- type ObjectItems
- type ObjectPropModel
- type Rule
- type StringItems
- type StringPropModel
- type UserPropertiesModel
- type Value
- type WebhookMethodModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionSchema ¶
func ArrayPropertySchema ¶
func BooleanPropertySchema ¶
func MetadataProperties ¶
func NewActionResource ¶
func NumberPropertySchema ¶
func ObjectPropertySchema ¶
func StringPropertySchema ¶
Types ¶
type ActionModel ¶
type ActionModel struct { ID types.String `tfsdk:"id"` Identifier types.String `tfsdk:"identifier"` Blueprint types.String `tfsdk:"blueprint"` Title types.String `tfsdk:"title"` Icon types.String `tfsdk:"icon"` Description types.String `tfsdk:"description"` RequiredApproval types.Bool `tfsdk:"required_approval"` Trigger types.String `tfsdk:"trigger"` KafkaMethod types.Object `tfsdk:"kafka_method"` WebhookMethod *WebhookMethodModel `tfsdk:"webhook_method"` GithubMethod *GithubMethodModel `tfsdk:"github_method"` AzureMethod *AzureMethodModel `tfsdk:"azure_method"` GitlabMethod *GitlabMethodModel `tfsdk:"gitlab_method"` UserProperties *UserPropertiesModel `tfsdk:"user_properties"` ApprovalWebhookNotification *ApprovalWebhookNotificationModel `tfsdk:"approval_webhook_notification"` ApprovalEmailNotification types.Object `tfsdk:"approval_email_notification"` OrderProperties types.List `tfsdk:"order_properties"` }
type ActionResource ¶
type ActionResource struct {
// contains filtered or unexported fields
}
func (*ActionResource) Configure ¶
func (r *ActionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ActionResource) Create ¶
func (r *ActionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ActionResource) Delete ¶
func (r *ActionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ActionResource) ImportState ¶
func (r *ActionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ActionResource) Metadata ¶
func (r *ActionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ActionResource) Read ¶
func (r *ActionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ActionResource) Schema ¶
func (r *ActionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ActionResource) Update ¶
func (r *ActionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ArrayPropModel ¶
type ArrayPropModel struct { Title types.String `tfsdk:"title"` Icon types.String `tfsdk:"icon"` Description types.String `tfsdk:"description"` MaxItems types.Int64 `tfsdk:"max_items"` MinItems types.Int64 `tfsdk:"min_items"` Required types.Bool `tfsdk:"required"` StringItems *StringItems `tfsdk:"string_items"` NumberItems *NumberItems `tfsdk:"number_items"` BooleanItems *BooleanItems `tfsdk:"boolean_items"` ObjectItems *ObjectItems `tfsdk:"object_items"` DependsOn types.List `tfsdk:"depends_on"` Dataset *DatasetModel `tfsdk:"dataset"` DefaultJqQuery types.String `tfsdk:"default_jq_query"` }
type AzureMethodModel ¶
type BooleanItems ¶
type BooleanPropModel ¶
type BooleanPropModel struct { Title types.String `tfsdk:"title"` Icon types.String `tfsdk:"icon"` Description types.String `tfsdk:"description"` Default types.Bool `tfsdk:"default"` Required types.Bool `tfsdk:"required"` DependsOn types.List `tfsdk:"depends_on"` Dataset *DatasetModel `tfsdk:"dataset"` DefaultJqQuery types.String `tfsdk:"default_jq_query"` }
type DatasetModel ¶ added in v1.1.0
type GithubMethodModel ¶
type GithubMethodModel struct { Org types.String `tfsdk:"org"` Repo types.String `tfsdk:"repo"` Workflow types.String `tfsdk:"workflow"` OmitPayload types.Bool `tfsdk:"omit_payload"` OmitUserInputs types.Bool `tfsdk:"omit_user_inputs"` ReportWorkflowStatus types.Bool `tfsdk:"report_workflow_status"` }
type GitlabMethodModel ¶ added in v1.1.0
type GitlabMethodModel struct { ProjectName types.String `tfsdk:"project_name"` GroupName types.String `tfsdk:"group_name"` OmitPayload types.Bool `tfsdk:"omit_payload"` OmitUserInputs types.Bool `tfsdk:"omit_user_inputs"` DefaultRef types.String `tfsdk:"default_ref"` Agent types.Bool `tfsdk:"agent"` }
type NumberItems ¶
type NumberPropModel ¶
type NumberPropModel struct { Title types.String `tfsdk:"title"` Icon types.String `tfsdk:"icon"` Description types.String `tfsdk:"description"` Default types.Float64 `tfsdk:"default"` Required types.Bool `tfsdk:"required"` Maximum types.Float64 `tfsdk:"maximum"` Minimum types.Float64 `tfsdk:"minimum"` Enum types.List `tfsdk:"enum"` DependsOn types.List `tfsdk:"depends_on"` Dataset *DatasetModel `tfsdk:"dataset"` DefaultJqQuery types.String `tfsdk:"default_jq_query"` EnumJqQuery types.String `tfsdk:"enum_jq_query"` }
type ObjectItems ¶
type ObjectPropModel ¶
type ObjectPropModel struct { Title types.String `tfsdk:"title"` Icon types.String `tfsdk:"icon"` Description types.String `tfsdk:"description"` Required types.Bool `tfsdk:"required"` Default types.String `tfsdk:"default"` DependsOn types.List `tfsdk:"depends_on"` Dataset *DatasetModel `tfsdk:"dataset"` DefaultJqQuery types.String `tfsdk:"default_jq_query"` }
type StringItems ¶
type StringPropModel ¶
type StringPropModel struct { Title types.String `tfsdk:"title"` Icon types.String `tfsdk:"icon"` Blueprint types.String `tfsdk:"blueprint"` Description types.String `tfsdk:"description"` Default types.String `tfsdk:"default"` Required types.Bool `tfsdk:"required"` Format types.String `tfsdk:"format"` MaxLength types.Int64 `tfsdk:"max_length"` MinLength types.Int64 `tfsdk:"min_length"` Pattern types.String `tfsdk:"pattern"` Enum types.List `tfsdk:"enum"` DependsOn types.List `tfsdk:"depends_on"` Dataset *DatasetModel `tfsdk:"dataset"` DefaultJqQuery types.String `tfsdk:"default_jq_query"` EnumJqQuery types.String `tfsdk:"enum_jq_query"` }
type UserPropertiesModel ¶
type UserPropertiesModel struct { StringProps map[string]StringPropModel `tfsdk:"string_props"` NumberProps map[string]NumberPropModel `tfsdk:"number_props"` BooleanProps map[string]BooleanPropModel `tfsdk:"boolean_props"` ArrayProps map[string]ArrayPropModel `tfsdk:"array_props"` ObjectProps map[string]ObjectPropModel `tfsdk:"object_props"` }
Click to show internal directories.
Click to hide internal directories.