All URIs are relative to https://api.hyperone.com/v2
Method | HTTP request | Description |
---|---|---|
ContainerProjectRegistryCreate | Post /container/{locationId}/project/{projectId}/registry | Create container/registry |
ContainerProjectRegistryCredentialCreate | Post /container/{locationId}/project/{projectId}/registry/{registryId}/credential | Create container/registry.credential |
ContainerProjectRegistryCredentialDelete | Delete /container/{locationId}/project/{projectId}/registry/{registryId}/credential/{credentialId} | Delete container/registry.credential |
ContainerProjectRegistryCredentialGet | Get /container/{locationId}/project/{projectId}/registry/{registryId}/credential/{credentialId} | Get container/registry.credential |
ContainerProjectRegistryCredentialList | Get /container/{locationId}/project/{projectId}/registry/{registryId}/credential | List container/registry.credential |
ContainerProjectRegistryCredentialPatch | Patch /container/{locationId}/project/{projectId}/registry/{registryId}/credential/{credentialId} | Update container/registry.credential |
ContainerProjectRegistryDelete | Delete /container/{locationId}/project/{projectId}/registry/{registryId} | Delete container/registry |
ContainerProjectRegistryDomainCreate | Post /container/{locationId}/project/{projectId}/registry/{registryId}/domain | Create container/registry.domain |
ContainerProjectRegistryDomainDelete | Delete /container/{locationId}/project/{projectId}/registry/{registryId}/domain/{domainId} | Delete container/registry.domain |
ContainerProjectRegistryDomainGet | Get /container/{locationId}/project/{projectId}/registry/{registryId}/domain/{domainId} | Get container/registry.domain |
ContainerProjectRegistryDomainList | Get /container/{locationId}/project/{projectId}/registry/{registryId}/domain | List container/registry.domain |
ContainerProjectRegistryEventGet | Get /container/{locationId}/project/{projectId}/registry/{registryId}/event/{eventId} | Get container/registry.event |
ContainerProjectRegistryEventList | Get /container/{locationId}/project/{projectId}/registry/{registryId}/event | List container/registry.event |
ContainerProjectRegistryGet | Get /container/{locationId}/project/{projectId}/registry/{registryId} | Get container/registry |
ContainerProjectRegistryList | Get /container/{locationId}/project/{projectId}/registry | List container/registry |
ContainerProjectRegistryRepositoryGet | Get /container/{locationId}/project/{projectId}/registry/{registryId}/repository/{repositoryId} | Get container/registry.repository |
ContainerProjectRegistryRepositoryImageDelete | Delete /container/{locationId}/project/{projectId}/registry/{registryId}/repository/{repositoryId}/image/{imageId} | Delete container/registry.image |
ContainerProjectRegistryRepositoryImageGet | Get /container/{locationId}/project/{projectId}/registry/{registryId}/repository/{repositoryId}/image/{imageId} | Get container/registry.image |
ContainerProjectRegistryRepositoryImageList | Get /container/{locationId}/project/{projectId}/registry/{registryId}/repository/{repositoryId}/image | List container/registry.image |
ContainerProjectRegistryRepositoryList | Get /container/{locationId}/project/{projectId}/registry/{registryId}/repository | List container/registry.repository |
ContainerProjectRegistryServiceGet | Get /container/{locationId}/project/{projectId}/registry/{registryId}/service/{serviceId} | Get container/registry.service |
ContainerProjectRegistryServiceList | Get /container/{locationId}/project/{projectId}/registry/{registryId}/service | List container/registry.service |
ContainerProjectRegistryStart | Post /container/{locationId}/project/{projectId}/registry/{registryId}/actions/start | Start container/registry |
ContainerProjectRegistryStop | Post /container/{locationId}/project/{projectId}/registry/{registryId}/actions/stop | Stop container/registry |
ContainerProjectRegistryTagCreate | Post /container/{locationId}/project/{projectId}/registry/{registryId}/tag | Create container/registry.tag |
ContainerProjectRegistryTagDelete | Delete /container/{locationId}/project/{projectId}/registry/{registryId}/tag/{tagId} | Delete container/registry.tag |
ContainerProjectRegistryTagGet | Get /container/{locationId}/project/{projectId}/registry/{registryId}/tag/{tagId} | Get container/registry.tag |
ContainerProjectRegistryTagList | Get /container/{locationId}/project/{projectId}/registry/{registryId}/tag | List container/registry.tag |
ContainerProjectRegistryTagPut | Put /container/{locationId}/project/{projectId}/registry/{registryId}/tag | Replace container/registry.tag |
ContainerProjectRegistryTransfer | Post /container/{locationId}/project/{projectId}/registry/{registryId}/actions/transfer | Transfer container/registry |
ContainerProjectRegistryUpdate | Patch /container/{locationId}/project/{projectId}/registry/{registryId} | Update container/registry |
Registry ContainerProjectRegistryCreate(ctx, projectId, locationId).ContainerProjectRegistryCreate(containerProjectRegistryCreate).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()
Create container/registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
containerProjectRegistryCreate := *openapiclient.NewContainerProjectRegistryCreate("Name_example", "Service_example") // ContainerProjectRegistryCreate |
xIdempotencyKey := "xIdempotencyKey_example" // string | Idempotency key (optional)
xDryRun := "xDryRun_example" // string | Dry run (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryCreate(context.Background(), projectId, locationId).ContainerProjectRegistryCreate(containerProjectRegistryCreate).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryCreate`: Registry
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryCreate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
containerProjectRegistryCreate | ContainerProjectRegistryCreate | | xIdempotencyKey | string | Idempotency key | xDryRun | string | Dry run |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RegistryCredential ContainerProjectRegistryCredentialCreate(ctx, projectId, locationId, registryId).RegistryCredential(registryCredential).Execute()
Create container/registry.credential
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
registryCredential := *openapiclient.NewRegistryCredential("Name_example", "Type_example", "Value_example") // RegistryCredential |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryCredentialCreate(context.Background(), projectId, locationId, registryId).RegistryCredential(registryCredential).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryCredentialCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryCredentialCreate`: RegistryCredential
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryCredentialCreate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryCredentialCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
registryCredential | RegistryCredential | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Registry ContainerProjectRegistryCredentialDelete(ctx, projectId, locationId, registryId, credentialId).Execute()
Delete container/registry.credential
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
credentialId := "credentialId_example" // string | credentialId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryCredentialDelete(context.Background(), projectId, locationId, registryId, credentialId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryCredentialDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryCredentialDelete`: Registry
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryCredentialDelete`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
credentialId | string | credentialId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryCredentialDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RegistryCredential ContainerProjectRegistryCredentialGet(ctx, projectId, locationId, registryId, credentialId).Execute()
Get container/registry.credential
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
credentialId := "credentialId_example" // string | credentialId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryCredentialGet(context.Background(), projectId, locationId, registryId, credentialId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryCredentialGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryCredentialGet`: RegistryCredential
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryCredentialGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
credentialId | string | credentialId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryCredentialGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]RegistryCredential ContainerProjectRegistryCredentialList(ctx, projectId, locationId, registryId).Execute()
List container/registry.credential
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryCredentialList(context.Background(), projectId, locationId, registryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryCredentialList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryCredentialList`: []RegistryCredential
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryCredentialList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryCredentialListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RegistryCredential ContainerProjectRegistryCredentialPatch(ctx, projectId, locationId, registryId, credentialId).ContainerProjectRegistryCredentialPatch(containerProjectRegistryCredentialPatch).Execute()
Update container/registry.credential
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
credentialId := "credentialId_example" // string | credentialId
containerProjectRegistryCredentialPatch := *openapiclient.NewContainerProjectRegistryCredentialPatch("Name_example") // ContainerProjectRegistryCredentialPatch |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryCredentialPatch(context.Background(), projectId, locationId, registryId, credentialId).ContainerProjectRegistryCredentialPatch(containerProjectRegistryCredentialPatch).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryCredentialPatch``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryCredentialPatch`: RegistryCredential
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryCredentialPatch`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
credentialId | string | credentialId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryCredentialPatchRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
containerProjectRegistryCredentialPatch | ContainerProjectRegistryCredentialPatch | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Registry ContainerProjectRegistryDelete(ctx, projectId, locationId, registryId).Execute()
Delete container/registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryDelete(context.Background(), projectId, locationId, registryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryDelete`: Registry
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryDelete`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Domain ContainerProjectRegistryDomainCreate(ctx, projectId, locationId, registryId).Domain(domain).Execute()
Create container/registry.domain
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
domain := *openapiclient.NewDomain("Value_example") // Domain |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryDomainCreate(context.Background(), projectId, locationId, registryId).Domain(domain).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryDomainCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryDomainCreate`: Domain
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryDomainCreate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryDomainCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
domain | Domain | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerProjectRegistryDomainDelete(ctx, projectId, locationId, registryId, domainId).Execute()
Delete container/registry.domain
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
domainId := "domainId_example" // string | domainId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryDomainDelete(context.Background(), projectId, locationId, registryId, domainId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryDomainDelete``: %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. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
domainId | string | domainId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryDomainDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Domain ContainerProjectRegistryDomainGet(ctx, projectId, locationId, registryId, domainId).Execute()
Get container/registry.domain
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
domainId := "domainId_example" // string | domainId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryDomainGet(context.Background(), projectId, locationId, registryId, domainId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryDomainGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryDomainGet`: Domain
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryDomainGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
domainId | string | domainId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryDomainGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Domain ContainerProjectRegistryDomainList(ctx, projectId, locationId, registryId).Execute()
List container/registry.domain
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryDomainList(context.Background(), projectId, locationId, registryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryDomainList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryDomainList`: []Domain
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryDomainList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryDomainListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Event ContainerProjectRegistryEventGet(ctx, projectId, locationId, registryId, eventId).Execute()
Get container/registry.event
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
eventId := "eventId_example" // string | eventId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryEventGet(context.Background(), projectId, locationId, registryId, eventId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryEventGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryEventGet`: Event
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryEventGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
eventId | string | eventId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryEventGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Event ContainerProjectRegistryEventList(ctx, projectId, locationId, registryId).Limit(limit).Skip(skip).Execute()
List container/registry.event
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
limit := float32(8.14) // float32 | $limit (optional) (default to 100)
skip := float32(8.14) // float32 | $skip (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryEventList(context.Background(), projectId, locationId, registryId).Limit(limit).Skip(skip).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryEventList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryEventList`: []Event
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryEventList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryEventListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
limit | float32 | $limit | [default to 100] skip | float32 | $skip |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Registry ContainerProjectRegistryGet(ctx, projectId, locationId, registryId).Execute()
Get container/registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryGet(context.Background(), projectId, locationId, registryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryGet`: Registry
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Registry ContainerProjectRegistryList(ctx, projectId, locationId).Name(name).TagValue(tagValue).TagKey(tagKey).Execute()
List container/registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
name := "name_example" // string | Filter by name (optional)
tagValue := "tagValue_example" // string | Filter by tag.value (optional)
tagKey := "tagKey_example" // string | Filter by tag.key (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryList(context.Background(), projectId, locationId).Name(name).TagValue(tagValue).TagKey(tagKey).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryList`: []Registry
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
name | string | Filter by name | tagValue | string | Filter by tag.value | tagKey | string | Filter by tag.key |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerRepository ContainerProjectRegistryRepositoryGet(ctx, projectId, locationId, registryId, repositoryId).Execute()
Get container/registry.repository
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
repositoryId := "repositoryId_example" // string | repositoryId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryGet(context.Background(), projectId, locationId, registryId, repositoryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryRepositoryGet`: ContainerRepository
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
repositoryId | string | repositoryId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryRepositoryGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerProjectRegistryRepositoryImageDelete(ctx, projectId, locationId, registryId, repositoryId, imageId).Execute()
Delete container/registry.image
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
repositoryId := "repositoryId_example" // string | repositoryId
imageId := "imageId_example" // string | imageId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryImageDelete(context.Background(), projectId, locationId, registryId, repositoryId, imageId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryImageDelete``: %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. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
repositoryId | string | repositoryId | |
imageId | string | imageId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryRepositoryImageDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerImage ContainerProjectRegistryRepositoryImageGet(ctx, projectId, locationId, registryId, repositoryId, imageId).Execute()
Get container/registry.image
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
repositoryId := "repositoryId_example" // string | repositoryId
imageId := "imageId_example" // string | imageId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryImageGet(context.Background(), projectId, locationId, registryId, repositoryId, imageId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryImageGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryRepositoryImageGet`: ContainerImage
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryImageGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
repositoryId | string | repositoryId | |
imageId | string | imageId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryRepositoryImageGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ContainerImage ContainerProjectRegistryRepositoryImageList(ctx, projectId, locationId, registryId, repositoryId).Execute()
List container/registry.image
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
repositoryId := "repositoryId_example" // string | repositoryId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryImageList(context.Background(), projectId, locationId, registryId, repositoryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryImageList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryRepositoryImageList`: []ContainerImage
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryImageList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
repositoryId | string | repositoryId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryRepositoryImageListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ContainerRepository ContainerProjectRegistryRepositoryList(ctx, projectId, locationId, registryId).Execute()
List container/registry.repository
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryList(context.Background(), projectId, locationId, registryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryRepositoryList`: []ContainerRepository
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryRepositoryList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryRepositoryListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResourceService ContainerProjectRegistryServiceGet(ctx, projectId, locationId, registryId, serviceId).Execute()
Get container/registry.service
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
serviceId := "serviceId_example" // string | serviceId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryServiceGet(context.Background(), projectId, locationId, registryId, serviceId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryServiceGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryServiceGet`: ResourceService
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryServiceGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
serviceId | string | serviceId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryServiceGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ResourceService ContainerProjectRegistryServiceList(ctx, projectId, locationId, registryId).Execute()
List container/registry.service
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryServiceList(context.Background(), projectId, locationId, registryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryServiceList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryServiceList`: []ResourceService
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryServiceList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryServiceListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Registry ContainerProjectRegistryStart(ctx, projectId, locationId, registryId).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()
Start container/registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
xIdempotencyKey := "xIdempotencyKey_example" // string | Idempotency key (optional)
xDryRun := "xDryRun_example" // string | Dry run (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryStart(context.Background(), projectId, locationId, registryId).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryStart``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryStart`: Registry
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryStart`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryStartRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
xIdempotencyKey | string | Idempotency key | xDryRun | string | Dry run |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Registry ContainerProjectRegistryStop(ctx, projectId, locationId, registryId).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()
Stop container/registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
xIdempotencyKey := "xIdempotencyKey_example" // string | Idempotency key (optional)
xDryRun := "xDryRun_example" // string | Dry run (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryStop(context.Background(), projectId, locationId, registryId).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryStop``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryStop`: Registry
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryStop`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryStopRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
xIdempotencyKey | string | Idempotency key | xDryRun | string | Dry run |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Tag ContainerProjectRegistryTagCreate(ctx, projectId, locationId, registryId).Tag(tag).Execute()
Create container/registry.tag
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
tag := *openapiclient.NewTag("Id_example", "Key_example", "Value_example") // Tag |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryTagCreate(context.Background(), projectId, locationId, registryId).Tag(tag).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryTagCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryTagCreate`: Tag
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryTagCreate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryTagCreateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
tag | Tag | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContainerProjectRegistryTagDelete(ctx, projectId, locationId, registryId, tagId).Execute()
Delete container/registry.tag
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
tagId := "tagId_example" // string | tagId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryTagDelete(context.Background(), projectId, locationId, registryId, tagId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryTagDelete``: %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. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
tagId | string | tagId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryTagDeleteRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Tag ContainerProjectRegistryTagGet(ctx, projectId, locationId, registryId, tagId).Execute()
Get container/registry.tag
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
tagId := "tagId_example" // string | tagId
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryTagGet(context.Background(), projectId, locationId, registryId, tagId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryTagGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryTagGet`: Tag
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryTagGet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id | |
tagId | string | tagId |
Other parameters are passed through a pointer to a apiContainerProjectRegistryTagGetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Tag ContainerProjectRegistryTagList(ctx, projectId, locationId, registryId).Execute()
List container/registry.tag
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryTagList(context.Background(), projectId, locationId, registryId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryTagList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryTagList`: []Tag
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryTagList`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryTagListRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Tag ContainerProjectRegistryTagPut(ctx, projectId, locationId, registryId).Tag(tag).Execute()
Replace container/registry.tag
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
tag := []openapiclient.Tag{*openapiclient.NewTag("Id_example", "Key_example", "Value_example")} // []Tag |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryTagPut(context.Background(), projectId, locationId, registryId).Tag(tag).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryTagPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryTagPut`: []Tag
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryTagPut`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryTagPutRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
tag | []Tag | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Registry ContainerProjectRegistryTransfer(ctx, projectId, locationId, registryId).ContainerProjectRegistryTransfer(containerProjectRegistryTransfer).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()
Transfer container/registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
containerProjectRegistryTransfer := *openapiclient.NewContainerProjectRegistryTransfer("Project_example") // ContainerProjectRegistryTransfer |
xIdempotencyKey := "xIdempotencyKey_example" // string | Idempotency key (optional)
xDryRun := "xDryRun_example" // string | Dry run (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryTransfer(context.Background(), projectId, locationId, registryId).ContainerProjectRegistryTransfer(containerProjectRegistryTransfer).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryTransfer``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryTransfer`: Registry
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryTransfer`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryTransferRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
containerProjectRegistryTransfer | ContainerProjectRegistryTransfer | | xIdempotencyKey | string | Idempotency key | xDryRun | string | Dry run |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Registry ContainerProjectRegistryUpdate(ctx, projectId, locationId, registryId).ContainerProjectRegistryUpdate(containerProjectRegistryUpdate).Execute()
Update container/registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
projectId := "projectId_example" // string | Project Id
locationId := "locationId_example" // string | Location Id
registryId := "registryId_example" // string | Registry Id
containerProjectRegistryUpdate := *openapiclient.NewContainerProjectRegistryUpdate() // ContainerProjectRegistryUpdate |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ContainerProjectRegistryApi.ContainerProjectRegistryUpdate(context.Background(), projectId, locationId, registryId).ContainerProjectRegistryUpdate(containerProjectRegistryUpdate).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContainerProjectRegistryApi.ContainerProjectRegistryUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ContainerProjectRegistryUpdate`: Registry
fmt.Fprintf(os.Stdout, "Response from `ContainerProjectRegistryApi.ContainerProjectRegistryUpdate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
projectId | string | Project Id | |
locationId | string | Location Id | |
registryId | string | Registry Id |
Other parameters are passed through a pointer to a apiContainerProjectRegistryUpdateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
containerProjectRegistryUpdate | ContainerProjectRegistryUpdate | |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]