manifest

package
v0.0.0-...-a6dfa66 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Bucket              string  `json:"bucket"`
	Key                 string  `json:"key"`
	ExpectedBucketOwner *string `json:"expectedBucketOwner,omitempty"`
	Size                int64   `json:"size,omitempty"`
	Checksum            string  `json:"checksum,omitempty"`
}

Manifest contains the bucket, key, and expectedBucketOwner field.

func UnmarshalFrom

func UnmarshalFrom(r io.Reader) (m Manifest, err error)

func (Manifest) MarshalTo

func (m Manifest) MarshalTo(w io.Writer) error

Jump to

Keyboard shortcuts

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