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

Interface GCSObjectReader

go/internal/feast/registry/gcs.go:18–21  ·  view source on GitHub ↗

GCSObjectReader defines the interface for reading GCS objects to allow mocking in tests.

Source from the content-addressed store, hash-verified

16
17// GCSObjectReader defines the interface for reading GCS objects to allow mocking in tests.
18type GCSObjectReader interface {
19 GetObject(ctx context.Context, bucket string, object string) (io.ReadCloser, error)
20 DeleteObject(ctx context.Context, bucket string, object string) error
21}
22
23// GCSClient implements GCSObjectReader using the real GCS SDK.
24type GCSClient 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