pub struct Platforms {
pub source_control: String,
pub ci: String,
pub artifact_registry: Registry,
}Expand description
Platforms(载体维度):定义能力的空间。
指 GitHub、Kubernetes、Artifactory 等外部治理载体。负责“外部合规“。
当前默认值锁定为 github + github_actions。
如需支持 GitLab、自建 CI 等,将默认值改为可配置即可。
Fields§
§source_control: String源代码管理平台。
ci: StringCI/CD 平台。
artifact_registry: Registry制品库。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Platforms
impl RefUnwindSafe for Platforms
impl Send for Platforms
impl Sync for Platforms
impl Unpin for Platforms
impl UnsafeUnpin for Platforms
impl UnwindSafe for Platforms
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