osclient

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

为实现 controllerserver(创建,删除 volume 目录)

osclient 使用对应服务 sdk 连接对象存储服务器

黑箱不同用法,cos 和 oss 类似,需要提前指定 bucket 名字创建连接

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	BucketExists() (bool, error)
	CreatePrefix(prefix string) error
	RemovePrefix(prefix string) error
	GetConfig() *mounter.Config
}

func New

func New(cfg *mounter.Config) (Client, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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