fake

package
v0.0.0-...-c7d747a Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryMetadataStore

type MemoryMetadataStore struct {
	Metas []meta.PackageRevisionMeta
}

MemoryMetadataStore is an in-memory implementation of the MetadataStore interface. It means metadata about packagerevisions will be stored in memory, which is useful for testing.

func (*MemoryMetadataStore) Create

func (m *MemoryMetadataStore) Create(ctx context.Context, pkgRevMeta meta.PackageRevisionMeta, repoName string, pkgRevUID types.UID) (meta.PackageRevisionMeta, error)

func (*MemoryMetadataStore) Delete

func (*MemoryMetadataStore) Get

func (*MemoryMetadataStore) List

func (*MemoryMetadataStore) Update

Jump to

Keyboard shortcuts

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