client¶
jumpstarter.client.v1
Services¶
ClientService¶
Client-facing API service for managing exporters and leases.
Method |
Request |
Response |
Description |
|---|---|---|---|
|
Retrieve a single exporter by resource name. |
||
|
List exporters in a namespace with optional filtering. |
||
|
Retrieve a single lease by resource name. |
||
|
List leases in a namespace with optional filtering. |
||
|
Create a new lease for an exporter. |
||
|
Update an existing lease. |
||
|
|
Delete a lease by resource name. |
|
|
Rotate the authentication token for the client. |
Messages¶
Exporter¶
An exporter resource representing a registered device provider.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
|
The resource name of the exporter. |
|
|
2 |
|
The set of labels associated with the exporter. |
|
|
3 |
|
Whether the exporter is currently online. Deprecated in favor of the status field. |
|
|
4 |
|
The current status of the exporter. |
|
|
5 |
|
A human-readable message providing details about the exporter status. |
Lease¶
A lease resource representing a reservation of an exporter.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
|
The resource name of the lease. |
|
|
2 |
|
The label selector expression used to match an exporter. |
|
|
3 |
|
optional |
The requested duration of the lease. |
|
4 |
|
The server-computed effective duration of the lease. |
|
|
5 |
|
optional |
The requested begin time of the lease. |
|
6 |
|
optional |
The server-computed effective begin time of the lease. |
|
7 |
|
optional |
The requested end time of the lease. |
|
8 |
|
optional |
The server-computed effective end time of the lease. |
|
9 |
|
optional |
The resource name of the client that owns this lease. |
|
10 |
|
optional |
The resource name of the exporter assigned to this lease. |
|
11 |
|
repeated |
The list of conditions reflecting the current state of the lease. |
|
12 |
|
optional |
The name of a specific exporter to target for the lease. |
GetExporterRequest¶
Request to retrieve an exporter.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
|
The resource name of the exporter. |
ListExportersRequest¶
Request to list exporters.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
|
The parent resource name (namespace). |
|
|
2 |
|
Maximum number of results to return. |
|
|
3 |
|
Token for retrieving the next page of results. |
|
|
4 |
|
Filter expression for the results. |
ListExportersResponse¶
Response containing a list of exporters.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
repeated |
The list of exporters. |
|
|
2 |
|
Token for the next page of results. |
GetLeaseRequest¶
Request to retrieve a lease.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
|
The resource name of the lease. |
ListLeasesRequest¶
Request to list leases.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
|
The parent resource name (namespace). |
|
|
2 |
|
Maximum number of results to return. |
|
|
3 |
|
Token for retrieving the next page of results. |
|
|
4 |
|
Filter expression for the results. |
|
|
5 |
|
optional |
If true, return only active leases. |
|
6 |
|
Filter expression for lease tags. |
ListLeasesResponse¶
Response containing a list of leases.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
repeated |
The list of leases. |
|
|
2 |
|
Token for the next page of results. |
CreateLeaseRequest¶
Request to create a lease.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
|
The parent resource name (namespace). |
|
|
2 |
|
The client-assigned identifier for the lease. |
|
|
3 |
The lease resource to create. |
UpdateLeaseRequest¶
Request to update a lease.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
The lease resource with updated fields. |
||
|
2 |
|
The set of fields to update. |
DeleteLeaseRequest¶
Request to delete a lease.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
|
The resource name of the lease. |
RotateTokenRequest¶
Request to rotate the authentication token for a client.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
|
The parent resource name (namespace). |
RotateTokenResponse¶
Response containing the newly rotated token.
Field |
Number |
Type |
Label |
Description |
|---|---|---|---|---|
|
1 |
|
The new authentication token. |
|
|
2 |
|
The expiration time of the new token. |