All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
CreateProject | Post /v1alpha1/projects | Creates a new `Project`. |
DeleteProject | Delete /v1alpha1/{name} | Deletes the given `Project` from the system. |
GetProject | Get /v1alpha1/{name} | Returns the requested `Project`. |
ListProjects | Get /v1alpha1/projects | Lists `Projects` |
ProtobufEmpty CreateProject(ctx, body) Creates a new
Project
.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | ApiProject |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProtobufEmpty DeleteProject(ctx, name) Deletes the given
Project
from the system.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiProject GetProject(ctx, name) Returns the requested
Project
.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiListProjectsResponse ListProjects(ctx, optional) Lists
Projects
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *ListProjectsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ListProjectsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
filter | optional.String | The filter expression. | |
pageSize | optional.Int32 | Number of projects to return in the list. | |
pageToken | optional.String | Token to provide to skip to a particular spot in the list. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]