gcs

package
v0.0.0-...-7f2974b Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ProjectID string

	Provider Provider
}

func (Config) GetClientOptions

func (c Config) GetClientOptions() ([]option.ClientOption, error)

type Provider

type Provider struct {
	Type ProviderType

	ServiceAccount ProviderServiceAccount
}

func (Provider) Provider

func (p Provider) Provider() (option.ClientOption, error)

type ProviderServiceAccount

type ProviderServiceAccount struct {
	JSON string
	File string
}

type ProviderType

type ProviderType string
const (
	ProviderTypeServiceAccount ProviderType = "serviceAccount"
)

Jump to

Keyboard shortcuts

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