Documentation ¶
Index ¶
- type AccessPassword
- type AccessToken
- type ApplicationConfigModify
- type ApplicationConfigModifyConfiguration
- type ApplicationConfigModifyConfigurationEnv
- type ApplicationCreate
- type ApplicationListConfigConfiguration
- type ApplicationListConfigConfiguration1
- type ApplicationListConfigConfigurationEnv
- type ApplicationModify
- type ApplicationView
- type AuthorizationVo
- type Build
- type BuildInfo
- type BuildInfoParameters
- type ChangeApplicationConfigurationRequest
- type ChangeApplicationConfigurationResponse
- type ChangeApplicationRequest
- type ChangeApplicationResponse
- type ChangeComponentRequest
- type ChangeComponentResponse
- type ChangeEnvironmentRequest
- type ChangeEnvironmentResponse
- type ChangeInstanceRequest
- type ChangeInstanceResponse
- type ChangeResourceInEnvironmentRequest
- type ChangeResourceInEnvironmentResponse
- type ChargeMode
- type ChargeModeEnum
- type CommitsCommits
- type ComponentCategory
- type ComponentCategoryEnum
- type ComponentCreate
- type ComponentModify
- type ComponentSubCategory
- type ComponentSubCategoryEnum
- type ComponentView
- type CreateApplicationRequest
- type CreateApplicationResponse
- type CreateComponentRequest
- type CreateComponentResponse
- type CreateEnvironmentRequest
- type CreateEnvironmentResponse
- type CreateFileRequest
- type CreateFileResponse
- type CreateHookRequest
- type CreateHookResponse
- type CreateInstanceRequest
- type CreateInstanceResponse
- type CreateOAuthRequest
- type CreateOAuthRequestRepoType
- type CreateOAuthRequestRepoTypeEnum
- type CreateOAuthResponse
- type CreatePasswordAuthRequest
- type CreatePasswordAuthRequestRepoType
- type CreatePasswordAuthRequestRepoTypeEnum
- type CreatePasswordAuthResponse
- type CreatePersonalAuthRequest
- type CreatePersonalAuthRequestRepoType
- type CreatePersonalAuthRequestRepoTypeEnum
- type CreatePersonalAuthResponse
- type CreateProjectRequest
- type CreateProjectResponse
- type CreateTagRequest
- type CreateTagResponse
- type DeleteApplicationConfigurationRequest
- type DeleteApplicationConfigurationResponse
- type DeleteApplicationRequest
- type DeleteApplicationResponse
- type DeleteAuthorizeRequest
- type DeleteAuthorizeResponse
- type DeleteComponentRequest
- type DeleteComponentResponse
- type DeleteEnvironmentRequest
- type DeleteEnvironmentResponse
- type DeleteFileRequest
- type DeleteFileResponse
- type DeleteHookRequest
- type DeleteHookResponse
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- type DeleteTagRequest
- type DeleteTagResponse
- type Environment
- type EnvironmentCreate
- type EnvironmentModify
- type EnvironmentResourceModify
- type ExternalAccessProtocol
- type ExternalAccessProtocolEnum
- type ExternalAccessStatus
- type ExternalAccessStatusEnum
- type ExternalAccessType
- type ExternalAccessTypeEnum
- type ExternalAccesses
- type ExternalAccessesCreate
- type ExternalAccessesCreateProtocol
- type ExternalAccessesCreateProtocolEnum
- type FileCreate
- type FileUpdate
- type FlavorId
- type FlavorIdEnum
- type FlavorView
- type Hook
- type HookCreate
- type InstanceAction
- type InstanceActionParameters
- type InstanceActionType
- type InstanceActionTypeEnum
- type InstanceCreate
- type InstanceFailDetail
- type InstanceFailDetailEnum
- type InstanceListView
- type InstanceModify
- type InstancePlatformType
- type InstancePlatformTypeEnum
- type InstanceSnapshotView
- type InstanceStatusType
- type InstanceStatusTypeEnum
- type InstanceStatusView
- type JobInfo
- type JobInfoExecutionStatus
- type JobInfoExecutionStatusEnum
- type ListApplicationsRequest
- type ListApplicationsRequestOrder
- type ListApplicationsRequestOrderEnum
- type ListApplicationsResponse
- type ListAuthorizationsRequest
- type ListAuthorizationsResponse
- type ListBranchesRequest
- type ListBranchesResponse
- type ListCommitsRequest
- type ListCommitsResponse
- type ListComponentsRequest
- type ListComponentsRequestOrder
- type ListComponentsRequestOrderEnum
- type ListComponentsResponse
- type ListEnvironmentsRequest
- type ListEnvironmentsRequestOrder
- type ListEnvironmentsRequestOrderEnum
- type ListEnvironmentsResponse
- type ListFlavorsRequest
- type ListFlavorsResponse
- type ListHooksRequest
- type ListHooksResponse
- type ListInstanceSnapshotsRequest
- type ListInstanceSnapshotsRequestOrder
- type ListInstanceSnapshotsRequestOrderEnum
- type ListInstanceSnapshotsResponse
- type ListInstancesRequest
- type ListInstancesRequestOrder
- type ListInstancesRequestOrderEnum
- type ListInstancesResponse
- type ListNamespacesRequest
- type ListNamespacesResponse
- type ListProjectsRequest
- type ListProjectsResponse
- type ListRuntimesRequest
- type ListRuntimesResponse
- type ListTagsRequest
- type ListTagsResponse
- type ListTemplatesRequest
- type ListTemplatesResponse
- type ListTreesRequest
- type ListTreesResponse
- type NamespacesNamespaces
- type OAuth
- type Project
- type ProjectCreate
- type ReferResourceCreate
- type ReferResources
- type Resource
- type ResourceReferAlias
- type ResourceType
- type ResourceTypeEnum
- type RuntimeType
- type RuntimeTypeEnum
- type RuntimeTypeView
- type ShowApplicationConfigurationRequest
- type ShowApplicationConfigurationResponse
- type ShowApplicationDetailRequest
- type ShowApplicationDetailResponse
- type ShowComponentDetailRequest
- type ShowComponentDetailResponse
- type ShowContentRequest
- type ShowContentResponse
- type ShowContentResponseEncoding
- type ShowContentResponseEncodingEnum
- type ShowEnvironmentDetailRequest
- type ShowEnvironmentDetailResponse
- type ShowInstanceDetailRequest
- type ShowInstanceDetailResponse
- type ShowJobDetailRequest
- type ShowJobDetailResponse
- type ShowProjectDetailRequest
- type ShowProjectDetailResponse
- type ShowRedirectUrlRequest
- type ShowRedirectUrlRequestRepoType
- type ShowRedirectUrlRequestRepoTypeEnum
- type ShowRedirectUrlResponse
- type SourceKind
- type SourceKindEnum
- type SourceObject
- type SourceOrArtifact
- type SourceOrArtifactStorage
- type SourceOrArtifactStorageEnum
- type SourceOrArtifactType
- type SourceOrArtifactTypeEnum
- type SourceRepoType
- type SourceRepoTypeEnum
- type TagCreate
- type TaskInfo
- type TaskInfoTaskStatus
- type TaskInfoTaskStatusEnum
- type Template
- type TemplateEnum
- type TemplateView
- type UpdateFileRequest
- type UpdateFileResponse
- type UpdateInstanceActionRequest
- type UpdateInstanceActionResponse
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 ¶
func (o ApplicationConfigModifyConfiguration) String() string
type ApplicationConfigModifyConfigurationEnv ¶
type ApplicationConfigModifyConfigurationEnv struct { Name string `json:"name"` Value string `json:"value"` }
func (ApplicationConfigModifyConfigurationEnv) String ¶
func (o ApplicationConfigModifyConfigurationEnv) String() 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 ¶
func (o ApplicationListConfigConfiguration) String() 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 ¶
func (o ApplicationListConfigConfiguration1) String() string
type ApplicationListConfigConfigurationEnv ¶
type ApplicationListConfigConfigurationEnv struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
func (ApplicationListConfigConfigurationEnv) String ¶
func (o ApplicationListConfigConfigurationEnv) String() 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"`
}
构建工程。
type BuildInfo ¶
type BuildInfo struct { Id *string `json:"id,omitempty"` Parameters *BuildInfoParameters `json:"parameters,omitempty"` }
构建工程。
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 ¶
func (o ChangeApplicationConfigurationRequest) String() 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 ¶
func (o ChangeApplicationConfigurationResponse) String() 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 ¶
func (o ChangeResourceInEnvironmentRequest) String() 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 ¶
func (o ChangeResourceInEnvironmentResponse) String() 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 ¶
func (o CreatePasswordAuthResponse) String() 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 CreatePersonalAuthRequestRepoTypeEnum ¶
type CreatePersonalAuthRequestRepoTypeEnum struct { GITHUB CreatePersonalAuthRequestRepoType GITLAB CreatePersonalAuthRequestRepoType GITEE CreatePersonalAuthRequestRepoType }
func GetCreatePersonalAuthRequestRepoTypeEnum ¶
func GetCreatePersonalAuthRequestRepoTypeEnum() CreatePersonalAuthRequestRepoTypeEnum
type CreatePersonalAuthResponse ¶
type CreatePersonalAuthResponse struct { Authorization *AuthorizationVo `json:"authorization,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePersonalAuthResponse) String ¶
func (o CreatePersonalAuthResponse) String() 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 ¶
func (o DeleteApplicationConfigurationRequest) String() string
type DeleteApplicationConfigurationResponse ¶
type DeleteApplicationConfigurationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteApplicationConfigurationResponse) String ¶
func (o DeleteApplicationConfigurationResponse) String() 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 ¶
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 (*FlavorId) UnmarshalJSON ¶
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 HookCreate ¶
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"` }
构建工程参数。
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 ¶
func (o ListAuthorizationsResponse) String() 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 ¶
func (o ListInstanceSnapshotsRequest) String() 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 ¶
func (o ListInstanceSnapshotsResponse) String() 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 ¶
func (NamespacesNamespaces) String ¶
func (o NamespacesNamespaces) String() string
type OAuth ¶
type Project ¶
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"` }
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 ¶
func (o ShowApplicationConfigurationRequest) String() string
type ShowApplicationConfigurationResponse ¶
type ShowApplicationConfigurationResponse struct { Configuration *[]ApplicationListConfigConfiguration1 `json:"configuration,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApplicationConfigurationResponse) String ¶
func (o ShowApplicationConfigurationResponse) String() string
type ShowApplicationDetailRequest ¶
type ShowApplicationDetailRequest struct {
ApplicationId string `json:"application_id"`
}
Request Object
func (ShowApplicationDetailRequest) String ¶
func (o ShowApplicationDetailRequest) String() 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 ¶
func (o ShowApplicationDetailResponse) String() string
type ShowComponentDetailRequest ¶
type ShowComponentDetailRequest struct { ApplicationId string `json:"application_id"` ComponentId string `json:"component_id"` }
Request Object
func (ShowComponentDetailRequest) String ¶
func (o ShowComponentDetailRequest) String() 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 ¶
func (o ShowComponentDetailResponse) String() 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 ¶
func (o ShowEnvironmentDetailRequest) String() 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 ¶
func (o ShowEnvironmentDetailResponse) String() 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 ¶
func (o ShowInstanceDetailResponse) String() 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 ShowRedirectUrlRequestRepoTypeEnum ¶
type ShowRedirectUrlRequestRepoTypeEnum struct { GITHUB ShowRedirectUrlRequestRepoType GITLAB ShowRedirectUrlRequestRepoType GITEE ShowRedirectUrlRequestRepoType BITBUCKET ShowRedirectUrlRequestRepoType }
func GetShowRedirectUrlRequestRepoTypeEnum ¶
func GetShowRedirectUrlRequestRepoTypeEnum() ShowRedirectUrlRequestRepoTypeEnum
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 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"` }
。
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 (*Template) UnmarshalJSON ¶
type TemplateEnum ¶
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 ¶
func (o UpdateInstanceActionRequest) String() string
type UpdateInstanceActionResponse ¶
type UpdateInstanceActionResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceActionResponse) String ¶
func (o UpdateInstanceActionResponse) String() string
Source Files ¶
- model_access_password.go
- model_access_token.go
- model_application_config_modify.go
- model_application_config_modify_configuration.go
- model_application_config_modify_configuration_env.go
- model_application_create.go
- model_application_list_config_configuration.go
- model_application_list_config_configuration_1.go
- model_application_list_config_configuration_env.go
- model_application_modify.go
- model_application_view.go
- model_authorization_vo.go
- model_build.go
- model_build_info.go
- model_build_info_parameters.go
- model_change_application_configuration_request.go
- model_change_application_configuration_response.go
- model_change_application_request.go
- model_change_application_response.go
- model_change_component_request.go
- model_change_component_response.go
- model_change_environment_request.go
- model_change_environment_response.go
- model_change_instance_request.go
- model_change_instance_response.go
- model_change_resource_in_environment_request.go
- model_change_resource_in_environment_response.go
- model_charge_mode.go
- model_commits_commits.go
- model_component_category.go
- model_component_create.go
- model_component_modify.go
- model_component_sub_category.go
- model_component_view.go
- model_create_application_request.go
- model_create_application_response.go
- model_create_component_request.go
- model_create_component_response.go
- model_create_environment_request.go
- model_create_environment_response.go
- model_create_file_request.go
- model_create_file_response.go
- model_create_hook_request.go
- model_create_hook_response.go
- model_create_instance_request.go
- model_create_instance_response.go
- model_create_o_auth_request.go
- model_create_o_auth_response.go
- model_create_password_auth_request.go
- model_create_password_auth_response.go
- model_create_personal_auth_request.go
- model_create_personal_auth_response.go
- model_create_project_request.go
- model_create_project_response.go
- model_create_tag_request.go
- model_create_tag_response.go
- model_delete_application_configuration_request.go
- model_delete_application_configuration_response.go
- model_delete_application_request.go
- model_delete_application_response.go
- model_delete_authorize_request.go
- model_delete_authorize_response.go
- model_delete_component_request.go
- model_delete_component_response.go
- model_delete_environment_request.go
- model_delete_environment_response.go
- model_delete_file_request.go
- model_delete_file_response.go
- model_delete_hook_request.go
- model_delete_hook_response.go
- model_delete_instance_request.go
- model_delete_instance_response.go
- model_delete_tag_request.go
- model_delete_tag_response.go
- model_environment.go
- model_environment_create.go
- model_environment_modify.go
- model_environment_resource_modify.go
- model_external_access_protocol.go
- model_external_access_status.go
- model_external_access_type.go
- model_external_accesses.go
- model_external_accesses_create.go
- model_file_create.go
- model_file_update.go
- model_flavor_id.go
- model_flavor_view.go
- model_hook.go
- model_hook_create.go
- model_instance_action.go
- model_instance_action_parameters.go
- model_instance_action_type.go
- model_instance_create.go
- model_instance_fail_detail.go
- model_instance_list_view.go
- model_instance_modify.go
- model_instance_platform_type.go
- model_instance_snapshot_view.go
- model_instance_status_type.go
- model_instance_status_view.go
- model_job_info.go
- model_list_applications_request.go
- model_list_applications_response.go
- model_list_authorizations_request.go
- model_list_authorizations_response.go
- model_list_branches_request.go
- model_list_branches_response.go
- model_list_commits_request.go
- model_list_commits_response.go
- model_list_components_request.go
- model_list_components_response.go
- model_list_environments_request.go
- model_list_environments_response.go
- model_list_flavors_request.go
- model_list_flavors_response.go
- model_list_hooks_request.go
- model_list_hooks_response.go
- model_list_instance_snapshots_request.go
- model_list_instance_snapshots_response.go
- model_list_instances_request.go
- model_list_instances_response.go
- model_list_namespaces_request.go
- model_list_namespaces_response.go
- model_list_projects_request.go
- model_list_projects_response.go
- model_list_runtimes_request.go
- model_list_runtimes_response.go
- model_list_tags_request.go
- model_list_tags_response.go
- model_list_templates_request.go
- model_list_templates_response.go
- model_list_trees_request.go
- model_list_trees_response.go
- model_namespaces_namespaces.go
- model_o_auth.go
- model_project.go
- model_project_create.go
- model_refer_resource_create.go
- model_refer_resources.go
- model_resource.go
- model_resource_refer_alias.go
- model_resource_type.go
- model_runtime_type.go
- model_runtime_type_view.go
- model_show_application_configuration_request.go
- model_show_application_configuration_response.go
- model_show_application_detail_request.go
- model_show_application_detail_response.go
- model_show_component_detail_request.go
- model_show_component_detail_response.go
- model_show_content_request.go
- model_show_content_response.go
- model_show_environment_detail_request.go
- model_show_environment_detail_response.go
- model_show_instance_detail_request.go
- model_show_instance_detail_response.go
- model_show_job_detail_request.go
- model_show_job_detail_response.go
- model_show_project_detail_request.go
- model_show_project_detail_response.go
- model_show_redirect_url_request.go
- model_show_redirect_url_response.go
- model_source_kind.go
- model_source_object.go
- model_source_or_artifact.go
- model_source_repo_type.go
- model_tag_create.go
- model_task_info.go
- model_template.go
- model_template_view.go
- model_update_file_request.go
- model_update_file_response.go
- model_update_instance_action_request.go
- model_update_instance_action_response.go