handler

package
v0.0.0-...-5d951de Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContainerHandler

func NewContainerHandler(ctx *apptypes.Context, containerService port.ContainerService) port.ContainerHandler

func NewDockerKernelHandler

func NewDockerKernelHandler(dockerKernelService port.DockerService) port.DockerKernelHandler

func NewEnvHandler

func NewEnvHandler(service port.EnvService) port.EnvHandler

func NewPortsHandler

func NewPortsHandler(service port.PortsService) port.PortsHandler

func NewTagsHandler

func NewTagsHandler(service port.TagsService) port.TagsHandler

func NewTemplateHandler

func NewTemplateHandler(containerService port.ContainerService) port.TemplateHandler

Types

type AddTagParams

type AddTagParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
	TagID       uuid.NullUUID `path:"tag_id"`
}

type CreateContainerParams

type CreateContainerParams struct {
	TemplateID *string `json:"template_id,omitempty"`
	Image      *string `json:"image,omitempty"`
	ImageTag   *string `json:"image_tag,omitempty"`
}

type CreateEnvironmentParams

type CreateEnvironmentParams struct {
	ContainerID uuid.NullUUID `json:"container_id"`
	Type        string        `json:"type"`
	Name        string        `json:"name"`
	Value       string        `json:"value"`
}

type CreatePortParams

type CreatePortParams struct {
	ContainerID uuid.NullUUID `json:"container_id"`
	In          string        `json:"in"`
	Out         string        `json:"out"`
}

type CreateTagParams

type CreateTagParams struct {
	Name string `json:"name"`
}

type CreateVolumeParams

type CreateVolumeParams struct {
	Name string `json:"name"`
}

type DeleteContainerParams

type DeleteContainerParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
}

type DeleteDockerContainerParams

type DeleteDockerContainerParams struct {
	ID string `path:"id"`
}

type DeleteEnvironmentParams

type DeleteEnvironmentParams struct {
	EnvID uuid.NullUUID `path:"env_id"`
}

type DeleteMountsParams

type DeleteMountsParams struct {
	ID string `path:"id"`
}

type DeletePortParams

type DeletePortParams struct {
	PortID uuid.NullUUID `path:"port_id"`
}

type DeleteTagParams

type DeleteTagParams struct {
	ID uuid.NullUUID `path:"id"`
}

type DeleteVolumeParams

type DeleteVolumeParams struct {
	Name string `json:"name"`
}

type EventsContainerParams

type EventsContainerParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
}

type GetContainerEnvParams

type GetContainerEnvParams struct {
	ContainerID uuid.NullUUID `query:"container_id"`
}

type GetContainerParams

type GetContainerParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
}

type GetContainerPortsParams

type GetContainerPortsParams struct {
	ContainerID uuid.NullUUID `query:"container_id"`
}

type GetServiceParams

type GetServiceParams struct {
	TemplateID string `path:"template_id"`
}

type GetTagParams

type GetTagParams struct {
	Name string `path:"name"`
}

type GetVersionsParams

type GetVersionsParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
	UseCache    bool          `query:"cache"`
}

type InfoContainerParams

type InfoContainerParams struct {
	ID string `path:"id"`
}

type InfoImageParams

type InfoImageParams struct {
	ID string `path:"id"`
}

type LogsContainerParams

type LogsContainerParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
}

type LogsStderrContainerParams

type LogsStderrContainerParams struct {
	ID string `path:"id"`
}

type LogsStdoutContainerParams

type LogsStdoutContainerParams struct {
	ID string `path:"id"`
}

type PatchBodyDatabase

type PatchBodyDatabase struct {
	ContainerID  uuid.NullUUID `json:"container_id"`
	DatabaseName *string       `json:"db_name"`
}

type PatchContainerParams

type PatchContainerParams struct {
	ContainerID     uuid.NullUUID `path:"container_id"`
	LaunchOnStartup *bool         `json:"launch_on_startup,omitempty"`
	Name            *string       `json:"name,omitempty"`
	ImageTag        *string       `json:"image_tag,omitempty"`
}

type PatchEnvironmentParams

type PatchEnvironmentParams struct {
	EnvID uuid.NullUUID `path:"env_id"`
	types.EnvVariable
}

type PatchPortParams

type PatchPortParams struct {
	PortID uuid.NullUUID `path:"port_id"`
	In     string        `json:"in"`
	Out    string        `json:"out"`
}

type RecreateContainerParams

type RecreateContainerParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
}

type ReloadContainerParams

type ReloadContainerParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
}

type StartContainerParams

type StartContainerParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
}

type StartDockerContainerParams

type StartDockerContainerParams struct {
	ID string `path:"id"`
}

type StopContainerParams

type StopContainerParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
}

type StopDockerContainerParams

type StopDockerContainerParams struct {
	ID string `path:"id"`
}

type WaitContainerParams

type WaitContainerParams struct {
	ID   string `path:"id"`
	Cond string `path:"cond"`
}

type WaitStatusParams

type WaitStatusParams struct {
	ContainerID uuid.NullUUID `path:"container_id"`
}

Jump to

Keyboard shortcuts

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