ossfactory

package
v0.0.0-...-13a1831 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSSClient

type OSSClient struct {
	OSS *oss.Client
}

OSSClient is a wrapper of OSS client that provides cleanup functionality.

func NewClientFromSecret

func NewClientFromSecret(kubecli kubernetes.Interface, namespace, endpoint, ossSecret string) (w *OSSClient, err error)

NewClientFromSecret returns a OSS client based on given k8s secret containing alibabacloud credentials.

Jump to

Keyboard shortcuts

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