dicehub

package
v1.3.0-rc.0...-0a48220 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DICEHUB_RELEASES_DOWNLOAD = apis.ApiSpec{
	Path:        "/api/releases/<releaseId>/actions/download",
	BackendPath: "/api/releases/<releaseId>/actions/download",
	Host:        "erda-server.marathon.l4lb.thisdcos.directory:9095",
	Scheme:      "http",
	Method:      http.MethodGet,
	IsOpenAPI:   true,
	CheckLogin:  true,
	CheckToken:  true,
	Doc:         `下载Release Yaml文件`,
}
View Source
var DICEHUB_RELEASES_YAML_GET = apis.ApiSpec{
	Path:        "/api/releases/<releaseID>/actions/get-dice",
	BackendPath: "/api/releases/<releaseID>/actions/get-dice",
	Host:        "erda-server.marathon.l4lb.thisdcos.directory:9095",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	CheckToken:  true,
	RequestType: apistructs.ReleaseGetDiceYmlRequest{},
	IsOpenAPI:   true,
	Doc: `
summary: 获取指定版本dice.yml内容
parameters:
  - in: path
    name: releaseId
    type: string
    required: true
produces:
  - application/x-yaml
responses:
  '200':
    description: Dice.yaml content
`,
}
View Source
var IMAGEHUB_IMAGE_LIST = apis.ApiSpec{
	Path:         "/api/images",
	BackendPath:  "/api/images",
	Host:         "erda-server.marathon.l4lb.thisdcos.directory:9095",
	Scheme:       "http",
	Method:       "GET",
	CheckLogin:   true,
	CheckToken:   true,
	RequestType:  apistructs.ReleaseListRequest{},
	ResponseType: apistructs.ReleaseListResponse{},
	IsOpenAPI:    true,
	Doc:          `summary: 版本镜像列表`,
}
View Source
var RELEASE_RULE_CREATE = apis.ApiSpec{
	Path:         "/api/release-rules",
	BackendPath:  "/api/release-rules",
	Host:         "erda-server.marathon.l4lb.thisdcos.directory:9095",
	Scheme:       "http",
	Method:       http.MethodPost,
	RequestType:  apistructs.CreateUpdateDeleteReleaseRuleRequest{},
	ResponseType: apistructs.CreateBranchRuleResponse{},
	CheckLogin:   true,
	CheckToken:   true,
	IsOpenAPI:    true,
	Doc:          `创建制品规则`,
}
View Source
var RELEASE_RULE_LIST = apis.ApiSpec{
	Path:        "/api/release-rules",
	BackendPath: "/api/release-rules",
	Host:        "erda-server.marathon.l4lb.thisdcos.directory:9095",
	Scheme:      "http",
	Method:      http.MethodGet,
	CheckLogin:  true,
	CheckToken:  true,
	IsOpenAPI:   true,
	Doc:         `列举制品规则`,
}
View Source
var RELEASE_RULE_UPDATE = apis.ApiSpec{
	Path:        "/api/release-rules/<id>",
	BackendPath: "/api/release-rules/<id>",
	Host:        "erda-server.marathon.l4lb.thisdcos.directory:9095",
	Scheme:      "http",
	Method:      http.MethodPut,
	CheckLogin:  true,
	CheckToken:  true,
	IsOpenAPI:   true,
	Doc:         `修改制品规则`,
}
View Source
var RELEASE_RULE_delete = apis.ApiSpec{
	Path:        "/api/release-rules/<id>",
	BackendPath: "/api/release-rules/<id>",
	Host:        "erda-server.marathon.l4lb.thisdcos.directory:9095",
	Scheme:      "http",
	Method:      http.MethodDelete,
	CheckLogin:  true,
	CheckToken:  true,
	IsOpenAPI:   true,
	Doc:         `删除制品规则`,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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