cloud

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package cloud contains client-side data-provider inspection helpers used when a caller needs to talk directly to S3/GCS/Azure object storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectInfo

type ObjectInfo struct {
	Bucket      string
	Key         string
	Path        string
	SizeBytes   int64
	MetaSHA256  string
	ETag        string
	LastModTime time.Time
}

ObjectInfo is the resolved object metadata returned by inspection.

func InspectObject

func InspectObject(ctx context.Context, in ObjectParameters) (*ObjectInfo, error)

InspectObject inspects object metadata for configured-bucket and raw cloud URL workflows.

type ObjectParameters

type ObjectParameters struct {
	ObjectURL       string
	S3Region        string
	S3Endpoint      string
	S3AccessKey     string
	S3SecretKey     string
	SHA256          string
	DestinationPath string
}

ObjectParameters contains provider-agnostic object lookup settings for metadata inspection.

Jump to

Keyboard shortcuts

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