[−][src]Struct gitlab_ci_parser::GitlabCIConfig
Fields
file: PathBuf
parent: Option<Box<GitlabCIConfig>>
Based on include orderings, what's the parent of this gitlab config.
variables: BTreeMap<VarName, VarValue>
Global variables
stages: Vec<StageName>
Stages group jobs that run in parallel. The ordering is important
jobs: BTreeMap<JobName, Rc<Job>>
Targets that gitlab can run.
Methods
impl GitlabCIConfig
[src]
pub fn get_merged_variables(&self) -> BTreeMap<String, String>
[src]
Returns the consolidated global variables based on all imports.
pub fn lookup_job(&self, job_name: &str) -> Option<Rc<Job>>
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GitlabCIConfig
impl !Send for GitlabCIConfig
impl !Sync for GitlabCIConfig
impl Unpin for GitlabCIConfig
impl !UnwindSafe for GitlabCIConfig
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,
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.
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>,