storageServiceClient

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2015 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlobEndpoint

func GetBlobEndpoint(storageService *StorageService) (string, error)

Types

type ExtendedProperty

type ExtendedProperty struct {
	Name  string
	Value string
}

type ExtendedPropertyList

type ExtendedPropertyList struct {
	ExtendedProperty []ExtendedProperty
}

type StorageService

type StorageService struct {
	Url                      string
	ServiceName              string
	StorageServiceProperties StorageServiceProperties
}

func CreateStorageService

func CreateStorageService(name, location string) (*StorageService, error)

func GetStorageServiceByLocation

func GetStorageServiceByLocation(location string) (*StorageService, error)

func GetStorageServiceByName

func GetStorageServiceByName(serviceName string) (*StorageService, error)

type StorageServiceDeployment

type StorageServiceDeployment struct {
	XMLName               xml.Name `xml:"CreateStorageServiceInput"`
	Xmlns                 string   `xml:"xmlns,attr"`
	ServiceName           string
	Description           string
	Label                 string
	AffinityGroup         string `xml:",omitempty"`
	Location              string `xml:",omitempty"`
	GeoReplicationEnabled bool
	ExtendedProperties    ExtendedPropertyList
	SecondaryReadEnabled  bool
}

type StorageServiceList

type StorageServiceList struct {
	XMLName         xml.Name         `xml:"StorageServices"`
	Xmlns           string           `xml:"xmlns,attr"`
	StorageServices []StorageService `xml:"StorageService"`
}

func GetStorageServiceList

func GetStorageServiceList() (*StorageServiceList, error)

type StorageServiceProperties

type StorageServiceProperties struct {
	Description           string
	Location              string
	Label                 string
	Status                string
	Endpoints             []string `xml:"Endpoints>Endpoint"`
	GeoReplicationEnabled string
	GeoPrimaryRegion      string
}

Jump to

Keyboard shortcuts

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