composeeditor

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: GPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type BuildConfig

type BuildConfig = types.BuildConfig

type CommandConfig

type CommandConfig = types.CommandConfig

type ComposeChanges

type ComposeChanges = types.ComposeChanges

type ConfigConfig

type ConfigConfig = types.ConfigConfig

type DependsOnConfig

type DependsOnConfig = types.DependsOnConfig

type DeployConfig

type DeployConfig = types.DeployConfig

type Handler

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

func NewHandler

func NewHandler(service *Service) *Handler

func (*Handler) GetComposeConfig

func (h *Handler) GetComposeConfig(c echo.Context) error

func (*Handler) UpdateCompose

func (h *Handler) UpdateCompose(c echo.Context) error

type HealthcheckConfig

type HealthcheckConfig = types.HealthcheckConfig

type IpamConfig

type IpamConfig = types.IpamConfig

type IpamPool

type IpamPool = types.IpamPool

type NetworkConfig

type NetworkConfig = types.NetworkConfig

type NewServiceConfig

type NewServiceConfig = types.NewServiceConfig

type PlacementConfig

type PlacementConfig = types.PlacementConfig

type PlacementPreference

type PlacementPreference = types.PlacementPreference

type PortMapping

type PortMapping = types.PortMapping

type RawComposeConfig

type RawComposeConfig = types.RawComposeConfig

type ResourceLimits

type ResourceLimits = types.ResourceLimits

type ResourcesConfig

type ResourcesConfig = types.ResourcesConfig

type RestartPolicyConfig

type RestartPolicyConfig = types.RestartPolicyConfig

type SecretConfig

type SecretConfig = types.SecretConfig

type Service

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

func NewService

func NewService(cfg *config.Config, logger *logging.Logger) *Service

func (*Service) GetComposeConfig

func (s *Service) GetComposeConfig(ctx context.Context, stackName string) (*RawComposeConfig, error)

func (*Service) PreviewCompose

func (s *Service) PreviewCompose(ctx context.Context, stackName string, changes ComposeChanges) (originalYaml, modifiedYaml string, err error)

func (*Service) UpdateCompose

func (s *Service) UpdateCompose(ctx context.Context, stackName string, changes ComposeChanges) error

type ServiceChanges

type ServiceChanges = types.ServiceChanges

type ServiceNetworkConfig

type ServiceNetworkConfig = types.ServiceNetworkConfig

type UpdateComposeRequest

type UpdateComposeRequest = types.UpdateComposeRequest

type UpdateComposeResponse

type UpdateComposeResponse = types.UpdateComposeResponse

type UpdateRollbackConfig

type UpdateRollbackConfig = types.UpdateRollbackConfig

type VolumeConfig

type VolumeConfig = types.VolumeConfig

type VolumeMount

type VolumeMount = types.VolumeMount

Jump to

Keyboard shortcuts

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