cloudflare

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider implements deploy.Provider for Cloudflare Workers + Pages.

func New

func New(edgeDir, outputDir string) *Provider

New creates a new Cloudflare provider.

func (*Provider) Build

func (p *Provider) Build() error

func (*Provider) Deploy

func (p *Provider) Deploy(store interface {
	Get(key string) (string, error)
	Set(key, value string) error
}) error

func (*Provider) MainInputFileRelativePath

func (p *Provider) MainInputFileRelativePath() string

func (*Provider) NewFileEvent

func (p *Provider) NewFileEvent(fileName, extension, filePath, event string) error

func (*Provider) SetLog

func (p *Provider) SetLog(f func(...any))

func (*Provider) SupportedExtensions

func (p *Provider) SupportedExtensions() []string

func (*Provider) Supports

func (p *Provider) Supports(method string) bool

func (*Provider) UnobservedFiles

func (p *Provider) UnobservedFiles() []string

func (*Provider) WizardSteps

func (p *Provider) WizardSteps(store interface {
	Get(key string) (string, error)
	Set(key, value string) error
}, log func(...any)) []*wizard.Step

Jump to

Keyboard shortcuts

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