store

package
v0.0.0-...-dab88e5 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func NewStore

func NewStore(repo *git.Repository, encryptionKey age.Identity, signingKey ssh.Signer) *Store

func NewStoreFromPath

func NewStoreFromPath(storePath string) (*Store, error)

func (*Store) Delete

func (c *Store) Delete(key string) error

func (*Store) Get

func (c *Store) Get(key string) (string, error)

func (*Store) List

func (c *Store) List() ([]string, error)

func (*Store) Set

func (c *Store) Set(key string, value string, recipientGroups []string) error

Jump to

Keyboard shortcuts

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