handler

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthProvider

type AuthProvider string
const (
	NONE  AuthProvider = "none"
	BASIC AuthProvider = "basic"
)

type Config

type Config struct {
	Base         string
	Addr         string
	Version      string
	Hostname     string
	AuthProvider AuthProvider
}

type Handler

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

func NewHandler

func NewHandler(config *Config) *Handler

func (*Handler) GetContainers

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

GetContainers @Summary Get list of containers

func (*Handler) Register

func (h *Handler) Register(v1 *echo.Group)

func (*Handler) StreamContainerEvents

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

func (*Handler) StreamLogs

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

Jump to

Keyboard shortcuts

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