 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- type Client
- func (c *Client) CreateCosTokenV2(request *CreateCosTokenV2Request) (response *CreateCosTokenV2Response, err error)
- func (c *Client) CreateCosTokenV2WithContext(ctx context.Context, request *CreateCosTokenV2Request) (response *CreateCosTokenV2Response, err error)
- func (c *Client) CreateNamespace(request *CreateNamespaceRequest) (response *CreateNamespaceResponse, err error)
- func (c *Client) CreateNamespaceWithContext(ctx context.Context, request *CreateNamespaceRequest) (response *CreateNamespaceResponse, err error)
- func (c *Client) CreateResource(request *CreateResourceRequest) (response *CreateResourceResponse, err error)
- func (c *Client) CreateResourceWithContext(ctx context.Context, request *CreateResourceRequest) (response *CreateResourceResponse, err error)
- func (c *Client) CreateServiceV2(request *CreateServiceV2Request) (response *CreateServiceV2Response, err error)
- func (c *Client) CreateServiceV2WithContext(ctx context.Context, request *CreateServiceV2Request) (response *CreateServiceV2Response, err error)
- func (c *Client) DeleteIngress(request *DeleteIngressRequest) (response *DeleteIngressResponse, err error)
- func (c *Client) DeleteIngressWithContext(ctx context.Context, request *DeleteIngressRequest) (response *DeleteIngressResponse, err error)
- func (c *Client) DeployServiceV2(request *DeployServiceV2Request) (response *DeployServiceV2Response, err error)
- func (c *Client) DeployServiceV2WithContext(ctx context.Context, request *DeployServiceV2Request) (response *DeployServiceV2Response, err error)
- func (c *Client) DescribeIngress(request *DescribeIngressRequest) (response *DescribeIngressResponse, err error)
- func (c *Client) DescribeIngressWithContext(ctx context.Context, request *DescribeIngressRequest) (response *DescribeIngressResponse, err error)
- func (c *Client) DescribeIngresses(request *DescribeIngressesRequest) (response *DescribeIngressesResponse, err error)
- func (c *Client) DescribeIngressesWithContext(ctx context.Context, request *DescribeIngressesRequest) (response *DescribeIngressesResponse, err error)
- func (c *Client) DescribeNamespaces(request *DescribeNamespacesRequest) (response *DescribeNamespacesResponse, err error)
- func (c *Client) DescribeNamespacesWithContext(ctx context.Context, request *DescribeNamespacesRequest) (response *DescribeNamespacesResponse, err error)
- func (c *Client) DescribeRelatedIngresses(request *DescribeRelatedIngressesRequest) (response *DescribeRelatedIngressesResponse, err error)
- func (c *Client) DescribeRelatedIngressesWithContext(ctx context.Context, request *DescribeRelatedIngressesRequest) (response *DescribeRelatedIngressesResponse, err error)
- func (c *Client) DescribeServiceRunPodListV2(request *DescribeServiceRunPodListV2Request) (response *DescribeServiceRunPodListV2Response, err error)
- func (c *Client) DescribeServiceRunPodListV2WithContext(ctx context.Context, request *DescribeServiceRunPodListV2Request) (response *DescribeServiceRunPodListV2Response, err error)
- func (c *Client) GenerateDownloadUrl(request *GenerateDownloadUrlRequest) (response *GenerateDownloadUrlResponse, err error)
- func (c *Client) GenerateDownloadUrlWithContext(ctx context.Context, request *GenerateDownloadUrlRequest) (response *GenerateDownloadUrlResponse, err error)
- func (c *Client) ModifyIngress(request *ModifyIngressRequest) (response *ModifyIngressResponse, err error)
- func (c *Client) ModifyIngressWithContext(ctx context.Context, request *ModifyIngressRequest) (response *ModifyIngressResponse, err error)
- func (c *Client) ModifyNamespace(request *ModifyNamespaceRequest) (response *ModifyNamespaceResponse, err error)
- func (c *Client) ModifyNamespaceWithContext(ctx context.Context, request *ModifyNamespaceRequest) (response *ModifyNamespaceResponse, err error)
- func (c *Client) ModifyServiceInfo(request *ModifyServiceInfoRequest) (response *ModifyServiceInfoResponse, err error)
- func (c *Client) ModifyServiceInfoWithContext(ctx context.Context, request *ModifyServiceInfoRequest) (response *ModifyServiceInfoResponse, err error)
- func (c *Client) RestartServiceRunPod(request *RestartServiceRunPodRequest) (response *RestartServiceRunPodResponse, err error)
- func (c *Client) RestartServiceRunPodWithContext(ctx context.Context, request *RestartServiceRunPodRequest) (response *RestartServiceRunPodResponse, err error)
 
- type CosToken
- type CreateCosTokenV2Request
- type CreateCosTokenV2RequestParams
- type CreateCosTokenV2Response
- type CreateCosTokenV2ResponseParams
- type CreateNamespaceRequest
- type CreateNamespaceRequestParams
- type CreateNamespaceResponse
- type CreateNamespaceResponseParams
- type CreateResourceRequest
- type CreateResourceRequestParams
- type CreateResourceResponse
- type CreateResourceResponseParams
- type CreateServiceV2Request
- type CreateServiceV2RequestParams
- type CreateServiceV2Response
- type CreateServiceV2ResponseParams
- type DeleteIngressRequest
- type DeleteIngressRequestParams
- type DeleteIngressResponse
- type DeleteIngressResponseParams
- type DeployServiceV2Request
- type DeployServiceV2RequestParams
- type DeployServiceV2Response
- type DeployServiceV2ResponseParams
- type DeployStrategyConf
- type DescribeIngressRequest
- type DescribeIngressRequestParams
- type DescribeIngressResponse
- type DescribeIngressResponseParams
- type DescribeIngressesRequest
- type DescribeIngressesRequestParams
- type DescribeIngressesResponse
- type DescribeIngressesResponseParams
- type DescribeNamespacesRequest
- type DescribeNamespacesRequestParams
- type DescribeNamespacesResponse
- type DescribeNamespacesResponseParams
- type DescribeRelatedIngressesRequest
- type DescribeRelatedIngressesRequestParams
- type DescribeRelatedIngressesResponse
- type DescribeRelatedIngressesResponseParams
- type DescribeRunPodPage
- type DescribeServiceRunPodListV2Request
- type DescribeServiceRunPodListV2RequestParams
- type DescribeServiceRunPodListV2Response
- type DescribeServiceRunPodListV2ResponseParams
- type EksService
- type EsInfo
- type GenerateDownloadUrlRequest
- type GenerateDownloadUrlRequestParams
- type GenerateDownloadUrlResponse
- type GenerateDownloadUrlResponseParams
- type HealthCheckConfig
- type IngressInfo
- type IngressRule
- type IngressRuleBackend
- type IngressRulePath
- type IngressRuleValue
- type IngressTls
- type LogOutputConf
- type ModifyIngressRequest
- type ModifyIngressRequestParams
- type ModifyIngressResponse
- type ModifyIngressResponseParams
- type ModifyNamespaceRequest
- type ModifyNamespaceRequestParams
- type ModifyNamespaceResponse
- type ModifyNamespaceResponseParams
- type ModifyServiceInfoRequest
- type ModifyServiceInfoRequestParams
- type ModifyServiceInfoResponse
- type ModifyServiceInfoResponseParams
- type MountedSettingConf
- type NamespacePage
- type Pair
- type PortMapping
- type RestartServiceRunPodRequest
- type RestartServiceRunPodRequestParams
- type RestartServiceRunPodResponse
- type RestartServiceRunPodResponseParams
- type RunVersionPod
- type StorageConf
- type StorageMountConf
- type TemNamespaceInfo
Constants ¶
const APIVersion = "2020-12-21"
    const (
	// Failed to create the service.
	INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
)
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateCosTokenV2 ¶
func (c *Client) CreateCosTokenV2(request *CreateCosTokenV2Request) (response *CreateCosTokenV2Response, err error)
CreateCosTokenV2 This API is used to generate a COS temporary key.
func (*Client) CreateCosTokenV2WithContext ¶
func (c *Client) CreateCosTokenV2WithContext(ctx context.Context, request *CreateCosTokenV2Request) (response *CreateCosTokenV2Response, err error)
CreateCosTokenV2 This API is used to generate a COS temporary key.
func (*Client) CreateNamespace ¶
func (c *Client) CreateNamespace(request *CreateNamespaceRequest) (response *CreateNamespaceResponse, err error)
CreateNamespace This API is used to create an environment.
func (*Client) CreateNamespaceWithContext ¶
func (c *Client) CreateNamespaceWithContext(ctx context.Context, request *CreateNamespaceRequest) (response *CreateNamespaceResponse, err error)
CreateNamespace This API is used to create an environment.
func (*Client) CreateResource ¶
func (c *Client) CreateResource(request *CreateResourceRequest) (response *CreateResourceResponse, err error)
CreateResource This API is used to bind a cloud resource.
func (*Client) CreateResourceWithContext ¶
func (c *Client) CreateResourceWithContext(ctx context.Context, request *CreateResourceRequest) (response *CreateResourceResponse, err error)
CreateResource This API is used to bind a cloud resource.
func (*Client) CreateServiceV2 ¶
func (c *Client) CreateServiceV2(request *CreateServiceV2Request) (response *CreateServiceV2Response, err error)
CreateServiceV2 This API is used to create a service.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) CreateServiceV2WithContext ¶
func (c *Client) CreateServiceV2WithContext(ctx context.Context, request *CreateServiceV2Request) (response *CreateServiceV2Response, err error)
CreateServiceV2 This API is used to create a service.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DeleteIngress ¶
func (c *Client) DeleteIngress(request *DeleteIngressRequest) (response *DeleteIngressResponse, err error)
DeleteIngress This API is used to delete an ingress rule.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DeleteIngressWithContext ¶
func (c *Client) DeleteIngressWithContext(ctx context.Context, request *DeleteIngressRequest) (response *DeleteIngressResponse, err error)
DeleteIngress This API is used to delete an ingress rule.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DeployServiceV2 ¶
func (c *Client) DeployServiceV2(request *DeployServiceV2Request) (response *DeployServiceV2Response, err error)
DeployServiceV2 This API is used to deploy a service.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DeployServiceV2WithContext ¶
func (c *Client) DeployServiceV2WithContext(ctx context.Context, request *DeployServiceV2Request) (response *DeployServiceV2Response, err error)
DeployServiceV2 This API is used to deploy a service.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DescribeIngress ¶
func (c *Client) DescribeIngress(request *DescribeIngressRequest) (response *DescribeIngressResponse, err error)
DescribeIngress This API is used to query an ingress rule.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DescribeIngressWithContext ¶
func (c *Client) DescribeIngressWithContext(ctx context.Context, request *DescribeIngressRequest) (response *DescribeIngressResponse, err error)
DescribeIngress This API is used to query an ingress rule.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DescribeIngresses ¶
func (c *Client) DescribeIngresses(request *DescribeIngressesRequest) (response *DescribeIngressesResponse, err error)
DescribeIngresses This API is used to query the list of ingress rules.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DescribeIngressesWithContext ¶
func (c *Client) DescribeIngressesWithContext(ctx context.Context, request *DescribeIngressesRequest) (response *DescribeIngressesResponse, err error)
DescribeIngresses This API is used to query the list of ingress rules.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DescribeNamespaces ¶
func (c *Client) DescribeNamespaces(request *DescribeNamespacesRequest) (response *DescribeNamespacesResponse, err error)
DescribeNamespaces This API is used to get the list of tenant environments.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DescribeNamespacesWithContext ¶
func (c *Client) DescribeNamespacesWithContext(ctx context.Context, request *DescribeNamespacesRequest) (response *DescribeNamespacesResponse, err error)
DescribeNamespaces This API is used to get the list of tenant environments.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DescribeRelatedIngresses ¶
func (c *Client) DescribeRelatedIngresses(request *DescribeRelatedIngressesRequest) (response *DescribeRelatedIngressesResponse, err error)
DescribeRelatedIngresses This API is used to query the list of ingress rules associated with the service.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DescribeRelatedIngressesWithContext ¶
func (c *Client) DescribeRelatedIngressesWithContext(ctx context.Context, request *DescribeRelatedIngressesRequest) (response *DescribeRelatedIngressesResponse, err error)
DescribeRelatedIngresses This API is used to query the list of ingress rules associated with the service.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DescribeServiceRunPodListV2 ¶
func (c *Client) DescribeServiceRunPodListV2(request *DescribeServiceRunPodListV2Request) (response *DescribeServiceRunPodListV2Response, err error)
DescribeServiceRunPodListV2 This API is used to get the list of running pods under a service.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) DescribeServiceRunPodListV2WithContext ¶
func (c *Client) DescribeServiceRunPodListV2WithContext(ctx context.Context, request *DescribeServiceRunPodListV2Request) (response *DescribeServiceRunPodListV2Response, err error)
DescribeServiceRunPodListV2 This API is used to get the list of running pods under a service.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) GenerateDownloadUrl ¶
func (c *Client) GenerateDownloadUrl(request *GenerateDownloadUrlRequest) (response *GenerateDownloadUrlResponse, err error)
GenerateDownloadUrl Generate the pre-signed download URL for the specified package
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) GenerateDownloadUrlWithContext ¶
func (c *Client) GenerateDownloadUrlWithContext(ctx context.Context, request *GenerateDownloadUrlRequest) (response *GenerateDownloadUrlResponse, err error)
GenerateDownloadUrl Generate the pre-signed download URL for the specified package
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) ModifyIngress ¶
func (c *Client) ModifyIngress(request *ModifyIngressRequest) (response *ModifyIngressResponse, err error)
ModifyIngress This API is used to create or update an ingress rule.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) ModifyIngressWithContext ¶
func (c *Client) ModifyIngressWithContext(ctx context.Context, request *ModifyIngressRequest) (response *ModifyIngressResponse, err error)
ModifyIngress This API is used to create or update an ingress rule.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) ModifyNamespace ¶
func (c *Client) ModifyNamespace(request *ModifyNamespaceRequest) (response *ModifyNamespaceResponse, err error)
ModifyNamespace This API is used to edit an environment.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) ModifyNamespaceWithContext ¶
func (c *Client) ModifyNamespaceWithContext(ctx context.Context, request *ModifyNamespaceRequest) (response *ModifyNamespaceResponse, err error)
ModifyNamespace This API is used to edit an environment.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) ModifyServiceInfo ¶
func (c *Client) ModifyServiceInfo(request *ModifyServiceInfoRequest) (response *ModifyServiceInfoResponse, err error)
ModifyServiceInfo This API is used to modify a service’s basic information.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) ModifyServiceInfoWithContext ¶
func (c *Client) ModifyServiceInfoWithContext(ctx context.Context, request *ModifyServiceInfoRequest) (response *ModifyServiceInfoResponse, err error)
ModifyServiceInfo This API is used to modify a service’s basic information.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) RestartServiceRunPod ¶
func (c *Client) RestartServiceRunPod(request *RestartServiceRunPodRequest) (response *RestartServiceRunPodResponse, err error)
RestartServiceRunPod This API is used to restart an instance.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
func (*Client) RestartServiceRunPodWithContext ¶
func (c *Client) RestartServiceRunPodWithContext(ctx context.Context, request *RestartServiceRunPodRequest) (response *RestartServiceRunPodResponse, err error)
RestartServiceRunPod This API is used to restart an instance.
error code that may be returned:
INTERNALERROR_CREATESERVICEERROR = "InternalError.CreateServiceError"
type CosToken ¶
type CosToken struct {
	// Unique request ID
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	// Bucket name
	Bucket *string `json:"Bucket,omitempty" name:"Bucket"`
	// Bucket region
	Region *string `json:"Region,omitempty" name:"Region"`
	// `SecretId` of temporary key
	TmpSecretId *string `json:"TmpSecretId,omitempty" name:"TmpSecretId"`
	// `SecretKey` of temporary key
	TmpSecretKey *string `json:"TmpSecretKey,omitempty" name:"TmpSecretKey"`
	// `sessionToken` of temporary key
	SessionToken *string `json:"SessionToken,omitempty" name:"SessionToken"`
	// `StartTime` of temporary key acquisition
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
	// `ExpiredTime` of temporary key
	ExpiredTime *string `json:"ExpiredTime,omitempty" name:"ExpiredTime"`
	// Full package path
	FullPath *string `json:"FullPath,omitempty" name:"FullPath"`
}
    type CreateCosTokenV2Request ¶
type CreateCosTokenV2Request struct {
	*tchttp.BaseRequest
	// Service ID
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Package name
	PkgName *string `json:"PkgName,omitempty" name:"PkgName"`
	// optType. 1: upload; 2: query
	OptType *int64 `json:"OptType,omitempty" name:"OptType"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Input parameter of `deployVersion`
	TimeVersion *string `json:"TimeVersion,omitempty" name:"TimeVersion"`
}
    func NewCreateCosTokenV2Request ¶
func NewCreateCosTokenV2Request() (request *CreateCosTokenV2Request)
func (*CreateCosTokenV2Request) FromJsonString ¶
func (r *CreateCosTokenV2Request) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCosTokenV2Request) ToJsonString ¶
func (r *CreateCosTokenV2Request) ToJsonString() string
type CreateCosTokenV2RequestParams ¶
type CreateCosTokenV2RequestParams struct {
	// Service ID
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Package name
	PkgName *string `json:"PkgName,omitempty" name:"PkgName"`
	// optType. 1: upload; 2: query
	OptType *int64 `json:"OptType,omitempty" name:"OptType"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Input parameter of `deployVersion`
	TimeVersion *string `json:"TimeVersion,omitempty" name:"TimeVersion"`
}
    Predefined struct for user
type CreateCosTokenV2Response ¶
type CreateCosTokenV2Response struct {
	*tchttp.BaseResponse
	Response *CreateCosTokenV2ResponseParams `json:"Response"`
}
    func NewCreateCosTokenV2Response ¶
func NewCreateCosTokenV2Response() (response *CreateCosTokenV2Response)
func (*CreateCosTokenV2Response) FromJsonString ¶
func (r *CreateCosTokenV2Response) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCosTokenV2Response) ToJsonString ¶
func (r *CreateCosTokenV2Response) ToJsonString() string
type CreateCosTokenV2ResponseParams ¶
type CreateCosTokenV2ResponseParams struct {
	// `CosToken` object in case of success and `null` in case of failure
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *CosToken `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CreateNamespaceRequest ¶
type CreateNamespaceRequest struct {
	*tchttp.BaseRequest
	// Namespace name
	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
	// VPC name
	Vpc *string `json:"Vpc,omitempty" name:"Vpc"`
	// Subnet list
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"`
	// Namespace description
	Description *string `json:"Description,omitempty" name:"Description"`
	// K8s version
	K8sVersion *string `json:"K8sVersion,omitempty" name:"K8sVersion"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Whether to enable the TSW service.
	EnableTswTraceService *bool `json:"EnableTswTraceService,omitempty" name:"EnableTswTraceService"`
}
    func NewCreateNamespaceRequest ¶
func NewCreateNamespaceRequest() (request *CreateNamespaceRequest)
func (*CreateNamespaceRequest) FromJsonString ¶
func (r *CreateNamespaceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNamespaceRequest) ToJsonString ¶
func (r *CreateNamespaceRequest) ToJsonString() string
type CreateNamespaceRequestParams ¶
type CreateNamespaceRequestParams struct {
	// Namespace name
	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
	// VPC name
	Vpc *string `json:"Vpc,omitempty" name:"Vpc"`
	// Subnet list
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"`
	// Namespace description
	Description *string `json:"Description,omitempty" name:"Description"`
	// K8s version
	K8sVersion *string `json:"K8sVersion,omitempty" name:"K8sVersion"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Whether to enable the TSW service.
	EnableTswTraceService *bool `json:"EnableTswTraceService,omitempty" name:"EnableTswTraceService"`
}
    Predefined struct for user
type CreateNamespaceResponse ¶
type CreateNamespaceResponse struct {
	*tchttp.BaseResponse
	Response *CreateNamespaceResponseParams `json:"Response"`
}
    func NewCreateNamespaceResponse ¶
func NewCreateNamespaceResponse() (response *CreateNamespaceResponse)
func (*CreateNamespaceResponse) FromJsonString ¶
func (r *CreateNamespaceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNamespaceResponse) ToJsonString ¶
func (r *CreateNamespaceResponse) ToJsonString() string
type CreateNamespaceResponseParams ¶
type CreateNamespaceResponseParams struct {
	// Namespace ID in case of success and `null` in case of failure
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *string `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CreateResourceRequest ¶
type CreateResourceRequest struct {
	*tchttp.BaseRequest
	// Namespace ID
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Resource type. Valid values: CFS (file system), CLS (log service), TSE_SRE (registry)
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`
	// Resource ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    func NewCreateResourceRequest ¶
func NewCreateResourceRequest() (request *CreateResourceRequest)
func (*CreateResourceRequest) FromJsonString ¶
func (r *CreateResourceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateResourceRequest) ToJsonString ¶
func (r *CreateResourceRequest) ToJsonString() string
type CreateResourceRequestParams ¶
type CreateResourceRequestParams struct {
	// Namespace ID
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Resource type. Valid values: CFS (file system), CLS (log service), TSE_SRE (registry)
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`
	// Resource ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    Predefined struct for user
type CreateResourceResponse ¶
type CreateResourceResponse struct {
	*tchttp.BaseResponse
	Response *CreateResourceResponseParams `json:"Response"`
}
    func NewCreateResourceResponse ¶
func NewCreateResourceResponse() (response *CreateResourceResponse)
func (*CreateResourceResponse) FromJsonString ¶
func (r *CreateResourceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateResourceResponse) ToJsonString ¶
func (r *CreateResourceResponse) ToJsonString() string
type CreateResourceResponseParams ¶
type CreateResourceResponseParams struct {
	// Success or failure
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type CreateServiceV2Request ¶
type CreateServiceV2Request struct {
	*tchttp.BaseRequest
	// Service name
	ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
	// Description
	Description *string `json:"Description,omitempty" name:"Description"`
	// Whether to use the default image service. 1: yes; 0: no
	UseDefaultImageService *int64 `json:"UseDefaultImageService,omitempty" name:"UseDefaultImageService"`
	// Type of the bound repository. 0: Personal Edition; 1: Enterprise Edition
	RepoType *int64 `json:"RepoType,omitempty" name:"RepoType"`
	// Instance ID of Enterprise Edition image service
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
	// Address of the bound image server
	RepoServer *string `json:"RepoServer,omitempty" name:"RepoServer"`
	// Name of the bound image repository
	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Service subnet
	SubnetList []*string `json:"SubnetList,omitempty" name:"SubnetList"`
	// Programming language
	// - JAVA
	// - OTHER
	CodingLanguage *string `json:"CodingLanguage,omitempty" name:"CodingLanguage"`
	// Deployment mode
	// - IMAGE
	// - JAR
	// - WAR
	DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"`
}
    func NewCreateServiceV2Request ¶
func NewCreateServiceV2Request() (request *CreateServiceV2Request)
func (*CreateServiceV2Request) FromJsonString ¶
func (r *CreateServiceV2Request) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServiceV2Request) ToJsonString ¶
func (r *CreateServiceV2Request) ToJsonString() string
type CreateServiceV2RequestParams ¶
type CreateServiceV2RequestParams struct {
	// Service name
	ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
	// Description
	Description *string `json:"Description,omitempty" name:"Description"`
	// Whether to use the default image service. 1: yes; 0: no
	UseDefaultImageService *int64 `json:"UseDefaultImageService,omitempty" name:"UseDefaultImageService"`
	// Type of the bound repository. 0: Personal Edition; 1: Enterprise Edition
	RepoType *int64 `json:"RepoType,omitempty" name:"RepoType"`
	// Instance ID of Enterprise Edition image service
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
	// Address of the bound image server
	RepoServer *string `json:"RepoServer,omitempty" name:"RepoServer"`
	// Name of the bound image repository
	RepoName *string `json:"RepoName,omitempty" name:"RepoName"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Service subnet
	SubnetList []*string `json:"SubnetList,omitempty" name:"SubnetList"`
	// Programming language
	// - JAVA
	// - OTHER
	CodingLanguage *string `json:"CodingLanguage,omitempty" name:"CodingLanguage"`
	// Deployment mode
	// - IMAGE
	// - JAR
	// - WAR
	DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"`
}
    Predefined struct for user
type CreateServiceV2Response ¶
type CreateServiceV2Response struct {
	*tchttp.BaseResponse
	Response *CreateServiceV2ResponseParams `json:"Response"`
}
    func NewCreateServiceV2Response ¶
func NewCreateServiceV2Response() (response *CreateServiceV2Response)
func (*CreateServiceV2Response) FromJsonString ¶
func (r *CreateServiceV2Response) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServiceV2Response) ToJsonString ¶
func (r *CreateServiceV2Response) ToJsonString() string
type CreateServiceV2ResponseParams ¶
type CreateServiceV2ResponseParams struct {
	// Service code
	Result *string `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type DeleteIngressRequest ¶
type DeleteIngressRequest struct {
	*tchttp.BaseRequest
	// tem NamespaceId
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// EKS namespace name
	EksNamespace *string `json:"EksNamespace,omitempty" name:"EksNamespace"`
	// Ingress rule name
	Name *string `json:"Name,omitempty" name:"Name"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    func NewDeleteIngressRequest ¶
func NewDeleteIngressRequest() (request *DeleteIngressRequest)
func (*DeleteIngressRequest) FromJsonString ¶
func (r *DeleteIngressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIngressRequest) ToJsonString ¶
func (r *DeleteIngressRequest) ToJsonString() string
type DeleteIngressRequestParams ¶
type DeleteIngressRequestParams struct {
	// tem NamespaceId
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// EKS namespace name
	EksNamespace *string `json:"EksNamespace,omitempty" name:"EksNamespace"`
	// Ingress rule name
	Name *string `json:"Name,omitempty" name:"Name"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    Predefined struct for user
type DeleteIngressResponse ¶
type DeleteIngressResponse struct {
	*tchttp.BaseResponse
	Response *DeleteIngressResponseParams `json:"Response"`
}
    func NewDeleteIngressResponse ¶
func NewDeleteIngressResponse() (response *DeleteIngressResponse)
func (*DeleteIngressResponse) FromJsonString ¶
func (r *DeleteIngressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteIngressResponse) ToJsonString ¶
func (r *DeleteIngressResponse) ToJsonString() string
type DeleteIngressResponseParams ¶
type DeleteIngressResponseParams struct {
	// Whether deletion succeeded
	Result *bool `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type DeployServiceV2Request ¶
type DeployServiceV2Request struct {
	*tchttp.BaseRequest
	// Service ID
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Container port
	ContainerPort *uint64 `json:"ContainerPort,omitempty" name:"ContainerPort"`
	// Number of initialized pods
	InitPodNum *uint64 `json:"InitPodNum,omitempty" name:"InitPodNum"`
	// CPU specification
	CpuSpec *float64 `json:"CpuSpec,omitempty" name:"CpuSpec"`
	// Memory specification
	MemorySpec *float64 `json:"MemorySpec,omitempty" name:"MemorySpec"`
	// Environment ID
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Image repository
	ImgRepo *string `json:"ImgRepo,omitempty" name:"ImgRepo"`
	// Version description
	VersionDesc *string `json:"VersionDesc,omitempty" name:"VersionDesc"`
	// Launch parameters
	JvmOpts *string `json:"JvmOpts,omitempty" name:"JvmOpts"`
	// Auto scaling configuration. If this parameter is left empty, auto scaling will not be enabled
	EsInfo *EsInfo `json:"EsInfo,omitempty" name:"EsInfo"`
	// Environment variable configuration
	EnvConf []*Pair `json:"EnvConf,omitempty" name:"EnvConf"`
	// Log configuration
	LogConfs []*string `json:"LogConfs,omitempty" name:"LogConfs"`
	// Data volume configuration
	StorageConfs []*StorageConf `json:"StorageConfs,omitempty" name:"StorageConfs"`
	// Data volume mount configuration
	StorageMountConfs []*StorageMountConf `json:"StorageMountConfs,omitempty" name:"StorageMountConfs"`
	// Deployment type.
	// - JAR: deployment through JAR package
	// - WAR: deployment through WAR package
	// - IMAGE: deployment through image
	DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"`
	// When the deployment type is `IMAGE`, this parameter indicates the image tag.
	// When the deployment type is `JAR` or `WAR`, this parameter indicates the package version number.
	DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"`
	// Package name, which is required when using JAR or WAR packages for deployment.
	PkgName *string `json:"PkgName,omitempty" name:"PkgName"`
	// JDK version.
	// - KONA: use KONA JDK.
	// - OPEN: use open JDK.
	JdkVersion *string `json:"JdkVersion,omitempty" name:"JdkVersion"`
	// Security group IDs
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`
	// Log output configuration
	LogOutputConf *LogOutputConf `json:"LogOutputConf,omitempty" name:"LogOutputConf"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Version description
	Description *string `json:"Description,omitempty" name:"Description"`
	// Image command
	ImageCommand *string `json:"ImageCommand,omitempty" name:"ImageCommand"`
	// Image command parameters
	ImageArgs []*string `json:"ImageArgs,omitempty" name:"ImageArgs"`
	// Service port mapping.
	PortMappings []*PortMapping `json:"PortMappings,omitempty" name:"PortMappings"`
	// Whether to add the registry’s default configurations.
	UseRegistryDefaultConfig *bool `json:"UseRegistryDefaultConfig,omitempty" name:"UseRegistryDefaultConfig"`
	// Mounting configurations
	SettingConfs []*MountedSettingConf `json:"SettingConfs,omitempty" name:"SettingConfs"`
	// EKS access configuration
	EksService *EksService `json:"EksService,omitempty" name:"EksService"`
	// ID of the version that you want to roll back to
	VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
	// The script to run after startup
	PostStart *string `json:"PostStart,omitempty" name:"PostStart"`
	// The script to run before stop
	PreStop *string `json:"PreStop,omitempty" name:"PreStop"`
	// Configuration of
	DeployStrategyConf *DeployStrategyConf `json:"DeployStrategyConf,omitempty" name:"DeployStrategyConf"`
	// Configuration of aliveness probe
	Liveness *HealthCheckConfig `json:"Liveness,omitempty" name:"Liveness"`
	// Configuration of readiness probe
	Readiness *HealthCheckConfig `json:"Readiness,omitempty" name:"Readiness"`
}
    func NewDeployServiceV2Request ¶
func NewDeployServiceV2Request() (request *DeployServiceV2Request)
func (*DeployServiceV2Request) FromJsonString ¶
func (r *DeployServiceV2Request) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployServiceV2Request) ToJsonString ¶
func (r *DeployServiceV2Request) ToJsonString() string
type DeployServiceV2RequestParams ¶
type DeployServiceV2RequestParams struct {
	// Service ID
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Container port
	ContainerPort *uint64 `json:"ContainerPort,omitempty" name:"ContainerPort"`
	// Number of initialized pods
	InitPodNum *uint64 `json:"InitPodNum,omitempty" name:"InitPodNum"`
	// CPU specification
	CpuSpec *float64 `json:"CpuSpec,omitempty" name:"CpuSpec"`
	// Memory specification
	MemorySpec *float64 `json:"MemorySpec,omitempty" name:"MemorySpec"`
	// Environment ID
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Image repository
	ImgRepo *string `json:"ImgRepo,omitempty" name:"ImgRepo"`
	// Version description
	VersionDesc *string `json:"VersionDesc,omitempty" name:"VersionDesc"`
	// Launch parameters
	JvmOpts *string `json:"JvmOpts,omitempty" name:"JvmOpts"`
	// Auto scaling configuration. If this parameter is left empty, auto scaling will not be enabled
	EsInfo *EsInfo `json:"EsInfo,omitempty" name:"EsInfo"`
	// Environment variable configuration
	EnvConf []*Pair `json:"EnvConf,omitempty" name:"EnvConf"`
	// Log configuration
	LogConfs []*string `json:"LogConfs,omitempty" name:"LogConfs"`
	// Data volume configuration
	StorageConfs []*StorageConf `json:"StorageConfs,omitempty" name:"StorageConfs"`
	// Data volume mount configuration
	StorageMountConfs []*StorageMountConf `json:"StorageMountConfs,omitempty" name:"StorageMountConfs"`
	// Deployment type.
	// - JAR: deployment through JAR package
	// - WAR: deployment through WAR package
	// - IMAGE: deployment through image
	DeployMode *string `json:"DeployMode,omitempty" name:"DeployMode"`
	// When the deployment type is `IMAGE`, this parameter indicates the image tag.
	// When the deployment type is `JAR` or `WAR`, this parameter indicates the package version number.
	DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"`
	// Package name, which is required when using JAR or WAR packages for deployment.
	PkgName *string `json:"PkgName,omitempty" name:"PkgName"`
	// JDK version.
	// - KONA: use KONA JDK.
	// - OPEN: use open JDK.
	JdkVersion *string `json:"JdkVersion,omitempty" name:"JdkVersion"`
	// Security group IDs
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`
	// Log output configuration
	LogOutputConf *LogOutputConf `json:"LogOutputConf,omitempty" name:"LogOutputConf"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Version description
	Description *string `json:"Description,omitempty" name:"Description"`
	// Image command
	ImageCommand *string `json:"ImageCommand,omitempty" name:"ImageCommand"`
	// Image command parameters
	ImageArgs []*string `json:"ImageArgs,omitempty" name:"ImageArgs"`
	// Service port mapping.
	PortMappings []*PortMapping `json:"PortMappings,omitempty" name:"PortMappings"`
	// Whether to add the registry’s default configurations.
	UseRegistryDefaultConfig *bool `json:"UseRegistryDefaultConfig,omitempty" name:"UseRegistryDefaultConfig"`
	// Mounting configurations
	SettingConfs []*MountedSettingConf `json:"SettingConfs,omitempty" name:"SettingConfs"`
	// EKS access configuration
	EksService *EksService `json:"EksService,omitempty" name:"EksService"`
	// ID of the version that you want to roll back to
	VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
	// The script to run after startup
	PostStart *string `json:"PostStart,omitempty" name:"PostStart"`
	// The script to run before stop
	PreStop *string `json:"PreStop,omitempty" name:"PreStop"`
	// Configuration of
	DeployStrategyConf *DeployStrategyConf `json:"DeployStrategyConf,omitempty" name:"DeployStrategyConf"`
	// Configuration of aliveness probe
	Liveness *HealthCheckConfig `json:"Liveness,omitempty" name:"Liveness"`
	// Configuration of readiness probe
	Readiness *HealthCheckConfig `json:"Readiness,omitempty" name:"Readiness"`
}
    Predefined struct for user
type DeployServiceV2Response ¶
type DeployServiceV2Response struct {
	*tchttp.BaseResponse
	Response *DeployServiceV2ResponseParams `json:"Response"`
}
    func NewDeployServiceV2Response ¶
func NewDeployServiceV2Response() (response *DeployServiceV2Response)
func (*DeployServiceV2Response) FromJsonString ¶
func (r *DeployServiceV2Response) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployServiceV2Response) ToJsonString ¶
func (r *DeployServiceV2Response) ToJsonString() string
type DeployServiceV2ResponseParams ¶
type DeployServiceV2ResponseParams struct {
	// Version ID (which can be ignored for the frontend)
	Result *string `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type DeployStrategyConf ¶
type DeployStrategyConf struct {
	// Total batches
	TotalBatchCount *int64 `json:"TotalBatchCount,omitempty" name:"TotalBatchCount"`
	// Number of instances for the beta batch
	BetaBatchNum *int64 `json:"BetaBatchNum,omitempty" name:"BetaBatchNum"`
	// Batch deploy policy. `0`: automatically; `1`: manually. If you use beta batch, the policy for beta batch must be `0`. The policy specified here only applies to the rest batches.
	DeployStrategyType *int64 `json:"DeployStrategyType,omitempty" name:"DeployStrategyType"`
	// Interval between batches
	BatchInterval *int64 `json:"BatchInterval,omitempty" name:"BatchInterval"`
}
    type DescribeIngressRequest ¶
type DescribeIngressRequest struct {
	*tchttp.BaseRequest
	// tem namespaceId
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// EKS namespace name
	EksNamespace *string `json:"EksNamespace,omitempty" name:"EksNamespace"`
	// Ingress rule name
	Name *string `json:"Name,omitempty" name:"Name"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    func NewDescribeIngressRequest ¶
func NewDescribeIngressRequest() (request *DescribeIngressRequest)
func (*DescribeIngressRequest) FromJsonString ¶
func (r *DescribeIngressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIngressRequest) ToJsonString ¶
func (r *DescribeIngressRequest) ToJsonString() string
type DescribeIngressRequestParams ¶
type DescribeIngressRequestParams struct {
	// tem namespaceId
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// EKS namespace name
	EksNamespace *string `json:"EksNamespace,omitempty" name:"EksNamespace"`
	// Ingress rule name
	Name *string `json:"Name,omitempty" name:"Name"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    Predefined struct for user
type DescribeIngressResponse ¶
type DescribeIngressResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIngressResponseParams `json:"Response"`
}
    func NewDescribeIngressResponse ¶
func NewDescribeIngressResponse() (response *DescribeIngressResponse)
func (*DescribeIngressResponse) FromJsonString ¶
func (r *DescribeIngressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIngressResponse) ToJsonString ¶
func (r *DescribeIngressResponse) ToJsonString() string
type DescribeIngressResponseParams ¶
type DescribeIngressResponseParams struct {
	// Ingress rule configuration
	Result *IngressInfo `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type DescribeIngressesRequest ¶
type DescribeIngressesRequest struct {
	*tchttp.BaseRequest
	// namespace id
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// namespace
	EksNamespace *string `json:"EksNamespace,omitempty" name:"EksNamespace"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Ingress rule name list.
	Names []*string `json:"Names,omitempty" name:"Names"`
}
    func NewDescribeIngressesRequest ¶
func NewDescribeIngressesRequest() (request *DescribeIngressesRequest)
func (*DescribeIngressesRequest) FromJsonString ¶
func (r *DescribeIngressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIngressesRequest) ToJsonString ¶
func (r *DescribeIngressesRequest) ToJsonString() string
type DescribeIngressesRequestParams ¶
type DescribeIngressesRequestParams struct {
	// namespace id
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// namespace
	EksNamespace *string `json:"EksNamespace,omitempty" name:"EksNamespace"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Ingress rule name list.
	Names []*string `json:"Names,omitempty" name:"Names"`
}
    Predefined struct for user
type DescribeIngressesResponse ¶
type DescribeIngressesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIngressesResponseParams `json:"Response"`
}
    func NewDescribeIngressesResponse ¶
func NewDescribeIngressesResponse() (response *DescribeIngressesResponse)
func (*DescribeIngressesResponse) FromJsonString ¶
func (r *DescribeIngressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIngressesResponse) ToJsonString ¶
func (r *DescribeIngressesResponse) ToJsonString() string
type DescribeIngressesResponseParams ¶
type DescribeIngressesResponseParams struct {
	// Ingress array
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result []*IngressInfo `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type DescribeNamespacesRequest ¶
type DescribeNamespacesRequest struct {
	*tchttp.BaseRequest
	// Number of items per page
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
	// Page number
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
	// Source
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    func NewDescribeNamespacesRequest ¶
func NewDescribeNamespacesRequest() (request *DescribeNamespacesRequest)
func (*DescribeNamespacesRequest) FromJsonString ¶
func (r *DescribeNamespacesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNamespacesRequest) ToJsonString ¶
func (r *DescribeNamespacesRequest) ToJsonString() string
type DescribeNamespacesRequestParams ¶
type DescribeNamespacesRequestParams struct {
	// Number of items per page
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
	// Page number
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
	// Source
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    Predefined struct for user
type DescribeNamespacesResponse ¶
type DescribeNamespacesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNamespacesResponseParams `json:"Response"`
}
    func NewDescribeNamespacesResponse ¶
func NewDescribeNamespacesResponse() (response *DescribeNamespacesResponse)
func (*DescribeNamespacesResponse) FromJsonString ¶
func (r *DescribeNamespacesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNamespacesResponse) ToJsonString ¶
func (r *DescribeNamespacesResponse) ToJsonString() string
type DescribeNamespacesResponseParams ¶
type DescribeNamespacesResponseParams struct {
	// Returned result
	Result *NamespacePage `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type DescribeRelatedIngressesRequest ¶
type DescribeRelatedIngressesRequest struct {
	*tchttp.BaseRequest
	// Environment ID.
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// EKS namespace.
	EksNamespace *string `json:"EksNamespace,omitempty" name:"EksNamespace"`
	// Source channel.
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Service ID.
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
}
    func NewDescribeRelatedIngressesRequest ¶
func NewDescribeRelatedIngressesRequest() (request *DescribeRelatedIngressesRequest)
func (*DescribeRelatedIngressesRequest) FromJsonString ¶
func (r *DescribeRelatedIngressesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRelatedIngressesRequest) ToJsonString ¶
func (r *DescribeRelatedIngressesRequest) ToJsonString() string
type DescribeRelatedIngressesRequestParams ¶
type DescribeRelatedIngressesRequestParams struct {
	// Environment ID.
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// EKS namespace.
	EksNamespace *string `json:"EksNamespace,omitempty" name:"EksNamespace"`
	// Source channel.
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
	// Service ID.
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
}
    Predefined struct for user
type DescribeRelatedIngressesResponse ¶
type DescribeRelatedIngressesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRelatedIngressesResponseParams `json:"Response"`
}
    func NewDescribeRelatedIngressesResponse ¶
func NewDescribeRelatedIngressesResponse() (response *DescribeRelatedIngressesResponse)
func (*DescribeRelatedIngressesResponse) FromJsonString ¶
func (r *DescribeRelatedIngressesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRelatedIngressesResponse) ToJsonString ¶
func (r *DescribeRelatedIngressesResponse) ToJsonString() string
type DescribeRelatedIngressesResponseParams ¶
type DescribeRelatedIngressesResponseParams struct {
	// Ingress array.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Result []*IngressInfo `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type DescribeRunPodPage ¶
type DescribeRunPodPage struct {
	// Page number
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
	// Number of items per page
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
	// Total number
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
	// Request ID
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	// Number of items
	PodList []*RunVersionPod `json:"PodList,omitempty" name:"PodList"`
}
    type DescribeServiceRunPodListV2Request ¶
type DescribeServiceRunPodListV2Request struct {
	*tchttp.BaseRequest
	// Environment ID
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Service name ID
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Number of items per page. Default value: 20
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
	// Page number. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
	// Pod status
	// - Running
	// - Pending
	// - Error
	Status *string `json:"Status,omitempty" name:"Status"`
	// Pod name
	PodName *string `json:"PodName,omitempty" name:"PodName"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    func NewDescribeServiceRunPodListV2Request ¶
func NewDescribeServiceRunPodListV2Request() (request *DescribeServiceRunPodListV2Request)
func (*DescribeServiceRunPodListV2Request) FromJsonString ¶
func (r *DescribeServiceRunPodListV2Request) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceRunPodListV2Request) ToJsonString ¶
func (r *DescribeServiceRunPodListV2Request) ToJsonString() string
type DescribeServiceRunPodListV2RequestParams ¶
type DescribeServiceRunPodListV2RequestParams struct {
	// Environment ID
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Service name ID
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Number of items per page. Default value: 20
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
	// Page number. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
	// Pod status
	// - Running
	// - Pending
	// - Error
	Status *string `json:"Status,omitempty" name:"Status"`
	// Pod name
	PodName *string `json:"PodName,omitempty" name:"PodName"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    Predefined struct for user
type DescribeServiceRunPodListV2Response ¶
type DescribeServiceRunPodListV2Response struct {
	*tchttp.BaseResponse
	Response *DescribeServiceRunPodListV2ResponseParams `json:"Response"`
}
    func NewDescribeServiceRunPodListV2Response ¶
func NewDescribeServiceRunPodListV2Response() (response *DescribeServiceRunPodListV2Response)
func (*DescribeServiceRunPodListV2Response) FromJsonString ¶
func (r *DescribeServiceRunPodListV2Response) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceRunPodListV2Response) ToJsonString ¶
func (r *DescribeServiceRunPodListV2Response) ToJsonString() string
type DescribeServiceRunPodListV2ResponseParams ¶
type DescribeServiceRunPodListV2ResponseParams struct {
	// Returned result
	Result *DescribeRunPodPage `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type EksService ¶
type EksService struct {
	// Service name
	Name *string `json:"Name,omitempty" name:"Name"`
	// Available ports
	Ports []*int64 `json:"Ports,omitempty" name:"Ports"`
	// Yaml contents
	Yaml *string `json:"Yaml,omitempty" name:"Yaml"`
	// Service name
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
	// Version name
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
	// Private IP
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	ClusterIp []*string `json:"ClusterIp,omitempty" name:"ClusterIp"`
	// Public IP
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	ExternalIp *string `json:"ExternalIp,omitempty" name:"ExternalIp"`
	// The access type. Valid values:
	// - EXTERNAL (internet access)
	// - VPC(Intra-VPC access)
	// - CLUSTER (Intra-cluster access)
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Type *string `json:"Type,omitempty" name:"Type"`
	// Subnet ID. It is filled when the access type is `VPC`.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
	// Load balancer ID. It is filled when the access type is `EXTERNAL` or `CLUSTER`. It’s created automatically by default.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	LoadBalanceId *string `json:"LoadBalanceId,omitempty" name:"LoadBalanceId"`
	// Port Mapping
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	PortMappings []*PortMapping `json:"PortMappings,omitempty" name:"PortMappings"`
}
    type EsInfo ¶
type EsInfo struct {
	// Minimum number of instances
	MinAliveInstances *int64 `json:"MinAliveInstances,omitempty" name:"MinAliveInstances"`
	// Maximum number of instances
	MaxAliveInstances *int64 `json:"MaxAliveInstances,omitempty" name:"MaxAliveInstances"`
	// Auto scaling policy. 1: CPU; 2: memory
	EsStrategy *int64 `json:"EsStrategy,omitempty" name:"EsStrategy"`
	// Auto scaling condition value
	Threshold *uint64 `json:"Threshold,omitempty" name:"Threshold"`
	// Version ID
	VersionId *string `json:"VersionId,omitempty" name:"VersionId"`
}
    type GenerateDownloadUrlRequest ¶
type GenerateDownloadUrlRequest struct {
	*tchttp.BaseRequest
	// Service ID
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Package Name
	PkgName *string `json:"PkgName,omitempty" name:"PkgName"`
	// Version of the package to download
	DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    func NewGenerateDownloadUrlRequest ¶
func NewGenerateDownloadUrlRequest() (request *GenerateDownloadUrlRequest)
func (*GenerateDownloadUrlRequest) FromJsonString ¶
func (r *GenerateDownloadUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GenerateDownloadUrlRequest) ToJsonString ¶
func (r *GenerateDownloadUrlRequest) ToJsonString() string
type GenerateDownloadUrlRequestParams ¶
type GenerateDownloadUrlRequestParams struct {
	// Service ID
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Package Name
	PkgName *string `json:"PkgName,omitempty" name:"PkgName"`
	// Version of the package to download
	DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    Predefined struct for user
type GenerateDownloadUrlResponse ¶
type GenerateDownloadUrlResponse struct {
	*tchttp.BaseResponse
	Response *GenerateDownloadUrlResponseParams `json:"Response"`
}
    func NewGenerateDownloadUrlResponse ¶
func NewGenerateDownloadUrlResponse() (response *GenerateDownloadUrlResponse)
func (*GenerateDownloadUrlResponse) FromJsonString ¶
func (r *GenerateDownloadUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GenerateDownloadUrlResponse) ToJsonString ¶
func (r *GenerateDownloadUrlResponse) ToJsonString() string
type GenerateDownloadUrlResponseParams ¶
type GenerateDownloadUrlResponseParams struct {
	// Temp download URL for the package
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Result *string `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type HealthCheckConfig ¶
type HealthCheckConfig struct {
	// Health check type. Valid values: `HttpGet`,`TcpSocket`,`Exec`
	Type *string `json:"Type,omitempty" name:"Type"`
	// The protocol type. It’s only valid when the health check type is `HttpGet`.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
	// The request path. It’s only valid when the health check type is `HttpGet`.
	Path *string `json:"Path,omitempty" name:"Path"`
	// The script to be executed. It’s only valid when the health check type is `Exec`.
	Exec *string `json:"Exec,omitempty" name:"Exec"`
	// The request port. It’s only valid when the health check type is `HttpGet` or `TcpSocket `.
	Port *int64 `json:"Port,omitempty" name:"Port"`
	// The initial delay for health check in seconds. Default: `0`
	InitialDelaySeconds *int64 `json:"InitialDelaySeconds,omitempty" name:"InitialDelaySeconds"`
	// Timeout period in seconds. Default: `1`
	TimeoutSeconds *int64 `json:"TimeoutSeconds,omitempty" name:"TimeoutSeconds"`
	// Interval period in seconds. Default: `10`
	PeriodSeconds *int64 `json:"PeriodSeconds,omitempty" name:"PeriodSeconds"`
}
    type IngressInfo ¶
type IngressInfo struct {
	// tem namespaceId
	// Note: this field may return null, indicating that no valid values can be obtained.
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// eks namespace
	EksNamespace *string `json:"EksNamespace,omitempty" name:"EksNamespace"`
	// ip version
	AddressIPVersion *string `json:"AddressIPVersion,omitempty" name:"AddressIPVersion"`
	// ingress name
	Name *string `json:"Name,omitempty" name:"Name"`
	// Rules configuration
	Rules []*IngressRule `json:"Rules,omitempty" name:"Rules"`
	// clb ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClbId *string `json:"ClbId,omitempty" name:"ClbId"`
	// TLS configuration
	// Note: this field may return null, indicating that no valid values can be obtained.
	Tls []*IngressTls `json:"Tls,omitempty" name:"Tls"`
	// eks clusterId
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`
	// clb ip
	// Note: this field may return null, indicating that no valid values can be obtained.
	Vip *string `json:"Vip,omitempty" name:"Vip"`
	// Creation time.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
	// Whether to listen on both the HTTP Port 80 and HTTPS Port 443. The default value is `false`. The optional value `true` means listening on both the HTTP Port 80 and HTTPS Port 443.
	Mixed *bool `json:"Mixed,omitempty" name:"Mixed"`
}
    type IngressRule ¶
type IngressRule struct {
	// ingress rule value
	Http *IngressRuleValue `json:"Http,omitempty" name:"Http"`
	// Host address
	// Note: this field may return null, indicating that no valid values can be obtained.
	Host *string `json:"Host,omitempty" name:"Host"`
	// Protocol. Options include HTTP and HTTPS. The default option is HTTP.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
}
    type IngressRuleBackend ¶
type IngressRulePath ¶
type IngressRulePath struct {
	// Path information
	Path *string `json:"Path,omitempty" name:"Path"`
	// Backend configuration
	Backend *IngressRuleBackend `json:"Backend,omitempty" name:"Backend"`
}
    type IngressRuleValue ¶
type IngressRuleValue struct {
	// Overall rule configuration
	Paths []*IngressRulePath `json:"Paths,omitempty" name:"Paths"`
}
    type IngressTls ¶
type IngressTls struct {
	// Host array. An empty array indicates the default certificate for all domain names.
	Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`
	// Secret name. If a certificate is used, this field is left empty.
	SecretName *string `json:"SecretName,omitempty" name:"SecretName"`
	// SSL Certificate Id
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}
    type LogOutputConf ¶
type LogOutputConf struct {
	// Log consumer type
	OutputType *string `json:"OutputType,omitempty" name:"OutputType"`
	// CLS logset
	ClsLogsetName *string `json:"ClsLogsetName,omitempty" name:"ClsLogsetName"`
	// CLS log topic
	ClsLogTopicId *string `json:"ClsLogTopicId,omitempty" name:"ClsLogTopicId"`
	// CLS logset ID
	ClsLogsetId *string `json:"ClsLogsetId,omitempty" name:"ClsLogsetId"`
	// CLS log topic name
	ClsLogTopicName *string `json:"ClsLogTopicName,omitempty" name:"ClsLogTopicName"`
}
    type ModifyIngressRequest ¶
type ModifyIngressRequest struct {
	*tchttp.BaseRequest
	// Ingress rule configuration
	Ingress *IngressInfo `json:"Ingress,omitempty" name:"Ingress"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    func NewModifyIngressRequest ¶
func NewModifyIngressRequest() (request *ModifyIngressRequest)
func (*ModifyIngressRequest) FromJsonString ¶
func (r *ModifyIngressRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIngressRequest) ToJsonString ¶
func (r *ModifyIngressRequest) ToJsonString() string
type ModifyIngressRequestParams ¶
type ModifyIngressRequestParams struct {
	// Ingress rule configuration
	Ingress *IngressInfo `json:"Ingress,omitempty" name:"Ingress"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    Predefined struct for user
type ModifyIngressResponse ¶
type ModifyIngressResponse struct {
	*tchttp.BaseResponse
	Response *ModifyIngressResponseParams `json:"Response"`
}
    func NewModifyIngressResponse ¶
func NewModifyIngressResponse() (response *ModifyIngressResponse)
func (*ModifyIngressResponse) FromJsonString ¶
func (r *ModifyIngressResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyIngressResponse) ToJsonString ¶
func (r *ModifyIngressResponse) ToJsonString() string
type ModifyIngressResponseParams ¶
type ModifyIngressResponseParams struct {
	// Created successfully
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type ModifyNamespaceRequest ¶
type ModifyNamespaceRequest struct {
	*tchttp.BaseRequest
	// Environment ID
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Namespace name
	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
	// Namespace description
	Description *string `json:"Description,omitempty" name:"Description"`
	// VPC name
	Vpc *string `json:"Vpc,omitempty" name:"Vpc"`
	// Subnet
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    func NewModifyNamespaceRequest ¶
func NewModifyNamespaceRequest() (request *ModifyNamespaceRequest)
func (*ModifyNamespaceRequest) FromJsonString ¶
func (r *ModifyNamespaceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNamespaceRequest) ToJsonString ¶
func (r *ModifyNamespaceRequest) ToJsonString() string
type ModifyNamespaceRequestParams ¶
type ModifyNamespaceRequestParams struct {
	// Environment ID
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Namespace name
	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
	// Namespace description
	Description *string `json:"Description,omitempty" name:"Description"`
	// VPC name
	Vpc *string `json:"Vpc,omitempty" name:"Vpc"`
	// Subnet
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"`
	// Source channel
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    Predefined struct for user
type ModifyNamespaceResponse ¶
type ModifyNamespaceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyNamespaceResponseParams `json:"Response"`
}
    func NewModifyNamespaceResponse ¶
func NewModifyNamespaceResponse() (response *ModifyNamespaceResponse)
func (*ModifyNamespaceResponse) FromJsonString ¶
func (r *ModifyNamespaceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyNamespaceResponse) ToJsonString ¶
func (r *ModifyNamespaceResponse) ToJsonString() string
type ModifyNamespaceResponseParams ¶
type ModifyNamespaceResponseParams struct {
	// Namespace ID in case of success and `null` in case of failure
	// Note: this field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type ModifyServiceInfoRequest ¶
type ModifyServiceInfoRequest struct {
	*tchttp.BaseRequest
	// Service ID.
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Description.
	Description *string `json:"Description,omitempty" name:"Description"`
	// Source channel.
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    func NewModifyServiceInfoRequest ¶
func NewModifyServiceInfoRequest() (request *ModifyServiceInfoRequest)
func (*ModifyServiceInfoRequest) FromJsonString ¶
func (r *ModifyServiceInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyServiceInfoRequest) ToJsonString ¶
func (r *ModifyServiceInfoRequest) ToJsonString() string
type ModifyServiceInfoRequestParams ¶
type ModifyServiceInfoRequestParams struct {
	// Service ID.
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Description.
	Description *string `json:"Description,omitempty" name:"Description"`
	// Source channel.
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    Predefined struct for user
type ModifyServiceInfoResponse ¶
type ModifyServiceInfoResponse struct {
	*tchttp.BaseResponse
	Response *ModifyServiceInfoResponseParams `json:"Response"`
}
    func NewModifyServiceInfoResponse ¶
func NewModifyServiceInfoResponse() (response *ModifyServiceInfoResponse)
func (*ModifyServiceInfoResponse) FromJsonString ¶
func (r *ModifyServiceInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyServiceInfoResponse) ToJsonString ¶
func (r *ModifyServiceInfoResponse) ToJsonString() string
type ModifyServiceInfoResponseParams ¶
type ModifyServiceInfoResponseParams struct {
	// Results.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Result *bool `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type MountedSettingConf ¶
type NamespacePage ¶
type NamespacePage struct {
	// Records
	Records []*TemNamespaceInfo `json:"Records,omitempty" name:"Records"`
	// Total number
	Total *int64 `json:"Total,omitempty" name:"Total"`
	// Number of items
	Size *int64 `json:"Size,omitempty" name:"Size"`
	// Number of pages
	Pages *int64 `json:"Pages,omitempty" name:"Pages"`
}
    type PortMapping ¶
type RestartServiceRunPodRequest ¶
type RestartServiceRunPodRequest struct {
	*tchttp.BaseRequest
	// Environment ID.
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Service ID.
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Pod name.
	PodName *string `json:"PodName,omitempty" name:"PodName"`
	// Number of items per page.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
	// Page number.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
	// Pod status.
	Status *string `json:"Status,omitempty" name:"Status"`
	// Source channel.
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    func NewRestartServiceRunPodRequest ¶
func NewRestartServiceRunPodRequest() (request *RestartServiceRunPodRequest)
func (*RestartServiceRunPodRequest) FromJsonString ¶
func (r *RestartServiceRunPodRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartServiceRunPodRequest) ToJsonString ¶
func (r *RestartServiceRunPodRequest) ToJsonString() string
type RestartServiceRunPodRequestParams ¶
type RestartServiceRunPodRequestParams struct {
	// Environment ID.
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Service ID.
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`
	// Pod name.
	PodName *string `json:"PodName,omitempty" name:"PodName"`
	// Number of items per page.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
	// Page number.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`
	// Pod status.
	Status *string `json:"Status,omitempty" name:"Status"`
	// Source channel.
	SourceChannel *int64 `json:"SourceChannel,omitempty" name:"SourceChannel"`
}
    Predefined struct for user
type RestartServiceRunPodResponse ¶
type RestartServiceRunPodResponse struct {
	*tchttp.BaseResponse
	Response *RestartServiceRunPodResponseParams `json:"Response"`
}
    func NewRestartServiceRunPodResponse ¶
func NewRestartServiceRunPodResponse() (response *RestartServiceRunPodResponse)
func (*RestartServiceRunPodResponse) FromJsonString ¶
func (r *RestartServiceRunPodResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartServiceRunPodResponse) ToJsonString ¶
func (r *RestartServiceRunPodResponse) ToJsonString() string
type RestartServiceRunPodResponseParams ¶
type RestartServiceRunPodResponseParams struct {
	// Returned results.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Result *bool `json:"Result,omitempty" name:"Result"`
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
    Predefined struct for user
type RunVersionPod ¶
type RunVersionPod struct {
	// Shell address
	Webshell *string `json:"Webshell,omitempty" name:"Webshell"`
	// Pod ID
	PodId *string `json:"PodId,omitempty" name:"PodId"`
	// Status
	Status *string `json:"Status,omitempty" name:"Status"`
	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
	// Pod IP.
	PodIp *string `json:"PodIp,omitempty" name:"PodIp"`
	// Availability zone.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Zone *string `json:"Zone,omitempty" name:"Zone"`
	// Deployed version.
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	DeployVersion *string `json:"DeployVersion,omitempty" name:"DeployVersion"`
	// Number of Restarts
	// Note: This is field may return `null`, indicating that no valid value can be obtained.
	RestartCount *int64 `json:"RestartCount,omitempty" name:"RestartCount"`
}
    type StorageConf ¶
type StorageConf struct {
	// Storage volume name
	StorageVolName *string `json:"StorageVolName,omitempty" name:"StorageVolName"`
	// Storage volume path
	StorageVolPath *string `json:"StorageVolPath,omitempty" name:"StorageVolPath"`
	// Storage volume IP
	// Note: this field may return null, indicating that no valid values can be obtained.
	StorageVolIp *string `json:"StorageVolIp,omitempty" name:"StorageVolIp"`
}
    type StorageMountConf ¶
type TemNamespaceInfo ¶
type TemNamespaceInfo struct {
	// Namespace ID
	NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"`
	// Channel
	Channel *string `json:"Channel,omitempty" name:"Channel"`
	// Namespace name
	NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"`
	// Region name
	Region *string `json:"Region,omitempty" name:"Region"`
	// Namespace description
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`
	// Status. 1: terminated; 0: normal
	Status *int64 `json:"Status,omitempty" name:"Status"`
	// VPC
	Vpc *string `json:"Vpc,omitempty" name:"Vpc"`
	// Creation time
	CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"`
	// Modification time
	ModifyDate *string `json:"ModifyDate,omitempty" name:"ModifyDate"`
	// Modifier
	Modifier *string `json:"Modifier,omitempty" name:"Modifier"`
	// Creator
	Creator *string `json:"Creator,omitempty" name:"Creator"`
	// Number of services
	ServiceNum *int64 `json:"ServiceNum,omitempty" name:"ServiceNum"`
	// Number of running instances
	RunInstancesNum *int64 `json:"RunInstancesNum,omitempty" name:"RunInstancesNum"`
	// Subnet
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
	// TCB environment status
	TcbEnvStatus *string `json:"TcbEnvStatus,omitempty" name:"TcbEnvStatus"`
	// eks cluster status
	ClusterStatus *string `json:"ClusterStatus,omitempty" name:"ClusterStatus"`
	// Whether to enable TSW
	EnableTswTraceService *bool `json:"EnableTswTraceService,omitempty" name:"EnableTswTraceService"`
}