pub struct AddOptions {
pub name: String,
pub ssh: String,
pub ssh_port: u16,
pub key: PathBuf,
pub address: Option<String>,
pub agent_port: u16,
pub allow_from: Vec<String>,
pub isb_binary: Option<PathBuf>,
pub version: Option<String>,
pub self_binary: bool,
pub public_ingress: bool,
}Expand description
What isb server add was given.
Fields§
§name: String§ssh: Stringuser@host; the user is root or has passwordless sudo.
ssh_port: u16§key: PathBuf§address: Option<String>What the control plane dials, if not the SSH host.
agent_port: u16§allow_from: Vec<String>Firewall the box to SSH plus the agent port from these (ufw).
isb_binary: Option<PathBuf>A Linux isb binary to install; default the release of this version.
version: Option<String>§self_binary: boolInstall this control plane’s own executable (it must be a Linux build for the box’s architecture).
public_ingress: boolServe the box’s orgs’ domains on its own 80 and 443 (isb host setup --public-ingress, the agent’s --ingress-http/https).
Trait Implementations§
Source§impl Clone for AddOptions
impl Clone for AddOptions
Auto Trait Implementations§
impl Freeze for AddOptions
impl RefUnwindSafe for AddOptions
impl Send for AddOptions
impl Sync for AddOptions
impl Unpin for AddOptions
impl UnsafeUnpin for AddOptions
impl UnwindSafe for AddOptions
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