model

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPassword

type AccessPassword struct {
	Name string `json:"name"`

	User string `json:"user"`

	Password string `json:"password"`
}

func (AccessPassword) String

func (o AccessPassword) String() string

type AccessToken

type AccessToken struct {
	Name string `json:"name"`

	Token string `json:"token"`

	Host *string `json:"host,omitempty"`
}

func (AccessToken) String

func (o AccessToken) String() string

type ApplicationConfigModify

type ApplicationConfigModify struct {
	EnvironmentId string `json:"environment_id"`

	Configuration *ApplicationConfigModifyConfiguration `json:"configuration"`
}

func (ApplicationConfigModify) String

func (o ApplicationConfigModify) String() string

type ApplicationConfigModifyConfiguration

type ApplicationConfigModifyConfiguration struct {
	Env []ApplicationConfigModifyConfigurationEnv `json:"env"`
}

应用配置信息。

func (ApplicationConfigModifyConfiguration) String

type ApplicationConfigModifyConfigurationEnv

type ApplicationConfigModifyConfigurationEnv struct {
	Name string `json:"name"`

	Value string `json:"value"`
}

func (ApplicationConfigModifyConfigurationEnv) String

type ApplicationCreate

type ApplicationCreate struct {
	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (ApplicationCreate) String

func (o ApplicationCreate) String() string

type ApplicationListConfigConfiguration

type ApplicationListConfigConfiguration struct {
	Env *[]ApplicationListConfigConfigurationEnv `json:"env,omitempty"`
}

应用配置信息。

func (ApplicationListConfigConfiguration) String

type ApplicationListConfigConfiguration1

type ApplicationListConfigConfiguration1 struct {
	ApplicationId *string `json:"application_id,omitempty"`

	EnvironmentId *string `json:"environment_id,omitempty"`

	Configuration *ApplicationListConfigConfiguration `json:"configuration,omitempty"`
}

func (ApplicationListConfigConfiguration1) String

type ApplicationListConfigConfigurationEnv

type ApplicationListConfigConfigurationEnv struct {
	Name *string `json:"name,omitempty"`

	Value *string `json:"value,omitempty"`
}

func (ApplicationListConfigConfigurationEnv) String

type ApplicationModify

type ApplicationModify struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`
}

func (ApplicationModify) String

func (o ApplicationModify) String() string

type ApplicationView

type ApplicationView struct {
	ComponentCount *int32 `json:"component_count,omitempty"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	Creator *string `json:"creator,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime *int64 `json:"update_time,omitempty"`
}

func (ApplicationView) String

func (o ApplicationView) String() string

type AuthorizationVo

type AuthorizationVo struct {
	Name string `json:"name"`

	RepoType string `json:"repo_type"`

	RepoHost string `json:"repo_host"`

	RepoHome string `json:"repo_home"`

	RepoUser string `json:"repo_user"`

	Avartar string `json:"avartar"`

	TokenType string `json:"token_type"`

	CreateTime int64 `json:"create_time"`

	UpdateTime int64 `json:"update_time"`

	Status int32 `json:"status"`
}

授权结构体。

func (AuthorizationVo) String

func (o AuthorizationVo) String() string

type Build

type Build struct {
	Parameters *BuildInfoParameters `json:"parameters,omitempty"`
}

构建工程。

func (Build) String

func (o Build) String() string

type BuildInfo

type BuildInfo struct {
	Id *string `json:"id,omitempty"`

	Parameters *BuildInfoParameters `json:"parameters,omitempty"`
}

构建工程。

func (BuildInfo) String

func (o BuildInfo) String() string

type BuildInfoParameters

type BuildInfoParameters struct {
	BuildCmd *string `json:"build_cmd,omitempty"`

	DockerfilePath *string `json:"dockerfile_path,omitempty"`

	ArtifactNamespace *string `json:"artifact_namespace,omitempty"`
}

构建任务的环境变量。

func (BuildInfoParameters) String

func (o BuildInfoParameters) String() string

type ChangeApplicationConfigurationRequest

type ChangeApplicationConfigurationRequest struct {
	ApplicationId string `json:"application_id"`

	Body *ApplicationConfigModify `json:"body,omitempty"`
}

Request Object

func (ChangeApplicationConfigurationRequest) String

type ChangeApplicationConfigurationResponse

type ChangeApplicationConfigurationResponse struct {
	ApplicationId *string `json:"application_id,omitempty"`

	EnvironmentId *string `json:"environment_id,omitempty"`

	Configuration  *ApplicationListConfigConfiguration `json:"configuration,omitempty"`
	HttpStatusCode int                                 `json:"-"`
}

Response Object

func (ChangeApplicationConfigurationResponse) String

type ChangeApplicationRequest

type ChangeApplicationRequest struct {
	ApplicationId string `json:"application_id"`

	Body *ApplicationModify `json:"body,omitempty"`
}

Request Object

func (ChangeApplicationRequest) String

func (o ChangeApplicationRequest) String() string

type ChangeApplicationResponse

type ChangeApplicationResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	Creator *string `json:"creator,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ChangeApplicationResponse) String

func (o ChangeApplicationResponse) String() string

type ChangeComponentRequest

type ChangeComponentRequest struct {
	ApplicationId string `json:"application_id"`

	ComponentId string `json:"component_id"`

	Body *ComponentModify `json:"body,omitempty"`
}

Request Object

func (ChangeComponentRequest) String

func (o ChangeComponentRequest) String() string

type ChangeComponentResponse

type ChangeComponentResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *int32 `json:"status,omitempty"`

	Runtime *RuntimeType `json:"runtime,omitempty"`

	Category *ComponentCategory `json:"category,omitempty"`

	SubCategory *ComponentSubCategory `json:"sub_category,omitempty"`

	Description *string `json:"description,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ApplicationId *string `json:"application_id,omitempty"`

	Source *SourceObject `json:"source,omitempty"`

	Build *BuildInfo `json:"build,omitempty"`

	PipelineIds *[]string `json:"pipeline_ids,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ChangeComponentResponse) String

func (o ChangeComponentResponse) String() string

type ChangeEnvironmentRequest

type ChangeEnvironmentRequest struct {
	EnvironmentId string `json:"environment_id"`

	Body *EnvironmentModify `json:"body,omitempty"`
}

Request Object

func (ChangeEnvironmentRequest) String

func (o ChangeEnvironmentRequest) String() string

type ChangeEnvironmentResponse

type ChangeEnvironmentResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Alias *string `json:"alias,omitempty"`

	Description *string `json:"description,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ChargeMode *string `json:"charge_mode,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	BaseResources *[]Resource `json:"base_resources,omitempty"`

	OptionalResources *[]Resource `json:"optional_resources,omitempty"`

	Creator *string `json:"creator,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ChangeEnvironmentResponse) String

func (o ChangeEnvironmentResponse) String() string

type ChangeInstanceRequest

type ChangeInstanceRequest struct {
	ApplicationId string `json:"application_id"`

	ComponentId string `json:"component_id"`

	InstanceId string `json:"instance_id"`

	Body *InstanceModify `json:"body,omitempty"`
}

Request Object

func (ChangeInstanceRequest) String

func (o ChangeInstanceRequest) String() string

type ChangeInstanceResponse

type ChangeInstanceResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ChangeInstanceResponse) String

func (o ChangeInstanceResponse) String() string

type ChangeResourceInEnvironmentRequest

type ChangeResourceInEnvironmentRequest struct {
	EnvironmentId string `json:"environment_id"`

	Body *EnvironmentResourceModify `json:"body,omitempty"`
}

Request Object

func (ChangeResourceInEnvironmentRequest) String

type ChangeResourceInEnvironmentResponse

type ChangeResourceInEnvironmentResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Alias *string `json:"alias,omitempty"`

	Description *string `json:"description,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ChargeMode *string `json:"charge_mode,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	BaseResources *[]Resource `json:"base_resources,omitempty"`

	OptionalResources *[]Resource `json:"optional_resources,omitempty"`

	Creator *string `json:"creator,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ChangeResourceInEnvironmentResponse) String

type ChargeMode

type ChargeMode struct {
	// contains filtered or unexported fields
}

收费模式,支持provided、on_demanded、monthly三种模式。 默认provided,表示使用用户提供的已有资源,无需收费。

func (ChargeMode) MarshalJSON

func (c ChargeMode) MarshalJSON() ([]byte, error)

func (*ChargeMode) UnmarshalJSON

func (c *ChargeMode) UnmarshalJSON(b []byte) error

type ChargeModeEnum

type ChargeModeEnum struct {
	PROVIDED    ChargeMode
	ON_DEMANDED ChargeMode
	MONTHLY     ChargeMode
}

func GetChargeModeEnum

func GetChargeModeEnum() ChargeModeEnum

type CommitsCommits

type CommitsCommits struct {
	Sha string `json:"sha"`

	Message string `json:"message"`

	AuthoredDate string `json:"authored_date"`
}

func (CommitsCommits) String

func (o CommitsCommits) String() string

type ComponentCategory

type ComponentCategory struct {
	// contains filtered or unexported fields
}

应用组件类型包括:Webapp、MicroService、Common。

func (ComponentCategory) MarshalJSON

func (c ComponentCategory) MarshalJSON() ([]byte, error)

func (*ComponentCategory) UnmarshalJSON

func (c *ComponentCategory) UnmarshalJSON(b []byte) error

type ComponentCategoryEnum

type ComponentCategoryEnum struct {
	WEBAPP        ComponentCategory
	MICRO_SERVICE ComponentCategory
	COMMON        ComponentCategory
}

func GetComponentCategoryEnum

func GetComponentCategoryEnum() ComponentCategoryEnum

type ComponentCreate

type ComponentCreate struct {
	Name string `json:"name"`

	Runtime *RuntimeType `json:"runtime"`

	Category *ComponentCategory `json:"category"`

	SubCategory *ComponentSubCategory `json:"sub_category,omitempty"`

	Description *string `json:"description,omitempty"`

	Source *SourceObject `json:"source,omitempty"`

	Build *Build `json:"build,omitempty"`
}

func (ComponentCreate) String

func (o ComponentCreate) String() string

type ComponentModify

type ComponentModify struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	Source *SourceObject `json:"source,omitempty"`

	Build *Build `json:"build,omitempty"`
}

func (ComponentModify) String

func (o ComponentModify) String() string

type ComponentSubCategory

type ComponentSubCategory struct {
	// contains filtered or unexported fields
}

应用组件子类型。 Webapp的子类型有Web、Magento、Wordpress。 MicroService的子类型有Java Chassis、Go Chassis、Mesher、SpringCloud。 Common的子类型可以为空。

func (ComponentSubCategory) MarshalJSON

func (c ComponentSubCategory) MarshalJSON() ([]byte, error)

func (*ComponentSubCategory) UnmarshalJSON

func (c *ComponentSubCategory) UnmarshalJSON(b []byte) error

type ComponentSubCategoryEnum

type ComponentSubCategoryEnum struct {
	WEB          ComponentSubCategory
	MAGENTO      ComponentSubCategory
	WORDPRESS    ComponentSubCategory
	SPRING_CLOUD ComponentSubCategory
	JAVA_CHASSIS ComponentSubCategory
	GO_CHASSIS   ComponentSubCategory
	MESHER       ComponentSubCategory
}

func GetComponentSubCategoryEnum

func GetComponentSubCategoryEnum() ComponentSubCategoryEnum

type ComponentView

type ComponentView struct {
	Id *string `json:"id,omitempty"`

	ApplicationId *string `json:"application_id,omitempty"`

	Name *string `json:"name,omitempty"`

	Runtime *RuntimeType `json:"runtime,omitempty"`

	Category *ComponentCategory `json:"category,omitempty"`

	SubCategory *ComponentSubCategory `json:"sub_category,omitempty"`

	Description *string `json:"description,omitempty"`

	Status *int32 `json:"status,omitempty"`

	Source *SourceObject `json:"source,omitempty"`

	Creator *string `json:"creator,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime *int64 `json:"update_time,omitempty"`
}

func (ComponentView) String

func (o ComponentView) String() string

type CreateApplicationRequest

type CreateApplicationRequest struct {
	Body *ApplicationCreate `json:"body,omitempty"`
}

Request Object

func (CreateApplicationRequest) String

func (o CreateApplicationRequest) String() string

type CreateApplicationResponse

type CreateApplicationResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	Creator *string `json:"creator,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateApplicationResponse) String

func (o CreateApplicationResponse) String() string

type CreateComponentRequest

type CreateComponentRequest struct {
	ApplicationId string `json:"application_id"`

	Body *ComponentCreate `json:"body,omitempty"`
}

Request Object

func (CreateComponentRequest) String

func (o CreateComponentRequest) String() string

type CreateComponentResponse

type CreateComponentResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *int32 `json:"status,omitempty"`

	Runtime *RuntimeType `json:"runtime,omitempty"`

	Category *ComponentCategory `json:"category,omitempty"`

	SubCategory *ComponentSubCategory `json:"sub_category,omitempty"`

	Description *string `json:"description,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ApplicationId *string `json:"application_id,omitempty"`

	Source *SourceObject `json:"source,omitempty"`

	Build *BuildInfo `json:"build,omitempty"`

	PipelineIds *[]string `json:"pipeline_ids,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateComponentResponse) String

func (o CreateComponentResponse) String() string

type CreateEnvironmentRequest

type CreateEnvironmentRequest struct {
	Body *EnvironmentCreate `json:"body,omitempty"`
}

Request Object

func (CreateEnvironmentRequest) String

func (o CreateEnvironmentRequest) String() string

type CreateEnvironmentResponse

type CreateEnvironmentResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Alias *string `json:"alias,omitempty"`

	Description *string `json:"description,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ChargeMode *string `json:"charge_mode,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	BaseResources *[]Resource `json:"base_resources,omitempty"`

	OptionalResources *[]Resource `json:"optional_resources,omitempty"`

	Creator *string `json:"creator,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateEnvironmentResponse) String

func (o CreateEnvironmentResponse) String() string

type CreateFileRequest

type CreateFileRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`

	Path string `json:"path"`

	Ref string `json:"ref"`

	Body *FileCreate `json:"body,omitempty"`
}

Request Object

func (CreateFileRequest) String

func (o CreateFileRequest) String() string

type CreateFileResponse

type CreateFileResponse struct {
	Path           *string `json:"path,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateFileResponse) String

func (o CreateFileResponse) String() string

type CreateHookRequest

type CreateHookRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`

	Body *HookCreate `json:"body,omitempty"`
}

Request Object

func (CreateHookRequest) String

func (o CreateHookRequest) String() string

type CreateHookResponse

type CreateHookResponse struct {
	Id *string `json:"id,omitempty"`

	Type *string `json:"type,omitempty"`

	CallbackUrl    *string `json:"callback_url,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateHookResponse) String

func (o CreateHookResponse) String() string

type CreateInstanceRequest

type CreateInstanceRequest struct {
	ApplicationId string `json:"application_id"`

	ComponentId string `json:"component_id"`

	Body *InstanceCreate `json:"body,omitempty"`
}

Request Object

func (CreateInstanceRequest) String

func (o CreateInstanceRequest) String() string

type CreateInstanceResponse

type CreateInstanceResponse struct {
	InstanceId *string `json:"instance_id,omitempty"`

	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateInstanceResponse) String

func (o CreateInstanceResponse) String() string

type CreateOAuthRequest

type CreateOAuthRequest struct {
	RepoType CreateOAuthRequestRepoType `json:"repo_type"`

	Tag *string `json:"tag,omitempty"`

	Body *OAuth `json:"body,omitempty"`
}

Request Object

func (CreateOAuthRequest) String

func (o CreateOAuthRequest) String() string

type CreateOAuthRequestRepoType

type CreateOAuthRequestRepoType struct {
	// contains filtered or unexported fields
}

func (CreateOAuthRequestRepoType) MarshalJSON

func (c CreateOAuthRequestRepoType) MarshalJSON() ([]byte, error)

func (*CreateOAuthRequestRepoType) UnmarshalJSON

func (c *CreateOAuthRequestRepoType) UnmarshalJSON(b []byte) error

type CreateOAuthRequestRepoTypeEnum

type CreateOAuthRequestRepoTypeEnum struct {
	GITHUB    CreateOAuthRequestRepoType
	GITLAB    CreateOAuthRequestRepoType
	GITEE     CreateOAuthRequestRepoType
	BITBUCKET CreateOAuthRequestRepoType
}

func GetCreateOAuthRequestRepoTypeEnum

func GetCreateOAuthRequestRepoTypeEnum() CreateOAuthRequestRepoTypeEnum

type CreateOAuthResponse

type CreateOAuthResponse struct {
	Authorization  *AuthorizationVo `json:"authorization,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (CreateOAuthResponse) String

func (o CreateOAuthResponse) String() string

type CreatePasswordAuthRequest

type CreatePasswordAuthRequest struct {
	RepoType CreatePasswordAuthRequestRepoType `json:"repo_type"`

	Body *AccessPassword `json:"body,omitempty"`
}

Request Object

func (CreatePasswordAuthRequest) String

func (o CreatePasswordAuthRequest) String() string

type CreatePasswordAuthRequestRepoType

type CreatePasswordAuthRequestRepoType struct {
	// contains filtered or unexported fields
}

func (CreatePasswordAuthRequestRepoType) MarshalJSON

func (c CreatePasswordAuthRequestRepoType) MarshalJSON() ([]byte, error)

func (*CreatePasswordAuthRequestRepoType) UnmarshalJSON

func (c *CreatePasswordAuthRequestRepoType) UnmarshalJSON(b []byte) error

type CreatePasswordAuthRequestRepoTypeEnum

type CreatePasswordAuthRequestRepoTypeEnum struct {
	GITHUB    CreatePasswordAuthRequestRepoType
	DEVCLOUD  CreatePasswordAuthRequestRepoType
	BITBUCKET CreatePasswordAuthRequestRepoType
}

func GetCreatePasswordAuthRequestRepoTypeEnum

func GetCreatePasswordAuthRequestRepoTypeEnum() CreatePasswordAuthRequestRepoTypeEnum

type CreatePasswordAuthResponse

type CreatePasswordAuthResponse struct {
	Authorization  *AuthorizationVo `json:"authorization,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (CreatePasswordAuthResponse) String

type CreatePersonalAuthRequest

type CreatePersonalAuthRequest struct {
	RepoType CreatePersonalAuthRequestRepoType `json:"repo_type"`

	Body *AccessToken `json:"body,omitempty"`
}

Request Object

func (CreatePersonalAuthRequest) String

func (o CreatePersonalAuthRequest) String() string

type CreatePersonalAuthRequestRepoType

type CreatePersonalAuthRequestRepoType struct {
	// contains filtered or unexported fields
}

func (CreatePersonalAuthRequestRepoType) MarshalJSON

func (c CreatePersonalAuthRequestRepoType) MarshalJSON() ([]byte, error)

func (*CreatePersonalAuthRequestRepoType) UnmarshalJSON

func (c *CreatePersonalAuthRequestRepoType) UnmarshalJSON(b []byte) error

type CreatePersonalAuthResponse

type CreatePersonalAuthResponse struct {
	Authorization  *AuthorizationVo `json:"authorization,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (CreatePersonalAuthResponse) String

type CreateProjectRequest

type CreateProjectRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Body *ProjectCreate `json:"body,omitempty"`
}

Request Object

func (CreateProjectRequest) String

func (o CreateProjectRequest) String() string

type CreateProjectResponse

type CreateProjectResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	CloneUrl       *string `json:"clone_url,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateProjectResponse) String

func (o CreateProjectResponse) String() string

type CreateTagRequest

type CreateTagRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`

	Ref string `json:"ref"`

	Body *TagCreate `json:"body,omitempty"`
}

Request Object

func (CreateTagRequest) String

func (o CreateTagRequest) String() string

type CreateTagResponse

type CreateTagResponse struct {
	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateTagResponse) String

func (o CreateTagResponse) String() string

type DeleteApplicationConfigurationRequest

type DeleteApplicationConfigurationRequest struct {
	ApplicationId string `json:"application_id"`

	EnvironmentId string `json:"environment_id"`
}

Request Object

func (DeleteApplicationConfigurationRequest) String

type DeleteApplicationConfigurationResponse

type DeleteApplicationConfigurationResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteApplicationConfigurationResponse) String

type DeleteApplicationRequest

type DeleteApplicationRequest struct {
	ApplicationId string `json:"application_id"`
}

Request Object

func (DeleteApplicationRequest) String

func (o DeleteApplicationRequest) String() string

type DeleteApplicationResponse

type DeleteApplicationResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteApplicationResponse) String

func (o DeleteApplicationResponse) String() string

type DeleteAuthorizeRequest

type DeleteAuthorizeRequest struct {
	Name string `json:"name"`
}

Request Object

func (DeleteAuthorizeRequest) String

func (o DeleteAuthorizeRequest) String() string

type DeleteAuthorizeResponse

type DeleteAuthorizeResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteAuthorizeResponse) String

func (o DeleteAuthorizeResponse) String() string

type DeleteComponentRequest

type DeleteComponentRequest struct {
	ApplicationId string `json:"application_id"`

	ComponentId string `json:"component_id"`

	Force *bool `json:"force,omitempty"`
}

Request Object

func (DeleteComponentRequest) String

func (o DeleteComponentRequest) String() string

type DeleteComponentResponse

type DeleteComponentResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteComponentResponse) String

func (o DeleteComponentResponse) String() string

type DeleteEnvironmentRequest

type DeleteEnvironmentRequest struct {
	EnvironmentId string `json:"environment_id"`
}

Request Object

func (DeleteEnvironmentRequest) String

func (o DeleteEnvironmentRequest) String() string

type DeleteEnvironmentResponse

type DeleteEnvironmentResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteEnvironmentResponse) String

func (o DeleteEnvironmentResponse) String() string

type DeleteFileRequest

type DeleteFileRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`

	Path string `json:"path"`

	Ref string `json:"ref"`

	Message string `json:"message"`

	Sha string `json:"sha"`
}

Request Object

func (DeleteFileRequest) String

func (o DeleteFileRequest) String() string

type DeleteFileResponse

type DeleteFileResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteFileResponse) String

func (o DeleteFileResponse) String() string

type DeleteHookRequest

type DeleteHookRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`

	HookId string `json:"hook_id"`
}

Request Object

func (DeleteHookRequest) String

func (o DeleteHookRequest) String() string

type DeleteHookResponse

type DeleteHookResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteHookResponse) String

func (o DeleteHookResponse) String() string

type DeleteInstanceRequest

type DeleteInstanceRequest struct {
	ApplicationId string `json:"application_id"`

	ComponentId string `json:"component_id"`

	InstanceId string `json:"instance_id"`

	Force *bool `json:"force,omitempty"`
}

Request Object

func (DeleteInstanceRequest) String

func (o DeleteInstanceRequest) String() string

type DeleteInstanceResponse

type DeleteInstanceResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteInstanceResponse) String

func (o DeleteInstanceResponse) String() string

type DeleteTagRequest

type DeleteTagRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`

	TagName string `json:"tag_name"`
}

Request Object

func (DeleteTagRequest) String

func (o DeleteTagRequest) String() string

type DeleteTagResponse

type DeleteTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteTagResponse) String

func (o DeleteTagResponse) String() string

type Environment

type Environment struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Alias *string `json:"alias,omitempty"`

	Description *string `json:"description,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ChargeMode *string `json:"charge_mode,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	BaseResources *[]Resource `json:"base_resources,omitempty"`

	OptionalResources *[]Resource `json:"optional_resources,omitempty"`

	Creator *string `json:"creator,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime *int64 `json:"update_time,omitempty"`
}

func (Environment) String

func (o Environment) String() string

type EnvironmentCreate

type EnvironmentCreate struct {
	Name string `json:"name"`

	Alias *string `json:"alias,omitempty"`

	Description *string `json:"description,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ChargeMode *ChargeMode `json:"charge_mode,omitempty"`

	VpcId string `json:"vpc_id"`

	BaseResources []Resource `json:"base_resources"`

	OptionalResources *[]Resource `json:"optional_resources,omitempty"`
}

func (EnvironmentCreate) String

func (o EnvironmentCreate) String() string

type EnvironmentModify

type EnvironmentModify struct {
	Name *string `json:"name,omitempty"`

	Alias *string `json:"alias,omitempty"`

	Description *string `json:"description,omitempty"`
}

func (EnvironmentModify) String

func (o EnvironmentModify) String() string

type EnvironmentResourceModify

type EnvironmentResourceModify struct {
	AddBaseResources *[]Resource `json:"add_base_resources,omitempty"`

	AddOptionalResources *[]Resource `json:"add_optional_resources,omitempty"`

	RemoveResources *[]Resource `json:"remove_resources,omitempty"`
}

func (EnvironmentResourceModify) String

func (o EnvironmentResourceModify) String() string

type ExternalAccessProtocol

type ExternalAccessProtocol struct {
	// contains filtered or unexported fields
}

协议。

func (ExternalAccessProtocol) MarshalJSON

func (c ExternalAccessProtocol) MarshalJSON() ([]byte, error)

func (*ExternalAccessProtocol) UnmarshalJSON

func (c *ExternalAccessProtocol) UnmarshalJSON(b []byte) error

type ExternalAccessProtocolEnum

type ExternalAccessProtocolEnum struct {
	HTTP  ExternalAccessProtocol
	HTTPS ExternalAccessProtocol
}

func GetExternalAccessProtocolEnum

func GetExternalAccessProtocolEnum() ExternalAccessProtocolEnum

type ExternalAccessStatus

type ExternalAccessStatus struct {
	// contains filtered or unexported fields
}

状态。

func (ExternalAccessStatus) MarshalJSON

func (c ExternalAccessStatus) MarshalJSON() ([]byte, error)

func (*ExternalAccessStatus) UnmarshalJSON

func (c *ExternalAccessStatus) UnmarshalJSON(b []byte) error

type ExternalAccessStatusEnum

type ExternalAccessStatusEnum struct {
	NORMAL  ExternalAccessStatus
	EXPIRED ExternalAccessStatus
}

func GetExternalAccessStatusEnum

func GetExternalAccessStatusEnum() ExternalAccessStatusEnum

type ExternalAccessType

type ExternalAccessType struct {
	// contains filtered or unexported fields
}

类型。

func (ExternalAccessType) MarshalJSON

func (c ExternalAccessType) MarshalJSON() ([]byte, error)

func (*ExternalAccessType) UnmarshalJSON

func (c *ExternalAccessType) UnmarshalJSON(b []byte) error

type ExternalAccessTypeEnum

type ExternalAccessTypeEnum struct {
	AUTO_GENERATED ExternalAccessType
	SPECIFIED      ExternalAccessType
	IP_ADDR        ExternalAccessType
}

func GetExternalAccessTypeEnum

func GetExternalAccessTypeEnum() ExternalAccessTypeEnum

type ExternalAccesses

type ExternalAccesses struct {
	Id *string `json:"id,omitempty"`

	Protocol *ExternalAccessProtocol `json:"protocol"`

	Address string `json:"address"`

	ForwardPort int32 `json:"forward_port"`

	Type *ExternalAccessType `json:"type,omitempty"`

	Status *ExternalAccessStatus `json:"status,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime *int64 `json:"update_time,omitempty"`
}

访问方式。

func (ExternalAccesses) String

func (o ExternalAccesses) String() string

type ExternalAccessesCreate

type ExternalAccessesCreate struct {
	Protocol ExternalAccessesCreateProtocol `json:"protocol"`

	Address string `json:"address"`

	ForwardPort int32 `json:"forward_port"`
}

外网访问。

func (ExternalAccessesCreate) String

func (o ExternalAccessesCreate) String() string

type ExternalAccessesCreateProtocol

type ExternalAccessesCreateProtocol struct {
	// contains filtered or unexported fields
}

func (ExternalAccessesCreateProtocol) MarshalJSON

func (c ExternalAccessesCreateProtocol) MarshalJSON() ([]byte, error)

func (*ExternalAccessesCreateProtocol) UnmarshalJSON

func (c *ExternalAccessesCreateProtocol) UnmarshalJSON(b []byte) error

type ExternalAccessesCreateProtocolEnum

type ExternalAccessesCreateProtocolEnum struct {
	HTTP  ExternalAccessesCreateProtocol
	HTTPS ExternalAccessesCreateProtocol
}

func GetExternalAccessesCreateProtocolEnum

func GetExternalAccessesCreateProtocolEnum() ExternalAccessesCreateProtocolEnum

type FileCreate

type FileCreate struct {
	Message string `json:"message"`

	Content string `json:"content"`
}

func (FileCreate) String

func (o FileCreate) String() string

type FileUpdate

type FileUpdate struct {
	Message string `json:"message"`

	Content string `json:"content"`

	Sha string `json:"sha"`
}

func (FileUpdate) String

func (o FileUpdate) String() string

type FlavorId

type FlavorId struct {
	// contains filtered or unexported fields
}

资源规格。

func (FlavorId) MarshalJSON

func (c FlavorId) MarshalJSON() ([]byte, error)

func (*FlavorId) UnmarshalJSON

func (c *FlavorId) UnmarshalJSON(b []byte) error

type FlavorIdEnum

type FlavorIdEnum struct {
	MICRO_5_G0_5_C1_G     FlavorId
	SMALL_10_G1_0_C2_G    FlavorId
	STANDARD_30_G2_0_C4_G FlavorId
	LARGE_50_G4_0_C8_G    FlavorId
	XLARGE_100_G4_0_C16_G FlavorId
	CUSTOM_XGX_XX_X       FlavorId
}

func GetFlavorIdEnum

func GetFlavorIdEnum() FlavorIdEnum

type FlavorView

type FlavorView struct {
	FlavorId *FlavorId `json:"flavor_id,omitempty"`

	StorageSize *string `json:"storage_size,omitempty"`

	NumCpu *string `json:"num_cpu,omitempty"`

	NumCpuInit *string `json:"num_cpu_init,omitempty"`

	MemorySize *string `json:"memory_size,omitempty"`

	MemorySizeInit *string `json:"memory_size_init,omitempty"`

	Label *string `json:"label,omitempty"`
}

func (FlavorView) String

func (o FlavorView) String() string

type Hook

type Hook struct {
	Id string `json:"id"`

	Type string `json:"type"`

	CallbackUrl string `json:"callback_url"`
}

func (Hook) String

func (o Hook) String() string

type HookCreate

type HookCreate struct {
	Secret string `json:"secret"`

	Url string `json:"url"`
}

func (HookCreate) String

func (o HookCreate) String() string

type InstanceAction

type InstanceAction struct {
	Action *InstanceActionType `json:"action"`

	Parameters *InstanceActionParameters `json:"parameters,omitempty"`
}

func (InstanceAction) String

func (o InstanceAction) String() string

type InstanceActionParameters

type InstanceActionParameters struct {
	Replica *int32 `json:"replica,omitempty"`

	Hosts *[]string `json:"hosts,omitempty"`

	Version *string `json:"version,omitempty"`
}

操作参数,scale和rollback时提供。

func (InstanceActionParameters) String

func (o InstanceActionParameters) String() string

type InstanceActionType

type InstanceActionType struct {
	// contains filtered or unexported fields
}

操作,支持start, stop, restart, scale, rollback。

func (InstanceActionType) MarshalJSON

func (c InstanceActionType) MarshalJSON() ([]byte, error)

func (*InstanceActionType) UnmarshalJSON

func (c *InstanceActionType) UnmarshalJSON(b []byte) error

type InstanceActionTypeEnum

type InstanceActionTypeEnum struct {
	START    InstanceActionType
	STOP     InstanceActionType
	RESTART  InstanceActionType
	SCALE    InstanceActionType
	ROLLBACK InstanceActionType
}

func GetInstanceActionTypeEnum

func GetInstanceActionTypeEnum() InstanceActionTypeEnum

type InstanceCreate

type InstanceCreate struct {
	Name string `json:"name"`

	EnvironmentId string `json:"environment_id"`

	FlavorId *FlavorId `json:"flavor_id"`

	Replica int32 `json:"replica"`

	Artifacts map[string]interface{} `json:"artifacts"`

	Version string `json:"version"`

	Configuration *interface{} `json:"configuration,omitempty"`

	Description *string `json:"description,omitempty"`

	ExternalAccesses *[]ExternalAccessesCreate `json:"external_accesses,omitempty"`

	ReferResources []ReferResourceCreate `json:"refer_resources"`
}

func (InstanceCreate) String

func (o InstanceCreate) String() string

type InstanceFailDetail

type InstanceFailDetail struct {
	// contains filtered or unexported fields
}

失败描述。 cluster_deleted, // 集群被删除 cluster_unavailable, // 集群不可用 cluster_inaccessible, // 集群无法访问 namespace_deleted, // 命名空间被删除 namespace_unavailable, // 命名空间不可用 namespace_inaccessible, // 命名空间无法访问 resource_deleted, // 资源已删除

func (InstanceFailDetail) MarshalJSON

func (c InstanceFailDetail) MarshalJSON() ([]byte, error)

func (*InstanceFailDetail) UnmarshalJSON

func (c *InstanceFailDetail) UnmarshalJSON(b []byte) error

type InstanceFailDetailEnum

type InstanceFailDetailEnum struct {
	CLUSTER_DELETED        InstanceFailDetail
	CLUSTER_UNAVAILABLE    InstanceFailDetail
	CLUSTER_INACCESSIBLE   InstanceFailDetail
	NAMESPACE_DELETED      InstanceFailDetail
	NAMESPACE_UNAVAILABLE  InstanceFailDetail
	NAMESPACE_INACCESSIBLE InstanceFailDetail
	RESOURCE_DELETED       InstanceFailDetail
}

func GetInstanceFailDetailEnum

func GetInstanceFailDetailEnum() InstanceFailDetailEnum

type InstanceListView

type InstanceListView struct {
	Id *string `json:"id,omitempty"`

	ApplicationId *string `json:"application_id,omitempty"`

	ApplicationName *string `json:"application_name,omitempty"`

	ComponentId *string `json:"component_id,omitempty"`

	ComponentName *string `json:"component_name,omitempty"`

	Name *string `json:"name,omitempty"`

	EnvironmentId *string `json:"environment_id,omitempty"`

	EnvironmentName *string `json:"environment_name,omitempty"`

	PlatformType *string `json:"platform_type,omitempty"`

	Version *string `json:"version,omitempty"`

	ExternalAccesses *[]ExternalAccesses `json:"external_accesses,omitempty"`

	Artifacts map[string]interface{} `json:"artifacts,omitempty"`

	Creator *string `json:"creator,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime *int64 `json:"update_time,omitempty"`

	StatusDetail *InstanceStatusView `json:"status_detail,omitempty"`
}

实例参数。

func (InstanceListView) String

func (o InstanceListView) String() string

type InstanceModify

type InstanceModify struct {
	Version string `json:"version"`

	FlavorId *FlavorId `json:"flavor_id,omitempty"`

	Artifacts map[string]interface{} `json:"artifacts,omitempty"`

	Configuration map[string]interface{} `json:"configuration,omitempty"`

	Description *string `json:"description,omitempty"`

	ExternalAccesses *[]ExternalAccesses `json:"external_accesses,omitempty"`

	ReferResources *[]ReferResourceCreate `json:"refer_resources,omitempty"`
}

func (InstanceModify) String

func (o InstanceModify) String() string

type InstancePlatformType

type InstancePlatformType struct {
	// contains filtered or unexported fields
}

运行平台类型。 应用可以在不同的平台上运行,可选用的平台的类型有以下几种:cce、vmapp。

func (InstancePlatformType) MarshalJSON

func (c InstancePlatformType) MarshalJSON() ([]byte, error)

func (*InstancePlatformType) UnmarshalJSON

func (c *InstancePlatformType) UnmarshalJSON(b []byte) error

type InstancePlatformTypeEnum

type InstancePlatformTypeEnum struct {
	CCE   InstancePlatformType
	VMAPP InstancePlatformType
}

func GetInstancePlatformTypeEnum

func GetInstancePlatformTypeEnum() InstancePlatformTypeEnum

type InstanceSnapshotView

type InstanceSnapshotView struct {
	CreateTime *int64 `json:"create_time,omitempty"`

	Description *string `json:"description,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	Version *string `json:"version,omitempty"`
}

快照参数。

func (InstanceSnapshotView) String

func (o InstanceSnapshotView) String() string

type InstanceStatusType

type InstanceStatusType struct {
	// contains filtered or unexported fields
}

实例状态。

func (InstanceStatusType) MarshalJSON

func (c InstanceStatusType) MarshalJSON() ([]byte, error)

func (*InstanceStatusType) UnmarshalJSON

func (c *InstanceStatusType) UnmarshalJSON(b []byte) error

type InstanceStatusTypeEnum

type InstanceStatusTypeEnum struct {
	INITIALIZING     InstanceStatusType
	UPGRADING        InstanceStatusType
	FAILED           InstanceStatusType
	RUNNING          InstanceStatusType
	DOWN             InstanceStatusType
	DELETING         InstanceStatusType
	DELETED          InstanceStatusType
	RESERVED         InstanceStatusType
	STARTING         InstanceStatusType
	STOPPING         InstanceStatusType
	STOPPED          InstanceStatusType
	RESTARTING       InstanceStatusType
	PENDING          InstanceStatusType
	UNKNOWN          InstanceStatusType
	PARTIALLY_FAILED InstanceStatusType
}

func GetInstanceStatusTypeEnum

func GetInstanceStatusTypeEnum() InstanceStatusTypeEnum

type InstanceStatusView

type InstanceStatusView struct {
	Status *InstanceStatusType `json:"status,omitempty"`

	AvailableReplica *int32 `json:"available_replica,omitempty"`

	Replica *int32 `json:"replica,omitempty"`

	FailDetail *InstanceFailDetail `json:"fail_detail,omitempty"`

	LastJobId *string `json:"last_job_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

状态详情。

func (InstanceStatusView) String

func (o InstanceStatusView) String() string

type JobInfo

type JobInfo struct {
	CreatedBy *string `json:"CREATED_BY,omitempty"`

	ExecutionStatus *JobInfoExecutionStatus `json:"EXECUTION_STATUS,omitempty"`

	JobDesc *string `json:"JOB_DESC,omitempty"`

	JobId *string `json:"JOB_ID,omitempty"`

	JobName *string `json:"JOB_NAME,omitempty"`

	JobType *string `json:"JOB_TYPE,omitempty"`

	OrderId *string `json:"ORDER_ID,omitempty"`

	ProjectId *string `json:"PROJECT_ID,omitempty"`

	ServiceInstanceId *string `json:"SERVICE_INSTANCE_ID,omitempty"`
}

构建工程参数。

func (JobInfo) String

func (o JobInfo) String() string

type JobInfoExecutionStatus

type JobInfoExecutionStatus struct {
	// contains filtered or unexported fields
}

func (JobInfoExecutionStatus) MarshalJSON

func (c JobInfoExecutionStatus) MarshalJSON() ([]byte, error)

func (*JobInfoExecutionStatus) UnmarshalJSON

func (c *JobInfoExecutionStatus) UnmarshalJSON(b []byte) error

type JobInfoExecutionStatusEnum

type JobInfoExecutionStatusEnum struct {
	RUNNING   JobInfoExecutionStatus
	FAILED    JobInfoExecutionStatus
	SUCCEEDED JobInfoExecutionStatus
}

func GetJobInfoExecutionStatusEnum

func GetJobInfoExecutionStatusEnum() JobInfoExecutionStatusEnum

type ListApplicationsRequest

type ListApplicationsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	OrderBy *string `json:"order_by,omitempty"`

	Order *ListApplicationsRequestOrder `json:"order,omitempty"`
}

Request Object

func (ListApplicationsRequest) String

func (o ListApplicationsRequest) String() string

type ListApplicationsRequestOrder

type ListApplicationsRequestOrder struct {
	// contains filtered or unexported fields
}

func (ListApplicationsRequestOrder) MarshalJSON

func (c ListApplicationsRequestOrder) MarshalJSON() ([]byte, error)

func (*ListApplicationsRequestOrder) UnmarshalJSON

func (c *ListApplicationsRequestOrder) UnmarshalJSON(b []byte) error

type ListApplicationsRequestOrderEnum

type ListApplicationsRequestOrderEnum struct {
	DESC ListApplicationsRequestOrder
	ASC  ListApplicationsRequestOrder
}

func GetListApplicationsRequestOrderEnum

func GetListApplicationsRequestOrderEnum() ListApplicationsRequestOrderEnum

type ListApplicationsResponse

type ListApplicationsResponse struct {
	Count *int32 `json:"count,omitempty"`

	Applications   *[]ApplicationView `json:"applications,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListApplicationsResponse) String

func (o ListApplicationsResponse) String() string

type ListAuthorizationsRequest

type ListAuthorizationsRequest struct {
}

Request Object

func (ListAuthorizationsRequest) String

func (o ListAuthorizationsRequest) String() string

type ListAuthorizationsResponse

type ListAuthorizationsResponse struct {
	Authorizations *[]AuthorizationVo `json:"authorizations,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListAuthorizationsResponse) String

type ListBranchesRequest

type ListBranchesRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`
}

Request Object

func (ListBranchesRequest) String

func (o ListBranchesRequest) String() string

type ListBranchesResponse

type ListBranchesResponse struct {
	Branches       *[]string `json:"branches,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListBranchesResponse) String

func (o ListBranchesResponse) String() string

type ListCommitsRequest

type ListCommitsRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`

	Ref *string `json:"ref,omitempty"`
}

Request Object

func (ListCommitsRequest) String

func (o ListCommitsRequest) String() string

type ListCommitsResponse

type ListCommitsResponse struct {
	Commits        *[]CommitsCommits `json:"commits,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListCommitsResponse) String

func (o ListCommitsResponse) String() string

type ListComponentsRequest

type ListComponentsRequest struct {
	ApplicationId string `json:"application_id"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	OrderBy *string `json:"order_by,omitempty"`

	Order *ListComponentsRequestOrder `json:"order,omitempty"`
}

Request Object

func (ListComponentsRequest) String

func (o ListComponentsRequest) String() string

type ListComponentsRequestOrder

type ListComponentsRequestOrder struct {
	// contains filtered or unexported fields
}

func (ListComponentsRequestOrder) MarshalJSON

func (c ListComponentsRequestOrder) MarshalJSON() ([]byte, error)

func (*ListComponentsRequestOrder) UnmarshalJSON

func (c *ListComponentsRequestOrder) UnmarshalJSON(b []byte) error

type ListComponentsRequestOrderEnum

type ListComponentsRequestOrderEnum struct {
	DESC ListComponentsRequestOrder
	ASC  ListComponentsRequestOrder
}

func GetListComponentsRequestOrderEnum

func GetListComponentsRequestOrderEnum() ListComponentsRequestOrderEnum

type ListComponentsResponse

type ListComponentsResponse struct {
	Count *int32 `json:"count,omitempty"`

	Components     *[]ComponentView `json:"components,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListComponentsResponse) String

func (o ListComponentsResponse) String() string

type ListEnvironmentsRequest

type ListEnvironmentsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	OrderBy *string `json:"order_by,omitempty"`

	Order *ListEnvironmentsRequestOrder `json:"order,omitempty"`
}

Request Object

func (ListEnvironmentsRequest) String

func (o ListEnvironmentsRequest) String() string

type ListEnvironmentsRequestOrder

type ListEnvironmentsRequestOrder struct {
	// contains filtered or unexported fields
}

func (ListEnvironmentsRequestOrder) MarshalJSON

func (c ListEnvironmentsRequestOrder) MarshalJSON() ([]byte, error)

func (*ListEnvironmentsRequestOrder) UnmarshalJSON

func (c *ListEnvironmentsRequestOrder) UnmarshalJSON(b []byte) error

type ListEnvironmentsRequestOrderEnum

type ListEnvironmentsRequestOrderEnum struct {
	DESC ListEnvironmentsRequestOrder
	ASC  ListEnvironmentsRequestOrder
}

func GetListEnvironmentsRequestOrderEnum

func GetListEnvironmentsRequestOrderEnum() ListEnvironmentsRequestOrderEnum

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {
	Count *int32 `json:"count,omitempty"`

	Environments   *[]Environment `json:"environments,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListEnvironmentsResponse) String

func (o ListEnvironmentsResponse) String() string

type ListFlavorsRequest

type ListFlavorsRequest struct {
}

Request Object

func (ListFlavorsRequest) String

func (o ListFlavorsRequest) String() string

type ListFlavorsResponse

type ListFlavorsResponse struct {
	Flavors        *[]FlavorView `json:"flavors,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ListFlavorsResponse) String

func (o ListFlavorsResponse) String() string

type ListHooksRequest

type ListHooksRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`
}

Request Object

func (ListHooksRequest) String

func (o ListHooksRequest) String() string

type ListHooksResponse

type ListHooksResponse struct {
	Hooks          *[]Hook `json:"hooks,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListHooksResponse) String

func (o ListHooksResponse) String() string

type ListInstanceSnapshotsRequest

type ListInstanceSnapshotsRequest struct {
	ApplicationId string `json:"application_id"`

	ComponentId string `json:"component_id"`

	InstanceId string `json:"instance_id"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	SnapshotOrderBy *string `json:"snapshot_order_by,omitempty"`

	Order *ListInstanceSnapshotsRequestOrder `json:"order,omitempty"`
}

Request Object

func (ListInstanceSnapshotsRequest) String

type ListInstanceSnapshotsRequestOrder

type ListInstanceSnapshotsRequestOrder struct {
	// contains filtered or unexported fields
}

func (ListInstanceSnapshotsRequestOrder) MarshalJSON

func (c ListInstanceSnapshotsRequestOrder) MarshalJSON() ([]byte, error)

func (*ListInstanceSnapshotsRequestOrder) UnmarshalJSON

func (c *ListInstanceSnapshotsRequestOrder) UnmarshalJSON(b []byte) error

type ListInstanceSnapshotsRequestOrderEnum

type ListInstanceSnapshotsRequestOrderEnum struct {
	DESC ListInstanceSnapshotsRequestOrder
	ASC  ListInstanceSnapshotsRequestOrder
}

func GetListInstanceSnapshotsRequestOrderEnum

func GetListInstanceSnapshotsRequestOrderEnum() ListInstanceSnapshotsRequestOrderEnum

type ListInstanceSnapshotsResponse

type ListInstanceSnapshotsResponse struct {
	Count *int32 `json:"count,omitempty"`

	Snapshots      *[]InstanceSnapshotView `json:"snapshots,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListInstanceSnapshotsResponse) String

type ListInstancesRequest

type ListInstancesRequest struct {
	ApplicationId string `json:"application_id"`

	ComponentId string `json:"component_id"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	OrderBy *string `json:"order_by,omitempty"`

	Order *ListInstancesRequestOrder `json:"order,omitempty"`
}

Request Object

func (ListInstancesRequest) String

func (o ListInstancesRequest) String() string

type ListInstancesRequestOrder

type ListInstancesRequestOrder struct {
	// contains filtered or unexported fields
}

func (ListInstancesRequestOrder) MarshalJSON

func (c ListInstancesRequestOrder) MarshalJSON() ([]byte, error)

func (*ListInstancesRequestOrder) UnmarshalJSON

func (c *ListInstancesRequestOrder) UnmarshalJSON(b []byte) error

type ListInstancesRequestOrderEnum

type ListInstancesRequestOrderEnum struct {
	DESC ListInstancesRequestOrder
	ASC  ListInstancesRequestOrder
}

func GetListInstancesRequestOrderEnum

func GetListInstancesRequestOrderEnum() ListInstancesRequestOrderEnum

type ListInstancesResponse

type ListInstancesResponse struct {
	Count *int32 `json:"count,omitempty"`

	Instances      *[]InstanceListView `json:"instances,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListInstancesResponse) String

func (o ListInstancesResponse) String() string

type ListNamespacesRequest

type ListNamespacesRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`
}

Request Object

func (ListNamespacesRequest) String

func (o ListNamespacesRequest) String() string

type ListNamespacesResponse

type ListNamespacesResponse struct {
	Namespaces     *[]NamespacesNamespaces `json:"namespaces,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListNamespacesResponse) String

func (o ListNamespacesResponse) String() string

type ListProjectsRequest

type ListProjectsRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`
}

Request Object

func (ListProjectsRequest) String

func (o ListProjectsRequest) String() string

type ListProjectsResponse

type ListProjectsResponse struct {
	Projects       *[]Project `json:"projects,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListProjectsResponse) String

func (o ListProjectsResponse) String() string

type ListRuntimesRequest

type ListRuntimesRequest struct {
}

Request Object

func (ListRuntimesRequest) String

func (o ListRuntimesRequest) String() string

type ListRuntimesResponse

type ListRuntimesResponse struct {
	Runtimes       *[]RuntimeTypeView `json:"runtimes,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListRuntimesResponse) String

func (o ListRuntimesResponse) String() string

type ListTagsRequest

type ListTagsRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`
}

Request Object

func (ListTagsRequest) String

func (o ListTagsRequest) String() string

type ListTagsResponse

type ListTagsResponse struct {
	Tags           *[]string `json:"tags,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListTagsResponse) String

func (o ListTagsResponse) String() string

type ListTemplatesRequest

type ListTemplatesRequest struct {
}

Request Object

func (ListTemplatesRequest) String

func (o ListTemplatesRequest) String() string

type ListTemplatesResponse

type ListTemplatesResponse struct {
	Templates      *[]TemplateView `json:"templates,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListTemplatesResponse) String

func (o ListTemplatesResponse) String() string

type ListTreesRequest

type ListTreesRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`

	Ref string `json:"ref"`
}

Request Object

func (ListTreesRequest) String

func (o ListTreesRequest) String() string

type ListTreesResponse

type ListTreesResponse struct {
	Paths          *[]string `json:"paths,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListTreesResponse) String

func (o ListTreesResponse) String() string

type NamespacesNamespaces

type NamespacesNamespaces struct {
	Id string `json:"id"`

	Name string `json:"name"`
}

func (NamespacesNamespaces) String

func (o NamespacesNamespaces) String() string

type OAuth

type OAuth struct {
	Name string `json:"name"`

	Code string `json:"code"`

	State string `json:"state"`
}

func (OAuth) String

func (o OAuth) String() string

type Project

type Project struct {
	Id string `json:"id"`

	Name string `json:"name"`

	CloneUrl string `json:"clone_url"`
}

func (Project) String

func (o Project) String() string

type ProjectCreate

type ProjectCreate struct {
	Name string `json:"name"`
}

func (ProjectCreate) String

func (o ProjectCreate) String() string

type ReferResourceCreate

type ReferResourceCreate struct {
	Id string `json:"id"`

	Type *ResourceType `json:"type"`

	ReferAlias *string `json:"refer_alias,omitempty"`

	Parameters *interface{} `json:"parameters,omitempty"`
}

部署资源。

func (ReferResourceCreate) String

func (o ReferResourceCreate) String() string

type ReferResources

type ReferResources struct {
	Id *string `json:"id,omitempty"`

	Type *ResourceType `json:"type,omitempty"`

	ReferAlias *string `json:"refer_alias,omitempty"`

	Parameters *interface{} `json:"parameters,omitempty"`
}

部署资源。

func (ReferResources) String

func (o ReferResources) String() string

type Resource

type Resource struct {
	Id string `json:"id"`

	Type *ResourceType `json:"type"`
}

func (Resource) String

func (o Resource) String() string

type ResourceReferAlias

type ResourceReferAlias struct {
}

应用别名,dcs时才提供,支持“distributed_session”、“distributed_cache”、“distributed_session, distributed_cache”, 默认值是“distributed_session, distributed_cache”。

func (ResourceReferAlias) String

func (o ResourceReferAlias) String() string

type ResourceType

type ResourceType struct {
	// contains filtered or unexported fields
}

资源类型。 基础资源:cce、cci、ecs、as。 可选资源:rds、dcs、elb等其他类型。

func (ResourceType) MarshalJSON

func (c ResourceType) MarshalJSON() ([]byte, error)

func (*ResourceType) UnmarshalJSON

func (c *ResourceType) UnmarshalJSON(b []byte) error

type ResourceTypeEnum

type ResourceTypeEnum struct {
	SECURITY_GROUP ResourceType
	EIP            ResourceType
	ELB            ResourceType
	CCE            ResourceType
	CCI            ResourceType
	ECS            ResourceType
	AS             ResourceType
	CSE            ResourceType
	DCS            ResourceType
	RDS            ResourceType
	PVC            ResourceType
	APM            ResourceType
}

func GetResourceTypeEnum

func GetResourceTypeEnum() ResourceTypeEnum

type RuntimeType

type RuntimeType struct {
	// contains filtered or unexported fields
}

运行时类型。

func (RuntimeType) MarshalJSON

func (c RuntimeType) MarshalJSON() ([]byte, error)

func (*RuntimeType) UnmarshalJSON

func (c *RuntimeType) UnmarshalJSON(b []byte) error

type RuntimeTypeEnum

type RuntimeTypeEnum struct {
	TOMCAT8 RuntimeType
	JAVA8   RuntimeType
	PHP7    RuntimeType
	NODEJS8 RuntimeType
	DOCKER  RuntimeType
	PYTHON3 RuntimeType
	CUSTOM  RuntimeType
}

func GetRuntimeTypeEnum

func GetRuntimeTypeEnum() RuntimeTypeEnum

type RuntimeTypeView

type RuntimeTypeView struct {
	TypeName *string `json:"type_name,omitempty"`

	DisplayName *string `json:"display_name,omitempty"`

	ContainerDefaultPort *int32 `json:"container_default_port,omitempty"`

	TypeDesc *string `json:"type_desc,omitempty"`
}

运行时参数。

func (RuntimeTypeView) String

func (o RuntimeTypeView) String() string

type ShowApplicationConfigurationRequest

type ShowApplicationConfigurationRequest struct {
	ApplicationId string `json:"application_id"`

	EnvironmentId *string `json:"environment_id,omitempty"`
}

Request Object

func (ShowApplicationConfigurationRequest) String

type ShowApplicationConfigurationResponse

type ShowApplicationConfigurationResponse struct {
	Configuration  *[]ApplicationListConfigConfiguration1 `json:"configuration,omitempty"`
	HttpStatusCode int                                    `json:"-"`
}

Response Object

func (ShowApplicationConfigurationResponse) String

type ShowApplicationDetailRequest

type ShowApplicationDetailRequest struct {
	ApplicationId string `json:"application_id"`
}

Request Object

func (ShowApplicationDetailRequest) String

type ShowApplicationDetailResponse

type ShowApplicationDetailResponse struct {
	ComponentCount *int32 `json:"component_count,omitempty"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	Creator *string `json:"creator,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowApplicationDetailResponse) String

type ShowComponentDetailRequest

type ShowComponentDetailRequest struct {
	ApplicationId string `json:"application_id"`

	ComponentId string `json:"component_id"`
}

Request Object

func (ShowComponentDetailRequest) String

type ShowComponentDetailResponse

type ShowComponentDetailResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *int32 `json:"status,omitempty"`

	Runtime *RuntimeType `json:"runtime,omitempty"`

	Category *ComponentCategory `json:"category,omitempty"`

	SubCategory *ComponentSubCategory `json:"sub_category,omitempty"`

	Description *string `json:"description,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ApplicationId *string `json:"application_id,omitempty"`

	Source *SourceObject `json:"source,omitempty"`

	Build *BuildInfo `json:"build,omitempty"`

	PipelineIds *[]string `json:"pipeline_ids,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowComponentDetailResponse) String

type ShowContentRequest

type ShowContentRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`

	Path string `json:"path"`

	Ref string `json:"ref"`
}

Request Object

func (ShowContentRequest) String

func (o ShowContentRequest) String() string

type ShowContentResponse

type ShowContentResponse struct {
	Path *string `json:"path,omitempty"`

	Sha *string `json:"sha,omitempty"`

	Encoding *ShowContentResponseEncoding `json:"encoding,omitempty"`

	Content        *string `json:"content,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowContentResponse) String

func (o ShowContentResponse) String() string

type ShowContentResponseEncoding

type ShowContentResponseEncoding struct {
	// contains filtered or unexported fields
}

func (ShowContentResponseEncoding) MarshalJSON

func (c ShowContentResponseEncoding) MarshalJSON() ([]byte, error)

func (*ShowContentResponseEncoding) UnmarshalJSON

func (c *ShowContentResponseEncoding) UnmarshalJSON(b []byte) error

type ShowContentResponseEncodingEnum

type ShowContentResponseEncodingEnum struct {
	BASE64     ShowContentResponseEncoding
	TEXT_PLAIN ShowContentResponseEncoding
}

func GetShowContentResponseEncodingEnum

func GetShowContentResponseEncodingEnum() ShowContentResponseEncodingEnum

type ShowEnvironmentDetailRequest

type ShowEnvironmentDetailRequest struct {
	EnvironmentId string `json:"environment_id"`
}

Request Object

func (ShowEnvironmentDetailRequest) String

type ShowEnvironmentDetailResponse

type ShowEnvironmentDetailResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Alias *string `json:"alias,omitempty"`

	Description *string `json:"description,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	ChargeMode *string `json:"charge_mode,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	BaseResources *[]Resource `json:"base_resources,omitempty"`

	OptionalResources *[]Resource `json:"optional_resources,omitempty"`

	Creator *string `json:"creator,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime     *int64 `json:"update_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowEnvironmentDetailResponse) String

type ShowInstanceDetailRequest

type ShowInstanceDetailRequest struct {
	ApplicationId string `json:"application_id"`

	ComponentId string `json:"component_id"`

	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowInstanceDetailRequest) String

func (o ShowInstanceDetailRequest) String() string

type ShowInstanceDetailResponse

type ShowInstanceDetailResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	EnvironmentId *string `json:"environment_id,omitempty"`

	PlatformType *InstancePlatformType `json:"platform_type,omitempty"`

	FlavorId *FlavorId `json:"flavor_id,omitempty"`

	Artifacts map[string]interface{} `json:"artifacts,omitempty"`

	Version *string `json:"version,omitempty"`

	Configuration *interface{} `json:"configuration,omitempty"`

	Creator *string `json:"creator,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime *int64 `json:"update_time,omitempty"`

	ExternalAccesses *[]ExternalAccesses `json:"external_accesses,omitempty"`

	ReferResources *[]ReferResources `json:"refer_resources,omitempty"`

	StatusDetail   *InstanceStatusView `json:"status_detail,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ShowInstanceDetailResponse) String

type ShowJobDetailRequest

type ShowJobDetailRequest struct {
	JobId string `json:"job_id"`

	InstanceId *string `json:"instance_id,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Desc *string `json:"desc,omitempty"`
}

Request Object

func (ShowJobDetailRequest) String

func (o ShowJobDetailRequest) String() string

type ShowJobDetailResponse

type ShowJobDetailResponse struct {
	TaskCount *int32 `json:"task_count,omitempty"`

	Job *JobInfo `json:"job,omitempty"`

	Tasks          *[]TaskInfo `json:"tasks,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ShowJobDetailResponse) String

func (o ShowJobDetailResponse) String() string

type ShowProjectDetailRequest

type ShowProjectDetailRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	CloneUrl string `json:"clone_url"`
}

Request Object

func (ShowProjectDetailRequest) String

func (o ShowProjectDetailRequest) String() string

type ShowProjectDetailResponse

type ShowProjectDetailResponse struct {
	NamespaceId *string `json:"namespace_id,omitempty"`

	Namespace *string `json:"namespace,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	Project        *string `json:"project,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowProjectDetailResponse) String

func (o ShowProjectDetailResponse) String() string

type ShowRedirectUrlRequest

type ShowRedirectUrlRequest struct {
	RepoType ShowRedirectUrlRequestRepoType `json:"repo_type"`

	Tag *string `json:"tag,omitempty"`
}

Request Object

func (ShowRedirectUrlRequest) String

func (o ShowRedirectUrlRequest) String() string

type ShowRedirectUrlRequestRepoType

type ShowRedirectUrlRequestRepoType struct {
	// contains filtered or unexported fields
}

func (ShowRedirectUrlRequestRepoType) MarshalJSON

func (c ShowRedirectUrlRequestRepoType) MarshalJSON() ([]byte, error)

func (*ShowRedirectUrlRequestRepoType) UnmarshalJSON

func (c *ShowRedirectUrlRequestRepoType) UnmarshalJSON(b []byte) error

type ShowRedirectUrlResponse

type ShowRedirectUrlResponse struct {
	Url            *string `json:"url,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowRedirectUrlResponse) String

func (o ShowRedirectUrlResponse) String() string

type SourceKind

type SourceKind struct {
	// contains filtered or unexported fields
}

来源类型。支持源码code和artifact软件包。

func (SourceKind) MarshalJSON

func (c SourceKind) MarshalJSON() ([]byte, error)

func (*SourceKind) UnmarshalJSON

func (c *SourceKind) UnmarshalJSON(b []byte) error

type SourceKindEnum

type SourceKindEnum struct {
	CODE     SourceKind
	ARTIFACT SourceKind
}

func GetSourceKindEnum

func GetSourceKindEnum() SourceKindEnum

type SourceObject

type SourceObject struct {
	Kind *SourceKind `json:"kind,omitempty"`

	Spec *SourceOrArtifact `json:"spec,omitempty"`
}

组件来源。

func (SourceObject) String

func (o SourceObject) String() string

type SourceOrArtifact

type SourceOrArtifact struct {
	Storage *SourceOrArtifactStorage `json:"storage,omitempty"`

	Type *SourceOrArtifactType `json:"type,omitempty"`

	Url *string `json:"url,omitempty"`

	Auth *string `json:"auth,omitempty"`

	RepoType *SourceRepoType `json:"repo_type,omitempty"`

	RepoUrl *string `json:"repo_url,omitempty"`

	RepoRef *string `json:"repo_ref,omitempty"`

	RepoAuth *string `json:"repo_auth,omitempty"`
}

当组件来源的kind是artifact时spec的内容结构。

func (SourceOrArtifact) String

func (o SourceOrArtifact) String() string

type SourceOrArtifactStorage

type SourceOrArtifactStorage struct {
	// contains filtered or unexported fields
}

func (SourceOrArtifactStorage) MarshalJSON

func (c SourceOrArtifactStorage) MarshalJSON() ([]byte, error)

func (*SourceOrArtifactStorage) UnmarshalJSON

func (c *SourceOrArtifactStorage) UnmarshalJSON(b []byte) error

type SourceOrArtifactStorageEnum

type SourceOrArtifactStorageEnum struct {
	SWR SourceOrArtifactStorage
	OBS SourceOrArtifactStorage
}

func GetSourceOrArtifactStorageEnum

func GetSourceOrArtifactStorageEnum() SourceOrArtifactStorageEnum

type SourceOrArtifactType

type SourceOrArtifactType struct {
	// contains filtered or unexported fields
}

func (SourceOrArtifactType) MarshalJSON

func (c SourceOrArtifactType) MarshalJSON() ([]byte, error)

func (*SourceOrArtifactType) UnmarshalJSON

func (c *SourceOrArtifactType) UnmarshalJSON(b []byte) error

type SourceOrArtifactTypeEnum

type SourceOrArtifactTypeEnum struct {
	PACKAGE SourceOrArtifactType
}

func GetSourceOrArtifactTypeEnum

func GetSourceOrArtifactTypeEnum() SourceOrArtifactTypeEnum

type SourceRepoType

type SourceRepoType struct {
	// contains filtered or unexported fields
}

代码仓类型,支持GitHub、GitLab、Gitee、Bitbucket。

func (SourceRepoType) MarshalJSON

func (c SourceRepoType) MarshalJSON() ([]byte, error)

func (*SourceRepoType) UnmarshalJSON

func (c *SourceRepoType) UnmarshalJSON(b []byte) error

type SourceRepoTypeEnum

type SourceRepoTypeEnum struct {
	GIT_HUB   SourceRepoType
	GIT_LAB   SourceRepoType
	GITEE     SourceRepoType
	BITBUCKET SourceRepoType
}

func GetSourceRepoTypeEnum

func GetSourceRepoTypeEnum() SourceRepoTypeEnum

type TagCreate

type TagCreate struct {
	Name string `json:"name"`

	Description string `json:"description"`
}

func (TagCreate) String

func (o TagCreate) String() string

type TaskInfo

type TaskInfo struct {
	CreatedAt *string `json:"CREATED_AT,omitempty"`

	LastHealthCheck *string `json:"LAST_HEALTH_CHECK,omitempty"`

	Messages *string `json:"MESSAGES,omitempty"`

	OwnerId *string `json:"OWNER_ID,omitempty"`

	TaskId *string `json:"TASK_ID,omitempty"`

	TaskIndex *int32 `json:"TASK_INDEX,omitempty"`

	TaskName *string `json:"TASK_NAME,omitempty"`

	TaskStatus *TaskInfoTaskStatus `json:"TASK_STATUS,omitempty"`

	TaskType *string `json:"TASK_TYPE,omitempty"`
}

func (TaskInfo) String

func (o TaskInfo) String() string

type TaskInfoTaskStatus

type TaskInfoTaskStatus struct {
	// contains filtered or unexported fields
}

func (TaskInfoTaskStatus) MarshalJSON

func (c TaskInfoTaskStatus) MarshalJSON() ([]byte, error)

func (*TaskInfoTaskStatus) UnmarshalJSON

func (c *TaskInfoTaskStatus) UnmarshalJSON(b []byte) error

type TaskInfoTaskStatusEnum

type TaskInfoTaskStatusEnum struct {
	RUNNING   TaskInfoTaskStatus
	SKIPPED   TaskInfoTaskStatus
	FAILED    TaskInfoTaskStatus
	SUCCEEDED TaskInfoTaskStatus
}

func GetTaskInfoTaskStatusEnum

func GetTaskInfoTaskStatusEnum() TaskInfoTaskStatusEnum

type Template

type Template struct {
	// contains filtered or unexported fields
}

模板名称。

func (Template) MarshalJSON

func (c Template) MarshalJSON() ([]byte, error)

func (*Template) UnmarshalJSON

func (c *Template) UnmarshalJSON(b []byte) error

type TemplateEnum

type TemplateEnum struct {
	MAGENTO   Template
	MBAAS     Template
	WORDPRESS Template
}

func GetTemplateEnum

func GetTemplateEnum() TemplateEnum

type TemplateView

type TemplateView struct {
	TemplateName *Template `json:"template_name,omitempty"`

	TemplateDesc *string `json:"template_desc,omitempty"`

	SourceType *string `json:"source_type,omitempty"`

	SourceRepoUrl *string `json:"source_repo_url,omitempty"`

	Runtime *RuntimeType `json:"runtime,omitempty"`
}

模板参数。

func (TemplateView) String

func (o TemplateView) String() string

type UpdateFileRequest

type UpdateFileRequest struct {
	XRepoAuth string `json:"X-Repo-Auth"`

	Namespace string `json:"namespace"`

	Project string `json:"project"`

	Path string `json:"path"`

	Ref string `json:"ref"`

	Body *FileUpdate `json:"body,omitempty"`
}

Request Object

func (UpdateFileRequest) String

func (o UpdateFileRequest) String() string

type UpdateFileResponse

type UpdateFileResponse struct {
	Path           *string `json:"path,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateFileResponse) String

func (o UpdateFileResponse) String() string

type UpdateInstanceActionRequest

type UpdateInstanceActionRequest struct {
	ApplicationId string `json:"application_id"`

	ComponentId string `json:"component_id"`

	InstanceId string `json:"instance_id"`

	Body *InstanceAction `json:"body,omitempty"`
}

Request Object

func (UpdateInstanceActionRequest) String

type UpdateInstanceActionResponse

type UpdateInstanceActionResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateInstanceActionResponse) String

Source Files

Jump to

Keyboard shortcuts

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