s3

package
v0.0.0-...-1c6c245 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDriver

func NewDriver(ctx context.Context, c *imageregistryv1.ImageRegistryConfigStorageS3, kubeconfig *rest.Config, listers *regopclient.Listers) *driver

NewDriver creates a new s3 storage driver Used during bootstrapping

Types

type S3

type S3 struct {
	AccessKey string
	SecretKey string
	Bucket    string
	Region    string
}

func GetConfig

func GetConfig(kubeconfig *rest.Config, listers *regopclient.Listers) (*S3, error)

GetConfig reads configuration for the S3 cloud platform services.

Jump to

Keyboard shortcuts

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