Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Update docs and tests to use ignite/v1alpha3
Browse files Browse the repository at this point in the history
Docs generated using `make api-docs`.
  • Loading branch information
darkowlzz committed Jun 22, 2020
1 parent d44db2f commit 4757f46
Show file tree
Hide file tree
Showing 14 changed files with 515 additions and 22 deletions.
2 changes: 1 addition & 1 deletion cmd/ignite/cmd/vmcmd/ps.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewCmdPs(out io.Writer) *cobra.Command {
also list VMs that are not currently running.
Using the -f (--filter) flag, you can give conditions VMs should fullfilled to be displayed.
You can filter on all the underlying fields of the VM struct, see the documentation:
https://ignite.readthedocs.io/en/stable/api/ignite_v1alpha2#VM.
https://ignite.readthedocs.io/en/stable/api/ignite_v1alpha3#VM.
Different operators can be used:
- "=" and "==" for the equal
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/input/create-config-no-name.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: ignite.weave.works/v1alpha2
apiVersion: ignite.weave.works/v1alpha3
kind: VM
spec:
image:
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/input/rm-no-name-uid.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: ignite.weave.works/v1alpha2
apiVersion: ignite.weave.works/v1alpha3
kind: VM
metadata:
name: ""
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/input/rm-vm1.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: ignite.weave.works/v1alpha2
apiVersion: ignite.weave.works/v1alpha3
kind: VM
metadata:
name: myvm2
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/output/inspect-json.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"kind": "VM",
"apiVersion": "ignite.weave.works/v1alpha2",
"apiVersion": "ignite.weave.works/v1alpha3",
"metadata": {
"name": "someVM",
"uid": "1699b6ba255cde7f",
Expand Down
2 changes: 1 addition & 1 deletion cmd/ignite/run/testdata/output/inspect-yaml.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: ignite.weave.works/v1alpha2
apiVersion: ignite.weave.works/v1alpha3
kind: VM
metadata:
created: "2000-01-01T01:00:00Z"
Expand Down
Loading

0 comments on commit 4757f46

Please sign in to comment.