object

package
v2.62.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanAndIndentJSON added in v2.62.0

func CleanAndIndentJSON(v any, prefix, indent string) ([]byte, error)

CleanAndIndentJSON takes any struct or data, marshals it, strips all top-level and nested "null" fields, and returns formatted JSON.

func FormatAccessKey added in v2.61.0

func FormatAccessKey(accessKey, argProjectID, defaultProjectID string) (formattedAccessKey string)

FormatAccessKey formats the access key to the <KEY>@<PROJECT_ID> format, overriding the already present project ID with the "project-id" argument if present.

func GetCommands

func GetCommands() *core.Commands

Types

type BucketGetResult added in v2.33.0

type BucketGetResult struct {
	Size      *scw.Size
	NbObjects *int64
	NbParts   *int64
	// contains filtered or unexported fields
}

type BucketResponse added in v2.33.0

type BucketResponse struct {
	SuccessResult *core.SuccessResult
	BucketInfo    *bucketInfo
}

type CustomS3ACLGrant added in v2.33.0

type CustomS3ACLGrant struct {
	Grantee    *string
	Permission types.Permission
}

Jump to

Keyboard shortcuts

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