storage

package
v0.0.0-...-445d89e Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PersistenceLayer

type PersistenceLayer interface {
	Add(r common.Resource) error
	Delete(name string) error
	Update(r common.Resource) (common.Resource, error)
	Get(name string) (common.Resource, error)
	List() ([]common.Resource, error)
}

PersistenceLayer defines a simple interface to persists Boskos Information

func NewMemoryStorage

func NewMemoryStorage() PersistenceLayer

NewMemoryStorage creates an in memory persistence layer

Jump to

Keyboard shortcuts

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