Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIdentifiers ¶
func GetIdentifiers[T MergeModel](ms []T) []string
Types ¶
type MergeModel ¶
type MergedEntities ¶
type MergedEntities[T MergeModel] struct { EntitiesToCreate set.Collection[T] EntitiesToUpdate set.Collection[T] EntitiesToDelete set.Collection[T] }
func MergeEntities ¶
func MergeEntities[T MergeModel](plan []T, state []T) MergedEntities[T]
type OperationType ¶ added in v1.10.0
type OperationType string
const ( CreateOperation OperationType = "create" UpdateOperation OperationType = "update" DeleteOperation OperationType = "delete" )
Click to show internal directories.
Click to hide internal directories.