pub struct GenerateKubeLibpod<'a> {
pub names: Vec<&'a str>,
pub service: Option<bool>,
pub type: Option<&'a str>,
pub replicas: Option<i64>,
pub no_trunc: Option<bool>,
pub podman_only: Option<bool>,
}
Available on crate feature
v5
only.Fields§
§names: Vec<&'a str>
Name or ID of the container or pod.
service: Option<bool>
Generate YAML for a Kubernetes service object.
type: Option<&'a str>
Generate YAML for the given Kubernetes kind.
replicas: Option<i64>
Set the replica number for Deployment kind.
no_trunc: Option<bool>
don’t truncate annotations to the Kubernetes maximum length of 63 characters
podman_only: Option<bool>
add podman-only reserved annotations in generated YAML file (cannot be used by Kubernetes)
Trait Implementations§
Source§impl<'a> Debug for GenerateKubeLibpod<'a>
impl<'a> Debug for GenerateKubeLibpod<'a>
Source§impl<'a> Default for GenerateKubeLibpod<'a>
impl<'a> Default for GenerateKubeLibpod<'a>
Source§fn default() -> GenerateKubeLibpod<'a>
fn default() -> GenerateKubeLibpod<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for GenerateKubeLibpod<'a>
impl<'a> RefUnwindSafe for GenerateKubeLibpod<'a>
impl<'a> Send for GenerateKubeLibpod<'a>
impl<'a> Sync for GenerateKubeLibpod<'a>
impl<'a> Unpin for GenerateKubeLibpod<'a>
impl<'a> UnwindSafe for GenerateKubeLibpod<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more