handler

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 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        core.DynamoDBAPI
	SNSClient     core.SnsAPI
	SNSTopic      string
	S3Client      core.S3API
}

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