pub struct Pipeline {
pub id: String,
}
Fields§
§id: String
Implementations§
Source§impl Pipeline
impl Pipeline
pub fn devbox(&self) -> Result<Devbox, Error>
pub fn devenv(&self) -> Result<Devenv, Error>
pub fn flox(&self) -> Result<Flox, Error>
pub fn nix(&self, args: NixArgs) -> Result<Nix, Error>
pub fn pkgx(&self) -> Result<Pkgx, Error>
pub fn pixi(&self) -> Result<Pixi, Error>
pub fn hermit(&self) -> Result<Hermit, Error>
pub fn git(&self, url: &str) -> Result<Git, Error>
pub fn http(&self, url: &str) -> Result<File, Error>
pub fn mise(&self) -> Result<Mise, Error>
pub fn envhub(&self) -> Result<Envhub, Error>
pub fn with_exec(&self, args: Vec<&str>) -> Result<Pipeline, Error>
pub fn with_workdir(&self, path: &str) -> Result<Pipeline, Error>
pub fn with_cache(&self, path: &str, cache_id: &str) -> Result<Pipeline, Error>
pub fn with_file(&self, path: &str, file_id: &str) -> Result<Pipeline, Error>
pub fn stdout(&self) -> Result<String, Error>
pub fn stderr(&self) -> Result<String, Error>
pub fn as_service(&self, name: &str) -> Result<String, Error>
pub fn with_service(&self, service_id: &str) -> Result<Pipeline, Error>
pub fn with_env_variable( &self, name: &str, value: &str, ) -> Result<Pipeline, Error>
pub fn wait_on( &self, port: u32, timeout: Option<u32>, ) -> Result<Pipeline, Error>
pub fn with_secret_variable( &self, name: &str, secret_id: &str, ) -> Result<Pipeline, Error>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pipeline
impl<'de> Deserialize<'de> for Pipeline
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Pipeline
impl RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnwindSafe for Pipeline
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