lock

package
v2.0.84-beta Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

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

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) 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