memory

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package memory provides an in-memory implementation of store.Store for testing.

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
}

Store is an in-memory store implementation for testing.

func New

func New() *Store

New creates a new in-memory store.

func (*Store) Close

func (s *Store) Close() error

func (*Store) Keys

func (s *Store) Keys() key.Store

func (*Store) Migrate

func (s *Store) Migrate(_ context.Context) error

func (*Store) Ping

func (s *Store) Ping(_ context.Context) error

func (*Store) Policies

func (s *Store) Policies() policy.Store

func (*Store) Rotations

func (s *Store) Rotations() rotation.Store

func (*Store) Scopes

func (s *Store) Scopes() scope.Store

func (*Store) Usages

func (s *Store) Usages() usage.Store

Jump to

Keyboard shortcuts

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