RepositoriesApi
Method
HTTP request
Description
RegistriesRepositoriesDelete
var result = RegistriesRepositoriesDelete(ctx, registryId, repositoryName)
.Execute()Example
package main
import (
"context"
"fmt"
"os"
containerregistry "github.com/ionos-cloud/sdk-go-bundle/products/containerregistry"
"github.com/ionos-cloud/sdk-go-bundle/shared"
)
func main() {
registryId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | The unique ID of the registry
repositoryName := "my-service" // string | The name of the repository
configuration := shared.NewConfiguration("USERNAME", "PASSWORD", "TOKEN", "HOST_URL")
apiClient := containerregistry.NewAPIClient(configuration)
resp, err := apiClient.RepositoriesApi.RegistriesRepositoriesDelete(context.Background(), registryId, repositoryName).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `RepositoriesApi.RegistriesRepositoriesDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", resp)
}
}Path Parameters
Name
Type
Description
Notes
Other Parameters
Return type
HTTP request headers
RegistriesRepositoriesFindByName
Example
Path Parameters
Name
Type
Description
Notes
Other Parameters
Return type
HTTP request headers
RegistriesRepositoriesGet
Example
Path Parameters
Name
Type
Description
Notes
Other Parameters
Name
Type
Description
Notes
Return type
HTTP request headers
Last updated
