connectctx

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

type Wrapper struct {
	// contains filtered or unexported fields
}

func Wrap

func Wrap(client connect.Client) *Wrapper

func (*Wrapper) CreateItem

func (w *Wrapper) CreateItem(_ context.Context, item *onepassword.Item, vaultUuid string) (*onepassword.Item, error)

func (*Wrapper) DeleteItem

func (w *Wrapper) DeleteItem(_ context.Context, item *onepassword.Item, vaultUuid string) error

func (*Wrapper) GetItem

func (w *Wrapper) GetItem(_ context.Context, itemUuid, vaultUuid string) (*onepassword.Item, error)

func (*Wrapper) GetItemByTitle

func (w *Wrapper) GetItemByTitle(_ context.Context, title string, vaultUuid string) (*onepassword.Item, error)

func (*Wrapper) GetVault

func (w *Wrapper) GetVault(_ context.Context, uuid string) (*onepassword.Vault, error)

func (*Wrapper) GetVaultsByTitle

func (w *Wrapper) GetVaultsByTitle(_ context.Context, title string) ([]onepassword.Vault, error)

func (*Wrapper) UpdateItem

func (w *Wrapper) UpdateItem(_ context.Context, item *onepassword.Item, vaultUuid string) (*onepassword.Item, error)

Jump to

Keyboard shortcuts

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