obj

package
v2.20.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resource

func Resource() *schema.Resource

Types

type ObjectKeys added in v2.18.0

type ObjectKeys struct {
	AccessKey string
	SecretKey string
}

func GetObjKeys added in v2.18.0

func GetObjKeys(
	ctx context.Context,
	d *schema.ResourceData,
	config *helper.Config,
	client linodego.Client,
	bucket, cluster, permission string,
) (ObjectKeys, diag.Diagnostics, func())

GetObjKeys gets object access_key and secret_key in the following order: 1) Whether the keys are specified in the resource configuration; 2) Whether the provider-level object keys exist; 3) Whether user opts-in temporary keys generation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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