pub struct Options {
pub kubeconfig: PathBuf,
pub node_name: String,
pub node_ip: Option<String>,
pub volume_root: Option<PathBuf>,
pub network: Option<String>,
pub allow_host_paths: Vec<PathBuf>,
pub kubelet_bind: Option<SocketAddr>,
pub serving_dir: PathBuf,
pub client_ca: Option<PathBuf>,
pub cluster: Option<Cluster>,
pub rotate_dir: Option<PathBuf>,
pub teardown_on_exit: bool,
}Fields§
§kubeconfig: PathBuf§node_name: String§node_ip: Option<String>§volume_root: Option<PathBuf>§network: Option<String>§allow_host_paths: Vec<PathBuf>§kubelet_bind: Option<SocketAddr>§serving_dir: PathBuf§client_ca: Option<PathBuf>§cluster: Option<Cluster>§rotate_dir: Option<PathBuf>§teardown_on_exit: boolAuto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Optionswhere
RawVecInner: Send,
impl Sync for Optionswhere
RawVecInner: Sync,
impl Unpin for Options
impl UnsafeUnpin for Optionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
impl UnwindSafe for Optionswhere
RawVecInner: UnwindSafe,
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