-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moves nexworkload string newtype to controlapi (#261)
* moves nexworkload string newtype to controlapi * fixing darwin * adding other platform targets * windoze
- Loading branch information
1 parent
4aa9c81
commit c698e97
Showing
21 changed files
with
175 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1 @@ | ||
package models | ||
|
||
type NexWorkload string | ||
|
||
const ( | ||
NexWorkloadNative NexWorkload = "native" | ||
NexWorkloadV8 NexWorkload = "v8" | ||
NexWorkloadOCI NexWorkload = "oci" | ||
NexWorkloadWasm NexWorkload = "wasm" | ||
) | ||
|
||
type NodeCapabilities struct { | ||
Sandboxable bool `json:"sandboxable"` | ||
SupportedProviders []NexWorkload `json:"supported_providers"` | ||
NodeTags map[string]string `json:"node_tags"` | ||
} |
Oops, something went wrong.