Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateEndpoint = &xreq.Endpoint{ Path: "/bfe-clusters", Method: http.MethodPost, Handler: xreq.Convert(CreateAction), Authorizer: iauth.FA(iauth.FeatureBFECluster, iauth.ActionCreate), }
CreateRoute route AUTO GEN BY ctrl, MODIFY AS U NEED
View Source
var DeleteEndpoint = &xreq.Endpoint{ Path: "/bfe-clusters/{name}", Method: http.MethodDelete, Handler: xreq.Convert(DeleteAction), Authorizer: iauth.FA(iauth.FeatureBFECluster, iauth.ActionDelete), }
DeleteRoute route AUTO GEN BY ctrl, MODIFY AS U NEED
View Source
var Endpoints = []*xreq.Endpoint{ CreateEndpoint, DeleteEndpoint, ListEndpoint, }
View Source
var ListEndpoint = &xreq.Endpoint{ Path: "/bfe-clusters", Method: http.MethodGet, Handler: xreq.Convert(ListAction), Authorizer: iauth.FA(iauth.FeatureBFECluster, iauth.ActionReadAll), }
ListRoute route AUTO GEN BY ctrl, MODIFY AS U NEED
Functions ¶
func CreateAction ¶
CreateAction action AUTO GEN BY ctrl, MODIFY AS U NEED
func DeleteAction ¶
DeleteAction action AUTO GEN BY ctrl, MODIFY AS U NEED
func ListAction ¶
ListAction action AUTO GEN BY ctrl, MODIFY AS U NEED
Types ¶
type BFEClusterCreateParam ¶
type BFEClusterCreateParam struct { Name *string `json:"name" uri:"name" validate:"required,min=1"` Pool *string `json:"pool" uri:"pool" validate:"required,min=1"` }
BFEClusterCreateParam Request Param AUTO GEN BY ctrl, MODIFY AS U NEED
type BFEClusterDeleteParam ¶
type BFEClusterDeleteParam struct {
Name *string `json:"name" uri:"name" validate:"required,min=1"`
}
BFEClusterDeleteParam Request Param AUTO GEN BY ctrl, MODIFY AS U NEED
type BFEClusterDetail ¶
type BFEClusterDetail struct { Name string `json:"name" uri:"name"` Pool string `json:"pool" uri:"pool"` }
BFEClusterDetail Request Param AUTO GEN BY ctrl, MODIFY AS U NEED
Click to show internal directories.
Click to hide internal directories.