client

package
v0.0.0-...-d2bd037 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AliCloudAccessKeyId       = "alicloud_access_key_id"
	AliCloudAccessKeySecret   = "alicloud_access_key_secret"
	AliCloudAccessKeyStsToken = "alicloud_access_key_sts_token"

	InstanceDefaultTimeout = 900
	DefaultWaitForInterval = 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AliCloudClientBuilderFuncType

type AliCloudClientBuilderFuncType func(client client.Client, secretName, namespace, region string) (Client, error)

type Client

Client is a wrapper object for actual AliCloud SDK clients to allow for easier testing.

func NewClient

func NewClient(ctrlRuntimeClient client.Client, secretName, namespace, region string) (Client, error)

func NewClientFromKeys

func NewClientFromKeys(accessKeyId, accessKeySecret, region string) (Client, error)

init client from ak directly

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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