16 Commits

Author SHA1 Message Date
hashicorp-copywrite[bot]
36a312ee26
add missing license headers and update copyright file headers to BUS-1.1 2023-08-10 21:53:25 +01:00
Chris Roberts
e082fd6359 Machine mapper no longer needs to load through environment 2022-07-11 15:09:08 -07:00
sophia
ba1384eb88 Fix machine mappers 2022-05-04 11:51:43 -05:00
sophia
e020c6600e Hacks to let a remote machine be instantiated with or with out a client 2022-05-04 11:25:54 -05:00
sophia
92a0b1c541 Allow remote machine to be initialized with just a machine client 2022-05-04 11:23:06 -05:00
Paul Hinze
8730b9f100
Fix MachineState mapper so IsRunning actions work
The IsRunning action checks if `env[:machine].state.id == :running` but
this check was never passing as the protobuf-washed version of machine
state was yielding a machine state w/ a string value like `"running"`.

Easy fix in the mapper!
2022-04-25 12:26:34 -05:00
Chris Roberts
32c77ef96a
Remove need for environment when mapping machine 2022-04-25 12:26:29 -05:00
sophia
274ed6c756
Add mapper for machine state 2022-04-25 12:26:24 -05:00
Chris Roberts
e6a3e16b48
Remove from string mappers 2022-04-25 12:26:15 -05:00
Chris Roberts
f07ef26a64
Machine proto arg is within target 2022-04-25 12:26:02 -05:00
Chris Roberts
3cc92280f8
Update mappers to include maps from funcspec value to proto 2022-04-25 12:26:02 -05:00
Chris Roberts
ce3f18ada1
Add machine to_proto mapper and update from target 2022-04-25 12:26:01 -05:00
Chris Roberts
48c0c96798
Update namespace for machine 2022-04-25 12:24:44 -05:00
Chris Roberts
66f8643ae3
Add more mappers 2022-04-25 12:24:43 -05:00
Chris Roberts
9909701544
Update references to machine to nest under target 2022-04-25 12:24:42 -05:00
Chris Roberts
fc88c8d580
Add basic mappers for client types 2022-04-25 12:24:38 -05:00