Documentation ¶
Overview ¶
* this package is trying to realize ceph's object client with go
Index ¶
- type Connection
- func (conn *Connection) Create_container(container string)
- func (conn *Connection) Delete_container(container string)
- func (conn *Connection) Delete_object(container string, object string)
- func (conn *Connection) List_container_contents(container string, v interface{}) error
- func (conn *Connection) List_containers(v interface{}) error
- func (conn *Connection) Put_object(container string, object string, data []byte)
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 (*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
Click to show internal directories.
Click to hide internal directories.