pub struct Codefresh {Show 15 fields
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>,
/* private fields */
}Expand description
Fields§
§repo_owner: StringRepository owner.
repo_name: StringRepository name.
branch: StringBranch name of the Git repository of the main pipeline, at the time of execution.
Commit author.
commit_url: StringCommit url.
commit_message: StringCommit message of the git repository revision, at the time of execution.
revision: StringRevision of the Git repository of the main pipeline, at the time of execution.
short_revision: StringAbbreviated 7-character revision hash, as used in git.
volume_name: StringWill 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: PathBufWill refer to the mounted path of the workflow volume inside a Freestyle container.
build_trigger: BuildTriggerWill be an indication of the current build was triggered.
build_id: StringThe build id.
build_timestamp: StringThe timestamp the build was created.
build_url: StringThe URL to the build in Codefresh
kubeconfig_path: Option<PathBuf>Path to kubeconfig if exist
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Codefresh
impl RefUnwindSafe for Codefresh
impl Send for Codefresh
impl Sync for Codefresh
impl Unpin for Codefresh
impl UnwindSafe for Codefresh
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