Documentation
¶
Index ¶
- func NewMDSClient(port int) metadata.MetadataServiceClient
- type Client
- func (c *Client) ClearCache()
- func (c *Client) CreateFile(name string, data []byte) (int, error)
- func (c *Client) CreateFileWithStream(name string, data []byte) (int, error)
- func (c *Client) DeleteAllData()
- func (c *Client) GetFile(name string) ([]byte, error)
- func (c *Client) GetFileFromPort(port int32, name string) ([]byte, error)
- func (c *Client) GetFileFromPortWithStream(port int32, name string) ([]byte, error)
- func (c *Client) GetFileWithStream(name string) ([]byte, error)
- func (c *Client) GrepOnFileServer(fileName string, word string, port int32) (int, error)
- func (c *Client) MkDir(name string) error
- func (c *Client) OpenDir(name string) (string, error)
- func (c *Client) ReadDir(name string, index int, useCache bool) (*metadata.FileInfo, error)
- type ClientCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMDSClient ¶
func NewMDSClient(port int) metadata.MetadataServiceClient
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ClearCache ¶
func (c *Client) ClearCache()
func (*Client) CreateFileWithStream ¶
func (*Client) DeleteAllData ¶
func (c *Client) DeleteAllData()
func (*Client) GetFileFromPort ¶
func (*Client) GetFileFromPortWithStream ¶
func (*Client) GrepOnFileServer ¶
type ClientCache ¶
type ClientCache struct {
// contains filtered or unexported fields
}
this client cache will the used for caching metadata as part of the metadata prefetching optimization
Click to show internal directories.
Click to hide internal directories.