gcssource

package
v0.0.0-...-2b2d3ae Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package gcssource implements files.Source on top of Google Cloud Storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCSSource

type GCSSource struct {
	// contains filtered or unexported fields
}

GCSSource implements file.Source for Google Cloud Storage.

func New

func New(ctx context.Context, instanceConfig *config.InstanceConfig, local bool) (*GCSSource, error)

New returns a new *GCSSource

func (*GCSSource) Start

func (s *GCSSource) Start(ctx context.Context) (<-chan file.File, error)

Start implements the file.Source interface.

Jump to

Keyboard shortcuts

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