MCPcopy
hub / github.com/feast-dev/feast / S3ClientInterface

Interface S3ClientInterface

go/internal/feast/registry/s3.go:19–22  ·  view source on GitHub ↗

S3ClientInterface define interface of s3.Client for making mocking s3 client and testing it

Source from the content-addressed store, hash-verified

17
18// S3ClientInterface define interface of s3.Client for making mocking s3 client and testing it
19type S3ClientInterface interface {
20 GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
21 DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
22}
23
24// A S3RegistryStore is a S3 object storage-based implementation of the RegistryStore interface
25type S3RegistryStore struct {

Callers 2

GetRegistryProtoMethod · 0.65
TeardownMethod · 0.65

Implementers 3

MockS3Clientgo/internal/feast/registry/registry_te
MockGCSClientgo/internal/feast/registry/registry_te
GCSClientgo/internal/feast/registry/gcs.go

Calls

no outgoing calls

Tested by

no test coverage detected