lock

package
v2.0.36-beta Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Client

type Client struct {
	files_sdk.Config
}

func (*Client) Create

func (c *Client) Create(ctx context.Context, params files_sdk.LockCreateParams) (files_sdk.Lock, error)

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, params files_sdk.LockDeleteParams) (files_sdk.Lock, error)

func (*Client) ListFor

func (c *Client) ListFor(ctx context.Context, params files_sdk.LockListForParams) (*Iter, error)

type Iter

type Iter struct {
	*lib.Iter
}

func ListFor

func ListFor(ctx context.Context, params files_sdk.LockListForParams) (*Iter, error)

func (*Iter) Lock

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

Jump to

Keyboard shortcuts

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