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

Struct GCSClient

go/internal/feast/registry/gcs.go:24–26  ·  view source on GitHub ↗

GCSClient implements GCSObjectReader using the real GCS SDK.

Source from the content-addressed store, hash-verified

22
23// GCSClient implements GCSObjectReader using the real GCS SDK.
24type GCSClient struct {
25 client *storage.Client
26}
27
28func (g *GCSClient) GetObject(ctx context.Context, bucket string, object string) (io.ReadCloser, error) {
29 return g.client.Bucket(bucket).Object(object).NewReader(ctx)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected