usersecrets

package
v0.0.0-...-51a0f74 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package usersecrets provides the api client for the usersecrets facade.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is the api client for the UserSecretsManager facade.

func NewClient

func NewClient(caller base.APICaller) *Client

NewClient creates a secret backends manager api client.

func (*Client) DeleteRevisions

func (c *Client) DeleteRevisions(uri *secrets.URI, revisions ...int) error

DeleteRevisions deletes the specified revisions of the secret.

func (*Client) WatchRevisionsToPrune

func (c *Client) WatchRevisionsToPrune() (watcher.StringsWatcher, error)

WatchRevisionsToPrune returns a watcher that triggers on secret obsolete revision changes.

Jump to

Keyboard shortcuts

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