mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-08-13 22:22:59 +02:00
Added slurmNats code that could not parse BaseJob correctly
This commit is contained in:
240
internal/api/0.0.37/docs/OpenapiAPI.md
Normal file
240
internal/api/0.0.37/docs/OpenapiAPI.md
Normal file
@@ -0,0 +1,240 @@
|
||||
# \OpenapiAPI
|
||||
|
||||
All URIs are relative to *http://localhost/slurm/v0.0.37*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**OpenapiGet**](OpenapiAPI.md#OpenapiGet) | **Get** /openapi | Retrieve OpenAPI Specification
|
||||
[**OpenapiJsonGet**](OpenapiAPI.md#OpenapiJsonGet) | **Get** /openapi.json | Retrieve OpenAPI Specification
|
||||
[**OpenapiV3Get**](OpenapiAPI.md#OpenapiV3Get) | **Get** /openapi/v3 | Retrieve OpenAPI Specification
|
||||
[**OpenapiYamlGet**](OpenapiAPI.md#OpenapiYamlGet) | **Get** /openapi.yaml | Retrieve OpenAPI Specification
|
||||
|
||||
|
||||
|
||||
## OpenapiGet
|
||||
|
||||
> OpenapiGet(ctx).Execute()
|
||||
|
||||
Retrieve OpenAPI Specification
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.OpenapiAPI.OpenapiGet(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OpenapiAPI.OpenapiGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiOpenapiGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## OpenapiJsonGet
|
||||
|
||||
> OpenapiJsonGet(ctx).Execute()
|
||||
|
||||
Retrieve OpenAPI Specification
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.OpenapiAPI.OpenapiJsonGet(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OpenapiAPI.OpenapiJsonGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiOpenapiJsonGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## OpenapiV3Get
|
||||
|
||||
> OpenapiV3Get(ctx).Execute()
|
||||
|
||||
Retrieve OpenAPI Specification
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.OpenapiAPI.OpenapiV3Get(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OpenapiAPI.OpenapiV3Get``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiOpenapiV3GetRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## OpenapiYamlGet
|
||||
|
||||
> OpenapiYamlGet(ctx).Execute()
|
||||
|
||||
Retrieve OpenAPI Specification
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.OpenapiAPI.OpenapiYamlGet(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `OpenapiAPI.OpenapiYamlGet``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiOpenapiYamlGetRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
871
internal/api/0.0.37/docs/SlurmAPI.md
Normal file
871
internal/api/0.0.37/docs/SlurmAPI.md
Normal file
@@ -0,0 +1,871 @@
|
||||
# \SlurmAPI
|
||||
|
||||
All URIs are relative to *http://localhost/slurm/v0.0.37*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**SlurmctldCancelJob**](SlurmAPI.md#SlurmctldCancelJob) | **Delete** /job/{job_id} | cancel or signal job
|
||||
[**SlurmctldDiag**](SlurmAPI.md#SlurmctldDiag) | **Get** /diag/ | get diagnostics
|
||||
[**SlurmctldGetJob**](SlurmAPI.md#SlurmctldGetJob) | **Get** /job/{job_id} | get job info
|
||||
[**SlurmctldGetJobs**](SlurmAPI.md#SlurmctldGetJobs) | **Get** /jobs/ | get list of jobs
|
||||
[**SlurmctldGetNode**](SlurmAPI.md#SlurmctldGetNode) | **Get** /node/{node_name} | get node info
|
||||
[**SlurmctldGetNodes**](SlurmAPI.md#SlurmctldGetNodes) | **Get** /nodes/ | get all node info
|
||||
[**SlurmctldGetPartition**](SlurmAPI.md#SlurmctldGetPartition) | **Get** /partition/{partition_name} | get partition info
|
||||
[**SlurmctldGetPartitions**](SlurmAPI.md#SlurmctldGetPartitions) | **Get** /partitions/ | get all partition info
|
||||
[**SlurmctldGetReservation**](SlurmAPI.md#SlurmctldGetReservation) | **Get** /reservation/{reservation_name} | get reservation info
|
||||
[**SlurmctldGetReservations**](SlurmAPI.md#SlurmctldGetReservations) | **Get** /reservations/ | get all reservation info
|
||||
[**SlurmctldPing**](SlurmAPI.md#SlurmctldPing) | **Get** /ping/ | ping test
|
||||
[**SlurmctldSubmitJob**](SlurmAPI.md#SlurmctldSubmitJob) | **Post** /job/submit | submit new job
|
||||
[**SlurmctldUpdateJob**](SlurmAPI.md#SlurmctldUpdateJob) | **Post** /job/{job_id} | update job
|
||||
|
||||
|
||||
|
||||
## SlurmctldCancelJob
|
||||
|
||||
> SlurmctldCancelJob(ctx, jobId).Signal(signal).Execute()
|
||||
|
||||
cancel or signal job
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
jobId := "jobId_example" // string | Slurm Job ID
|
||||
signal := openapiclient.v0.0.37_signal("HUP") // V0037Signal | signal to send to job (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.SlurmAPI.SlurmctldCancelJob(context.Background(), jobId).Signal(signal).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldCancelJob``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**jobId** | **string** | Slurm Job ID |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldCancelJobRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**signal** | [**V0037Signal**](V0037Signal.md) | signal to send to job |
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldDiag
|
||||
|
||||
> V0037Diag SlurmctldDiag(ctx).Execute()
|
||||
|
||||
get diagnostics
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldDiag(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldDiag``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldDiag`: V0037Diag
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldDiag`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldDiagRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037Diag**](V0037Diag.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldGetJob
|
||||
|
||||
> V0037JobsResponse SlurmctldGetJob(ctx, jobId).Execute()
|
||||
|
||||
get job info
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
jobId := "jobId_example" // string | Slurm JobID
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldGetJob(context.Background(), jobId).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldGetJob``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldGetJob`: V0037JobsResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldGetJob`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**jobId** | **string** | Slurm JobID |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldGetJobRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037JobsResponse**](V0037JobsResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldGetJobs
|
||||
|
||||
> V0037JobsResponse SlurmctldGetJobs(ctx).UpdateTime(updateTime).Execute()
|
||||
|
||||
get list of jobs
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
updateTime := int64(789) // int64 | Filter if changed since update_time. Use of this parameter can result in faster replies. (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldGetJobs(context.Background()).UpdateTime(updateTime).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldGetJobs``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldGetJobs`: V0037JobsResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldGetJobs`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldGetJobsRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**updateTime** | **int64** | Filter if changed since update_time. Use of this parameter can result in faster replies. |
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037JobsResponse**](V0037JobsResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldGetNode
|
||||
|
||||
> V0037NodesResponse SlurmctldGetNode(ctx, nodeName).Execute()
|
||||
|
||||
get node info
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
nodeName := "nodeName_example" // string | Slurm Node Name
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldGetNode(context.Background(), nodeName).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldGetNode``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldGetNode`: V0037NodesResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldGetNode`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**nodeName** | **string** | Slurm Node Name |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldGetNodeRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037NodesResponse**](V0037NodesResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldGetNodes
|
||||
|
||||
> V0037NodesResponse SlurmctldGetNodes(ctx).UpdateTime(updateTime).Execute()
|
||||
|
||||
get all node info
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
updateTime := int64(789) // int64 | Filter if changed since update_time. Use of this parameter can result in faster replies. (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldGetNodes(context.Background()).UpdateTime(updateTime).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldGetNodes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldGetNodes`: V0037NodesResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldGetNodes`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldGetNodesRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**updateTime** | **int64** | Filter if changed since update_time. Use of this parameter can result in faster replies. |
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037NodesResponse**](V0037NodesResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldGetPartition
|
||||
|
||||
> V0037PartitionsResponse SlurmctldGetPartition(ctx, partitionName).UpdateTime(updateTime).Execute()
|
||||
|
||||
get partition info
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
partitionName := "partitionName_example" // string | Slurm Partition Name
|
||||
updateTime := int64(789) // int64 | Filter if there were no partition changes (not limited to partition in URL endpoint) since update_time. (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldGetPartition(context.Background(), partitionName).UpdateTime(updateTime).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldGetPartition``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldGetPartition`: V0037PartitionsResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldGetPartition`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**partitionName** | **string** | Slurm Partition Name |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldGetPartitionRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**updateTime** | **int64** | Filter if there were no partition changes (not limited to partition in URL endpoint) since update_time. |
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037PartitionsResponse**](V0037PartitionsResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldGetPartitions
|
||||
|
||||
> V0037PartitionsResponse SlurmctldGetPartitions(ctx).UpdateTime(updateTime).Execute()
|
||||
|
||||
get all partition info
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
updateTime := int64(789) // int64 | Filter if changed since update_time. Use of this parameter can result in faster replies. (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldGetPartitions(context.Background()).UpdateTime(updateTime).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldGetPartitions``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldGetPartitions`: V0037PartitionsResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldGetPartitions`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldGetPartitionsRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**updateTime** | **int64** | Filter if changed since update_time. Use of this parameter can result in faster replies. |
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037PartitionsResponse**](V0037PartitionsResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldGetReservation
|
||||
|
||||
> V0037ReservationsResponse SlurmctldGetReservation(ctx, reservationName).UpdateTime(updateTime).Execute()
|
||||
|
||||
get reservation info
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
reservationName := "reservationName_example" // string | Slurm Reservation Name
|
||||
updateTime := int64(789) // int64 | Filter if no reservation (not limited to reservation in URL) changed since update_time. (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldGetReservation(context.Background(), reservationName).UpdateTime(updateTime).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldGetReservation``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldGetReservation`: V0037ReservationsResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldGetReservation`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**reservationName** | **string** | Slurm Reservation Name |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldGetReservationRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**updateTime** | **int64** | Filter if no reservation (not limited to reservation in URL) changed since update_time. |
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037ReservationsResponse**](V0037ReservationsResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldGetReservations
|
||||
|
||||
> V0037ReservationsResponse SlurmctldGetReservations(ctx).UpdateTime(updateTime).Execute()
|
||||
|
||||
get all reservation info
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
updateTime := int64(789) // int64 | Filter if changed since update_time. Use of this parameter can result in faster replies. (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldGetReservations(context.Background()).UpdateTime(updateTime).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldGetReservations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldGetReservations`: V0037ReservationsResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldGetReservations`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldGetReservationsRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**updateTime** | **int64** | Filter if changed since update_time. Use of this parameter can result in faster replies. |
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037ReservationsResponse**](V0037ReservationsResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldPing
|
||||
|
||||
> V0037Pings SlurmctldPing(ctx).Execute()
|
||||
|
||||
ping test
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldPing(context.Background()).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldPing``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldPing`: V0037Pings
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldPing`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldPingRequest struct via the builder pattern
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037Pings**](V0037Pings.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldSubmitJob
|
||||
|
||||
> V0037JobSubmissionResponse SlurmctldSubmitJob(ctx).V0037JobSubmission(v0037JobSubmission).Execute()
|
||||
|
||||
submit new job
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
v0037JobSubmission := *openapiclient.NewV0037JobSubmission("Script_example") // V0037JobSubmission | submit new job
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.SlurmAPI.SlurmctldSubmitJob(context.Background()).V0037JobSubmission(v0037JobSubmission).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldSubmitJob``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `SlurmctldSubmitJob`: V0037JobSubmissionResponse
|
||||
fmt.Fprintf(os.Stdout, "Response from `SlurmAPI.SlurmctldSubmitJob`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldSubmitJobRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**v0037JobSubmission** | [**V0037JobSubmission**](V0037JobSubmission.md) | submit new job |
|
||||
|
||||
### Return type
|
||||
|
||||
[**V0037JobSubmissionResponse**](V0037JobSubmissionResponse.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json, application/x-yaml
|
||||
- **Accept**: application/json, application/x-yaml
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
||||
|
||||
## SlurmctldUpdateJob
|
||||
|
||||
> SlurmctldUpdateJob(ctx, jobId).V0037JobProperties(v0037JobProperties).Execute()
|
||||
|
||||
update job
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
)
|
||||
|
||||
func main() {
|
||||
jobId := "jobId_example" // string | Slurm Job ID
|
||||
v0037JobProperties := *openapiclient.NewV0037JobProperties(map[string]interface{}(123)) // V0037JobProperties | update job
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
r, err := apiClient.SlurmAPI.SlurmctldUpdateJob(context.Background(), jobId).V0037JobProperties(v0037JobProperties).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `SlurmAPI.SlurmctldUpdateJob``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**jobId** | **string** | Slurm Job ID |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiSlurmctldUpdateJobRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**v0037JobProperties** | [**V0037JobProperties**](V0037JobProperties.md) | update job |
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### Authorization
|
||||
|
||||
[user](../README.md#user), [token](../README.md#token)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json, application/x-yaml
|
||||
- **Accept**: Not defined
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
||||
[[Back to Model list]](../README.md#documentation-for-models)
|
||||
[[Back to README]](../README.md)
|
||||
|
82
internal/api/0.0.37/docs/V0037Diag.md
Normal file
82
internal/api/0.0.37/docs/V0037Diag.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# V0037Diag
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Errors** | Pointer to [**[]V0037Error**](V0037Error.md) | slurm errors | [optional]
|
||||
**Statistics** | Pointer to [**V0037DiagStatistics**](V0037DiagStatistics.md) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037Diag
|
||||
|
||||
`func NewV0037Diag() *V0037Diag`
|
||||
|
||||
NewV0037Diag instantiates a new V0037Diag object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037DiagWithDefaults
|
||||
|
||||
`func NewV0037DiagWithDefaults() *V0037Diag`
|
||||
|
||||
NewV0037DiagWithDefaults instantiates a new V0037Diag object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetErrors
|
||||
|
||||
`func (o *V0037Diag) GetErrors() []V0037Error`
|
||||
|
||||
GetErrors returns the Errors field if non-nil, zero value otherwise.
|
||||
|
||||
### GetErrorsOk
|
||||
|
||||
`func (o *V0037Diag) GetErrorsOk() (*[]V0037Error, bool)`
|
||||
|
||||
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetErrors
|
||||
|
||||
`func (o *V0037Diag) SetErrors(v []V0037Error)`
|
||||
|
||||
SetErrors sets Errors field to given value.
|
||||
|
||||
### HasErrors
|
||||
|
||||
`func (o *V0037Diag) HasErrors() bool`
|
||||
|
||||
HasErrors returns a boolean if a field has been set.
|
||||
|
||||
### GetStatistics
|
||||
|
||||
`func (o *V0037Diag) GetStatistics() V0037DiagStatistics`
|
||||
|
||||
GetStatistics returns the Statistics field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStatisticsOk
|
||||
|
||||
`func (o *V0037Diag) GetStatisticsOk() (*V0037DiagStatistics, bool)`
|
||||
|
||||
GetStatisticsOk returns a tuple with the Statistics field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetStatistics
|
||||
|
||||
`func (o *V0037Diag) SetStatistics(v V0037DiagStatistics)`
|
||||
|
||||
SetStatistics sets Statistics field to given value.
|
||||
|
||||
### HasStatistics
|
||||
|
||||
`func (o *V0037Diag) HasStatistics() bool`
|
||||
|
||||
HasStatistics returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
1044
internal/api/0.0.37/docs/V0037DiagStatistics.md
Normal file
1044
internal/api/0.0.37/docs/V0037DiagStatistics.md
Normal file
File diff suppressed because it is too large
Load Diff
82
internal/api/0.0.37/docs/V0037Error.md
Normal file
82
internal/api/0.0.37/docs/V0037Error.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# V0037Error
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Error** | Pointer to **string** | error message | [optional]
|
||||
**Errno** | Pointer to **int32** | error number | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037Error
|
||||
|
||||
`func NewV0037Error() *V0037Error`
|
||||
|
||||
NewV0037Error instantiates a new V0037Error object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037ErrorWithDefaults
|
||||
|
||||
`func NewV0037ErrorWithDefaults() *V0037Error`
|
||||
|
||||
NewV0037ErrorWithDefaults instantiates a new V0037Error object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetError
|
||||
|
||||
`func (o *V0037Error) GetError() string`
|
||||
|
||||
GetError returns the Error field if non-nil, zero value otherwise.
|
||||
|
||||
### GetErrorOk
|
||||
|
||||
`func (o *V0037Error) GetErrorOk() (*string, bool)`
|
||||
|
||||
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetError
|
||||
|
||||
`func (o *V0037Error) SetError(v string)`
|
||||
|
||||
SetError sets Error field to given value.
|
||||
|
||||
### HasError
|
||||
|
||||
`func (o *V0037Error) HasError() bool`
|
||||
|
||||
HasError returns a boolean if a field has been set.
|
||||
|
||||
### GetErrno
|
||||
|
||||
`func (o *V0037Error) GetErrno() int32`
|
||||
|
||||
GetErrno returns the Errno field if non-nil, zero value otherwise.
|
||||
|
||||
### GetErrnoOk
|
||||
|
||||
`func (o *V0037Error) GetErrnoOk() (*int32, bool)`
|
||||
|
||||
GetErrnoOk returns a tuple with the Errno field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetErrno
|
||||
|
||||
`func (o *V0037Error) SetErrno(v int32)`
|
||||
|
||||
SetErrno sets Errno field to given value.
|
||||
|
||||
### HasErrno
|
||||
|
||||
`func (o *V0037Error) HasErrno() bool`
|
||||
|
||||
HasErrno returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
1871
internal/api/0.0.37/docs/V0037JobProperties.md
Normal file
1871
internal/api/0.0.37/docs/V0037JobProperties.md
Normal file
File diff suppressed because it is too large
Load Diff
134
internal/api/0.0.37/docs/V0037JobResources.md
Normal file
134
internal/api/0.0.37/docs/V0037JobResources.md
Normal file
@@ -0,0 +1,134 @@
|
||||
# V0037JobResources
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Nodes** | Pointer to **string** | list of assigned job nodes | [optional]
|
||||
**AllocatedCpus** | Pointer to **int32** | number of assigned job cpus | [optional]
|
||||
**AllocatedHosts** | Pointer to **int32** | number of assigned job hosts | [optional]
|
||||
**AllocatedNodes** | Pointer to [**[]V0037NodeAllocation**](V0037NodeAllocation.md) | node allocations | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037JobResources
|
||||
|
||||
`func NewV0037JobResources() *V0037JobResources`
|
||||
|
||||
NewV0037JobResources instantiates a new V0037JobResources object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037JobResourcesWithDefaults
|
||||
|
||||
`func NewV0037JobResourcesWithDefaults() *V0037JobResources`
|
||||
|
||||
NewV0037JobResourcesWithDefaults instantiates a new V0037JobResources object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetNodes
|
||||
|
||||
`func (o *V0037JobResources) GetNodes() string`
|
||||
|
||||
GetNodes returns the Nodes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNodesOk
|
||||
|
||||
`func (o *V0037JobResources) GetNodesOk() (*string, bool)`
|
||||
|
||||
GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetNodes
|
||||
|
||||
`func (o *V0037JobResources) SetNodes(v string)`
|
||||
|
||||
SetNodes sets Nodes field to given value.
|
||||
|
||||
### HasNodes
|
||||
|
||||
`func (o *V0037JobResources) HasNodes() bool`
|
||||
|
||||
HasNodes returns a boolean if a field has been set.
|
||||
|
||||
### GetAllocatedCpus
|
||||
|
||||
`func (o *V0037JobResources) GetAllocatedCpus() int32`
|
||||
|
||||
GetAllocatedCpus returns the AllocatedCpus field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAllocatedCpusOk
|
||||
|
||||
`func (o *V0037JobResources) GetAllocatedCpusOk() (*int32, bool)`
|
||||
|
||||
GetAllocatedCpusOk returns a tuple with the AllocatedCpus field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAllocatedCpus
|
||||
|
||||
`func (o *V0037JobResources) SetAllocatedCpus(v int32)`
|
||||
|
||||
SetAllocatedCpus sets AllocatedCpus field to given value.
|
||||
|
||||
### HasAllocatedCpus
|
||||
|
||||
`func (o *V0037JobResources) HasAllocatedCpus() bool`
|
||||
|
||||
HasAllocatedCpus returns a boolean if a field has been set.
|
||||
|
||||
### GetAllocatedHosts
|
||||
|
||||
`func (o *V0037JobResources) GetAllocatedHosts() int32`
|
||||
|
||||
GetAllocatedHosts returns the AllocatedHosts field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAllocatedHostsOk
|
||||
|
||||
`func (o *V0037JobResources) GetAllocatedHostsOk() (*int32, bool)`
|
||||
|
||||
GetAllocatedHostsOk returns a tuple with the AllocatedHosts field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAllocatedHosts
|
||||
|
||||
`func (o *V0037JobResources) SetAllocatedHosts(v int32)`
|
||||
|
||||
SetAllocatedHosts sets AllocatedHosts field to given value.
|
||||
|
||||
### HasAllocatedHosts
|
||||
|
||||
`func (o *V0037JobResources) HasAllocatedHosts() bool`
|
||||
|
||||
HasAllocatedHosts returns a boolean if a field has been set.
|
||||
|
||||
### GetAllocatedNodes
|
||||
|
||||
`func (o *V0037JobResources) GetAllocatedNodes() []V0037NodeAllocation`
|
||||
|
||||
GetAllocatedNodes returns the AllocatedNodes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAllocatedNodesOk
|
||||
|
||||
`func (o *V0037JobResources) GetAllocatedNodesOk() (*[]V0037NodeAllocation, bool)`
|
||||
|
||||
GetAllocatedNodesOk returns a tuple with the AllocatedNodes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAllocatedNodes
|
||||
|
||||
`func (o *V0037JobResources) SetAllocatedNodes(v []V0037NodeAllocation)`
|
||||
|
||||
SetAllocatedNodes sets AllocatedNodes field to given value.
|
||||
|
||||
### HasAllocatedNodes
|
||||
|
||||
`func (o *V0037JobResources) HasAllocatedNodes() bool`
|
||||
|
||||
HasAllocatedNodes returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
2812
internal/api/0.0.37/docs/V0037JobResponseProperties.md
Normal file
2812
internal/api/0.0.37/docs/V0037JobResponseProperties.md
Normal file
File diff suppressed because it is too large
Load Diff
103
internal/api/0.0.37/docs/V0037JobSubmission.md
Normal file
103
internal/api/0.0.37/docs/V0037JobSubmission.md
Normal file
@@ -0,0 +1,103 @@
|
||||
# V0037JobSubmission
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Script** | **string** | Executable script (full contents) to run in batch step |
|
||||
**Job** | Pointer to [**V0037JobProperties**](V0037JobProperties.md) | | [optional]
|
||||
**Jobs** | Pointer to [**[]V0037JobProperties**](V0037JobProperties.md) | Properties of an HetJob | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037JobSubmission
|
||||
|
||||
`func NewV0037JobSubmission(script string, ) *V0037JobSubmission`
|
||||
|
||||
NewV0037JobSubmission instantiates a new V0037JobSubmission object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037JobSubmissionWithDefaults
|
||||
|
||||
`func NewV0037JobSubmissionWithDefaults() *V0037JobSubmission`
|
||||
|
||||
NewV0037JobSubmissionWithDefaults instantiates a new V0037JobSubmission object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetScript
|
||||
|
||||
`func (o *V0037JobSubmission) GetScript() string`
|
||||
|
||||
GetScript returns the Script field if non-nil, zero value otherwise.
|
||||
|
||||
### GetScriptOk
|
||||
|
||||
`func (o *V0037JobSubmission) GetScriptOk() (*string, bool)`
|
||||
|
||||
GetScriptOk returns a tuple with the Script field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetScript
|
||||
|
||||
`func (o *V0037JobSubmission) SetScript(v string)`
|
||||
|
||||
SetScript sets Script field to given value.
|
||||
|
||||
|
||||
### GetJob
|
||||
|
||||
`func (o *V0037JobSubmission) GetJob() V0037JobProperties`
|
||||
|
||||
GetJob returns the Job field if non-nil, zero value otherwise.
|
||||
|
||||
### GetJobOk
|
||||
|
||||
`func (o *V0037JobSubmission) GetJobOk() (*V0037JobProperties, bool)`
|
||||
|
||||
GetJobOk returns a tuple with the Job field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetJob
|
||||
|
||||
`func (o *V0037JobSubmission) SetJob(v V0037JobProperties)`
|
||||
|
||||
SetJob sets Job field to given value.
|
||||
|
||||
### HasJob
|
||||
|
||||
`func (o *V0037JobSubmission) HasJob() bool`
|
||||
|
||||
HasJob returns a boolean if a field has been set.
|
||||
|
||||
### GetJobs
|
||||
|
||||
`func (o *V0037JobSubmission) GetJobs() []V0037JobProperties`
|
||||
|
||||
GetJobs returns the Jobs field if non-nil, zero value otherwise.
|
||||
|
||||
### GetJobsOk
|
||||
|
||||
`func (o *V0037JobSubmission) GetJobsOk() (*[]V0037JobProperties, bool)`
|
||||
|
||||
GetJobsOk returns a tuple with the Jobs field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetJobs
|
||||
|
||||
`func (o *V0037JobSubmission) SetJobs(v []V0037JobProperties)`
|
||||
|
||||
SetJobs sets Jobs field to given value.
|
||||
|
||||
### HasJobs
|
||||
|
||||
`func (o *V0037JobSubmission) HasJobs() bool`
|
||||
|
||||
HasJobs returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
134
internal/api/0.0.37/docs/V0037JobSubmissionResponse.md
Normal file
134
internal/api/0.0.37/docs/V0037JobSubmissionResponse.md
Normal file
@@ -0,0 +1,134 @@
|
||||
# V0037JobSubmissionResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Errors** | Pointer to [**[]V0037Error**](V0037Error.md) | slurm errors | [optional]
|
||||
**JobId** | Pointer to **int32** | new job ID | [optional]
|
||||
**StepId** | Pointer to **string** | new job step ID | [optional]
|
||||
**JobSubmitUserMsg** | Pointer to **string** | Message to user from job_submit plugin | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037JobSubmissionResponse
|
||||
|
||||
`func NewV0037JobSubmissionResponse() *V0037JobSubmissionResponse`
|
||||
|
||||
NewV0037JobSubmissionResponse instantiates a new V0037JobSubmissionResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037JobSubmissionResponseWithDefaults
|
||||
|
||||
`func NewV0037JobSubmissionResponseWithDefaults() *V0037JobSubmissionResponse`
|
||||
|
||||
NewV0037JobSubmissionResponseWithDefaults instantiates a new V0037JobSubmissionResponse object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetErrors
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) GetErrors() []V0037Error`
|
||||
|
||||
GetErrors returns the Errors field if non-nil, zero value otherwise.
|
||||
|
||||
### GetErrorsOk
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) GetErrorsOk() (*[]V0037Error, bool)`
|
||||
|
||||
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetErrors
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) SetErrors(v []V0037Error)`
|
||||
|
||||
SetErrors sets Errors field to given value.
|
||||
|
||||
### HasErrors
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) HasErrors() bool`
|
||||
|
||||
HasErrors returns a boolean if a field has been set.
|
||||
|
||||
### GetJobId
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) GetJobId() int32`
|
||||
|
||||
GetJobId returns the JobId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetJobIdOk
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) GetJobIdOk() (*int32, bool)`
|
||||
|
||||
GetJobIdOk returns a tuple with the JobId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetJobId
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) SetJobId(v int32)`
|
||||
|
||||
SetJobId sets JobId field to given value.
|
||||
|
||||
### HasJobId
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) HasJobId() bool`
|
||||
|
||||
HasJobId returns a boolean if a field has been set.
|
||||
|
||||
### GetStepId
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) GetStepId() string`
|
||||
|
||||
GetStepId returns the StepId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStepIdOk
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) GetStepIdOk() (*string, bool)`
|
||||
|
||||
GetStepIdOk returns a tuple with the StepId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetStepId
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) SetStepId(v string)`
|
||||
|
||||
SetStepId sets StepId field to given value.
|
||||
|
||||
### HasStepId
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) HasStepId() bool`
|
||||
|
||||
HasStepId returns a boolean if a field has been set.
|
||||
|
||||
### GetJobSubmitUserMsg
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) GetJobSubmitUserMsg() string`
|
||||
|
||||
GetJobSubmitUserMsg returns the JobSubmitUserMsg field if non-nil, zero value otherwise.
|
||||
|
||||
### GetJobSubmitUserMsgOk
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) GetJobSubmitUserMsgOk() (*string, bool)`
|
||||
|
||||
GetJobSubmitUserMsgOk returns a tuple with the JobSubmitUserMsg field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetJobSubmitUserMsg
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) SetJobSubmitUserMsg(v string)`
|
||||
|
||||
SetJobSubmitUserMsg sets JobSubmitUserMsg field to given value.
|
||||
|
||||
### HasJobSubmitUserMsg
|
||||
|
||||
`func (o *V0037JobSubmissionResponse) HasJobSubmitUserMsg() bool`
|
||||
|
||||
HasJobSubmitUserMsg returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
82
internal/api/0.0.37/docs/V0037JobsResponse.md
Normal file
82
internal/api/0.0.37/docs/V0037JobsResponse.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# V0037JobsResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Errors** | Pointer to [**[]V0037Error**](V0037Error.md) | slurm errors | [optional]
|
||||
**Jobs** | Pointer to [**[]V0037JobResponseProperties**](V0037JobResponseProperties.md) | job descriptions | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037JobsResponse
|
||||
|
||||
`func NewV0037JobsResponse() *V0037JobsResponse`
|
||||
|
||||
NewV0037JobsResponse instantiates a new V0037JobsResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037JobsResponseWithDefaults
|
||||
|
||||
`func NewV0037JobsResponseWithDefaults() *V0037JobsResponse`
|
||||
|
||||
NewV0037JobsResponseWithDefaults instantiates a new V0037JobsResponse object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetErrors
|
||||
|
||||
`func (o *V0037JobsResponse) GetErrors() []V0037Error`
|
||||
|
||||
GetErrors returns the Errors field if non-nil, zero value otherwise.
|
||||
|
||||
### GetErrorsOk
|
||||
|
||||
`func (o *V0037JobsResponse) GetErrorsOk() (*[]V0037Error, bool)`
|
||||
|
||||
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetErrors
|
||||
|
||||
`func (o *V0037JobsResponse) SetErrors(v []V0037Error)`
|
||||
|
||||
SetErrors sets Errors field to given value.
|
||||
|
||||
### HasErrors
|
||||
|
||||
`func (o *V0037JobsResponse) HasErrors() bool`
|
||||
|
||||
HasErrors returns a boolean if a field has been set.
|
||||
|
||||
### GetJobs
|
||||
|
||||
`func (o *V0037JobsResponse) GetJobs() []V0037JobResponseProperties`
|
||||
|
||||
GetJobs returns the Jobs field if non-nil, zero value otherwise.
|
||||
|
||||
### GetJobsOk
|
||||
|
||||
`func (o *V0037JobsResponse) GetJobsOk() (*[]V0037JobResponseProperties, bool)`
|
||||
|
||||
GetJobsOk returns a tuple with the Jobs field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetJobs
|
||||
|
||||
`func (o *V0037JobsResponse) SetJobs(v []V0037JobResponseProperties)`
|
||||
|
||||
SetJobs sets Jobs field to given value.
|
||||
|
||||
### HasJobs
|
||||
|
||||
`func (o *V0037JobsResponse) HasJobs() bool`
|
||||
|
||||
HasJobs returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
1122
internal/api/0.0.37/docs/V0037Node.md
Normal file
1122
internal/api/0.0.37/docs/V0037Node.md
Normal file
File diff suppressed because it is too large
Load Diff
134
internal/api/0.0.37/docs/V0037NodeAllocation.md
Normal file
134
internal/api/0.0.37/docs/V0037NodeAllocation.md
Normal file
@@ -0,0 +1,134 @@
|
||||
# V0037NodeAllocation
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Memory** | Pointer to **int32** | amount of assigned job memory | [optional]
|
||||
**Cpus** | Pointer to **map[string]interface{}** | amount of assigned job CPUs | [optional]
|
||||
**Sockets** | Pointer to **map[string]interface{}** | assignment status of each socket by socket id | [optional]
|
||||
**Cores** | Pointer to **map[string]interface{}** | assignment status of each core by core id | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037NodeAllocation
|
||||
|
||||
`func NewV0037NodeAllocation() *V0037NodeAllocation`
|
||||
|
||||
NewV0037NodeAllocation instantiates a new V0037NodeAllocation object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037NodeAllocationWithDefaults
|
||||
|
||||
`func NewV0037NodeAllocationWithDefaults() *V0037NodeAllocation`
|
||||
|
||||
NewV0037NodeAllocationWithDefaults instantiates a new V0037NodeAllocation object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetMemory
|
||||
|
||||
`func (o *V0037NodeAllocation) GetMemory() int32`
|
||||
|
||||
GetMemory returns the Memory field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMemoryOk
|
||||
|
||||
`func (o *V0037NodeAllocation) GetMemoryOk() (*int32, bool)`
|
||||
|
||||
GetMemoryOk returns a tuple with the Memory field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMemory
|
||||
|
||||
`func (o *V0037NodeAllocation) SetMemory(v int32)`
|
||||
|
||||
SetMemory sets Memory field to given value.
|
||||
|
||||
### HasMemory
|
||||
|
||||
`func (o *V0037NodeAllocation) HasMemory() bool`
|
||||
|
||||
HasMemory returns a boolean if a field has been set.
|
||||
|
||||
### GetCpus
|
||||
|
||||
`func (o *V0037NodeAllocation) GetCpus() map[string]interface{}`
|
||||
|
||||
GetCpus returns the Cpus field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCpusOk
|
||||
|
||||
`func (o *V0037NodeAllocation) GetCpusOk() (*map[string]interface{}, bool)`
|
||||
|
||||
GetCpusOk returns a tuple with the Cpus field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCpus
|
||||
|
||||
`func (o *V0037NodeAllocation) SetCpus(v map[string]interface{})`
|
||||
|
||||
SetCpus sets Cpus field to given value.
|
||||
|
||||
### HasCpus
|
||||
|
||||
`func (o *V0037NodeAllocation) HasCpus() bool`
|
||||
|
||||
HasCpus returns a boolean if a field has been set.
|
||||
|
||||
### GetSockets
|
||||
|
||||
`func (o *V0037NodeAllocation) GetSockets() map[string]interface{}`
|
||||
|
||||
GetSockets returns the Sockets field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSocketsOk
|
||||
|
||||
`func (o *V0037NodeAllocation) GetSocketsOk() (*map[string]interface{}, bool)`
|
||||
|
||||
GetSocketsOk returns a tuple with the Sockets field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSockets
|
||||
|
||||
`func (o *V0037NodeAllocation) SetSockets(v map[string]interface{})`
|
||||
|
||||
SetSockets sets Sockets field to given value.
|
||||
|
||||
### HasSockets
|
||||
|
||||
`func (o *V0037NodeAllocation) HasSockets() bool`
|
||||
|
||||
HasSockets returns a boolean if a field has been set.
|
||||
|
||||
### GetCores
|
||||
|
||||
`func (o *V0037NodeAllocation) GetCores() map[string]interface{}`
|
||||
|
||||
GetCores returns the Cores field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCoresOk
|
||||
|
||||
`func (o *V0037NodeAllocation) GetCoresOk() (*map[string]interface{}, bool)`
|
||||
|
||||
GetCoresOk returns a tuple with the Cores field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCores
|
||||
|
||||
`func (o *V0037NodeAllocation) SetCores(v map[string]interface{})`
|
||||
|
||||
SetCores sets Cores field to given value.
|
||||
|
||||
### HasCores
|
||||
|
||||
`func (o *V0037NodeAllocation) HasCores() bool`
|
||||
|
||||
HasCores returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
82
internal/api/0.0.37/docs/V0037NodesResponse.md
Normal file
82
internal/api/0.0.37/docs/V0037NodesResponse.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# V0037NodesResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Errors** | Pointer to [**[]V0037Error**](V0037Error.md) | slurm errors | [optional]
|
||||
**Nodes** | Pointer to [**[]V0037Node**](V0037Node.md) | nodes info | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037NodesResponse
|
||||
|
||||
`func NewV0037NodesResponse() *V0037NodesResponse`
|
||||
|
||||
NewV0037NodesResponse instantiates a new V0037NodesResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037NodesResponseWithDefaults
|
||||
|
||||
`func NewV0037NodesResponseWithDefaults() *V0037NodesResponse`
|
||||
|
||||
NewV0037NodesResponseWithDefaults instantiates a new V0037NodesResponse object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetErrors
|
||||
|
||||
`func (o *V0037NodesResponse) GetErrors() []V0037Error`
|
||||
|
||||
GetErrors returns the Errors field if non-nil, zero value otherwise.
|
||||
|
||||
### GetErrorsOk
|
||||
|
||||
`func (o *V0037NodesResponse) GetErrorsOk() (*[]V0037Error, bool)`
|
||||
|
||||
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetErrors
|
||||
|
||||
`func (o *V0037NodesResponse) SetErrors(v []V0037Error)`
|
||||
|
||||
SetErrors sets Errors field to given value.
|
||||
|
||||
### HasErrors
|
||||
|
||||
`func (o *V0037NodesResponse) HasErrors() bool`
|
||||
|
||||
HasErrors returns a boolean if a field has been set.
|
||||
|
||||
### GetNodes
|
||||
|
||||
`func (o *V0037NodesResponse) GetNodes() []V0037Node`
|
||||
|
||||
GetNodes returns the Nodes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNodesOk
|
||||
|
||||
`func (o *V0037NodesResponse) GetNodesOk() (*[]V0037Node, bool)`
|
||||
|
||||
GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetNodes
|
||||
|
||||
`func (o *V0037NodesResponse) SetNodes(v []V0037Node)`
|
||||
|
||||
SetNodes sets Nodes field to given value.
|
||||
|
||||
### HasNodes
|
||||
|
||||
`func (o *V0037NodesResponse) HasNodes() bool`
|
||||
|
||||
HasNodes returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
758
internal/api/0.0.37/docs/V0037Partition.md
Normal file
758
internal/api/0.0.37/docs/V0037Partition.md
Normal file
@@ -0,0 +1,758 @@
|
||||
# V0037Partition
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Flags** | Pointer to **[]string** | partition options | [optional]
|
||||
**PreemptionMode** | Pointer to **[]string** | preemption type | [optional]
|
||||
**AllowedAllocationNodes** | Pointer to **string** | list names of allowed allocating nodes | [optional]
|
||||
**AllowedAccounts** | Pointer to **string** | comma delimited list of accounts | [optional]
|
||||
**AllowedGroups** | Pointer to **string** | comma delimited list of groups | [optional]
|
||||
**AllowedQos** | Pointer to **string** | comma delimited list of qos | [optional]
|
||||
**Alternative** | Pointer to **string** | name of alternate partition | [optional]
|
||||
**BillingWeights** | Pointer to **string** | TRES billing weights | [optional]
|
||||
**DefaultMemoryPerCpu** | Pointer to **int64** | default MB memory per allocated CPU | [optional]
|
||||
**DefaultTimeLimit** | Pointer to **int64** | default time limit (minutes) | [optional]
|
||||
**DeniedAccounts** | Pointer to **string** | comma delimited list of denied accounts | [optional]
|
||||
**DeniedQos** | Pointer to **string** | comma delimited list of denied qos | [optional]
|
||||
**PreemptionGraceTime** | Pointer to **int64** | preemption grace time (seconds) | [optional]
|
||||
**MaximumCpusPerNode** | Pointer to **int32** | maximum allocated CPUs per node | [optional]
|
||||
**MaximumMemoryPerNode** | Pointer to **int64** | maximum memory per allocated CPU (MiB) | [optional]
|
||||
**MaximumNodesPerJob** | Pointer to **int32** | Max nodes per job | [optional]
|
||||
**MaxTimeLimit** | Pointer to **int64** | Max time limit per job | [optional]
|
||||
**MinNodesPerJob** | Pointer to **int32** | Min number of nodes per job | [optional]
|
||||
**Name** | Pointer to **string** | Partition name | [optional]
|
||||
**Nodes** | Pointer to **string** | list names of nodes in partition | [optional]
|
||||
**OverTimeLimit** | Pointer to **int32** | job's time limit can be exceeded by this number of minutes before cancellation | [optional]
|
||||
**PriorityJobFactor** | Pointer to **int32** | job priority weight factor | [optional]
|
||||
**PriorityTier** | Pointer to **int32** | tier for scheduling and preemption | [optional]
|
||||
**Qos** | Pointer to **string** | partition QOS name | [optional]
|
||||
**State** | Pointer to **string** | Partition state | [optional]
|
||||
**TotalCpus** | Pointer to **int32** | Total cpus in partition | [optional]
|
||||
**TotalNodes** | Pointer to **int32** | Total number of nodes in partition | [optional]
|
||||
**Tres** | Pointer to **string** | configured TRES in partition | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037Partition
|
||||
|
||||
`func NewV0037Partition() *V0037Partition`
|
||||
|
||||
NewV0037Partition instantiates a new V0037Partition object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037PartitionWithDefaults
|
||||
|
||||
`func NewV0037PartitionWithDefaults() *V0037Partition`
|
||||
|
||||
NewV0037PartitionWithDefaults instantiates a new V0037Partition object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetFlags
|
||||
|
||||
`func (o *V0037Partition) GetFlags() []string`
|
||||
|
||||
GetFlags returns the Flags field if non-nil, zero value otherwise.
|
||||
|
||||
### GetFlagsOk
|
||||
|
||||
`func (o *V0037Partition) GetFlagsOk() (*[]string, bool)`
|
||||
|
||||
GetFlagsOk returns a tuple with the Flags field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetFlags
|
||||
|
||||
`func (o *V0037Partition) SetFlags(v []string)`
|
||||
|
||||
SetFlags sets Flags field to given value.
|
||||
|
||||
### HasFlags
|
||||
|
||||
`func (o *V0037Partition) HasFlags() bool`
|
||||
|
||||
HasFlags returns a boolean if a field has been set.
|
||||
|
||||
### GetPreemptionMode
|
||||
|
||||
`func (o *V0037Partition) GetPreemptionMode() []string`
|
||||
|
||||
GetPreemptionMode returns the PreemptionMode field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPreemptionModeOk
|
||||
|
||||
`func (o *V0037Partition) GetPreemptionModeOk() (*[]string, bool)`
|
||||
|
||||
GetPreemptionModeOk returns a tuple with the PreemptionMode field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPreemptionMode
|
||||
|
||||
`func (o *V0037Partition) SetPreemptionMode(v []string)`
|
||||
|
||||
SetPreemptionMode sets PreemptionMode field to given value.
|
||||
|
||||
### HasPreemptionMode
|
||||
|
||||
`func (o *V0037Partition) HasPreemptionMode() bool`
|
||||
|
||||
HasPreemptionMode returns a boolean if a field has been set.
|
||||
|
||||
### GetAllowedAllocationNodes
|
||||
|
||||
`func (o *V0037Partition) GetAllowedAllocationNodes() string`
|
||||
|
||||
GetAllowedAllocationNodes returns the AllowedAllocationNodes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAllowedAllocationNodesOk
|
||||
|
||||
`func (o *V0037Partition) GetAllowedAllocationNodesOk() (*string, bool)`
|
||||
|
||||
GetAllowedAllocationNodesOk returns a tuple with the AllowedAllocationNodes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAllowedAllocationNodes
|
||||
|
||||
`func (o *V0037Partition) SetAllowedAllocationNodes(v string)`
|
||||
|
||||
SetAllowedAllocationNodes sets AllowedAllocationNodes field to given value.
|
||||
|
||||
### HasAllowedAllocationNodes
|
||||
|
||||
`func (o *V0037Partition) HasAllowedAllocationNodes() bool`
|
||||
|
||||
HasAllowedAllocationNodes returns a boolean if a field has been set.
|
||||
|
||||
### GetAllowedAccounts
|
||||
|
||||
`func (o *V0037Partition) GetAllowedAccounts() string`
|
||||
|
||||
GetAllowedAccounts returns the AllowedAccounts field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAllowedAccountsOk
|
||||
|
||||
`func (o *V0037Partition) GetAllowedAccountsOk() (*string, bool)`
|
||||
|
||||
GetAllowedAccountsOk returns a tuple with the AllowedAccounts field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAllowedAccounts
|
||||
|
||||
`func (o *V0037Partition) SetAllowedAccounts(v string)`
|
||||
|
||||
SetAllowedAccounts sets AllowedAccounts field to given value.
|
||||
|
||||
### HasAllowedAccounts
|
||||
|
||||
`func (o *V0037Partition) HasAllowedAccounts() bool`
|
||||
|
||||
HasAllowedAccounts returns a boolean if a field has been set.
|
||||
|
||||
### GetAllowedGroups
|
||||
|
||||
`func (o *V0037Partition) GetAllowedGroups() string`
|
||||
|
||||
GetAllowedGroups returns the AllowedGroups field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAllowedGroupsOk
|
||||
|
||||
`func (o *V0037Partition) GetAllowedGroupsOk() (*string, bool)`
|
||||
|
||||
GetAllowedGroupsOk returns a tuple with the AllowedGroups field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAllowedGroups
|
||||
|
||||
`func (o *V0037Partition) SetAllowedGroups(v string)`
|
||||
|
||||
SetAllowedGroups sets AllowedGroups field to given value.
|
||||
|
||||
### HasAllowedGroups
|
||||
|
||||
`func (o *V0037Partition) HasAllowedGroups() bool`
|
||||
|
||||
HasAllowedGroups returns a boolean if a field has been set.
|
||||
|
||||
### GetAllowedQos
|
||||
|
||||
`func (o *V0037Partition) GetAllowedQos() string`
|
||||
|
||||
GetAllowedQos returns the AllowedQos field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAllowedQosOk
|
||||
|
||||
`func (o *V0037Partition) GetAllowedQosOk() (*string, bool)`
|
||||
|
||||
GetAllowedQosOk returns a tuple with the AllowedQos field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAllowedQos
|
||||
|
||||
`func (o *V0037Partition) SetAllowedQos(v string)`
|
||||
|
||||
SetAllowedQos sets AllowedQos field to given value.
|
||||
|
||||
### HasAllowedQos
|
||||
|
||||
`func (o *V0037Partition) HasAllowedQos() bool`
|
||||
|
||||
HasAllowedQos returns a boolean if a field has been set.
|
||||
|
||||
### GetAlternative
|
||||
|
||||
`func (o *V0037Partition) GetAlternative() string`
|
||||
|
||||
GetAlternative returns the Alternative field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAlternativeOk
|
||||
|
||||
`func (o *V0037Partition) GetAlternativeOk() (*string, bool)`
|
||||
|
||||
GetAlternativeOk returns a tuple with the Alternative field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAlternative
|
||||
|
||||
`func (o *V0037Partition) SetAlternative(v string)`
|
||||
|
||||
SetAlternative sets Alternative field to given value.
|
||||
|
||||
### HasAlternative
|
||||
|
||||
`func (o *V0037Partition) HasAlternative() bool`
|
||||
|
||||
HasAlternative returns a boolean if a field has been set.
|
||||
|
||||
### GetBillingWeights
|
||||
|
||||
`func (o *V0037Partition) GetBillingWeights() string`
|
||||
|
||||
GetBillingWeights returns the BillingWeights field if non-nil, zero value otherwise.
|
||||
|
||||
### GetBillingWeightsOk
|
||||
|
||||
`func (o *V0037Partition) GetBillingWeightsOk() (*string, bool)`
|
||||
|
||||
GetBillingWeightsOk returns a tuple with the BillingWeights field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetBillingWeights
|
||||
|
||||
`func (o *V0037Partition) SetBillingWeights(v string)`
|
||||
|
||||
SetBillingWeights sets BillingWeights field to given value.
|
||||
|
||||
### HasBillingWeights
|
||||
|
||||
`func (o *V0037Partition) HasBillingWeights() bool`
|
||||
|
||||
HasBillingWeights returns a boolean if a field has been set.
|
||||
|
||||
### GetDefaultMemoryPerCpu
|
||||
|
||||
`func (o *V0037Partition) GetDefaultMemoryPerCpu() int64`
|
||||
|
||||
GetDefaultMemoryPerCpu returns the DefaultMemoryPerCpu field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDefaultMemoryPerCpuOk
|
||||
|
||||
`func (o *V0037Partition) GetDefaultMemoryPerCpuOk() (*int64, bool)`
|
||||
|
||||
GetDefaultMemoryPerCpuOk returns a tuple with the DefaultMemoryPerCpu field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDefaultMemoryPerCpu
|
||||
|
||||
`func (o *V0037Partition) SetDefaultMemoryPerCpu(v int64)`
|
||||
|
||||
SetDefaultMemoryPerCpu sets DefaultMemoryPerCpu field to given value.
|
||||
|
||||
### HasDefaultMemoryPerCpu
|
||||
|
||||
`func (o *V0037Partition) HasDefaultMemoryPerCpu() bool`
|
||||
|
||||
HasDefaultMemoryPerCpu returns a boolean if a field has been set.
|
||||
|
||||
### GetDefaultTimeLimit
|
||||
|
||||
`func (o *V0037Partition) GetDefaultTimeLimit() int64`
|
||||
|
||||
GetDefaultTimeLimit returns the DefaultTimeLimit field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDefaultTimeLimitOk
|
||||
|
||||
`func (o *V0037Partition) GetDefaultTimeLimitOk() (*int64, bool)`
|
||||
|
||||
GetDefaultTimeLimitOk returns a tuple with the DefaultTimeLimit field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDefaultTimeLimit
|
||||
|
||||
`func (o *V0037Partition) SetDefaultTimeLimit(v int64)`
|
||||
|
||||
SetDefaultTimeLimit sets DefaultTimeLimit field to given value.
|
||||
|
||||
### HasDefaultTimeLimit
|
||||
|
||||
`func (o *V0037Partition) HasDefaultTimeLimit() bool`
|
||||
|
||||
HasDefaultTimeLimit returns a boolean if a field has been set.
|
||||
|
||||
### GetDeniedAccounts
|
||||
|
||||
`func (o *V0037Partition) GetDeniedAccounts() string`
|
||||
|
||||
GetDeniedAccounts returns the DeniedAccounts field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDeniedAccountsOk
|
||||
|
||||
`func (o *V0037Partition) GetDeniedAccountsOk() (*string, bool)`
|
||||
|
||||
GetDeniedAccountsOk returns a tuple with the DeniedAccounts field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDeniedAccounts
|
||||
|
||||
`func (o *V0037Partition) SetDeniedAccounts(v string)`
|
||||
|
||||
SetDeniedAccounts sets DeniedAccounts field to given value.
|
||||
|
||||
### HasDeniedAccounts
|
||||
|
||||
`func (o *V0037Partition) HasDeniedAccounts() bool`
|
||||
|
||||
HasDeniedAccounts returns a boolean if a field has been set.
|
||||
|
||||
### GetDeniedQos
|
||||
|
||||
`func (o *V0037Partition) GetDeniedQos() string`
|
||||
|
||||
GetDeniedQos returns the DeniedQos field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDeniedQosOk
|
||||
|
||||
`func (o *V0037Partition) GetDeniedQosOk() (*string, bool)`
|
||||
|
||||
GetDeniedQosOk returns a tuple with the DeniedQos field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDeniedQos
|
||||
|
||||
`func (o *V0037Partition) SetDeniedQos(v string)`
|
||||
|
||||
SetDeniedQos sets DeniedQos field to given value.
|
||||
|
||||
### HasDeniedQos
|
||||
|
||||
`func (o *V0037Partition) HasDeniedQos() bool`
|
||||
|
||||
HasDeniedQos returns a boolean if a field has been set.
|
||||
|
||||
### GetPreemptionGraceTime
|
||||
|
||||
`func (o *V0037Partition) GetPreemptionGraceTime() int64`
|
||||
|
||||
GetPreemptionGraceTime returns the PreemptionGraceTime field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPreemptionGraceTimeOk
|
||||
|
||||
`func (o *V0037Partition) GetPreemptionGraceTimeOk() (*int64, bool)`
|
||||
|
||||
GetPreemptionGraceTimeOk returns a tuple with the PreemptionGraceTime field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPreemptionGraceTime
|
||||
|
||||
`func (o *V0037Partition) SetPreemptionGraceTime(v int64)`
|
||||
|
||||
SetPreemptionGraceTime sets PreemptionGraceTime field to given value.
|
||||
|
||||
### HasPreemptionGraceTime
|
||||
|
||||
`func (o *V0037Partition) HasPreemptionGraceTime() bool`
|
||||
|
||||
HasPreemptionGraceTime returns a boolean if a field has been set.
|
||||
|
||||
### GetMaximumCpusPerNode
|
||||
|
||||
`func (o *V0037Partition) GetMaximumCpusPerNode() int32`
|
||||
|
||||
GetMaximumCpusPerNode returns the MaximumCpusPerNode field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMaximumCpusPerNodeOk
|
||||
|
||||
`func (o *V0037Partition) GetMaximumCpusPerNodeOk() (*int32, bool)`
|
||||
|
||||
GetMaximumCpusPerNodeOk returns a tuple with the MaximumCpusPerNode field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMaximumCpusPerNode
|
||||
|
||||
`func (o *V0037Partition) SetMaximumCpusPerNode(v int32)`
|
||||
|
||||
SetMaximumCpusPerNode sets MaximumCpusPerNode field to given value.
|
||||
|
||||
### HasMaximumCpusPerNode
|
||||
|
||||
`func (o *V0037Partition) HasMaximumCpusPerNode() bool`
|
||||
|
||||
HasMaximumCpusPerNode returns a boolean if a field has been set.
|
||||
|
||||
### GetMaximumMemoryPerNode
|
||||
|
||||
`func (o *V0037Partition) GetMaximumMemoryPerNode() int64`
|
||||
|
||||
GetMaximumMemoryPerNode returns the MaximumMemoryPerNode field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMaximumMemoryPerNodeOk
|
||||
|
||||
`func (o *V0037Partition) GetMaximumMemoryPerNodeOk() (*int64, bool)`
|
||||
|
||||
GetMaximumMemoryPerNodeOk returns a tuple with the MaximumMemoryPerNode field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMaximumMemoryPerNode
|
||||
|
||||
`func (o *V0037Partition) SetMaximumMemoryPerNode(v int64)`
|
||||
|
||||
SetMaximumMemoryPerNode sets MaximumMemoryPerNode field to given value.
|
||||
|
||||
### HasMaximumMemoryPerNode
|
||||
|
||||
`func (o *V0037Partition) HasMaximumMemoryPerNode() bool`
|
||||
|
||||
HasMaximumMemoryPerNode returns a boolean if a field has been set.
|
||||
|
||||
### GetMaximumNodesPerJob
|
||||
|
||||
`func (o *V0037Partition) GetMaximumNodesPerJob() int32`
|
||||
|
||||
GetMaximumNodesPerJob returns the MaximumNodesPerJob field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMaximumNodesPerJobOk
|
||||
|
||||
`func (o *V0037Partition) GetMaximumNodesPerJobOk() (*int32, bool)`
|
||||
|
||||
GetMaximumNodesPerJobOk returns a tuple with the MaximumNodesPerJob field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMaximumNodesPerJob
|
||||
|
||||
`func (o *V0037Partition) SetMaximumNodesPerJob(v int32)`
|
||||
|
||||
SetMaximumNodesPerJob sets MaximumNodesPerJob field to given value.
|
||||
|
||||
### HasMaximumNodesPerJob
|
||||
|
||||
`func (o *V0037Partition) HasMaximumNodesPerJob() bool`
|
||||
|
||||
HasMaximumNodesPerJob returns a boolean if a field has been set.
|
||||
|
||||
### GetMaxTimeLimit
|
||||
|
||||
`func (o *V0037Partition) GetMaxTimeLimit() int64`
|
||||
|
||||
GetMaxTimeLimit returns the MaxTimeLimit field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMaxTimeLimitOk
|
||||
|
||||
`func (o *V0037Partition) GetMaxTimeLimitOk() (*int64, bool)`
|
||||
|
||||
GetMaxTimeLimitOk returns a tuple with the MaxTimeLimit field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMaxTimeLimit
|
||||
|
||||
`func (o *V0037Partition) SetMaxTimeLimit(v int64)`
|
||||
|
||||
SetMaxTimeLimit sets MaxTimeLimit field to given value.
|
||||
|
||||
### HasMaxTimeLimit
|
||||
|
||||
`func (o *V0037Partition) HasMaxTimeLimit() bool`
|
||||
|
||||
HasMaxTimeLimit returns a boolean if a field has been set.
|
||||
|
||||
### GetMinNodesPerJob
|
||||
|
||||
`func (o *V0037Partition) GetMinNodesPerJob() int32`
|
||||
|
||||
GetMinNodesPerJob returns the MinNodesPerJob field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMinNodesPerJobOk
|
||||
|
||||
`func (o *V0037Partition) GetMinNodesPerJobOk() (*int32, bool)`
|
||||
|
||||
GetMinNodesPerJobOk returns a tuple with the MinNodesPerJob field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMinNodesPerJob
|
||||
|
||||
`func (o *V0037Partition) SetMinNodesPerJob(v int32)`
|
||||
|
||||
SetMinNodesPerJob sets MinNodesPerJob field to given value.
|
||||
|
||||
### HasMinNodesPerJob
|
||||
|
||||
`func (o *V0037Partition) HasMinNodesPerJob() bool`
|
||||
|
||||
HasMinNodesPerJob returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *V0037Partition) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *V0037Partition) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *V0037Partition) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *V0037Partition) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetNodes
|
||||
|
||||
`func (o *V0037Partition) GetNodes() string`
|
||||
|
||||
GetNodes returns the Nodes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNodesOk
|
||||
|
||||
`func (o *V0037Partition) GetNodesOk() (*string, bool)`
|
||||
|
||||
GetNodesOk returns a tuple with the Nodes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetNodes
|
||||
|
||||
`func (o *V0037Partition) SetNodes(v string)`
|
||||
|
||||
SetNodes sets Nodes field to given value.
|
||||
|
||||
### HasNodes
|
||||
|
||||
`func (o *V0037Partition) HasNodes() bool`
|
||||
|
||||
HasNodes returns a boolean if a field has been set.
|
||||
|
||||
### GetOverTimeLimit
|
||||
|
||||
`func (o *V0037Partition) GetOverTimeLimit() int32`
|
||||
|
||||
GetOverTimeLimit returns the OverTimeLimit field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOverTimeLimitOk
|
||||
|
||||
`func (o *V0037Partition) GetOverTimeLimitOk() (*int32, bool)`
|
||||
|
||||
GetOverTimeLimitOk returns a tuple with the OverTimeLimit field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOverTimeLimit
|
||||
|
||||
`func (o *V0037Partition) SetOverTimeLimit(v int32)`
|
||||
|
||||
SetOverTimeLimit sets OverTimeLimit field to given value.
|
||||
|
||||
### HasOverTimeLimit
|
||||
|
||||
`func (o *V0037Partition) HasOverTimeLimit() bool`
|
||||
|
||||
HasOverTimeLimit returns a boolean if a field has been set.
|
||||
|
||||
### GetPriorityJobFactor
|
||||
|
||||
`func (o *V0037Partition) GetPriorityJobFactor() int32`
|
||||
|
||||
GetPriorityJobFactor returns the PriorityJobFactor field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPriorityJobFactorOk
|
||||
|
||||
`func (o *V0037Partition) GetPriorityJobFactorOk() (*int32, bool)`
|
||||
|
||||
GetPriorityJobFactorOk returns a tuple with the PriorityJobFactor field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPriorityJobFactor
|
||||
|
||||
`func (o *V0037Partition) SetPriorityJobFactor(v int32)`
|
||||
|
||||
SetPriorityJobFactor sets PriorityJobFactor field to given value.
|
||||
|
||||
### HasPriorityJobFactor
|
||||
|
||||
`func (o *V0037Partition) HasPriorityJobFactor() bool`
|
||||
|
||||
HasPriorityJobFactor returns a boolean if a field has been set.
|
||||
|
||||
### GetPriorityTier
|
||||
|
||||
`func (o *V0037Partition) GetPriorityTier() int32`
|
||||
|
||||
GetPriorityTier returns the PriorityTier field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPriorityTierOk
|
||||
|
||||
`func (o *V0037Partition) GetPriorityTierOk() (*int32, bool)`
|
||||
|
||||
GetPriorityTierOk returns a tuple with the PriorityTier field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPriorityTier
|
||||
|
||||
`func (o *V0037Partition) SetPriorityTier(v int32)`
|
||||
|
||||
SetPriorityTier sets PriorityTier field to given value.
|
||||
|
||||
### HasPriorityTier
|
||||
|
||||
`func (o *V0037Partition) HasPriorityTier() bool`
|
||||
|
||||
HasPriorityTier returns a boolean if a field has been set.
|
||||
|
||||
### GetQos
|
||||
|
||||
`func (o *V0037Partition) GetQos() string`
|
||||
|
||||
GetQos returns the Qos field if non-nil, zero value otherwise.
|
||||
|
||||
### GetQosOk
|
||||
|
||||
`func (o *V0037Partition) GetQosOk() (*string, bool)`
|
||||
|
||||
GetQosOk returns a tuple with the Qos field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetQos
|
||||
|
||||
`func (o *V0037Partition) SetQos(v string)`
|
||||
|
||||
SetQos sets Qos field to given value.
|
||||
|
||||
### HasQos
|
||||
|
||||
`func (o *V0037Partition) HasQos() bool`
|
||||
|
||||
HasQos returns a boolean if a field has been set.
|
||||
|
||||
### GetState
|
||||
|
||||
`func (o *V0037Partition) GetState() string`
|
||||
|
||||
GetState returns the State field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStateOk
|
||||
|
||||
`func (o *V0037Partition) GetStateOk() (*string, bool)`
|
||||
|
||||
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetState
|
||||
|
||||
`func (o *V0037Partition) SetState(v string)`
|
||||
|
||||
SetState sets State field to given value.
|
||||
|
||||
### HasState
|
||||
|
||||
`func (o *V0037Partition) HasState() bool`
|
||||
|
||||
HasState returns a boolean if a field has been set.
|
||||
|
||||
### GetTotalCpus
|
||||
|
||||
`func (o *V0037Partition) GetTotalCpus() int32`
|
||||
|
||||
GetTotalCpus returns the TotalCpus field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTotalCpusOk
|
||||
|
||||
`func (o *V0037Partition) GetTotalCpusOk() (*int32, bool)`
|
||||
|
||||
GetTotalCpusOk returns a tuple with the TotalCpus field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTotalCpus
|
||||
|
||||
`func (o *V0037Partition) SetTotalCpus(v int32)`
|
||||
|
||||
SetTotalCpus sets TotalCpus field to given value.
|
||||
|
||||
### HasTotalCpus
|
||||
|
||||
`func (o *V0037Partition) HasTotalCpus() bool`
|
||||
|
||||
HasTotalCpus returns a boolean if a field has been set.
|
||||
|
||||
### GetTotalNodes
|
||||
|
||||
`func (o *V0037Partition) GetTotalNodes() int32`
|
||||
|
||||
GetTotalNodes returns the TotalNodes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTotalNodesOk
|
||||
|
||||
`func (o *V0037Partition) GetTotalNodesOk() (*int32, bool)`
|
||||
|
||||
GetTotalNodesOk returns a tuple with the TotalNodes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTotalNodes
|
||||
|
||||
`func (o *V0037Partition) SetTotalNodes(v int32)`
|
||||
|
||||
SetTotalNodes sets TotalNodes field to given value.
|
||||
|
||||
### HasTotalNodes
|
||||
|
||||
`func (o *V0037Partition) HasTotalNodes() bool`
|
||||
|
||||
HasTotalNodes returns a boolean if a field has been set.
|
||||
|
||||
### GetTres
|
||||
|
||||
`func (o *V0037Partition) GetTres() string`
|
||||
|
||||
GetTres returns the Tres field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTresOk
|
||||
|
||||
`func (o *V0037Partition) GetTresOk() (*string, bool)`
|
||||
|
||||
GetTresOk returns a tuple with the Tres field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTres
|
||||
|
||||
`func (o *V0037Partition) SetTres(v string)`
|
||||
|
||||
SetTres sets Tres field to given value.
|
||||
|
||||
### HasTres
|
||||
|
||||
`func (o *V0037Partition) HasTres() bool`
|
||||
|
||||
HasTres returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
82
internal/api/0.0.37/docs/V0037PartitionsResponse.md
Normal file
82
internal/api/0.0.37/docs/V0037PartitionsResponse.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# V0037PartitionsResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Errors** | Pointer to [**[]V0037Error**](V0037Error.md) | slurm errors | [optional]
|
||||
**Partitions** | Pointer to [**[]V0037Partition**](V0037Partition.md) | partition info | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037PartitionsResponse
|
||||
|
||||
`func NewV0037PartitionsResponse() *V0037PartitionsResponse`
|
||||
|
||||
NewV0037PartitionsResponse instantiates a new V0037PartitionsResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037PartitionsResponseWithDefaults
|
||||
|
||||
`func NewV0037PartitionsResponseWithDefaults() *V0037PartitionsResponse`
|
||||
|
||||
NewV0037PartitionsResponseWithDefaults instantiates a new V0037PartitionsResponse object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetErrors
|
||||
|
||||
`func (o *V0037PartitionsResponse) GetErrors() []V0037Error`
|
||||
|
||||
GetErrors returns the Errors field if non-nil, zero value otherwise.
|
||||
|
||||
### GetErrorsOk
|
||||
|
||||
`func (o *V0037PartitionsResponse) GetErrorsOk() (*[]V0037Error, bool)`
|
||||
|
||||
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetErrors
|
||||
|
||||
`func (o *V0037PartitionsResponse) SetErrors(v []V0037Error)`
|
||||
|
||||
SetErrors sets Errors field to given value.
|
||||
|
||||
### HasErrors
|
||||
|
||||
`func (o *V0037PartitionsResponse) HasErrors() bool`
|
||||
|
||||
HasErrors returns a boolean if a field has been set.
|
||||
|
||||
### GetPartitions
|
||||
|
||||
`func (o *V0037PartitionsResponse) GetPartitions() []V0037Partition`
|
||||
|
||||
GetPartitions returns the Partitions field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPartitionsOk
|
||||
|
||||
`func (o *V0037PartitionsResponse) GetPartitionsOk() (*[]V0037Partition, bool)`
|
||||
|
||||
GetPartitionsOk returns a tuple with the Partitions field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPartitions
|
||||
|
||||
`func (o *V0037PartitionsResponse) SetPartitions(v []V0037Partition)`
|
||||
|
||||
SetPartitions sets Partitions field to given value.
|
||||
|
||||
### HasPartitions
|
||||
|
||||
`func (o *V0037PartitionsResponse) HasPartitions() bool`
|
||||
|
||||
HasPartitions returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
134
internal/api/0.0.37/docs/V0037Ping.md
Normal file
134
internal/api/0.0.37/docs/V0037Ping.md
Normal file
@@ -0,0 +1,134 @@
|
||||
# V0037Ping
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Hostname** | Pointer to **string** | slurm controller hostname | [optional]
|
||||
**Ping** | Pointer to **string** | slurm controller host up | [optional]
|
||||
**Mode** | Pointer to **string** | slurm controller mode | [optional]
|
||||
**Status** | Pointer to **int32** | slurm controller status | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037Ping
|
||||
|
||||
`func NewV0037Ping() *V0037Ping`
|
||||
|
||||
NewV0037Ping instantiates a new V0037Ping object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037PingWithDefaults
|
||||
|
||||
`func NewV0037PingWithDefaults() *V0037Ping`
|
||||
|
||||
NewV0037PingWithDefaults instantiates a new V0037Ping object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetHostname
|
||||
|
||||
`func (o *V0037Ping) GetHostname() string`
|
||||
|
||||
GetHostname returns the Hostname field if non-nil, zero value otherwise.
|
||||
|
||||
### GetHostnameOk
|
||||
|
||||
`func (o *V0037Ping) GetHostnameOk() (*string, bool)`
|
||||
|
||||
GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetHostname
|
||||
|
||||
`func (o *V0037Ping) SetHostname(v string)`
|
||||
|
||||
SetHostname sets Hostname field to given value.
|
||||
|
||||
### HasHostname
|
||||
|
||||
`func (o *V0037Ping) HasHostname() bool`
|
||||
|
||||
HasHostname returns a boolean if a field has been set.
|
||||
|
||||
### GetPing
|
||||
|
||||
`func (o *V0037Ping) GetPing() string`
|
||||
|
||||
GetPing returns the Ping field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPingOk
|
||||
|
||||
`func (o *V0037Ping) GetPingOk() (*string, bool)`
|
||||
|
||||
GetPingOk returns a tuple with the Ping field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPing
|
||||
|
||||
`func (o *V0037Ping) SetPing(v string)`
|
||||
|
||||
SetPing sets Ping field to given value.
|
||||
|
||||
### HasPing
|
||||
|
||||
`func (o *V0037Ping) HasPing() bool`
|
||||
|
||||
HasPing returns a boolean if a field has been set.
|
||||
|
||||
### GetMode
|
||||
|
||||
`func (o *V0037Ping) GetMode() string`
|
||||
|
||||
GetMode returns the Mode field if non-nil, zero value otherwise.
|
||||
|
||||
### GetModeOk
|
||||
|
||||
`func (o *V0037Ping) GetModeOk() (*string, bool)`
|
||||
|
||||
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMode
|
||||
|
||||
`func (o *V0037Ping) SetMode(v string)`
|
||||
|
||||
SetMode sets Mode field to given value.
|
||||
|
||||
### HasMode
|
||||
|
||||
`func (o *V0037Ping) HasMode() bool`
|
||||
|
||||
HasMode returns a boolean if a field has been set.
|
||||
|
||||
### GetStatus
|
||||
|
||||
`func (o *V0037Ping) GetStatus() int32`
|
||||
|
||||
GetStatus returns the Status field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStatusOk
|
||||
|
||||
`func (o *V0037Ping) GetStatusOk() (*int32, bool)`
|
||||
|
||||
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetStatus
|
||||
|
||||
`func (o *V0037Ping) SetStatus(v int32)`
|
||||
|
||||
SetStatus sets Status field to given value.
|
||||
|
||||
### HasStatus
|
||||
|
||||
`func (o *V0037Ping) HasStatus() bool`
|
||||
|
||||
HasStatus returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
82
internal/api/0.0.37/docs/V0037Pings.md
Normal file
82
internal/api/0.0.37/docs/V0037Pings.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# V0037Pings
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Errors** | Pointer to [**[]V0037Error**](V0037Error.md) | slurm errors | [optional]
|
||||
**Pings** | Pointer to [**[]V0037Ping**](V0037Ping.md) | slurm controller pings | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037Pings
|
||||
|
||||
`func NewV0037Pings() *V0037Pings`
|
||||
|
||||
NewV0037Pings instantiates a new V0037Pings object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037PingsWithDefaults
|
||||
|
||||
`func NewV0037PingsWithDefaults() *V0037Pings`
|
||||
|
||||
NewV0037PingsWithDefaults instantiates a new V0037Pings object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetErrors
|
||||
|
||||
`func (o *V0037Pings) GetErrors() []V0037Error`
|
||||
|
||||
GetErrors returns the Errors field if non-nil, zero value otherwise.
|
||||
|
||||
### GetErrorsOk
|
||||
|
||||
`func (o *V0037Pings) GetErrorsOk() (*[]V0037Error, bool)`
|
||||
|
||||
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetErrors
|
||||
|
||||
`func (o *V0037Pings) SetErrors(v []V0037Error)`
|
||||
|
||||
SetErrors sets Errors field to given value.
|
||||
|
||||
### HasErrors
|
||||
|
||||
`func (o *V0037Pings) HasErrors() bool`
|
||||
|
||||
HasErrors returns a boolean if a field has been set.
|
||||
|
||||
### GetPings
|
||||
|
||||
`func (o *V0037Pings) GetPings() []V0037Ping`
|
||||
|
||||
GetPings returns the Pings field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPingsOk
|
||||
|
||||
`func (o *V0037Pings) GetPingsOk() (*[]V0037Ping, bool)`
|
||||
|
||||
GetPingsOk returns a tuple with the Pings field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPings
|
||||
|
||||
`func (o *V0037Pings) SetPings(v []V0037Ping)`
|
||||
|
||||
SetPings sets Pings field to given value.
|
||||
|
||||
### HasPings
|
||||
|
||||
`func (o *V0037Pings) HasPings() bool`
|
||||
|
||||
HasPings returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
524
internal/api/0.0.37/docs/V0037Reservation.md
Normal file
524
internal/api/0.0.37/docs/V0037Reservation.md
Normal file
@@ -0,0 +1,524 @@
|
||||
# V0037Reservation
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Accounts** | Pointer to **string** | Allowed accounts | [optional]
|
||||
**BurstBuffer** | Pointer to **string** | Reserved burst buffer | [optional]
|
||||
**CoreCount** | Pointer to **int32** | Number of reserved cores | [optional]
|
||||
**CoreSpecCnt** | Pointer to **int32** | Number of reserved specialized cores | [optional]
|
||||
**EndTime** | Pointer to **int32** | End time of the reservation | [optional]
|
||||
**Features** | Pointer to **string** | List of features | [optional]
|
||||
**Flags** | Pointer to **[]string** | Reservation options | [optional]
|
||||
**Groups** | Pointer to **string** | List of groups permitted to use the reserved nodes | [optional]
|
||||
**Licenses** | Pointer to **string** | List of licenses | [optional]
|
||||
**MaxStartDelay** | Pointer to **int32** | Maximum delay in which jobs outside of the reservation will be permitted to overlap once any jobs are queued for the reservation | [optional]
|
||||
**Name** | Pointer to **string** | Reservationn name | [optional]
|
||||
**NodeCount** | Pointer to **int32** | Count of nodes reserved | [optional]
|
||||
**NodeList** | Pointer to **string** | List of reserved nodes | [optional]
|
||||
**Partition** | Pointer to **string** | Partition | [optional]
|
||||
**PurgeCompleted** | Pointer to [**V0037ReservationPurgeCompleted**](V0037ReservationPurgeCompleted.md) | | [optional]
|
||||
**StartTime** | Pointer to **int32** | Start time of reservation | [optional]
|
||||
**Watts** | Pointer to **int32** | amount of power to reserve in watts | [optional]
|
||||
**Tres** | Pointer to **string** | List of TRES | [optional]
|
||||
**Users** | Pointer to **string** | List of users | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037Reservation
|
||||
|
||||
`func NewV0037Reservation() *V0037Reservation`
|
||||
|
||||
NewV0037Reservation instantiates a new V0037Reservation object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037ReservationWithDefaults
|
||||
|
||||
`func NewV0037ReservationWithDefaults() *V0037Reservation`
|
||||
|
||||
NewV0037ReservationWithDefaults instantiates a new V0037Reservation object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetAccounts
|
||||
|
||||
`func (o *V0037Reservation) GetAccounts() string`
|
||||
|
||||
GetAccounts returns the Accounts field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAccountsOk
|
||||
|
||||
`func (o *V0037Reservation) GetAccountsOk() (*string, bool)`
|
||||
|
||||
GetAccountsOk returns a tuple with the Accounts field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAccounts
|
||||
|
||||
`func (o *V0037Reservation) SetAccounts(v string)`
|
||||
|
||||
SetAccounts sets Accounts field to given value.
|
||||
|
||||
### HasAccounts
|
||||
|
||||
`func (o *V0037Reservation) HasAccounts() bool`
|
||||
|
||||
HasAccounts returns a boolean if a field has been set.
|
||||
|
||||
### GetBurstBuffer
|
||||
|
||||
`func (o *V0037Reservation) GetBurstBuffer() string`
|
||||
|
||||
GetBurstBuffer returns the BurstBuffer field if non-nil, zero value otherwise.
|
||||
|
||||
### GetBurstBufferOk
|
||||
|
||||
`func (o *V0037Reservation) GetBurstBufferOk() (*string, bool)`
|
||||
|
||||
GetBurstBufferOk returns a tuple with the BurstBuffer field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetBurstBuffer
|
||||
|
||||
`func (o *V0037Reservation) SetBurstBuffer(v string)`
|
||||
|
||||
SetBurstBuffer sets BurstBuffer field to given value.
|
||||
|
||||
### HasBurstBuffer
|
||||
|
||||
`func (o *V0037Reservation) HasBurstBuffer() bool`
|
||||
|
||||
HasBurstBuffer returns a boolean if a field has been set.
|
||||
|
||||
### GetCoreCount
|
||||
|
||||
`func (o *V0037Reservation) GetCoreCount() int32`
|
||||
|
||||
GetCoreCount returns the CoreCount field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCoreCountOk
|
||||
|
||||
`func (o *V0037Reservation) GetCoreCountOk() (*int32, bool)`
|
||||
|
||||
GetCoreCountOk returns a tuple with the CoreCount field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCoreCount
|
||||
|
||||
`func (o *V0037Reservation) SetCoreCount(v int32)`
|
||||
|
||||
SetCoreCount sets CoreCount field to given value.
|
||||
|
||||
### HasCoreCount
|
||||
|
||||
`func (o *V0037Reservation) HasCoreCount() bool`
|
||||
|
||||
HasCoreCount returns a boolean if a field has been set.
|
||||
|
||||
### GetCoreSpecCnt
|
||||
|
||||
`func (o *V0037Reservation) GetCoreSpecCnt() int32`
|
||||
|
||||
GetCoreSpecCnt returns the CoreSpecCnt field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCoreSpecCntOk
|
||||
|
||||
`func (o *V0037Reservation) GetCoreSpecCntOk() (*int32, bool)`
|
||||
|
||||
GetCoreSpecCntOk returns a tuple with the CoreSpecCnt field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCoreSpecCnt
|
||||
|
||||
`func (o *V0037Reservation) SetCoreSpecCnt(v int32)`
|
||||
|
||||
SetCoreSpecCnt sets CoreSpecCnt field to given value.
|
||||
|
||||
### HasCoreSpecCnt
|
||||
|
||||
`func (o *V0037Reservation) HasCoreSpecCnt() bool`
|
||||
|
||||
HasCoreSpecCnt returns a boolean if a field has been set.
|
||||
|
||||
### GetEndTime
|
||||
|
||||
`func (o *V0037Reservation) GetEndTime() int32`
|
||||
|
||||
GetEndTime returns the EndTime field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEndTimeOk
|
||||
|
||||
`func (o *V0037Reservation) GetEndTimeOk() (*int32, bool)`
|
||||
|
||||
GetEndTimeOk returns a tuple with the EndTime field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEndTime
|
||||
|
||||
`func (o *V0037Reservation) SetEndTime(v int32)`
|
||||
|
||||
SetEndTime sets EndTime field to given value.
|
||||
|
||||
### HasEndTime
|
||||
|
||||
`func (o *V0037Reservation) HasEndTime() bool`
|
||||
|
||||
HasEndTime returns a boolean if a field has been set.
|
||||
|
||||
### GetFeatures
|
||||
|
||||
`func (o *V0037Reservation) GetFeatures() string`
|
||||
|
||||
GetFeatures returns the Features field if non-nil, zero value otherwise.
|
||||
|
||||
### GetFeaturesOk
|
||||
|
||||
`func (o *V0037Reservation) GetFeaturesOk() (*string, bool)`
|
||||
|
||||
GetFeaturesOk returns a tuple with the Features field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetFeatures
|
||||
|
||||
`func (o *V0037Reservation) SetFeatures(v string)`
|
||||
|
||||
SetFeatures sets Features field to given value.
|
||||
|
||||
### HasFeatures
|
||||
|
||||
`func (o *V0037Reservation) HasFeatures() bool`
|
||||
|
||||
HasFeatures returns a boolean if a field has been set.
|
||||
|
||||
### GetFlags
|
||||
|
||||
`func (o *V0037Reservation) GetFlags() []string`
|
||||
|
||||
GetFlags returns the Flags field if non-nil, zero value otherwise.
|
||||
|
||||
### GetFlagsOk
|
||||
|
||||
`func (o *V0037Reservation) GetFlagsOk() (*[]string, bool)`
|
||||
|
||||
GetFlagsOk returns a tuple with the Flags field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetFlags
|
||||
|
||||
`func (o *V0037Reservation) SetFlags(v []string)`
|
||||
|
||||
SetFlags sets Flags field to given value.
|
||||
|
||||
### HasFlags
|
||||
|
||||
`func (o *V0037Reservation) HasFlags() bool`
|
||||
|
||||
HasFlags returns a boolean if a field has been set.
|
||||
|
||||
### GetGroups
|
||||
|
||||
`func (o *V0037Reservation) GetGroups() string`
|
||||
|
||||
GetGroups returns the Groups field if non-nil, zero value otherwise.
|
||||
|
||||
### GetGroupsOk
|
||||
|
||||
`func (o *V0037Reservation) GetGroupsOk() (*string, bool)`
|
||||
|
||||
GetGroupsOk returns a tuple with the Groups field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetGroups
|
||||
|
||||
`func (o *V0037Reservation) SetGroups(v string)`
|
||||
|
||||
SetGroups sets Groups field to given value.
|
||||
|
||||
### HasGroups
|
||||
|
||||
`func (o *V0037Reservation) HasGroups() bool`
|
||||
|
||||
HasGroups returns a boolean if a field has been set.
|
||||
|
||||
### GetLicenses
|
||||
|
||||
`func (o *V0037Reservation) GetLicenses() string`
|
||||
|
||||
GetLicenses returns the Licenses field if non-nil, zero value otherwise.
|
||||
|
||||
### GetLicensesOk
|
||||
|
||||
`func (o *V0037Reservation) GetLicensesOk() (*string, bool)`
|
||||
|
||||
GetLicensesOk returns a tuple with the Licenses field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetLicenses
|
||||
|
||||
`func (o *V0037Reservation) SetLicenses(v string)`
|
||||
|
||||
SetLicenses sets Licenses field to given value.
|
||||
|
||||
### HasLicenses
|
||||
|
||||
`func (o *V0037Reservation) HasLicenses() bool`
|
||||
|
||||
HasLicenses returns a boolean if a field has been set.
|
||||
|
||||
### GetMaxStartDelay
|
||||
|
||||
`func (o *V0037Reservation) GetMaxStartDelay() int32`
|
||||
|
||||
GetMaxStartDelay returns the MaxStartDelay field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMaxStartDelayOk
|
||||
|
||||
`func (o *V0037Reservation) GetMaxStartDelayOk() (*int32, bool)`
|
||||
|
||||
GetMaxStartDelayOk returns a tuple with the MaxStartDelay field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMaxStartDelay
|
||||
|
||||
`func (o *V0037Reservation) SetMaxStartDelay(v int32)`
|
||||
|
||||
SetMaxStartDelay sets MaxStartDelay field to given value.
|
||||
|
||||
### HasMaxStartDelay
|
||||
|
||||
`func (o *V0037Reservation) HasMaxStartDelay() bool`
|
||||
|
||||
HasMaxStartDelay returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *V0037Reservation) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *V0037Reservation) GetNameOk() (*string, bool)`
|
||||
|
||||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetName
|
||||
|
||||
`func (o *V0037Reservation) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *V0037Reservation) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetNodeCount
|
||||
|
||||
`func (o *V0037Reservation) GetNodeCount() int32`
|
||||
|
||||
GetNodeCount returns the NodeCount field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNodeCountOk
|
||||
|
||||
`func (o *V0037Reservation) GetNodeCountOk() (*int32, bool)`
|
||||
|
||||
GetNodeCountOk returns a tuple with the NodeCount field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetNodeCount
|
||||
|
||||
`func (o *V0037Reservation) SetNodeCount(v int32)`
|
||||
|
||||
SetNodeCount sets NodeCount field to given value.
|
||||
|
||||
### HasNodeCount
|
||||
|
||||
`func (o *V0037Reservation) HasNodeCount() bool`
|
||||
|
||||
HasNodeCount returns a boolean if a field has been set.
|
||||
|
||||
### GetNodeList
|
||||
|
||||
`func (o *V0037Reservation) GetNodeList() string`
|
||||
|
||||
GetNodeList returns the NodeList field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNodeListOk
|
||||
|
||||
`func (o *V0037Reservation) GetNodeListOk() (*string, bool)`
|
||||
|
||||
GetNodeListOk returns a tuple with the NodeList field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetNodeList
|
||||
|
||||
`func (o *V0037Reservation) SetNodeList(v string)`
|
||||
|
||||
SetNodeList sets NodeList field to given value.
|
||||
|
||||
### HasNodeList
|
||||
|
||||
`func (o *V0037Reservation) HasNodeList() bool`
|
||||
|
||||
HasNodeList returns a boolean if a field has been set.
|
||||
|
||||
### GetPartition
|
||||
|
||||
`func (o *V0037Reservation) GetPartition() string`
|
||||
|
||||
GetPartition returns the Partition field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPartitionOk
|
||||
|
||||
`func (o *V0037Reservation) GetPartitionOk() (*string, bool)`
|
||||
|
||||
GetPartitionOk returns a tuple with the Partition field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPartition
|
||||
|
||||
`func (o *V0037Reservation) SetPartition(v string)`
|
||||
|
||||
SetPartition sets Partition field to given value.
|
||||
|
||||
### HasPartition
|
||||
|
||||
`func (o *V0037Reservation) HasPartition() bool`
|
||||
|
||||
HasPartition returns a boolean if a field has been set.
|
||||
|
||||
### GetPurgeCompleted
|
||||
|
||||
`func (o *V0037Reservation) GetPurgeCompleted() V0037ReservationPurgeCompleted`
|
||||
|
||||
GetPurgeCompleted returns the PurgeCompleted field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPurgeCompletedOk
|
||||
|
||||
`func (o *V0037Reservation) GetPurgeCompletedOk() (*V0037ReservationPurgeCompleted, bool)`
|
||||
|
||||
GetPurgeCompletedOk returns a tuple with the PurgeCompleted field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPurgeCompleted
|
||||
|
||||
`func (o *V0037Reservation) SetPurgeCompleted(v V0037ReservationPurgeCompleted)`
|
||||
|
||||
SetPurgeCompleted sets PurgeCompleted field to given value.
|
||||
|
||||
### HasPurgeCompleted
|
||||
|
||||
`func (o *V0037Reservation) HasPurgeCompleted() bool`
|
||||
|
||||
HasPurgeCompleted returns a boolean if a field has been set.
|
||||
|
||||
### GetStartTime
|
||||
|
||||
`func (o *V0037Reservation) GetStartTime() int32`
|
||||
|
||||
GetStartTime returns the StartTime field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStartTimeOk
|
||||
|
||||
`func (o *V0037Reservation) GetStartTimeOk() (*int32, bool)`
|
||||
|
||||
GetStartTimeOk returns a tuple with the StartTime field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetStartTime
|
||||
|
||||
`func (o *V0037Reservation) SetStartTime(v int32)`
|
||||
|
||||
SetStartTime sets StartTime field to given value.
|
||||
|
||||
### HasStartTime
|
||||
|
||||
`func (o *V0037Reservation) HasStartTime() bool`
|
||||
|
||||
HasStartTime returns a boolean if a field has been set.
|
||||
|
||||
### GetWatts
|
||||
|
||||
`func (o *V0037Reservation) GetWatts() int32`
|
||||
|
||||
GetWatts returns the Watts field if non-nil, zero value otherwise.
|
||||
|
||||
### GetWattsOk
|
||||
|
||||
`func (o *V0037Reservation) GetWattsOk() (*int32, bool)`
|
||||
|
||||
GetWattsOk returns a tuple with the Watts field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetWatts
|
||||
|
||||
`func (o *V0037Reservation) SetWatts(v int32)`
|
||||
|
||||
SetWatts sets Watts field to given value.
|
||||
|
||||
### HasWatts
|
||||
|
||||
`func (o *V0037Reservation) HasWatts() bool`
|
||||
|
||||
HasWatts returns a boolean if a field has been set.
|
||||
|
||||
### GetTres
|
||||
|
||||
`func (o *V0037Reservation) GetTres() string`
|
||||
|
||||
GetTres returns the Tres field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTresOk
|
||||
|
||||
`func (o *V0037Reservation) GetTresOk() (*string, bool)`
|
||||
|
||||
GetTresOk returns a tuple with the Tres field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTres
|
||||
|
||||
`func (o *V0037Reservation) SetTres(v string)`
|
||||
|
||||
SetTres sets Tres field to given value.
|
||||
|
||||
### HasTres
|
||||
|
||||
`func (o *V0037Reservation) HasTres() bool`
|
||||
|
||||
HasTres returns a boolean if a field has been set.
|
||||
|
||||
### GetUsers
|
||||
|
||||
`func (o *V0037Reservation) GetUsers() string`
|
||||
|
||||
GetUsers returns the Users field if non-nil, zero value otherwise.
|
||||
|
||||
### GetUsersOk
|
||||
|
||||
`func (o *V0037Reservation) GetUsersOk() (*string, bool)`
|
||||
|
||||
GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetUsers
|
||||
|
||||
`func (o *V0037Reservation) SetUsers(v string)`
|
||||
|
||||
SetUsers sets Users field to given value.
|
||||
|
||||
### HasUsers
|
||||
|
||||
`func (o *V0037Reservation) HasUsers() bool`
|
||||
|
||||
HasUsers returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
56
internal/api/0.0.37/docs/V0037ReservationPurgeCompleted.md
Normal file
56
internal/api/0.0.37/docs/V0037ReservationPurgeCompleted.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# V0037ReservationPurgeCompleted
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Time** | Pointer to **int32** | amount of seconds this reservation will sit idle until it is revoked | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037ReservationPurgeCompleted
|
||||
|
||||
`func NewV0037ReservationPurgeCompleted() *V0037ReservationPurgeCompleted`
|
||||
|
||||
NewV0037ReservationPurgeCompleted instantiates a new V0037ReservationPurgeCompleted object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037ReservationPurgeCompletedWithDefaults
|
||||
|
||||
`func NewV0037ReservationPurgeCompletedWithDefaults() *V0037ReservationPurgeCompleted`
|
||||
|
||||
NewV0037ReservationPurgeCompletedWithDefaults instantiates a new V0037ReservationPurgeCompleted object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetTime
|
||||
|
||||
`func (o *V0037ReservationPurgeCompleted) GetTime() int32`
|
||||
|
||||
GetTime returns the Time field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTimeOk
|
||||
|
||||
`func (o *V0037ReservationPurgeCompleted) GetTimeOk() (*int32, bool)`
|
||||
|
||||
GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTime
|
||||
|
||||
`func (o *V0037ReservationPurgeCompleted) SetTime(v int32)`
|
||||
|
||||
SetTime sets Time field to given value.
|
||||
|
||||
### HasTime
|
||||
|
||||
`func (o *V0037ReservationPurgeCompleted) HasTime() bool`
|
||||
|
||||
HasTime returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
82
internal/api/0.0.37/docs/V0037ReservationsResponse.md
Normal file
82
internal/api/0.0.37/docs/V0037ReservationsResponse.md
Normal file
@@ -0,0 +1,82 @@
|
||||
# V0037ReservationsResponse
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Errors** | Pointer to [**[]V0037Error**](V0037Error.md) | slurm errors | [optional]
|
||||
**Reservations** | Pointer to [**[]V0037Reservation**](V0037Reservation.md) | reservation info | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewV0037ReservationsResponse
|
||||
|
||||
`func NewV0037ReservationsResponse() *V0037ReservationsResponse`
|
||||
|
||||
NewV0037ReservationsResponse instantiates a new V0037ReservationsResponse object
|
||||
This constructor will assign default values to properties that have it defined,
|
||||
and makes sure properties required by API are set, but the set of arguments
|
||||
will change when the set of required properties is changed
|
||||
|
||||
### NewV0037ReservationsResponseWithDefaults
|
||||
|
||||
`func NewV0037ReservationsResponseWithDefaults() *V0037ReservationsResponse`
|
||||
|
||||
NewV0037ReservationsResponseWithDefaults instantiates a new V0037ReservationsResponse object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetErrors
|
||||
|
||||
`func (o *V0037ReservationsResponse) GetErrors() []V0037Error`
|
||||
|
||||
GetErrors returns the Errors field if non-nil, zero value otherwise.
|
||||
|
||||
### GetErrorsOk
|
||||
|
||||
`func (o *V0037ReservationsResponse) GetErrorsOk() (*[]V0037Error, bool)`
|
||||
|
||||
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetErrors
|
||||
|
||||
`func (o *V0037ReservationsResponse) SetErrors(v []V0037Error)`
|
||||
|
||||
SetErrors sets Errors field to given value.
|
||||
|
||||
### HasErrors
|
||||
|
||||
`func (o *V0037ReservationsResponse) HasErrors() bool`
|
||||
|
||||
HasErrors returns a boolean if a field has been set.
|
||||
|
||||
### GetReservations
|
||||
|
||||
`func (o *V0037ReservationsResponse) GetReservations() []V0037Reservation`
|
||||
|
||||
GetReservations returns the Reservations field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReservationsOk
|
||||
|
||||
`func (o *V0037ReservationsResponse) GetReservationsOk() (*[]V0037Reservation, bool)`
|
||||
|
||||
GetReservationsOk returns a tuple with the Reservations field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReservations
|
||||
|
||||
`func (o *V0037ReservationsResponse) SetReservations(v []V0037Reservation)`
|
||||
|
||||
SetReservations sets Reservations field to given value.
|
||||
|
||||
### HasReservations
|
||||
|
||||
`func (o *V0037ReservationsResponse) HasReservations() bool`
|
||||
|
||||
HasReservations returns a boolean if a field has been set.
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
39
internal/api/0.0.37/docs/V0037Signal.md
Normal file
39
internal/api/0.0.37/docs/V0037Signal.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# V0037Signal
|
||||
|
||||
## Enum
|
||||
|
||||
|
||||
* `HUP` (value: `"HUP"`)
|
||||
|
||||
* `INT` (value: `"INT"`)
|
||||
|
||||
* `QUIT` (value: `"QUIT"`)
|
||||
|
||||
* `ABRT` (value: `"ABRT"`)
|
||||
|
||||
* `KILL` (value: `"KILL"`)
|
||||
|
||||
* `ALRM` (value: `"ALRM"`)
|
||||
|
||||
* `TERM` (value: `"TERM"`)
|
||||
|
||||
* `USR1` (value: `"USR1"`)
|
||||
|
||||
* `USR2` (value: `"USR2"`)
|
||||
|
||||
* `URG` (value: `"URG"`)
|
||||
|
||||
* `CONT` (value: `"CONT"`)
|
||||
|
||||
* `STOP` (value: `"STOP"`)
|
||||
|
||||
* `TSTP` (value: `"TSTP"`)
|
||||
|
||||
* `TTIN` (value: `"TTIN"`)
|
||||
|
||||
* `TTOU` (value: `"TTOU"`)
|
||||
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
Reference in New Issue
Block a user