configurewebsite

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2026 License: MIT Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(ctx context.Context, dst io.Writer, src io.Reader) (int, error)

GPTmaxxing

func New

func New(ctx context.Context, out notifier.Topic, deps *Dependencies, host *entity.Host, nginxUnitConfigAddress string) *integration

Types

type Dependencies

type Dependencies struct {
	// host specific configuration
	HostConfigUsecase *mycontent_base.Handler[*entity.Host]

	// service configuration (to be installed on the host)
	ServiceDefinitionUsecase *mycontent_base.Handler[*entity.ServiceDefinition]

	// archive / artifact repository storing build & archive information
	RepositoryUsecase *mycontent_base.Handler[*entity.Repository]

	// these three should be the Versioned
	// store service's env
	EnvUsecase *mycontent_base.Handler[*entity.Env]
	// store service's secret
	SecretUsecase *mycontent_base.Handler[*entity.Secret]
	// routing service
	RoutingUsecase *mycontent_base.Handler[*entity.Routing]

	BuildUsecase *mycontent_base.Handler[*entity.BuildArtifact]

	JobUsecase *mycontent_base.Handler[*entity.DeploymentJob]

	// attachment
	BuildArtifactUsecase *mycontent_base.HandlerWithAttachment

	// deploy job client
	RaftJobUsecase *deployjob.Client

	// nginx unit job client
	RaftConfigureWebsite *configurewebsite.Client
}

Dependencies in the integration side (not inside raft)

type HostDeploymentJobState

type HostDeploymentJobState struct {
	ConfigurationStatus  entity.HostConfigurationStatus  `json:"configuration_status"`
	RestartServiceStatus entity.HostRestartServiceStatus `json:"restart_service_status"`
}

Local host state

Jump to

Keyboard shortcuts

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