gcs

package
Version: v0.0.0-...-3e000fd Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UniformBucketLevelAccessEnabled = gstorage.UniformBucketLevelAccess{Enabled: true}
)

Functions

func NewDriver

func NewDriver(ctx context.Context, cfg *configv1.InfrastructureStatus, clnt client.Client) *driver

NewDriver creates a new gcs storage driver Used during bootstrapping

func NewGcsClient

func NewGcsClient(kubeClient client.Client) (stiface.Client, error)

NewGcsClient reads the gcp secrets in the operator's namespace and uses them to create a new client for accessing the GCS API.

Types

type GCS

type GCS struct {
	Region    string
	Project   string
	InfraName string
}

Jump to

Keyboard shortcuts

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