azure

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobSizeRotateWriter

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

BlobSizeRotateWriter endpoint defaults to blob.core.windows.net if nil we are not using AppendBlob because that has a cap of max 5000 appends

func NewAzureBlobRotateWriter

func NewAzureBlobRotateWriter(storageAccount, storageAccessKey, containerName, objectName string, rotationSize int, endpoint string) (*BlobSizeRotateWriter, error)

func (*BlobSizeRotateWriter) Close

func (w *BlobSizeRotateWriter) Close() (err error)

func (*BlobSizeRotateWriter) Rotate

func (w *BlobSizeRotateWriter) Rotate() (err error)

func (*BlobSizeRotateWriter) Write

func (w *BlobSizeRotateWriter) Write(output []byte) (int, error)

Jump to

Keyboard shortcuts

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