gohaveazurestoragecommon

package
v0.0.0-...-da4f7c2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPolicy

type AccessPolicy struct {
	Start      string
	Expiry     string
	Permission string
}

type CorsRuleXMLDto

type CorsRuleXMLDto struct {
	AllowedOrigins  string `xml:",omitempty"`
	AllowedMethods  string `xml:",omitempty"`
	MaxAgeInSeconds string `xml:",omitempty"`
	ExposedHeaders  string `xml:",omitempty"`
	AllowedHeaders  string `xml:",omitempty"`
}

type CorsXMLDto

type CorsXMLDto struct {
}

type GeoReplication

type GeoReplication struct {
	Status       string
	LastSyncTime string
}

type HTTP

type HTTP struct {
	// contains filtered or unexported fields
}

func NewHTTP

func NewHTTP(storageType string, account string, key []byte, dumpSessions bool) *HTTP

func (*HTTP) Request

func (storagehttp *HTTP) Request(httpVerb string, target string, query string, json []byte, useIfMatch bool, useAccept bool, useContentTypeXML bool, useSecondary bool) ([]byte, int)

type HourMetricsProperties

type HourMetricsProperties struct {
	Version         string
	Enabled         bool
	IncludeAPIs     bool `xml:",omitempty"`
	RetentionPolicy RetentionPolicy
}

type LoggingProperties

type LoggingProperties struct {
	Version         string
	Read            bool
	Write           bool
	Delete          bool
	RetentionPolicy RetentionPolicy
}

type MinuteMetricsProperties

type MinuteMetricsProperties struct {
	Version         string
	Enabled         bool
	IncludeAPIs     bool `xml:",omitempty"`
	RetentionPolicy RetentionPolicy
}

type RetentionPolicy

type RetentionPolicy struct {
	Enabled bool
	Days    int `xml:",omitempty"`
}

type SignedIdentifier

type SignedIdentifier struct {
	Id           string
	AccessPolicy AccessPolicy
}

type SignedIdentifiers

type SignedIdentifiers struct {
	SignedIdentifiers []SignedIdentifier `xml:"SignedIdentifier"`
}

type StorageServiceProperties

type StorageServiceProperties struct {
	XMLName       xml.Name `xml:"StorageServiceProperties"`
	Logging       LoggingProperties
	HourMetrics   HourMetricsProperties
	MinuteMetrics MinuteMetricsProperties
	Cors          CorsXMLDto `xml:",omitempty"`
}

type StorageServiceStats

type StorageServiceStats struct {
	XMLName        xml.Name `xml:"StorageServiceStats"`
	GeoReplication GeoReplication
}

Jump to

Keyboard shortcuts

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