enhancer

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// TencentCloudAPISecretID represents the name of tencent cloud secret id's environment variable,
	// which used in tencent cloud's csi plugin.
	TencentCloudAPISecretID = "TENCENTCLOUD_API_SECRET_ID"
	// TencentCloudAPISecretKey represents the name of tencent cloud secret key's environment variable,
	// which used in tencent cloud's csi plugin.
	TencentCloudAPISecretKey = "TENCENTCLOUD_API_SECRET_KEY"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Enhancer

type Enhancer interface {
	// Enhance enhances a well known CSI type.
	Enhance(csiDeploy *csiv1.CSI) error
}

Enhancer is helper used to enhance a well known CSI type.

func New

func New(config *config.Config) Enhancer

New creates a Enhancer.

Jump to

Keyboard shortcuts

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