webhookvalidator

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActionType = types.ListType{ElemType: types.StringType}
View Source
var EventType = types.ObjectType{
	AttrTypes: map[string]attr.Type{
		"actions": ActionType,
		"source":  types.StringType,
	},
}
View Source
var EventsType = types.ListType{
	ElemType: EventType,
}
View Source
var SubscriptionType = types.ObjectType{
	AttrTypes: map[string]attr.Type{
		"resource_id": types.StringType,
		"events":      EventsType,
	},
}

Functions

func UniqueSubscriptions

func UniqueSubscriptions() validator.List

UniqueSubscriptions returns a validator which ensures that the configured subscriptions are unique

Types

This section is empty.

Jump to

Keyboard shortcuts

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