public class KubernetesConfig extends BaseConfig
| Constructor and Description |
|---|
KubernetesConfig() |
KubernetesConfig(Project project,
Map<ConfigKey,Object> attributes,
String group,
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,
Probe livenessProbe,
Probe readinessProbe,
Container[] sidecars,
boolean expose,
boolean autoDeployEnabled,
Container[] initContainers,
int replicas,
boolean headless) |
| Modifier and Type | Method and Description |
|---|---|
Container[] |
getInitContainers() |
int |
getReplicas() |
boolean |
isHeadless() |
getAnnotations, getArguments, getAwsElasticBlockStoreVolumes, getAzureDiskVolumes, getAzureFileVolumes, getCommand, getConfigMapVolumes, getEnvVars, getGitRepoVolumes, getHost, getImagePullPolicy, getImagePullSecrets, getLabels, getLivenessProbe, getMounts, getPorts, getPvcVolumes, getReadinessProbe, getSecretVolumes, getServiceAccount, getServiceType, getSidecars, getWorkingDir, isAutoDeployEnabled, isExposegetGroup, getName, getVersion, setGroup, setName, setVersionentrySet, getAttribute, getAttributeOrDefault, getAttributes, getProject, hasAttribute, put, setAttributes, setProjectpublic KubernetesConfig()
public KubernetesConfig(Project project, Map<ConfigKey,Object> attributes, String group, 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, Probe livenessProbe, Probe readinessProbe, Container[] sidecars, boolean expose, boolean autoDeployEnabled, Container[] initContainers, int replicas, boolean headless)
public Container[] getInitContainers()
public int getReplicas()
public boolean isHeadless()
Copyright © 2018–2020 Red Hat. All rights reserved.