Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetVault(ctx context.Context, uuid string) (*onepassword.Vault, error) GetVaultsByTitle(ctx context.Context, title string) ([]onepassword.Vault, error) GetItem(ctx context.Context, itemUuid, vaultUuid string) (*onepassword.Item, error) GetItemByTitle(ctx context.Context, title string, vaultUuid string) (*onepassword.Item, error) CreateItem(ctx context.Context, item *onepassword.Item, vaultUuid string) (*onepassword.Item, error) UpdateItem(ctx context.Context, item *onepassword.Item, vaultUuid string) (*onepassword.Item, error) DeleteItem(ctx context.Context, item *onepassword.Item, vaultUuid string) error GetFileContent(ctx context.Context, file *onepassword.File, itemUUid, vaultUuid string) ([]byte, error) }
Client is a subset of connect.Client with context added.
func NewClient ¶
func NewClient(config ClientConfig) (Client, error)
Click to show internal directories.
Click to hide internal directories.