@Generated(value="org.jsonschema2pojo") public class ExecNewPodHook extends Object
Constructor and Description |
---|
ExecNewPodHook()
No args constructor for use in serialization
|
ExecNewPodHook(List<String> command,
String containerName,
List<EnvVar> env,
List<String> volumes) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
List<String> |
getCommand()
the hook command and its arguments
|
String |
getContainerName()
the name of a container from the pod template whose image will be used for the hook container
|
List<EnvVar> |
getEnv()
environment variables provided to the hook container
|
List<String> |
getVolumes()
the names of volumes from the pod template which should be included in the hook pod; an empty list means no volumes will be copied
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setCommand(List<String> command)
the hook command and its arguments
|
void |
setContainerName(String containerName)
the name of a container from the pod template whose image will be used for the hook container
|
void |
setEnv(List<EnvVar> env)
environment variables provided to the hook container
|
void |
setVolumes(List<String> volumes)
the names of volumes from the pod template which should be included in the hook pod; an empty list means no volumes will be copied
|
public ExecNewPodHook()
public void setCommand(List<String> command)
command
- The commandpublic String getContainerName()
public void setContainerName(String containerName)
containerName
- The containerNamepublic List<EnvVar> getEnv()
public void setEnv(List<EnvVar> env)
env
- The envpublic List<String> getVolumes()
public void setVolumes(List<String> volumes)
volumes
- The volumesCopyright © 2011–2015 Red Hat. All rights reserved.