Struct ci_detective::codefresh::Codefresh
[−]
[src]
pub struct Codefresh { pub repo_owner: String, pub repo_name: String, pub branch: String, pub commit_author: String, pub commit_url: String, pub commit_message: String, pub revision: String, pub short_revision: String, pub volume_name: String, pub volume_path: PathBuf, pub build_trigger: BuildTrigger, pub build_id: String, pub build_timestamp: String, pub build_url: String, pub kubeconfig_path: Option<PathBuf>, // some fields omitted }
Codefresh CI
References
Fields
repo_owner: String
Repository owner.
repo_name: String
Repository name.
branch: String
Branch name of the Git repository of the main pipeline, at the time of execution.
Commit author.
commit_url: String
Commit url.
commit_message: String
Commit message of the git repository revision, at the time of execution.
revision: String
Revision of the Git repository of the main pipeline, at the time of execution.
short_revision: String
Abbreviated 7-character revision hash, as used in git.
volume_name: String
Will refer to the volume that was generated for the specific flow. Can be used in conjunction with a composition to provide access to your cloned repository.
volume_path: PathBuf
Will refer to the mounted path of the workflow volume inside a Freestyle container.
build_trigger: BuildTrigger
Will be an indication of the current build was triggered.
build_id: String
The build id.
build_timestamp: String
The timestamp the build was created.
build_url: String
The URL to the build in Codefresh
kubeconfig_path: Option<PathBuf>
Path to kubeconfig if exist
Methods
impl Codefresh
[src]
Trait Implementations
impl Clone for Codefresh
[src]
fn clone(&self) -> Codefresh
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more