storagemanager

package
v0.0.0-...-c590095 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateStorageReq

type CreateStorageReq = storage_manager.CreateStorageReq

type CreateStorageRes

type CreateStorageRes = storage_manager.CreateStorageRes

type DeleteStorageReq

type DeleteStorageReq = storage_manager.DeleteStorageReq

type DisableStorageReq

type DisableStorageReq = storage_manager.DisableStorageReq

type Empty

type Empty = storage_manager.Empty

type EnableStorageReq

type EnableStorageReq = storage_manager.EnableStorageReq

type FindAllReq

type FindAllReq = storage_manager.FindAllReq

type FindAllRes

type FindAllRes = storage_manager.FindAllRes

type GetEnableRes

type GetEnableRes = storage_manager.GetEnableRes

type GetStorageAddtionReq

type GetStorageAddtionReq = storage_manager.GetStorageAddtionReq

type GetStorageAddtionRes

type GetStorageAddtionRes = storage_manager.GetStorageAddtionRes

type GetStorageConfigReq

type GetStorageConfigReq = storage_manager.GetStorageConfigReq

type GetStorageConfigRes

type GetStorageConfigRes = storage_manager.GetStorageConfigRes

type GetStorageReq

type GetStorageReq = storage_manager.GetStorageReq

type StorageManager

type StorageManager interface {
	FindAll(ctx context.Context, in *FindAllReq, opts ...grpc.CallOption) (*FindAllRes, error)
	Get(ctx context.Context, in *GetStorageReq, opts ...grpc.CallOption) (*StorageModel, error)
	GetStorageConfig(ctx context.Context, in *GetStorageConfigReq, opts ...grpc.CallOption) (*GetStorageConfigRes, error)
	GetStorageAddtion(ctx context.Context, in *GetStorageAddtionReq, opts ...grpc.CallOption) (*GetStorageAddtionRes, error)
	GetEnable(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetEnableRes, error)
	Create(ctx context.Context, in *StorageModel, opts ...grpc.CallOption) (*CreateStorageRes, error)
	Updata(ctx context.Context, in *StorageModel, opts ...grpc.CallOption) (*Empty, error)
	Delete(ctx context.Context, in *DeleteStorageReq, opts ...grpc.CallOption) (*Empty, error)
	Enable(ctx context.Context, in *EnableStorageReq, opts ...grpc.CallOption) (*Empty, error)
	UpdataStatus(ctx context.Context, in *UpdataStatusReq, opts ...grpc.CallOption) (*Empty, error)
	Disable(ctx context.Context, in *DisableStorageReq, opts ...grpc.CallOption) (*Empty, error)
	LoadAll(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}

func NewStorageManager

func NewStorageManager(cli zrpc.Client) StorageManager

type StorageModel

type StorageModel = storage_manager.StorageModel

type UpdataStatusReq

type UpdataStatusReq = storage_manager.UpdataStatusReq

type UpdataStorageReq

type UpdataStorageReq = storage_manager.UpdataStorageReq

Jump to

Keyboard shortcuts

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