Struct dagger_sdk::ModuleConfig
source · pub struct ModuleConfig {
pub proc: Option<Arc<Child>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<Child>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
source§impl ModuleConfig
impl ModuleConfig
sourcepub async fn dependencies(&self) -> Result<Vec<String>, DaggerError>
pub async fn dependencies(&self) -> Result<Vec<String>, DaggerError>
Modules that this module depends on.
sourcepub async fn exclude(&self) -> Result<Vec<String>, DaggerError>
pub async fn exclude(&self) -> Result<Vec<String>, DaggerError>
Exclude these file globs when loading the module root.
sourcepub async fn include(&self) -> Result<Vec<String>, DaggerError>
pub async fn include(&self) -> Result<Vec<String>, DaggerError>
Include only these file globs when loading the module root.
sourcepub async fn name(&self) -> Result<String, DaggerError>
pub async fn name(&self) -> Result<String, DaggerError>
The name of the module.
sourcepub async fn root(&self) -> Result<String, DaggerError>
pub async fn root(&self) -> Result<String, DaggerError>
The root directory of the module’s project, which may be above the module source code.
sourcepub async fn sdk(&self) -> Result<String, DaggerError>
pub async fn sdk(&self) -> Result<String, DaggerError>
Either the name of a built-in SDK (‘go’, ‘python’, etc.) OR a module reference pointing to the SDK’s module implementation.
Trait Implementations§
source§impl Clone for ModuleConfig
impl Clone for ModuleConfig
source§fn clone(&self) -> ModuleConfig
fn clone(&self) -> ModuleConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ModuleConfig
impl !Send for ModuleConfig
impl !Sync for ModuleConfig
impl Unpin for ModuleConfig
impl !UnwindSafe for ModuleConfig
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