Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions v1/providers/shadeform/gen/shadeform/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ security:
paths:
/instances:
get:
description: Get active and pending instances.
description: "Get all non deleted instances. Note: instances in the \"deleting\"\
\ status will also show up here."
operationId: Instances
responses:
"200":
Expand Down Expand Up @@ -127,7 +128,7 @@ paths:
summary: /instances/create
/instances/{id}/info:
get:
description: Get details for the specified instance in the url.
description: "Get details for the specified, non deleted, instance in the url."
operationId: InstancesInfo
parameters:
- description: The instance id
Expand Down Expand Up @@ -175,8 +176,9 @@ paths:
summary: "/instances/{id}/update"
/instances/{id}/delete:
post:
description: Delete an instance. Some cloud providers may only allow deletion
of an instance after it has moved to the 'active' status.
description: "This will move the instance to the 'deleting' status while the\
\ instance is being deleted. Once the instance has entered the 'deleting'\
\ status, the account will no longer be billed for the instance."
operationId: InstancesDelete
parameters:
- description: The instance id
Expand Down Expand Up @@ -1804,8 +1806,9 @@ components:
- pending_provider
- pending
- active
- deleted
- error
- deleting
- deleted
example: active
type: string
StatusDetails:
Expand Down
6 changes: 3 additions & 3 deletions v1/providers/shadeform/gen/shadeform/api_default.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions v1/providers/shadeform/gen/shadeform/docs/Status.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@

* `ACTIVE` (value: `"active"`)

* `DELETED` (value: `"deleted"`)

* `ERROR` (value: `"error"`)

* `DELETING` (value: `"deleting"`)

* `DELETED` (value: `"deleted"`)


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
6 changes: 4 additions & 2 deletions v1/providers/shadeform/gen/shadeform/model_status.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v1/providers/shadeform/instancetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func isSelectedByArgs(instanceType v1.InstanceType, args v1.GetInstanceTypeArgs)
}

func (c *ShadeformClient) GetInstanceTypePollTime() time.Duration {
return 5 * time.Minute
return 1 * time.Minute
}

func (c *ShadeformClient) GetLocations(ctx context.Context, _ v1.GetLocationsArgs) ([]v1.Location, error) {
Expand Down
Loading