Documentation ¶
Index ¶
- func AddBucket(c echo.Context) error
- func AddCustomer(c echo.Context) error
- func AddPublicObject(c echo.Context) error
- func AddRoleBinding(c echo.Context) error
- func DeleteBucket(c echo.Context) error
- func DeleteBucketACL(c echo.Context) error
- func DeleteCustomer(c echo.Context) error
- func DeletePublicObject(c echo.Context) error
- func DeleteRoleBinding(c echo.Context) error
- func GetBucket(c echo.Context) error
- func GetBucketACL(c echo.Context) error
- func GetCustomer(c echo.Context) error
- func GetRoleBinding(c echo.Context) error
- func ListBuckets(c echo.Context) error
- func ListCustomers(c echo.Context) error
- func ListPublicObjects(c echo.Context) error
- func ListRoleBindings(c echo.Context) error
- func ListRoles(c echo.Context) error
- func PutBucketACL(c echo.Context) error
- func UpdateCustomer(c echo.Context) error
- type Handler
- func NewBucketACLHandler(s etcd_store.BucketStore) Handler
- func NewBucketHandler(s etcd_store.BucketStore, v validator.BucketValidator) Handler
- func NewCustomerHandler(s etcd_store.CustomerStore) Handler
- func NewPublicObjectHandler(fos etcd_store.FileObjectStore) Handler
- func NewRoleBindingHandler(s etcd_store.RoleBindingStore) Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCustomer ¶
AddCustomer is the boilerplate function calling CustomerHandler::Add
func AddPublicObject ¶
AddPublicObject is the boilerplate function calling PublicObjectHandler::Add
func AddRoleBinding ¶
AddRoleBinding is the boilerplate function calling RoleBindingHandler::Add
func DeleteBucket ¶
DeleteBucket is the boilerplate function calling BucketHandler::Delete
func DeleteBucketACL ¶
DeleteBucketACL is the boilerplate function calling BucketAclHandler::Delete
func DeleteCustomer ¶
DeleteCustomer is the boilerplate function calling CustomerHandler::Delete
func DeletePublicObject ¶
DeletePublicObject is the boilerplate function calling PublicObjectHandler::Delete
func DeleteRoleBinding ¶
DeleteRoleBinding is the boilerplate function calling RoleBindingHandler::Delete
func GetBucketACL ¶
GetBucketACL is the boilerplate function calling BucketAclHandler::Get
func GetCustomer ¶
GetCustomer is the boilerplate function calling CustomerHandler::Get
func GetRoleBinding ¶
GetRoleBinding is the boilerplate function calling RoleBindingHandler::Get
func ListBuckets ¶
ListBuckets is the boilerplate function calling BucketHandler::List
func ListCustomers ¶
ListCustomers is the boilerplate function calling CustomerHandler::List
func ListPublicObjects ¶
ListPublicObjects is the boilerplate function calling PublicObjectHandler::List
func ListRoleBindings ¶
ListRoleBindings is the boilerplate function calling RoleBindingHandler::List
func PutBucketACL ¶
PutBucketACL is the boilerplate function calling BucketAclHandler::Update
func UpdateCustomer ¶
UpdateCustomer is the boilerplate function calling CustomerHandler::Update
Types ¶
type Handler ¶
type Handler interface { Get(c echo.Context) error List(c echo.Context) error Add(c echo.Context) error Delete(c echo.Context) error Update(c echo.Context) error }
Handler interface defines generic operations for API handlers
func NewBucketACLHandler ¶
func NewBucketACLHandler(s etcd_store.BucketStore) Handler
NewBucketACLHandler creates handler managing ACLs of buckets
func NewBucketHandler ¶
func NewBucketHandler(s etcd_store.BucketStore, v validator.BucketValidator) Handler
NewBucketHandler creates handler managing buckets
func NewCustomerHandler ¶
func NewCustomerHandler(s etcd_store.CustomerStore) Handler
NewCustomerHandler creates handler managing customers
func NewPublicObjectHandler ¶
func NewPublicObjectHandler(fos etcd_store.FileObjectStore) Handler
NewPublicObjectHandler creates handler managing public-objects
func NewRoleBindingHandler ¶
func NewRoleBindingHandler(s etcd_store.RoleBindingStore) Handler
NewRoleBindingHandler creates handler managing role-binding objects