All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| ImportExportLayerExportLayer | Get /api/v{version}/ImportExportLayer/exportLayer |
ImportExportLayerExportLayer(ctx, version).LayerID(layerID).Ciids(ciids).Execute()
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/max-bytes/omnikeeper-client-go"
)
func main() {
layerID := "layerID_example" // string |
version := "version_example" // string |
ciids := []string{"Inner_example"} // []string | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
r, err := apiClient.ImportExportLayerAPI.ImportExportLayerExportLayer(context.Background(), version).LayerID(layerID).Ciids(ciids).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ImportExportLayerAPI.ImportExportLayerExportLayer``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| version | string |
Other parameters are passed through a pointer to a apiImportExportLayerExportLayerRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| layerID | string |
ciids | []string | |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]