pkg

package
v0.0.0-...-acf58c8 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 24 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileServiceClientCommand

func NewFileServiceClientCommand(options ...client.Option) *cobra.Command

Types

type FileClient

type FileClient struct {
	// contains filtered or unexported fields
}

func NewFileServiceClient

func NewFileServiceClient(cc grpc.ClientConnInterface) *FileClient

func (*FileClient) DownloadFile

func (fc *FileClient) DownloadFile(id string) ([]byte, error)

client library

func (*FileClient) UploadFile

func (fc *FileClient) UploadFile(filepath string, r io.ReadCloser, fileInfo *dbrpc.FileInfo) ([]byte, error)

UploadFile client library

type SysBusProxyClient

type SysBusProxyClient struct {
	SysBusClient *busClient
}

func NewSysBusProxyClient

func NewSysBusProxyClient(options ...cliClient.Option) *SysBusProxyClient

func (*SysBusProxyClient) CobraCommand

func (sb *SysBusProxyClient) CobraCommand() *cobra.Command

type SysCoreProxyClient

type SysCoreProxyClient struct {
	SysCoreClient *sysCoreClient
}

CLI

func NewSysCoreProxyClient

func NewSysCoreProxyClient(options ...cliClient.Option) *SysCoreProxyClient

func (*SysCoreProxyClient) CobraCommand

func (s *SysCoreProxyClient) CobraCommand() *cobra.Command

type SysMailProxyClient

type SysMailProxyClient struct {
	SysMailProxyClient *mailClient
}

func NewSysMailProxyClient

func NewSysMailProxyClient(options ...cliClient.Option) *SysMailProxyClient

func (*SysMailProxyClient) CobraCommand

func (sm *SysMailProxyClient) CobraCommand() *cobra.Command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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