Categorygithub.com/ionos-cloud/sdk-go-container-registry

# README

Go API client for ionoscloud

Overview

Container Registry service enables IONOS clients to manage docker and OCI compliant registries for use by their managed Kubernetes clusters. Use a Container Registry to ensure you have a privately accessed registry to efficiently support image pulls.

Changelog

1.1.0

  • Added new endpoints for Repositories
  • Added new endpoints for Artifacts
  • Added new endpoints for Vulnerabilities
  • Added registry vulnerabilityScanning feature

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.1.0
  • Package version: 1.1.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import ionoscloud "github.com/ionos-cloud/sdk-go-container-registry"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), ionoscloud.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), ionoscloud.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

Documentation for API Endpoints

All URIs are relative to https://api.ionos.com/containerregistries

ClassMethodHTTP requestDescription
ArtifactsApiRegistriesArtifactsGetGet /registries/{registryId}/artifactsRetrieve all Artifacts by Registry
ArtifactsApiRegistriesRepositoriesArtifactsFindByDigestGet /registries/{registryId}/repositories/{repositoryName}/artifacts/{digest}Retrieve Artifact
ArtifactsApiRegistriesRepositoriesArtifactsGetGet /registries/{registryId}/repositories/{repositoryName}/artifactsRetrieve all Artifacts by Repository
ArtifactsApiRegistriesRepositoriesArtifactsVulnerabilitiesGetGet /registries/{registryId}/repositories/{repositoryName}/artifacts/{digest}/vulnerabilitiesRetrieve all Vulnerabilities
LocationsApiLocationsGetGet /locationsGet container registry locations
NamesApiNamesCheckUsageHead /names/{name}Get container registry name availability
RegistriesApiRegistriesDeleteDelete /registries/{registryId}Delete registry
RegistriesApiRegistriesFindByIdGet /registries/{registryId}Get a registry
RegistriesApiRegistriesGetGet /registriesList all container registries
RegistriesApiRegistriesPatchPatch /registries/{registryId}Update the properties of a registry
RegistriesApiRegistriesPostPost /registriesCreate container registry
RegistriesApiRegistriesPutPut /registries/{registryId}Create or replace a container registry
RepositoriesApiRegistriesRepositoriesDeleteDelete /registries/{registryId}/repositories/{repositoryName}Delete repository
RepositoriesApiRegistriesRepositoriesFindByNameGet /registries/{registryId}/repositories/{repositoryName}Retrieve Repository
RepositoriesApiRegistriesRepositoriesGetGet /registries/{registryId}/repositoriesRetrieve all Repositories
TokensApiRegistriesTokensDeleteDelete /registries/{registryId}/tokens/{tokenId}Delete token
TokensApiRegistriesTokensFindByIdGet /registries/{registryId}/tokens/{tokenId}Get token information
TokensApiRegistriesTokensGetGet /registries/{registryId}/tokensList all tokens for the container registry
TokensApiRegistriesTokensPatchPatch /registries/{registryId}/tokens/{tokenId}Update token
TokensApiRegistriesTokensPostPost /registries/{registryId}/tokensCreate token
TokensApiRegistriesTokensPutPut /registries/{registryId}/tokens/{tokenId}Create or replace token
VulnerabilitiesApiVulnerabilitiesFindByIDGet /vulnerabilities/{vulnerabilityId}Retrieve Vulnerability

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

basicAuth

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

tokenAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

[email protected]

# Functions

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport.
CacheExpires helper function to determine remaining time before repeating a request.
IsNil checks if an input is nil.
NewAPIClient creates a new API client.
NewApiErrorMessage instantiates a new ApiErrorMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewApiErrorMessageWithDefaults instantiates a new ApiErrorMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewApiErrorResponse instantiates a new ApiErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewApiErrorResponseWithDefaults instantiates a new ApiErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewApiResourceMetadata instantiates a new ApiResourceMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewApiResourceMetadataWithDefaults instantiates a new ApiResourceMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewArtifact instantiates a new Artifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewArtifactMetadata instantiates a new ArtifactMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewArtifactMetadataAllOf instantiates a new ArtifactMetadataAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewArtifactMetadataAllOfWithDefaults instantiates a new ArtifactMetadataAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewArtifactMetadataWithDefaults instantiates a new ArtifactMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewArtifactRead instantiates a new ArtifactRead object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewArtifactReadList instantiates a new ArtifactReadList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewArtifactReadListWithDefaults instantiates a new ArtifactReadList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewArtifactReadWithDefaults instantiates a new ArtifactRead object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewArtifactVulnerabilityReadList instantiates a new ArtifactVulnerabilityReadList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewArtifactVulnerabilityReadListWithDefaults instantiates a new ArtifactVulnerabilityReadList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewArtifactWithDefaults instantiates a new Artifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewConfiguration returns a new Configuration object.
No description provided by the author
NewCredentials instantiates a new Credentials object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCredentialsWithDefaults instantiates a new Credentials object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorMessages instantiates a new ErrorMessages object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorMessagesWithDefaults instantiates a new ErrorMessages object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewFeature instantiates a new Feature object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewFeatureVulnerabilityScanning instantiates a new FeatureVulnerabilityScanning object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewFeatureVulnerabilityScanningWithDefaults instantiates a new FeatureVulnerabilityScanning object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewFeatureWithDefaults instantiates a new Feature object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGenericOpenAPIError - constructor for GenericOpenAPIError.
NewLinks instantiates a new Links object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLinksWithDefaults instantiates a new Links object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLocation instantiates a new Location object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLocationsResponse instantiates a new LocationsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLocationsResponseWithDefaults instantiates a new LocationsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLocationWithDefaults instantiates a new Location object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewMetadata instantiates a new Metadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewMetadataWithDefaults instantiates a new Metadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPagination instantiates a new Pagination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginationLinks instantiates a new PaginationLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaginationLinksWithDefaults instantiates a new PaginationLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaginationWithDefaults instantiates a new Pagination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchRegistryInput instantiates a new PatchRegistryInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchRegistryInputWithDefaults instantiates a new PatchRegistryInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPatchTokenInput instantiates a new PatchTokenInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPatchTokenInputWithDefaults instantiates a new PatchTokenInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPostRegistryInput instantiates a new PostRegistryInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPostRegistryInputWithDefaults instantiates a new PostRegistryInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPostRegistryOutput instantiates a new PostRegistryOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPostRegistryOutputWithDefaults instantiates a new PostRegistryOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPostRegistryProperties instantiates a new PostRegistryProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPostRegistryPropertiesWithDefaults instantiates a new PostRegistryProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPostTokenInput instantiates a new PostTokenInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPostTokenInputWithDefaults instantiates a new PostTokenInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPostTokenOutput instantiates a new PostTokenOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPostTokenOutputWithDefaults instantiates a new PostTokenOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPostTokenProperties instantiates a new PostTokenProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPostTokenPropertiesWithDefaults instantiates a new PostTokenProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPurl instantiates a new Purl object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPurlWithDefaults instantiates a new Purl object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPutRegistryInput instantiates a new PutRegistryInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPutRegistryInputWithDefaults instantiates a new PutRegistryInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPutRegistryOutput instantiates a new PutRegistryOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPutRegistryOutputWithDefaults instantiates a new PutRegistryOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPutTokenInput instantiates a new PutTokenInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPutTokenInputWithDefaults instantiates a new PutTokenInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPutTokenOutput instantiates a new PutTokenOutput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPutTokenOutputWithDefaults instantiates a new PutTokenOutput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRegistriesResponse instantiates a new RegistriesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRegistriesResponseWithDefaults instantiates a new RegistriesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRegistryArtifactsReadList instantiates a new RegistryArtifactsReadList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRegistryArtifactsReadListWithDefaults instantiates a new RegistryArtifactsReadList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRegistryFeatures instantiates a new RegistryFeatures object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRegistryFeaturesWithDefaults instantiates a new RegistryFeatures object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRegistryPagination instantiates a new RegistryPagination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRegistryPaginationWithDefaults instantiates a new RegistryPagination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRegistryProperties instantiates a new RegistryProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRegistryPropertiesWithDefaults instantiates a new RegistryProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRegistryResponse instantiates a new RegistryResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRegistryResponseWithDefaults instantiates a new RegistryResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRepository instantiates a new Repository object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRepositoryMetadata instantiates a new RepositoryMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRepositoryMetadataAllOf instantiates a new RepositoryMetadataAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRepositoryMetadataAllOfWithDefaults instantiates a new RepositoryMetadataAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRepositoryMetadataWithDefaults instantiates a new RepositoryMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRepositoryRead instantiates a new RepositoryRead object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRepositoryReadList instantiates a new RepositoryReadList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRepositoryReadListWithDefaults instantiates a new RepositoryReadList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRepositoryReadWithDefaults instantiates a new RepositoryRead object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRepositoryWithDefaults instantiates a new Repository object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewScope instantiates a new Scope object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewScopeWithDefaults instantiates a new Scope object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewStorageUsage instantiates a new StorageUsage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewStorageUsageWithDefaults instantiates a new StorageUsage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTokenProperties instantiates a new TokenProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTokenPropertiesWithDefaults instantiates a new TokenProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTokenResponse instantiates a new TokenResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTokenResponseWithDefaults instantiates a new TokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTokensResponse instantiates a new TokensResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTokensResponseWithDefaults instantiates a new TokensResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewVulnerability instantiates a new Vulnerability object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewVulnerabilityDataSource instantiates a new VulnerabilityDataSource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewVulnerabilityDataSourceWithDefaults instantiates a new VulnerabilityDataSource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewVulnerabilityMetadata instantiates a new VulnerabilityMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewVulnerabilityMetadataWithDefaults instantiates a new VulnerabilityMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewVulnerabilityRead instantiates a new VulnerabilityRead object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewVulnerabilityReadList instantiates a new VulnerabilityReadList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewVulnerabilityReadListWithDefaults instantiates a new VulnerabilityReadList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewVulnerabilityReadWithDefaults instantiates a new VulnerabilityRead object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewVulnerabilityWithDefaults instantiates a new Vulnerability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewWeeklySchedule instantiates a new WeeklySchedule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewWeeklyScheduleWithDefaults instantiates a new WeeklySchedule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
PtrBool - returns a pointer to given boolean value.
PtrFloat32 - returns a pointer to given float value.
PtrFloat64 - returns a pointer to given float value.
PtrInt - returns a pointer to given integer value.
PtrInt32 - returns a pointer to given integer value.
PtrInt64 - returns a pointer to given integer value.
PtrString - returns a pointer to given string value.
PtrTime - returns a pointer to given Time value.
No description provided by the author
ToBool - returns the value of the bool pointer passed in.
ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil.
ToBoolSlice - returns a bool slice of the pointer passed in.
ToByte - returns the value of the byte pointer passed in.
ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil.
ToByteSlice - returns a byte slice of the pointer passed in.
ToFloat32 - returns the value of the float32 pointer passed in.
ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil.
ToFloat32Slice - returns a float32 slice of the pointer passed in.
ToFloat64 - returns the value of the float64 pointer passed in.
ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil.
ToFloat64Slice - returns a float64 slice of the pointer passed in.
ToInt - returns the value of the int pointer passed in.
ToInt16 - returns the value of the int16 pointer passed in.
ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil.
ToInt16Slice - returns a int16 slice of the pointer passed in.
ToInt32 - returns the value of the int32 pointer passed in.
ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil.
ToInt32Slice - returns a int32 slice of the pointer passed in.
ToInt64 - returns the value of the int64 pointer passed in.
ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil.
ToInt64Slice - returns a int64 slice of the pointer passed in.
ToInt8 - returns the value of the int8 pointer passed in.
ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil.
ToInt8Slice - returns a int8 slice of the pointer passed in.
ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil.
ToIntSlice - returns a int slice of the pointer passed in.
ToPtr - returns a pointer to the given value.
ToString - returns the value of the string pointer passed in.
ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil.
ToStringSlice - returns a string slice of the pointer passed in.
ToTime - returns the value of the Time pointer passed in.
ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil.
ToTimeSlice - returns a Time slice of the pointer passed in.
ToUint - returns the value of the uint pointer passed in.
ToUint16 - returns the value of the uint16 pointer passed in.
ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil.
ToUint16Slice - returns a uint16 slice of the pointer passed in.
ToUint32 - returns the value of the uint32 pointer passed in.
ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil.
ToUint32Slice - returns a uint32 slice of the pointer passed in.
ToUint64 - returns the value of the uint64 pointer passed in.
ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil.
ToUint64Slice - returns a uint63 slice of the pointer passed in.
ToUint8 -returns the value of the uint8 pointer passed in.
ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil.
ToUint8Slice - returns a uint8 slice of the pointer passed in.
ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil.
ToUintSlice - returns a uint slice of the pointer passed in.
ToValue - returns the value of the pointer passed in.
ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil.

# Constants

List of Day.
List of Day.
List of Day.
List of Day.
List of Day.
List of Day.
List of Day.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Trace We recommend you only set this field for debugging purposes.
No description provided by the author

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.
No description provided by the author

# Structs

APIClient manages communication with the Container Registry service API v1.1.0 In most cases there should be only one, shared, APIClient.
ApiErrorMessage struct for ApiErrorMessage.
ApiErrorResponse struct for ApiErrorResponse.
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ApiResourceMetadata struct for ApiResourceMetadata.
APIResponse stores the API response returned by the server.
No description provided by the author
Artifact struct for Artifact.
ArtifactMetadata struct for ArtifactMetadata.
ArtifactMetadataAllOf struct for ArtifactMetadataAllOf.
ArtifactRead struct for ArtifactRead.
ArtifactReadList struct for ArtifactReadList.
ArtifactVulnerabilityReadList struct for ArtifactVulnerabilityReadList.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
Credentials struct for Credentials.
Error struct for Error.
ErrorMessages struct for ErrorMessages.
Feature An optional registry feature.
FeatureVulnerabilityScanning Vulnerability scanning for images.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
No description provided by the author
Links URLs to navigate the different pages.
Location struct for Location.
LocationsResponse struct for LocationsResponse.
Metadata Metadata of the resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Pagination struct for Pagination.
PaginationLinks struct for PaginationLinks.
PatchRegistryInput struct for PatchRegistryInput.
PatchTokenInput struct for PatchTokenInput.
PostRegistryInput struct for PostRegistryInput.
PostRegistryOutput struct for PostRegistryOutput.
PostRegistryProperties struct for PostRegistryProperties.
PostTokenInput struct for PostTokenInput.
PostTokenOutput struct for PostTokenOutput.
PostTokenProperties struct for PostTokenProperties.
Purl struct for Purl.
PutRegistryInput struct for PutRegistryInput.
PutRegistryOutput struct for PutRegistryOutput.
PutTokenInput struct for PutTokenInput.
PutTokenOutput struct for PutTokenOutput.
RegistriesResponse struct for RegistriesResponse.
RegistryArtifactsReadList struct for RegistryArtifactsReadList.
RegistryFeatures Optional registry features.
RegistryPagination struct for RegistryPagination.
RegistryProperties struct for RegistryProperties.
RegistryResponse struct for RegistryResponse.
Repository struct for Repository.
RepositoryMetadata struct for RepositoryMetadata.
RepositoryMetadataAllOf struct for RepositoryMetadataAllOf.
RepositoryRead struct for RepositoryRead.
RepositoryReadList struct for RepositoryReadList.
Scope struct for Scope.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
StorageUsage struct for StorageUsage.
TokenProperties struct for TokenProperties.
TokenResponse struct for TokenResponse.
TokensResponse struct for TokensResponse.
Vulnerability struct for Vulnerability.
VulnerabilityDataSource The source that published the vulnerability.
VulnerabilityMetadata struct for VulnerabilityMetadata.
VulnerabilityRead struct for VulnerabilityRead.
VulnerabilityReadList struct for VulnerabilityReadList.
WeeklySchedule struct for WeeklySchedule.

# Interfaces

No description provided by the author

# Type aliases

ArtifactsApiService ArtifactsApi service.
Day the model 'Day'.
LocationsApiService LocationsApi service.
No description provided by the author
NamesApiService NamesApi service.
RegistriesApiService RegistriesApi service.
RepositoriesApiService RepositoriesApi service.
ServerConfigurations stores multiple ServerConfiguration items.
TLSDial can be assigned to a http.Transport's DialTLS field.
TokensApiService TokensApi service.
VulnerabilitiesApiService VulnerabilitiesApi service.