controllers

package
v0.0.0-...-e435e13 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScmUrl      = "url"
	ScmUsername = "username"
	ScmPassword = "password"
	ScmToken    = "scmToken"
	ScmUid      = "uid"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
	web.JwtController
	Username string
	Password string
	Url      string
	ScmToken string
	Uid      int
}

func (*BaseController) Before

func (c *BaseController) Before(ctx *web.Context)

type CicdController

type CicdController struct {
	BaseController
}

Operations about object

func (*CicdController) Before

func (c *CicdController) Before(ctx *web.Context)

func (*CicdController) PostRun

func (c *CicdController) PostRun(ctx *web.Context)

@Title Deploy @Description deploy application by the pipeline @Param body @Success 200 {string} @Failure 403 body is empty @router / [post]

type CicdResponse

type CicdResponse struct {
	model.Response
}

type ConfigMapController

type ConfigMapController struct {
	BaseController
}

Operations about object

func (*ConfigMapController) Before

func (c *ConfigMapController) Before(ctx *web.Context)

func (*ConfigMapController) PostAdd

func (c *ConfigMapController) PostAdd(ctx *web.Context)

func (*ConfigMapController) PostDelete

func (c *ConfigMapController) PostDelete(ctx *web.Context)

func (*ConfigMapController) PostGet

func (c *ConfigMapController) PostGet(ctx *web.Context)

type DestinationController

type DestinationController struct {
	BaseController
}

Operations about object

func (*DestinationController) Before

func (c *DestinationController) Before(ctx *web.Context)

func (*DestinationController) PostAdd

func (c *DestinationController) PostAdd(ctx *web.Context)

type EgressController

type EgressController struct {
	BaseController
}

Operations about object

func (*EgressController) Before

func (c *EgressController) Before(ctx *web.Context)

func (*EgressController) PostAdd

func (c *EgressController) PostAdd(ctx *web.Context)

type IResponse

type IResponse struct {
	Version string `json:"version"`
}

type IstioController

type IstioController struct {
	BaseController
}

Operations about object

func (*IstioController) PostDelete

func (c *IstioController) PostDelete(ctx *web.Context)

func (*IstioController) PostGet

func (c *IstioController) PostGet(ctx *web.Context)

type RouteruleController

type RouteruleController struct {
	BaseController
}

Operations about object

func (*RouteruleController) Before

func (c *RouteruleController) Before(ctx *web.Context)

func (*RouteruleController) PostAdd

func (c *RouteruleController) PostAdd(ctx *web.Context)

type UserController

type UserController struct {
	web.Controller
}

Operations about object

func (*UserController) PostLogin

func (c *UserController) PostLogin(ctx *web.Context)

@Title Login @Description login @Param body @Success 200 {string} @Failure 403 body is empty @router / [post]

type UserRequest

type UserRequest struct {
	Url      string `json:"url"`
	Username string `json:"username" validate:"required"`
	Password string `json:"password" validate:"required"`
}

Jump to

Keyboard shortcuts

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