pub enum InstallId {
Aws {
account: String,
region: String,
prefix: String,
},
Gcp {
project: String,
prefix: String,
},
Azure {
subscription: String,
resource_group: String,
},
Kubernetes {
cluster: String,
namespace: String,
release: String,
},
Machine {
id: String,
},
}Expand description
The install id. Enforcers derive it from their own identity and never read it from anywhere the control plane writes, so a statement signed for one customer’s install is refused by another’s.
Variants§
Aws
aws:<account>:<region>:<prefix>.
Gcp
gcp:<project>:<prefix>.
Azure
azure:<subscription>:<resource-group>.
Kubernetes
k8s:<kube-system namespace uid>:<namespace>/<release>.
Fields
Machine
machine:<uuid>, generated by join on the machine itself.
Implementations§
Trait Implementations§
impl Eq for InstallId
impl StructuralPartialEq for InstallId
Auto Trait Implementations§
impl Forget for InstallId
impl Freeze for InstallId
impl Move for InstallId
impl RefUnwindSafe for InstallId
impl Send for InstallId
impl Sync for InstallId
impl Unpin for InstallId
impl UnsafeUnpin for InstallId
impl UnwindSafe for InstallId
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