Class PodPresetSpec

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class PodPresetSpec
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    PodPresetSpec is a description of a pod preset.
    • Constructor Detail

      • PodPresetSpec

        public PodPresetSpec()
    • Method Detail

      • getEnv

        public java.util.List<EnvVar> getEnv()
        Env defines the collection of EnvVar to inject into containers.
      • getEnvFrom

        public java.util.List<EnvFromSource> getEnvFrom()
        EnvFrom defines the collection of EnvFromSource to inject into containers.
      • getVolumeMounts

        public java.util.List<VolumeMount> getVolumeMounts()
        VolumeMounts defines the collection of VolumeMount to inject into containers.
      • getVolumes

        public java.util.List<Volume> getVolumes()
        Volumes defines the collection of Volume to inject into the pod.
      • setEnv

        public void setEnv​(java.util.List<EnvVar> env)
        Env defines the collection of EnvVar to inject into containers.
      • setEnvFrom

        public void setEnvFrom​(java.util.List<EnvFromSource> envFrom)
        EnvFrom defines the collection of EnvFromSource to inject into containers.
      • setSelector

        public void setSelector​(LabelSelector selector)
      • setVolumeMounts

        public void setVolumeMounts​(java.util.List<VolumeMount> volumeMounts)
        VolumeMounts defines the collection of VolumeMount to inject into containers.
      • setVolumes

        public void setVolumes​(java.util.List<Volume> volumes)
        Volumes defines the collection of Volume to inject into the pod.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object