client

package module
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ParseID     = secrets.ParseID
	MustParseID = secrets.MustParseID

	ParsePattern     = secrets.ParsePattern
	MustParsePattern = secrets.MustParsePattern

	ErrSecretNotFound = secrets.ErrNotFound
)

Functions

This section is empty.

Types

type Client added in v0.0.17

type Client interface {
	secrets.Resolver

	ListPlugins(ctx context.Context) ([]PluginInfo, error)
}

func New

func New(options ...Option) (Client, error)

type Envelope

type Envelope = secrets.Envelope

type ID

type ID = secrets.ID

type Option

type Option func(c *config) error

func WithDialContext added in v0.0.12

func WithDialContext(dialContext func(ctx context.Context, network, addr string) (net.Conn, error)) Option

func WithSocketPath

func WithSocketPath(path string) Option

func WithTimeout

func WithTimeout(timeout time.Duration) Option

type Pattern added in v0.0.9

type Pattern = secrets.Pattern

type PluginInfo added in v0.0.17

type PluginInfo struct {
	Name     api.Name
	Version  api.Version
	Pattern  secrets.Pattern
	External bool
}

Jump to

Keyboard shortcuts

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