manifest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DTO

type DTO struct {
	ID        string    `json:"id"`
	DatasetId string    `json:"dataset_id"`
	Files     []FileDTO `json:"files"`
}

type FileDTO

type FileDTO struct {
	UploadID   string `json:"uploadId"`
	S3Key      string `json:"s3Key"`
	TargetPath string `json:"targetPath"`
	TargetName string `json:"targetName"`
}

type ManifestStatus

type ManifestStatus int64
const (
	ManifestInitiated ManifestStatus = iota
	ManifestUploading
	ManifestCompleted
	ManifestCancelled
)

func (ManifestStatus) ManifestStatusMap

func (s ManifestStatus) ManifestStatusMap(value string) ManifestStatus

func (ManifestStatus) String

func (s ManifestStatus) String() string

type PostResponse

type PostResponse struct {
	ManifestNodeId string   `json:"manifest_node_id"'`
	NrFilesAdded   int      `json:"nrFilesAdded"`
	FailedFiles    []string `json:"failedFiles"`
}

Jump to

Keyboard shortcuts

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