Skip to content

Commit

Permalink
Merge pull request #4 from RicochetStudios/kiweezi/remove-storage-class
Browse files Browse the repository at this point in the history
Remove storage class from schema
  • Loading branch information
kiweezi authored Jan 5, 2024
2 parents 7a7e3ae + 344dc88 commit 17fe768
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 12 deletions.
7 changes: 3 additions & 4 deletions schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ type Setting struct {
}

type Volume struct {
Name string `yaml:"name"`
Path string `yaml:"path"`
Class string `yaml:"class"`
Size string `yaml:"size"`
Name string `yaml:"name"`
Path string `yaml:"path"`
Size string `yaml:"size"`
}

type Probes struct {
Expand Down
2 changes: 1 addition & 1 deletion schema/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ A collection of configuration and settings for games available in the registry.

## Specification

The [example specification](./example_specification.yml) can be followed to add your own games to the registry.
The [example definition](./example_definition.yml) can be followed to add your own games to the registry.
File renamed without changes.
1 change: 0 additions & 1 deletion schema/garrys_mod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,5 @@ settings:
volumes:
- name: data
path: "/gmod"
class: classic
size: 10Gi
probes: null
1 change: 0 additions & 1 deletion schema/minecraft_java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ settings:
volumes:
- name: data
path: "/data"
class: classic
size: 10Gi
probes:
command:
Expand Down
1 change: 0 additions & 1 deletion schema/valheim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,5 @@ settings:
volumes:
- name: data
path: "/data"
class: classic
size: 10Gi
probes: null
7 changes: 3 additions & 4 deletions schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,9 @@ var exampleSchema Schema = Schema{
},
Volumes: []Volume{
{
Name: "data",
Path: "/data",
Class: "classic",
Size: "10Gi",
Name: "data",
Path: "/data",
Size: "10Gi",
},
},
Probes: Probes{
Expand Down

0 comments on commit 17fe768

Please sign in to comment.