handlers

package
v0.0.0-...-614d85d Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBucket

func AddBucket(c echo.Context) error

AddBucket is the boilerplate function calling BucketHandler::Add

func AddCustomer

func AddCustomer(c echo.Context) error

AddCustomer is the boilerplate function calling CustomerHandler::Add

func AddPublicObject

func AddPublicObject(c echo.Context) error

AddPublicObject is the boilerplate function calling PublicObjectHandler::Add

func AddRoleBinding

func AddRoleBinding(c echo.Context) error

AddRoleBinding is the boilerplate function calling RoleBindingHandler::Add

func DeleteBucket

func DeleteBucket(c echo.Context) error

DeleteBucket is the boilerplate function calling BucketHandler::Delete

func DeleteBucketACL

func DeleteBucketACL(c echo.Context) error

DeleteBucketACL is the boilerplate function calling BucketAclHandler::Delete

func DeleteCustomer

func DeleteCustomer(c echo.Context) error

DeleteCustomer is the boilerplate function calling CustomerHandler::Delete

func DeletePublicObject

func DeletePublicObject(c echo.Context) error

DeletePublicObject is the boilerplate function calling PublicObjectHandler::Delete

func DeleteRoleBinding

func DeleteRoleBinding(c echo.Context) error

DeleteRoleBinding is the boilerplate function calling RoleBindingHandler::Delete

func GetBucket

func GetBucket(c echo.Context) error

GetBucket is the boilerplate function calling BucketHandler::Get

func GetBucketACL

func GetBucketACL(c echo.Context) error

GetBucketACL is the boilerplate function calling BucketAclHandler::Get

func GetCustomer

func GetCustomer(c echo.Context) error

GetCustomer is the boilerplate function calling CustomerHandler::Get

func GetRoleBinding

func GetRoleBinding(c echo.Context) error

GetRoleBinding is the boilerplate function calling RoleBindingHandler::Get

func ListBuckets

func ListBuckets(c echo.Context) error

ListBuckets is the boilerplate function calling BucketHandler::List

func ListCustomers

func ListCustomers(c echo.Context) error

ListCustomers is the boilerplate function calling CustomerHandler::List

func ListPublicObjects

func ListPublicObjects(c echo.Context) error

ListPublicObjects is the boilerplate function calling PublicObjectHandler::List

func ListRoleBindings

func ListRoleBindings(c echo.Context) error

ListRoleBindings is the boilerplate function calling RoleBindingHandler::List

func ListRoles

func ListRoles(c echo.Context) error

ListRoles returns predefined roles

func PutBucketACL

func PutBucketACL(c echo.Context) error

PutBucketACL is the boilerplate function calling BucketAclHandler::Update

func UpdateCustomer

func UpdateCustomer(c echo.Context) error

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

Jump to

Keyboard shortcuts

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