All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.kubernetes.api.model.metrics.v1beta1.ContainerMetricsAssert Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model.metrics.v1beta1;


/**
 * {@link ContainerMetrics} specific assertions - Generated by CustomAssertionGenerator.
 *
 * Although this class is not final to allow Soft assertions proxy, if you wish to extend it, 
 * extend {@link AbstractContainerMetricsAssert} instead.
 */
public class ContainerMetricsAssert extends AbstractContainerMetricsAssert {

  /**
   * Creates a new {@link ContainerMetricsAssert} to make assertions on actual ContainerMetrics.
   * @param actual the ContainerMetrics we want to make assertions on.
   */
  public ContainerMetricsAssert(ContainerMetrics actual) {
    super(actual, ContainerMetricsAssert.class);
  }

  /**
   * An entry point for ContainerMetricsAssert to follow AssertJ standard assertThat() statements.
* With a static import, one can write directly: assertThat(myContainerMetrics) and get specific assertion with code completion. * @param actual the ContainerMetrics we want to make assertions on. * @return a new {@link ContainerMetricsAssert} */ public static ContainerMetricsAssert assertThat(ContainerMetrics actual) { return new ContainerMetricsAssert(actual); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy