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

io.dekorate.kind.config.KindConfigBuilder Maven / Gradle / Ivy

package io.dekorate.kind.config;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;

/**
 * Generated
 */
public class KindConfigBuilder extends KindConfigFluent implements VisitableBuilder{
  public KindConfigBuilder() {
    this(new KindConfig());
  }
  
  public KindConfigBuilder(KindConfigFluent fluent) {
    this(fluent, new KindConfig());
  }
  
  public KindConfigBuilder(KindConfigFluent fluent,KindConfig instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public KindConfigBuilder(KindConfig instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  KindConfigFluent fluent;
  
  public EditableKindConfig build() {
    EditableKindConfig buildable = new EditableKindConfig(fluent.buildProject(),fluent.getAttributes(),fluent.getPartOf(),fluent.getName(),fluent.getVersion(),fluent.getDeploymentKind(),fluent.buildLabels(),fluent.buildAnnotations(),fluent.buildEnvVars(),fluent.getWorkingDir(),fluent.getCommand(),fluent.getArguments(),fluent.getServiceAccount(),fluent.buildPorts(),fluent.getServiceType(),fluent.buildPvcVolumes(),fluent.buildSecretVolumes(),fluent.buildConfigMapVolumes(),fluent.buildEmptyDirVolumes(),fluent.buildGitRepoVolumes(),fluent.buildAwsElasticBlockStoreVolumes(),fluent.buildAzureDiskVolumes(),fluent.buildAzureFileVolumes(),fluent.buildMounts(),fluent.getImagePullPolicy(),fluent.getImagePullSecrets(),fluent.getDeploymentStrategy(),fluent.buildRollingUpdate(),fluent.buildHostAliases(),fluent.buildLivenessProbe(),fluent.buildReadinessProbe(),fluent.buildStartupProbe(),fluent.buildRequestResources(),fluent.buildLimitResources(),fluent.buildSidecars(),fluent.getAutoDeployEnabled(),fluent.buildJobs(),fluent.buildCronJobs(),fluent.getEnabled());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy