pub struct BuildTriggerCause {
pub bitbucket_web_hook: Option<BitbucketWebHookCause>,
pub generic_web_hook: Option<GenericWebHookCause>,
pub github_web_hook: Option<GitHubWebHookCause>,
pub gitlab_web_hook: Option<GitLabWebHookCause>,
pub image_change_build: Option<ImageChangeCause>,
pub message: Option<String>,
}
Expand description
BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.
Fields§
§bitbucket_web_hook: Option<BitbucketWebHookCause>
BitbucketWebHook represents data for a Bitbucket webhook that fired a specific build.
generic_web_hook: Option<GenericWebHookCause>
genericWebHook holds data about a builds generic webhook trigger.
github_web_hook: Option<GitHubWebHookCause>
gitHubWebHook represents data for a GitHub webhook that fired a specific build.
gitlab_web_hook: Option<GitLabWebHookCause>
GitLabWebHook represents data for a GitLab webhook that fired a specific build.
image_change_build: Option<ImageChangeCause>
imageChangeBuild stores information about an imagechange event that triggered a new build.
message: Option<String>
message is used to store a human readable message for why the build was triggered. E.g.: “Manually triggered by user”, “Configuration change”,etc.
Trait Implementations§
Source§impl Clone for BuildTriggerCause
impl Clone for BuildTriggerCause
Source§fn clone(&self) -> BuildTriggerCause
fn clone(&self) -> BuildTriggerCause
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more