gcstorageretriever

package
v0.0.0-...-ed4ef5d Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Retriever

type Retriever struct {
	// Bucket is the name of your Google Cloud Storage Bucket.
	Bucket string

	// Object is the name of your file in your bucket.
	Object string

	// Options are Google Cloud Api options needed for downloading
	// your feature flag configuration file.
	Options []option.ClientOption
	// contains filtered or unexported fields
}

Retriever is a configuration struct for a Google Cloud Storage retriever.

func (*Retriever) Retrieve

func (retriever *Retriever) Retrieve(ctx context.Context) (content []byte, err error)

Jump to

Keyboard shortcuts

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