Struct terraform::Terraform [−][src]
Fields
process: Process<P, Q>
sender: Sender<TerraformEvent>
Implementations
impl<P, Q> Terraform<P, Q> where
P: AsRef<Path>,
Q: AsRef<Path>,
[src]
P: AsRef<Path>,
Q: AsRef<Path>,
pub fn new(
binary_path: P,
working_directory: Q,
envs: HashMap<String, String>,
timeout: Duration,
sender: Sender<TerraformEvent>
) -> Result<Self, Error>
[src]
binary_path: P,
working_directory: Q,
envs: HashMap<String, String>,
timeout: Duration,
sender: Sender<TerraformEvent>
) -> Result<Self, Error>
pub fn run_init(&self) -> Result<ProcessContext, Error>
[src]
pub fn run_plan(&self, target_plan: P) -> Result<ProcessContext, Error> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
pub fn run_apply(&self, target_plan: P) -> Result<ProcessContext, Error> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
pub fn run_destroy(&self) -> Result<ProcessContext, Error>
[src]
Auto Trait Implementations
impl<P, Q> !RefUnwindSafe for Terraform<P, Q>
impl<P, Q> Send for Terraform<P, Q> where
P: Send,
Q: Send,
P: Send,
Q: Send,
impl<P, Q> !Sync for Terraform<P, Q>
impl<P, Q> Unpin for Terraform<P, Q> where
P: Unpin,
Q: Unpin,
P: Unpin,
Q: Unpin,
impl<P, Q> !UnwindSafe for Terraform<P, Q>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,