types

package
v0.0.0-...-0bf7c1b Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketID

type BucketID struct {
	SubID         string `json:"subscriptionID"`
	ResourceGroup string `json:"resourceGroup"`
	URL           string `json:"url"`
}

bucketID is returned by the DriverCreateBucket function call as an encoded string with the subID, resource group and the URL of the bucket. These details are required by DriverDeleteBucket and DriverGrantBucketAccess.

func DecodeToBucketID

func DecodeToBucketID(id string) (*BucketID, error)

Decodes base64 string to bucketID pointer struct

func (*BucketID) Encode

func (id *BucketID) Encode() (string, error)

Marshals bucketID struct into json bytes, then encodes into base64

Jump to

Keyboard shortcuts

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