| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.jkube.kit.common.PrefixedLogger |
log |
| Constructor and Description |
|---|
BaseGenerator(GeneratorContext context,
String name) |
BaseGenerator(GeneratorContext context,
String name,
FromSelector fromSelector) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFrom(org.eclipse.jkube.kit.config.image.build.BuildConfiguration.BuildConfigurationBuilder builder)
Add the base image either from configuration or from a given selector
|
protected void |
addLatestTagIfSnapshot(org.eclipse.jkube.kit.config.image.build.BuildConfiguration.BuildConfigurationBuilder buildBuilder) |
protected void |
addSchemaLabels(org.eclipse.jkube.kit.config.image.build.BuildConfiguration.BuildConfigurationBuilder buildBuilder,
org.eclipse.jkube.kit.common.PrefixedLogger log) |
protected void |
addTagsFromConfig(org.eclipse.jkube.kit.config.image.build.BuildConfiguration.BuildConfigurationBuilder buildConfigurationBuilder) |
protected String |
getAlias()
Get alias name with the generator name as default
|
protected String |
getConfig(org.eclipse.jkube.kit.common.Configs.Config key) |
protected String |
getConfig(org.eclipse.jkube.kit.common.Configs.Config key,
String defaultVal) |
protected String |
getConfigWithFallback(org.eclipse.jkube.generator.api.support.BaseGenerator.Config key,
String fallbackPropertyKey,
String defaultVal) |
GeneratorContext |
getContext() |
protected String |
getFromAsConfigured() |
protected String |
getImageName()
Get Image name with a standard default
|
String |
getName() |
protected org.eclipse.jkube.kit.common.JavaProject |
getProject() |
protected String |
getRegistry()
Get the docker registry where the image should be located.
|
protected boolean |
shouldAddGeneratedImageConfiguration(List<org.eclipse.jkube.kit.config.image.ImageConfiguration> configs) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomize, isApplicablepublic BaseGenerator(GeneratorContext context, String name)
public BaseGenerator(GeneratorContext context, String name, FromSelector fromSelector)
protected org.eclipse.jkube.kit.common.JavaProject getProject()
public String getName()
getName in interface org.eclipse.jkube.kit.common.Namedpublic GeneratorContext getContext()
protected String getConfig(org.eclipse.jkube.kit.common.Configs.Config key)
protected String getConfig(org.eclipse.jkube.kit.common.Configs.Config key, String defaultVal)
protected String getConfigWithFallback(org.eclipse.jkube.generator.api.support.BaseGenerator.Config key, String fallbackPropertyKey, String defaultVal)
protected String getFromAsConfigured()
protected void addFrom(org.eclipse.jkube.kit.config.image.build.BuildConfiguration.BuildConfigurationBuilder builder)
builder - for the build image configuration to add the from to.protected String getImageName()
protected String getRegistry()
protected String getAlias()
protected boolean shouldAddGeneratedImageConfiguration(List<org.eclipse.jkube.kit.config.image.ImageConfiguration> configs)
protected void addLatestTagIfSnapshot(org.eclipse.jkube.kit.config.image.build.BuildConfiguration.BuildConfigurationBuilder buildBuilder)
protected void addTagsFromConfig(org.eclipse.jkube.kit.config.image.build.BuildConfiguration.BuildConfigurationBuilder buildConfigurationBuilder)
protected void addSchemaLabels(org.eclipse.jkube.kit.config.image.build.BuildConfiguration.BuildConfigurationBuilder buildBuilder,
org.eclipse.jkube.kit.common.PrefixedLogger log)
Copyright © 2023. All rights reserved.