subscription

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

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

Go to latest
Published: Nov 21, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package subscription handles retrieving subscriptions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	// GetSubscription retrieves parsed graph configs for the given id.
	GetSubscription(ctx context.Context, name string, revision string) (*pb.Subscription, error)

	// InsertSubscriptions inserts multiple subscription.
	InsertSubscriptions(ctx context.Context, subscription []*pb.Subscription) error

	// GetAllSubscriptions gets all the subscriptions unique by name
	GetAllSubscriptions(ctx context.Context) ([]*pb.Subscription, error)
}

Store is an interface for things that persists Subscription.

Directories

Path Synopsis
proto
v1

Jump to

Keyboard shortcuts

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