# Functions
No description provided by the author
GetContainerSpec construct container spec based on option provided.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithCommand - container startup command.
No description provided by the author
WithEnv attach env variables.
WithEnvFromSecretorCM attach secret/cm as env.
WithImagePullPolicy - image pull policy.
WithName - name of the container.
WithPort appends the container port.
WithResources - container resource constraints.
No description provided by the author
WithSecurityContext attached pod security policy.
No description provided by the author
WithVolumeMounts mount cm/secret as volume.
No description provided by the author
# Constants
CM_MISSING - error message to indicate CM is missing.
INVALID_ENV_FROM_TYPE - error message to indicate invalid type to mount as env.
SECRET_MISSING - error message to indicate Secret is missing.
# Type aliases
No description provided by the author
No description provided by the author