chore(docs): replace cloudinovasi with portainer [EE-5547] (#9013)
parent
61b568a738
commit
b498cd657f
|
@ -81,7 +81,7 @@ func (handler *Handler) createCustomTemplate(method string, r *http.Request) (*p
|
||||||
|
|
||||||
type customTemplateFromFileContentPayload struct {
|
type customTemplateFromFileContentPayload struct {
|
||||||
// URL of the template's logo
|
// URL of the template's logo
|
||||||
Logo string `example:"https://cloudinovasi.id/assets/img/logos/nginx.png"`
|
Logo string `example:"https://portainer.io/img/logo.svg"`
|
||||||
// Title of the template
|
// Title of the template
|
||||||
Title string `example:"Nginx" validate:"required"`
|
Title string `example:"Nginx" validate:"required"`
|
||||||
// Description of the template
|
// Description of the template
|
||||||
|
@ -181,7 +181,7 @@ func (handler *Handler) createCustomTemplateFromFileContent(r *http.Request) (*p
|
||||||
|
|
||||||
type customTemplateFromGitRepositoryPayload struct {
|
type customTemplateFromGitRepositoryPayload struct {
|
||||||
// URL of the template's logo
|
// URL of the template's logo
|
||||||
Logo string `example:"https://cloudinovasi.id/assets/img/logos/nginx.png"`
|
Logo string `example:"https://portainer.io/img/logo.svg"`
|
||||||
// Title of the template
|
// Title of the template
|
||||||
Title string `example:"Nginx" validate:"required"`
|
Title string `example:"Nginx" validate:"required"`
|
||||||
// Description of the template
|
// Description of the template
|
||||||
|
@ -437,7 +437,7 @@ func (payload *customTemplateFromFileUploadPayload) Validate(r *http.Request) er
|
||||||
// @param Platform formData int true "Platform associated to the template (1 - 'linux', 2 - 'windows')" Enums(1,2)
|
// @param Platform formData int true "Platform associated to the template (1 - 'linux', 2 - 'windows')" Enums(1,2)
|
||||||
// @param Type formData int true "Type of created stack (1 - swarm, 2 - compose, 3 - kubernetes)" Enums(1,2,3)
|
// @param Type formData int true "Type of created stack (1 - swarm, 2 - compose, 3 - kubernetes)" Enums(1,2,3)
|
||||||
// @param File formData file true "File"
|
// @param File formData file true "File"
|
||||||
// @param Logo formData string false "URL of the template's logo" example:"https://cloudinovasi.id/assets/img/logos/nginx.png"
|
// @param Logo formData string false "URL of the template's logo" example:"https://portainer.io/img/logo.svg"
|
||||||
// @param Variables formData string false "A json array of variables definitions" example:"[{\"label\":\"image\",\"description\":\"Image name\",\"defaultValue\":\"nginx:latest\",\"name\":\"image\"}]"
|
// @param Variables formData string false "A json array of variables definitions" example:"[{\"label\":\"image\",\"description\":\"Image name\",\"defaultValue\":\"nginx:latest\",\"name\":\"image\"}]"
|
||||||
// @success 200 {object} portainer.CustomTemplate
|
// @success 200 {object} portainer.CustomTemplate
|
||||||
// @failure 400 "Invalid request"
|
// @failure 400 "Invalid request"
|
||||||
|
|
|
@ -20,7 +20,7 @@ import (
|
||||||
|
|
||||||
type customTemplateUpdatePayload struct {
|
type customTemplateUpdatePayload struct {
|
||||||
// URL of the template's logo
|
// URL of the template's logo
|
||||||
Logo string `example:"https://cloudinovasi.id/assets/img/logos/nginx.png"`
|
Logo string `example:"https://portainer.io/img/logo.svg"`
|
||||||
// Title of the template
|
// Title of the template
|
||||||
Title string `example:"Nginx" validate:"required"`
|
Title string `example:"Nginx" validate:"required"`
|
||||||
// Description of the template
|
// Description of the template
|
||||||
|
|
|
@ -176,7 +176,7 @@ type (
|
||||||
// Valid values are: 1 - 'linux', 2 - 'windows'
|
// Valid values are: 1 - 'linux', 2 - 'windows'
|
||||||
Platform CustomTemplatePlatform `json:"Platform" example:"1" enums:"1,2"`
|
Platform CustomTemplatePlatform `json:"Platform" example:"1" enums:"1,2"`
|
||||||
// URL of the template's logo
|
// URL of the template's logo
|
||||||
Logo string `json:"Logo" example:"https://cloudinovasi.id/assets/img/logos/nginx.png"`
|
Logo string `json:"Logo" example:"https://portainer.io/img/logo.svg"`
|
||||||
// Type of created stack:
|
// Type of created stack:
|
||||||
// * 1 - swarm
|
// * 1 - swarm
|
||||||
// * 2 - compose
|
// * 2 - compose
|
||||||
|
@ -1134,7 +1134,7 @@ type (
|
||||||
// Default name for the stack/container to be used on deployment
|
// Default name for the stack/container to be used on deployment
|
||||||
Name string `json:"name,omitempty" example:"mystackname"`
|
Name string `json:"name,omitempty" example:"mystackname"`
|
||||||
// URL of the template's logo
|
// URL of the template's logo
|
||||||
Logo string `json:"logo,omitempty" example:"https://cloudinovasi.id/assets/img/logos/nginx.png"`
|
Logo string `json:"logo,omitempty" example:"https://portainer.io/img/logo.svg"`
|
||||||
// A list of environment(endpoint) variables used during the template deployment
|
// A list of environment(endpoint) variables used during the template deployment
|
||||||
Env []TemplateEnv `json:"env,omitempty"`
|
Env []TemplateEnv `json:"env,omitempty"`
|
||||||
// A note that will be displayed in the UI. Supports HTML content
|
// A note that will be displayed in the UI. Supports HTML content
|
||||||
|
|
Loading…
Reference in New Issue