3b323603b5
Old Output: ``` +/- Job: "example" Datacenters { Datacenters: "dc1" } +/- Task Group: "cache" (1 create/destroy update) +/- RestartPolicy { +/- Attempts: "10" => "9" Delay: "25000000000" Interval: "300000000000" Mode: "delay" } +/- EphemeralDisk { Migrate: "false" +/- SizeMB: "300" => "301" Sticky: "false" } +/- Task: "redis" (forces create/destroy update) + Meta[key]: "value" +/- Config { image: "redis:3.2" +/- port_map[0][db]: "6379" => "6380" } +/- Resources { CPU: "500" DiskMB: "0" IOPS: "0" +/- MemoryMB: "256" => "257" } +/- Service { Name: "global-redis-check" PortLabel: "db" +/- Check { Command: "" InitialStatus: "" Interval: "10000000000" Name: "alive" Path: "" PortLabel: "" Protocol: "" +/- Timeout: "2000000000" => "3000000000" Type: "tcp" } } ``` New Output: ``` +/- Job: "example" +/- Task Group: "cache" (1 create/destroy update) +/- RestartPolicy { +/- Attempts: "10" => "9" Delay: "25000000000" Interval: "300000000000" Mode: "delay" } +/- EphemeralDisk { Migrate: "false" +/- SizeMB: "300" => "301" Sticky: "false" } +/- Task: "redis" (forces create/destroy update) + Meta[key]: "value" +/- Config { image: "redis:3.2" +/- port_map[0][db]: "6379" => "6380" } +/- Resources { CPU: "500" DiskMB: "0" IOPS: "0" +/- MemoryMB: "256" => "257" } +/- Service { Name: "global-redis-check" PortLabel: "db" +/- Check { Command: "" InitialStatus: "" Interval: "10000000000" Name: "alive" Path: "" PortLabel: "" Protocol: "" +/- Timeout: "2000000000" => "3000000000" Type: "tcp" } } ``` |
||
---|---|---|
.. | ||
mock | ||
state | ||
structs | ||
types | ||
alloc_endpoint.go | ||
alloc_endpoint_test.go | ||
blocked_evals.go | ||
blocked_evals_test.go | ||
config.go | ||
core_sched.go | ||
core_sched_test.go | ||
eval_broker.go | ||
eval_broker_test.go | ||
eval_endpoint.go | ||
eval_endpoint_test.go | ||
fsm.go | ||
fsm_test.go | ||
heartbeat.go | ||
heartbeat_test.go | ||
job_endpoint.go | ||
job_endpoint_test.go | ||
leader.go | ||
leader_test.go | ||
merge.go | ||
node_endpoint.go | ||
node_endpoint_test.go | ||
operator_endpoint.go | ||
operator_endpoint_test.go | ||
periodic.go | ||
periodic_endpoint.go | ||
periodic_endpoint_test.go | ||
periodic_test.go | ||
plan_apply.go | ||
plan_apply_pool.go | ||
plan_apply_pool_test.go | ||
plan_apply_test.go | ||
plan_endpoint.go | ||
plan_endpoint_test.go | ||
plan_queue.go | ||
plan_queue_test.go | ||
pool.go | ||
raft_rpc.go | ||
regions_endpoint.go | ||
regions_endpoint_test.go | ||
rpc.go | ||
rpc_test.go | ||
serf.go | ||
serf_test.go | ||
server.go | ||
server_test.go | ||
status_endpoint.go | ||
status_endpoint_test.go | ||
system_endpoint.go | ||
system_endpoint_test.go | ||
timetable.go | ||
timetable_test.go | ||
util.go | ||
util_test.go | ||
vault.go | ||
vault_test.go | ||
vault_testing.go | ||
worker.go | ||
worker_test.go |