public class KnativeConfig extends BaseConfig
| Constructor and Description |
|---|
KnativeConfig() |
KnativeConfig(Project project,
Map<ConfigKey,Object> attributes,
String partOf,
String name,
String version,
Label[] labels,
Annotation[] annotations,
Env[] envVars,
String workingDir,
String[] command,
String[] arguments,
String serviceAccount,
String host,
Port[] ports,
ServiceType serviceType,
PersistentVolumeClaimVolume[] pvcVolumes,
SecretVolume[] secretVolumes,
ConfigMapVolume[] configMapVolumes,
GitRepoVolume[] gitRepoVolumes,
AwsElasticBlockStoreVolume[] awsElasticBlockStoreVolumes,
AzureDiskVolume[] azureDiskVolumes,
AzureFileVolume[] azureFileVolumes,
Mount[] mounts,
ImagePullPolicy imagePullPolicy,
String[] imagePullSecrets,
HostAlias[] hostAliases,
Probe livenessProbe,
Probe readinessProbe,
ResourceRequirements requestResources,
ResourceRequirements limitResources,
Container[] sidecars,
boolean expose,
boolean autoDeployEnabled,
String revisionName,
HttpTransportVersion httpTransportVersion,
int minScale,
int maxScale,
boolean scaleToZeroEnabled,
AutoScaling revisionAutoScaling,
GlobalAutoScaling globalAutoScaling,
String templateName,
Traffic[] traffic) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
GlobalAutoScaling |
getGlobalAutoScaling() |
HttpTransportVersion |
getHttpTransportVersion() |
int |
getMaxScale() |
int |
getMinScale() |
AutoScaling |
getRevisionAutoScaling() |
String |
getRevisionName() |
String |
getTemplateName() |
Traffic[] |
getTraffic() |
int |
hashCode() |
boolean |
isScaleToZeroEnabled() |
static KnativeConfigBuilder |
newKnativeConfigBuilder() |
getAnnotations, getArguments, getAwsElasticBlockStoreVolumes, getAzureDiskVolumes, getAzureFileVolumes, getCommand, getConfigMapVolumes, getEnvVars, getGitRepoVolumes, getHost, getHostAliases, getImagePullPolicy, getImagePullSecrets, getLabels, getLimitResources, getLivenessProbe, getMounts, getPorts, getPvcVolumes, getReadinessProbe, getRequestResources, getSecretVolumes, getServiceAccount, getServiceType, getSidecars, getWorkingDir, isAutoDeployEnabled, isExposegetName, getPartOf, getVersion, setName, setPartOf, setVersionentrySet, getAttribute, getAttributeOrDefault, getAttributes, getProject, hasAttribute, put, setAttributes, setProjectpublic KnativeConfig()
public KnativeConfig(Project project, Map<ConfigKey,Object> attributes, String partOf, String name, String version, Label[] labels, Annotation[] annotations, Env[] envVars, String workingDir, String[] command, String[] arguments, String serviceAccount, String host, Port[] ports, ServiceType serviceType, PersistentVolumeClaimVolume[] pvcVolumes, SecretVolume[] secretVolumes, ConfigMapVolume[] configMapVolumes, GitRepoVolume[] gitRepoVolumes, AwsElasticBlockStoreVolume[] awsElasticBlockStoreVolumes, AzureDiskVolume[] azureDiskVolumes, AzureFileVolume[] azureFileVolumes, Mount[] mounts, ImagePullPolicy imagePullPolicy, String[] imagePullSecrets, HostAlias[] hostAliases, Probe livenessProbe, Probe readinessProbe, ResourceRequirements requestResources, ResourceRequirements limitResources, Container[] sidecars, boolean expose, boolean autoDeployEnabled, String revisionName, HttpTransportVersion httpTransportVersion, int minScale, int maxScale, boolean scaleToZeroEnabled, AutoScaling revisionAutoScaling, GlobalAutoScaling globalAutoScaling, String templateName, Traffic[] traffic)
public String getRevisionName()
public HttpTransportVersion getHttpTransportVersion()
public int getMinScale()
public int getMaxScale()
public boolean isScaleToZeroEnabled()
public AutoScaling getRevisionAutoScaling()
public GlobalAutoScaling getGlobalAutoScaling()
public String getTemplateName()
public Traffic[] getTraffic()
public static KnativeConfigBuilder newKnativeConfigBuilder()
public boolean equals(Object o)
equals in class BaseConfigpublic int hashCode()
hashCode in class BaseConfigCopyright © 2018–2020 Red Hat. All rights reserved.