routes

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PortmapAdmin

type PortmapAdmin struct{}

func (*PortmapAdmin) Create

func (a *PortmapAdmin) Create(ctx context.Context, instID int64, port int) (portmap *model.Portmap, err error)

func (*PortmapAdmin) Delete

func (a *PortmapAdmin) Delete(ctx context.Context, id int64) (err error)

func (*PortmapAdmin) List

func (a *PortmapAdmin) List(ctx context.Context, offset, limit int64, order, query string) (total int64, portmaps []*model.Portmap, err error)

type PortmapView

type PortmapView struct{}

func (*PortmapView) Create

func (v *PortmapView) Create(c *macaron.Context, store session.Store)

func (*PortmapView) Delete

func (v *PortmapView) Delete(c *macaron.Context, store session.Store) (err error)

func (*PortmapView) List

func (v *PortmapView) List(c *macaron.Context, store session.Store)

func (*PortmapView) New

func (v *PortmapView) New(c *macaron.Context, store session.Store)

Jump to

Keyboard shortcuts

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