radosgw

package
v0.0.0-...-6336a99 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

* this package is trying to realize ceph's object client with go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

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

func New

func New(user string, key string, auth_url string) *Connection

func (*Connection) Create_container

func (conn *Connection) Create_container(container string)

func (*Connection) Delete_container

func (conn *Connection) Delete_container(container string)

func (*Connection) Delete_object

func (conn *Connection) Delete_object(container string, object string)

func (*Connection) List_container_contents

func (conn *Connection) List_container_contents(container string, v interface{}) error

func (*Connection) List_containers

func (conn *Connection) List_containers(v interface{}) error

func (*Connection) Put_object

func (conn *Connection) Put_object(container string, object string, data []byte)

Create or update an object

Jump to

Keyboard shortcuts

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