Documentation ¶
Index ¶
- Constants
- type APM
- type AccessLogConfig
- type ActiveOperation
- type AutoInjectionNamespaceState
- type CLS
- type Client
- func (c *Client) CreateMesh(request *CreateMeshRequest) (response *CreateMeshResponse, err error)
- func (c *Client) CreateMeshWithContext(ctx context.Context, request *CreateMeshRequest) (response *CreateMeshResponse, err error)
- func (c *Client) DeleteMesh(request *DeleteMeshRequest) (response *DeleteMeshResponse, err error)
- func (c *Client) DeleteMeshWithContext(ctx context.Context, request *DeleteMeshRequest) (response *DeleteMeshResponse, err error)
- func (c *Client) DescribeAccessLogConfig(request *DescribeAccessLogConfigRequest) (response *DescribeAccessLogConfigResponse, err error)
- func (c *Client) DescribeAccessLogConfigWithContext(ctx context.Context, request *DescribeAccessLogConfigRequest) (response *DescribeAccessLogConfigResponse, err error)
- func (c *Client) DescribeMesh(request *DescribeMeshRequest) (response *DescribeMeshResponse, err error)
- func (c *Client) DescribeMeshList(request *DescribeMeshListRequest) (response *DescribeMeshListResponse, err error)
- func (c *Client) DescribeMeshListWithContext(ctx context.Context, request *DescribeMeshListRequest) (response *DescribeMeshListResponse, err error)
- func (c *Client) DescribeMeshWithContext(ctx context.Context, request *DescribeMeshRequest) (response *DescribeMeshResponse, err error)
- func (c *Client) LinkClusterList(request *LinkClusterListRequest) (response *LinkClusterListResponse, err error)
- func (c *Client) LinkClusterListWithContext(ctx context.Context, request *LinkClusterListRequest) (response *LinkClusterListResponse, err error)
- func (c *Client) LinkPrometheus(request *LinkPrometheusRequest) (response *LinkPrometheusResponse, err error)
- func (c *Client) LinkPrometheusWithContext(ctx context.Context, request *LinkPrometheusRequest) (response *LinkPrometheusResponse, err error)
- func (c *Client) ModifyAccessLogConfig(request *ModifyAccessLogConfigRequest) (response *ModifyAccessLogConfigResponse, err error)
- func (c *Client) ModifyAccessLogConfigWithContext(ctx context.Context, request *ModifyAccessLogConfigRequest) (response *ModifyAccessLogConfigResponse, err error)
- func (c *Client) ModifyMesh(request *ModifyMeshRequest) (response *ModifyMeshResponse, err error)
- func (c *Client) ModifyMeshWithContext(ctx context.Context, request *ModifyMeshRequest) (response *ModifyMeshResponse, err error)
- func (c *Client) ModifyTracingConfig(request *ModifyTracingConfigRequest) (response *ModifyTracingConfigResponse, err error)
- func (c *Client) ModifyTracingConfigWithContext(ctx context.Context, request *ModifyTracingConfigRequest) (response *ModifyTracingConfigResponse, err error)
- func (c *Client) UnlinkCluster(request *UnlinkClusterRequest) (response *UnlinkClusterResponse, err error)
- func (c *Client) UnlinkClusterWithContext(ctx context.Context, request *UnlinkClusterRequest) (response *UnlinkClusterResponse, err error)
- func (c *Client) UnlinkPrometheus(request *UnlinkPrometheusRequest) (response *UnlinkPrometheusResponse, err error)
- func (c *Client) UnlinkPrometheusWithContext(ctx context.Context, request *UnlinkPrometheusRequest) (response *UnlinkPrometheusResponse, err error)
- type Cluster
- type ClusterConfig
- type ClusterStatus
- type CreateMeshRequest
- type CreateMeshRequestParams
- type CreateMeshResponse
- type CreateMeshResponseParams
- type CrossRegionConfig
- type CustomPromConfig
- type DeleteMeshRequest
- type DeleteMeshRequestParams
- type DeleteMeshResponse
- type DeleteMeshResponseParams
- type DeployConfig
- type DescribeAccessLogConfigRequest
- type DescribeAccessLogConfigRequestParams
- type DescribeAccessLogConfigResponse
- type DescribeAccessLogConfigResponseParams
- type DescribeMeshListRequest
- type DescribeMeshListRequestParams
- type DescribeMeshListResponse
- type DescribeMeshListResponseParams
- type DescribeMeshRequest
- type DescribeMeshRequestParams
- type DescribeMeshResponse
- type DescribeMeshResponseParams
- type EgressGateway
- type EgressGatewayStatus
- type ExtensiveCluster
- type ExtensiveClusters
- type Filter
- type GrafanaInfo
- type HorizontalPodAutoscalerSpec
- type IngressGateway
- type IngressGatewayStatus
- type InjectConfig
- type IstioConfig
- type IstiodConfig
- type LinkClusterListRequest
- type LinkClusterListRequestParams
- type LinkClusterListResponse
- type LinkClusterListResponseParams
- type LinkPrometheusRequest
- type LinkPrometheusRequestParams
- type LinkPrometheusResponse
- type LinkPrometheusResponseParams
- type LoadBalancer
- type LoadBalancerStatus
- type Mesh
- type MeshConfig
- type MeshStatus
- type MetricSpec
- type ModifyAccessLogConfigRequest
- type ModifyAccessLogConfigRequestParams
- type ModifyAccessLogConfigResponse
- type ModifyAccessLogConfigResponseParams
- type ModifyMeshRequest
- type ModifyMeshRequestParams
- type ModifyMeshResponse
- type ModifyMeshResponseParams
- type ModifyTracingConfigRequest
- type ModifyTracingConfigRequestParams
- type ModifyTracingConfigResponse
- type ModifyTracingConfigResponseParams
- type PodsMetricSource
- type PrometheusConfig
- type PrometheusStatus
- type Resource
- type ResourceMetricSource
- type ResourceRequirements
- type SelectedItems
- type SelectedRange
- type Service
- type SmartDNSConfig
- type Tag
- type TracingConfig
- type TracingZipkin
- type UnlinkClusterRequest
- type UnlinkClusterRequestParams
- type UnlinkClusterResponse
- type UnlinkClusterResponseParams
- type UnlinkPrometheusRequest
- type UnlinkPrometheusRequestParams
- type UnlinkPrometheusResponse
- type UnlinkPrometheusResponseParams
- type WorkloadConfig
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 集群资源不足。 FAILEDOPERATION_CLUSTERNOENOUGHRESOURCE = "FailedOperation.ClusterNoEnoughResource" // Cluster RBAC权限限制。 FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" // 内部错误。 INTERNALERROR = "InternalError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2021-04-13"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APM ¶ added in v1.0.355
type APM struct { // 是否启用 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 地域 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // APM 实例,如果创建时传入的参数为空,则表示自动创建 APM 实例。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
type AccessLogConfig ¶
type AccessLogConfig struct { // 是否启用 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 采用的模板,可选值:istio(默认)、trace Template *string `json:"Template,omitnil,omitempty" name:"Template"` // 选中的范围 SelectedRange *SelectedRange `json:"SelectedRange,omitnil,omitempty" name:"SelectedRange"` // 腾讯云日志服务相关参数 CLS *CLS `json:"CLS,omitnil,omitempty" name:"CLS"` // 编码格式,可选值:TEXT、JSON Encoding *string `json:"Encoding,omitnil,omitempty" name:"Encoding"` // 日志格式 Format *string `json:"Format,omitnil,omitempty" name:"Format"` // GRPC第三方服务器地址 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // 是否启用GRPC第三方服务器 EnableServer *bool `json:"EnableServer,omitnil,omitempty" name:"EnableServer"` // 是否启用标准输出 EnableStdout *bool `json:"EnableStdout,omitnil,omitempty" name:"EnableStdout"` }
type ActiveOperation ¶
type CLS ¶
type CLS struct { // 是否启用 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 日志集 LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"` // 日志主题 Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"` // 是否删除 NeedDelete *bool `json:"NeedDelete,omitnil,omitempty" name:"NeedDelete"` // cls 主题创建的地域 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateMesh ¶ added in v1.0.511
func (c *Client) CreateMesh(request *CreateMeshRequest) (response *CreateMeshResponse, err error)
CreateMesh 创建网格
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateMeshWithContext ¶ added in v1.0.511
func (c *Client) CreateMeshWithContext(ctx context.Context, request *CreateMeshRequest) (response *CreateMeshResponse, err error)
CreateMesh 创建网格
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteMesh ¶ added in v1.0.511
func (c *Client) DeleteMesh(request *DeleteMeshRequest) (response *DeleteMeshResponse, err error)
DeleteMesh 删除网格
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteMeshWithContext ¶ added in v1.0.511
func (c *Client) DeleteMeshWithContext(ctx context.Context, request *DeleteMeshRequest) (response *DeleteMeshResponse, err error)
DeleteMesh 删除网格
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeAccessLogConfig ¶ added in v1.0.544
func (c *Client) DescribeAccessLogConfig(request *DescribeAccessLogConfigRequest) (response *DescribeAccessLogConfigResponse, err error)
DescribeAccessLogConfig 获取AccessLog配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeAccessLogConfigWithContext ¶ added in v1.0.544
func (c *Client) DescribeAccessLogConfigWithContext(ctx context.Context, request *DescribeAccessLogConfigRequest) (response *DescribeAccessLogConfigResponse, err error)
DescribeAccessLogConfig 获取AccessLog配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeMesh ¶
func (c *Client) DescribeMesh(request *DescribeMeshRequest) (response *DescribeMeshResponse, err error)
DescribeMesh 查询网格详情
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeMeshList ¶
func (c *Client) DescribeMeshList(request *DescribeMeshListRequest) (response *DescribeMeshListResponse, err error)
DescribeMeshList 查询网格列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeMeshListWithContext ¶ added in v1.0.324
func (c *Client) DescribeMeshListWithContext(ctx context.Context, request *DescribeMeshListRequest) (response *DescribeMeshListResponse, err error)
DescribeMeshList 查询网格列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeMeshWithContext ¶ added in v1.0.324
func (c *Client) DescribeMeshWithContext(ctx context.Context, request *DescribeMeshRequest) (response *DescribeMeshResponse, err error)
DescribeMesh 查询网格详情
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) LinkClusterList ¶ added in v1.0.518
func (c *Client) LinkClusterList(request *LinkClusterListRequest) (response *LinkClusterListResponse, err error)
LinkClusterList 关联集群
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) LinkClusterListWithContext ¶ added in v1.0.518
func (c *Client) LinkClusterListWithContext(ctx context.Context, request *LinkClusterListRequest) (response *LinkClusterListResponse, err error)
LinkClusterList 关联集群
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) LinkPrometheus ¶ added in v1.0.527
func (c *Client) LinkPrometheus(request *LinkPrometheusRequest) (response *LinkPrometheusResponse, err error)
LinkPrometheus 关联Prometheus
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERNOENOUGHRESOURCE = "FailedOperation.ClusterNoEnoughResource" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) LinkPrometheusWithContext ¶ added in v1.0.527
func (c *Client) LinkPrometheusWithContext(ctx context.Context, request *LinkPrometheusRequest) (response *LinkPrometheusResponse, err error)
LinkPrometheus 关联Prometheus
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLUSTERNOENOUGHRESOURCE = "FailedOperation.ClusterNoEnoughResource" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyAccessLogConfig ¶ added in v1.0.544
func (c *Client) ModifyAccessLogConfig(request *ModifyAccessLogConfigRequest) (response *ModifyAccessLogConfigResponse, err error)
ModifyAccessLogConfig 修改访问日志配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyAccessLogConfigWithContext ¶ added in v1.0.544
func (c *Client) ModifyAccessLogConfigWithContext(ctx context.Context, request *ModifyAccessLogConfigRequest) (response *ModifyAccessLogConfigResponse, err error)
ModifyAccessLogConfig 修改访问日志配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyMesh ¶ added in v1.0.511
func (c *Client) ModifyMesh(request *ModifyMeshRequest) (response *ModifyMeshResponse, err error)
ModifyMesh 修改网格
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyMeshWithContext ¶ added in v1.0.511
func (c *Client) ModifyMeshWithContext(ctx context.Context, request *ModifyMeshRequest) (response *ModifyMeshResponse, err error)
ModifyMesh 修改网格
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyTracingConfig ¶ added in v1.0.528
func (c *Client) ModifyTracingConfig(request *ModifyTracingConfigRequest) (response *ModifyTracingConfigResponse, err error)
ModifyTracingConfig 修改 Tracing 配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyTracingConfigWithContext ¶ added in v1.0.528
func (c *Client) ModifyTracingConfigWithContext(ctx context.Context, request *ModifyTracingConfigRequest) (response *ModifyTracingConfigResponse, err error)
ModifyTracingConfig 修改 Tracing 配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UnlinkCluster ¶ added in v1.0.518
func (c *Client) UnlinkCluster(request *UnlinkClusterRequest) (response *UnlinkClusterResponse, err error)
UnlinkCluster 解关联集群
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UnlinkClusterWithContext ¶ added in v1.0.518
func (c *Client) UnlinkClusterWithContext(ctx context.Context, request *UnlinkClusterRequest) (response *UnlinkClusterResponse, err error)
UnlinkCluster 解关联集群
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UnlinkPrometheus ¶ added in v1.0.527
func (c *Client) UnlinkPrometheus(request *UnlinkPrometheusRequest) (response *UnlinkPrometheusResponse, err error)
UnlinkPrometheus 解除关联Prometheus
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) UnlinkPrometheusWithContext ¶ added in v1.0.527
func (c *Client) UnlinkPrometheusWithContext(ctx context.Context, request *UnlinkPrometheusRequest) (response *UnlinkPrometheusResponse, err error)
UnlinkPrometheus 解除关联Prometheus
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type Cluster ¶
type Cluster struct { // 集群Id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 集群角色,取值范围: // - MASTER:控制面所在的主集群 // - REMOTE:主集群管理的远端集群 Role *string `json:"Role,omitnil,omitempty" name:"Role"` // 私有网络Id VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网Id SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 名称,只读 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // 状态,只读 State *string `json:"State,omitnil,omitempty" name:"State"` // 关联时间,只读 LinkedTime *string `json:"LinkedTime,omitnil,omitempty" name:"LinkedTime"` // 集群配置 Config *ClusterConfig `json:"Config,omitnil,omitempty" name:"Config"` // 详细状态,只读 Status *ClusterStatus `json:"Status,omitnil,omitempty" name:"Status"` // 类型,取值范围: // - TKE // - EKS Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 集群关联的 Namespace 列表 HostedNamespaces []*string `json:"HostedNamespaces,omitnil,omitempty" name:"HostedNamespaces"` }
type ClusterConfig ¶
type ClusterConfig struct { // 自动注入SideCar的NameSpace AutoInjectionNamespaceList []*string `json:"AutoInjectionNamespaceList,omitnil,omitempty" name:"AutoInjectionNamespaceList"` // Ingress配置列表 IngressGatewayList []*IngressGateway `json:"IngressGatewayList,omitnil,omitempty" name:"IngressGatewayList"` // Egress配置列表 EgressGatewayList []*EgressGateway `json:"EgressGatewayList,omitnil,omitempty" name:"EgressGatewayList"` // Istiod配置 // 注意:此字段可能返回 null,表示取不到有效值。 Istiod *IstiodConfig `json:"Istiod,omitnil,omitempty" name:"Istiod"` // 部署配置 DeployConfig *DeployConfig `json:"DeployConfig,omitnil,omitempty" name:"DeployConfig"` // 自动注入命名空间状态列表 AutoInjectionNamespaceStateList []*AutoInjectionNamespaceState `json:"AutoInjectionNamespaceStateList,omitnil,omitempty" name:"AutoInjectionNamespaceStateList"` }
type ClusterStatus ¶
type ClusterStatus struct { // 关联状态,取值范围: // - LINKING: 关联中 // - LINKED: 已关联 // - UNLINKING: 解关联中 // - LINK_FAILED: 关联失败 // - UNLINK_FAILED: 解关联失败 LinkState *string `json:"LinkState,omitnil,omitempty" name:"LinkState"` // 关联错误详情 // 注意:此字段可能返回 null,表示取不到有效值。 LinkErrorDetail *string `json:"LinkErrorDetail,omitnil,omitempty" name:"LinkErrorDetail"` }
type CreateMeshRequest ¶ added in v1.0.511
type CreateMeshRequest struct { *tchttp.BaseRequest // Mesh名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // Mesh版本 MeshVersion *string `json:"MeshVersion,omitnil,omitempty" name:"MeshVersion"` // Mesh类型,取值范围: // - HOSTED:托管网格 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Mesh配置 Config *MeshConfig `json:"Config,omitnil,omitempty" name:"Config"` // 关联集群 ClusterList []*Cluster `json:"ClusterList,omitnil,omitempty" name:"ClusterList"` // 标签列表 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` }
func NewCreateMeshRequest ¶ added in v1.0.511
func NewCreateMeshRequest() (request *CreateMeshRequest)
func (*CreateMeshRequest) FromJsonString ¶ added in v1.0.511
func (r *CreateMeshRequest) 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 (*CreateMeshRequest) ToJsonString ¶ added in v1.0.511
func (r *CreateMeshRequest) ToJsonString() string
type CreateMeshRequestParams ¶ added in v1.0.511
type CreateMeshRequestParams struct { // Mesh名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // Mesh版本 MeshVersion *string `json:"MeshVersion,omitnil,omitempty" name:"MeshVersion"` // Mesh类型,取值范围: // - HOSTED:托管网格 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Mesh配置 Config *MeshConfig `json:"Config,omitnil,omitempty" name:"Config"` // 关联集群 ClusterList []*Cluster `json:"ClusterList,omitnil,omitempty" name:"ClusterList"` // 标签列表 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` }
Predefined struct for user
type CreateMeshResponse ¶ added in v1.0.511
type CreateMeshResponse struct { *tchttp.BaseResponse Response *CreateMeshResponseParams `json:"Response"` }
func NewCreateMeshResponse ¶ added in v1.0.511
func NewCreateMeshResponse() (response *CreateMeshResponse)
func (*CreateMeshResponse) FromJsonString ¶ added in v1.0.511
func (r *CreateMeshResponse) 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 (*CreateMeshResponse) ToJsonString ¶ added in v1.0.511
func (r *CreateMeshResponse) ToJsonString() string
type CreateMeshResponseParams ¶ added in v1.0.511
type CreateMeshResponseParams struct { // 创建的Mesh的Id MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CrossRegionConfig ¶ added in v1.0.504
type CrossRegionConfig struct { }
type CustomPromConfig ¶ added in v1.0.415
type CustomPromConfig struct { // Prometheus 访问地址 Url *string `json:"Url,omitnil,omitempty" name:"Url"` // 认证方式 AuthType *string `json:"AuthType,omitnil,omitempty" name:"AuthType"` // 是否公网地址,缺省为 false IsPublicAddr *bool `json:"IsPublicAddr,omitnil,omitempty" name:"IsPublicAddr"` // 虚拟网络id VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Prometheus 用户名(用于 basic 认证方式) Username *string `json:"Username,omitnil,omitempty" name:"Username"` // Prometheus 密码(用于 basic 认证方式) Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
type DeleteMeshRequest ¶ added in v1.0.511
type DeleteMeshRequest struct { *tchttp.BaseRequest // 需要删除的MeshId MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // CLS组件是否被删除 NeedDeleteCLS *bool `json:"NeedDeleteCLS,omitnil,omitempty" name:"NeedDeleteCLS"` // TMP组件是否被删除 NeedDeleteTMP *bool `json:"NeedDeleteTMP,omitnil,omitempty" name:"NeedDeleteTMP"` // APM组件是否被删除 NeedDeleteAPM *bool `json:"NeedDeleteAPM,omitnil,omitempty" name:"NeedDeleteAPM"` // Grafana组件是否被删除 NeedDeleteGrafana *bool `json:"NeedDeleteGrafana,omitnil,omitempty" name:"NeedDeleteGrafana"` }
func NewDeleteMeshRequest ¶ added in v1.0.511
func NewDeleteMeshRequest() (request *DeleteMeshRequest)
func (*DeleteMeshRequest) FromJsonString ¶ added in v1.0.511
func (r *DeleteMeshRequest) 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 (*DeleteMeshRequest) ToJsonString ¶ added in v1.0.511
func (r *DeleteMeshRequest) ToJsonString() string
type DeleteMeshRequestParams ¶ added in v1.0.511
type DeleteMeshRequestParams struct { // 需要删除的MeshId MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // CLS组件是否被删除 NeedDeleteCLS *bool `json:"NeedDeleteCLS,omitnil,omitempty" name:"NeedDeleteCLS"` // TMP组件是否被删除 NeedDeleteTMP *bool `json:"NeedDeleteTMP,omitnil,omitempty" name:"NeedDeleteTMP"` // APM组件是否被删除 NeedDeleteAPM *bool `json:"NeedDeleteAPM,omitnil,omitempty" name:"NeedDeleteAPM"` // Grafana组件是否被删除 NeedDeleteGrafana *bool `json:"NeedDeleteGrafana,omitnil,omitempty" name:"NeedDeleteGrafana"` }
Predefined struct for user
type DeleteMeshResponse ¶ added in v1.0.511
type DeleteMeshResponse struct { *tchttp.BaseResponse Response *DeleteMeshResponseParams `json:"Response"` }
func NewDeleteMeshResponse ¶ added in v1.0.511
func NewDeleteMeshResponse() (response *DeleteMeshResponse)
func (*DeleteMeshResponse) FromJsonString ¶ added in v1.0.511
func (r *DeleteMeshResponse) 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 (*DeleteMeshResponse) ToJsonString ¶ added in v1.0.511
func (r *DeleteMeshResponse) ToJsonString() string
type DeleteMeshResponseParams ¶ added in v1.0.511
type DeleteMeshResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeployConfig ¶
type DescribeAccessLogConfigRequest ¶ added in v1.0.544
type DescribeAccessLogConfigRequest struct { *tchttp.BaseRequest // mesh名字 MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` }
func NewDescribeAccessLogConfigRequest ¶ added in v1.0.544
func NewDescribeAccessLogConfigRequest() (request *DescribeAccessLogConfigRequest)
func (*DescribeAccessLogConfigRequest) FromJsonString ¶ added in v1.0.544
func (r *DescribeAccessLogConfigRequest) 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 (*DescribeAccessLogConfigRequest) ToJsonString ¶ added in v1.0.544
func (r *DescribeAccessLogConfigRequest) ToJsonString() string
type DescribeAccessLogConfigRequestParams ¶ added in v1.0.544
type DescribeAccessLogConfigRequestParams struct { // mesh名字 MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` }
Predefined struct for user
type DescribeAccessLogConfigResponse ¶ added in v1.0.544
type DescribeAccessLogConfigResponse struct { *tchttp.BaseResponse Response *DescribeAccessLogConfigResponseParams `json:"Response"` }
func NewDescribeAccessLogConfigResponse ¶ added in v1.0.544
func NewDescribeAccessLogConfigResponse() (response *DescribeAccessLogConfigResponse)
func (*DescribeAccessLogConfigResponse) FromJsonString ¶ added in v1.0.544
func (r *DescribeAccessLogConfigResponse) 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 (*DescribeAccessLogConfigResponse) ToJsonString ¶ added in v1.0.544
func (r *DescribeAccessLogConfigResponse) ToJsonString() string
type DescribeAccessLogConfigResponseParams ¶ added in v1.0.544
type DescribeAccessLogConfigResponseParams struct { // 访问日志输出路径。默认 /dev/stdout File *string `json:"File,omitnil,omitempty" name:"File"` // 访问日志的格式。 Format *string `json:"Format,omitnil,omitempty" name:"Format"` // 访问日志输出编码,可取值为 "TEXT" 或 "JSON",默认 TEXT" Encoding *string `json:"Encoding,omitnil,omitempty" name:"Encoding"` // 选中的范围 // 注意:此字段可能返回 null,表示取不到有效值。 SelectedRange *SelectedRange `json:"SelectedRange,omitnil,omitempty" name:"SelectedRange"` // 采用的模板,可取值为"istio" 或 "trace",默认为"istio" Template *string `json:"Template,omitnil,omitempty" name:"Template"` // 腾讯云日志服务相关参数 CLS *CLS `json:"CLS,omitnil,omitempty" name:"CLS"` // GRPC第三方服务器地址 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // 是否启用GRPC第三方服务器 EnableServer *bool `json:"EnableServer,omitnil,omitempty" name:"EnableServer"` // 是否启用标准输出 EnableStdout *bool `json:"EnableStdout,omitnil,omitempty" name:"EnableStdout"` // 是否启用访问日志采集 // 注意:此字段可能返回 null,表示取不到有效值。 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMeshListRequest ¶
type DescribeMeshListRequest struct { *tchttp.BaseRequest // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页限制 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页偏移 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeMeshListRequest ¶
func NewDescribeMeshListRequest() (request *DescribeMeshListRequest)
func (*DescribeMeshListRequest) FromJsonString ¶
func (r *DescribeMeshListRequest) 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 (*DescribeMeshListRequest) ToJsonString ¶
func (r *DescribeMeshListRequest) ToJsonString() string
type DescribeMeshListRequestParams ¶ added in v1.0.426
type DescribeMeshListRequestParams struct { // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页限制 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页偏移 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeMeshListResponse ¶
type DescribeMeshListResponse struct { *tchttp.BaseResponse Response *DescribeMeshListResponseParams `json:"Response"` }
func NewDescribeMeshListResponse ¶
func NewDescribeMeshListResponse() (response *DescribeMeshListResponse)
func (*DescribeMeshListResponse) FromJsonString ¶
func (r *DescribeMeshListResponse) 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 (*DescribeMeshListResponse) ToJsonString ¶
func (r *DescribeMeshListResponse) ToJsonString() string
type DescribeMeshListResponseParams ¶ added in v1.0.426
type DescribeMeshListResponseParams struct { // 查询到的网格信息 // 注意:此字段可能返回 null,表示取不到有效值。 MeshList []*Mesh `json:"MeshList,omitnil,omitempty" name:"MeshList"` // 总数 Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMeshRequest ¶
type DescribeMeshRequest struct { *tchttp.BaseRequest // 需要查询的网格 Id MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` }
func NewDescribeMeshRequest ¶
func NewDescribeMeshRequest() (request *DescribeMeshRequest)
func (*DescribeMeshRequest) FromJsonString ¶
func (r *DescribeMeshRequest) 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 (*DescribeMeshRequest) ToJsonString ¶
func (r *DescribeMeshRequest) ToJsonString() string
type DescribeMeshRequestParams ¶ added in v1.0.426
type DescribeMeshRequestParams struct { // 需要查询的网格 Id MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` }
Predefined struct for user
type DescribeMeshResponse ¶
type DescribeMeshResponse struct { *tchttp.BaseResponse Response *DescribeMeshResponseParams `json:"Response"` }
func NewDescribeMeshResponse ¶
func NewDescribeMeshResponse() (response *DescribeMeshResponse)
func (*DescribeMeshResponse) FromJsonString ¶
func (r *DescribeMeshResponse) 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 (*DescribeMeshResponse) ToJsonString ¶
func (r *DescribeMeshResponse) ToJsonString() string
type DescribeMeshResponseParams ¶ added in v1.0.426
type DescribeMeshResponseParams struct { // Mesh详细信息 Mesh *Mesh `json:"Mesh,omitnil,omitempty" name:"Mesh"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type EgressGateway ¶
type EgressGateway struct { // Egress名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 所在的Namespace Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // 工作负载配置 Workload *WorkloadConfig `json:"Workload,omitnil,omitempty" name:"Workload"` // 工作负载的状态 Status *EgressGatewayStatus `json:"Status,omitnil,omitempty" name:"Status"` }
type EgressGatewayStatus ¶ added in v1.0.519
type EgressGatewayStatus struct { // egress gateway的当前版本 CurrentVersion *string `json:"CurrentVersion,omitnil,omitempty" name:"CurrentVersion"` // egress gateway的目标版本 DesiredVersion *string `json:"DesiredVersion,omitnil,omitempty" name:"DesiredVersion"` // egress gateway的状态,取值:running,upgrading,rollbacking State *string `json:"State,omitnil,omitempty" name:"State"` }
type ExtensiveCluster ¶ added in v1.0.444
type ExtensiveClusters ¶ added in v1.0.444
type ExtensiveClusters struct { // 4层集群配置 // 注意:此字段可能返回 null,表示取不到有效值。 L4Clusters []*ExtensiveCluster `json:"L4Clusters,omitnil,omitempty" name:"L4Clusters"` // 7层集群配置 // 注意:此字段可能返回 null,表示取不到有效值。 L7Clusters []*ExtensiveCluster `json:"L7Clusters,omitnil,omitempty" name:"L7Clusters"` }
type GrafanaInfo ¶
type GrafanaInfo struct { // 是否开启 Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` // 内网地址 InternalURL *string `json:"InternalURL,omitnil,omitempty" name:"InternalURL"` // 公网地址 // 注意:此字段可能返回 null,表示取不到有效值。 PublicURL *string `json:"PublicURL,omitnil,omitempty" name:"PublicURL"` // 公网失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 PublicFailedReason *string `json:"PublicFailedReason,omitnil,omitempty" name:"PublicFailedReason"` // 公网失败详细信息 // 注意:此字段可能返回 null,表示取不到有效值。 PublicFailedMessage *string `json:"PublicFailedMessage,omitnil,omitempty" name:"PublicFailedMessage"` }
type HorizontalPodAutoscalerSpec ¶
type HorizontalPodAutoscalerSpec struct { // 最小副本数 MinReplicas *int64 `json:"MinReplicas,omitnil,omitempty" name:"MinReplicas"` // 最大副本数 MaxReplicas *int64 `json:"MaxReplicas,omitnil,omitempty" name:"MaxReplicas"` // 用于计算副本数的指标 Metrics []*MetricSpec `json:"Metrics,omitnil,omitempty" name:"Metrics"` }
type IngressGateway ¶
type IngressGateway struct { // IngressGateway 实例名字 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 命名空间 Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // 集群 ID ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Service 配置 Service *Service `json:"Service,omitnil,omitempty" name:"Service"` // Workload 配置 Workload *WorkloadConfig `json:"Workload,omitnil,omitempty" name:"Workload"` // 负载均衡配置,自动创建 CLB 时返回 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancer *LoadBalancer `json:"LoadBalancer,omitnil,omitempty" name:"LoadBalancer"` // IngressGateway 状态信息,只读 Status *IngressGatewayStatus `json:"Status,omitnil,omitempty" name:"Status"` // 负载均衡实例ID,使用已有 CLB 时返回 LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` }
type IngressGatewayStatus ¶
type IngressGatewayStatus struct { // 负载均衡实例状态 LoadBalancer *LoadBalancerStatus `json:"LoadBalancer,omitnil,omitempty" name:"LoadBalancer"` // ingress gateway 当前的版本 CurrentVersion *string `json:"CurrentVersion,omitnil,omitempty" name:"CurrentVersion"` // ingress gateway 目标的版本 DesiredVersion *string `json:"DesiredVersion,omitnil,omitempty" name:"DesiredVersion"` // ingress gateway的状态,取值running, upgrading, rollbacking State *string `json:"State,omitnil,omitempty" name:"State"` }
type InjectConfig ¶ added in v1.0.294
type InjectConfig struct { // 不需要进行代理的 ip 地址范围 // 注意:此字段可能返回 null,表示取不到有效值。 ExcludeIPRanges []*string `json:"ExcludeIPRanges,omitnil,omitempty" name:"ExcludeIPRanges"` // 是否等待sidecar启动 // 注意:此字段可能返回 null,表示取不到有效值。 HoldApplicationUntilProxyStarts *bool `json:"HoldApplicationUntilProxyStarts,omitnil,omitempty" name:"HoldApplicationUntilProxyStarts"` // 是否允许sidecar等待 // 注意:此字段可能返回 null,表示取不到有效值。 HoldProxyUntilApplicationEnds *bool `json:"HoldProxyUntilApplicationEnds,omitnil,omitempty" name:"HoldProxyUntilApplicationEnds"` }
type IstioConfig ¶
type IstioConfig struct { // 外部流量策略 OutboundTrafficPolicy *string `json:"OutboundTrafficPolicy,omitnil,omitempty" name:"OutboundTrafficPolicy"` // 调用链配置(Deprecated,请使用 MeshConfig.Tracing 进行配置) Tracing *TracingConfig `json:"Tracing,omitnil,omitempty" name:"Tracing"` // 禁用策略检查功能 // 注意:此字段可能返回 null,表示取不到有效值。 DisablePolicyChecks *bool `json:"DisablePolicyChecks,omitnil,omitempty" name:"DisablePolicyChecks"` // 支持HTTP1.0协议 // 注意:此字段可能返回 null,表示取不到有效值。 EnablePilotHTTP *bool `json:"EnablePilotHTTP,omitnil,omitempty" name:"EnablePilotHTTP"` // 禁用HTTP重试策略 // 注意:此字段可能返回 null,表示取不到有效值。 DisableHTTPRetry *bool `json:"DisableHTTPRetry,omitnil,omitempty" name:"DisableHTTPRetry"` // SmartDNS策略 // 注意:此字段可能返回 null,表示取不到有效值。 SmartDNS *SmartDNSConfig `json:"SmartDNS,omitnil,omitempty" name:"SmartDNS"` }
type IstiodConfig ¶
type IstiodConfig struct { // 工作负载配置 Workload *WorkloadConfig `json:"Workload,omitnil,omitempty" name:"Workload"` }
type LinkClusterListRequest ¶ added in v1.0.518
type LinkClusterListRequest struct { *tchttp.BaseRequest // 网格Id MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 关联集群 ClusterList []*Cluster `json:"ClusterList,omitnil,omitempty" name:"ClusterList"` }
func NewLinkClusterListRequest ¶ added in v1.0.518
func NewLinkClusterListRequest() (request *LinkClusterListRequest)
func (*LinkClusterListRequest) FromJsonString ¶ added in v1.0.518
func (r *LinkClusterListRequest) 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 (*LinkClusterListRequest) ToJsonString ¶ added in v1.0.518
func (r *LinkClusterListRequest) ToJsonString() string
type LinkClusterListRequestParams ¶ added in v1.0.518
type LinkClusterListRequestParams struct { // 网格Id MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 关联集群 ClusterList []*Cluster `json:"ClusterList,omitnil,omitempty" name:"ClusterList"` }
Predefined struct for user
type LinkClusterListResponse ¶ added in v1.0.518
type LinkClusterListResponse struct { *tchttp.BaseResponse Response *LinkClusterListResponseParams `json:"Response"` }
func NewLinkClusterListResponse ¶ added in v1.0.518
func NewLinkClusterListResponse() (response *LinkClusterListResponse)
func (*LinkClusterListResponse) FromJsonString ¶ added in v1.0.518
func (r *LinkClusterListResponse) 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 (*LinkClusterListResponse) ToJsonString ¶ added in v1.0.518
func (r *LinkClusterListResponse) ToJsonString() string
type LinkClusterListResponseParams ¶ added in v1.0.518
type LinkClusterListResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type LinkPrometheusRequest ¶ added in v1.0.527
type LinkPrometheusRequest struct { *tchttp.BaseRequest // 网格ID MeshID *string `json:"MeshID,omitnil,omitempty" name:"MeshID"` // 配置 Prometheus *PrometheusConfig `json:"Prometheus,omitnil,omitempty" name:"Prometheus"` }
func NewLinkPrometheusRequest ¶ added in v1.0.527
func NewLinkPrometheusRequest() (request *LinkPrometheusRequest)
func (*LinkPrometheusRequest) FromJsonString ¶ added in v1.0.527
func (r *LinkPrometheusRequest) 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 (*LinkPrometheusRequest) ToJsonString ¶ added in v1.0.527
func (r *LinkPrometheusRequest) ToJsonString() string
type LinkPrometheusRequestParams ¶ added in v1.0.527
type LinkPrometheusRequestParams struct { // 网格ID MeshID *string `json:"MeshID,omitnil,omitempty" name:"MeshID"` // 配置 Prometheus *PrometheusConfig `json:"Prometheus,omitnil,omitempty" name:"Prometheus"` }
Predefined struct for user
type LinkPrometheusResponse ¶ added in v1.0.527
type LinkPrometheusResponse struct { *tchttp.BaseResponse Response *LinkPrometheusResponseParams `json:"Response"` }
func NewLinkPrometheusResponse ¶ added in v1.0.527
func NewLinkPrometheusResponse() (response *LinkPrometheusResponse)
func (*LinkPrometheusResponse) FromJsonString ¶ added in v1.0.527
func (r *LinkPrometheusResponse) 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 (*LinkPrometheusResponse) ToJsonString ¶ added in v1.0.527
func (r *LinkPrometheusResponse) ToJsonString() string
type LinkPrometheusResponseParams ¶ added in v1.0.527
type LinkPrometheusResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type LoadBalancer ¶
type LoadBalancer struct { // 负载均衡实例的网络类型: // OPEN:公网属性, INTERNAL:内网属性。 // 只读。 LoadBalancerType *string `json:"LoadBalancerType,omitnil,omitempty" name:"LoadBalancerType"` // 负载均衡实例所在的子网(仅对内网VPC型LB有意义),只读。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // TRAFFIC_POSTPAID_BY_HOUR 按流量按小时后计费 ; BANDWIDTH_POSTPAID_BY_HOUR 按带宽按小时后计费;只读。 InternetChargeType *string `json:"InternetChargeType,omitnil,omitempty" name:"InternetChargeType"` // 最大出带宽,单位Mbps,仅对公网属性的LB生效,默认值 10 InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"` // 可用区 ID // 注意:此字段可能返回 null,表示取不到有效值。 ZoneID *string `json:"ZoneID,omitnil,omitempty" name:"ZoneID"` // 运营商类型 // 注意:此字段可能返回 null,表示取不到有效值。 VipIsp *string `json:"VipIsp,omitnil,omitempty" name:"VipIsp"` // TGW Group 名 // 注意:此字段可能返回 null,表示取不到有效值。 TgwGroupName *string `json:"TgwGroupName,omitnil,omitempty" name:"TgwGroupName"` // IP 类型 // 注意:此字段可能返回 null,表示取不到有效值。 AddressIPVersion *string `json:"AddressIPVersion,omitnil,omitempty" name:"AddressIPVersion"` // 标签列表 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 内网独占集群配置列表 // 注意:此字段可能返回 null,表示取不到有效值。 ExtensiveClusters *ExtensiveClusters `json:"ExtensiveClusters,omitnil,omitempty" name:"ExtensiveClusters"` // 负载均衡跨地域配置 // 注意:此字段可能返回 null,表示取不到有效值。 CrossRegionConfig *CrossRegionConfig `json:"CrossRegionConfig,omitnil,omitempty" name:"CrossRegionConfig"` }
type LoadBalancerStatus ¶
type LoadBalancerStatus struct { // 负载均衡实例 ID LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // 负载均衡实例名字 LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // 负载均衡实例 VIP LoadBalancerVip *string `json:"LoadBalancerVip,omitnil,omitempty" name:"LoadBalancerVip"` // 负载均衡实例 Hostname // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerHostname *string `json:"LoadBalancerHostname,omitnil,omitempty" name:"LoadBalancerHostname"` }
type Mesh ¶
type Mesh struct { // Mesh实例Id MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // Mesh名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // Mesh类型,取值范围: // - STANDALONE:独立网格 // - HOSTED:托管网格 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 版本 Version *string `json:"Version,omitnil,omitempty" name:"Version"` // Mesh状态,取值范围: // - PENDING:等待中 // - CREATING:创建中 // - RUNNING:运行中 // - ABNORMAL:异常 // - UPGRADING:升级中 // - CANARY_UPGRADED:升级灰度完成 // - ROLLBACKING:升级回滚 // - DELETING:删除中 // - CREATE_FAILED:安装失败 // - DELETE_FAILED:删除失败 // - UPGRADE_FAILED:升级失败 // - ROLLBACK_FAILED:回滚失败 State *string `json:"State,omitnil,omitempty" name:"State"` // 创建时间 CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // 修改时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdatedTime *string `json:"UpdatedTime,omitnil,omitempty" name:"UpdatedTime"` // 集群列表 ClusterList []*Cluster `json:"ClusterList,omitnil,omitempty" name:"ClusterList"` // Mesh配置 Config *MeshConfig `json:"Config,omitnil,omitempty" name:"Config"` // Mesh详细状态 Status *MeshStatus `json:"Status,omitnil,omitempty" name:"Status"` // 标签列表 TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"` }
type MeshConfig ¶
type MeshConfig struct { // Istio配置 Istio *IstioConfig `json:"Istio,omitnil,omitempty" name:"Istio"` // AccessLog配置 AccessLog *AccessLogConfig `json:"AccessLog,omitnil,omitempty" name:"AccessLog"` // Prometheus配置 Prometheus *PrometheusConfig `json:"Prometheus,omitnil,omitempty" name:"Prometheus"` // 自动注入配置 // 注意:此字段可能返回 null,表示取不到有效值。 Inject *InjectConfig `json:"Inject,omitnil,omitempty" name:"Inject"` // 调用跟踪配置 // 注意:此字段可能返回 null,表示取不到有效值。 Tracing *TracingConfig `json:"Tracing,omitnil,omitempty" name:"Tracing"` // Sidecar自定义资源 // 注意:此字段可能返回 null,表示取不到有效值。 SidecarResources *ResourceRequirements `json:"SidecarResources,omitnil,omitempty" name:"SidecarResources"` }
type MeshStatus ¶
type MeshStatus struct { // 服务数量 ServiceCount *int64 `json:"ServiceCount,omitnil,omitempty" name:"ServiceCount"` // 灰度升级的版本 // 注意:此字段可能返回 null,表示取不到有效值。 CanaryVersion *string `json:"CanaryVersion,omitnil,omitempty" name:"CanaryVersion"` // 已废弃 // 注意:此字段可能返回 null,表示取不到有效值。 Prometheus []*PrometheusStatus `json:"Prometheus,omitnil,omitempty" name:"Prometheus"` // 状态附带信息 // 注意:此字段可能返回 null,表示取不到有效值。 StateMessage *string `json:"StateMessage,omitnil,omitempty" name:"StateMessage"` // 正在执行的异步操作 // 注意:此字段可能返回 null,表示取不到有效值。 ActiveOperationList []*ActiveOperation `json:"ActiveOperationList,omitnil,omitempty" name:"ActiveOperationList"` // 获取TPS信息 // 注意:此字段可能返回 null,表示取不到有效值。 TPS *PrometheusStatus `json:"TPS,omitnil,omitempty" name:"TPS"` }
type MetricSpec ¶
type MetricSpec struct { // 指标来源类型,支持 Pods/Resource Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 使用自定义指标扩进行自动扩缩容 Pods *PodsMetricSource `json:"Pods,omitnil,omitempty" name:"Pods"` // 使用资源指标扩进行自动扩缩容 Resource *ResourceMetricSource `json:"Resource,omitnil,omitempty" name:"Resource"` }
type ModifyAccessLogConfigRequest ¶ added in v1.0.544
type ModifyAccessLogConfigRequest struct { *tchttp.BaseRequest // mesh ID MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 选中的范围 SelectedRange *SelectedRange `json:"SelectedRange,omitnil,omitempty" name:"SelectedRange"` // 采用的模板,可选值:istio(默认)、trace、custom Template *string `json:"Template,omitnil,omitempty" name:"Template"` // 是否启用 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 腾讯云日志服务相关参数 CLS *CLS `json:"CLS,omitnil,omitempty" name:"CLS"` // 编码格式,可选值:TEXT、JSON Encoding *string `json:"Encoding,omitnil,omitempty" name:"Encoding"` // 日志格式 Format *string `json:"Format,omitnil,omitempty" name:"Format"` // 是否启用标准输出 EnableStdout *bool `json:"EnableStdout,omitnil,omitempty" name:"EnableStdout"` // 是否启动GRPC第三方服务器 EnableServer *bool `json:"EnableServer,omitnil,omitempty" name:"EnableServer"` // GRPC第三方服务器地址 Address *string `json:"Address,omitnil,omitempty" name:"Address"` }
func NewModifyAccessLogConfigRequest ¶ added in v1.0.544
func NewModifyAccessLogConfigRequest() (request *ModifyAccessLogConfigRequest)
func (*ModifyAccessLogConfigRequest) FromJsonString ¶ added in v1.0.544
func (r *ModifyAccessLogConfigRequest) 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 (*ModifyAccessLogConfigRequest) ToJsonString ¶ added in v1.0.544
func (r *ModifyAccessLogConfigRequest) ToJsonString() string
type ModifyAccessLogConfigRequestParams ¶ added in v1.0.544
type ModifyAccessLogConfigRequestParams struct { // mesh ID MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 选中的范围 SelectedRange *SelectedRange `json:"SelectedRange,omitnil,omitempty" name:"SelectedRange"` // 采用的模板,可选值:istio(默认)、trace、custom Template *string `json:"Template,omitnil,omitempty" name:"Template"` // 是否启用 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 腾讯云日志服务相关参数 CLS *CLS `json:"CLS,omitnil,omitempty" name:"CLS"` // 编码格式,可选值:TEXT、JSON Encoding *string `json:"Encoding,omitnil,omitempty" name:"Encoding"` // 日志格式 Format *string `json:"Format,omitnil,omitempty" name:"Format"` // 是否启用标准输出 EnableStdout *bool `json:"EnableStdout,omitnil,omitempty" name:"EnableStdout"` // 是否启动GRPC第三方服务器 EnableServer *bool `json:"EnableServer,omitnil,omitempty" name:"EnableServer"` // GRPC第三方服务器地址 Address *string `json:"Address,omitnil,omitempty" name:"Address"` }
Predefined struct for user
type ModifyAccessLogConfigResponse ¶ added in v1.0.544
type ModifyAccessLogConfigResponse struct { *tchttp.BaseResponse Response *ModifyAccessLogConfigResponseParams `json:"Response"` }
func NewModifyAccessLogConfigResponse ¶ added in v1.0.544
func NewModifyAccessLogConfigResponse() (response *ModifyAccessLogConfigResponse)
func (*ModifyAccessLogConfigResponse) FromJsonString ¶ added in v1.0.544
func (r *ModifyAccessLogConfigResponse) 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 (*ModifyAccessLogConfigResponse) ToJsonString ¶ added in v1.0.544
func (r *ModifyAccessLogConfigResponse) ToJsonString() string
type ModifyAccessLogConfigResponseParams ¶ added in v1.0.544
type ModifyAccessLogConfigResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyMeshRequest ¶ added in v1.0.511
type ModifyMeshRequest struct { *tchttp.BaseRequest // 需要修改的网格Id MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 修改的网格名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // 修改的网格配置 Config *MeshConfig `json:"Config,omitnil,omitempty" name:"Config"` // 修改的集群配置 ClusterList []*Cluster `json:"ClusterList,omitnil,omitempty" name:"ClusterList"` }
func NewModifyMeshRequest ¶ added in v1.0.511
func NewModifyMeshRequest() (request *ModifyMeshRequest)
func (*ModifyMeshRequest) FromJsonString ¶ added in v1.0.511
func (r *ModifyMeshRequest) 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 (*ModifyMeshRequest) ToJsonString ¶ added in v1.0.511
func (r *ModifyMeshRequest) ToJsonString() string
type ModifyMeshRequestParams ¶ added in v1.0.511
type ModifyMeshRequestParams struct { // 需要修改的网格Id MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 修改的网格名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // 修改的网格配置 Config *MeshConfig `json:"Config,omitnil,omitempty" name:"Config"` // 修改的集群配置 ClusterList []*Cluster `json:"ClusterList,omitnil,omitempty" name:"ClusterList"` }
Predefined struct for user
type ModifyMeshResponse ¶ added in v1.0.511
type ModifyMeshResponse struct { *tchttp.BaseResponse Response *ModifyMeshResponseParams `json:"Response"` }
func NewModifyMeshResponse ¶ added in v1.0.511
func NewModifyMeshResponse() (response *ModifyMeshResponse)
func (*ModifyMeshResponse) FromJsonString ¶ added in v1.0.511
func (r *ModifyMeshResponse) 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 (*ModifyMeshResponse) ToJsonString ¶ added in v1.0.511
func (r *ModifyMeshResponse) ToJsonString() string
type ModifyMeshResponseParams ¶ added in v1.0.511
type ModifyMeshResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTracingConfigRequest ¶ added in v1.0.528
type ModifyTracingConfigRequest struct { *tchttp.BaseRequest // mesh名字 MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 是否启用调用跟踪 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 腾讯云 APM 服务相关参数 APM *APM `json:"APM,omitnil,omitempty" name:"APM"` // 调用跟踪采样值 Sampling *float64 `json:"Sampling,omitnil,omitempty" name:"Sampling"` // 调用追踪Zipkin相关配置 Zipkin *TracingZipkin `json:"Zipkin,omitnil,omitempty" name:"Zipkin"` }
func NewModifyTracingConfigRequest ¶ added in v1.0.528
func NewModifyTracingConfigRequest() (request *ModifyTracingConfigRequest)
func (*ModifyTracingConfigRequest) FromJsonString ¶ added in v1.0.528
func (r *ModifyTracingConfigRequest) 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 (*ModifyTracingConfigRequest) ToJsonString ¶ added in v1.0.528
func (r *ModifyTracingConfigRequest) ToJsonString() string
type ModifyTracingConfigRequestParams ¶ added in v1.0.528
type ModifyTracingConfigRequestParams struct { // mesh名字 MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 是否启用调用跟踪 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 腾讯云 APM 服务相关参数 APM *APM `json:"APM,omitnil,omitempty" name:"APM"` // 调用跟踪采样值 Sampling *float64 `json:"Sampling,omitnil,omitempty" name:"Sampling"` // 调用追踪Zipkin相关配置 Zipkin *TracingZipkin `json:"Zipkin,omitnil,omitempty" name:"Zipkin"` }
Predefined struct for user
type ModifyTracingConfigResponse ¶ added in v1.0.528
type ModifyTracingConfigResponse struct { *tchttp.BaseResponse Response *ModifyTracingConfigResponseParams `json:"Response"` }
func NewModifyTracingConfigResponse ¶ added in v1.0.528
func NewModifyTracingConfigResponse() (response *ModifyTracingConfigResponse)
func (*ModifyTracingConfigResponse) FromJsonString ¶ added in v1.0.528
func (r *ModifyTracingConfigResponse) 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 (*ModifyTracingConfigResponse) ToJsonString ¶ added in v1.0.528
func (r *ModifyTracingConfigResponse) ToJsonString() string
type ModifyTracingConfigResponseParams ¶ added in v1.0.528
type ModifyTracingConfigResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PodsMetricSource ¶
type PrometheusConfig ¶
type PrometheusConfig struct { // 虚拟网络Id VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网Id SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 关联已存在实例Id,不填则默认创建 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 第三方 Prometheus // 注意:此字段可能返回 null,表示取不到有效值。 CustomProm *CustomPromConfig `json:"CustomProm,omitnil,omitempty" name:"CustomProm"` }
type PrometheusStatus ¶
type PrometheusStatus struct { // Prometheus Id PrometheusId *string `json:"PrometheusId,omitnil,omitempty" name:"PrometheusId"` // 展示名称 DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"` // 实例Id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 虚拟网络Id VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 状态 State *string `json:"State,omitnil,omitempty" name:"State"` // 地区 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Grafana信息 // 注意:此字段可能返回 null,表示取不到有效值。 Grafana *GrafanaInfo `json:"Grafana,omitnil,omitempty" name:"Grafana"` // Prometheus 类型 // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
type ResourceMetricSource ¶
type ResourceMetricSource struct { // 资源名称 cpu/memory Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 目标平均利用率 TargetAverageUtilization *int64 `json:"TargetAverageUtilization,omitnil,omitempty" name:"TargetAverageUtilization"` // 目标平均值 TargetAverageValue *string `json:"TargetAverageValue,omitnil,omitempty" name:"TargetAverageValue"` }
type ResourceRequirements ¶
type SelectedItems ¶
type SelectedItems struct { // 命名空间 Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // 集群名称 ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // 选中项目名字 ItemName *string `json:"ItemName,omitnil,omitempty" name:"ItemName"` // ingress gw的名称列表 Gateways []*string `json:"Gateways,omitnil,omitempty" name:"Gateways"` }
type SelectedRange ¶
type SelectedRange struct { // 选中的项目详细内容 Items []*SelectedItems `json:"Items,omitnil,omitempty" name:"Items"` // 是否全选 All *bool `json:"All,omitnil,omitempty" name:"All"` }
type Service ¶
type Service struct { // ClusterIP/NodePort/LoadBalancer Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 是否开启LB直通Pod CLBDirectAccess *bool `json:"CLBDirectAccess,omitnil,omitempty" name:"CLBDirectAccess"` // 服务是否希望将外部流量路由到节点本地或集群范围的端点。 有两个可用选项:Cluster(默认)和 Local。Cluster 隐藏了客户端源 IP,可能导致第二跳到另一个节点;Local 保留客户端源 IP 并避免 LoadBalancer 和 NodePort 类型服务的第二跳。 ExternalTrafficPolicy *string `json:"ExternalTrafficPolicy,omitnil,omitempty" name:"ExternalTrafficPolicy"` }
type SmartDNSConfig ¶ added in v1.0.497
type SmartDNSConfig struct { // 开启DNS代理 // 注意:此字段可能返回 null,表示取不到有效值。 IstioMetaDNSCapture *bool `json:"IstioMetaDNSCapture,omitnil,omitempty" name:"IstioMetaDNSCapture"` // 开启自动地址分配 // 注意:此字段可能返回 null,表示取不到有效值。 IstioMetaDNSAutoAllocate *bool `json:"IstioMetaDNSAutoAllocate,omitnil,omitempty" name:"IstioMetaDNSAutoAllocate"` }
type TracingConfig ¶
type TracingConfig struct { // 调用链采样率,百分比 Sampling *float64 `json:"Sampling,omitnil,omitempty" name:"Sampling"` // 是否启用调用跟踪 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 腾讯云 APM 服务相关参数 APM *APM `json:"APM,omitnil,omitempty" name:"APM"` // 启动第三方服务器的地址 Zipkin *TracingZipkin `json:"Zipkin,omitnil,omitempty" name:"Zipkin"` }
type TracingZipkin ¶ added in v1.0.405
type TracingZipkin struct { // Zipkin调用地址 Address *string `json:"Address,omitnil,omitempty" name:"Address"` }
type UnlinkClusterRequest ¶ added in v1.0.518
type UnlinkClusterRequest struct { *tchttp.BaseRequest // 网格Id MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 取消关联的集群Id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
func NewUnlinkClusterRequest ¶ added in v1.0.518
func NewUnlinkClusterRequest() (request *UnlinkClusterRequest)
func (*UnlinkClusterRequest) FromJsonString ¶ added in v1.0.518
func (r *UnlinkClusterRequest) 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 (*UnlinkClusterRequest) ToJsonString ¶ added in v1.0.518
func (r *UnlinkClusterRequest) ToJsonString() string
type UnlinkClusterRequestParams ¶ added in v1.0.518
type UnlinkClusterRequestParams struct { // 网格Id MeshId *string `json:"MeshId,omitnil,omitempty" name:"MeshId"` // 取消关联的集群Id ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` }
Predefined struct for user
type UnlinkClusterResponse ¶ added in v1.0.518
type UnlinkClusterResponse struct { *tchttp.BaseResponse Response *UnlinkClusterResponseParams `json:"Response"` }
func NewUnlinkClusterResponse ¶ added in v1.0.518
func NewUnlinkClusterResponse() (response *UnlinkClusterResponse)
func (*UnlinkClusterResponse) FromJsonString ¶ added in v1.0.518
func (r *UnlinkClusterResponse) 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 (*UnlinkClusterResponse) ToJsonString ¶ added in v1.0.518
func (r *UnlinkClusterResponse) ToJsonString() string
type UnlinkClusterResponseParams ¶ added in v1.0.518
type UnlinkClusterResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UnlinkPrometheusRequest ¶ added in v1.0.527
type UnlinkPrometheusRequest struct { *tchttp.BaseRequest // 网格ID MeshID *string `json:"MeshID,omitnil,omitempty" name:"MeshID"` }
func NewUnlinkPrometheusRequest ¶ added in v1.0.527
func NewUnlinkPrometheusRequest() (request *UnlinkPrometheusRequest)
func (*UnlinkPrometheusRequest) FromJsonString ¶ added in v1.0.527
func (r *UnlinkPrometheusRequest) 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 (*UnlinkPrometheusRequest) ToJsonString ¶ added in v1.0.527
func (r *UnlinkPrometheusRequest) ToJsonString() string
type UnlinkPrometheusRequestParams ¶ added in v1.0.527
type UnlinkPrometheusRequestParams struct { // 网格ID MeshID *string `json:"MeshID,omitnil,omitempty" name:"MeshID"` }
Predefined struct for user
type UnlinkPrometheusResponse ¶ added in v1.0.527
type UnlinkPrometheusResponse struct { *tchttp.BaseResponse Response *UnlinkPrometheusResponseParams `json:"Response"` }
func NewUnlinkPrometheusResponse ¶ added in v1.0.527
func NewUnlinkPrometheusResponse() (response *UnlinkPrometheusResponse)
func (*UnlinkPrometheusResponse) FromJsonString ¶ added in v1.0.527
func (r *UnlinkPrometheusResponse) 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 (*UnlinkPrometheusResponse) ToJsonString ¶ added in v1.0.527
func (r *UnlinkPrometheusResponse) ToJsonString() string
type UnlinkPrometheusResponseParams ¶ added in v1.0.527
type UnlinkPrometheusResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type WorkloadConfig ¶
type WorkloadConfig struct { // 工作副本数 Replicas *int64 `json:"Replicas,omitnil,omitempty" name:"Replicas"` // 资源配置 Resources *ResourceRequirements `json:"Resources,omitnil,omitempty" name:"Resources"` // HPA策略 HorizontalPodAutoscaler *HorizontalPodAutoscalerSpec `json:"HorizontalPodAutoscaler,omitnil,omitempty" name:"HorizontalPodAutoscaler"` // 部署到指定节点 SelectedNodeList []*string `json:"SelectedNodeList,omitnil,omitempty" name:"SelectedNodeList"` // 组件的部署模式,取值说明: // IN_GENERAL_NODE:常规节点 // IN_EKLET:eklet 节点 // IN_SHARED_NODE_POOL:共享节电池 // IN_EXCLUSIVE_NODE_POOL:独占节点池 DeployMode *string `json:"DeployMode,omitnil,omitempty" name:"DeployMode"` }