Documentation ¶
Index ¶
- type Access
- type AccessType
- type AccessTypeEnum
- type ActionOnComponentSpec
- type Agency
- type AgencyApiVersion
- type AgencyApiVersionEnum
- type AgencyItem
- type AgencyItemName
- type AgencyItemNameEnum
- type AgencyKind
- type AgencyKindEnum
- type AgencyMetadata
- type AgencyMetadataName
- type AgencyMetadataNameEnum
- type ApplicationItem
- type ApplicationMetadata
- type Archive
- type Build
- type ComponentItem
- type ComponentSnapshotItem
- type ComponentSpec
- type Configuration
- type ConfigurationItem
- type CreateAgencyRequest
- type CreateAgencyResponse
- type CreateApplicationRequest
- type CreateApplicationRequestBody
- type CreateApplicationRequestBodyApiVersion
- type CreateApplicationRequestBodyApiVersionEnum
- type CreateApplicationRequestBodyKind
- type CreateApplicationRequestBodyKindEnum
- type CreateApplicationRequestBodyMetadata
- type CreateApplicationResponse
- type CreateComponentConfigurationRequest
- type CreateComponentConfigurationRequestBody
- type CreateComponentConfigurationRequestBodyKind
- type CreateComponentConfigurationRequestBodyKindEnum
- type CreateComponentConfigurationResponse
- type CreateComponentRequest
- type CreateComponentRequestBody
- type CreateComponentRequestBodyApiVersion
- type CreateComponentRequestBodyApiVersionEnum
- type CreateComponentRequestBodyKind
- type CreateComponentRequestBodyKindEnum
- type CreateComponentRequestBodyMetadata
- type CreateComponentRequestBodySpec
- type CreateComponentRequestBodySpecRuntime
- type CreateComponentRequestBodySpecRuntimeEnum
- type CreateComponentResponse
- type CreateComponentResponseApiVersion
- type CreateComponentResponseApiVersionEnum
- type CreateComponentResponseKind
- type CreateComponentResponseKindEnum
- type CreateEnvironmentRequest
- type CreateEnvironmentRequestBody
- type CreateEnvironmentRequestBodyApiVersion
- type CreateEnvironmentRequestBodyApiVersionEnum
- type CreateEnvironmentRequestBodyKind
- type CreateEnvironmentRequestBodyKindEnum
- type CreateEnvironmentRequestBodyMetadata
- type CreateEnvironmentRequestBodyMetadataType
- type CreateEnvironmentRequestBodyMetadataTypeEnum
- type CreateEnvironmentResponse
- type CreateVolumeReq
- type CreateVolumeReqKind
- type CreateVolumeReqKindEnum
- type CreateVolumeRequest
- type CreateVolumeResponse
- type DeleteApplicationRequest
- type DeleteApplicationResponse
- type DeleteComponentConfigurationRequest
- type DeleteComponentConfigurationResponse
- type DeleteComponentRequest
- type DeleteComponentResponse
- type DeleteEnvironmentRequest
- type DeleteEnvironmentResponse
- type DeleteVolumeRequest
- type DeleteVolumeResponse
- type DeleteVolumeResponseApiVersion
- type DeleteVolumeResponseApiVersionEnum
- type EnvironmentItem
- type EnvironmentItemStatus
- type EnvironmentItemStatusEnum
- type EnvironmentItemType
- type EnvironmentItemTypeEnum
- type EnvironmentMetadata
- type EventItem
- type EventItemInvolvedObject
- type EventItemInvolvedObjectEnum
- type EventItemStatus
- type EventItemStatusEnum
- type ExecuteActionRequest
- type ExecuteActionRequestBody
- type ExecuteActionRequestBodyApiVersion
- type ExecuteActionRequestBodyApiVersionEnum
- type ExecuteActionRequestBodyKind
- type ExecuteActionRequestBodyKindEnum
- type ExecuteActionRequestBodyMetadata
- type ExecuteActionRequestBodyMetadataName
- type ExecuteActionRequestBodyMetadataNameEnum
- type ExecuteActionResponse
- type Instance
- type InstanceStatus
- type InstanceStatusEnum
- type JobSpec
- type ListApplicationsRequest
- type ListApplicationsResponse
- type ListComponentSnapshotsRequest
- type ListComponentSnapshotsResponse
- type ListComponentSnapshotsResponseApiVersion
- type ListComponentSnapshotsResponseApiVersionEnum
- type ListComponentSnapshotsResponseKind
- type ListComponentSnapshotsResponseKindEnum
- type ListComponentsRequest
- type ListComponentsResponse
- type ListConfigurationsRequest
- type ListConfigurationsResponse
- type ListConfigurationsResponseKind
- type ListConfigurationsResponseKindEnum
- type ListEnvironmentsRequest
- type ListEnvironmentsResponse
- type ListEventsRequest
- type ListEventsResponse
- type ListEventsResponseKind
- type ListEventsResponseKindEnum
- type ListInstancesRequest
- type ListInstancesResponse
- type ListInstancesResponseApiVersion
- type ListInstancesResponseApiVersionEnum
- type ListInstancesResponseKind
- type ListInstancesResponseKindEnum
- type ListVolumesRequest
- type ListVolumesRequestResourceType
- type ListVolumesRequestResourceTypeEnum
- type ListVolumesResponse
- type ListVolumesResponseKind
- type ListVolumesResponseKindEnum
- type LogStrategy
- type Metadata
- type MetadataResponse
- type MountComponent
- type Repo
- type ResourceLimit
- type ResourceLimitCpuLimit
- type ResourceLimitCpuLimitEnum
- type ResourceLimitForUpgrade
- type ResourceLimitForUpgradeCpuLimit
- type ResourceLimitForUpgradeCpuLimitEnum
- type ResourceLimitForUpgradeMemoryLimit
- type ResourceLimitForUpgradeMemoryLimitEnum
- type ResourceLimitMemoryLimit
- type ResourceLimitMemoryLimitEnum
- type RetryJobRequest
- type RetryJobResponse
- type ShowAgencyRequest
- type ShowAgencyResponse
- type ShowAgencyResponseApiVersion
- type ShowAgencyResponseApiVersionEnum
- type ShowAgencyResponseKind
- type ShowAgencyResponseKindEnum
- type ShowApplicationRequest
- type ShowApplicationResponse
- type ShowComponentRequest
- type ShowComponentResponse
- type ShowComponentResponseApiVersion
- type ShowComponentResponseApiVersionEnum
- type ShowComponentResponseKind
- type ShowComponentResponseKindEnum
- type ShowJobRequest
- type ShowJobResponse
- type ShowJobResponseKind
- type ShowJobResponseKindEnum
- type Source
- type SourceSubType
- type SourceSubTypeEnum
- type SourceType
- type SourceTypeEnum
- type Task
- type UpdateComponentRequest
- type UpdateComponentRequestBody
- type UpdateComponentRequestBodyApiVersion
- type UpdateComponentRequestBodyApiVersionEnum
- type UpdateComponentRequestBodyKind
- type UpdateComponentRequestBodyKindEnum
- type UpdateComponentRequestSpec
- type UpdateComponentResponse
- type Volume
- type VolumeResourceSubType
- type VolumeResourceSubTypeEnum
- type VolumeResourceType
- type VolumeResourceTypeEnum
- type VolumeSpec
- type VolumeSpecResourceSubType
- type VolumeSpecResourceSubTypeEnum
- type VolumeSpecResourceType
- type VolumeSpecResourceTypeEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Access ¶
type Access struct { // 地址。 Address *string `json:"address,omitempty"` // 类型。 Type *AccessType `json:"type,omitempty"` }
type AccessType ¶
type AccessType struct {
// contains filtered or unexported fields
}
func (AccessType) MarshalJSON ¶
func (c AccessType) MarshalJSON() ([]byte, error)
func (*AccessType) UnmarshalJSON ¶
func (c *AccessType) UnmarshalJSON(b []byte) error
func (AccessType) Value ¶
func (c AccessType) Value() string
type AccessTypeEnum ¶
type AccessTypeEnum struct { LOAD_BALANCER AccessType INGRESS AccessType }
func GetAccessTypeEnum ¶
func GetAccessTypeEnum() AccessTypeEnum
type ActionOnComponentSpec ¶
type ActionOnComponentSpec struct { // 快照序号。 SnapshotIndex *int32 `json:"snapshot_index,omitempty"` // 副本数目。 Replica *int32 `json:"replica,omitempty"` Source *Source `json:"source,omitempty"` ResourceLimit *ResourceLimitForUpgrade `json:"resource_limit,omitempty"` }
func (ActionOnComponentSpec) String ¶
func (o ActionOnComponentSpec) String() string
type Agency ¶
type Agency struct { // API版本。 ApiVersion AgencyApiVersion `json:"api_version"` // 资源类型。 Kind AgencyKind `json:"kind"` Metadata *AgencyMetadata `json:"metadata,omitempty"` }
type AgencyApiVersion ¶
type AgencyApiVersion struct {
// contains filtered or unexported fields
}
func (AgencyApiVersion) MarshalJSON ¶
func (c AgencyApiVersion) MarshalJSON() ([]byte, error)
func (*AgencyApiVersion) UnmarshalJSON ¶
func (c *AgencyApiVersion) UnmarshalJSON(b []byte) error
func (AgencyApiVersion) Value ¶
func (c AgencyApiVersion) Value() string
type AgencyApiVersionEnum ¶
type AgencyApiVersionEnum struct {
V1 AgencyApiVersion
}
func GetAgencyApiVersionEnum ¶
func GetAgencyApiVersionEnum() AgencyApiVersionEnum
type AgencyItem ¶
type AgencyItem struct { // 委托名称。 Name *AgencyItemName `json:"name,omitempty"` }
func (AgencyItem) String ¶
func (o AgencyItem) String() string
type AgencyItemName ¶
type AgencyItemName struct {
// contains filtered or unexported fields
}
func (AgencyItemName) MarshalJSON ¶
func (c AgencyItemName) MarshalJSON() ([]byte, error)
func (*AgencyItemName) UnmarshalJSON ¶
func (c *AgencyItemName) UnmarshalJSON(b []byte) error
func (AgencyItemName) Value ¶
func (c AgencyItemName) Value() string
type AgencyItemNameEnum ¶
type AgencyItemNameEnum struct {
CAE_TRUST AgencyItemName
}
func GetAgencyItemNameEnum ¶
func GetAgencyItemNameEnum() AgencyItemNameEnum
type AgencyKind ¶
type AgencyKind struct {
// contains filtered or unexported fields
}
func (AgencyKind) MarshalJSON ¶
func (c AgencyKind) MarshalJSON() ([]byte, error)
func (*AgencyKind) UnmarshalJSON ¶
func (c *AgencyKind) UnmarshalJSON(b []byte) error
func (AgencyKind) Value ¶
func (c AgencyKind) Value() string
type AgencyKindEnum ¶
type AgencyKindEnum struct {
AGENCY AgencyKind
}
func GetAgencyKindEnum ¶
func GetAgencyKindEnum() AgencyKindEnum
type AgencyMetadata ¶
type AgencyMetadata struct { // 委托名称。 Name AgencyMetadataName `json:"name"` }
请求数据。
func (AgencyMetadata) String ¶
func (o AgencyMetadata) String() string
type AgencyMetadataName ¶
type AgencyMetadataName struct {
// contains filtered or unexported fields
}
func (AgencyMetadataName) MarshalJSON ¶
func (c AgencyMetadataName) MarshalJSON() ([]byte, error)
func (*AgencyMetadataName) UnmarshalJSON ¶
func (c *AgencyMetadataName) UnmarshalJSON(b []byte) error
func (AgencyMetadataName) Value ¶
func (c AgencyMetadataName) Value() string
type AgencyMetadataNameEnum ¶
type AgencyMetadataNameEnum struct {
CAE_TRUST AgencyMetadataName
}
func GetAgencyMetadataNameEnum ¶
func GetAgencyMetadataNameEnum() AgencyMetadataNameEnum
type ApplicationItem ¶
type ApplicationItem struct { // ID。 Id *string `json:"id,omitempty"` // 名称。 Name *string `json:"name,omitempty"` }
应用信息。
func (ApplicationItem) String ¶
func (o ApplicationItem) String() string
type ApplicationMetadata ¶
type ApplicationMetadata struct { // 应用id。 Id *string `json:"id,omitempty"` // 应用名称。 Name *string `json:"name,omitempty"` // 附加应用信息。 Annotations map[string]string `json:"annotations,omitempty"` // 创建时间。 CreatedAt *string `json:"created_at,omitempty"` // 修改时间。 UpdatedAt *string `json:"updated_at,omitempty"` }
数据。
func (ApplicationMetadata) String ¶
func (o ApplicationMetadata) String() string
type Archive ¶
type Archive struct { // 镜像命名空间。 ArtifactNamespace *string `json:"artifact_namespace,omitempty"` }
type Build ¶
type ComponentItem ¶
type ComponentItem struct { // 组件id。 Id *string `json:"id,omitempty"` // 组件名称。 Name *string `json:"name,omitempty"` // 组件状态。 Status *string `json:"status,omitempty"` // 资源信息。 Annotations map[string]string `json:"annotations,omitempty"` Spec *ComponentSpec `json:"spec,omitempty"` }
func (ComponentItem) String ¶
func (o ComponentItem) String() string
type ComponentSnapshotItem ¶
type ComponentSnapshotItem struct { // 组件id。 ComponentId *string `json:"component_id,omitempty"` // 上下文信息。 Context *interface{} `json:"context,omitempty"` // 创建时间。 CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 描述。 Description *string `json:"description,omitempty"` // 快照索引。 Index *int32 `json:"index,omitempty"` // 修改时间。 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
func (ComponentSnapshotItem) String ¶
func (o ComponentSnapshotItem) String() string
type ComponentSpec ¶
type ComponentSpec struct { // 语言/运行时,例如:Java8、tomcat8。 Runtime *string `json:"runtime,omitempty"` // 环境id。 EnvId *string `json:"env_id,omitempty"` // 副本。 Replica *int32 `json:"replica,omitempty"` // 可用副本。 AvailableReplica *int32 `json:"available_replica,omitempty"` Source *Source `json:"source,omitempty"` Build *Build `json:"build,omitempty"` AccessInfo *[]Access `json:"access_info,omitempty"` // 构建id。 BuildId *string `json:"build_id,omitempty"` // 镜像地址。 ImageUrl *string `json:"image_url,omitempty"` // 任务id。 JobId *string `json:"job_id,omitempty"` // 日志策略。 LogStrategy *[]LogStrategy `json:"log_strategy,omitempty"` // 组件状态 Status *string `json:"status,omitempty"` }
func (ComponentSpec) String ¶
func (o ComponentSpec) String() string
type Configuration ¶
type Configuration struct { // 数据。 Data *interface{} `json:"data,omitempty"` // 操作时间。 OperatedAt *sdktime.SdkTime `json:"operated_at,omitempty"` // 操作id。 OperationId *string `json:"operation_id,omitempty"` // 配置类型。 Type *string `json:"type,omitempty"` // 配置是否生效。 IsActivated *bool `json:"is_activated,omitempty"` }
func (Configuration) String ¶
func (o Configuration) String() string
type ConfigurationItem ¶
type ConfigurationItem struct { // 配置类型。 Type string `json:"type"` // 配置数据 Data *interface{} `json:"data"` }
func (ConfigurationItem) String ¶
func (o ConfigurationItem) String() string
type CreateAgencyRequest ¶
type CreateAgencyRequest struct {
Body *Agency `json:"body,omitempty"`
}
Request Object
func (CreateAgencyRequest) String ¶
func (o CreateAgencyRequest) String() string
type CreateAgencyResponse ¶
type CreateAgencyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateAgencyResponse) String ¶
func (o CreateAgencyResponse) String() string
type CreateApplicationRequest ¶
type CreateApplicationRequest struct { // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` Body *CreateApplicationRequestBody `json:"body,omitempty"` }
Request Object
func (CreateApplicationRequest) String ¶
func (o CreateApplicationRequest) String() string
type CreateApplicationRequestBody ¶
type CreateApplicationRequestBody struct { // API版本。 ApiVersion CreateApplicationRequestBodyApiVersion `json:"api_version"` // 资源种类。 Kind CreateApplicationRequestBodyKind `json:"kind"` Metadata *CreateApplicationRequestBodyMetadata `json:"metadata"` }
func (CreateApplicationRequestBody) String ¶
func (o CreateApplicationRequestBody) String() string
type CreateApplicationRequestBodyApiVersion ¶
type CreateApplicationRequestBodyApiVersion struct {
// contains filtered or unexported fields
}
func (CreateApplicationRequestBodyApiVersion) MarshalJSON ¶
func (c CreateApplicationRequestBodyApiVersion) MarshalJSON() ([]byte, error)
func (*CreateApplicationRequestBodyApiVersion) UnmarshalJSON ¶
func (c *CreateApplicationRequestBodyApiVersion) UnmarshalJSON(b []byte) error
func (CreateApplicationRequestBodyApiVersion) Value ¶
func (c CreateApplicationRequestBodyApiVersion) Value() string
type CreateApplicationRequestBodyApiVersionEnum ¶
type CreateApplicationRequestBodyApiVersionEnum struct {
V1 CreateApplicationRequestBodyApiVersion
}
func GetCreateApplicationRequestBodyApiVersionEnum ¶
func GetCreateApplicationRequestBodyApiVersionEnum() CreateApplicationRequestBodyApiVersionEnum
type CreateApplicationRequestBodyKind ¶
type CreateApplicationRequestBodyKind struct {
// contains filtered or unexported fields
}
func (CreateApplicationRequestBodyKind) MarshalJSON ¶
func (c CreateApplicationRequestBodyKind) MarshalJSON() ([]byte, error)
func (*CreateApplicationRequestBodyKind) UnmarshalJSON ¶
func (c *CreateApplicationRequestBodyKind) UnmarshalJSON(b []byte) error
func (CreateApplicationRequestBodyKind) Value ¶
func (c CreateApplicationRequestBodyKind) Value() string
type CreateApplicationRequestBodyKindEnum ¶
type CreateApplicationRequestBodyKindEnum struct {
APPLICATION CreateApplicationRequestBodyKind
}
func GetCreateApplicationRequestBodyKindEnum ¶
func GetCreateApplicationRequestBodyKindEnum() CreateApplicationRequestBodyKindEnum
type CreateApplicationRequestBodyMetadata ¶
type CreateApplicationRequestBodyMetadata struct { // 名称。 Name string `json:"name"` // 应用信息。 Annotations map[string]string `json:"annotations,omitempty"` }
请求数据。
func (CreateApplicationRequestBodyMetadata) String ¶
func (o CreateApplicationRequestBodyMetadata) String() string
type CreateApplicationResponse ¶
type CreateApplicationResponse struct { // API版本。 ApiVersion *string `json:"api_version,omitempty"` // 资源种类。 Kind *string `json:"kind,omitempty"` Metadata *ApplicationMetadata `json:"metadata,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateApplicationResponse) String ¶
func (o CreateApplicationResponse) String() string
type CreateComponentConfigurationRequest ¶
type CreateComponentConfigurationRequest struct { // 组件id。 ComponentId string `json:"component_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` Body *CreateComponentConfigurationRequestBody `json:"body,omitempty"` }
Request Object
func (CreateComponentConfigurationRequest) String ¶
func (o CreateComponentConfigurationRequest) String() string
type CreateComponentConfigurationRequestBody ¶
type CreateComponentConfigurationRequestBody struct { // API版本。 ApiVersion string `json:"api_version"` // 资源种类。 Kind CreateComponentConfigurationRequestBodyKind `json:"kind"` // 配置项列表。 Items []ConfigurationItem `json:"items"` }
func (CreateComponentConfigurationRequestBody) String ¶
func (o CreateComponentConfigurationRequestBody) String() string
type CreateComponentConfigurationRequestBodyKind ¶
type CreateComponentConfigurationRequestBodyKind struct {
// contains filtered or unexported fields
}
func (CreateComponentConfigurationRequestBodyKind) MarshalJSON ¶
func (c CreateComponentConfigurationRequestBodyKind) MarshalJSON() ([]byte, error)
func (*CreateComponentConfigurationRequestBodyKind) UnmarshalJSON ¶
func (c *CreateComponentConfigurationRequestBodyKind) UnmarshalJSON(b []byte) error
func (CreateComponentConfigurationRequestBodyKind) Value ¶
func (c CreateComponentConfigurationRequestBodyKind) Value() string
type CreateComponentConfigurationRequestBodyKindEnum ¶
type CreateComponentConfigurationRequestBodyKindEnum struct {
CONFIGURATION CreateComponentConfigurationRequestBodyKind
}
func GetCreateComponentConfigurationRequestBodyKindEnum ¶
func GetCreateComponentConfigurationRequestBodyKindEnum() CreateComponentConfigurationRequestBodyKindEnum
type CreateComponentConfigurationResponse ¶
type CreateComponentConfigurationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateComponentConfigurationResponse) String ¶
func (o CreateComponentConfigurationResponse) String() string
type CreateComponentRequest ¶
type CreateComponentRequest struct { // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` Body *CreateComponentRequestBody `json:"body,omitempty"` }
Request Object
func (CreateComponentRequest) String ¶
func (o CreateComponentRequest) String() string
type CreateComponentRequestBody ¶
type CreateComponentRequestBody struct { // API版本。 ApiVersion CreateComponentRequestBodyApiVersion `json:"api_version"` // 资源种类。 Kind CreateComponentRequestBodyKind `json:"kind"` Metadata *CreateComponentRequestBodyMetadata `json:"metadata,omitempty"` Spec *CreateComponentRequestBodySpec `json:"spec,omitempty"` }
func (CreateComponentRequestBody) String ¶
func (o CreateComponentRequestBody) String() string
type CreateComponentRequestBodyApiVersion ¶
type CreateComponentRequestBodyApiVersion struct {
// contains filtered or unexported fields
}
func (CreateComponentRequestBodyApiVersion) MarshalJSON ¶
func (c CreateComponentRequestBodyApiVersion) MarshalJSON() ([]byte, error)
func (*CreateComponentRequestBodyApiVersion) UnmarshalJSON ¶
func (c *CreateComponentRequestBodyApiVersion) UnmarshalJSON(b []byte) error
func (CreateComponentRequestBodyApiVersion) Value ¶
func (c CreateComponentRequestBodyApiVersion) Value() string
type CreateComponentRequestBodyApiVersionEnum ¶
type CreateComponentRequestBodyApiVersionEnum struct {
V1 CreateComponentRequestBodyApiVersion
}
func GetCreateComponentRequestBodyApiVersionEnum ¶
func GetCreateComponentRequestBodyApiVersionEnum() CreateComponentRequestBodyApiVersionEnum
type CreateComponentRequestBodyKind ¶
type CreateComponentRequestBodyKind struct {
// contains filtered or unexported fields
}
func (CreateComponentRequestBodyKind) MarshalJSON ¶
func (c CreateComponentRequestBodyKind) MarshalJSON() ([]byte, error)
func (*CreateComponentRequestBodyKind) UnmarshalJSON ¶
func (c *CreateComponentRequestBodyKind) UnmarshalJSON(b []byte) error
func (CreateComponentRequestBodyKind) Value ¶
func (c CreateComponentRequestBodyKind) Value() string
type CreateComponentRequestBodyKindEnum ¶
type CreateComponentRequestBodyKindEnum struct {
COMPONENT CreateComponentRequestBodyKind
}
func GetCreateComponentRequestBodyKindEnum ¶
func GetCreateComponentRequestBodyKindEnum() CreateComponentRequestBodyKindEnum
type CreateComponentRequestBodyMetadata ¶
type CreateComponentRequestBodyMetadata struct { // 组件名称。 Name string `json:"name"` // 组件信息。 Annotations map[string]string `json:"annotations,omitempty"` }
请求数据。
func (CreateComponentRequestBodyMetadata) String ¶
func (o CreateComponentRequestBodyMetadata) String() string
type CreateComponentRequestBodySpec ¶
type CreateComponentRequestBodySpec struct { // 语言/运行时,例如:Java8、tomcat8。 Runtime CreateComponentRequestBodySpecRuntime `json:"runtime"` // 副本数目。 Replica int32 `json:"replica"` Build *Build `json:"build,omitempty"` Source *Source `json:"source"` ResourceLimit *ResourceLimit `json:"resource_limit"` // 镜像地址。 ImageUrl *string `json:"image_url,omitempty"` }
组件规格信息。
func (CreateComponentRequestBodySpec) String ¶
func (o CreateComponentRequestBodySpec) String() string
type CreateComponentRequestBodySpecRuntime ¶
type CreateComponentRequestBodySpecRuntime struct {
// contains filtered or unexported fields
}
func (CreateComponentRequestBodySpecRuntime) MarshalJSON ¶
func (c CreateComponentRequestBodySpecRuntime) MarshalJSON() ([]byte, error)
func (*CreateComponentRequestBodySpecRuntime) UnmarshalJSON ¶
func (c *CreateComponentRequestBodySpecRuntime) UnmarshalJSON(b []byte) error
func (CreateComponentRequestBodySpecRuntime) Value ¶
func (c CreateComponentRequestBodySpecRuntime) Value() string
type CreateComponentRequestBodySpecRuntimeEnum ¶
type CreateComponentRequestBodySpecRuntimeEnum struct { DOCKER CreateComponentRequestBodySpecRuntime JAVA8 CreateComponentRequestBodySpecRuntime JAVA11 CreateComponentRequestBodySpecRuntime TOMCAT8 CreateComponentRequestBodySpecRuntime TOMCAT9 CreateComponentRequestBodySpecRuntime PYTHON3 CreateComponentRequestBodySpecRuntime NODEJS8 CreateComponentRequestBodySpecRuntime PHP7 CreateComponentRequestBodySpecRuntime }
func GetCreateComponentRequestBodySpecRuntimeEnum ¶
func GetCreateComponentRequestBodySpecRuntimeEnum() CreateComponentRequestBodySpecRuntimeEnum
type CreateComponentResponse ¶
type CreateComponentResponse struct { // API版本。 ApiVersion *CreateComponentResponseApiVersion `json:"api_version,omitempty"` // 资源种类。 Kind *CreateComponentResponseKind `json:"kind,omitempty"` Metadata *MetadataResponse `json:"metadata,omitempty"` Spec *ComponentSpec `json:"spec,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateComponentResponse) String ¶
func (o CreateComponentResponse) String() string
type CreateComponentResponseApiVersion ¶
type CreateComponentResponseApiVersion struct {
// contains filtered or unexported fields
}
func (CreateComponentResponseApiVersion) MarshalJSON ¶
func (c CreateComponentResponseApiVersion) MarshalJSON() ([]byte, error)
func (*CreateComponentResponseApiVersion) UnmarshalJSON ¶
func (c *CreateComponentResponseApiVersion) UnmarshalJSON(b []byte) error
func (CreateComponentResponseApiVersion) Value ¶
func (c CreateComponentResponseApiVersion) Value() string
type CreateComponentResponseApiVersionEnum ¶
type CreateComponentResponseApiVersionEnum struct {
V1 CreateComponentResponseApiVersion
}
func GetCreateComponentResponseApiVersionEnum ¶
func GetCreateComponentResponseApiVersionEnum() CreateComponentResponseApiVersionEnum
type CreateComponentResponseKind ¶
type CreateComponentResponseKind struct {
// contains filtered or unexported fields
}
func (CreateComponentResponseKind) MarshalJSON ¶
func (c CreateComponentResponseKind) MarshalJSON() ([]byte, error)
func (*CreateComponentResponseKind) UnmarshalJSON ¶
func (c *CreateComponentResponseKind) UnmarshalJSON(b []byte) error
func (CreateComponentResponseKind) Value ¶
func (c CreateComponentResponseKind) Value() string
type CreateComponentResponseKindEnum ¶
type CreateComponentResponseKindEnum struct {
COMPONENT CreateComponentResponseKind
}
func GetCreateComponentResponseKindEnum ¶
func GetCreateComponentResponseKindEnum() CreateComponentResponseKindEnum
type CreateEnvironmentRequest ¶
type CreateEnvironmentRequest struct { // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` Body *CreateEnvironmentRequestBody `json:"body,omitempty"` }
Request Object
func (CreateEnvironmentRequest) String ¶
func (o CreateEnvironmentRequest) String() string
type CreateEnvironmentRequestBody ¶
type CreateEnvironmentRequestBody struct { // API版本。 ApiVersion CreateEnvironmentRequestBodyApiVersion `json:"api_version"` // 资源种类。 Kind CreateEnvironmentRequestBodyKind `json:"kind"` Metadata *CreateEnvironmentRequestBodyMetadata `json:"metadata"` }
func (CreateEnvironmentRequestBody) String ¶
func (o CreateEnvironmentRequestBody) String() string
type CreateEnvironmentRequestBodyApiVersion ¶
type CreateEnvironmentRequestBodyApiVersion struct {
// contains filtered or unexported fields
}
func (CreateEnvironmentRequestBodyApiVersion) MarshalJSON ¶
func (c CreateEnvironmentRequestBodyApiVersion) MarshalJSON() ([]byte, error)
func (*CreateEnvironmentRequestBodyApiVersion) UnmarshalJSON ¶
func (c *CreateEnvironmentRequestBodyApiVersion) UnmarshalJSON(b []byte) error
func (CreateEnvironmentRequestBodyApiVersion) Value ¶
func (c CreateEnvironmentRequestBodyApiVersion) Value() string
type CreateEnvironmentRequestBodyApiVersionEnum ¶
type CreateEnvironmentRequestBodyApiVersionEnum struct {
V1 CreateEnvironmentRequestBodyApiVersion
}
func GetCreateEnvironmentRequestBodyApiVersionEnum ¶
func GetCreateEnvironmentRequestBodyApiVersionEnum() CreateEnvironmentRequestBodyApiVersionEnum
type CreateEnvironmentRequestBodyKind ¶
type CreateEnvironmentRequestBodyKind struct {
// contains filtered or unexported fields
}
func (CreateEnvironmentRequestBodyKind) MarshalJSON ¶
func (c CreateEnvironmentRequestBodyKind) MarshalJSON() ([]byte, error)
func (*CreateEnvironmentRequestBodyKind) UnmarshalJSON ¶
func (c *CreateEnvironmentRequestBodyKind) UnmarshalJSON(b []byte) error
func (CreateEnvironmentRequestBodyKind) Value ¶
func (c CreateEnvironmentRequestBodyKind) Value() string
type CreateEnvironmentRequestBodyKindEnum ¶
type CreateEnvironmentRequestBodyKindEnum struct {
ENVIRONMENT CreateEnvironmentRequestBodyKind
}
func GetCreateEnvironmentRequestBodyKindEnum ¶
func GetCreateEnvironmentRequestBodyKindEnum() CreateEnvironmentRequestBodyKindEnum
type CreateEnvironmentRequestBodyMetadata ¶
type CreateEnvironmentRequestBodyMetadata struct { // 资源信息。 Annotations map[string]string `json:"annotations,omitempty"` // 环境名称。 Name string `json:"name"` // 环境类型。 Type CreateEnvironmentRequestBodyMetadataType `json:"type"` }
请求数据。
func (CreateEnvironmentRequestBodyMetadata) String ¶
func (o CreateEnvironmentRequestBodyMetadata) String() string
type CreateEnvironmentRequestBodyMetadataType ¶
type CreateEnvironmentRequestBodyMetadataType struct {
// contains filtered or unexported fields
}
func (CreateEnvironmentRequestBodyMetadataType) MarshalJSON ¶
func (c CreateEnvironmentRequestBodyMetadataType) MarshalJSON() ([]byte, error)
func (*CreateEnvironmentRequestBodyMetadataType) UnmarshalJSON ¶
func (c *CreateEnvironmentRequestBodyMetadataType) UnmarshalJSON(b []byte) error
func (CreateEnvironmentRequestBodyMetadataType) Value ¶
func (c CreateEnvironmentRequestBodyMetadataType) Value() string
type CreateEnvironmentRequestBodyMetadataTypeEnum ¶
type CreateEnvironmentRequestBodyMetadataTypeEnum struct {
EXCLUSIVE CreateEnvironmentRequestBodyMetadataType
}
func GetCreateEnvironmentRequestBodyMetadataTypeEnum ¶
func GetCreateEnvironmentRequestBodyMetadataTypeEnum() CreateEnvironmentRequestBodyMetadataTypeEnum
type CreateEnvironmentResponse ¶
type CreateEnvironmentResponse struct { // API版本。 ApiVersion *string `json:"api_version,omitempty"` // 资源种类 Kind *string `json:"kind,omitempty"` Metadata *EnvironmentMetadata `json:"metadata,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateEnvironmentResponse) String ¶
func (o CreateEnvironmentResponse) String() string
type CreateVolumeReq ¶
type CreateVolumeReq struct { // API版本。 ApiVersion string `json:"api_version"` // 资源种类。 Kind CreateVolumeReqKind `json:"kind"` Spec *VolumeSpec `json:"spec"` }
func (CreateVolumeReq) String ¶
func (o CreateVolumeReq) String() string
type CreateVolumeReqKind ¶
type CreateVolumeReqKind struct {
// contains filtered or unexported fields
}
func (CreateVolumeReqKind) MarshalJSON ¶
func (c CreateVolumeReqKind) MarshalJSON() ([]byte, error)
func (*CreateVolumeReqKind) UnmarshalJSON ¶
func (c *CreateVolumeReqKind) UnmarshalJSON(b []byte) error
func (CreateVolumeReqKind) Value ¶
func (c CreateVolumeReqKind) Value() string
type CreateVolumeReqKindEnum ¶
type CreateVolumeReqKindEnum struct {
VOLUME CreateVolumeReqKind
}
func GetCreateVolumeReqKindEnum ¶
func GetCreateVolumeReqKindEnum() CreateVolumeReqKindEnum
type CreateVolumeRequest ¶
type CreateVolumeRequest struct { // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` Body *CreateVolumeReq `json:"body,omitempty"` }
Request Object
func (CreateVolumeRequest) String ¶
func (o CreateVolumeRequest) String() string
type CreateVolumeResponse ¶
type CreateVolumeResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateVolumeResponse) String ¶
func (o CreateVolumeResponse) String() string
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct { // 应用id。 ApplicationId string `json:"application_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` }
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 DeleteComponentConfigurationRequest ¶
type DeleteComponentConfigurationRequest struct { // 组件id。 ComponentId string `json:"component_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` }
Request Object
func (DeleteComponentConfigurationRequest) String ¶
func (o DeleteComponentConfigurationRequest) String() string
type DeleteComponentConfigurationResponse ¶
type DeleteComponentConfigurationResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteComponentConfigurationResponse) String ¶
func (o DeleteComponentConfigurationResponse) String() string
type DeleteComponentRequest ¶
type DeleteComponentRequest struct { // 组件id。 ComponentId string `json:"component_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` }
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 { // 环境id。 EnvironmentId string `json:"environment_id"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` }
Request Object
func (DeleteEnvironmentRequest) String ¶
func (o DeleteEnvironmentRequest) String() string
type DeleteEnvironmentResponse ¶
type DeleteEnvironmentResponse struct { // 任务id。 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteEnvironmentResponse) String ¶
func (o DeleteEnvironmentResponse) String() string
type DeleteVolumeRequest ¶
type DeleteVolumeRequest struct { // 卷id。 Id string `json:"id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` }
Request Object
func (DeleteVolumeRequest) String ¶
func (o DeleteVolumeRequest) String() string
type DeleteVolumeResponse ¶
type DeleteVolumeResponse struct { // API版本。 ApiVersion *DeleteVolumeResponseApiVersion `json:"api_version,omitempty"` // 资源种类。 Kind *string `json:"kind,omitempty"` // 挂载组件列表 Items *[]MountComponent `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteVolumeResponse) String ¶
func (o DeleteVolumeResponse) String() string
type DeleteVolumeResponseApiVersion ¶
type DeleteVolumeResponseApiVersion struct {
// contains filtered or unexported fields
}
func (DeleteVolumeResponseApiVersion) MarshalJSON ¶
func (c DeleteVolumeResponseApiVersion) MarshalJSON() ([]byte, error)
func (*DeleteVolumeResponseApiVersion) UnmarshalJSON ¶
func (c *DeleteVolumeResponseApiVersion) UnmarshalJSON(b []byte) error
func (DeleteVolumeResponseApiVersion) Value ¶
func (c DeleteVolumeResponseApiVersion) Value() string
type DeleteVolumeResponseApiVersionEnum ¶
type DeleteVolumeResponseApiVersionEnum struct {
COMPONENT DeleteVolumeResponseApiVersion
}
func GetDeleteVolumeResponseApiVersionEnum ¶
func GetDeleteVolumeResponseApiVersionEnum() DeleteVolumeResponseApiVersionEnum
type EnvironmentItem ¶
type EnvironmentItem struct { // 环境id。 Id *string `json:"id,omitempty"` // 环境名称。 Name *string `json:"name,omitempty"` // 任务id。 JobId *string `json:"job_id,omitempty"` // 环境状态。 Status *EnvironmentItemStatus `json:"status,omitempty"` // 环境类型。 Type *EnvironmentItemType `json:"type,omitempty"` // 环境信息。 Annotations map[string]string `json:"annotations,omitempty"` // 创建时间。 CreatedAt *string `json:"created_at,omitempty"` // 修改时间。 UpdatedAt *string `json:"updated_at,omitempty"` }
func (EnvironmentItem) String ¶
func (o EnvironmentItem) String() string
type EnvironmentItemStatus ¶
type EnvironmentItemStatus struct {
// contains filtered or unexported fields
}
func (EnvironmentItemStatus) MarshalJSON ¶
func (c EnvironmentItemStatus) MarshalJSON() ([]byte, error)
func (*EnvironmentItemStatus) UnmarshalJSON ¶
func (c *EnvironmentItemStatus) UnmarshalJSON(b []byte) error
func (EnvironmentItemStatus) Value ¶
func (c EnvironmentItemStatus) Value() string
type EnvironmentItemStatusEnum ¶
type EnvironmentItemStatusEnum struct { CREATING EnvironmentItemStatus FINISH EnvironmentItemStatus DELETING EnvironmentItemStatus ERROR EnvironmentItemStatus FREEZE EnvironmentItemStatus POLICE_FREEZE EnvironmentItemStatus DELETE_FAILED EnvironmentItemStatus }
func GetEnvironmentItemStatusEnum ¶
func GetEnvironmentItemStatusEnum() EnvironmentItemStatusEnum
type EnvironmentItemType ¶
type EnvironmentItemType struct {
// contains filtered or unexported fields
}
func (EnvironmentItemType) MarshalJSON ¶
func (c EnvironmentItemType) MarshalJSON() ([]byte, error)
func (*EnvironmentItemType) UnmarshalJSON ¶
func (c *EnvironmentItemType) UnmarshalJSON(b []byte) error
func (EnvironmentItemType) Value ¶
func (c EnvironmentItemType) Value() string
type EnvironmentItemTypeEnum ¶
type EnvironmentItemTypeEnum struct {
EXCLUSIVE EnvironmentItemType
}
func GetEnvironmentItemTypeEnum ¶
func GetEnvironmentItemTypeEnum() EnvironmentItemTypeEnum
type EnvironmentMetadata ¶
type EnvironmentMetadata struct { // 附加信息。 Annotations *interface{} `json:"annotations,omitempty"` // 环境id。 Id *string `json:"id,omitempty"` // 环境名称。 Name *string `json:"name,omitempty"` // 环境状态。 Status *string `json:"status,omitempty"` // 环境类型。 Type *string `json:"type,omitempty"` // 任务id。 JobId *string `json:"job_id,omitempty"` // 创建时间。 CreatedAt *string `json:"created_at,omitempty"` // 更新时间。 UpdatedAt *string `json:"updated_at,omitempty"` }
func (EnvironmentMetadata) String ¶
func (o EnvironmentMetadata) String() string
type EventItem ¶
type EventItem struct { // 事件名。 Name *string `json:"name,omitempty"` // 涉及对象。 InvolvedObject *EventItemInvolvedObject `json:"involved_object,omitempty"` // 组件事件信息。 Message *string `json:"message,omitempty"` // 创建时间。 CreatedAt *string `json:"created_at,omitempty"` // 修改时间。 UpdatedAt *string `json:"updated_at,omitempty"` // 组件事件状态。 Status *EventItemStatus `json:"status,omitempty"` // 事件发生次数。 Count *int32 `json:"count,omitempty"` }
type EventItemInvolvedObject ¶
type EventItemInvolvedObject struct {
// contains filtered or unexported fields
}
func (EventItemInvolvedObject) MarshalJSON ¶
func (c EventItemInvolvedObject) MarshalJSON() ([]byte, error)
func (*EventItemInvolvedObject) UnmarshalJSON ¶
func (c *EventItemInvolvedObject) UnmarshalJSON(b []byte) error
func (EventItemInvolvedObject) Value ¶
func (c EventItemInvolvedObject) Value() string
type EventItemInvolvedObjectEnum ¶
type EventItemInvolvedObjectEnum struct { COMPONENT EventItemInvolvedObject COMPONENT_INSTANCE EventItemInvolvedObject COMPONENT_SCALING EventItemInvolvedObject }
func GetEventItemInvolvedObjectEnum ¶
func GetEventItemInvolvedObjectEnum() EventItemInvolvedObjectEnum
type EventItemStatus ¶
type EventItemStatus struct {
// contains filtered or unexported fields
}
func (EventItemStatus) MarshalJSON ¶
func (c EventItemStatus) MarshalJSON() ([]byte, error)
func (*EventItemStatus) UnmarshalJSON ¶
func (c *EventItemStatus) UnmarshalJSON(b []byte) error
func (EventItemStatus) Value ¶
func (c EventItemStatus) Value() string
type EventItemStatusEnum ¶
type EventItemStatusEnum struct { WARNING EventItemStatus NORMAL EventItemStatus }
func GetEventItemStatusEnum ¶
func GetEventItemStatusEnum() EventItemStatusEnum
type ExecuteActionRequest ¶
type ExecuteActionRequest struct { // 组件id。 ComponentId string `json:"component_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` Body *ExecuteActionRequestBody `json:"body,omitempty"` }
Request Object
func (ExecuteActionRequest) String ¶
func (o ExecuteActionRequest) String() string
type ExecuteActionRequestBody ¶
type ExecuteActionRequestBody struct { // API版本。 ApiVersion ExecuteActionRequestBodyApiVersion `json:"api_version"` // 资源种类。 Kind ExecuteActionRequestBodyKind `json:"kind"` Metadata *ExecuteActionRequestBodyMetadata `json:"metadata,omitempty"` Spec *ActionOnComponentSpec `json:"spec,omitempty"` }
func (ExecuteActionRequestBody) String ¶
func (o ExecuteActionRequestBody) String() string
type ExecuteActionRequestBodyApiVersion ¶
type ExecuteActionRequestBodyApiVersion struct {
// contains filtered or unexported fields
}
func (ExecuteActionRequestBodyApiVersion) MarshalJSON ¶
func (c ExecuteActionRequestBodyApiVersion) MarshalJSON() ([]byte, error)
func (*ExecuteActionRequestBodyApiVersion) UnmarshalJSON ¶
func (c *ExecuteActionRequestBodyApiVersion) UnmarshalJSON(b []byte) error
func (ExecuteActionRequestBodyApiVersion) Value ¶
func (c ExecuteActionRequestBodyApiVersion) Value() string
type ExecuteActionRequestBodyApiVersionEnum ¶
type ExecuteActionRequestBodyApiVersionEnum struct {
V1 ExecuteActionRequestBodyApiVersion
}
func GetExecuteActionRequestBodyApiVersionEnum ¶
func GetExecuteActionRequestBodyApiVersionEnum() ExecuteActionRequestBodyApiVersionEnum
type ExecuteActionRequestBodyKind ¶
type ExecuteActionRequestBodyKind struct {
// contains filtered or unexported fields
}
func (ExecuteActionRequestBodyKind) MarshalJSON ¶
func (c ExecuteActionRequestBodyKind) MarshalJSON() ([]byte, error)
func (*ExecuteActionRequestBodyKind) UnmarshalJSON ¶
func (c *ExecuteActionRequestBodyKind) UnmarshalJSON(b []byte) error
func (ExecuteActionRequestBodyKind) Value ¶
func (c ExecuteActionRequestBodyKind) Value() string
type ExecuteActionRequestBodyKindEnum ¶
type ExecuteActionRequestBodyKindEnum struct {
ACTION ExecuteActionRequestBodyKind
}
func GetExecuteActionRequestBodyKindEnum ¶
func GetExecuteActionRequestBodyKindEnum() ExecuteActionRequestBodyKindEnum
type ExecuteActionRequestBodyMetadata ¶
type ExecuteActionRequestBodyMetadata struct { // 资源信息。 Annotations map[string]string `json:"annotations,omitempty"` // action名称。 Name ExecuteActionRequestBodyMetadataName `json:"name"` }
请求数据。
func (ExecuteActionRequestBodyMetadata) String ¶
func (o ExecuteActionRequestBodyMetadata) String() string
type ExecuteActionRequestBodyMetadataName ¶
type ExecuteActionRequestBodyMetadataName struct {
// contains filtered or unexported fields
}
func (ExecuteActionRequestBodyMetadataName) MarshalJSON ¶
func (c ExecuteActionRequestBodyMetadataName) MarshalJSON() ([]byte, error)
func (*ExecuteActionRequestBodyMetadataName) UnmarshalJSON ¶
func (c *ExecuteActionRequestBodyMetadataName) UnmarshalJSON(b []byte) error
func (ExecuteActionRequestBodyMetadataName) Value ¶
func (c ExecuteActionRequestBodyMetadataName) Value() string
type ExecuteActionRequestBodyMetadataNameEnum ¶
type ExecuteActionRequestBodyMetadataNameEnum struct { DEPLOY ExecuteActionRequestBodyMetadataName UPGRADE ExecuteActionRequestBodyMetadataName CONFIGURE ExecuteActionRequestBodyMetadataName SCALE ExecuteActionRequestBodyMetadataName RESTART ExecuteActionRequestBodyMetadataName START ExecuteActionRequestBodyMetadataName STOP ExecuteActionRequestBodyMetadataName ROLLBACK ExecuteActionRequestBodyMetadataName }
func GetExecuteActionRequestBodyMetadataNameEnum ¶
func GetExecuteActionRequestBodyMetadataNameEnum() ExecuteActionRequestBodyMetadataNameEnum
type ExecuteActionResponse ¶
type ExecuteActionResponse struct { // 任务id。 JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ExecuteActionResponse) String ¶
func (o ExecuteActionResponse) String() string
type Instance ¶
type Instance struct { // id Id *string `json:"id,omitempty"` // 实例名称。 Name *string `json:"name,omitempty"` // 实例状态。 Status *InstanceStatus `json:"status,omitempty"` }
type InstanceStatus ¶
type InstanceStatus struct {
// contains filtered or unexported fields
}
func (InstanceStatus) MarshalJSON ¶
func (c InstanceStatus) MarshalJSON() ([]byte, error)
func (*InstanceStatus) UnmarshalJSON ¶
func (c *InstanceStatus) UnmarshalJSON(b []byte) error
func (InstanceStatus) Value ¶
func (c InstanceStatus) Value() string
type InstanceStatusEnum ¶
type InstanceStatusEnum struct { CREATING InstanceStatus RUNNING InstanceStatus ABNORMAL InstanceStatus FAILED InstanceStatus TERMINATING InstanceStatus }
func GetInstanceStatusEnum ¶
func GetInstanceStatusEnum() InstanceStatusEnum
type JobSpec ¶
type ListApplicationsRequest ¶
type ListApplicationsRequest struct { // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` }
Request Object
func (ListApplicationsRequest) String ¶
func (o ListApplicationsRequest) String() string
type ListApplicationsResponse ¶
type ListApplicationsResponse struct { // API版本。 ApiVersion *string `json:"api_version,omitempty"` // 资源种类。 Kind *string `json:"kind,omitempty"` // 应用列表。 Items *[]ApplicationItem `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApplicationsResponse) String ¶
func (o ListApplicationsResponse) String() string
type ListComponentSnapshotsRequest ¶
type ListComponentSnapshotsRequest struct { // 组件id。 ComponentId string `json:"component_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` }
Request Object
func (ListComponentSnapshotsRequest) String ¶
func (o ListComponentSnapshotsRequest) String() string
type ListComponentSnapshotsResponse ¶
type ListComponentSnapshotsResponse struct { // API版本。 ApiVersion *ListComponentSnapshotsResponseApiVersion `json:"api_version,omitempty"` // 资源种类。 Kind *ListComponentSnapshotsResponseKind `json:"kind,omitempty"` // 快照列表。 Items *[]ComponentSnapshotItem `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListComponentSnapshotsResponse) String ¶
func (o ListComponentSnapshotsResponse) String() string
type ListComponentSnapshotsResponseApiVersion ¶
type ListComponentSnapshotsResponseApiVersion struct {
// contains filtered or unexported fields
}
func (ListComponentSnapshotsResponseApiVersion) MarshalJSON ¶
func (c ListComponentSnapshotsResponseApiVersion) MarshalJSON() ([]byte, error)
func (*ListComponentSnapshotsResponseApiVersion) UnmarshalJSON ¶
func (c *ListComponentSnapshotsResponseApiVersion) UnmarshalJSON(b []byte) error
func (ListComponentSnapshotsResponseApiVersion) Value ¶
func (c ListComponentSnapshotsResponseApiVersion) Value() string
type ListComponentSnapshotsResponseApiVersionEnum ¶
type ListComponentSnapshotsResponseApiVersionEnum struct {
V1 ListComponentSnapshotsResponseApiVersion
}
func GetListComponentSnapshotsResponseApiVersionEnum ¶
func GetListComponentSnapshotsResponseApiVersionEnum() ListComponentSnapshotsResponseApiVersionEnum
type ListComponentSnapshotsResponseKind ¶
type ListComponentSnapshotsResponseKind struct {
// contains filtered or unexported fields
}
func (ListComponentSnapshotsResponseKind) MarshalJSON ¶
func (c ListComponentSnapshotsResponseKind) MarshalJSON() ([]byte, error)
func (*ListComponentSnapshotsResponseKind) UnmarshalJSON ¶
func (c *ListComponentSnapshotsResponseKind) UnmarshalJSON(b []byte) error
func (ListComponentSnapshotsResponseKind) Value ¶
func (c ListComponentSnapshotsResponseKind) Value() string
type ListComponentSnapshotsResponseKindEnum ¶
type ListComponentSnapshotsResponseKindEnum struct {
COMPONENT_SNAPSHOT ListComponentSnapshotsResponseKind
}
func GetListComponentSnapshotsResponseKindEnum ¶
func GetListComponentSnapshotsResponseKindEnum() ListComponentSnapshotsResponseKindEnum
type ListComponentsRequest ¶
type ListComponentsRequest struct { // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 限制本次返回结果的条数。 Limit *string `json:"limit,omitempty"` // 分页偏移位,查询起始位置。 Offset *string `json:"offset,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` }
Request Object
func (ListComponentsRequest) String ¶
func (o ListComponentsRequest) String() string
type ListComponentsResponse ¶
type ListComponentsResponse struct { // API版本。 ApiVersion *string `json:"api_version,omitempty"` // 资源种类。 Kind *string `json:"kind,omitempty"` // 组件列表。 Items *[]ComponentItem `json:"items,omitempty"` // 分页总数。 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListComponentsResponse) String ¶
func (o ListComponentsResponse) String() string
type ListConfigurationsRequest ¶
type ListConfigurationsRequest struct { // 组件id。 ComponentId string `json:"component_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` }
Request Object
func (ListConfigurationsRequest) String ¶
func (o ListConfigurationsRequest) String() string
type ListConfigurationsResponse ¶
type ListConfigurationsResponse struct { // API版本。 ApiVersion *string `json:"api_version,omitempty"` // 资源种类。 Kind *ListConfigurationsResponseKind `json:"kind,omitempty"` // 组件配置列表。 Items *[]Configuration `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListConfigurationsResponse) String ¶
func (o ListConfigurationsResponse) String() string
type ListConfigurationsResponseKind ¶
type ListConfigurationsResponseKind struct {
// contains filtered or unexported fields
}
func (ListConfigurationsResponseKind) MarshalJSON ¶
func (c ListConfigurationsResponseKind) MarshalJSON() ([]byte, error)
func (*ListConfigurationsResponseKind) UnmarshalJSON ¶
func (c *ListConfigurationsResponseKind) UnmarshalJSON(b []byte) error
func (ListConfigurationsResponseKind) Value ¶
func (c ListConfigurationsResponseKind) Value() string
type ListConfigurationsResponseKindEnum ¶
type ListConfigurationsResponseKindEnum struct {
CONFIGURATION ListConfigurationsResponseKind
}
func GetListConfigurationsResponseKindEnum ¶
func GetListConfigurationsResponseKindEnum() ListConfigurationsResponseKindEnum
type ListEnvironmentsRequest ¶
type ListEnvironmentsRequest struct { // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` }
Request Object
func (ListEnvironmentsRequest) String ¶
func (o ListEnvironmentsRequest) String() string
type ListEnvironmentsResponse ¶
type ListEnvironmentsResponse struct { // API版本。 ApiVersion *string `json:"api_version,omitempty"` // 资源种类。 Kind *string `json:"Kind,omitempty"` // 环境信息列表。 Items *[]EnvironmentItem `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEnvironmentsResponse) String ¶
func (o ListEnvironmentsResponse) String() string
type ListEventsRequest ¶
type ListEventsRequest struct { // 组件id。 ComponentId string `json:"component_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` }
Request Object
func (ListEventsRequest) String ¶
func (o ListEventsRequest) String() string
type ListEventsResponse ¶
type ListEventsResponse struct { // API版本。 ApiVersion *string `json:"api_version,omitempty"` // 资源种类。 Kind *ListEventsResponseKind `json:"kind,omitempty"` // 事件项。 Items *[]EventItem `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEventsResponse) String ¶
func (o ListEventsResponse) String() string
type ListEventsResponseKind ¶
type ListEventsResponseKind struct {
// contains filtered or unexported fields
}
func (ListEventsResponseKind) MarshalJSON ¶
func (c ListEventsResponseKind) MarshalJSON() ([]byte, error)
func (*ListEventsResponseKind) UnmarshalJSON ¶
func (c *ListEventsResponseKind) UnmarshalJSON(b []byte) error
func (ListEventsResponseKind) Value ¶
func (c ListEventsResponseKind) Value() string
type ListEventsResponseKindEnum ¶
type ListEventsResponseKindEnum struct {
COMPONENT_EVENT ListEventsResponseKind
}
func GetListEventsResponseKindEnum ¶
func GetListEventsResponseKindEnum() ListEventsResponseKindEnum
type ListInstancesRequest ¶
type ListInstancesRequest struct { // 组件id。 ComponentId string `json:"component_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` }
Request Object
func (ListInstancesRequest) String ¶
func (o ListInstancesRequest) String() string
type ListInstancesResponse ¶
type ListInstancesResponse struct { // API版本。 ApiVersion *ListInstancesResponseApiVersion `json:"api_version,omitempty"` // 资源种类。 Kind *ListInstancesResponseKind `json:"kind,omitempty"` // 组件实例列表。 Items *[]Instance `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstancesResponse) String ¶
func (o ListInstancesResponse) String() string
type ListInstancesResponseApiVersion ¶
type ListInstancesResponseApiVersion struct {
// contains filtered or unexported fields
}
func (ListInstancesResponseApiVersion) MarshalJSON ¶
func (c ListInstancesResponseApiVersion) MarshalJSON() ([]byte, error)
func (*ListInstancesResponseApiVersion) UnmarshalJSON ¶
func (c *ListInstancesResponseApiVersion) UnmarshalJSON(b []byte) error
func (ListInstancesResponseApiVersion) Value ¶
func (c ListInstancesResponseApiVersion) Value() string
type ListInstancesResponseApiVersionEnum ¶
type ListInstancesResponseApiVersionEnum struct {
V1 ListInstancesResponseApiVersion
}
func GetListInstancesResponseApiVersionEnum ¶
func GetListInstancesResponseApiVersionEnum() ListInstancesResponseApiVersionEnum
type ListInstancesResponseKind ¶
type ListInstancesResponseKind struct {
// contains filtered or unexported fields
}
func (ListInstancesResponseKind) MarshalJSON ¶
func (c ListInstancesResponseKind) MarshalJSON() ([]byte, error)
func (*ListInstancesResponseKind) UnmarshalJSON ¶
func (c *ListInstancesResponseKind) UnmarshalJSON(b []byte) error
func (ListInstancesResponseKind) Value ¶
func (c ListInstancesResponseKind) Value() string
type ListInstancesResponseKindEnum ¶
type ListInstancesResponseKindEnum struct {
COMPONENT_INSTANCE ListInstancesResponseKind
}
func GetListInstancesResponseKindEnum ¶
func GetListInstancesResponseKindEnum() ListInstancesResponseKindEnum
type ListVolumesRequest ¶
type ListVolumesRequest struct { // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 资源类型。 ResourceType ListVolumesRequestResourceType `json:"resource_type"` }
Request Object
func (ListVolumesRequest) String ¶
func (o ListVolumesRequest) String() string
type ListVolumesRequestResourceType ¶
type ListVolumesRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListVolumesRequestResourceType) MarshalJSON ¶
func (c ListVolumesRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListVolumesRequestResourceType) UnmarshalJSON ¶
func (c *ListVolumesRequestResourceType) UnmarshalJSON(b []byte) error
func (ListVolumesRequestResourceType) Value ¶
func (c ListVolumesRequestResourceType) Value() string
type ListVolumesRequestResourceTypeEnum ¶
type ListVolumesRequestResourceTypeEnum struct {
OBS ListVolumesRequestResourceType
}
func GetListVolumesRequestResourceTypeEnum ¶
func GetListVolumesRequestResourceTypeEnum() ListVolumesRequestResourceTypeEnum
type ListVolumesResponse ¶
type ListVolumesResponse struct { // API版本。 ApiVersion *string `json:"api_version,omitempty"` // 资源种类。 Kind *ListVolumesResponseKind `json:"kind,omitempty"` // 数据卷列表。 Items *[]Volume `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListVolumesResponse) String ¶
func (o ListVolumesResponse) String() string
type ListVolumesResponseKind ¶
type ListVolumesResponseKind struct {
// contains filtered or unexported fields
}
func (ListVolumesResponseKind) MarshalJSON ¶
func (c ListVolumesResponseKind) MarshalJSON() ([]byte, error)
func (*ListVolumesResponseKind) UnmarshalJSON ¶
func (c *ListVolumesResponseKind) UnmarshalJSON(b []byte) error
func (ListVolumesResponseKind) Value ¶
func (c ListVolumesResponseKind) Value() string
type ListVolumesResponseKindEnum ¶
type ListVolumesResponseKindEnum struct {
VOLUME ListVolumesResponseKind
}
func GetListVolumesResponseKindEnum ¶
func GetListVolumesResponseKindEnum() ListVolumesResponseKindEnum
type LogStrategy ¶
type LogStrategy struct { // 收集路径。 CollectPath *string `json:"collect_path,omitempty"` // 挂载路径。 MountPath *string `json:"mount_path,omitempty"` }
日志策略。
func (LogStrategy) String ¶
func (o LogStrategy) String() string
type Metadata ¶
type Metadata struct { // 属性信息。 Annotations map[string]string `json:"annotations,omitempty"` // 创建时间。 CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 组件id。 Id *string `json:"id,omitempty"` // 任务id。 JodId *string `json:"jod_id,omitempty"` // 名称。 Name string `json:"name"` // 状态。 Status *string `json:"status,omitempty"` // 组件类型。 Type *string `json:"type,omitempty"` // 更新时间。 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
type MetadataResponse ¶
type MetadataResponse struct { // 属性信息。 Annotations map[string]string `json:"annotations,omitempty"` // 创建时间。 CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 组件id。 Id *string `json:"id,omitempty"` // 任务id。 JodId *string `json:"jod_id,omitempty"` // 名称。 Name *string `json:"name,omitempty"` // 状态。 Status *string `json:"status,omitempty"` // 组件类型。 Type *string `json:"type,omitempty"` // 更新时间。 UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"` }
func (MetadataResponse) String ¶
func (o MetadataResponse) String() string
type MountComponent ¶
type MountComponent struct { // 环境id。 EnvId *string `json:"env_id,omitempty"` // 环境名称。 EnvName *string `json:"env_name,omitempty"` // 应用id。 AppId *string `json:"app_id,omitempty"` // 应用名称。 AppName *string `json:"app_name,omitempty"` // 组件id。 ComponentId *string `json:"component_id,omitempty"` // 组件名称。 ComponentName *string `json:"component_name,omitempty"` }
func (MountComponent) String ¶
func (o MountComponent) String() string
type Repo ¶
type ResourceLimit ¶
type ResourceLimit struct { // cpu限额。 CpuLimit ResourceLimitCpuLimit `json:"cpu_limit"` // 内存限额。 MemoryLimit ResourceLimitMemoryLimit `json:"memory_limit"` }
func (ResourceLimit) String ¶
func (o ResourceLimit) String() string
type ResourceLimitCpuLimit ¶
type ResourceLimitCpuLimit struct {
// contains filtered or unexported fields
}
func (ResourceLimitCpuLimit) MarshalJSON ¶
func (c ResourceLimitCpuLimit) MarshalJSON() ([]byte, error)
func (*ResourceLimitCpuLimit) UnmarshalJSON ¶
func (c *ResourceLimitCpuLimit) UnmarshalJSON(b []byte) error
func (ResourceLimitCpuLimit) Value ¶
func (c ResourceLimitCpuLimit) Value() string
type ResourceLimitCpuLimitEnum ¶
type ResourceLimitCpuLimitEnum struct { E_500M ResourceLimitCpuLimit E_1000M ResourceLimitCpuLimit E_2000M ResourceLimitCpuLimit }
func GetResourceLimitCpuLimitEnum ¶
func GetResourceLimitCpuLimitEnum() ResourceLimitCpuLimitEnum
type ResourceLimitForUpgrade ¶
type ResourceLimitForUpgrade struct { // cpu限额。 CpuLimit *ResourceLimitForUpgradeCpuLimit `json:"cpu_limit,omitempty"` // 内存限额。 MemoryLimit *ResourceLimitForUpgradeMemoryLimit `json:"memory_limit,omitempty"` }
func (ResourceLimitForUpgrade) String ¶
func (o ResourceLimitForUpgrade) String() string
type ResourceLimitForUpgradeCpuLimit ¶
type ResourceLimitForUpgradeCpuLimit struct {
// contains filtered or unexported fields
}
func (ResourceLimitForUpgradeCpuLimit) MarshalJSON ¶
func (c ResourceLimitForUpgradeCpuLimit) MarshalJSON() ([]byte, error)
func (*ResourceLimitForUpgradeCpuLimit) UnmarshalJSON ¶
func (c *ResourceLimitForUpgradeCpuLimit) UnmarshalJSON(b []byte) error
func (ResourceLimitForUpgradeCpuLimit) Value ¶
func (c ResourceLimitForUpgradeCpuLimit) Value() string
type ResourceLimitForUpgradeCpuLimitEnum ¶
type ResourceLimitForUpgradeCpuLimitEnum struct { E_500M ResourceLimitForUpgradeCpuLimit E_1000M ResourceLimitForUpgradeCpuLimit E_2000M ResourceLimitForUpgradeCpuLimit }
func GetResourceLimitForUpgradeCpuLimitEnum ¶
func GetResourceLimitForUpgradeCpuLimitEnum() ResourceLimitForUpgradeCpuLimitEnum
type ResourceLimitForUpgradeMemoryLimit ¶
type ResourceLimitForUpgradeMemoryLimit struct {
// contains filtered or unexported fields
}
func (ResourceLimitForUpgradeMemoryLimit) MarshalJSON ¶
func (c ResourceLimitForUpgradeMemoryLimit) MarshalJSON() ([]byte, error)
func (*ResourceLimitForUpgradeMemoryLimit) UnmarshalJSON ¶
func (c *ResourceLimitForUpgradeMemoryLimit) UnmarshalJSON(b []byte) error
func (ResourceLimitForUpgradeMemoryLimit) Value ¶
func (c ResourceLimitForUpgradeMemoryLimit) Value() string
type ResourceLimitForUpgradeMemoryLimitEnum ¶
type ResourceLimitForUpgradeMemoryLimitEnum struct { E_1_GI ResourceLimitForUpgradeMemoryLimit E_2_GI ResourceLimitForUpgradeMemoryLimit E_4_GI ResourceLimitForUpgradeMemoryLimit }
func GetResourceLimitForUpgradeMemoryLimitEnum ¶
func GetResourceLimitForUpgradeMemoryLimitEnum() ResourceLimitForUpgradeMemoryLimitEnum
type ResourceLimitMemoryLimit ¶
type ResourceLimitMemoryLimit struct {
// contains filtered or unexported fields
}
func (ResourceLimitMemoryLimit) MarshalJSON ¶
func (c ResourceLimitMemoryLimit) MarshalJSON() ([]byte, error)
func (*ResourceLimitMemoryLimit) UnmarshalJSON ¶
func (c *ResourceLimitMemoryLimit) UnmarshalJSON(b []byte) error
func (ResourceLimitMemoryLimit) Value ¶
func (c ResourceLimitMemoryLimit) Value() string
type ResourceLimitMemoryLimitEnum ¶
type ResourceLimitMemoryLimitEnum struct { E_1_GI ResourceLimitMemoryLimit E_2_GI ResourceLimitMemoryLimit E_4_GI ResourceLimitMemoryLimit }
func GetResourceLimitMemoryLimitEnum ¶
func GetResourceLimitMemoryLimitEnum() ResourceLimitMemoryLimitEnum
type RetryJobRequest ¶
type RetryJobRequest struct { // 任务ID JobId string `json:"job_id"` }
Request Object
func (RetryJobRequest) String ¶
func (o RetryJobRequest) String() string
type RetryJobResponse ¶
type RetryJobResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RetryJobResponse) String ¶
func (o RetryJobResponse) String() string
type ShowAgencyRequest ¶
type ShowAgencyRequest struct { }
Request Object
func (ShowAgencyRequest) String ¶
func (o ShowAgencyRequest) String() string
type ShowAgencyResponse ¶
type ShowAgencyResponse struct { // API版本。 ApiVersion *ShowAgencyResponseApiVersion `json:"api_version,omitempty"` // 资源类型。 Kind *ShowAgencyResponseKind `json:"kind,omitempty"` // 已授权委托列表。 Items *[]AgencyItem `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAgencyResponse) String ¶
func (o ShowAgencyResponse) String() string
type ShowAgencyResponseApiVersion ¶
type ShowAgencyResponseApiVersion struct {
// contains filtered or unexported fields
}
func (ShowAgencyResponseApiVersion) MarshalJSON ¶
func (c ShowAgencyResponseApiVersion) MarshalJSON() ([]byte, error)
func (*ShowAgencyResponseApiVersion) UnmarshalJSON ¶
func (c *ShowAgencyResponseApiVersion) UnmarshalJSON(b []byte) error
func (ShowAgencyResponseApiVersion) Value ¶
func (c ShowAgencyResponseApiVersion) Value() string
type ShowAgencyResponseApiVersionEnum ¶
type ShowAgencyResponseApiVersionEnum struct {
V1 ShowAgencyResponseApiVersion
}
func GetShowAgencyResponseApiVersionEnum ¶
func GetShowAgencyResponseApiVersionEnum() ShowAgencyResponseApiVersionEnum
type ShowAgencyResponseKind ¶
type ShowAgencyResponseKind struct {
// contains filtered or unexported fields
}
func (ShowAgencyResponseKind) MarshalJSON ¶
func (c ShowAgencyResponseKind) MarshalJSON() ([]byte, error)
func (*ShowAgencyResponseKind) UnmarshalJSON ¶
func (c *ShowAgencyResponseKind) UnmarshalJSON(b []byte) error
func (ShowAgencyResponseKind) Value ¶
func (c ShowAgencyResponseKind) Value() string
type ShowAgencyResponseKindEnum ¶
type ShowAgencyResponseKindEnum struct {
AGENCY ShowAgencyResponseKind
}
func GetShowAgencyResponseKindEnum ¶
func GetShowAgencyResponseKindEnum() ShowAgencyResponseKindEnum
type ShowApplicationRequest ¶
type ShowApplicationRequest struct { // 应用id。 ApplicationId string `json:"application_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` }
Request Object
func (ShowApplicationRequest) String ¶
func (o ShowApplicationRequest) String() string
type ShowApplicationResponse ¶
type ShowApplicationResponse struct { // API版本。 ApiVersion *string `json:"api_version,omitempty"` // 资源种类。 Kind *string `json:"kind,omitempty"` Metadata *ApplicationMetadata `json:"metadata,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApplicationResponse) String ¶
func (o ShowApplicationResponse) String() string
type ShowComponentRequest ¶
type ShowComponentRequest struct { // 组件id。 ComponentId string `json:"component_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` }
Request Object
func (ShowComponentRequest) String ¶
func (o ShowComponentRequest) String() string
type ShowComponentResponse ¶
type ShowComponentResponse struct { // API版本。 ApiVersion *ShowComponentResponseApiVersion `json:"api_version,omitempty"` // 资源种类。 Kind *ShowComponentResponseKind `json:"kind,omitempty"` Metadata *MetadataResponse `json:"metadata,omitempty"` Spec *ComponentSpec `json:"spec,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowComponentResponse) String ¶
func (o ShowComponentResponse) String() string
type ShowComponentResponseApiVersion ¶
type ShowComponentResponseApiVersion struct {
// contains filtered or unexported fields
}
func (ShowComponentResponseApiVersion) MarshalJSON ¶
func (c ShowComponentResponseApiVersion) MarshalJSON() ([]byte, error)
func (*ShowComponentResponseApiVersion) UnmarshalJSON ¶
func (c *ShowComponentResponseApiVersion) UnmarshalJSON(b []byte) error
func (ShowComponentResponseApiVersion) Value ¶
func (c ShowComponentResponseApiVersion) Value() string
type ShowComponentResponseApiVersionEnum ¶
type ShowComponentResponseApiVersionEnum struct {
V1 ShowComponentResponseApiVersion
}
func GetShowComponentResponseApiVersionEnum ¶
func GetShowComponentResponseApiVersionEnum() ShowComponentResponseApiVersionEnum
type ShowComponentResponseKind ¶
type ShowComponentResponseKind struct {
// contains filtered or unexported fields
}
func (ShowComponentResponseKind) MarshalJSON ¶
func (c ShowComponentResponseKind) MarshalJSON() ([]byte, error)
func (*ShowComponentResponseKind) UnmarshalJSON ¶
func (c *ShowComponentResponseKind) UnmarshalJSON(b []byte) error
func (ShowComponentResponseKind) Value ¶
func (c ShowComponentResponseKind) Value() string
type ShowComponentResponseKindEnum ¶
type ShowComponentResponseKindEnum struct {
COMPONENT ShowComponentResponseKind
}
func GetShowComponentResponseKindEnum ¶
func GetShowComponentResponseKindEnum() ShowComponentResponseKindEnum
type ShowJobRequest ¶
type ShowJobRequest struct { // 任务id。 JobId string `json:"job_id"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` }
Request Object
func (ShowJobRequest) String ¶
func (o ShowJobRequest) String() string
type ShowJobResponse ¶
type ShowJobResponse struct { // API版本。 ApiVersion *string `json:"api_version,omitempty"` // 资源种类。 Kind *ShowJobResponseKind `json:"kind,omitempty"` Spec *JobSpec `json:"spec,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowJobResponse) String ¶
func (o ShowJobResponse) String() string
type ShowJobResponseKind ¶
type ShowJobResponseKind struct {
// contains filtered or unexported fields
}
func (ShowJobResponseKind) MarshalJSON ¶
func (c ShowJobResponseKind) MarshalJSON() ([]byte, error)
func (*ShowJobResponseKind) UnmarshalJSON ¶
func (c *ShowJobResponseKind) UnmarshalJSON(b []byte) error
func (ShowJobResponseKind) Value ¶
func (c ShowJobResponseKind) Value() string
type ShowJobResponseKindEnum ¶
type ShowJobResponseKindEnum struct {
JOB ShowJobResponseKind
}
func GetShowJobResponseKindEnum ¶
func GetShowJobResponseKindEnum() ShowJobResponseKindEnum
type Source ¶
type Source struct { Code *Repo `json:"code,omitempty"` // 代码源类型。 Type SourceType `json:"type"` // 代码源管理平台。 SubType *SourceSubType `json:"sub_type,omitempty"` // url代码地址。 Url string `json:"url"` }
type SourceSubType ¶
type SourceSubType struct {
// contains filtered or unexported fields
}
func (SourceSubType) MarshalJSON ¶
func (c SourceSubType) MarshalJSON() ([]byte, error)
func (*SourceSubType) UnmarshalJSON ¶
func (c *SourceSubType) UnmarshalJSON(b []byte) error
func (SourceSubType) Value ¶
func (c SourceSubType) Value() string
type SourceSubTypeEnum ¶
type SourceSubTypeEnum struct { BIN_OBS SourceSubType BIN_DEV_CLOUD SourceSubType GIT_LAB SourceSubType GIT_HUB SourceSubType DEV_CLOUD SourceSubType GITEE SourceSubType BITBUCKET SourceSubType }
func GetSourceSubTypeEnum ¶
func GetSourceSubTypeEnum() SourceSubTypeEnum
type SourceType ¶
type SourceType struct {
// contains filtered or unexported fields
}
func (SourceType) MarshalJSON ¶
func (c SourceType) MarshalJSON() ([]byte, error)
func (*SourceType) UnmarshalJSON ¶
func (c *SourceType) UnmarshalJSON(b []byte) error
func (SourceType) Value ¶
func (c SourceType) Value() string
type SourceTypeEnum ¶
type SourceTypeEnum struct { IMAGE SourceType CODE SourceType SOFTWARE_PACKAGE SourceType }
func GetSourceTypeEnum ¶
func GetSourceTypeEnum() SourceTypeEnum
type Task ¶
type Task struct { // 创建时间。 CreatedAt *string `json:"created_at,omitempty"` // 任务详情。 Detail *string `json:"detail,omitempty"` // 任务序号。 Index *int32 `json:"index,omitempty"` // 任务名称 Name *string `json:"name,omitempty"` // 任务状态 Status *string `json:"status,omitempty"` // 修改时间 UpdatedAt *string `json:"updated_at,omitempty"` }
type UpdateComponentRequest ¶
type UpdateComponentRequest struct { // 组件id。 ComponentId string `json:"component_id"` // 环境id。 XEnvironmentID string `json:"X-Environment-ID"` // 租户的企业项目id。 XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"` // 应用id。 ApplicationId string `json:"application_id"` Body *UpdateComponentRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateComponentRequest) String ¶
func (o UpdateComponentRequest) String() string
type UpdateComponentRequestBody ¶
type UpdateComponentRequestBody struct { // API版本。 ApiVersion UpdateComponentRequestBodyApiVersion `json:"api_version"` // 资源种类。 Kind UpdateComponentRequestBodyKind `json:"kind"` Metadata *Metadata `json:"metadata,omitempty"` Spec *UpdateComponentRequestSpec `json:"spec,omitempty"` }
func (UpdateComponentRequestBody) String ¶
func (o UpdateComponentRequestBody) String() string
type UpdateComponentRequestBodyApiVersion ¶
type UpdateComponentRequestBodyApiVersion struct {
// contains filtered or unexported fields
}
func (UpdateComponentRequestBodyApiVersion) MarshalJSON ¶
func (c UpdateComponentRequestBodyApiVersion) MarshalJSON() ([]byte, error)
func (*UpdateComponentRequestBodyApiVersion) UnmarshalJSON ¶
func (c *UpdateComponentRequestBodyApiVersion) UnmarshalJSON(b []byte) error
func (UpdateComponentRequestBodyApiVersion) Value ¶
func (c UpdateComponentRequestBodyApiVersion) Value() string
type UpdateComponentRequestBodyApiVersionEnum ¶
type UpdateComponentRequestBodyApiVersionEnum struct {
V1 UpdateComponentRequestBodyApiVersion
}
func GetUpdateComponentRequestBodyApiVersionEnum ¶
func GetUpdateComponentRequestBodyApiVersionEnum() UpdateComponentRequestBodyApiVersionEnum
type UpdateComponentRequestBodyKind ¶
type UpdateComponentRequestBodyKind struct {
// contains filtered or unexported fields
}
func (UpdateComponentRequestBodyKind) MarshalJSON ¶
func (c UpdateComponentRequestBodyKind) MarshalJSON() ([]byte, error)
func (*UpdateComponentRequestBodyKind) UnmarshalJSON ¶
func (c *UpdateComponentRequestBodyKind) UnmarshalJSON(b []byte) error
func (UpdateComponentRequestBodyKind) Value ¶
func (c UpdateComponentRequestBodyKind) Value() string
type UpdateComponentRequestBodyKindEnum ¶
type UpdateComponentRequestBodyKindEnum struct {
COMPONENT UpdateComponentRequestBodyKind
}
func GetUpdateComponentRequestBodyKindEnum ¶
func GetUpdateComponentRequestBodyKindEnum() UpdateComponentRequestBodyKindEnum
type UpdateComponentRequestSpec ¶
type UpdateComponentRequestSpec struct { Source *Source `json:"source,omitempty"` Build *Build `json:"build,omitempty"` ResourceLimit *ResourceLimit `json:"resource_limit"` LogStrategy *LogStrategy `json:"log_strategy,omitempty"` }
func (UpdateComponentRequestSpec) String ¶
func (o UpdateComponentRequestSpec) String() string
type UpdateComponentResponse ¶
type UpdateComponentResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateComponentResponse) String ¶
func (o UpdateComponentResponse) String() string
type Volume ¶
type Volume struct { // id。 Id *string `json:"id,omitempty"` // 资源信息。 ResourceInfo map[string]string `json:"resource_info,omitempty"` // 并行文件系统或存储桶名称。 ResourceName *string `json:"resource_name,omitempty"` // 资源类型。 ResourceType *VolumeResourceType `json:"resource_type,omitempty"` // 对象存储类型,例如:并行文件系统、存储桶。 ResourceSubType *VolumeResourceSubType `json:"resource_sub_type,omitempty"` // 时间。 Time *string `json:"time,omitempty"` }
type VolumeResourceSubType ¶
type VolumeResourceSubType struct {
// contains filtered or unexported fields
}
func (VolumeResourceSubType) MarshalJSON ¶
func (c VolumeResourceSubType) MarshalJSON() ([]byte, error)
func (*VolumeResourceSubType) UnmarshalJSON ¶
func (c *VolumeResourceSubType) UnmarshalJSON(b []byte) error
func (VolumeResourceSubType) Value ¶
func (c VolumeResourceSubType) Value() string
type VolumeResourceSubTypeEnum ¶
type VolumeResourceSubTypeEnum struct { PARALLEL_FILE_SYSTEM VolumeResourceSubType OBJECT_BUCKET VolumeResourceSubType }
func GetVolumeResourceSubTypeEnum ¶
func GetVolumeResourceSubTypeEnum() VolumeResourceSubTypeEnum
type VolumeResourceType ¶
type VolumeResourceType struct {
// contains filtered or unexported fields
}
func (VolumeResourceType) MarshalJSON ¶
func (c VolumeResourceType) MarshalJSON() ([]byte, error)
func (*VolumeResourceType) UnmarshalJSON ¶
func (c *VolumeResourceType) UnmarshalJSON(b []byte) error
func (VolumeResourceType) Value ¶
func (c VolumeResourceType) Value() string
type VolumeResourceTypeEnum ¶
type VolumeResourceTypeEnum struct {
OBS VolumeResourceType
}
func GetVolumeResourceTypeEnum ¶
func GetVolumeResourceTypeEnum() VolumeResourceTypeEnum
type VolumeSpec ¶
type VolumeSpec struct { // 资源类型。 ResourceType VolumeSpecResourceType `json:"resource_type"` // 对象存储类型,例如:并行文件系统、存储桶。 ResourceSubType VolumeSpecResourceSubType `json:"resource_sub_type"` // 并行文件系统或存储桶名称。 Resources []string `json:"resources"` }
func (VolumeSpec) String ¶
func (o VolumeSpec) String() string
type VolumeSpecResourceSubType ¶
type VolumeSpecResourceSubType struct {
// contains filtered or unexported fields
}
func (VolumeSpecResourceSubType) MarshalJSON ¶
func (c VolumeSpecResourceSubType) MarshalJSON() ([]byte, error)
func (*VolumeSpecResourceSubType) UnmarshalJSON ¶
func (c *VolumeSpecResourceSubType) UnmarshalJSON(b []byte) error
func (VolumeSpecResourceSubType) Value ¶
func (c VolumeSpecResourceSubType) Value() string
type VolumeSpecResourceSubTypeEnum ¶
type VolumeSpecResourceSubTypeEnum struct { OBJECT_BUCKET VolumeSpecResourceSubType PARALLEL_FILE_SYSTEM VolumeSpecResourceSubType }
func GetVolumeSpecResourceSubTypeEnum ¶
func GetVolumeSpecResourceSubTypeEnum() VolumeSpecResourceSubTypeEnum
type VolumeSpecResourceType ¶
type VolumeSpecResourceType struct {
// contains filtered or unexported fields
}
func (VolumeSpecResourceType) MarshalJSON ¶
func (c VolumeSpecResourceType) MarshalJSON() ([]byte, error)
func (*VolumeSpecResourceType) UnmarshalJSON ¶
func (c *VolumeSpecResourceType) UnmarshalJSON(b []byte) error
func (VolumeSpecResourceType) Value ¶
func (c VolumeSpecResourceType) Value() string
type VolumeSpecResourceTypeEnum ¶
type VolumeSpecResourceTypeEnum struct {
OBS VolumeSpecResourceType
}
func GetVolumeSpecResourceTypeEnum ¶
func GetVolumeSpecResourceTypeEnum() VolumeSpecResourceTypeEnum
Source Files ¶
- model_access.go
- model_action_on_component_spec.go
- model_agency.go
- model_agency_item.go
- model_agency_metadata.go
- model_application_item.go
- model_application_metadata.go
- model_archive.go
- model_build.go
- model_component_item.go
- model_component_snapshot_item.go
- model_component_spec.go
- model_configuration.go
- model_configuration_item.go
- model_create_agency_request.go
- model_create_agency_response.go
- model_create_application_request.go
- model_create_application_request_body.go
- model_create_application_request_body_metadata.go
- model_create_application_response.go
- model_create_component_configuration_request.go
- model_create_component_configuration_request_body.go
- model_create_component_configuration_response.go
- model_create_component_request.go
- model_create_component_request_body.go
- model_create_component_request_body_metadata.go
- model_create_component_request_body_spec.go
- model_create_component_response.go
- model_create_environment_request.go
- model_create_environment_request_body.go
- model_create_environment_request_body_metadata.go
- model_create_environment_response.go
- model_create_volume_req.go
- model_create_volume_request.go
- model_create_volume_response.go
- model_delete_application_request.go
- model_delete_application_response.go
- model_delete_component_configuration_request.go
- model_delete_component_configuration_response.go
- model_delete_component_request.go
- model_delete_component_response.go
- model_delete_environment_request.go
- model_delete_environment_response.go
- model_delete_volume_request.go
- model_delete_volume_response.go
- model_environment_item.go
- model_environment_metadata.go
- model_event_item.go
- model_execute_action_request.go
- model_execute_action_request_body.go
- model_execute_action_request_body_metadata.go
- model_execute_action_response.go
- model_instance.go
- model_job_spec.go
- model_list_applications_request.go
- model_list_applications_response.go
- model_list_component_snapshots_request.go
- model_list_component_snapshots_response.go
- model_list_components_request.go
- model_list_components_response.go
- model_list_configurations_request.go
- model_list_configurations_response.go
- model_list_environments_request.go
- model_list_environments_response.go
- model_list_events_request.go
- model_list_events_response.go
- model_list_instances_request.go
- model_list_instances_response.go
- model_list_volumes_request.go
- model_list_volumes_response.go
- model_log_strategy.go
- model_metadata.go
- model_metadata_response.go
- model_mount_component.go
- model_repo.go
- model_resource_limit.go
- model_resource_limit_for_upgrade.go
- model_retry_job_request.go
- model_retry_job_response.go
- model_show_agency_request.go
- model_show_agency_response.go
- model_show_application_request.go
- model_show_application_response.go
- model_show_component_request.go
- model_show_component_response.go
- model_show_job_request.go
- model_show_job_response.go
- model_source.go
- model_task.go
- model_update_component_request.go
- model_update_component_request_body.go
- model_update_component_request_spec.go
- model_update_component_response.go
- model_volume.go
- model_volume_spec.go