storage

package
v0.0.0-...-0a7fcff Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const PostgresStorageType = "postgres"

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageInterface

type StorageInterface interface {
	Initialize() (shutdown func(), err error)
	Ready() bool
	UpsertHellos(ctx context.Context, request *sprinklesv1.UpsertHellosRequest) ([]*sprinklesv1.Hello, error)
	DeleteHellos(ctx context.Context, ids []string) error
	ListHellos(ctx context.Context, request *sprinklesv1.ListRequest) ([]*sprinklesv1.Hello, error)
	GetHellos(ctx context.Context, request *sprinklesv1.GetRequest) ([]*sprinklesv1.Hello, error)
	GetHello(ctx context.Context, id string) (*sprinklesv1.Hello, error)
}
var Storage StorageInterface

type StorageType

type StorageType string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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