utils

package
v0.114.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureClient

func ConfigureClient(ctx context.Context, providerData *core.ProviderData, diags *diag.Diagnostics) *objectstorage.APIClient

func EnableProject added in v0.114.0

func EnableProject(ctx context.Context, projectId, region string, client objectstorage.DefaultAPI) error

EnableProject enables object storage for the specified project. If the project is already enabled, nothing happens. Two resources created in the same apply call this concurrently and the API rejects the losing call with 409 project.create_conflict; retrying is safe, since enabling an already enabled project succeeds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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