Documentation ¶
Index ¶
- type Client
- func (c *Client) DescribePath(ctx context.Context, path string) (e Entry, err error)
- func (c *Client) ListDirectory(ctx context.Context, path string) (d Directory, err error)
- func (c *Client) MakeDirectory(ctx context.Context, path string) (err error)
- func (c *Client) ModifyPermissions(ctx context.Context, path string, opts ...PermissionsOption) (err error)
- func (c *Client) RemoveDirectory(ctx context.Context, path string) (err error)
- type Directory
- type Entry
- type EntryType
- type Permissions
- type PermissionsOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DescribePath ¶
func (*Client) ListDirectory ¶
func (*Client) MakeDirectory ¶
func (*Client) ModifyPermissions ¶
type Entry ¶
type Entry struct { Name string Owner string Type EntryType Permissions []Permissions EffectivePermissions []Permissions }
func InnerConvertEntry ¶
func InnerConvertEntry(y *Ydb_Scheme.Entry) *Entry
type Permissions ¶
type PermissionsOption ¶
type PermissionsOption func(*permissionsDesc)
func WithChangeOwner ¶
func WithChangeOwner(owner string) PermissionsOption
func WithClearPermissions ¶
func WithClearPermissions() PermissionsOption
func WithGrantPermissions ¶
func WithGrantPermissions(p Permissions) PermissionsOption
func WithRevokePermissions ¶
func WithRevokePermissions(p Permissions) PermissionsOption
func WithSetPermissions ¶
func WithSetPermissions(p Permissions) PermissionsOption
Click to show internal directories.
Click to hide internal directories.