Class CounterSet

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<CounterSetBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class CounterSet
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<CounterSetBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.


    The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.

    See Also:
    Serialized Form
    • Constructor Detail

      • CounterSet

        public CounterSet()
        No args constructor for use in serialization
    • Method Detail

      • getCounters

        public Map<String,​Counter> getCounters()
        Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.


        The maximum number of counters in all sets is 32.

      • setCounters

        public void setCounters​(Map<String,​Counter> counters)
        Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.


        The maximum number of counters in all sets is 32.

      • getName

        public String getName()
        Name defines the name of the counter set. It must be a DNS label.
      • setName

        public void setName​(String name)
        Name defines the name of the counter set. It must be a DNS label.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)