controller

package
v0.0.0-...-1dfee00 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCasBin

func AddCasBin(c *gin.Context)

func CheckParams

func CheckParams(c *gin.Context, ptr interface{}) error

func CloudPlatformAccount

func CloudPlatformAccount(c *gin.Context)

CloudPlatformAccount 云平台账号

func DeleteCasBin

func DeleteCasBin(c *gin.Context)

func GetCasBin

func GetCasBin(c *gin.Context)

func ListPlatform

func ListPlatform(c *gin.Context)

func Login

func Login(c *gin.Context)

func Register

func Register(c *gin.Context)

func SyncCloudResource

func SyncCloudResource(taskChan chan *cmdb.CloudPlatform)

SyncCloudResource 同步云资源

func UserInfo

func UserInfo(c *gin.Context)

Types

type CasBinPolicy

type CasBinPolicy struct {
	Group  string `json:"group" binding:"required"`
	URL    string `json:"url" binding:"required"`
	Method string `json:"method" binding:"required"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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