Documentation
¶
Overview ¶
Package manifest implements Edge Function Manifest utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*options)
func WithWasmData ¶
WithWasmData sets the wasm data for the manifest.
type Provider ¶
Provider is an interface for getting a manifest.
func NewLocalPathProvider ¶
NewLocalPathProvider creates a new local manifest provider.
type Store ¶
type Store interface {
// Set sets the manifest for the given name.
Set(ctx context.Context, name string, opts ...Option) error
// Exists checks if the manifest exists for the given name.
Exists(ctx context.Context, name string) bool
// Delete deletes the manifest for the given name.
Delete(ctx context.Context, name string) error
}
Click to show internal directories.
Click to hide internal directories.