pub enum Target {
Docker,
Hosted,
DockerVm,
CloudDocker,
Kubernetes,
Hybrid,
Vagrant,
Proxmox,
Esxi,
CloudVm,
External,
CloudServices,
}Expand description
Where an environment can run.
Variants§
Docker
Containers on the user’s Docker.
Hosted
A hosting service runs the Docker shape for the user.
DockerVm
Docker on one VM: on this machine, an ESXi host or a Proxmox server.
CloudDocker
Docker on one cloud VM.
Kubernetes
The containers on a Kubernetes cluster.
Hybrid
Containers and VMs together on the same networks (local VMs): each machine as a container when it can be one, else as a VM.
Vagrant
One local VM per machine (Vagrant).
Proxmox
One VM per machine on the user’s Proxmox.
Esxi
One VM per machine on the user’s standalone ESXi host (Terraform, no vCenter).
CloudVm
One cloud VM per machine.
External
Machines that already exist, reached over SSH at the addresses the spec gives
(machines.*.external): nothing is created, everything else applies.
CloudServices
The spec’s cloud services (cloud:): its Terraform module applied into the user’s own
cloud account.
Implementations§
Trait Implementations§
impl Copy for Target
Source§impl<'de> Deserialize<'de> for Target
impl<'de> Deserialize<'de> for Target
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Target
Source§impl JsonSchema for Target
impl JsonSchema for Target
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl Ord for Target
impl Ord for Target
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Target
impl PartialOrd for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.