Skip to content

Latest commit

 

History

History
2470 lines (1585 loc) · 78.1 KB

ContainerProjectRegistryApi.md

File metadata and controls

2470 lines (1585 loc) · 78.1 KB

\ContainerProjectRegistryApi

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

ContainerProjectRegistryCreate

Registry ContainerProjectRegistryCreate(ctx, projectId, locationId).ContainerProjectRegistryCreate(containerProjectRegistryCreate).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()

Create container/registry

Example

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)
}

Path Parameters

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

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 |

Return type

Registry

Authorization

BearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryCredentialCreate

RegistryCredential ContainerProjectRegistryCredentialCreate(ctx, projectId, locationId, registryId).RegistryCredential(registryCredential).Execute()

Create container/registry.credential

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryCredentialCreateRequest struct via the builder pattern

Name Type Description Notes

registryCredential | RegistryCredential | |

Return type

RegistryCredential

Authorization

BearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryCredentialDelete

Registry ContainerProjectRegistryCredentialDelete(ctx, projectId, locationId, registryId, credentialId).Execute()

Delete container/registry.credential

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryCredentialDeleteRequest struct via the builder pattern

Name Type Description Notes

Return type

Registry

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryCredentialGet

RegistryCredential ContainerProjectRegistryCredentialGet(ctx, projectId, locationId, registryId, credentialId).Execute()

Get container/registry.credential

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryCredentialGetRequest struct via the builder pattern

Name Type Description Notes

Return type

RegistryCredential

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryCredentialList

[]RegistryCredential ContainerProjectRegistryCredentialList(ctx, projectId, locationId, registryId).Execute()

List container/registry.credential

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryCredentialListRequest struct via the builder pattern

Name Type Description Notes

Return type

[]RegistryCredential

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryCredentialPatch

RegistryCredential ContainerProjectRegistryCredentialPatch(ctx, projectId, locationId, registryId, credentialId).ContainerProjectRegistryCredentialPatch(containerProjectRegistryCredentialPatch).Execute()

Update container/registry.credential

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryCredentialPatchRequest struct via the builder pattern

Name Type Description Notes

containerProjectRegistryCredentialPatch | ContainerProjectRegistryCredentialPatch | |

Return type

RegistryCredential

Authorization

BearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryDelete

Registry ContainerProjectRegistryDelete(ctx, projectId, locationId, registryId).Execute()

Delete container/registry

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryDeleteRequest struct via the builder pattern

Name Type Description Notes

Return type

Registry

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryDomainCreate

Domain ContainerProjectRegistryDomainCreate(ctx, projectId, locationId, registryId).Domain(domain).Execute()

Create container/registry.domain

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryDomainCreateRequest struct via the builder pattern

Name Type Description Notes

domain | Domain | |

Return type

Domain

Authorization

BearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryDomainDelete

ContainerProjectRegistryDomainDelete(ctx, projectId, locationId, registryId, domainId).Execute()

Delete container/registry.domain

Example

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)
    }
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryDomainDeleteRequest struct via the builder pattern

Name Type Description Notes

Return type

(empty response body)

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryDomainGet

Domain ContainerProjectRegistryDomainGet(ctx, projectId, locationId, registryId, domainId).Execute()

Get container/registry.domain

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryDomainGetRequest struct via the builder pattern

Name Type Description Notes

Return type

Domain

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryDomainList

[]Domain ContainerProjectRegistryDomainList(ctx, projectId, locationId, registryId).Execute()

List container/registry.domain

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryDomainListRequest struct via the builder pattern

Name Type Description Notes

Return type

[]Domain

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryEventGet

Event ContainerProjectRegistryEventGet(ctx, projectId, locationId, registryId, eventId).Execute()

Get container/registry.event

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryEventGetRequest struct via the builder pattern

Name Type Description Notes

Return type

Event

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryEventList

[]Event ContainerProjectRegistryEventList(ctx, projectId, locationId, registryId).Limit(limit).Skip(skip).Execute()

List container/registry.event

Example

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)
}

Path Parameters

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

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 |

Return type

[]Event

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryGet

Registry ContainerProjectRegistryGet(ctx, projectId, locationId, registryId).Execute()

Get container/registry

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryGetRequest struct via the builder pattern

Name Type Description Notes

Return type

Registry

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryList

[]Registry ContainerProjectRegistryList(ctx, projectId, locationId).Name(name).TagValue(tagValue).TagKey(tagKey).Execute()

List container/registry

Example

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)
}

Path Parameters

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

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 |

Return type

[]Registry

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryRepositoryGet

ContainerRepository ContainerProjectRegistryRepositoryGet(ctx, projectId, locationId, registryId, repositoryId).Execute()

Get container/registry.repository

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryRepositoryGetRequest struct via the builder pattern

Name Type Description Notes

Return type

ContainerRepository

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryRepositoryImageDelete

ContainerProjectRegistryRepositoryImageDelete(ctx, projectId, locationId, registryId, repositoryId, imageId).Execute()

Delete container/registry.image

Example

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)
    }
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryRepositoryImageDeleteRequest struct via the builder pattern

Name Type Description Notes

Return type

(empty response body)

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryRepositoryImageGet

ContainerImage ContainerProjectRegistryRepositoryImageGet(ctx, projectId, locationId, registryId, repositoryId, imageId).Execute()

Get container/registry.image

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryRepositoryImageGetRequest struct via the builder pattern

Name Type Description Notes

Return type

ContainerImage

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryRepositoryImageList

[]ContainerImage ContainerProjectRegistryRepositoryImageList(ctx, projectId, locationId, registryId, repositoryId).Execute()

List container/registry.image

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryRepositoryImageListRequest struct via the builder pattern

Name Type Description Notes

Return type

[]ContainerImage

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryRepositoryList

[]ContainerRepository ContainerProjectRegistryRepositoryList(ctx, projectId, locationId, registryId).Execute()

List container/registry.repository

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryRepositoryListRequest struct via the builder pattern

Name Type Description Notes

Return type

[]ContainerRepository

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryServiceGet

ResourceService ContainerProjectRegistryServiceGet(ctx, projectId, locationId, registryId, serviceId).Execute()

Get container/registry.service

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryServiceGetRequest struct via the builder pattern

Name Type Description Notes

Return type

ResourceService

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryServiceList

[]ResourceService ContainerProjectRegistryServiceList(ctx, projectId, locationId, registryId).Execute()

List container/registry.service

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryServiceListRequest struct via the builder pattern

Name Type Description Notes

Return type

[]ResourceService

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryStart

Registry ContainerProjectRegistryStart(ctx, projectId, locationId, registryId).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()

Start container/registry

Example

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)
}

Path Parameters

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

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 |

Return type

Registry

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryStop

Registry ContainerProjectRegistryStop(ctx, projectId, locationId, registryId).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()

Stop container/registry

Example

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)
}

Path Parameters

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

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 |

Return type

Registry

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryTagCreate

Tag ContainerProjectRegistryTagCreate(ctx, projectId, locationId, registryId).Tag(tag).Execute()

Create container/registry.tag

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryTagCreateRequest struct via the builder pattern

Name Type Description Notes

tag | Tag | |

Return type

Tag

Authorization

BearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryTagDelete

ContainerProjectRegistryTagDelete(ctx, projectId, locationId, registryId, tagId).Execute()

Delete container/registry.tag

Example

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)
    }
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryTagDeleteRequest struct via the builder pattern

Name Type Description Notes

Return type

(empty response body)

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryTagGet

Tag ContainerProjectRegistryTagGet(ctx, projectId, locationId, registryId, tagId).Execute()

Get container/registry.tag

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryTagGetRequest struct via the builder pattern

Name Type Description Notes

Return type

Tag

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryTagList

[]Tag ContainerProjectRegistryTagList(ctx, projectId, locationId, registryId).Execute()

List container/registry.tag

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryTagListRequest struct via the builder pattern

Name Type Description Notes

Return type

[]Tag

Authorization

BearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryTagPut

[]Tag ContainerProjectRegistryTagPut(ctx, projectId, locationId, registryId).Tag(tag).Execute()

Replace container/registry.tag

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryTagPutRequest struct via the builder pattern

Name Type Description Notes

tag | []Tag | |

Return type

[]Tag

Authorization

BearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryTransfer

Registry ContainerProjectRegistryTransfer(ctx, projectId, locationId, registryId).ContainerProjectRegistryTransfer(containerProjectRegistryTransfer).XIdempotencyKey(xIdempotencyKey).XDryRun(xDryRun).Execute()

Transfer container/registry

Example

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)
}

Path Parameters

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

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 |

Return type

Registry

Authorization

BearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ContainerProjectRegistryUpdate

Registry ContainerProjectRegistryUpdate(ctx, projectId, locationId, registryId).ContainerProjectRegistryUpdate(containerProjectRegistryUpdate).Execute()

Update container/registry

Example

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)
}

Path Parameters

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

Other parameters are passed through a pointer to a apiContainerProjectRegistryUpdateRequest struct via the builder pattern

Name Type Description Notes

containerProjectRegistryUpdate | ContainerProjectRegistryUpdate | |

Return type

Registry

Authorization

BearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]