permission

package
v2.0.104-beta Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, params files_sdk.PermissionCreateParams) (permission files_sdk.Permission, err error)

func Delete

func Delete(ctx context.Context, params files_sdk.PermissionDeleteParams) (err error)

Types

type Client

type Client struct {
	files_sdk.Config
}

func (*Client) Create

func (c *Client) Create(ctx context.Context, params files_sdk.PermissionCreateParams) (permission files_sdk.Permission, err error)

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, params files_sdk.PermissionDeleteParams) (err error)

func (*Client) List

func (c *Client) List(ctx context.Context, params files_sdk.PermissionListParams) (*Iter, error)

type Iter

type Iter struct {
	*lib.Iter
}

func List

func (*Iter) Permission

func (i *Iter) Permission() files_sdk.Permission

Jump to

Keyboard shortcuts

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