Documentation ¶
Index ¶
Constants ¶
View Source
const ( Prefix = util.PaddleflowRouterPrefix + util.PaddleflowRouterVersionV1 LoginApi = Prefix + "/login" GetFsApi = Prefix + "/fs" GetLinksApis = Prefix + "/link" CacheReportConfig = Prefix + "/fsCache/report" KeyUsername = "username" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FsResponse ¶
type FsResponse struct { Id string `json:"id"` Name string `json:"name"` ServerAddress string `json:"serverAddress"` Type string `json:"type"` SubPath string `json:"subPath"` Username string `json:"username"` Properties map[string]string `json:"properties"` }
func FsRequest ¶
func FsRequest(params FsParams, c *core.PaddleFlowClient) (*FsResponse, error)
type LinkResponse ¶
type LinksParams ¶
type LinksResponse ¶
type LinksResponse struct { Marker string `json:"marker"` Truncated bool `json:"truncated"` NextMarker string `json:"nextMarker"` LinkList []*LinkResponse `json:"linkList"` }
func LinksRequest ¶
func LinksRequest(params LinksParams, c *core.PaddleFlowClient) (*LinksResponse, error)
type LoginParams ¶
type LoginResponse ¶
type LoginResponse struct {
Authorization string `json:"authorization"`
}
func LoginRequest ¶
func LoginRequest(params LoginParams, c *core.PaddleFlowClient) (*LoginResponse, error)
Click to show internal directories.
Click to hide internal directories.