controller

package
v0.0.0-...-fd9cd78 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployController

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

DeployController struct

func NewDeployController

func NewDeployController(dockerClient *docker.Client, db *storm.DB, validator *request.Validator) (*DeployController, error)

NewDeployController func

func (DeployController) Mount

func (c DeployController) Mount(r *server.Router)

Mount endpoints

type DockerController

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

DockerController struct

func NewDockerController

func NewDockerController(host string) (*DockerController, error)

NewDockerController func

func (DockerController) Mount

func (c DockerController) Mount(r *server.Router)

Mount endpoints

type EventController

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

EventController struct

func NewEventController

func NewEventController(dockerClient *docker.Client) (*EventController, error)

NewEventController func

func (EventController) Mount

func (c EventController) Mount(r *server.Router)

Mount endpoints

type NodeController

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

NodeController struct

func NewNodeController

func NewNodeController(dockerClient *docker.Client, db *storm.DB, validator *request.Validator) (*NodeController, error)

NewNodeController func

func (NodeController) Mount

func (c NodeController) Mount(r *server.Router)

Mount endpoints

type PushEvent

type PushEvent struct {
	Commit string `json:"commit"`
}

PushEvent struct @TODO move this in provider

type ServiceController

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

ServiceController struct

func NewServiceController

func NewServiceController(dockerClient *docker.Client, db *storm.DB, validator *srequest.Validator) (*ServiceController, error)

NewServiceController func

func (ServiceController) Mount

func (c ServiceController) Mount(r *server.Router)

Mount endpoints

type ServiceHosts

type ServiceHosts map[string]bool

func (ServiceHosts) Add

func (h ServiceHosts) Add(host string)

func (ServiceHosts) String

func (h ServiceHosts) String() string

type StackController

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

StackController struct

func NewStackController

func NewStackController(dockerClient *docker.Client, db *storm.DB, validator *request.Validator) (*StackController, error)

NewStackController func

func (StackController) Mount

func (c StackController) Mount(r *server.Router)

Mount endpoints

type TopologyController

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

TopologyController struct

func NewTopologyController

func NewTopologyController(dockerClient *docker.Client) (*TopologyController, error)

NewTopologyController func

func (TopologyController) GetTopologiesHandler

func (c TopologyController) GetTopologiesHandler(w http.ResponseWriter, r *http.Request)

GetTopologiesHandler endpoint

func (TopologyController) Mount

func (c TopologyController) Mount(r *server.Router)

Mount endpoints

type VersionController

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

VersionController struct

func NewVersionController

func NewVersionController() (*VersionController, error)

NewVersionController func

func (VersionController) Mount

func (c VersionController) Mount(r *server.Router)

Mount endpoints

type VersionResponse

type VersionResponse struct {
	Current *semver.Version `json:"current"`
	Latest  *semver.Version `json:"latest"`
}

VersionResponse struct

Jump to

Keyboard shortcuts

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