Skip to content

Commit

Permalink
add field to support self destroying machines without DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
jipperinbham committed Jan 18, 2023
1 parent ed66e2a commit 78031f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/machine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,12 @@ type MachineConfig struct {
Metrics *MachineMetrics `json:"metrics"`
Schedule string `json:"schedule,omitempty"`
Checks map[string]MachineCheck `json:"checks,omitempty"`
Destroy bool `json:"destroy"`
Network *NetworkConfig `json:"network"`
}

type NetworkConfig struct {
SkipDNSRegistration bool `json:"skip_dns_registration"`
}

type MachineLease struct {
Expand Down

0 comments on commit 78031f0

Please sign in to comment.