lock

package
v2.0.202-beta Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

Types

type Client

type Client struct {
	files_sdk.Config
}

func (*Client) Create

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

func (*Client) Delete

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

func (*Client) ListFor

type Iter

type Iter struct {
	*files_sdk.Iter
	*Client
}

func (*Iter) Iterate

func (i *Iter) Iterate(identifier interface{}, opts ...files_sdk.RequestResponseOption) (files_sdk.IterI, error)

func (*Iter) Lock

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

func (*Iter) Reload

func (i *Iter) Reload(opts ...files_sdk.RequestResponseOption) files_sdk.IterI

Jump to

Keyboard shortcuts

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