provider

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package provider provides a factory for creating vault provider clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(_ context.Context) (vault.Provider, error)

NewClient creates a vault provider client based on stored configuration. It reads the provider type from the keychain and returns the appropriate client.

func NewClientFromURL

func NewClientFromURL(repoURL, token string) (vault.Provider, error)

NewClientFromURL creates a vault provider client from a repository URL and token. This is used during initialization to determine the correct provider.

func StoreProviderInfo

func StoreProviderInfo(providerType, repoURL string) error

StoreProviderInfo stores the provider type and repository info in the keychain.

Types

This section is empty.

Jump to

Keyboard shortcuts

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