Skip to content
Permalink
Browse files

chore: cleanup.

  • Loading branch information...
iocanel committed Oct 5, 2019
1 parent e5e85ee commit 9cbbbfe99e127ea22525299ca9c267a593e5f35a
@@ -24,6 +24,7 @@

import io.dekorate.Generator;
import io.dekorate.Session;
import io.dekorate.WithProject;
import io.dekorate.WithSession;
import io.dekorate.config.AnnotationConfiguration;
import io.dekorate.config.ConfigurationSupplier;
@@ -32,7 +33,7 @@
import io.dekorate.docker.annotation.DockerBuild;
import io.dekorate.docker.config.*;

public interface DockerBuildGenerator extends Generator, WithSession {
public interface DockerBuildGenerator extends Generator, WithSession, WithProject {

default String getKey() {
return "docker";
@@ -15,11 +15,6 @@
*/
package io.dekorate.knative.generator;

import io.dekorate.Generator;

import java.util.Collections;
import java.util.List;

public class DefaultKnativeApplicationGenerator implements KnativeApplicationGenerator {

}
@@ -31,15 +31,9 @@
import io.dekorate.deps.kubernetes.api.model.PodSpecBuilder;
import io.dekorate.deps.kubernetes.api.model.PodTemplateSpec;
import io.dekorate.deps.kubernetes.api.model.PodTemplateSpecBuilder;
import io.dekorate.deps.openshift.api.model.BuildConfig;
import io.dekorate.deps.openshift.api.model.BuildConfigBuilder;
import io.dekorate.deps.openshift.api.model.DeploymentConfig;
import io.dekorate.deps.openshift.api.model.DeploymentConfigBuilder;
import io.dekorate.deps.openshift.api.model.ImageStream;
import io.dekorate.deps.openshift.api.model.ImageStreamBuilder;
import io.dekorate.kubernetes.config.Configuration;
import io.dekorate.kubernetes.config.Configurator;
import io.dekorate.kubernetes.config.Env;
import io.dekorate.kubernetes.config.Container;
import io.dekorate.kubernetes.configurator.ApplyDeployToImageConfiguration;
import io.dekorate.kubernetes.decorator.AddInitContainerDecorator;
@@ -51,13 +45,10 @@
import io.dekorate.openshift.decorator.ApplyReplicasDecorator;
import io.dekorate.project.ApplyProjectInfo;
import io.dekorate.project.Project;
import io.dekorate.utils.Images;

public class OpenshiftHandler extends AbstractKubernetesHandler<OpenshiftConfig> implements HandlerFactory, WithProject {

private static final String OPENSHIFT = "openshift";
private static final String APP = "app";
private static final String VERSION = "version";

private static final String IF_NOT_PRESENT = "IfNotPresent";
private static final String KUBERNETES_NAMESPACE = "KUBERNETES_NAMESPACE";

0 comments on commit 9cbbbfe

Please sign in to comment.
You can’t perform that action at this time.