controller

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVNCHandler

func NewVNCHandler(logger *zap.Logger, path system.Paths, isProduction bool) *vncHandler

Types

type V1Handler

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

func NewV1Handler

func NewV1Handler(vu *usecase.VmUseCase, hu *usecase.HostUseCase) *V1Handler

func (V1Handler) DeleteApiV1VmsVmId

func (v V1Handler) DeleteApiV1VmsVmId(c *gin.Context, vmId openapi_types.UUID)

func (V1Handler) GetApiV1Host

func (v V1Handler) GetApiV1Host(c *gin.Context)

func (V1Handler) GetApiV1Vms

func (v V1Handler) GetApiV1Vms(c *gin.Context)

func (V1Handler) GetApiV1VmsVmId

func (v V1Handler) GetApiV1VmsVmId(c *gin.Context, vmId openapi_types.UUID)

func (V1Handler) GetApiV1VmsVmIdPower

func (v V1Handler) GetApiV1VmsVmIdPower(c *gin.Context, vmId uuid.UUID)

func (V1Handler) PatchApiV1VmsVmId

func (v V1Handler) PatchApiV1VmsVmId(c *gin.Context, vmId openapi_types.UUID)

func (V1Handler) PostApiV1Vms

func (v V1Handler) PostApiV1Vms(c *gin.Context)

PostApiV1Vms Vm作成時にフロントから情報を受取りステータスを返す

func (V1Handler) PostApiV1VmsVmIdPower

func (v V1Handler) PostApiV1VmsVmIdPower(c *gin.Context, vmId openapi_types.UUID)

Jump to

Keyboard shortcuts

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