Skip to content

/AWS1/CL_EKSRESOURCEWEIGHT

A resource weight entry for the scheduler scoring strategy.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_name TYPE /AWS1/EKSRESOURCEWEIGHTNAME /AWS1/EKSRESOURCEWEIGHTNAME

The name of the resource (for example, cpu or memory).

iv_weight TYPE /AWS1/EKSRESOURCEWEIGHTVALUE /AWS1/EKSRESOURCEWEIGHTVALUE

The weight assigned to the resource for scoring. Must be between 1 and 100.


Queryable Attributes

name

The name of the resource (for example, cpu or memory).

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

weight

The weight assigned to the resource for scoring. Must be between 1 and 100.

Accessible with the following methods

Method Description
GET_WEIGHT() Getter for WEIGHT, with configurable default
ASK_WEIGHT() Getter for WEIGHT w/ exceptions if field has no value
HAS_WEIGHT() Determine if WEIGHT has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_RESOURCEWEIGHTLIST

TYPES TT_RESOURCEWEIGHTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EKSRESOURCEWEIGHT WITH DEFAULT KEY
.