Documentation ¶
Index ¶
- func NewSloKoordinatorShNodeMetricV1Alpha1Manifest() datasource.DataSource
- func NewSloKoordinatorShNodeSloV1Alpha1Manifest() datasource.DataSource
- type SloKoordinatorShNodeMetricV1Alpha1Manifest
- func (r *SloKoordinatorShNodeMetricV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *SloKoordinatorShNodeMetricV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *SloKoordinatorShNodeMetricV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type SloKoordinatorShNodeMetricV1Alpha1ManifestData
- type SloKoordinatorShNodeSloV1Alpha1Manifest
- func (r *SloKoordinatorShNodeSloV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *SloKoordinatorShNodeSloV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *SloKoordinatorShNodeSloV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type SloKoordinatorShNodeSloV1Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSloKoordinatorShNodeMetricV1Alpha1Manifest ¶
func NewSloKoordinatorShNodeMetricV1Alpha1Manifest() datasource.DataSource
func NewSloKoordinatorShNodeSloV1Alpha1Manifest ¶
func NewSloKoordinatorShNodeSloV1Alpha1Manifest() datasource.DataSource
Types ¶
type SloKoordinatorShNodeMetricV1Alpha1Manifest ¶
type SloKoordinatorShNodeMetricV1Alpha1Manifest struct{}
func (*SloKoordinatorShNodeMetricV1Alpha1Manifest) Metadata ¶
func (r *SloKoordinatorShNodeMetricV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*SloKoordinatorShNodeMetricV1Alpha1Manifest) Read ¶
func (r *SloKoordinatorShNodeMetricV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*SloKoordinatorShNodeMetricV1Alpha1Manifest) Schema ¶
func (r *SloKoordinatorShNodeMetricV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type SloKoordinatorShNodeMetricV1Alpha1ManifestData ¶
type SloKoordinatorShNodeMetricV1Alpha1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { MetricCollectPolicy *struct { AggregateDurationSeconds *int64 `tfsdk:"aggregate_duration_seconds" json:"aggregateDurationSeconds,omitempty"` NodeAggregatePolicy *struct { Durations *[]string `tfsdk:"durations" json:"durations,omitempty"` } `tfsdk:"node_aggregate_policy" json:"nodeAggregatePolicy,omitempty"` NodeMemoryCollectPolicy *string `tfsdk:"node_memory_collect_policy" json:"nodeMemoryCollectPolicy,omitempty"` ReportIntervalSeconds *int64 `tfsdk:"report_interval_seconds" json:"reportIntervalSeconds,omitempty"` } `tfsdk:"metric_collect_policy" json:"metricCollectPolicy,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type SloKoordinatorShNodeSloV1Alpha1Manifest ¶
type SloKoordinatorShNodeSloV1Alpha1Manifest struct{}
func (*SloKoordinatorShNodeSloV1Alpha1Manifest) Metadata ¶
func (r *SloKoordinatorShNodeSloV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*SloKoordinatorShNodeSloV1Alpha1Manifest) Read ¶
func (r *SloKoordinatorShNodeSloV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*SloKoordinatorShNodeSloV1Alpha1Manifest) Schema ¶
func (r *SloKoordinatorShNodeSloV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type SloKoordinatorShNodeSloV1Alpha1ManifestData ¶
type SloKoordinatorShNodeSloV1Alpha1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { CpuBurstStrategy *struct { CfsQuotaBurstPercent *int64 `tfsdk:"cfs_quota_burst_percent" json:"cfsQuotaBurstPercent,omitempty"` CfsQuotaBurstPeriodSeconds *int64 `tfsdk:"cfs_quota_burst_period_seconds" json:"cfsQuotaBurstPeriodSeconds,omitempty"` CpuBurstPercent *int64 `tfsdk:"cpu_burst_percent" json:"cpuBurstPercent,omitempty"` Policy *string `tfsdk:"policy" json:"policy,omitempty"` SharePoolThresholdPercent *int64 `tfsdk:"share_pool_threshold_percent" json:"sharePoolThresholdPercent,omitempty"` } `tfsdk:"cpu_burst_strategy" json:"cpuBurstStrategy,omitempty"` Extensions *map[string]string `tfsdk:"extensions" json:"extensions,omitempty"` HostApplications *[]struct { CgroupPath *struct { Base *string `tfsdk:"base" json:"base,omitempty"` ParentDir *string `tfsdk:"parent_dir" json:"parentDir,omitempty"` RelativePath *string `tfsdk:"relative_path" json:"relativePath,omitempty"` } `tfsdk:"cgroup_path" json:"cgroupPath,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Priority *string `tfsdk:"priority" json:"priority,omitempty"` Qos *string `tfsdk:"qos" json:"qos,omitempty"` Strategy *map[string]string `tfsdk:"strategy" json:"strategy,omitempty"` } `tfsdk:"host_applications" json:"hostApplications,omitempty"` ResourceQOSStrategy *struct { BeClass *struct { BlkioQOS *struct { Blocks *[]struct { IoCfg *struct { EnableUserModel *bool `tfsdk:"enable_user_model" json:"enableUserModel,omitempty"` IoWeightPercent *int64 `tfsdk:"io_weight_percent" json:"ioWeightPercent,omitempty"` ModelReadBPS *int64 `tfsdk:"model_read_bps" json:"modelReadBPS,omitempty"` ModelReadRandIOPS *int64 `tfsdk:"model_read_rand_iops" json:"modelReadRandIOPS,omitempty"` ModelReadSeqIOPS *int64 `tfsdk:"model_read_seq_iops" json:"modelReadSeqIOPS,omitempty"` ModelWriteBPS *int64 `tfsdk:"model_write_bps" json:"modelWriteBPS,omitempty"` ModelWriteRandIOPS *int64 `tfsdk:"model_write_rand_iops" json:"modelWriteRandIOPS,omitempty"` ModelWriteSeqIOPS *int64 `tfsdk:"model_write_seq_iops" json:"modelWriteSeqIOPS,omitempty"` ReadBPS *int64 `tfsdk:"read_bps" json:"readBPS,omitempty"` ReadIOPS *int64 `tfsdk:"read_iops" json:"readIOPS,omitempty"` ReadLatency *int64 `tfsdk:"read_latency" json:"readLatency,omitempty"` ReadLatencyPercent *int64 `tfsdk:"read_latency_percent" json:"readLatencyPercent,omitempty"` WriteBPS *int64 `tfsdk:"write_bps" json:"writeBPS,omitempty"` WriteIOPS *int64 `tfsdk:"write_iops" json:"writeIOPS,omitempty"` WriteLatency *int64 `tfsdk:"write_latency" json:"writeLatency,omitempty"` WriteLatencyPercent *int64 `tfsdk:"write_latency_percent" json:"writeLatencyPercent,omitempty"` } `tfsdk:"io_cfg" json:"ioCfg,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"blocks" json:"blocks,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` } `tfsdk:"blkio_qos" json:"blkioQOS,omitempty"` CpuQOS *struct { CoreExpeller *bool `tfsdk:"core_expeller" json:"coreExpeller,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` GroupIdentity *int64 `tfsdk:"group_identity" json:"groupIdentity,omitempty"` SchedIdle *int64 `tfsdk:"sched_idle" json:"schedIdle,omitempty"` } `tfsdk:"cpu_qos" json:"cpuQOS,omitempty"` MemoryQOS *struct { Enable *bool `tfsdk:"enable" json:"enable,omitempty"` LowLimitPercent *int64 `tfsdk:"low_limit_percent" json:"lowLimitPercent,omitempty"` MinLimitPercent *int64 `tfsdk:"min_limit_percent" json:"minLimitPercent,omitempty"` OomKillGroup *int64 `tfsdk:"oom_kill_group" json:"oomKillGroup,omitempty"` Priority *int64 `tfsdk:"priority" json:"priority,omitempty"` PriorityEnable *int64 `tfsdk:"priority_enable" json:"priorityEnable,omitempty"` ThrottlingPercent *int64 `tfsdk:"throttling_percent" json:"throttlingPercent,omitempty"` WmarkMinAdj *int64 `tfsdk:"wmark_min_adj" json:"wmarkMinAdj,omitempty"` WmarkRatio *int64 `tfsdk:"wmark_ratio" json:"wmarkRatio,omitempty"` WmarkScalePermill *int64 `tfsdk:"wmark_scale_permill" json:"wmarkScalePermill,omitempty"` } `tfsdk:"memory_qos" json:"memoryQOS,omitempty"` NetworkQOS *struct { EgressLimit *string `tfsdk:"egress_limit" json:"egressLimit,omitempty"` EgressRequest *string `tfsdk:"egress_request" json:"egressRequest,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` IngressLimit *string `tfsdk:"ingress_limit" json:"ingressLimit,omitempty"` IngressRequest *string `tfsdk:"ingress_request" json:"ingressRequest,omitempty"` } `tfsdk:"network_qos" json:"networkQOS,omitempty"` ResctrlQOS *struct { CatRangeEndPercent *int64 `tfsdk:"cat_range_end_percent" json:"catRangeEndPercent,omitempty"` CatRangeStartPercent *int64 `tfsdk:"cat_range_start_percent" json:"catRangeStartPercent,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` MbaPercent *int64 `tfsdk:"mba_percent" json:"mbaPercent,omitempty"` } `tfsdk:"resctrl_qos" json:"resctrlQOS,omitempty"` } `tfsdk:"be_class" json:"beClass,omitempty"` CgroupRoot *struct { BlkioQOS *struct { Blocks *[]struct { IoCfg *struct { EnableUserModel *bool `tfsdk:"enable_user_model" json:"enableUserModel,omitempty"` IoWeightPercent *int64 `tfsdk:"io_weight_percent" json:"ioWeightPercent,omitempty"` ModelReadBPS *int64 `tfsdk:"model_read_bps" json:"modelReadBPS,omitempty"` ModelReadRandIOPS *int64 `tfsdk:"model_read_rand_iops" json:"modelReadRandIOPS,omitempty"` ModelReadSeqIOPS *int64 `tfsdk:"model_read_seq_iops" json:"modelReadSeqIOPS,omitempty"` ModelWriteBPS *int64 `tfsdk:"model_write_bps" json:"modelWriteBPS,omitempty"` ModelWriteRandIOPS *int64 `tfsdk:"model_write_rand_iops" json:"modelWriteRandIOPS,omitempty"` ModelWriteSeqIOPS *int64 `tfsdk:"model_write_seq_iops" json:"modelWriteSeqIOPS,omitempty"` ReadBPS *int64 `tfsdk:"read_bps" json:"readBPS,omitempty"` ReadIOPS *int64 `tfsdk:"read_iops" json:"readIOPS,omitempty"` ReadLatency *int64 `tfsdk:"read_latency" json:"readLatency,omitempty"` ReadLatencyPercent *int64 `tfsdk:"read_latency_percent" json:"readLatencyPercent,omitempty"` WriteBPS *int64 `tfsdk:"write_bps" json:"writeBPS,omitempty"` WriteIOPS *int64 `tfsdk:"write_iops" json:"writeIOPS,omitempty"` WriteLatency *int64 `tfsdk:"write_latency" json:"writeLatency,omitempty"` WriteLatencyPercent *int64 `tfsdk:"write_latency_percent" json:"writeLatencyPercent,omitempty"` } `tfsdk:"io_cfg" json:"ioCfg,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"blocks" json:"blocks,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` } `tfsdk:"blkio_qos" json:"blkioQOS,omitempty"` CpuQOS *struct { CoreExpeller *bool `tfsdk:"core_expeller" json:"coreExpeller,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` GroupIdentity *int64 `tfsdk:"group_identity" json:"groupIdentity,omitempty"` SchedIdle *int64 `tfsdk:"sched_idle" json:"schedIdle,omitempty"` } `tfsdk:"cpu_qos" json:"cpuQOS,omitempty"` MemoryQOS *struct { Enable *bool `tfsdk:"enable" json:"enable,omitempty"` LowLimitPercent *int64 `tfsdk:"low_limit_percent" json:"lowLimitPercent,omitempty"` MinLimitPercent *int64 `tfsdk:"min_limit_percent" json:"minLimitPercent,omitempty"` OomKillGroup *int64 `tfsdk:"oom_kill_group" json:"oomKillGroup,omitempty"` Priority *int64 `tfsdk:"priority" json:"priority,omitempty"` PriorityEnable *int64 `tfsdk:"priority_enable" json:"priorityEnable,omitempty"` ThrottlingPercent *int64 `tfsdk:"throttling_percent" json:"throttlingPercent,omitempty"` WmarkMinAdj *int64 `tfsdk:"wmark_min_adj" json:"wmarkMinAdj,omitempty"` WmarkRatio *int64 `tfsdk:"wmark_ratio" json:"wmarkRatio,omitempty"` WmarkScalePermill *int64 `tfsdk:"wmark_scale_permill" json:"wmarkScalePermill,omitempty"` } `tfsdk:"memory_qos" json:"memoryQOS,omitempty"` NetworkQOS *struct { EgressLimit *string `tfsdk:"egress_limit" json:"egressLimit,omitempty"` EgressRequest *string `tfsdk:"egress_request" json:"egressRequest,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` IngressLimit *string `tfsdk:"ingress_limit" json:"ingressLimit,omitempty"` IngressRequest *string `tfsdk:"ingress_request" json:"ingressRequest,omitempty"` } `tfsdk:"network_qos" json:"networkQOS,omitempty"` ResctrlQOS *struct { CatRangeEndPercent *int64 `tfsdk:"cat_range_end_percent" json:"catRangeEndPercent,omitempty"` CatRangeStartPercent *int64 `tfsdk:"cat_range_start_percent" json:"catRangeStartPercent,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` MbaPercent *int64 `tfsdk:"mba_percent" json:"mbaPercent,omitempty"` } `tfsdk:"resctrl_qos" json:"resctrlQOS,omitempty"` } `tfsdk:"cgroup_root" json:"cgroupRoot,omitempty"` LsClass *struct { BlkioQOS *struct { Blocks *[]struct { IoCfg *struct { EnableUserModel *bool `tfsdk:"enable_user_model" json:"enableUserModel,omitempty"` IoWeightPercent *int64 `tfsdk:"io_weight_percent" json:"ioWeightPercent,omitempty"` ModelReadBPS *int64 `tfsdk:"model_read_bps" json:"modelReadBPS,omitempty"` ModelReadRandIOPS *int64 `tfsdk:"model_read_rand_iops" json:"modelReadRandIOPS,omitempty"` ModelReadSeqIOPS *int64 `tfsdk:"model_read_seq_iops" json:"modelReadSeqIOPS,omitempty"` ModelWriteBPS *int64 `tfsdk:"model_write_bps" json:"modelWriteBPS,omitempty"` ModelWriteRandIOPS *int64 `tfsdk:"model_write_rand_iops" json:"modelWriteRandIOPS,omitempty"` ModelWriteSeqIOPS *int64 `tfsdk:"model_write_seq_iops" json:"modelWriteSeqIOPS,omitempty"` ReadBPS *int64 `tfsdk:"read_bps" json:"readBPS,omitempty"` ReadIOPS *int64 `tfsdk:"read_iops" json:"readIOPS,omitempty"` ReadLatency *int64 `tfsdk:"read_latency" json:"readLatency,omitempty"` ReadLatencyPercent *int64 `tfsdk:"read_latency_percent" json:"readLatencyPercent,omitempty"` WriteBPS *int64 `tfsdk:"write_bps" json:"writeBPS,omitempty"` WriteIOPS *int64 `tfsdk:"write_iops" json:"writeIOPS,omitempty"` WriteLatency *int64 `tfsdk:"write_latency" json:"writeLatency,omitempty"` WriteLatencyPercent *int64 `tfsdk:"write_latency_percent" json:"writeLatencyPercent,omitempty"` } `tfsdk:"io_cfg" json:"ioCfg,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"blocks" json:"blocks,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` } `tfsdk:"blkio_qos" json:"blkioQOS,omitempty"` CpuQOS *struct { CoreExpeller *bool `tfsdk:"core_expeller" json:"coreExpeller,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` GroupIdentity *int64 `tfsdk:"group_identity" json:"groupIdentity,omitempty"` SchedIdle *int64 `tfsdk:"sched_idle" json:"schedIdle,omitempty"` } `tfsdk:"cpu_qos" json:"cpuQOS,omitempty"` MemoryQOS *struct { Enable *bool `tfsdk:"enable" json:"enable,omitempty"` LowLimitPercent *int64 `tfsdk:"low_limit_percent" json:"lowLimitPercent,omitempty"` MinLimitPercent *int64 `tfsdk:"min_limit_percent" json:"minLimitPercent,omitempty"` OomKillGroup *int64 `tfsdk:"oom_kill_group" json:"oomKillGroup,omitempty"` Priority *int64 `tfsdk:"priority" json:"priority,omitempty"` PriorityEnable *int64 `tfsdk:"priority_enable" json:"priorityEnable,omitempty"` ThrottlingPercent *int64 `tfsdk:"throttling_percent" json:"throttlingPercent,omitempty"` WmarkMinAdj *int64 `tfsdk:"wmark_min_adj" json:"wmarkMinAdj,omitempty"` WmarkRatio *int64 `tfsdk:"wmark_ratio" json:"wmarkRatio,omitempty"` WmarkScalePermill *int64 `tfsdk:"wmark_scale_permill" json:"wmarkScalePermill,omitempty"` } `tfsdk:"memory_qos" json:"memoryQOS,omitempty"` NetworkQOS *struct { EgressLimit *string `tfsdk:"egress_limit" json:"egressLimit,omitempty"` EgressRequest *string `tfsdk:"egress_request" json:"egressRequest,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` IngressLimit *string `tfsdk:"ingress_limit" json:"ingressLimit,omitempty"` IngressRequest *string `tfsdk:"ingress_request" json:"ingressRequest,omitempty"` } `tfsdk:"network_qos" json:"networkQOS,omitempty"` ResctrlQOS *struct { CatRangeEndPercent *int64 `tfsdk:"cat_range_end_percent" json:"catRangeEndPercent,omitempty"` CatRangeStartPercent *int64 `tfsdk:"cat_range_start_percent" json:"catRangeStartPercent,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` MbaPercent *int64 `tfsdk:"mba_percent" json:"mbaPercent,omitempty"` } `tfsdk:"resctrl_qos" json:"resctrlQOS,omitempty"` } `tfsdk:"ls_class" json:"lsClass,omitempty"` LsrClass *struct { BlkioQOS *struct { Blocks *[]struct { IoCfg *struct { EnableUserModel *bool `tfsdk:"enable_user_model" json:"enableUserModel,omitempty"` IoWeightPercent *int64 `tfsdk:"io_weight_percent" json:"ioWeightPercent,omitempty"` ModelReadBPS *int64 `tfsdk:"model_read_bps" json:"modelReadBPS,omitempty"` ModelReadRandIOPS *int64 `tfsdk:"model_read_rand_iops" json:"modelReadRandIOPS,omitempty"` ModelReadSeqIOPS *int64 `tfsdk:"model_read_seq_iops" json:"modelReadSeqIOPS,omitempty"` ModelWriteBPS *int64 `tfsdk:"model_write_bps" json:"modelWriteBPS,omitempty"` ModelWriteRandIOPS *int64 `tfsdk:"model_write_rand_iops" json:"modelWriteRandIOPS,omitempty"` ModelWriteSeqIOPS *int64 `tfsdk:"model_write_seq_iops" json:"modelWriteSeqIOPS,omitempty"` ReadBPS *int64 `tfsdk:"read_bps" json:"readBPS,omitempty"` ReadIOPS *int64 `tfsdk:"read_iops" json:"readIOPS,omitempty"` ReadLatency *int64 `tfsdk:"read_latency" json:"readLatency,omitempty"` ReadLatencyPercent *int64 `tfsdk:"read_latency_percent" json:"readLatencyPercent,omitempty"` WriteBPS *int64 `tfsdk:"write_bps" json:"writeBPS,omitempty"` WriteIOPS *int64 `tfsdk:"write_iops" json:"writeIOPS,omitempty"` WriteLatency *int64 `tfsdk:"write_latency" json:"writeLatency,omitempty"` WriteLatencyPercent *int64 `tfsdk:"write_latency_percent" json:"writeLatencyPercent,omitempty"` } `tfsdk:"io_cfg" json:"ioCfg,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"blocks" json:"blocks,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` } `tfsdk:"blkio_qos" json:"blkioQOS,omitempty"` CpuQOS *struct { CoreExpeller *bool `tfsdk:"core_expeller" json:"coreExpeller,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` GroupIdentity *int64 `tfsdk:"group_identity" json:"groupIdentity,omitempty"` SchedIdle *int64 `tfsdk:"sched_idle" json:"schedIdle,omitempty"` } `tfsdk:"cpu_qos" json:"cpuQOS,omitempty"` MemoryQOS *struct { Enable *bool `tfsdk:"enable" json:"enable,omitempty"` LowLimitPercent *int64 `tfsdk:"low_limit_percent" json:"lowLimitPercent,omitempty"` MinLimitPercent *int64 `tfsdk:"min_limit_percent" json:"minLimitPercent,omitempty"` OomKillGroup *int64 `tfsdk:"oom_kill_group" json:"oomKillGroup,omitempty"` Priority *int64 `tfsdk:"priority" json:"priority,omitempty"` PriorityEnable *int64 `tfsdk:"priority_enable" json:"priorityEnable,omitempty"` ThrottlingPercent *int64 `tfsdk:"throttling_percent" json:"throttlingPercent,omitempty"` WmarkMinAdj *int64 `tfsdk:"wmark_min_adj" json:"wmarkMinAdj,omitempty"` WmarkRatio *int64 `tfsdk:"wmark_ratio" json:"wmarkRatio,omitempty"` WmarkScalePermill *int64 `tfsdk:"wmark_scale_permill" json:"wmarkScalePermill,omitempty"` } `tfsdk:"memory_qos" json:"memoryQOS,omitempty"` NetworkQOS *struct { EgressLimit *string `tfsdk:"egress_limit" json:"egressLimit,omitempty"` EgressRequest *string `tfsdk:"egress_request" json:"egressRequest,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` IngressLimit *string `tfsdk:"ingress_limit" json:"ingressLimit,omitempty"` IngressRequest *string `tfsdk:"ingress_request" json:"ingressRequest,omitempty"` } `tfsdk:"network_qos" json:"networkQOS,omitempty"` ResctrlQOS *struct { CatRangeEndPercent *int64 `tfsdk:"cat_range_end_percent" json:"catRangeEndPercent,omitempty"` CatRangeStartPercent *int64 `tfsdk:"cat_range_start_percent" json:"catRangeStartPercent,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` MbaPercent *int64 `tfsdk:"mba_percent" json:"mbaPercent,omitempty"` } `tfsdk:"resctrl_qos" json:"resctrlQOS,omitempty"` } `tfsdk:"lsr_class" json:"lsrClass,omitempty"` Policies *struct { CpuPolicy *string `tfsdk:"cpu_policy" json:"cpuPolicy,omitempty"` NetQOSPolicy *string `tfsdk:"net_qos_policy" json:"netQOSPolicy,omitempty"` } `tfsdk:"policies" json:"policies,omitempty"` SystemClass *struct { BlkioQOS *struct { Blocks *[]struct { IoCfg *struct { EnableUserModel *bool `tfsdk:"enable_user_model" json:"enableUserModel,omitempty"` IoWeightPercent *int64 `tfsdk:"io_weight_percent" json:"ioWeightPercent,omitempty"` ModelReadBPS *int64 `tfsdk:"model_read_bps" json:"modelReadBPS,omitempty"` ModelReadRandIOPS *int64 `tfsdk:"model_read_rand_iops" json:"modelReadRandIOPS,omitempty"` ModelReadSeqIOPS *int64 `tfsdk:"model_read_seq_iops" json:"modelReadSeqIOPS,omitempty"` ModelWriteBPS *int64 `tfsdk:"model_write_bps" json:"modelWriteBPS,omitempty"` ModelWriteRandIOPS *int64 `tfsdk:"model_write_rand_iops" json:"modelWriteRandIOPS,omitempty"` ModelWriteSeqIOPS *int64 `tfsdk:"model_write_seq_iops" json:"modelWriteSeqIOPS,omitempty"` ReadBPS *int64 `tfsdk:"read_bps" json:"readBPS,omitempty"` ReadIOPS *int64 `tfsdk:"read_iops" json:"readIOPS,omitempty"` ReadLatency *int64 `tfsdk:"read_latency" json:"readLatency,omitempty"` ReadLatencyPercent *int64 `tfsdk:"read_latency_percent" json:"readLatencyPercent,omitempty"` WriteBPS *int64 `tfsdk:"write_bps" json:"writeBPS,omitempty"` WriteIOPS *int64 `tfsdk:"write_iops" json:"writeIOPS,omitempty"` WriteLatency *int64 `tfsdk:"write_latency" json:"writeLatency,omitempty"` WriteLatencyPercent *int64 `tfsdk:"write_latency_percent" json:"writeLatencyPercent,omitempty"` } `tfsdk:"io_cfg" json:"ioCfg,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"blocks" json:"blocks,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` } `tfsdk:"blkio_qos" json:"blkioQOS,omitempty"` CpuQOS *struct { CoreExpeller *bool `tfsdk:"core_expeller" json:"coreExpeller,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` GroupIdentity *int64 `tfsdk:"group_identity" json:"groupIdentity,omitempty"` SchedIdle *int64 `tfsdk:"sched_idle" json:"schedIdle,omitempty"` } `tfsdk:"cpu_qos" json:"cpuQOS,omitempty"` MemoryQOS *struct { Enable *bool `tfsdk:"enable" json:"enable,omitempty"` LowLimitPercent *int64 `tfsdk:"low_limit_percent" json:"lowLimitPercent,omitempty"` MinLimitPercent *int64 `tfsdk:"min_limit_percent" json:"minLimitPercent,omitempty"` OomKillGroup *int64 `tfsdk:"oom_kill_group" json:"oomKillGroup,omitempty"` Priority *int64 `tfsdk:"priority" json:"priority,omitempty"` PriorityEnable *int64 `tfsdk:"priority_enable" json:"priorityEnable,omitempty"` ThrottlingPercent *int64 `tfsdk:"throttling_percent" json:"throttlingPercent,omitempty"` WmarkMinAdj *int64 `tfsdk:"wmark_min_adj" json:"wmarkMinAdj,omitempty"` WmarkRatio *int64 `tfsdk:"wmark_ratio" json:"wmarkRatio,omitempty"` WmarkScalePermill *int64 `tfsdk:"wmark_scale_permill" json:"wmarkScalePermill,omitempty"` } `tfsdk:"memory_qos" json:"memoryQOS,omitempty"` NetworkQOS *struct { EgressLimit *string `tfsdk:"egress_limit" json:"egressLimit,omitempty"` EgressRequest *string `tfsdk:"egress_request" json:"egressRequest,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` IngressLimit *string `tfsdk:"ingress_limit" json:"ingressLimit,omitempty"` IngressRequest *string `tfsdk:"ingress_request" json:"ingressRequest,omitempty"` } `tfsdk:"network_qos" json:"networkQOS,omitempty"` ResctrlQOS *struct { CatRangeEndPercent *int64 `tfsdk:"cat_range_end_percent" json:"catRangeEndPercent,omitempty"` CatRangeStartPercent *int64 `tfsdk:"cat_range_start_percent" json:"catRangeStartPercent,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` MbaPercent *int64 `tfsdk:"mba_percent" json:"mbaPercent,omitempty"` } `tfsdk:"resctrl_qos" json:"resctrlQOS,omitempty"` } `tfsdk:"system_class" json:"systemClass,omitempty"` } `tfsdk:"resource_qos_strategy" json:"resourceQOSStrategy,omitempty"` ResourceUsedThresholdWithBE *struct { CpuEvictBESatisfactionLowerPercent *int64 `tfsdk:"cpu_evict_be_satisfaction_lower_percent" json:"cpuEvictBESatisfactionLowerPercent,omitempty"` CpuEvictBESatisfactionUpperPercent *int64 `tfsdk:"cpu_evict_be_satisfaction_upper_percent" json:"cpuEvictBESatisfactionUpperPercent,omitempty"` CpuEvictBEUsageThresholdPercent *int64 `tfsdk:"cpu_evict_be_usage_threshold_percent" json:"cpuEvictBEUsageThresholdPercent,omitempty"` CpuEvictPolicy *string `tfsdk:"cpu_evict_policy" json:"cpuEvictPolicy,omitempty"` CpuEvictTimeWindowSeconds *int64 `tfsdk:"cpu_evict_time_window_seconds" json:"cpuEvictTimeWindowSeconds,omitempty"` CpuSuppressPolicy *string `tfsdk:"cpu_suppress_policy" json:"cpuSuppressPolicy,omitempty"` CpuSuppressThresholdPercent *int64 `tfsdk:"cpu_suppress_threshold_percent" json:"cpuSuppressThresholdPercent,omitempty"` Enable *bool `tfsdk:"enable" json:"enable,omitempty"` MemoryEvictLowerPercent *int64 `tfsdk:"memory_evict_lower_percent" json:"memoryEvictLowerPercent,omitempty"` MemoryEvictThresholdPercent *int64 `tfsdk:"memory_evict_threshold_percent" json:"memoryEvictThresholdPercent,omitempty"` } `tfsdk:"resource_used_threshold_with_be" json:"resourceUsedThresholdWithBE,omitempty"` SystemStrategy *struct { MemcgReapBackGround *int64 `tfsdk:"memcg_reap_back_ground" json:"memcgReapBackGround,omitempty"` MinFreeKbytesFactor *int64 `tfsdk:"min_free_kbytes_factor" json:"minFreeKbytesFactor,omitempty"` TotalNetworkBandwidth *string `tfsdk:"total_network_bandwidth" json:"totalNetworkBandwidth,omitempty"` WatermarkScaleFactor *int64 `tfsdk:"watermark_scale_factor" json:"watermarkScaleFactor,omitempty"` } `tfsdk:"system_strategy" json:"systemStrategy,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.