publish

package
v1.23.13 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelDeployment added in v1.10.0

func CancelDeployment(
	deploymentPath util.AbsolutePath,
	log logging.Logger,
) (*deployment.Deployment, error)

Types

type Publisher

type Publisher interface {
	PublishDirectory() error
}

func NewFromState

func NewFromState(
	s *state.State,
	rInterpreter interpreters.RInterpreter,
	pythonInterpreter interpreters.PythonInterpreter,
	emitter events.Emitter,
	log logging.Logger,
) (Publisher, error)

type ServerPublisher added in v1.19.0

type ServerPublisher interface {
	UpdateState()
	CreateDeployment() (contentID types.ContentID, err error)
	GetContentInfo(contentID types.ContentID) publishhelper.ContentInfo
	PreFlightChecks() error
	PublishToServer(contentID types.ContentID, bundleReader io.Reader) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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