Categorygithub.com/sacloud/object-storage-service-go
modulepackage
0.0.4
Repository: https://github.com/sacloud/object-storage-service-go.git
Documentation: pkg.go.dev

# README

object-storage-service-go

Go Reference Tests Go Report Card

さくらのオブジェクトストレージ高レベルAPIライブラリ

概要

さくらのオブジェクトストレージAPIをラップし、CRUD+L操作を統一的な手順で行えるインターフェースを提供します。

インターフェースの例:

// パーミッション操作の例
func (s *Service) Create(req *CreateRequest) (*v1.Permission, error)
func (s *Service) CreateWithContext(ctx context.Context, req *CreateRequest) (*v1.Permission, error)

func (s *Service) Read(req *ReadRequest) (*v1.Permission, error)
func (s *Service) ReadWithContext(ctx context.Context, req *ReadRequest) (*v1.Permission, error)

func (s *Service) Update(req *UpdateRequest) (*v1.Permission, error)
func (s *Service) UpdateWithContext(ctx context.Context, req *UpdateRequest) (*v1.Permission, error)

func (s *Service) Delete(req *DeleteRequest) error
func (s *Service) DeleteWithContext(ctx context.Context, req *DeleteRequest) error

func (s *Service) Find(req *FindRequest) ([]*v1.Permission, error)
func (s *Service) FindWithContext(ctx context.Context, req *FindRequest) ([]*v1.Permission, error)

以下のリソースに対応しています。

.
├── account
│   └── accesskey
├── bucket
├── permission
│   ├── accesskey
│   └── bucketcontrol
└── site
    └── status

License

sacloud/object-storage-service-go Copyright (C) 2022-2023 The sacloud/object-storage-service-go Authors.

This project is published under Apache 2.0 License.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author

# Constants

Version バージョン.

# Variables

UserAgent APIリクエスト時のユーザーエージェント.