 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type ArtifactRepoWithSlog
- func (_d ArtifactRepoWithSlog) Create(ctx context.Context, artifact _sourceMigration.Artifact) (i1 int64, err error)
- func (_d ArtifactRepoWithSlog) DeleteByUUID(ctx context.Context, id uuid.UUID) (err error)
- func (_d ArtifactRepoWithSlog) GetAll(ctx context.Context) (a1 _sourceMigration.Artifacts, err error)
- func (_d ArtifactRepoWithSlog) GetAllByType(ctx context.Context, artType api.ArtifactType) (a1 _sourceMigration.Artifacts, err error)
- func (_d ArtifactRepoWithSlog) GetByUUID(ctx context.Context, id uuid.UUID) (ap1 *_sourceMigration.Artifact, err error)
- func (_d ArtifactRepoWithSlog) Update(ctx context.Context, id uuid.UUID, artifact *_sourceMigration.Artifact) (err error)
 
- type BatchRepoWithSlog
- func (_d BatchRepoWithSlog) AssignBatch(ctx context.Context, batchName string, instanceUUID uuid.UUID) (err error)
- func (_d BatchRepoWithSlog) AssignMigrationWindows(ctx context.Context, batch string, windows _sourceMigration.MigrationWindows) (err error)
- func (_d BatchRepoWithSlog) Create(ctx context.Context, batch _sourceMigration.Batch) (i1 int64, err error)
- func (_d BatchRepoWithSlog) DeleteByName(ctx context.Context, name string) (err error)
- func (_d BatchRepoWithSlog) GetAll(ctx context.Context) (b1 _sourceMigration.Batches, err error)
- func (_d BatchRepoWithSlog) GetAllByState(ctx context.Context, status api.BatchStatusType) (b1 _sourceMigration.Batches, err error)
- func (_d BatchRepoWithSlog) GetAllNames(ctx context.Context) (sa1 []string, err error)
- func (_d BatchRepoWithSlog) GetAllNamesByState(ctx context.Context, status api.BatchStatusType) (sa1 []string, err error)
- func (_d BatchRepoWithSlog) GetByName(ctx context.Context, name string) (bp1 *_sourceMigration.Batch, err error)
- func (_d BatchRepoWithSlog) GetMigrationWindow(ctx context.Context, windowID int64) (mp1 *_sourceMigration.MigrationWindow, err error)
- func (_d BatchRepoWithSlog) GetMigrationWindowsByBatch(ctx context.Context, batch string) (m1 _sourceMigration.MigrationWindows, err error)
- func (_d BatchRepoWithSlog) Rename(ctx context.Context, oldName string, newName string) (err error)
- func (_d BatchRepoWithSlog) UnassignBatch(ctx context.Context, batchName string, instanceUUID uuid.UUID) (err error)
- func (_d BatchRepoWithSlog) UnassignMigrationWindows(ctx context.Context, batch string) (err error)
- func (_d BatchRepoWithSlog) Update(ctx context.Context, name string, batch _sourceMigration.Batch) (err error)
- func (_d BatchRepoWithSlog) UpdateMigrationWindows(ctx context.Context, batch string, windows _sourceMigration.MigrationWindows) (err error)
 
- type InstanceRepoWithSlog
- func (_d InstanceRepoWithSlog) Create(ctx context.Context, instance _sourceMigration.Instance) (i1 int64, err error)
- func (_d InstanceRepoWithSlog) DeleteByUUID(ctx context.Context, id uuid.UUID) (err error)
- func (_d InstanceRepoWithSlog) GetAll(ctx context.Context) (i1 _sourceMigration.Instances, err error)
- func (_d InstanceRepoWithSlog) GetAllAssigned(ctx context.Context) (i1 _sourceMigration.Instances, err error)
- func (_d InstanceRepoWithSlog) GetAllByBatch(ctx context.Context, batch string) (i1 _sourceMigration.Instances, err error)
- func (_d InstanceRepoWithSlog) GetAllBySource(ctx context.Context, source string) (i1 _sourceMigration.Instances, err error)
- func (_d InstanceRepoWithSlog) GetAllByUUIDs(ctx context.Context, id ...uuid.UUID) (i1 _sourceMigration.Instances, err error)
- func (_d InstanceRepoWithSlog) GetAllUUIDs(ctx context.Context) (ua1 []uuid.UUID, err error)
- func (_d InstanceRepoWithSlog) GetAllUUIDsBySource(ctx context.Context, source string) (ua1 []uuid.UUID, err error)
- func (_d InstanceRepoWithSlog) GetAllUnassigned(ctx context.Context) (i1 _sourceMigration.Instances, err error)
- func (_d InstanceRepoWithSlog) GetBatchesByUUID(ctx context.Context, instanceUUID uuid.UUID) (b1 _sourceMigration.Batches, err error)
- func (_d InstanceRepoWithSlog) GetByUUID(ctx context.Context, id uuid.UUID) (ip1 *_sourceMigration.Instance, err error)
- func (_d InstanceRepoWithSlog) RemoveFromQueue(ctx context.Context, id uuid.UUID) (err error)
- func (_d InstanceRepoWithSlog) Update(ctx context.Context, instance _sourceMigration.Instance) (err error)
 
- type NetworkRepoWithSlog
- func (_d NetworkRepoWithSlog) Create(ctx context.Context, network _sourceMigration.Network) (i1 int64, err error)
- func (_d NetworkRepoWithSlog) DeleteByNameAndSource(ctx context.Context, name string, src string) (err error)
- func (_d NetworkRepoWithSlog) GetAll(ctx context.Context) (n1 _sourceMigration.Networks, err error)
- func (_d NetworkRepoWithSlog) GetAllBySource(ctx context.Context, src string) (n1 _sourceMigration.Networks, err error)
- func (_d NetworkRepoWithSlog) GetByNameAndSource(ctx context.Context, name string, src string) (np1 *_sourceMigration.Network, err error)
- func (_d NetworkRepoWithSlog) Update(ctx context.Context, network _sourceMigration.Network) (err error)
 
- type QueueRepoWithSlog
- func (_d QueueRepoWithSlog) Create(ctx context.Context, queue _sourceMigration.QueueEntry) (i1 int64, err error)
- func (_d QueueRepoWithSlog) DeleteAllByBatch(ctx context.Context, batch string) (err error)
- func (_d QueueRepoWithSlog) DeleteByUUID(ctx context.Context, id uuid.UUID) (err error)
- func (_d QueueRepoWithSlog) GetAll(ctx context.Context) (q1 _sourceMigration.QueueEntries, err error)
- func (_d QueueRepoWithSlog) GetAllByBatch(ctx context.Context, batch string) (q1 _sourceMigration.QueueEntries, err error)
- func (_d QueueRepoWithSlog) GetAllByBatchAndState(ctx context.Context, batch string, statuses ...api.MigrationStatusType) (q1 _sourceMigration.QueueEntries, err error)
- func (_d QueueRepoWithSlog) GetAllByState(ctx context.Context, status ...api.MigrationStatusType) (q1 _sourceMigration.QueueEntries, err error)
- func (_d QueueRepoWithSlog) GetAllNeedingImport(ctx context.Context, batch string, importStage _sourceMigration.ImportStage) (q1 _sourceMigration.QueueEntries, err error)
- func (_d QueueRepoWithSlog) GetByInstanceUUID(ctx context.Context, id uuid.UUID) (qp1 *_sourceMigration.QueueEntry, err error)
- func (_d QueueRepoWithSlog) Update(ctx context.Context, entry _sourceMigration.QueueEntry) (err error)
 
- type SourceRepoWithSlog
- func (_d SourceRepoWithSlog) Create(ctx context.Context, source _sourceMigration.Source) (i1 int64, err error)
- func (_d SourceRepoWithSlog) DeleteByName(ctx context.Context, name string) (err error)
- func (_d SourceRepoWithSlog) GetAll(ctx context.Context, sourceTypes ...api.SourceType) (s1 _sourceMigration.Sources, err error)
- func (_d SourceRepoWithSlog) GetAllNames(ctx context.Context, sourceTypes ...api.SourceType) (sa1 []string, err error)
- func (_d SourceRepoWithSlog) GetByName(ctx context.Context, name string) (sp1 *_sourceMigration.Source, err error)
- func (_d SourceRepoWithSlog) Rename(ctx context.Context, oldName string, newName string) (err error)
- func (_d SourceRepoWithSlog) Update(ctx context.Context, name string, source _sourceMigration.Source) (err error)
 
- type TargetRepoWithSlog
- func (_d TargetRepoWithSlog) Create(ctx context.Context, target _sourceMigration.Target) (i1 int64, err error)
- func (_d TargetRepoWithSlog) DeleteByName(ctx context.Context, name string) (err error)
- func (_d TargetRepoWithSlog) GetAll(ctx context.Context) (t1 _sourceMigration.Targets, err error)
- func (_d TargetRepoWithSlog) GetAllNames(ctx context.Context) (sa1 []string, err error)
- func (_d TargetRepoWithSlog) GetByName(ctx context.Context, name string) (tp1 *_sourceMigration.Target, err error)
- func (_d TargetRepoWithSlog) Rename(ctx context.Context, oldName string, newName string) (err error)
- func (_d TargetRepoWithSlog) Update(ctx context.Context, name string, target _sourceMigration.Target) (err error)
 
- type WarningRepoWithSlog
- func (_d WarningRepoWithSlog) DeleteByUUID(ctx context.Context, id uuid.UUID) (err error)
- func (_d WarningRepoWithSlog) GetAll(ctx context.Context) (w1 _sourceMigration.Warnings, err error)
- func (_d WarningRepoWithSlog) GetByScopeAndType(ctx context.Context, scope api.WarningScope, wType api.WarningType) (w1 _sourceMigration.Warnings, err error)
- func (_d WarningRepoWithSlog) GetByUUID(ctx context.Context, id uuid.UUID) (wp1 *_sourceMigration.Warning, err error)
- func (_d WarningRepoWithSlog) Update(ctx context.Context, id uuid.UUID, w _sourceMigration.Warning) (err error)
- func (_d WarningRepoWithSlog) Upsert(ctx context.Context, w _sourceMigration.Warning) (i1 int64, err error)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactRepoWithSlog ¶
type ArtifactRepoWithSlog struct {
	// contains filtered or unexported fields
}
    ArtifactRepoWithSlog implements _sourceMigration.ArtifactRepo that is instrumented with slog logger
func NewArtifactRepoWithSlog ¶
func NewArtifactRepoWithSlog(base _sourceMigration.ArtifactRepo, log *slog.Logger) ArtifactRepoWithSlog
NewArtifactRepoWithSlog instruments an implementation of the _sourceMigration.ArtifactRepo with simple logging
func (ArtifactRepoWithSlog) Create ¶
func (_d ArtifactRepoWithSlog) Create(ctx context.Context, artifact _sourceMigration.Artifact) (i1 int64, err error)
Create implements _sourceMigration.ArtifactRepo
func (ArtifactRepoWithSlog) DeleteByUUID ¶
DeleteByUUID implements _sourceMigration.ArtifactRepo
func (ArtifactRepoWithSlog) GetAll ¶
func (_d ArtifactRepoWithSlog) GetAll(ctx context.Context) (a1 _sourceMigration.Artifacts, err error)
GetAll implements _sourceMigration.ArtifactRepo
func (ArtifactRepoWithSlog) GetAllByType ¶
func (_d ArtifactRepoWithSlog) GetAllByType(ctx context.Context, artType api.ArtifactType) (a1 _sourceMigration.Artifacts, err error)
GetAllByType implements _sourceMigration.ArtifactRepo
func (ArtifactRepoWithSlog) GetByUUID ¶
func (_d ArtifactRepoWithSlog) GetByUUID(ctx context.Context, id uuid.UUID) (ap1 *_sourceMigration.Artifact, err error)
GetByUUID implements _sourceMigration.ArtifactRepo
func (ArtifactRepoWithSlog) Update ¶
func (_d ArtifactRepoWithSlog) Update(ctx context.Context, id uuid.UUID, artifact *_sourceMigration.Artifact) (err error)
Update implements _sourceMigration.ArtifactRepo
type BatchRepoWithSlog ¶
type BatchRepoWithSlog struct {
	// contains filtered or unexported fields
}
    BatchRepoWithSlog implements _sourceMigration.BatchRepo that is instrumented with slog logger
func NewBatchRepoWithSlog ¶
func NewBatchRepoWithSlog(base _sourceMigration.BatchRepo, log *slog.Logger) BatchRepoWithSlog
NewBatchRepoWithSlog instruments an implementation of the _sourceMigration.BatchRepo with simple logging
func (BatchRepoWithSlog) AssignBatch ¶
func (_d BatchRepoWithSlog) AssignBatch(ctx context.Context, batchName string, instanceUUID uuid.UUID) (err error)
AssignBatch implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) AssignMigrationWindows ¶
func (_d BatchRepoWithSlog) AssignMigrationWindows(ctx context.Context, batch string, windows _sourceMigration.MigrationWindows) (err error)
AssignMigrationWindows implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) Create ¶
func (_d BatchRepoWithSlog) Create(ctx context.Context, batch _sourceMigration.Batch) (i1 int64, err error)
Create implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) DeleteByName ¶
func (_d BatchRepoWithSlog) DeleteByName(ctx context.Context, name string) (err error)
DeleteByName implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) GetAll ¶
func (_d BatchRepoWithSlog) GetAll(ctx context.Context) (b1 _sourceMigration.Batches, err error)
GetAll implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) GetAllByState ¶
func (_d BatchRepoWithSlog) GetAllByState(ctx context.Context, status api.BatchStatusType) (b1 _sourceMigration.Batches, err error)
GetAllByState implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) GetAllNames ¶
func (_d BatchRepoWithSlog) GetAllNames(ctx context.Context) (sa1 []string, err error)
GetAllNames implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) GetAllNamesByState ¶
func (_d BatchRepoWithSlog) GetAllNamesByState(ctx context.Context, status api.BatchStatusType) (sa1 []string, err error)
GetAllNamesByState implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) GetByName ¶
func (_d BatchRepoWithSlog) GetByName(ctx context.Context, name string) (bp1 *_sourceMigration.Batch, err error)
GetByName implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) GetMigrationWindow ¶
func (_d BatchRepoWithSlog) GetMigrationWindow(ctx context.Context, windowID int64) (mp1 *_sourceMigration.MigrationWindow, err error)
GetMigrationWindow implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) GetMigrationWindowsByBatch ¶
func (_d BatchRepoWithSlog) GetMigrationWindowsByBatch(ctx context.Context, batch string) (m1 _sourceMigration.MigrationWindows, err error)
GetMigrationWindowsByBatch implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) UnassignBatch ¶
func (_d BatchRepoWithSlog) UnassignBatch(ctx context.Context, batchName string, instanceUUID uuid.UUID) (err error)
UnassignBatch implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) UnassignMigrationWindows ¶
func (_d BatchRepoWithSlog) UnassignMigrationWindows(ctx context.Context, batch string) (err error)
UnassignMigrationWindows implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) Update ¶
func (_d BatchRepoWithSlog) Update(ctx context.Context, name string, batch _sourceMigration.Batch) (err error)
Update implements _sourceMigration.BatchRepo
func (BatchRepoWithSlog) UpdateMigrationWindows ¶
func (_d BatchRepoWithSlog) UpdateMigrationWindows(ctx context.Context, batch string, windows _sourceMigration.MigrationWindows) (err error)
UpdateMigrationWindows implements _sourceMigration.BatchRepo
type InstanceRepoWithSlog ¶
type InstanceRepoWithSlog struct {
	// contains filtered or unexported fields
}
    InstanceRepoWithSlog implements _sourceMigration.InstanceRepo that is instrumented with slog logger
func NewInstanceRepoWithSlog ¶
func NewInstanceRepoWithSlog(base _sourceMigration.InstanceRepo, log *slog.Logger) InstanceRepoWithSlog
NewInstanceRepoWithSlog instruments an implementation of the _sourceMigration.InstanceRepo with simple logging
func (InstanceRepoWithSlog) Create ¶
func (_d InstanceRepoWithSlog) Create(ctx context.Context, instance _sourceMigration.Instance) (i1 int64, err error)
Create implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) DeleteByUUID ¶
DeleteByUUID implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) GetAll ¶
func (_d InstanceRepoWithSlog) GetAll(ctx context.Context) (i1 _sourceMigration.Instances, err error)
GetAll implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) GetAllAssigned ¶
func (_d InstanceRepoWithSlog) GetAllAssigned(ctx context.Context) (i1 _sourceMigration.Instances, err error)
GetAllAssigned implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) GetAllByBatch ¶
func (_d InstanceRepoWithSlog) GetAllByBatch(ctx context.Context, batch string) (i1 _sourceMigration.Instances, err error)
GetAllByBatch implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) GetAllBySource ¶
func (_d InstanceRepoWithSlog) GetAllBySource(ctx context.Context, source string) (i1 _sourceMigration.Instances, err error)
GetAllBySource implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) GetAllByUUIDs ¶
func (_d InstanceRepoWithSlog) GetAllByUUIDs(ctx context.Context, id ...uuid.UUID) (i1 _sourceMigration.Instances, err error)
GetAllByUUIDs implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) GetAllUUIDs ¶
GetAllUUIDs implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) GetAllUUIDsBySource ¶
func (_d InstanceRepoWithSlog) GetAllUUIDsBySource(ctx context.Context, source string) (ua1 []uuid.UUID, err error)
GetAllUUIDsBySource implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) GetAllUnassigned ¶
func (_d InstanceRepoWithSlog) GetAllUnassigned(ctx context.Context) (i1 _sourceMigration.Instances, err error)
GetAllUnassigned implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) GetBatchesByUUID ¶
func (_d InstanceRepoWithSlog) GetBatchesByUUID(ctx context.Context, instanceUUID uuid.UUID) (b1 _sourceMigration.Batches, err error)
GetBatchesByUUID implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) GetByUUID ¶
func (_d InstanceRepoWithSlog) GetByUUID(ctx context.Context, id uuid.UUID) (ip1 *_sourceMigration.Instance, err error)
GetByUUID implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) RemoveFromQueue ¶
RemoveFromQueue implements _sourceMigration.InstanceRepo
func (InstanceRepoWithSlog) Update ¶
func (_d InstanceRepoWithSlog) Update(ctx context.Context, instance _sourceMigration.Instance) (err error)
Update implements _sourceMigration.InstanceRepo
type NetworkRepoWithSlog ¶
type NetworkRepoWithSlog struct {
	// contains filtered or unexported fields
}
    NetworkRepoWithSlog implements _sourceMigration.NetworkRepo that is instrumented with slog logger
func NewNetworkRepoWithSlog ¶
func NewNetworkRepoWithSlog(base _sourceMigration.NetworkRepo, log *slog.Logger) NetworkRepoWithSlog
NewNetworkRepoWithSlog instruments an implementation of the _sourceMigration.NetworkRepo with simple logging
func (NetworkRepoWithSlog) Create ¶
func (_d NetworkRepoWithSlog) Create(ctx context.Context, network _sourceMigration.Network) (i1 int64, err error)
Create implements _sourceMigration.NetworkRepo
func (NetworkRepoWithSlog) DeleteByNameAndSource ¶
func (_d NetworkRepoWithSlog) DeleteByNameAndSource(ctx context.Context, name string, src string) (err error)
DeleteByNameAndSource implements _sourceMigration.NetworkRepo
func (NetworkRepoWithSlog) GetAll ¶
func (_d NetworkRepoWithSlog) GetAll(ctx context.Context) (n1 _sourceMigration.Networks, err error)
GetAll implements _sourceMigration.NetworkRepo
func (NetworkRepoWithSlog) GetAllBySource ¶
func (_d NetworkRepoWithSlog) GetAllBySource(ctx context.Context, src string) (n1 _sourceMigration.Networks, err error)
GetAllBySource implements _sourceMigration.NetworkRepo
func (NetworkRepoWithSlog) GetByNameAndSource ¶
func (_d NetworkRepoWithSlog) GetByNameAndSource(ctx context.Context, name string, src string) (np1 *_sourceMigration.Network, err error)
GetByNameAndSource implements _sourceMigration.NetworkRepo
func (NetworkRepoWithSlog) Update ¶
func (_d NetworkRepoWithSlog) Update(ctx context.Context, network _sourceMigration.Network) (err error)
Update implements _sourceMigration.NetworkRepo
type QueueRepoWithSlog ¶
type QueueRepoWithSlog struct {
	// contains filtered or unexported fields
}
    QueueRepoWithSlog implements _sourceMigration.QueueRepo that is instrumented with slog logger
func NewQueueRepoWithSlog ¶
func NewQueueRepoWithSlog(base _sourceMigration.QueueRepo, log *slog.Logger) QueueRepoWithSlog
NewQueueRepoWithSlog instruments an implementation of the _sourceMigration.QueueRepo with simple logging
func (QueueRepoWithSlog) Create ¶
func (_d QueueRepoWithSlog) Create(ctx context.Context, queue _sourceMigration.QueueEntry) (i1 int64, err error)
Create implements _sourceMigration.QueueRepo
func (QueueRepoWithSlog) DeleteAllByBatch ¶
func (_d QueueRepoWithSlog) DeleteAllByBatch(ctx context.Context, batch string) (err error)
DeleteAllByBatch implements _sourceMigration.QueueRepo
func (QueueRepoWithSlog) DeleteByUUID ¶
DeleteByUUID implements _sourceMigration.QueueRepo
func (QueueRepoWithSlog) GetAll ¶
func (_d QueueRepoWithSlog) GetAll(ctx context.Context) (q1 _sourceMigration.QueueEntries, err error)
GetAll implements _sourceMigration.QueueRepo
func (QueueRepoWithSlog) GetAllByBatch ¶
func (_d QueueRepoWithSlog) GetAllByBatch(ctx context.Context, batch string) (q1 _sourceMigration.QueueEntries, err error)
GetAllByBatch implements _sourceMigration.QueueRepo
func (QueueRepoWithSlog) GetAllByBatchAndState ¶
func (_d QueueRepoWithSlog) GetAllByBatchAndState(ctx context.Context, batch string, statuses ...api.MigrationStatusType) (q1 _sourceMigration.QueueEntries, err error)
GetAllByBatchAndState implements _sourceMigration.QueueRepo
func (QueueRepoWithSlog) GetAllByState ¶
func (_d QueueRepoWithSlog) GetAllByState(ctx context.Context, status ...api.MigrationStatusType) (q1 _sourceMigration.QueueEntries, err error)
GetAllByState implements _sourceMigration.QueueRepo
func (QueueRepoWithSlog) GetAllNeedingImport ¶
func (_d QueueRepoWithSlog) GetAllNeedingImport(ctx context.Context, batch string, importStage _sourceMigration.ImportStage) (q1 _sourceMigration.QueueEntries, err error)
GetAllNeedingImport implements _sourceMigration.QueueRepo
func (QueueRepoWithSlog) GetByInstanceUUID ¶
func (_d QueueRepoWithSlog) GetByInstanceUUID(ctx context.Context, id uuid.UUID) (qp1 *_sourceMigration.QueueEntry, err error)
GetByInstanceUUID implements _sourceMigration.QueueRepo
func (QueueRepoWithSlog) Update ¶
func (_d QueueRepoWithSlog) Update(ctx context.Context, entry _sourceMigration.QueueEntry) (err error)
Update implements _sourceMigration.QueueRepo
type SourceRepoWithSlog ¶
type SourceRepoWithSlog struct {
	// contains filtered or unexported fields
}
    SourceRepoWithSlog implements _sourceMigration.SourceRepo that is instrumented with slog logger
func NewSourceRepoWithSlog ¶
func NewSourceRepoWithSlog(base _sourceMigration.SourceRepo, log *slog.Logger) SourceRepoWithSlog
NewSourceRepoWithSlog instruments an implementation of the _sourceMigration.SourceRepo with simple logging
func (SourceRepoWithSlog) Create ¶
func (_d SourceRepoWithSlog) Create(ctx context.Context, source _sourceMigration.Source) (i1 int64, err error)
Create implements _sourceMigration.SourceRepo
func (SourceRepoWithSlog) DeleteByName ¶
func (_d SourceRepoWithSlog) DeleteByName(ctx context.Context, name string) (err error)
DeleteByName implements _sourceMigration.SourceRepo
func (SourceRepoWithSlog) GetAll ¶
func (_d SourceRepoWithSlog) GetAll(ctx context.Context, sourceTypes ...api.SourceType) (s1 _sourceMigration.Sources, err error)
GetAll implements _sourceMigration.SourceRepo
func (SourceRepoWithSlog) GetAllNames ¶
func (_d SourceRepoWithSlog) GetAllNames(ctx context.Context, sourceTypes ...api.SourceType) (sa1 []string, err error)
GetAllNames implements _sourceMigration.SourceRepo
func (SourceRepoWithSlog) GetByName ¶
func (_d SourceRepoWithSlog) GetByName(ctx context.Context, name string) (sp1 *_sourceMigration.Source, err error)
GetByName implements _sourceMigration.SourceRepo
func (SourceRepoWithSlog) Rename ¶
func (_d SourceRepoWithSlog) Rename(ctx context.Context, oldName string, newName string) (err error)
Rename implements _sourceMigration.SourceRepo
func (SourceRepoWithSlog) Update ¶
func (_d SourceRepoWithSlog) Update(ctx context.Context, name string, source _sourceMigration.Source) (err error)
Update implements _sourceMigration.SourceRepo
type TargetRepoWithSlog ¶
type TargetRepoWithSlog struct {
	// contains filtered or unexported fields
}
    TargetRepoWithSlog implements _sourceMigration.TargetRepo that is instrumented with slog logger
func NewTargetRepoWithSlog ¶
func NewTargetRepoWithSlog(base _sourceMigration.TargetRepo, log *slog.Logger) TargetRepoWithSlog
NewTargetRepoWithSlog instruments an implementation of the _sourceMigration.TargetRepo with simple logging
func (TargetRepoWithSlog) Create ¶
func (_d TargetRepoWithSlog) Create(ctx context.Context, target _sourceMigration.Target) (i1 int64, err error)
Create implements _sourceMigration.TargetRepo
func (TargetRepoWithSlog) DeleteByName ¶
func (_d TargetRepoWithSlog) DeleteByName(ctx context.Context, name string) (err error)
DeleteByName implements _sourceMigration.TargetRepo
func (TargetRepoWithSlog) GetAll ¶
func (_d TargetRepoWithSlog) GetAll(ctx context.Context) (t1 _sourceMigration.Targets, err error)
GetAll implements _sourceMigration.TargetRepo
func (TargetRepoWithSlog) GetAllNames ¶
func (_d TargetRepoWithSlog) GetAllNames(ctx context.Context) (sa1 []string, err error)
GetAllNames implements _sourceMigration.TargetRepo
func (TargetRepoWithSlog) GetByName ¶
func (_d TargetRepoWithSlog) GetByName(ctx context.Context, name string) (tp1 *_sourceMigration.Target, err error)
GetByName implements _sourceMigration.TargetRepo
func (TargetRepoWithSlog) Rename ¶
func (_d TargetRepoWithSlog) Rename(ctx context.Context, oldName string, newName string) (err error)
Rename implements _sourceMigration.TargetRepo
func (TargetRepoWithSlog) Update ¶
func (_d TargetRepoWithSlog) Update(ctx context.Context, name string, target _sourceMigration.Target) (err error)
Update implements _sourceMigration.TargetRepo
type WarningRepoWithSlog ¶
type WarningRepoWithSlog struct {
	// contains filtered or unexported fields
}
    WarningRepoWithSlog implements _sourceMigration.WarningRepo that is instrumented with slog logger
func NewWarningRepoWithSlog ¶
func NewWarningRepoWithSlog(base _sourceMigration.WarningRepo, log *slog.Logger) WarningRepoWithSlog
NewWarningRepoWithSlog instruments an implementation of the _sourceMigration.WarningRepo with simple logging
func (WarningRepoWithSlog) DeleteByUUID ¶
DeleteByUUID implements _sourceMigration.WarningRepo
func (WarningRepoWithSlog) GetAll ¶
func (_d WarningRepoWithSlog) GetAll(ctx context.Context) (w1 _sourceMigration.Warnings, err error)
GetAll implements _sourceMigration.WarningRepo
func (WarningRepoWithSlog) GetByScopeAndType ¶
func (_d WarningRepoWithSlog) GetByScopeAndType(ctx context.Context, scope api.WarningScope, wType api.WarningType) (w1 _sourceMigration.Warnings, err error)
GetByScopeAndType implements _sourceMigration.WarningRepo
func (WarningRepoWithSlog) GetByUUID ¶
func (_d WarningRepoWithSlog) GetByUUID(ctx context.Context, id uuid.UUID) (wp1 *_sourceMigration.Warning, err error)
GetByUUID implements _sourceMigration.WarningRepo
func (WarningRepoWithSlog) Update ¶
func (_d WarningRepoWithSlog) Update(ctx context.Context, id uuid.UUID, w _sourceMigration.Warning) (err error)
Update implements _sourceMigration.WarningRepo
func (WarningRepoWithSlog) Upsert ¶
func (_d WarningRepoWithSlog) Upsert(ctx context.Context, w _sourceMigration.Warning) (i1 int64, err error)
Upsert implements _sourceMigration.WarningRepo