sync

package
v0.21.6 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusRepository

type StatusRepository struct {
	// contains filtered or unexported fields
}

func NewStatusSyncRepository

func NewStatusSyncRepository(pool *pgxpool.Pool) *StatusRepository

func (StatusRepository) GetLastUpdate added in v0.20.0

func (s StatusRepository) GetLastUpdate(ctx context.Context, projectName tenant.ProjectName, resources []*resource.Resource) (map[string]*resource.SourceVersioningInfo, error)

func (StatusRepository) Touch

func (s StatusRepository) Touch(ctx context.Context, projectName tenant.ProjectName, entityType string, identifiers []string) error

func (StatusRepository) Upsert

func (s StatusRepository) Upsert(ctx context.Context, projectName tenant.ProjectName, entityType, identifier string, remarks map[string]string, success bool) error

func (StatusRepository) UpsertRevision added in v0.20.0

func (s StatusRepository) UpsertRevision(ctx context.Context, projectName tenant.ProjectName, entityType, identifier string, remarks map[string]string, revision int, success bool) error

Jump to

Keyboard shortcuts

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