handler

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestSession

type ManifestSession struct {
	FileTableName string
	TableName     string
	Client        *dynamodb.Client
	SNSClient     *sns.Client
	SNSTopic      string
}

func (ManifestSession) AddFiles

func (s ManifestSession) AddFiles(manifestId string, items []manifestFile.FileDTO, forceStatus *manifestFile.Status) (*manifest.AddFilesStats, error)

AddFiles manages the workers and defines the go routines to add files to manifest db.

func (ManifestSession) CreateManifest

func (s ManifestSession) CreateManifest(item dbTable.ManifestTable) error

createManifest creates a new Manifest in DynamoDB

func (ManifestSession) PackageTypeResolver added in v0.2.3

func (s ManifestSession) PackageTypeResolver(items []manifestFile.FileDTO) []manifestFile.FileDTO

Jump to

Keyboard shortcuts

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