...

Package artifacts

import "github.com/oracle/oci-go-sdk/artifacts"
Overview
Index

Overview ▾

Index ▾

func GetContainerImageLifecycleStateEnumStringValues() []string
func GetContainerImageSignatureLifecycleStateEnumStringValues() []string
func GetContainerImageSignatureSigningAlgorithmEnumStringValues() []string
func GetContainerImageSignatureSummarySigningAlgorithmEnumStringValues() []string
func GetContainerRepositoryLifecycleStateEnumStringValues() []string
func GetContainerRepositoryReadmeFormatEnumStringValues() []string
func GetCreateContainerImageSignatureDetailsSigningAlgorithmEnumStringValues() []string
func GetGenericArtifactLifecycleStateEnumStringValues() []string
func GetListContainerImageSignaturesSigningAlgorithmEnumStringValues() []string
func GetListContainerImageSignaturesSortByEnumStringValues() []string
func GetListContainerImageSignaturesSortOrderEnumStringValues() []string
func GetListContainerImagesSortByEnumStringValues() []string
func GetListContainerImagesSortOrderEnumStringValues() []string
func GetListContainerRepositoriesSortByEnumStringValues() []string
func GetListContainerRepositoriesSortOrderEnumStringValues() []string
func GetListGenericArtifactsSortByEnumStringValues() []string
func GetListGenericArtifactsSortOrderEnumStringValues() []string
func GetListRepositoriesSortByEnumStringValues() []string
func GetListRepositoriesSortOrderEnumStringValues() []string
func GetRepositoryLifecycleStateEnumStringValues() []string
func GetRepositoryRepositoryTypeEnumStringValues() []string
type ArtifactsClient
    func NewArtifactsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ArtifactsClient, err error)
    func NewArtifactsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ArtifactsClient, err error)
    func (client ArtifactsClient) ChangeContainerRepositoryCompartment(ctx context.Context, request ChangeContainerRepositoryCompartmentRequest) (response ChangeContainerRepositoryCompartmentResponse, err error)
    func (client ArtifactsClient) ChangeRepositoryCompartment(ctx context.Context, request ChangeRepositoryCompartmentRequest) (response ChangeRepositoryCompartmentResponse, err error)
    func (client *ArtifactsClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ArtifactsClient) CreateContainerImageSignature(ctx context.Context, request CreateContainerImageSignatureRequest) (response CreateContainerImageSignatureResponse, err error)
    func (client ArtifactsClient) CreateContainerRepository(ctx context.Context, request CreateContainerRepositoryRequest) (response CreateContainerRepositoryResponse, err error)
    func (client ArtifactsClient) CreateRepository(ctx context.Context, request CreateRepositoryRequest) (response CreateRepositoryResponse, err error)
    func (client ArtifactsClient) DeleteContainerImage(ctx context.Context, request DeleteContainerImageRequest) (response DeleteContainerImageResponse, err error)
    func (client ArtifactsClient) DeleteContainerImageSignature(ctx context.Context, request DeleteContainerImageSignatureRequest) (response DeleteContainerImageSignatureResponse, err error)
    func (client ArtifactsClient) DeleteContainerRepository(ctx context.Context, request DeleteContainerRepositoryRequest) (response DeleteContainerRepositoryResponse, err error)
    func (client ArtifactsClient) DeleteGenericArtifact(ctx context.Context, request DeleteGenericArtifactRequest) (response DeleteGenericArtifactResponse, err error)
    func (client ArtifactsClient) DeleteGenericArtifactByPath(ctx context.Context, request DeleteGenericArtifactByPathRequest) (response DeleteGenericArtifactByPathResponse, err error)
    func (client ArtifactsClient) DeleteRepository(ctx context.Context, request DeleteRepositoryRequest) (response DeleteRepositoryResponse, err error)
    func (client ArtifactsClient) GetContainerConfiguration(ctx context.Context, request GetContainerConfigurationRequest) (response GetContainerConfigurationResponse, err error)
    func (client ArtifactsClient) GetContainerImage(ctx context.Context, request GetContainerImageRequest) (response GetContainerImageResponse, err error)
    func (client ArtifactsClient) GetContainerImageSignature(ctx context.Context, request GetContainerImageSignatureRequest) (response GetContainerImageSignatureResponse, err error)
    func (client ArtifactsClient) GetContainerRepository(ctx context.Context, request GetContainerRepositoryRequest) (response GetContainerRepositoryResponse, err error)
    func (client ArtifactsClient) GetGenericArtifact(ctx context.Context, request GetGenericArtifactRequest) (response GetGenericArtifactResponse, err error)
    func (client ArtifactsClient) GetGenericArtifactByPath(ctx context.Context, request GetGenericArtifactByPathRequest) (response GetGenericArtifactByPathResponse, err error)
    func (client ArtifactsClient) GetRepository(ctx context.Context, request GetRepositoryRequest) (response GetRepositoryResponse, err error)
    func (client ArtifactsClient) ListContainerImageSignatures(ctx context.Context, request ListContainerImageSignaturesRequest) (response ListContainerImageSignaturesResponse, err error)
    func (client ArtifactsClient) ListContainerImages(ctx context.Context, request ListContainerImagesRequest) (response ListContainerImagesResponse, err error)
    func (client ArtifactsClient) ListContainerRepositories(ctx context.Context, request ListContainerRepositoriesRequest) (response ListContainerRepositoriesResponse, err error)
    func (client ArtifactsClient) ListGenericArtifacts(ctx context.Context, request ListGenericArtifactsRequest) (response ListGenericArtifactsResponse, err error)
    func (client ArtifactsClient) ListRepositories(ctx context.Context, request ListRepositoriesRequest) (response ListRepositoriesResponse, err error)
    func (client ArtifactsClient) RemoveContainerVersion(ctx context.Context, request RemoveContainerVersionRequest) (response RemoveContainerVersionResponse, err error)
    func (client ArtifactsClient) RestoreContainerImage(ctx context.Context, request RestoreContainerImageRequest) (response RestoreContainerImageResponse, err error)
    func (client *ArtifactsClient) SetRegion(region string)
    func (client ArtifactsClient) UpdateContainerConfiguration(ctx context.Context, request UpdateContainerConfigurationRequest) (response UpdateContainerConfigurationResponse, err error)
    func (client ArtifactsClient) UpdateContainerImage(ctx context.Context, request UpdateContainerImageRequest) (response UpdateContainerImageResponse, err error)
    func (client ArtifactsClient) UpdateContainerImageSignature(ctx context.Context, request UpdateContainerImageSignatureRequest) (response UpdateContainerImageSignatureResponse, err error)
    func (client ArtifactsClient) UpdateContainerRepository(ctx context.Context, request UpdateContainerRepositoryRequest) (response UpdateContainerRepositoryResponse, err error)
    func (client ArtifactsClient) UpdateGenericArtifact(ctx context.Context, request UpdateGenericArtifactRequest) (response UpdateGenericArtifactResponse, err error)
    func (client ArtifactsClient) UpdateGenericArtifactByPath(ctx context.Context, request UpdateGenericArtifactByPathRequest) (response UpdateGenericArtifactByPathResponse, err error)
    func (client ArtifactsClient) UpdateRepository(ctx context.Context, request UpdateRepositoryRequest) (response UpdateRepositoryResponse, err error)
type ChangeContainerRepositoryCompartmentDetails
    func (m ChangeContainerRepositoryCompartmentDetails) String() string
    func (m ChangeContainerRepositoryCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeContainerRepositoryCompartmentRequest
    func (request ChangeContainerRepositoryCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeContainerRepositoryCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeContainerRepositoryCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeContainerRepositoryCompartmentRequest) String() string
    func (request ChangeContainerRepositoryCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeContainerRepositoryCompartmentResponse
    func (response ChangeContainerRepositoryCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeContainerRepositoryCompartmentResponse) String() string
type ChangeRepositoryCompartmentDetails
    func (m ChangeRepositoryCompartmentDetails) String() string
    func (m ChangeRepositoryCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeRepositoryCompartmentRequest
    func (request ChangeRepositoryCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeRepositoryCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeRepositoryCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeRepositoryCompartmentRequest) String() string
    func (request ChangeRepositoryCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeRepositoryCompartmentResponse
    func (response ChangeRepositoryCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeRepositoryCompartmentResponse) String() string
type ContainerConfiguration
    func (m ContainerConfiguration) String() string
    func (m ContainerConfiguration) ValidateEnumValue() (bool, error)
type ContainerImage
    func (m ContainerImage) String() string
    func (m ContainerImage) ValidateEnumValue() (bool, error)
type ContainerImageCollection
    func (m ContainerImageCollection) String() string
    func (m ContainerImageCollection) ValidateEnumValue() (bool, error)
type ContainerImageLayer
    func (m ContainerImageLayer) String() string
    func (m ContainerImageLayer) ValidateEnumValue() (bool, error)
type ContainerImageLifecycleStateEnum
    func GetContainerImageLifecycleStateEnumValues() []ContainerImageLifecycleStateEnum
    func GetMappingContainerImageLifecycleStateEnum(val string) (ContainerImageLifecycleStateEnum, bool)
type ContainerImageSignature
    func (m ContainerImageSignature) String() string
    func (m ContainerImageSignature) ValidateEnumValue() (bool, error)
type ContainerImageSignatureCollection
    func (m ContainerImageSignatureCollection) String() string
    func (m ContainerImageSignatureCollection) ValidateEnumValue() (bool, error)
type ContainerImageSignatureLifecycleStateEnum
    func GetContainerImageSignatureLifecycleStateEnumValues() []ContainerImageSignatureLifecycleStateEnum
    func GetMappingContainerImageSignatureLifecycleStateEnum(val string) (ContainerImageSignatureLifecycleStateEnum, bool)
type ContainerImageSignatureSigningAlgorithmEnum
    func GetContainerImageSignatureSigningAlgorithmEnumValues() []ContainerImageSignatureSigningAlgorithmEnum
    func GetMappingContainerImageSignatureSigningAlgorithmEnum(val string) (ContainerImageSignatureSigningAlgorithmEnum, bool)
type ContainerImageSignatureSummary
    func (m ContainerImageSignatureSummary) String() string
    func (m ContainerImageSignatureSummary) ValidateEnumValue() (bool, error)
type ContainerImageSignatureSummarySigningAlgorithmEnum
    func GetContainerImageSignatureSummarySigningAlgorithmEnumValues() []ContainerImageSignatureSummarySigningAlgorithmEnum
    func GetMappingContainerImageSignatureSummarySigningAlgorithmEnum(val string) (ContainerImageSignatureSummarySigningAlgorithmEnum, bool)
type ContainerImageSummary
    func (m ContainerImageSummary) String() string
    func (m ContainerImageSummary) ValidateEnumValue() (bool, error)
type ContainerRepository
    func (m ContainerRepository) String() string
    func (m ContainerRepository) ValidateEnumValue() (bool, error)
type ContainerRepositoryCollection
    func (m ContainerRepositoryCollection) String() string
    func (m ContainerRepositoryCollection) ValidateEnumValue() (bool, error)
type ContainerRepositoryLifecycleStateEnum
    func GetContainerRepositoryLifecycleStateEnumValues() []ContainerRepositoryLifecycleStateEnum
    func GetMappingContainerRepositoryLifecycleStateEnum(val string) (ContainerRepositoryLifecycleStateEnum, bool)
type ContainerRepositoryReadme
    func (m ContainerRepositoryReadme) String() string
    func (m ContainerRepositoryReadme) ValidateEnumValue() (bool, error)
type ContainerRepositoryReadmeFormatEnum
    func GetContainerRepositoryReadmeFormatEnumValues() []ContainerRepositoryReadmeFormatEnum
    func GetMappingContainerRepositoryReadmeFormatEnum(val string) (ContainerRepositoryReadmeFormatEnum, bool)
type ContainerRepositorySummary
    func (m ContainerRepositorySummary) String() string
    func (m ContainerRepositorySummary) ValidateEnumValue() (bool, error)
type ContainerVersion
    func (m ContainerVersion) String() string
    func (m ContainerVersion) ValidateEnumValue() (bool, error)
type CreateContainerImageSignatureDetails
    func (m CreateContainerImageSignatureDetails) String() string
    func (m CreateContainerImageSignatureDetails) ValidateEnumValue() (bool, error)
type CreateContainerImageSignatureDetailsSigningAlgorithmEnum
    func GetCreateContainerImageSignatureDetailsSigningAlgorithmEnumValues() []CreateContainerImageSignatureDetailsSigningAlgorithmEnum
    func GetMappingCreateContainerImageSignatureDetailsSigningAlgorithmEnum(val string) (CreateContainerImageSignatureDetailsSigningAlgorithmEnum, bool)
type CreateContainerImageSignatureRequest
    func (request CreateContainerImageSignatureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateContainerImageSignatureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateContainerImageSignatureRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateContainerImageSignatureRequest) String() string
    func (request CreateContainerImageSignatureRequest) ValidateEnumValue() (bool, error)
type CreateContainerImageSignatureResponse
    func (response CreateContainerImageSignatureResponse) HTTPResponse() *http.Response
    func (response CreateContainerImageSignatureResponse) String() string
type CreateContainerRepositoryDetails
    func (m CreateContainerRepositoryDetails) String() string
    func (m CreateContainerRepositoryDetails) ValidateEnumValue() (bool, error)
type CreateContainerRepositoryRequest
    func (request CreateContainerRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateContainerRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateContainerRepositoryRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateContainerRepositoryRequest) String() string
    func (request CreateContainerRepositoryRequest) ValidateEnumValue() (bool, error)
type CreateContainerRepositoryResponse
    func (response CreateContainerRepositoryResponse) HTTPResponse() *http.Response
    func (response CreateContainerRepositoryResponse) String() string
type CreateGenericRepositoryDetails
    func (m CreateGenericRepositoryDetails) GetCompartmentId() *string
    func (m CreateGenericRepositoryDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m CreateGenericRepositoryDetails) GetDescription() *string
    func (m CreateGenericRepositoryDetails) GetDisplayName() *string
    func (m CreateGenericRepositoryDetails) GetFreeformTags() map[string]string
    func (m CreateGenericRepositoryDetails) GetIsImmutable() *bool
    func (m CreateGenericRepositoryDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateGenericRepositoryDetails) String() string
    func (m CreateGenericRepositoryDetails) ValidateEnumValue() (bool, error)
type CreateRepositoryDetails
type CreateRepositoryRequest
    func (request CreateRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateRepositoryRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateRepositoryRequest) String() string
    func (request CreateRepositoryRequest) ValidateEnumValue() (bool, error)
type CreateRepositoryResponse
    func (response CreateRepositoryResponse) HTTPResponse() *http.Response
    func (response CreateRepositoryResponse) String() string
type DeleteContainerImageRequest
    func (request DeleteContainerImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteContainerImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteContainerImageRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteContainerImageRequest) String() string
    func (request DeleteContainerImageRequest) ValidateEnumValue() (bool, error)
type DeleteContainerImageResponse
    func (response DeleteContainerImageResponse) HTTPResponse() *http.Response
    func (response DeleteContainerImageResponse) String() string
type DeleteContainerImageSignatureRequest
    func (request DeleteContainerImageSignatureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteContainerImageSignatureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteContainerImageSignatureRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteContainerImageSignatureRequest) String() string
    func (request DeleteContainerImageSignatureRequest) ValidateEnumValue() (bool, error)
type DeleteContainerImageSignatureResponse
    func (response DeleteContainerImageSignatureResponse) HTTPResponse() *http.Response
    func (response DeleteContainerImageSignatureResponse) String() string
type DeleteContainerRepositoryRequest
    func (request DeleteContainerRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteContainerRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteContainerRepositoryRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteContainerRepositoryRequest) String() string
    func (request DeleteContainerRepositoryRequest) ValidateEnumValue() (bool, error)
type DeleteContainerRepositoryResponse
    func (response DeleteContainerRepositoryResponse) HTTPResponse() *http.Response
    func (response DeleteContainerRepositoryResponse) String() string
type DeleteGenericArtifactByPathRequest
    func (request DeleteGenericArtifactByPathRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteGenericArtifactByPathRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteGenericArtifactByPathRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteGenericArtifactByPathRequest) String() string
    func (request DeleteGenericArtifactByPathRequest) ValidateEnumValue() (bool, error)
type DeleteGenericArtifactByPathResponse
    func (response DeleteGenericArtifactByPathResponse) HTTPResponse() *http.Response
    func (response DeleteGenericArtifactByPathResponse) String() string
type DeleteGenericArtifactRequest
    func (request DeleteGenericArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteGenericArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteGenericArtifactRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteGenericArtifactRequest) String() string
    func (request DeleteGenericArtifactRequest) ValidateEnumValue() (bool, error)
type DeleteGenericArtifactResponse
    func (response DeleteGenericArtifactResponse) HTTPResponse() *http.Response
    func (response DeleteGenericArtifactResponse) String() string
type DeleteRepositoryRequest
    func (request DeleteRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteRepositoryRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteRepositoryRequest) String() string
    func (request DeleteRepositoryRequest) ValidateEnumValue() (bool, error)
type DeleteRepositoryResponse
    func (response DeleteRepositoryResponse) HTTPResponse() *http.Response
    func (response DeleteRepositoryResponse) String() string
type GenericArtifact
    func (m GenericArtifact) String() string
    func (m GenericArtifact) ValidateEnumValue() (bool, error)
type GenericArtifactCollection
    func (m GenericArtifactCollection) String() string
    func (m GenericArtifactCollection) ValidateEnumValue() (bool, error)
type GenericArtifactLifecycleStateEnum
    func GetGenericArtifactLifecycleStateEnumValues() []GenericArtifactLifecycleStateEnum
    func GetMappingGenericArtifactLifecycleStateEnum(val string) (GenericArtifactLifecycleStateEnum, bool)
type GenericArtifactSummary
    func (m GenericArtifactSummary) String() string
    func (m GenericArtifactSummary) ValidateEnumValue() (bool, error)
type GenericRepository
    func (m GenericRepository) GetCompartmentId() *string
    func (m GenericRepository) GetDefinedTags() map[string]map[string]interface{}
    func (m GenericRepository) GetDescription() *string
    func (m GenericRepository) GetDisplayName() *string
    func (m GenericRepository) GetFreeformTags() map[string]string
    func (m GenericRepository) GetId() *string
    func (m GenericRepository) GetIsImmutable() *bool
    func (m GenericRepository) GetLifecycleState() RepositoryLifecycleStateEnum
    func (m GenericRepository) GetTimeCreated() *common.SDKTime
    func (m GenericRepository) MarshalJSON() (buff []byte, e error)
    func (m GenericRepository) String() string
    func (m GenericRepository) ValidateEnumValue() (bool, error)
type GenericRepositorySummary
    func (m GenericRepositorySummary) GetCompartmentId() *string
    func (m GenericRepositorySummary) GetDefinedTags() map[string]map[string]interface{}
    func (m GenericRepositorySummary) GetDescription() *string
    func (m GenericRepositorySummary) GetDisplayName() *string
    func (m GenericRepositorySummary) GetFreeformTags() map[string]string
    func (m GenericRepositorySummary) GetId() *string
    func (m GenericRepositorySummary) GetIsImmutable() *bool
    func (m GenericRepositorySummary) GetLifecycleState() RepositoryLifecycleStateEnum
    func (m GenericRepositorySummary) GetTimeCreated() *common.SDKTime
    func (m GenericRepositorySummary) MarshalJSON() (buff []byte, e error)
    func (m GenericRepositorySummary) String() string
    func (m GenericRepositorySummary) ValidateEnumValue() (bool, error)
type GetContainerConfigurationRequest
    func (request GetContainerConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetContainerConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetContainerConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request GetContainerConfigurationRequest) String() string
    func (request GetContainerConfigurationRequest) ValidateEnumValue() (bool, error)
type GetContainerConfigurationResponse
    func (response GetContainerConfigurationResponse) HTTPResponse() *http.Response
    func (response GetContainerConfigurationResponse) String() string
type GetContainerImageRequest
    func (request GetContainerImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetContainerImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetContainerImageRequest) RetryPolicy() *common.RetryPolicy
    func (request GetContainerImageRequest) String() string
    func (request GetContainerImageRequest) ValidateEnumValue() (bool, error)
type GetContainerImageResponse
    func (response GetContainerImageResponse) HTTPResponse() *http.Response
    func (response GetContainerImageResponse) String() string
type GetContainerImageSignatureRequest
    func (request GetContainerImageSignatureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetContainerImageSignatureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetContainerImageSignatureRequest) RetryPolicy() *common.RetryPolicy
    func (request GetContainerImageSignatureRequest) String() string
    func (request GetContainerImageSignatureRequest) ValidateEnumValue() (bool, error)
type GetContainerImageSignatureResponse
    func (response GetContainerImageSignatureResponse) HTTPResponse() *http.Response
    func (response GetContainerImageSignatureResponse) String() string
type GetContainerRepositoryRequest
    func (request GetContainerRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetContainerRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetContainerRepositoryRequest) RetryPolicy() *common.RetryPolicy
    func (request GetContainerRepositoryRequest) String() string
    func (request GetContainerRepositoryRequest) ValidateEnumValue() (bool, error)
type GetContainerRepositoryResponse
    func (response GetContainerRepositoryResponse) HTTPResponse() *http.Response
    func (response GetContainerRepositoryResponse) String() string
type GetGenericArtifactByPathRequest
    func (request GetGenericArtifactByPathRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetGenericArtifactByPathRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetGenericArtifactByPathRequest) RetryPolicy() *common.RetryPolicy
    func (request GetGenericArtifactByPathRequest) String() string
    func (request GetGenericArtifactByPathRequest) ValidateEnumValue() (bool, error)
type GetGenericArtifactByPathResponse
    func (response GetGenericArtifactByPathResponse) HTTPResponse() *http.Response
    func (response GetGenericArtifactByPathResponse) String() string
type GetGenericArtifactRequest
    func (request GetGenericArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetGenericArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetGenericArtifactRequest) RetryPolicy() *common.RetryPolicy
    func (request GetGenericArtifactRequest) String() string
    func (request GetGenericArtifactRequest) ValidateEnumValue() (bool, error)
type GetGenericArtifactResponse
    func (response GetGenericArtifactResponse) HTTPResponse() *http.Response
    func (response GetGenericArtifactResponse) String() string
type GetRepositoryRequest
    func (request GetRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetRepositoryRequest) RetryPolicy() *common.RetryPolicy
    func (request GetRepositoryRequest) String() string
    func (request GetRepositoryRequest) ValidateEnumValue() (bool, error)
type GetRepositoryResponse
    func (response GetRepositoryResponse) HTTPResponse() *http.Response
    func (response GetRepositoryResponse) String() string
type ListContainerImageSignaturesRequest
    func (request ListContainerImageSignaturesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListContainerImageSignaturesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListContainerImageSignaturesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListContainerImageSignaturesRequest) String() string
    func (request ListContainerImageSignaturesRequest) ValidateEnumValue() (bool, error)
type ListContainerImageSignaturesResponse
    func (response ListContainerImageSignaturesResponse) HTTPResponse() *http.Response
    func (response ListContainerImageSignaturesResponse) String() string
type ListContainerImageSignaturesSigningAlgorithmEnum
    func GetListContainerImageSignaturesSigningAlgorithmEnumValues() []ListContainerImageSignaturesSigningAlgorithmEnum
    func GetMappingListContainerImageSignaturesSigningAlgorithmEnum(val string) (ListContainerImageSignaturesSigningAlgorithmEnum, bool)
type ListContainerImageSignaturesSortByEnum
    func GetListContainerImageSignaturesSortByEnumValues() []ListContainerImageSignaturesSortByEnum
    func GetMappingListContainerImageSignaturesSortByEnum(val string) (ListContainerImageSignaturesSortByEnum, bool)
type ListContainerImageSignaturesSortOrderEnum
    func GetListContainerImageSignaturesSortOrderEnumValues() []ListContainerImageSignaturesSortOrderEnum
    func GetMappingListContainerImageSignaturesSortOrderEnum(val string) (ListContainerImageSignaturesSortOrderEnum, bool)
type ListContainerImagesRequest
    func (request ListContainerImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListContainerImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListContainerImagesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListContainerImagesRequest) String() string
    func (request ListContainerImagesRequest) ValidateEnumValue() (bool, error)
type ListContainerImagesResponse
    func (response ListContainerImagesResponse) HTTPResponse() *http.Response
    func (response ListContainerImagesResponse) String() string
type ListContainerImagesSortByEnum
    func GetListContainerImagesSortByEnumValues() []ListContainerImagesSortByEnum
    func GetMappingListContainerImagesSortByEnum(val string) (ListContainerImagesSortByEnum, bool)
type ListContainerImagesSortOrderEnum
    func GetListContainerImagesSortOrderEnumValues() []ListContainerImagesSortOrderEnum
    func GetMappingListContainerImagesSortOrderEnum(val string) (ListContainerImagesSortOrderEnum, bool)
type ListContainerRepositoriesRequest
    func (request ListContainerRepositoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListContainerRepositoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListContainerRepositoriesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListContainerRepositoriesRequest) String() string
    func (request ListContainerRepositoriesRequest) ValidateEnumValue() (bool, error)
type ListContainerRepositoriesResponse
    func (response ListContainerRepositoriesResponse) HTTPResponse() *http.Response
    func (response ListContainerRepositoriesResponse) String() string
type ListContainerRepositoriesSortByEnum
    func GetListContainerRepositoriesSortByEnumValues() []ListContainerRepositoriesSortByEnum
    func GetMappingListContainerRepositoriesSortByEnum(val string) (ListContainerRepositoriesSortByEnum, bool)
type ListContainerRepositoriesSortOrderEnum
    func GetListContainerRepositoriesSortOrderEnumValues() []ListContainerRepositoriesSortOrderEnum
    func GetMappingListContainerRepositoriesSortOrderEnum(val string) (ListContainerRepositoriesSortOrderEnum, bool)
type ListGenericArtifactsRequest
    func (request ListGenericArtifactsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListGenericArtifactsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListGenericArtifactsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListGenericArtifactsRequest) String() string
    func (request ListGenericArtifactsRequest) ValidateEnumValue() (bool, error)
type ListGenericArtifactsResponse
    func (response ListGenericArtifactsResponse) HTTPResponse() *http.Response
    func (response ListGenericArtifactsResponse) String() string
type ListGenericArtifactsSortByEnum
    func GetListGenericArtifactsSortByEnumValues() []ListGenericArtifactsSortByEnum
    func GetMappingListGenericArtifactsSortByEnum(val string) (ListGenericArtifactsSortByEnum, bool)
type ListGenericArtifactsSortOrderEnum
    func GetListGenericArtifactsSortOrderEnumValues() []ListGenericArtifactsSortOrderEnum
    func GetMappingListGenericArtifactsSortOrderEnum(val string) (ListGenericArtifactsSortOrderEnum, bool)
type ListRepositoriesRequest
    func (request ListRepositoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListRepositoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListRepositoriesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListRepositoriesRequest) String() string
    func (request ListRepositoriesRequest) ValidateEnumValue() (bool, error)
type ListRepositoriesResponse
    func (response ListRepositoriesResponse) HTTPResponse() *http.Response
    func (response ListRepositoriesResponse) String() string
type ListRepositoriesSortByEnum
    func GetListRepositoriesSortByEnumValues() []ListRepositoriesSortByEnum
    func GetMappingListRepositoriesSortByEnum(val string) (ListRepositoriesSortByEnum, bool)
type ListRepositoriesSortOrderEnum
    func GetListRepositoriesSortOrderEnumValues() []ListRepositoriesSortOrderEnum
    func GetMappingListRepositoriesSortOrderEnum(val string) (ListRepositoriesSortOrderEnum, bool)
type RemoveContainerVersionDetails
    func (m RemoveContainerVersionDetails) String() string
    func (m RemoveContainerVersionDetails) ValidateEnumValue() (bool, error)
type RemoveContainerVersionRequest
    func (request RemoveContainerVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RemoveContainerVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RemoveContainerVersionRequest) RetryPolicy() *common.RetryPolicy
    func (request RemoveContainerVersionRequest) String() string
    func (request RemoveContainerVersionRequest) ValidateEnumValue() (bool, error)
type RemoveContainerVersionResponse
    func (response RemoveContainerVersionResponse) HTTPResponse() *http.Response
    func (response RemoveContainerVersionResponse) String() string
type Repository
type RepositoryCollection
    func (m RepositoryCollection) String() string
    func (m *RepositoryCollection) UnmarshalJSON(data []byte) (e error)
    func (m RepositoryCollection) ValidateEnumValue() (bool, error)
type RepositoryLifecycleStateEnum
    func GetMappingRepositoryLifecycleStateEnum(val string) (RepositoryLifecycleStateEnum, bool)
    func GetRepositoryLifecycleStateEnumValues() []RepositoryLifecycleStateEnum
type RepositoryRepositoryTypeEnum
    func GetMappingRepositoryRepositoryTypeEnum(val string) (RepositoryRepositoryTypeEnum, bool)
    func GetRepositoryRepositoryTypeEnumValues() []RepositoryRepositoryTypeEnum
type RepositorySummary
type RestoreContainerImageDetails
    func (m RestoreContainerImageDetails) String() string
    func (m RestoreContainerImageDetails) ValidateEnumValue() (bool, error)
type RestoreContainerImageRequest
    func (request RestoreContainerImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RestoreContainerImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RestoreContainerImageRequest) RetryPolicy() *common.RetryPolicy
    func (request RestoreContainerImageRequest) String() string
    func (request RestoreContainerImageRequest) ValidateEnumValue() (bool, error)
type RestoreContainerImageResponse
    func (response RestoreContainerImageResponse) HTTPResponse() *http.Response
    func (response RestoreContainerImageResponse) String() string
type UpdateContainerConfigurationDetails
    func (m UpdateContainerConfigurationDetails) String() string
    func (m UpdateContainerConfigurationDetails) ValidateEnumValue() (bool, error)
type UpdateContainerConfigurationRequest
    func (request UpdateContainerConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateContainerConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateContainerConfigurationRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateContainerConfigurationRequest) String() string
    func (request UpdateContainerConfigurationRequest) ValidateEnumValue() (bool, error)
type UpdateContainerConfigurationResponse
    func (response UpdateContainerConfigurationResponse) HTTPResponse() *http.Response
    func (response UpdateContainerConfigurationResponse) String() string
type UpdateContainerImageDetails
    func (m UpdateContainerImageDetails) String() string
    func (m UpdateContainerImageDetails) ValidateEnumValue() (bool, error)
type UpdateContainerImageRequest
    func (request UpdateContainerImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateContainerImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateContainerImageRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateContainerImageRequest) String() string
    func (request UpdateContainerImageRequest) ValidateEnumValue() (bool, error)
type UpdateContainerImageResponse
    func (response UpdateContainerImageResponse) HTTPResponse() *http.Response
    func (response UpdateContainerImageResponse) String() string
type UpdateContainerImageSignatureDetails
    func (m UpdateContainerImageSignatureDetails) String() string
    func (m UpdateContainerImageSignatureDetails) ValidateEnumValue() (bool, error)
type UpdateContainerImageSignatureRequest
    func (request UpdateContainerImageSignatureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateContainerImageSignatureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateContainerImageSignatureRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateContainerImageSignatureRequest) String() string
    func (request UpdateContainerImageSignatureRequest) ValidateEnumValue() (bool, error)
type UpdateContainerImageSignatureResponse
    func (response UpdateContainerImageSignatureResponse) HTTPResponse() *http.Response
    func (response UpdateContainerImageSignatureResponse) String() string
type UpdateContainerRepositoryDetails
    func (m UpdateContainerRepositoryDetails) String() string
    func (m UpdateContainerRepositoryDetails) ValidateEnumValue() (bool, error)
type UpdateContainerRepositoryRequest
    func (request UpdateContainerRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateContainerRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateContainerRepositoryRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateContainerRepositoryRequest) String() string
    func (request UpdateContainerRepositoryRequest) ValidateEnumValue() (bool, error)
type UpdateContainerRepositoryResponse
    func (response UpdateContainerRepositoryResponse) HTTPResponse() *http.Response
    func (response UpdateContainerRepositoryResponse) String() string
type UpdateGenericArtifactByPathDetails
    func (m UpdateGenericArtifactByPathDetails) String() string
    func (m UpdateGenericArtifactByPathDetails) ValidateEnumValue() (bool, error)
type UpdateGenericArtifactByPathRequest
    func (request UpdateGenericArtifactByPathRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateGenericArtifactByPathRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateGenericArtifactByPathRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateGenericArtifactByPathRequest) String() string
    func (request UpdateGenericArtifactByPathRequest) ValidateEnumValue() (bool, error)
type UpdateGenericArtifactByPathResponse
    func (response UpdateGenericArtifactByPathResponse) HTTPResponse() *http.Response
    func (response UpdateGenericArtifactByPathResponse) String() string
type UpdateGenericArtifactDetails
    func (m UpdateGenericArtifactDetails) String() string
    func (m UpdateGenericArtifactDetails) ValidateEnumValue() (bool, error)
type UpdateGenericArtifactRequest
    func (request UpdateGenericArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateGenericArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateGenericArtifactRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateGenericArtifactRequest) String() string
    func (request UpdateGenericArtifactRequest) ValidateEnumValue() (bool, error)
type UpdateGenericArtifactResponse
    func (response UpdateGenericArtifactResponse) HTTPResponse() *http.Response
    func (response UpdateGenericArtifactResponse) String() string
type UpdateGenericRepositoryDetails
    func (m UpdateGenericRepositoryDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m UpdateGenericRepositoryDetails) GetDescription() *string
    func (m UpdateGenericRepositoryDetails) GetDisplayName() *string
    func (m UpdateGenericRepositoryDetails) GetFreeformTags() map[string]string
    func (m UpdateGenericRepositoryDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateGenericRepositoryDetails) String() string
    func (m UpdateGenericRepositoryDetails) ValidateEnumValue() (bool, error)
type UpdateRepositoryDetails
type UpdateRepositoryRequest
    func (request UpdateRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateRepositoryRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateRepositoryRequest) String() string
    func (request UpdateRepositoryRequest) ValidateEnumValue() (bool, error)
type UpdateRepositoryResponse
    func (response UpdateRepositoryResponse) HTTPResponse() *http.Response
    func (response UpdateRepositoryResponse) String() string

Package files

artifacts_client.go change_container_repository_compartment_details.go change_container_repository_compartment_request_response.go change_repository_compartment_details.go change_repository_compartment_request_response.go container_configuration.go container_image.go container_image_collection.go container_image_layer.go container_image_signature.go container_image_signature_collection.go container_image_signature_summary.go container_image_summary.go container_repository.go container_repository_collection.go container_repository_readme.go container_repository_summary.go container_version.go create_container_image_signature_details.go create_container_image_signature_request_response.go create_container_repository_details.go create_container_repository_request_response.go create_generic_repository_details.go create_repository_details.go create_repository_request_response.go delete_container_image_request_response.go delete_container_image_signature_request_response.go delete_container_repository_request_response.go delete_generic_artifact_by_path_request_response.go delete_generic_artifact_request_response.go delete_repository_request_response.go generic_artifact.go generic_artifact_collection.go generic_artifact_summary.go generic_repository.go generic_repository_summary.go get_container_configuration_request_response.go get_container_image_request_response.go get_container_image_signature_request_response.go get_container_repository_request_response.go get_generic_artifact_by_path_request_response.go get_generic_artifact_request_response.go get_repository_request_response.go list_container_image_signatures_request_response.go list_container_images_request_response.go list_container_repositories_request_response.go list_generic_artifacts_request_response.go list_repositories_request_response.go remove_container_version_details.go remove_container_version_request_response.go repository.go repository_collection.go repository_summary.go restore_container_image_details.go restore_container_image_request_response.go update_container_configuration_details.go update_container_configuration_request_response.go update_container_image_details.go update_container_image_request_response.go update_container_image_signature_details.go update_container_image_signature_request_response.go update_container_repository_details.go update_container_repository_request_response.go update_generic_artifact_by_path_details.go update_generic_artifact_by_path_request_response.go update_generic_artifact_details.go update_generic_artifact_request_response.go update_generic_repository_details.go update_repository_details.go update_repository_request_response.go

func GetContainerImageLifecycleStateEnumStringValues

func GetContainerImageLifecycleStateEnumStringValues() []string

GetContainerImageLifecycleStateEnumStringValues Enumerates the set of values in String for ContainerImageLifecycleStateEnum

func GetContainerImageSignatureLifecycleStateEnumStringValues

func GetContainerImageSignatureLifecycleStateEnumStringValues() []string

GetContainerImageSignatureLifecycleStateEnumStringValues Enumerates the set of values in String for ContainerImageSignatureLifecycleStateEnum

func GetContainerImageSignatureSigningAlgorithmEnumStringValues

func GetContainerImageSignatureSigningAlgorithmEnumStringValues() []string

GetContainerImageSignatureSigningAlgorithmEnumStringValues Enumerates the set of values in String for ContainerImageSignatureSigningAlgorithmEnum

func GetContainerImageSignatureSummarySigningAlgorithmEnumStringValues

func GetContainerImageSignatureSummarySigningAlgorithmEnumStringValues() []string

GetContainerImageSignatureSummarySigningAlgorithmEnumStringValues Enumerates the set of values in String for ContainerImageSignatureSummarySigningAlgorithmEnum

func GetContainerRepositoryLifecycleStateEnumStringValues

func GetContainerRepositoryLifecycleStateEnumStringValues() []string

GetContainerRepositoryLifecycleStateEnumStringValues Enumerates the set of values in String for ContainerRepositoryLifecycleStateEnum

func GetContainerRepositoryReadmeFormatEnumStringValues

func GetContainerRepositoryReadmeFormatEnumStringValues() []string

GetContainerRepositoryReadmeFormatEnumStringValues Enumerates the set of values in String for ContainerRepositoryReadmeFormatEnum

func GetCreateContainerImageSignatureDetailsSigningAlgorithmEnumStringValues

func GetCreateContainerImageSignatureDetailsSigningAlgorithmEnumStringValues() []string

GetCreateContainerImageSignatureDetailsSigningAlgorithmEnumStringValues Enumerates the set of values in String for CreateContainerImageSignatureDetailsSigningAlgorithmEnum

func GetGenericArtifactLifecycleStateEnumStringValues

func GetGenericArtifactLifecycleStateEnumStringValues() []string

GetGenericArtifactLifecycleStateEnumStringValues Enumerates the set of values in String for GenericArtifactLifecycleStateEnum

func GetListContainerImageSignaturesSigningAlgorithmEnumStringValues

func GetListContainerImageSignaturesSigningAlgorithmEnumStringValues() []string

GetListContainerImageSignaturesSigningAlgorithmEnumStringValues Enumerates the set of values in String for ListContainerImageSignaturesSigningAlgorithmEnum

func GetListContainerImageSignaturesSortByEnumStringValues

func GetListContainerImageSignaturesSortByEnumStringValues() []string

GetListContainerImageSignaturesSortByEnumStringValues Enumerates the set of values in String for ListContainerImageSignaturesSortByEnum

func GetListContainerImageSignaturesSortOrderEnumStringValues

func GetListContainerImageSignaturesSortOrderEnumStringValues() []string

GetListContainerImageSignaturesSortOrderEnumStringValues Enumerates the set of values in String for ListContainerImageSignaturesSortOrderEnum

func GetListContainerImagesSortByEnumStringValues

func GetListContainerImagesSortByEnumStringValues() []string

GetListContainerImagesSortByEnumStringValues Enumerates the set of values in String for ListContainerImagesSortByEnum

func GetListContainerImagesSortOrderEnumStringValues

func GetListContainerImagesSortOrderEnumStringValues() []string

GetListContainerImagesSortOrderEnumStringValues Enumerates the set of values in String for ListContainerImagesSortOrderEnum

func GetListContainerRepositoriesSortByEnumStringValues

func GetListContainerRepositoriesSortByEnumStringValues() []string

GetListContainerRepositoriesSortByEnumStringValues Enumerates the set of values in String for ListContainerRepositoriesSortByEnum

func GetListContainerRepositoriesSortOrderEnumStringValues

func GetListContainerRepositoriesSortOrderEnumStringValues() []string

GetListContainerRepositoriesSortOrderEnumStringValues Enumerates the set of values in String for ListContainerRepositoriesSortOrderEnum

func GetListGenericArtifactsSortByEnumStringValues

func GetListGenericArtifactsSortByEnumStringValues() []string

GetListGenericArtifactsSortByEnumStringValues Enumerates the set of values in String for ListGenericArtifactsSortByEnum

func GetListGenericArtifactsSortOrderEnumStringValues

func GetListGenericArtifactsSortOrderEnumStringValues() []string

GetListGenericArtifactsSortOrderEnumStringValues Enumerates the set of values in String for ListGenericArtifactsSortOrderEnum

func GetListRepositoriesSortByEnumStringValues

func GetListRepositoriesSortByEnumStringValues() []string

GetListRepositoriesSortByEnumStringValues Enumerates the set of values in String for ListRepositoriesSortByEnum

func GetListRepositoriesSortOrderEnumStringValues

func GetListRepositoriesSortOrderEnumStringValues() []string

GetListRepositoriesSortOrderEnumStringValues Enumerates the set of values in String for ListRepositoriesSortOrderEnum

func GetRepositoryLifecycleStateEnumStringValues

func GetRepositoryLifecycleStateEnumStringValues() []string

GetRepositoryLifecycleStateEnumStringValues Enumerates the set of values in String for RepositoryLifecycleStateEnum

func GetRepositoryRepositoryTypeEnumStringValues

func GetRepositoryRepositoryTypeEnumStringValues() []string

GetRepositoryRepositoryTypeEnumStringValues Enumerates the set of values in String for RepositoryRepositoryTypeEnum

type ArtifactsClient

ArtifactsClient a client for Artifacts

type ArtifactsClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewArtifactsClientWithConfigurationProvider

func NewArtifactsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ArtifactsClient, err error)

NewArtifactsClientWithConfigurationProvider Creates a new default Artifacts client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewArtifactsClientWithOboToken

func NewArtifactsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ArtifactsClient, err error)

NewArtifactsClientWithOboToken Creates a new default Artifacts client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (ArtifactsClient) ChangeContainerRepositoryCompartment

func (client ArtifactsClient) ChangeContainerRepositoryCompartment(ctx context.Context, request ChangeContainerRepositoryCompartmentRequest) (response ChangeContainerRepositoryCompartmentResponse, err error)

ChangeContainerRepositoryCompartment Moves a container repository into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ChangeContainerRepositoryCompartment.go.html to see an example of how to use ChangeContainerRepositoryCompartment API. A default retry strategy applies to this operation ChangeContainerRepositoryCompartment()

func (ArtifactsClient) ChangeRepositoryCompartment

func (client ArtifactsClient) ChangeRepositoryCompartment(ctx context.Context, request ChangeRepositoryCompartmentRequest) (response ChangeRepositoryCompartmentResponse, err error)

ChangeRepositoryCompartment Moves a repository into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ChangeRepositoryCompartment.go.html to see an example of how to use ChangeRepositoryCompartment API. A default retry strategy applies to this operation ChangeRepositoryCompartment()

func (*ArtifactsClient) ConfigurationProvider

func (client *ArtifactsClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ArtifactsClient) CreateContainerImageSignature

func (client ArtifactsClient) CreateContainerImageSignature(ctx context.Context, request CreateContainerImageSignatureRequest) (response CreateContainerImageSignatureResponse, err error)

CreateContainerImageSignature Upload a signature to an image.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/CreateContainerImageSignature.go.html to see an example of how to use CreateContainerImageSignature API. A default retry strategy applies to this operation CreateContainerImageSignature()

func (ArtifactsClient) CreateContainerRepository

func (client ArtifactsClient) CreateContainerRepository(ctx context.Context, request CreateContainerRepositoryRequest) (response CreateContainerRepositoryResponse, err error)

CreateContainerRepository Create a new empty container repository. Avoid entering confidential information.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/CreateContainerRepository.go.html to see an example of how to use CreateContainerRepository API. A default retry strategy applies to this operation CreateContainerRepository()

func (ArtifactsClient) CreateRepository

func (client ArtifactsClient) CreateRepository(ctx context.Context, request CreateRepositoryRequest) (response CreateRepositoryResponse, err error)

CreateRepository Creates a new repository for storing artifacts.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/CreateRepository.go.html to see an example of how to use CreateRepository API.

func (ArtifactsClient) DeleteContainerImage

func (client ArtifactsClient) DeleteContainerImage(ctx context.Context, request DeleteContainerImageRequest) (response DeleteContainerImageResponse, err error)

DeleteContainerImage Delete a container image.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteContainerImage.go.html to see an example of how to use DeleteContainerImage API. A default retry strategy applies to this operation DeleteContainerImage()

func (ArtifactsClient) DeleteContainerImageSignature

func (client ArtifactsClient) DeleteContainerImageSignature(ctx context.Context, request DeleteContainerImageSignatureRequest) (response DeleteContainerImageSignatureResponse, err error)

DeleteContainerImageSignature Delete a container image signature.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteContainerImageSignature.go.html to see an example of how to use DeleteContainerImageSignature API. A default retry strategy applies to this operation DeleteContainerImageSignature()

func (ArtifactsClient) DeleteContainerRepository

func (client ArtifactsClient) DeleteContainerRepository(ctx context.Context, request DeleteContainerRepositoryRequest) (response DeleteContainerRepositoryResponse, err error)

DeleteContainerRepository Delete container repository.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteContainerRepository.go.html to see an example of how to use DeleteContainerRepository API. A default retry strategy applies to this operation DeleteContainerRepository()

func (ArtifactsClient) DeleteGenericArtifact

func (client ArtifactsClient) DeleteGenericArtifact(ctx context.Context, request DeleteGenericArtifactRequest) (response DeleteGenericArtifactResponse, err error)

DeleteGenericArtifact Deletes an artifact with a specified OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteGenericArtifact.go.html to see an example of how to use DeleteGenericArtifact API. A default retry strategy applies to this operation DeleteGenericArtifact()

func (ArtifactsClient) DeleteGenericArtifactByPath

func (client ArtifactsClient) DeleteGenericArtifactByPath(ctx context.Context, request DeleteGenericArtifactByPathRequest) (response DeleteGenericArtifactByPathResponse, err error)

DeleteGenericArtifactByPath Deletes an artifact with a specified `artifactPath` and `version`.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteGenericArtifactByPath.go.html to see an example of how to use DeleteGenericArtifactByPath API. A default retry strategy applies to this operation DeleteGenericArtifactByPath()

func (ArtifactsClient) DeleteRepository

func (client ArtifactsClient) DeleteRepository(ctx context.Context, request DeleteRepositoryRequest) (response DeleteRepositoryResponse, err error)

DeleteRepository Deletes the specified repository. This operation fails unless all associated artifacts are in a DELETED state. You must delete all associated artifacts before deleting a repository.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteRepository.go.html to see an example of how to use DeleteRepository API. A default retry strategy applies to this operation DeleteRepository()

func (ArtifactsClient) GetContainerConfiguration

func (client ArtifactsClient) GetContainerConfiguration(ctx context.Context, request GetContainerConfigurationRequest) (response GetContainerConfigurationResponse, err error)

GetContainerConfiguration Get container configuration.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetContainerConfiguration.go.html to see an example of how to use GetContainerConfiguration API. A default retry strategy applies to this operation GetContainerConfiguration()

func (ArtifactsClient) GetContainerImage

func (client ArtifactsClient) GetContainerImage(ctx context.Context, request GetContainerImageRequest) (response GetContainerImageResponse, err error)

GetContainerImage Get container image metadata.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetContainerImage.go.html to see an example of how to use GetContainerImage API. A default retry strategy applies to this operation GetContainerImage()

func (ArtifactsClient) GetContainerImageSignature

func (client ArtifactsClient) GetContainerImageSignature(ctx context.Context, request GetContainerImageSignatureRequest) (response GetContainerImageSignatureResponse, err error)

GetContainerImageSignature Get container image signature metadata.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetContainerImageSignature.go.html to see an example of how to use GetContainerImageSignature API. A default retry strategy applies to this operation GetContainerImageSignature()

func (ArtifactsClient) GetContainerRepository

func (client ArtifactsClient) GetContainerRepository(ctx context.Context, request GetContainerRepositoryRequest) (response GetContainerRepositoryResponse, err error)

GetContainerRepository Get container repository.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetContainerRepository.go.html to see an example of how to use GetContainerRepository API. A default retry strategy applies to this operation GetContainerRepository()

func (ArtifactsClient) GetGenericArtifact

func (client ArtifactsClient) GetGenericArtifact(ctx context.Context, request GetGenericArtifactRequest) (response GetGenericArtifactResponse, err error)

GetGenericArtifact Gets information about an artifact with a specified OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetGenericArtifact.go.html to see an example of how to use GetGenericArtifact API. A default retry strategy applies to this operation GetGenericArtifact()

func (ArtifactsClient) GetGenericArtifactByPath

func (client ArtifactsClient) GetGenericArtifactByPath(ctx context.Context, request GetGenericArtifactByPathRequest) (response GetGenericArtifactByPathResponse, err error)

GetGenericArtifactByPath Gets information about an artifact with a specified `artifactPath` and `version`.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetGenericArtifactByPath.go.html to see an example of how to use GetGenericArtifactByPath API. A default retry strategy applies to this operation GetGenericArtifactByPath()

func (ArtifactsClient) GetRepository

func (client ArtifactsClient) GetRepository(ctx context.Context, request GetRepositoryRequest) (response GetRepositoryResponse, err error)

GetRepository Gets the specified repository's information.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetRepository.go.html to see an example of how to use GetRepository API. A default retry strategy applies to this operation GetRepository()

func (ArtifactsClient) ListContainerImageSignatures

func (client ArtifactsClient) ListContainerImageSignatures(ctx context.Context, request ListContainerImageSignaturesRequest) (response ListContainerImageSignaturesResponse, err error)

ListContainerImageSignatures List container image signatures in an image.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ListContainerImageSignatures.go.html to see an example of how to use ListContainerImageSignatures API. A default retry strategy applies to this operation ListContainerImageSignatures()

func (ArtifactsClient) ListContainerImages

func (client ArtifactsClient) ListContainerImages(ctx context.Context, request ListContainerImagesRequest) (response ListContainerImagesResponse, err error)

ListContainerImages List container images in a compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ListContainerImages.go.html to see an example of how to use ListContainerImages API. A default retry strategy applies to this operation ListContainerImages()

func (ArtifactsClient) ListContainerRepositories

func (client ArtifactsClient) ListContainerRepositories(ctx context.Context, request ListContainerRepositoriesRequest) (response ListContainerRepositoriesResponse, err error)

ListContainerRepositories List container repositories in a compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ListContainerRepositories.go.html to see an example of how to use ListContainerRepositories API. A default retry strategy applies to this operation ListContainerRepositories()

func (ArtifactsClient) ListGenericArtifacts

func (client ArtifactsClient) ListGenericArtifacts(ctx context.Context, request ListGenericArtifactsRequest) (response ListGenericArtifactsResponse, err error)

ListGenericArtifacts Lists artifacts in the specified repository.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ListGenericArtifacts.go.html to see an example of how to use ListGenericArtifacts API. A default retry strategy applies to this operation ListGenericArtifacts()

func (ArtifactsClient) ListRepositories

func (client ArtifactsClient) ListRepositories(ctx context.Context, request ListRepositoriesRequest) (response ListRepositoriesResponse, err error)

ListRepositories Lists repositories in the specified compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ListRepositories.go.html to see an example of how to use ListRepositories API. A default retry strategy applies to this operation ListRepositories()

func (ArtifactsClient) RemoveContainerVersion

func (client ArtifactsClient) RemoveContainerVersion(ctx context.Context, request RemoveContainerVersionRequest) (response RemoveContainerVersionResponse, err error)

RemoveContainerVersion Remove version from container image.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/RemoveContainerVersion.go.html to see an example of how to use RemoveContainerVersion API. A default retry strategy applies to this operation RemoveContainerVersion()

func (ArtifactsClient) RestoreContainerImage

func (client ArtifactsClient) RestoreContainerImage(ctx context.Context, request RestoreContainerImageRequest) (response RestoreContainerImageResponse, err error)

RestoreContainerImage Restore a container image.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/RestoreContainerImage.go.html to see an example of how to use RestoreContainerImage API. A default retry strategy applies to this operation RestoreContainerImage()

func (*ArtifactsClient) SetRegion

func (client *ArtifactsClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ArtifactsClient) UpdateContainerConfiguration

func (client ArtifactsClient) UpdateContainerConfiguration(ctx context.Context, request UpdateContainerConfigurationRequest) (response UpdateContainerConfigurationResponse, err error)

UpdateContainerConfiguration Update container configuration.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateContainerConfiguration.go.html to see an example of how to use UpdateContainerConfiguration API. A default retry strategy applies to this operation UpdateContainerConfiguration()

func (ArtifactsClient) UpdateContainerImage

func (client ArtifactsClient) UpdateContainerImage(ctx context.Context, request UpdateContainerImageRequest) (response UpdateContainerImageResponse, err error)

UpdateContainerImage Modify the properties of a container image. Avoid entering confidential information.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateContainerImage.go.html to see an example of how to use UpdateContainerImage API. A default retry strategy applies to this operation UpdateContainerImage()

func (ArtifactsClient) UpdateContainerImageSignature

func (client ArtifactsClient) UpdateContainerImageSignature(ctx context.Context, request UpdateContainerImageSignatureRequest) (response UpdateContainerImageSignatureResponse, err error)

UpdateContainerImageSignature Modify the properties of a container image signature. Avoid entering confidential information.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateContainerImageSignature.go.html to see an example of how to use UpdateContainerImageSignature API. A default retry strategy applies to this operation UpdateContainerImageSignature()

func (ArtifactsClient) UpdateContainerRepository

func (client ArtifactsClient) UpdateContainerRepository(ctx context.Context, request UpdateContainerRepositoryRequest) (response UpdateContainerRepositoryResponse, err error)

UpdateContainerRepository Modify the properties of a container repository. Avoid entering confidential information.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateContainerRepository.go.html to see an example of how to use UpdateContainerRepository API. A default retry strategy applies to this operation UpdateContainerRepository()

func (ArtifactsClient) UpdateGenericArtifact

func (client ArtifactsClient) UpdateGenericArtifact(ctx context.Context, request UpdateGenericArtifactRequest) (response UpdateGenericArtifactResponse, err error)

UpdateGenericArtifact Updates the artifact with the specified OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can only update the tags of an artifact.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateGenericArtifact.go.html to see an example of how to use UpdateGenericArtifact API. A default retry strategy applies to this operation UpdateGenericArtifact()

func (ArtifactsClient) UpdateGenericArtifactByPath

func (client ArtifactsClient) UpdateGenericArtifactByPath(ctx context.Context, request UpdateGenericArtifactByPathRequest) (response UpdateGenericArtifactByPathResponse, err error)

UpdateGenericArtifactByPath Updates an artifact with a specified `artifactPath` and `version`. You can only update the tags of an artifact.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateGenericArtifactByPath.go.html to see an example of how to use UpdateGenericArtifactByPath API. A default retry strategy applies to this operation UpdateGenericArtifactByPath()

func (ArtifactsClient) UpdateRepository

func (client ArtifactsClient) UpdateRepository(ctx context.Context, request UpdateRepositoryRequest) (response UpdateRepositoryResponse, err error)

UpdateRepository Updates the properties of a repository. You can update the `displayName` and `description` properties.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateRepository.go.html to see an example of how to use UpdateRepository API. A default retry strategy applies to this operation UpdateRepository()

type ChangeContainerRepositoryCompartmentDetails

ChangeContainerRepositoryCompartmentDetails Change container repository compartment details.

type ChangeContainerRepositoryCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which to move the resource.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeContainerRepositoryCompartmentDetails) String

func (m ChangeContainerRepositoryCompartmentDetails) String() string

func (ChangeContainerRepositoryCompartmentDetails) ValidateEnumValue

func (m ChangeContainerRepositoryCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeContainerRepositoryCompartmentRequest

ChangeContainerRepositoryCompartmentRequest wrapper for the ChangeContainerRepositoryCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ChangeContainerRepositoryCompartment.go.html to see an example of how to use ChangeContainerRepositoryCompartmentRequest.

type ChangeContainerRepositoryCompartmentRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container repository.
    // Example: `ocid1.containerrepo.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // Change container repository compartment details.
    ChangeContainerRepositoryCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeContainerRepositoryCompartmentRequest) BinaryRequestBody

func (request ChangeContainerRepositoryCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeContainerRepositoryCompartmentRequest) HTTPRequest

func (request ChangeContainerRepositoryCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeContainerRepositoryCompartmentRequest) RetryPolicy

func (request ChangeContainerRepositoryCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeContainerRepositoryCompartmentRequest) String

func (request ChangeContainerRepositoryCompartmentRequest) String() string

func (ChangeContainerRepositoryCompartmentRequest) ValidateEnumValue

func (request ChangeContainerRepositoryCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeContainerRepositoryCompartmentResponse

ChangeContainerRepositoryCompartmentResponse wrapper for the ChangeContainerRepositoryCompartment operation

type ChangeContainerRepositoryCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ChangeContainerRepositoryCompartmentResponse) HTTPResponse

func (response ChangeContainerRepositoryCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeContainerRepositoryCompartmentResponse) String

func (response ChangeContainerRepositoryCompartmentResponse) String() string

type ChangeRepositoryCompartmentDetails

ChangeRepositoryCompartmentDetails Details for changing a repository's compartment.

type ChangeRepositoryCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the repository should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeRepositoryCompartmentDetails) String

func (m ChangeRepositoryCompartmentDetails) String() string

func (ChangeRepositoryCompartmentDetails) ValidateEnumValue

func (m ChangeRepositoryCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeRepositoryCompartmentRequest

ChangeRepositoryCompartmentRequest wrapper for the ChangeRepositoryCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ChangeRepositoryCompartment.go.html to see an example of how to use ChangeRepositoryCompartmentRequest.

type ChangeRepositoryCompartmentRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // Moves a repository into a different compartment.
    ChangeRepositoryCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeRepositoryCompartmentRequest) BinaryRequestBody

func (request ChangeRepositoryCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeRepositoryCompartmentRequest) HTTPRequest

func (request ChangeRepositoryCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeRepositoryCompartmentRequest) RetryPolicy

func (request ChangeRepositoryCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeRepositoryCompartmentRequest) String

func (request ChangeRepositoryCompartmentRequest) String() string

func (ChangeRepositoryCompartmentRequest) ValidateEnumValue

func (request ChangeRepositoryCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeRepositoryCompartmentResponse

ChangeRepositoryCompartmentResponse wrapper for the ChangeRepositoryCompartment operation

type ChangeRepositoryCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ChangeRepositoryCompartmentResponse) HTTPResponse

func (response ChangeRepositoryCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeRepositoryCompartmentResponse) String

func (response ChangeRepositoryCompartmentResponse) String() string

type ContainerConfiguration

ContainerConfiguration Container configuration.

type ContainerConfiguration struct {

    // Whether to create a new container repository when a container is pushed to a new repository path.
    // Repositories created in this way belong to the root compartment.
    IsRepositoryCreatedOnFirstPush *bool `mandatory:"true" json:"isRepositoryCreatedOnFirstPush"`

    // The tenancy namespace used in the container repository path.
    Namespace *string `mandatory:"true" json:"namespace"`
}

func (ContainerConfiguration) String

func (m ContainerConfiguration) String() string

func (ContainerConfiguration) ValidateEnumValue

func (m ContainerConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerImage

ContainerImage Container image metadata.

type ContainerImage struct {

    // The compartment OCID to which the container image belongs. Inferred from the container repository.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the user or principal that created the resource.
    CreatedBy *string `mandatory:"true" json:"createdBy"`

    // The container image digest.
    Digest *string `mandatory:"true" json:"digest"`

    // The repository name and the most recent version associated with the image.
    // If there are no versions associated with the image, then last known version and digest are used instead.
    // If the last known version is unavailable, then 'unknown' is used instead of the version.
    // Example: `ubuntu:latest` or `ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the container image.
    // Example: `ocid1.containerimage.oc1..exampleuniqueID`
    Id *string `mandatory:"true" json:"id"`

    // Layers of which the image is composed, ordered by the layer digest.
    Layers []ContainerImageLayer `mandatory:"true" json:"layers"`

    // The total size of the container image layers in bytes.
    LayersSizeInBytes *int64 `mandatory:"true" json:"layersSizeInBytes"`

    // The current state of the container image.
    LifecycleState ContainerImageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The size of the container image manifest in bytes.
    ManifestSizeInBytes *int `mandatory:"true" json:"manifestSizeInBytes"`

    // Total number of pulls.
    PullCount *int64 `mandatory:"true" json:"pullCount"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the container repository.
    RepositoryId *string `mandatory:"true" json:"repositoryId"`

    // The container repository name.
    RepositoryName *string `mandatory:"true" json:"repositoryName"`

    // An RFC 3339 timestamp indicating when the image was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The versions associated with this image.
    Versions []ContainerVersion `mandatory:"true" json:"versions"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The system tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // An RFC 3339 timestamp indicating when the image was last pulled.
    TimeLastPulled *common.SDKTime `mandatory:"false" json:"timeLastPulled"`

    // The most recent version associated with this image.
    Version *string `mandatory:"false" json:"version"`
}

func (ContainerImage) String

func (m ContainerImage) String() string

func (ContainerImage) ValidateEnumValue

func (m ContainerImage) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerImageCollection

ContainerImageCollection List container image results.

type ContainerImageCollection struct {

    // Page of matching container images.
    Items []ContainerImageSummary `mandatory:"true" json:"items"`

    // Estimated number of remaining results.
    RemainingItemsCount *int `mandatory:"true" json:"remainingItemsCount"`
}

func (ContainerImageCollection) String

func (m ContainerImageCollection) String() string

func (ContainerImageCollection) ValidateEnumValue

func (m ContainerImageCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerImageLayer

ContainerImageLayer The container image layer metadata.

type ContainerImageLayer struct {

    // The sha256 digest of the image layer.
    Digest *string `mandatory:"true" json:"digest"`

    // The size of the layer in bytes.
    SizeInBytes *int64 `mandatory:"true" json:"sizeInBytes"`

    // An RFC 3339 timestamp indicating when the layer was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

func (ContainerImageLayer) String

func (m ContainerImageLayer) String() string

func (ContainerImageLayer) ValidateEnumValue

func (m ContainerImageLayer) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerImageLifecycleStateEnum

ContainerImageLifecycleStateEnum Enum with underlying type: string

type ContainerImageLifecycleStateEnum string

Set of constants representing the allowable values for ContainerImageLifecycleStateEnum

const (
    ContainerImageLifecycleStateAvailable ContainerImageLifecycleStateEnum = "AVAILABLE"
    ContainerImageLifecycleStateDeleted   ContainerImageLifecycleStateEnum = "DELETED"
    ContainerImageLifecycleStateDeleting  ContainerImageLifecycleStateEnum = "DELETING"
)

func GetContainerImageLifecycleStateEnumValues

func GetContainerImageLifecycleStateEnumValues() []ContainerImageLifecycleStateEnum

GetContainerImageLifecycleStateEnumValues Enumerates the set of values for ContainerImageLifecycleStateEnum

func GetMappingContainerImageLifecycleStateEnum

func GetMappingContainerImageLifecycleStateEnum(val string) (ContainerImageLifecycleStateEnum, bool)

GetMappingContainerImageLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ContainerImageSignature

ContainerImageSignature Container image signature metadata.

type ContainerImageSignature struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the container repository exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The id of the user or principal that created the resource.
    CreatedBy *string `mandatory:"true" json:"createdBy"`

    // The last 10 characters of the kmsKeyId, the last 10 characters of the kmsKeyVersionId, the signingAlgorithm, and the last 10 characters of the signatureId.
    // Example: `wrmz22sixa::qdwyc2ptun::SHA_256_RSA_PKCS_PSS::2vwmobasva`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the container image signature.
    // Example: `ocid1.containerimagesignature.oc1..exampleuniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the container image.
    // Example: `ocid1.containerimage.oc1..exampleuniqueID`
    ImageId *string `mandatory:"true" json:"imageId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyId used to sign the container image.
    // Example: `ocid1.key.oc1..exampleuniqueID`
    KmsKeyId *string `mandatory:"true" json:"kmsKeyId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image.
    // Example: `ocid1.keyversion.oc1..exampleuniqueID`
    KmsKeyVersionId *string `mandatory:"true" json:"kmsKeyVersionId"`

    // The base64 encoded signature payload that was signed.
    Message *string `mandatory:"true" json:"message"`

    // The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    Signature *string `mandatory:"true" json:"signature"`

    // The algorithm to be used for signing. These are the only supported signing algorithms for container images.
    SigningAlgorithm ContainerImageSignatureSigningAlgorithmEnum `mandatory:"true" json:"signingAlgorithm"`

    // An RFC 3339 timestamp indicating when the image was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the container image signature.
    LifecycleState ContainerImageSignatureLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The system tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
}

func (ContainerImageSignature) String

func (m ContainerImageSignature) String() string

func (ContainerImageSignature) ValidateEnumValue

func (m ContainerImageSignature) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerImageSignatureCollection

ContainerImageSignatureCollection List container image signature results.

type ContainerImageSignatureCollection struct {

    // Page of matching container image signatures.
    Items []ContainerImageSignatureSummary `mandatory:"true" json:"items"`

    // Estimated number of remaining results.
    RemainingItemsCount *int `mandatory:"true" json:"remainingItemsCount"`
}

func (ContainerImageSignatureCollection) String

func (m ContainerImageSignatureCollection) String() string

func (ContainerImageSignatureCollection) ValidateEnumValue

func (m ContainerImageSignatureCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerImageSignatureLifecycleStateEnum

ContainerImageSignatureLifecycleStateEnum Enum with underlying type: string

type ContainerImageSignatureLifecycleStateEnum string

Set of constants representing the allowable values for ContainerImageSignatureLifecycleStateEnum

const (
    ContainerImageSignatureLifecycleStateAvailable ContainerImageSignatureLifecycleStateEnum = "AVAILABLE"
    ContainerImageSignatureLifecycleStateDeleting  ContainerImageSignatureLifecycleStateEnum = "DELETING"
    ContainerImageSignatureLifecycleStateDeleted   ContainerImageSignatureLifecycleStateEnum = "DELETED"
)

func GetContainerImageSignatureLifecycleStateEnumValues

func GetContainerImageSignatureLifecycleStateEnumValues() []ContainerImageSignatureLifecycleStateEnum

GetContainerImageSignatureLifecycleStateEnumValues Enumerates the set of values for ContainerImageSignatureLifecycleStateEnum

func GetMappingContainerImageSignatureLifecycleStateEnum

func GetMappingContainerImageSignatureLifecycleStateEnum(val string) (ContainerImageSignatureLifecycleStateEnum, bool)

GetMappingContainerImageSignatureLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ContainerImageSignatureSigningAlgorithmEnum

ContainerImageSignatureSigningAlgorithmEnum Enum with underlying type: string

type ContainerImageSignatureSigningAlgorithmEnum string

Set of constants representing the allowable values for ContainerImageSignatureSigningAlgorithmEnum

const (
    ContainerImageSignatureSigningAlgorithm224RsaPkcsPss ContainerImageSignatureSigningAlgorithmEnum = "SHA_224_RSA_PKCS_PSS"
    ContainerImageSignatureSigningAlgorithm256RsaPkcsPss ContainerImageSignatureSigningAlgorithmEnum = "SHA_256_RSA_PKCS_PSS"
    ContainerImageSignatureSigningAlgorithm384RsaPkcsPss ContainerImageSignatureSigningAlgorithmEnum = "SHA_384_RSA_PKCS_PSS"
    ContainerImageSignatureSigningAlgorithm512RsaPkcsPss ContainerImageSignatureSigningAlgorithmEnum = "SHA_512_RSA_PKCS_PSS"
)

func GetContainerImageSignatureSigningAlgorithmEnumValues

func GetContainerImageSignatureSigningAlgorithmEnumValues() []ContainerImageSignatureSigningAlgorithmEnum

GetContainerImageSignatureSigningAlgorithmEnumValues Enumerates the set of values for ContainerImageSignatureSigningAlgorithmEnum

func GetMappingContainerImageSignatureSigningAlgorithmEnum

func GetMappingContainerImageSignatureSigningAlgorithmEnum(val string) (ContainerImageSignatureSigningAlgorithmEnum, bool)

GetMappingContainerImageSignatureSigningAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

type ContainerImageSignatureSummary

ContainerImageSignatureSummary Container image signature summary.

type ContainerImageSignatureSummary struct {

    // The OCID of the compartment in which the container repository exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The last 10 characters of the kmsKeyId, the last 10 characters of the kmsKeyVersionId, the signingAlgorithm, and the last 10 characters of the signatureId.
    // Example: `wrmz22sixa::qdwyc2ptun::SHA_256_RSA_PKCS_PSS::2vwmobasva`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the container image signature.
    // Example: `ocid1.containerimagesignature.oc1..exampleuniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the container image.
    // Example: `ocid1.containerimage.oc1..exampleuniqueID`
    ImageId *string `mandatory:"true" json:"imageId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyId used to sign the container image.
    // Example: `ocid1.key.oc1..exampleuniqueID`
    KmsKeyId *string `mandatory:"true" json:"kmsKeyId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image.
    // Example: `ocid1.keyversion.oc1..exampleuniqueID`
    KmsKeyVersionId *string `mandatory:"true" json:"kmsKeyVersionId"`

    // The base64 encoded signature payload that was signed.
    Message *string `mandatory:"true" json:"message"`

    // The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    Signature *string `mandatory:"true" json:"signature"`

    // The algorithm to be used for signing. These are the only supported signing algorithms for container images.
    SigningAlgorithm ContainerImageSignatureSummarySigningAlgorithmEnum `mandatory:"true" json:"signingAlgorithm"`

    // An RFC 3339 timestamp indicating when the image was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the container image signature.
    LifecycleState ContainerImageSignatureLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The system tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
}

func (ContainerImageSignatureSummary) String

func (m ContainerImageSignatureSummary) String() string

func (ContainerImageSignatureSummary) ValidateEnumValue

func (m ContainerImageSignatureSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerImageSignatureSummarySigningAlgorithmEnum

ContainerImageSignatureSummarySigningAlgorithmEnum Enum with underlying type: string

type ContainerImageSignatureSummarySigningAlgorithmEnum string

Set of constants representing the allowable values for ContainerImageSignatureSummarySigningAlgorithmEnum

const (
    ContainerImageSignatureSummarySigningAlgorithm224RsaPkcsPss ContainerImageSignatureSummarySigningAlgorithmEnum = "SHA_224_RSA_PKCS_PSS"
    ContainerImageSignatureSummarySigningAlgorithm256RsaPkcsPss ContainerImageSignatureSummarySigningAlgorithmEnum = "SHA_256_RSA_PKCS_PSS"
    ContainerImageSignatureSummarySigningAlgorithm384RsaPkcsPss ContainerImageSignatureSummarySigningAlgorithmEnum = "SHA_384_RSA_PKCS_PSS"
    ContainerImageSignatureSummarySigningAlgorithm512RsaPkcsPss ContainerImageSignatureSummarySigningAlgorithmEnum = "SHA_512_RSA_PKCS_PSS"
)

func GetContainerImageSignatureSummarySigningAlgorithmEnumValues

func GetContainerImageSignatureSummarySigningAlgorithmEnumValues() []ContainerImageSignatureSummarySigningAlgorithmEnum

GetContainerImageSignatureSummarySigningAlgorithmEnumValues Enumerates the set of values for ContainerImageSignatureSummarySigningAlgorithmEnum

func GetMappingContainerImageSignatureSummarySigningAlgorithmEnum

func GetMappingContainerImageSignatureSummarySigningAlgorithmEnum(val string) (ContainerImageSignatureSummarySigningAlgorithmEnum, bool)

GetMappingContainerImageSignatureSummarySigningAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

type ContainerImageSummary

ContainerImageSummary Container image summary.

type ContainerImageSummary struct {

    // The compartment OCID to which the container image belongs. Inferred from the container repository.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The container image digest.
    Digest *string `mandatory:"true" json:"digest"`

    // The repository name and the most recent version associated with the image.
    // If there are no versions associated with the image, then last known version and digest are used instead.
    // If the last known version is unavailable, then 'unknown' is used instead of the version.
    // Example: `ubuntu:latest` or `ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the container image.
    // Example: `ocid1.containerimage.oc1..exampleuniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The current state of the container image.
    LifecycleState ContainerImageLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCID of the container repository.
    RepositoryId *string `mandatory:"true" json:"repositoryId"`

    // The container repository name.
    RepositoryName *string `mandatory:"true" json:"repositoryName"`

    // An RFC 3339 timestamp indicating when the image was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The system tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // The most recent version associated with this image.
    Version *string `mandatory:"false" json:"version"`
}

func (ContainerImageSummary) String

func (m ContainerImageSummary) String() string

func (ContainerImageSummary) ValidateEnumValue

func (m ContainerImageSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerRepository

ContainerRepository Container repository metadata.

type ContainerRepository struct {

    // The OCID of the compartment in which the container repository exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The id of the user or principal that created the resource.
    CreatedBy *string `mandatory:"true" json:"createdBy"`

    // The container repository name.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container repository.
    // Example: `ocid1.containerrepo.oc1..exampleuniqueID`
    Id *string `mandatory:"true" json:"id"`

    // Total number of images.
    ImageCount *int `mandatory:"true" json:"imageCount"`

    // Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
    IsImmutable *bool `mandatory:"true" json:"isImmutable"`

    // Whether the repository is public. A public repository allows unauthenticated access.
    IsPublic *bool `mandatory:"true" json:"isPublic"`

    // Total number of layers.
    LayerCount *int `mandatory:"true" json:"layerCount"`

    // Total storage in bytes consumed by layers.
    LayersSizeInBytes *int64 `mandatory:"true" json:"layersSizeInBytes"`

    // The current state of the container repository.
    LifecycleState ContainerRepositoryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // An RFC 3339 timestamp indicating when the repository was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Total storage size in GBs that will be charged.
    BillableSizeInGBs *int64 `mandatory:"true" json:"billableSizeInGBs"`

    // The tenancy namespace used in the container repository path.
    Namespace *string `mandatory:"true" json:"namespace"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The system tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    Readme *ContainerRepositoryReadme `mandatory:"false" json:"readme"`

    // An RFC 3339 timestamp indicating when an image was last pushed to the repository.
    TimeLastPushed *common.SDKTime `mandatory:"false" json:"timeLastPushed"`
}

func (ContainerRepository) String

func (m ContainerRepository) String() string

func (ContainerRepository) ValidateEnumValue

func (m ContainerRepository) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerRepositoryCollection

ContainerRepositoryCollection List of container repository results.

type ContainerRepositoryCollection struct {

    // Total number of layers.
    LayerCount *int `mandatory:"true" json:"layerCount"`

    // Total storage in bytes consumed by layers.
    LayersSizeInBytes *int64 `mandatory:"true" json:"layersSizeInBytes"`

    // Total number of images.
    ImageCount *int `mandatory:"true" json:"imageCount"`

    // Collection of container repositories.
    Items []ContainerRepositorySummary `mandatory:"true" json:"items"`

    // Estimated number of remaining results.
    RemainingItemsCount *int `mandatory:"true" json:"remainingItemsCount"`

    // Total number of repositories.
    RepositoryCount *int `mandatory:"true" json:"repositoryCount"`
}

func (ContainerRepositoryCollection) String

func (m ContainerRepositoryCollection) String() string

func (ContainerRepositoryCollection) ValidateEnumValue

func (m ContainerRepositoryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerRepositoryLifecycleStateEnum

ContainerRepositoryLifecycleStateEnum Enum with underlying type: string

type ContainerRepositoryLifecycleStateEnum string

Set of constants representing the allowable values for ContainerRepositoryLifecycleStateEnum

const (
    ContainerRepositoryLifecycleStateAvailable ContainerRepositoryLifecycleStateEnum = "AVAILABLE"
    ContainerRepositoryLifecycleStateDeleting  ContainerRepositoryLifecycleStateEnum = "DELETING"
    ContainerRepositoryLifecycleStateDeleted   ContainerRepositoryLifecycleStateEnum = "DELETED"
)

func GetContainerRepositoryLifecycleStateEnumValues

func GetContainerRepositoryLifecycleStateEnumValues() []ContainerRepositoryLifecycleStateEnum

GetContainerRepositoryLifecycleStateEnumValues Enumerates the set of values for ContainerRepositoryLifecycleStateEnum

func GetMappingContainerRepositoryLifecycleStateEnum

func GetMappingContainerRepositoryLifecycleStateEnum(val string) (ContainerRepositoryLifecycleStateEnum, bool)

GetMappingContainerRepositoryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ContainerRepositoryReadme

ContainerRepositoryReadme Container repository readme.

type ContainerRepositoryReadme struct {

    // Readme content. Avoid entering confidential information.
    Content *string `mandatory:"true" json:"content"`

    // Readme format. Supported formats are text/plain and text/markdown.
    Format ContainerRepositoryReadmeFormatEnum `mandatory:"true" json:"format"`
}

func (ContainerRepositoryReadme) String

func (m ContainerRepositoryReadme) String() string

func (ContainerRepositoryReadme) ValidateEnumValue

func (m ContainerRepositoryReadme) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerRepositoryReadmeFormatEnum

ContainerRepositoryReadmeFormatEnum Enum with underlying type: string

type ContainerRepositoryReadmeFormatEnum string

Set of constants representing the allowable values for ContainerRepositoryReadmeFormatEnum

const (
    ContainerRepositoryReadmeFormatMarkdown ContainerRepositoryReadmeFormatEnum = "TEXT_MARKDOWN"
    ContainerRepositoryReadmeFormatPlain    ContainerRepositoryReadmeFormatEnum = "TEXT_PLAIN"
)

func GetContainerRepositoryReadmeFormatEnumValues

func GetContainerRepositoryReadmeFormatEnumValues() []ContainerRepositoryReadmeFormatEnum

GetContainerRepositoryReadmeFormatEnumValues Enumerates the set of values for ContainerRepositoryReadmeFormatEnum

func GetMappingContainerRepositoryReadmeFormatEnum

func GetMappingContainerRepositoryReadmeFormatEnum(val string) (ContainerRepositoryReadmeFormatEnum, bool)

GetMappingContainerRepositoryReadmeFormatEnum performs case Insensitive comparison on enum value and return the desired enum

type ContainerRepositorySummary

ContainerRepositorySummary Container repository summary.

type ContainerRepositorySummary struct {

    // The OCID of the compartment in which the container repository exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The container repository name.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container repository.
    // Example: `ocid1.containerrepo.oc1..exampleuniqueID`
    Id *string `mandatory:"true" json:"id"`

    // Total number of images.
    ImageCount *int `mandatory:"true" json:"imageCount"`

    // Whether the repository is public. A public repository allows unauthenticated access.
    IsPublic *bool `mandatory:"true" json:"isPublic"`

    // Total number of layers.
    LayerCount *int `mandatory:"true" json:"layerCount"`

    // Total storage in bytes consumed by layers.
    LayersSizeInBytes *int64 `mandatory:"true" json:"layersSizeInBytes"`

    // The current state of the container repository.
    LifecycleState ContainerRepositoryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // An RFC 3339 timestamp indicating when the repository was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Total storage size in GBs that will be charged.
    BillableSizeInGBs *int64 `mandatory:"true" json:"billableSizeInGBs"`

    // The tenancy namespace used in the container repository path.
    Namespace *string `mandatory:"true" json:"namespace"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The system tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
}

func (ContainerRepositorySummary) String

func (m ContainerRepositorySummary) String() string

func (ContainerRepositorySummary) ValidateEnumValue

func (m ContainerRepositorySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ContainerVersion

ContainerVersion Container version metadata.

type ContainerVersion struct {

    // The OCID of the user or principal that pushed the version.
    CreatedBy *string `mandatory:"true" json:"createdBy"`

    // The creation time of the version.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The version name.
    Version *string `mandatory:"true" json:"version"`
}

func (ContainerVersion) String

func (m ContainerVersion) String() string

func (ContainerVersion) ValidateEnumValue

func (m ContainerVersion) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateContainerImageSignatureDetails

CreateContainerImageSignatureDetails Upload container image signature request details.

type CreateContainerImageSignatureDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the container repository exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the container image.
    // Example: `ocid1.containerimage.oc1..exampleuniqueID`
    ImageId *string `mandatory:"true" json:"imageId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyId used to sign the container image.
    // Example: `ocid1.key.oc1..exampleuniqueID`
    KmsKeyId *string `mandatory:"true" json:"kmsKeyId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image.
    // Example: `ocid1.keyversion.oc1..exampleuniqueID`
    KmsKeyVersionId *string `mandatory:"true" json:"kmsKeyVersionId"`

    // The base64 encoded signature payload that was signed.
    Message *string `mandatory:"true" json:"message"`

    // The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    Signature *string `mandatory:"true" json:"signature"`

    // The algorithm to be used for signing. These are the only supported signing algorithms for container images.
    SigningAlgorithm CreateContainerImageSignatureDetailsSigningAlgorithmEnum `mandatory:"true" json:"signingAlgorithm"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateContainerImageSignatureDetails) String

func (m CreateContainerImageSignatureDetails) String() string

func (CreateContainerImageSignatureDetails) ValidateEnumValue

func (m CreateContainerImageSignatureDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateContainerImageSignatureDetailsSigningAlgorithmEnum

CreateContainerImageSignatureDetailsSigningAlgorithmEnum Enum with underlying type: string

type CreateContainerImageSignatureDetailsSigningAlgorithmEnum string

Set of constants representing the allowable values for CreateContainerImageSignatureDetailsSigningAlgorithmEnum

const (
    CreateContainerImageSignatureDetailsSigningAlgorithm224RsaPkcsPss CreateContainerImageSignatureDetailsSigningAlgorithmEnum = "SHA_224_RSA_PKCS_PSS"
    CreateContainerImageSignatureDetailsSigningAlgorithm256RsaPkcsPss CreateContainerImageSignatureDetailsSigningAlgorithmEnum = "SHA_256_RSA_PKCS_PSS"
    CreateContainerImageSignatureDetailsSigningAlgorithm384RsaPkcsPss CreateContainerImageSignatureDetailsSigningAlgorithmEnum = "SHA_384_RSA_PKCS_PSS"
    CreateContainerImageSignatureDetailsSigningAlgorithm512RsaPkcsPss CreateContainerImageSignatureDetailsSigningAlgorithmEnum = "SHA_512_RSA_PKCS_PSS"
)

func GetCreateContainerImageSignatureDetailsSigningAlgorithmEnumValues

func GetCreateContainerImageSignatureDetailsSigningAlgorithmEnumValues() []CreateContainerImageSignatureDetailsSigningAlgorithmEnum

GetCreateContainerImageSignatureDetailsSigningAlgorithmEnumValues Enumerates the set of values for CreateContainerImageSignatureDetailsSigningAlgorithmEnum

func GetMappingCreateContainerImageSignatureDetailsSigningAlgorithmEnum

func GetMappingCreateContainerImageSignatureDetailsSigningAlgorithmEnum(val string) (CreateContainerImageSignatureDetailsSigningAlgorithmEnum, bool)

GetMappingCreateContainerImageSignatureDetailsSigningAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateContainerImageSignatureRequest

CreateContainerImageSignatureRequest wrapper for the CreateContainerImageSignature operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/CreateContainerImageSignature.go.html to see an example of how to use CreateContainerImageSignatureRequest.

type CreateContainerImageSignatureRequest struct {

    // Upload container image signature details
    CreateContainerImageSignatureDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateContainerImageSignatureRequest) BinaryRequestBody

func (request CreateContainerImageSignatureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateContainerImageSignatureRequest) HTTPRequest

func (request CreateContainerImageSignatureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateContainerImageSignatureRequest) RetryPolicy

func (request CreateContainerImageSignatureRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateContainerImageSignatureRequest) String

func (request CreateContainerImageSignatureRequest) String() string

func (CreateContainerImageSignatureRequest) ValidateEnumValue

func (request CreateContainerImageSignatureRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateContainerImageSignatureResponse

CreateContainerImageSignatureResponse wrapper for the CreateContainerImageSignature operation

type CreateContainerImageSignatureResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerImageSignature instance
    ContainerImageSignature `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreateContainerImageSignatureResponse) HTTPResponse

func (response CreateContainerImageSignatureResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateContainerImageSignatureResponse) String

func (response CreateContainerImageSignatureResponse) String() string

type CreateContainerRepositoryDetails

CreateContainerRepositoryDetails Create container repository details.

type CreateContainerRepositoryDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the resource.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The container repository name.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
    IsImmutable *bool `mandatory:"false" json:"isImmutable"`

    // Whether the repository is public. A public repository allows unauthenticated access.
    IsPublic *bool `mandatory:"false" json:"isPublic"`

    Readme *ContainerRepositoryReadme `mandatory:"false" json:"readme"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateContainerRepositoryDetails) String

func (m CreateContainerRepositoryDetails) String() string

func (CreateContainerRepositoryDetails) ValidateEnumValue

func (m CreateContainerRepositoryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateContainerRepositoryRequest

CreateContainerRepositoryRequest wrapper for the CreateContainerRepository operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/CreateContainerRepository.go.html to see an example of how to use CreateContainerRepositoryRequest.

type CreateContainerRepositoryRequest struct {

    // Create container repository details.
    CreateContainerRepositoryDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateContainerRepositoryRequest) BinaryRequestBody

func (request CreateContainerRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateContainerRepositoryRequest) HTTPRequest

func (request CreateContainerRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateContainerRepositoryRequest) RetryPolicy

func (request CreateContainerRepositoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateContainerRepositoryRequest) String

func (request CreateContainerRepositoryRequest) String() string

func (CreateContainerRepositoryRequest) ValidateEnumValue

func (request CreateContainerRepositoryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateContainerRepositoryResponse

CreateContainerRepositoryResponse wrapper for the CreateContainerRepository operation

type CreateContainerRepositoryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerRepository instance
    ContainerRepository `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreateContainerRepositoryResponse) HTTPResponse

func (response CreateContainerRepositoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateContainerRepositoryResponse) String

func (response CreateContainerRepositoryResponse) String() string

type CreateGenericRepositoryDetails

CreateGenericRepositoryDetails Parameters needed to create an artifact repository.

type CreateGenericRepositoryDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the repository's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Whether to make the repository immutable. The artifacts of an immutable repository cannot be overwritten.
    IsImmutable *bool `mandatory:"true" json:"isImmutable"`

    // A user-friendly display name for the repository. If not present, will be auto-generated. It can be modified later. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A short description of the repository. It can be updated later.
    Description *string `mandatory:"false" json:"description"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateGenericRepositoryDetails) GetCompartmentId

func (m CreateGenericRepositoryDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateGenericRepositoryDetails) GetDefinedTags

func (m CreateGenericRepositoryDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateGenericRepositoryDetails) GetDescription

func (m CreateGenericRepositoryDetails) GetDescription() *string

GetDescription returns Description

func (CreateGenericRepositoryDetails) GetDisplayName

func (m CreateGenericRepositoryDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateGenericRepositoryDetails) GetFreeformTags

func (m CreateGenericRepositoryDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateGenericRepositoryDetails) GetIsImmutable

func (m CreateGenericRepositoryDetails) GetIsImmutable() *bool

GetIsImmutable returns IsImmutable

func (CreateGenericRepositoryDetails) MarshalJSON

func (m CreateGenericRepositoryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateGenericRepositoryDetails) String

func (m CreateGenericRepositoryDetails) String() string

func (CreateGenericRepositoryDetails) ValidateEnumValue

func (m CreateGenericRepositoryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateRepositoryDetails

CreateRepositoryDetails Parameters needed to create an artifact repository.

type CreateRepositoryDetails interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the repository's compartment.
    GetCompartmentId() *string

    // Whether to make the repository immutable. The artifacts of an immutable repository cannot be overwritten.
    GetIsImmutable() *bool

    // A user-friendly display name for the repository. If not present, will be auto-generated. It can be modified later. Avoid entering confidential information.
    GetDisplayName() *string

    // A short description of the repository. It can be updated later.
    GetDescription() *string

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    GetDefinedTags() map[string]map[string]interface{}
}

type CreateRepositoryRequest

CreateRepositoryRequest wrapper for the CreateRepository operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/CreateRepository.go.html to see an example of how to use CreateRepositoryRequest.

type CreateRepositoryRequest struct {

    // Creates a new repository for storing artifacts.
    CreateRepositoryDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateRepositoryRequest) BinaryRequestBody

func (request CreateRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateRepositoryRequest) HTTPRequest

func (request CreateRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateRepositoryRequest) RetryPolicy

func (request CreateRepositoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateRepositoryRequest) String

func (request CreateRepositoryRequest) String() string

func (CreateRepositoryRequest) ValidateEnumValue

func (request CreateRepositoryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateRepositoryResponse

CreateRepositoryResponse wrapper for the CreateRepository operation

type CreateRepositoryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Repository instance
    Repository `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreateRepositoryResponse) HTTPResponse

func (response CreateRepositoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateRepositoryResponse) String

func (response CreateRepositoryResponse) String() string

type DeleteContainerImageRequest

DeleteContainerImageRequest wrapper for the DeleteContainerImage operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteContainerImage.go.html to see an example of how to use DeleteContainerImageRequest.

type DeleteContainerImageRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image.
    // Example: `ocid1.containerimage.oc1..exampleuniqueID`
    ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteContainerImageRequest) BinaryRequestBody

func (request DeleteContainerImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteContainerImageRequest) HTTPRequest

func (request DeleteContainerImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteContainerImageRequest) RetryPolicy

func (request DeleteContainerImageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteContainerImageRequest) String

func (request DeleteContainerImageRequest) String() string

func (DeleteContainerImageRequest) ValidateEnumValue

func (request DeleteContainerImageRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteContainerImageResponse

DeleteContainerImageResponse wrapper for the DeleteContainerImage operation

type DeleteContainerImageResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteContainerImageResponse) HTTPResponse

func (response DeleteContainerImageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteContainerImageResponse) String

func (response DeleteContainerImageResponse) String() string

type DeleteContainerImageSignatureRequest

DeleteContainerImageSignatureRequest wrapper for the DeleteContainerImageSignature operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteContainerImageSignature.go.html to see an example of how to use DeleteContainerImageSignatureRequest.

type DeleteContainerImageSignatureRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image signature.
    // Example: `ocid1.containersignature.oc1..exampleuniqueID`
    ImageSignatureId *string `mandatory:"true" contributesTo:"path" name:"imageSignatureId"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteContainerImageSignatureRequest) BinaryRequestBody

func (request DeleteContainerImageSignatureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteContainerImageSignatureRequest) HTTPRequest

func (request DeleteContainerImageSignatureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteContainerImageSignatureRequest) RetryPolicy

func (request DeleteContainerImageSignatureRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteContainerImageSignatureRequest) String

func (request DeleteContainerImageSignatureRequest) String() string

func (DeleteContainerImageSignatureRequest) ValidateEnumValue

func (request DeleteContainerImageSignatureRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteContainerImageSignatureResponse

DeleteContainerImageSignatureResponse wrapper for the DeleteContainerImageSignature operation

type DeleteContainerImageSignatureResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteContainerImageSignatureResponse) HTTPResponse

func (response DeleteContainerImageSignatureResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteContainerImageSignatureResponse) String

func (response DeleteContainerImageSignatureResponse) String() string

type DeleteContainerRepositoryRequest

DeleteContainerRepositoryRequest wrapper for the DeleteContainerRepository operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteContainerRepository.go.html to see an example of how to use DeleteContainerRepositoryRequest.

type DeleteContainerRepositoryRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container repository.
    // Example: `ocid1.containerrepo.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteContainerRepositoryRequest) BinaryRequestBody

func (request DeleteContainerRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteContainerRepositoryRequest) HTTPRequest

func (request DeleteContainerRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteContainerRepositoryRequest) RetryPolicy

func (request DeleteContainerRepositoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteContainerRepositoryRequest) String

func (request DeleteContainerRepositoryRequest) String() string

func (DeleteContainerRepositoryRequest) ValidateEnumValue

func (request DeleteContainerRepositoryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteContainerRepositoryResponse

DeleteContainerRepositoryResponse wrapper for the DeleteContainerRepository operation

type DeleteContainerRepositoryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteContainerRepositoryResponse) HTTPResponse

func (response DeleteContainerRepositoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteContainerRepositoryResponse) String

func (response DeleteContainerRepositoryResponse) String() string

type DeleteGenericArtifactByPathRequest

DeleteGenericArtifactByPathRequest wrapper for the DeleteGenericArtifactByPath operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteGenericArtifactByPath.go.html to see an example of how to use DeleteGenericArtifactByPathRequest.

type DeleteGenericArtifactByPathRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    // Example: `project01/my-web-app/artifact-abc`
    ArtifactPath *string `mandatory:"true" contributesTo:"path" name:"artifactPath"`

    // A user-defined string to describe the artifact version.
    // Example: `1.1.2` or `1.2-beta-2`
    Version *string `mandatory:"true" contributesTo:"path" name:"version"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteGenericArtifactByPathRequest) BinaryRequestBody

func (request DeleteGenericArtifactByPathRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteGenericArtifactByPathRequest) HTTPRequest

func (request DeleteGenericArtifactByPathRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteGenericArtifactByPathRequest) RetryPolicy

func (request DeleteGenericArtifactByPathRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteGenericArtifactByPathRequest) String

func (request DeleteGenericArtifactByPathRequest) String() string

func (DeleteGenericArtifactByPathRequest) ValidateEnumValue

func (request DeleteGenericArtifactByPathRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteGenericArtifactByPathResponse

DeleteGenericArtifactByPathResponse wrapper for the DeleteGenericArtifactByPath operation

type DeleteGenericArtifactByPathResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteGenericArtifactByPathResponse) HTTPResponse

func (response DeleteGenericArtifactByPathResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteGenericArtifactByPathResponse) String

func (response DeleteGenericArtifactByPathResponse) String() string

type DeleteGenericArtifactRequest

DeleteGenericArtifactRequest wrapper for the DeleteGenericArtifact operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteGenericArtifact.go.html to see an example of how to use DeleteGenericArtifactRequest.

type DeleteGenericArtifactRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
    // Example: `ocid1.genericartifact.oc1..exampleuniqueID`
    ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteGenericArtifactRequest) BinaryRequestBody

func (request DeleteGenericArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteGenericArtifactRequest) HTTPRequest

func (request DeleteGenericArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteGenericArtifactRequest) RetryPolicy

func (request DeleteGenericArtifactRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteGenericArtifactRequest) String

func (request DeleteGenericArtifactRequest) String() string

func (DeleteGenericArtifactRequest) ValidateEnumValue

func (request DeleteGenericArtifactRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteGenericArtifactResponse

DeleteGenericArtifactResponse wrapper for the DeleteGenericArtifact operation

type DeleteGenericArtifactResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteGenericArtifactResponse) HTTPResponse

func (response DeleteGenericArtifactResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteGenericArtifactResponse) String

func (response DeleteGenericArtifactResponse) String() string

type DeleteRepositoryRequest

DeleteRepositoryRequest wrapper for the DeleteRepository operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/DeleteRepository.go.html to see an example of how to use DeleteRepositoryRequest.

type DeleteRepositoryRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteRepositoryRequest) BinaryRequestBody

func (request DeleteRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteRepositoryRequest) HTTPRequest

func (request DeleteRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteRepositoryRequest) RetryPolicy

func (request DeleteRepositoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteRepositoryRequest) String

func (request DeleteRepositoryRequest) String() string

func (DeleteRepositoryRequest) ValidateEnumValue

func (request DeleteRepositoryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteRepositoryResponse

DeleteRepositoryResponse wrapper for the DeleteRepository operation

type DeleteRepositoryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteRepositoryResponse) HTTPResponse

func (response DeleteRepositoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteRepositoryResponse) String

func (response DeleteRepositoryResponse) String() string

type GenericArtifact

GenericArtifact The metadata of the artifact.

type GenericArtifact struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
    // Example: `ocid1.genericartifact.oc1..exampleuniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The artifact name with the format of `<artifact-path>:<artifact-version>`. The artifact name is truncated to a maximum length of 255.
    // Example: `project01/my-web-app/artifact-abc:1.0.0`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the repository.
    RepositoryId *string `mandatory:"true" json:"repositoryId"`

    // A user-defined path to describe the location of an artifact. Slashes do not create a directory structure, but you can use slashes to organize the repository. An artifact path does not include an artifact version.
    // Example: `project01/my-web-app/artifact-abc`
    ArtifactPath *string `mandatory:"true" json:"artifactPath"`

    // A user-defined string to describe the artifact version.
    // Example: `1.1.0` or `1.2-beta-2`
    Version *string `mandatory:"true" json:"version"`

    // The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    Sha256 *string `mandatory:"true" json:"sha256"`

    // The size of the artifact in bytes.
    SizeInBytes *int64 `mandatory:"true" json:"sizeInBytes"`

    // The current state of the artifact.
    LifecycleState GenericArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // An RFC 3339 timestamp indicating when the repository was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

func (GenericArtifact) String

func (m GenericArtifact) String() string

func (GenericArtifact) ValidateEnumValue

func (m GenericArtifact) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenericArtifactCollection

GenericArtifactCollection A list of artifacts.

type GenericArtifactCollection struct {

    // The listed artifacts.
    Items []GenericArtifactSummary `mandatory:"true" json:"items"`
}

func (GenericArtifactCollection) String

func (m GenericArtifactCollection) String() string

func (GenericArtifactCollection) ValidateEnumValue

func (m GenericArtifactCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenericArtifactLifecycleStateEnum

GenericArtifactLifecycleStateEnum Enum with underlying type: string

type GenericArtifactLifecycleStateEnum string

Set of constants representing the allowable values for GenericArtifactLifecycleStateEnum

const (
    GenericArtifactLifecycleStateAvailable GenericArtifactLifecycleStateEnum = "AVAILABLE"
    GenericArtifactLifecycleStateDeleting  GenericArtifactLifecycleStateEnum = "DELETING"
    GenericArtifactLifecycleStateDeleted   GenericArtifactLifecycleStateEnum = "DELETED"
)

func GetGenericArtifactLifecycleStateEnumValues

func GetGenericArtifactLifecycleStateEnumValues() []GenericArtifactLifecycleStateEnum

GetGenericArtifactLifecycleStateEnumValues Enumerates the set of values for GenericArtifactLifecycleStateEnum

func GetMappingGenericArtifactLifecycleStateEnum

func GetMappingGenericArtifactLifecycleStateEnum(val string) (GenericArtifactLifecycleStateEnum, bool)

GetMappingGenericArtifactLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type GenericArtifactSummary

GenericArtifactSummary Summary information for an artifact.

type GenericArtifactSummary struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
    // Example: `ocid1.genericartifact.oc1..exampleuniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The artifact name with the format of `<artifact-path>:<artifact-version>`. The artifact name is truncated to a maximum length of 255.
    // Example: `project01/my-web-app/artifact-abc:1.0.0`
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the artifact's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the repository.
    RepositoryId *string `mandatory:"true" json:"repositoryId"`

    // A user-defined path to describe the location of an artifact. Slashes do not create a directory structure, but you can use slashes to organize the repository. An artifact path does not include an artifact version.
    // Example: `project01/my-web-app/artifact-abc`
    ArtifactPath *string `mandatory:"true" json:"artifactPath"`

    // A user-defined string to describe the artifact version.
    // Example: `1.1.0` or `1.2-beta-2`
    Version *string `mandatory:"true" json:"version"`

    // The SHA256 digest for the artifact. When you upload an artifact to the repository, a SHA256 digest is calculated and added to the artifact properties.
    Sha256 *string `mandatory:"true" json:"sha256"`

    // The size of the artifact in bytes.
    SizeInBytes *int64 `mandatory:"true" json:"sizeInBytes"`

    // The current state of the generic artifact.
    LifecycleState GenericArtifactLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // An RFC 3339 timestamp indicating when the artifact was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
}

func (GenericArtifactSummary) String

func (m GenericArtifactSummary) String() string

func (GenericArtifactSummary) ValidateEnumValue

func (m GenericArtifactSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenericRepository

GenericRepository The metadata for the artifact repository.

type GenericRepository struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The repository name.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the repository's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The repository description.
    Description *string `mandatory:"true" json:"description"`

    // Whether the repository is immutable. The artifacts of an immutable repository cannot be overwritten.
    IsImmutable *bool `mandatory:"true" json:"isImmutable"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // An RFC 3339 timestamp indicating when the repository was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the repository.
    LifecycleState RepositoryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (GenericRepository) GetCompartmentId

func (m GenericRepository) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (GenericRepository) GetDefinedTags

func (m GenericRepository) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (GenericRepository) GetDescription

func (m GenericRepository) GetDescription() *string

GetDescription returns Description

func (GenericRepository) GetDisplayName

func (m GenericRepository) GetDisplayName() *string

GetDisplayName returns DisplayName

func (GenericRepository) GetFreeformTags

func (m GenericRepository) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (GenericRepository) GetId

func (m GenericRepository) GetId() *string

GetId returns Id

func (GenericRepository) GetIsImmutable

func (m GenericRepository) GetIsImmutable() *bool

GetIsImmutable returns IsImmutable

func (GenericRepository) GetLifecycleState

func (m GenericRepository) GetLifecycleState() RepositoryLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (GenericRepository) GetTimeCreated

func (m GenericRepository) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (GenericRepository) MarshalJSON

func (m GenericRepository) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (GenericRepository) String

func (m GenericRepository) String() string

func (GenericRepository) ValidateEnumValue

func (m GenericRepository) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GenericRepositorySummary

GenericRepositorySummary Summary information for a repository.

type GenericRepositorySummary struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    Id *string `mandatory:"true" json:"id"`

    // The repository name.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID of the repository's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Whether the repository is immutable. The artifacts of an immutable repository cannot be overwritten.
    IsImmutable *bool `mandatory:"true" json:"isImmutable"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // An RFC 3339 timestamp indicating when the repository was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The repository description.
    Description *string `mandatory:"false" json:"description"`

    // The current state of the artifact repository.
    LifecycleState RepositoryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (GenericRepositorySummary) GetCompartmentId

func (m GenericRepositorySummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (GenericRepositorySummary) GetDefinedTags

func (m GenericRepositorySummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (GenericRepositorySummary) GetDescription

func (m GenericRepositorySummary) GetDescription() *string

GetDescription returns Description

func (GenericRepositorySummary) GetDisplayName

func (m GenericRepositorySummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (GenericRepositorySummary) GetFreeformTags

func (m GenericRepositorySummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (GenericRepositorySummary) GetId

func (m GenericRepositorySummary) GetId() *string

GetId returns Id

func (GenericRepositorySummary) GetIsImmutable

func (m GenericRepositorySummary) GetIsImmutable() *bool

GetIsImmutable returns IsImmutable

func (GenericRepositorySummary) GetLifecycleState

func (m GenericRepositorySummary) GetLifecycleState() RepositoryLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (GenericRepositorySummary) GetTimeCreated

func (m GenericRepositorySummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (GenericRepositorySummary) MarshalJSON

func (m GenericRepositorySummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (GenericRepositorySummary) String

func (m GenericRepositorySummary) String() string

func (GenericRepositorySummary) ValidateEnumValue

func (m GenericRepositorySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetContainerConfigurationRequest

GetContainerConfigurationRequest wrapper for the GetContainerConfiguration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetContainerConfiguration.go.html to see an example of how to use GetContainerConfigurationRequest.

type GetContainerConfigurationRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetContainerConfigurationRequest) BinaryRequestBody

func (request GetContainerConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetContainerConfigurationRequest) HTTPRequest

func (request GetContainerConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetContainerConfigurationRequest) RetryPolicy

func (request GetContainerConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetContainerConfigurationRequest) String

func (request GetContainerConfigurationRequest) String() string

func (GetContainerConfigurationRequest) ValidateEnumValue

func (request GetContainerConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetContainerConfigurationResponse

GetContainerConfigurationResponse wrapper for the GetContainerConfiguration operation

type GetContainerConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerConfiguration instance
    ContainerConfiguration `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetContainerConfigurationResponse) HTTPResponse

func (response GetContainerConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetContainerConfigurationResponse) String

func (response GetContainerConfigurationResponse) String() string

type GetContainerImageRequest

GetContainerImageRequest wrapper for the GetContainerImage operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetContainerImage.go.html to see an example of how to use GetContainerImageRequest.

type GetContainerImageRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image.
    // Example: `ocid1.containerimage.oc1..exampleuniqueID`
    ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetContainerImageRequest) BinaryRequestBody

func (request GetContainerImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetContainerImageRequest) HTTPRequest

func (request GetContainerImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetContainerImageRequest) RetryPolicy

func (request GetContainerImageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetContainerImageRequest) String

func (request GetContainerImageRequest) String() string

func (GetContainerImageRequest) ValidateEnumValue

func (request GetContainerImageRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetContainerImageResponse

GetContainerImageResponse wrapper for the GetContainerImage operation

type GetContainerImageResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerImage instance
    ContainerImage `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetContainerImageResponse) HTTPResponse

func (response GetContainerImageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetContainerImageResponse) String

func (response GetContainerImageResponse) String() string

type GetContainerImageSignatureRequest

GetContainerImageSignatureRequest wrapper for the GetContainerImageSignature operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetContainerImageSignature.go.html to see an example of how to use GetContainerImageSignatureRequest.

type GetContainerImageSignatureRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image signature.
    // Example: `ocid1.containersignature.oc1..exampleuniqueID`
    ImageSignatureId *string `mandatory:"true" contributesTo:"path" name:"imageSignatureId"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetContainerImageSignatureRequest) BinaryRequestBody

func (request GetContainerImageSignatureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetContainerImageSignatureRequest) HTTPRequest

func (request GetContainerImageSignatureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetContainerImageSignatureRequest) RetryPolicy

func (request GetContainerImageSignatureRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetContainerImageSignatureRequest) String

func (request GetContainerImageSignatureRequest) String() string

func (GetContainerImageSignatureRequest) ValidateEnumValue

func (request GetContainerImageSignatureRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetContainerImageSignatureResponse

GetContainerImageSignatureResponse wrapper for the GetContainerImageSignature operation

type GetContainerImageSignatureResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerImageSignature instance
    ContainerImageSignature `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetContainerImageSignatureResponse) HTTPResponse

func (response GetContainerImageSignatureResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetContainerImageSignatureResponse) String

func (response GetContainerImageSignatureResponse) String() string

type GetContainerRepositoryRequest

GetContainerRepositoryRequest wrapper for the GetContainerRepository operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetContainerRepository.go.html to see an example of how to use GetContainerRepositoryRequest.

type GetContainerRepositoryRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container repository.
    // Example: `ocid1.containerrepo.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetContainerRepositoryRequest) BinaryRequestBody

func (request GetContainerRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetContainerRepositoryRequest) HTTPRequest

func (request GetContainerRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetContainerRepositoryRequest) RetryPolicy

func (request GetContainerRepositoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetContainerRepositoryRequest) String

func (request GetContainerRepositoryRequest) String() string

func (GetContainerRepositoryRequest) ValidateEnumValue

func (request GetContainerRepositoryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetContainerRepositoryResponse

GetContainerRepositoryResponse wrapper for the GetContainerRepository operation

type GetContainerRepositoryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerRepository instance
    ContainerRepository `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetContainerRepositoryResponse) HTTPResponse

func (response GetContainerRepositoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetContainerRepositoryResponse) String

func (response GetContainerRepositoryResponse) String() string

type GetGenericArtifactByPathRequest

GetGenericArtifactByPathRequest wrapper for the GetGenericArtifactByPath operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetGenericArtifactByPath.go.html to see an example of how to use GetGenericArtifactByPathRequest.

type GetGenericArtifactByPathRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    // Example: `project01/my-web-app/artifact-abc`
    ArtifactPath *string `mandatory:"true" contributesTo:"path" name:"artifactPath"`

    // A user-defined string to describe the artifact version.
    // Example: `1.1.2` or `1.2-beta-2`
    Version *string `mandatory:"true" contributesTo:"path" name:"version"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetGenericArtifactByPathRequest) BinaryRequestBody

func (request GetGenericArtifactByPathRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetGenericArtifactByPathRequest) HTTPRequest

func (request GetGenericArtifactByPathRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetGenericArtifactByPathRequest) RetryPolicy

func (request GetGenericArtifactByPathRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetGenericArtifactByPathRequest) String

func (request GetGenericArtifactByPathRequest) String() string

func (GetGenericArtifactByPathRequest) ValidateEnumValue

func (request GetGenericArtifactByPathRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetGenericArtifactByPathResponse

GetGenericArtifactByPathResponse wrapper for the GetGenericArtifactByPath operation

type GetGenericArtifactByPathResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The GenericArtifact instance
    GenericArtifact `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetGenericArtifactByPathResponse) HTTPResponse

func (response GetGenericArtifactByPathResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetGenericArtifactByPathResponse) String

func (response GetGenericArtifactByPathResponse) String() string

type GetGenericArtifactRequest

GetGenericArtifactRequest wrapper for the GetGenericArtifact operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetGenericArtifact.go.html to see an example of how to use GetGenericArtifactRequest.

type GetGenericArtifactRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
    // Example: `ocid1.genericartifact.oc1..exampleuniqueID`
    ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetGenericArtifactRequest) BinaryRequestBody

func (request GetGenericArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetGenericArtifactRequest) HTTPRequest

func (request GetGenericArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetGenericArtifactRequest) RetryPolicy

func (request GetGenericArtifactRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetGenericArtifactRequest) String

func (request GetGenericArtifactRequest) String() string

func (GetGenericArtifactRequest) ValidateEnumValue

func (request GetGenericArtifactRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetGenericArtifactResponse

GetGenericArtifactResponse wrapper for the GetGenericArtifact operation

type GetGenericArtifactResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The GenericArtifact instance
    GenericArtifact `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetGenericArtifactResponse) HTTPResponse

func (response GetGenericArtifactResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetGenericArtifactResponse) String

func (response GetGenericArtifactResponse) String() string

type GetRepositoryRequest

GetRepositoryRequest wrapper for the GetRepository operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/GetRepository.go.html to see an example of how to use GetRepositoryRequest.

type GetRepositoryRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetRepositoryRequest) BinaryRequestBody

func (request GetRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetRepositoryRequest) HTTPRequest

func (request GetRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetRepositoryRequest) RetryPolicy

func (request GetRepositoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetRepositoryRequest) String

func (request GetRepositoryRequest) String() string

func (GetRepositoryRequest) ValidateEnumValue

func (request GetRepositoryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetRepositoryResponse

GetRepositoryResponse wrapper for the GetRepository operation

type GetRepositoryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Repository instance
    Repository `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetRepositoryResponse) HTTPResponse

func (response GetRepositoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetRepositoryResponse) String

func (response GetRepositoryResponse) String() string

type ListContainerImageSignaturesRequest

ListContainerImageSignaturesRequest wrapper for the ListContainerImageSignatures operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ListContainerImageSignatures.go.html to see an example of how to use ListContainerImageSignaturesRequest.

type ListContainerImageSignaturesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // When set to true, the hierarchy of compartments is traversed
    // and all compartments and subcompartments in the tenancy are
    // inspected depending on the the setting of `accessLevel`.
    // Default is false. Can only be set to true when calling the API
    // on the tenancy (root compartment).
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // A filter to return a container image summary only for the specified container image OCID.
    ImageId *string `mandatory:"false" contributesTo:"query" name:"imageId"`

    // A filter to return container images only for the specified container repository OCID.
    RepositoryId *string `mandatory:"false" contributesTo:"query" name:"repositoryId"`

    // A filter to return container images or container image signatures that match the repository name.
    // Example: `foo` or `foo*`
    RepositoryName *string `mandatory:"false" contributesTo:"query" name:"repositoryName"`

    // The digest of the container image.
    // Example: `sha256:e7d38b3517548a1c71e41bffe9c8ae6d6d29546ce46bf62159837aad072c90aa`
    ImageDigest *string `mandatory:"false" contributesTo:"query" name:"imageDigest"`

    // A filter to return only resources that match the given display name exactly.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image.
    // Example: `ocid1.keyversion.oc1..exampleuniqueID`
    KmsKeyId *string `mandatory:"false" contributesTo:"query" name:"kmsKeyId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image.
    // Example: `ocid1.keyversion.oc1..exampleuniqueID`
    KmsKeyVersionId *string `mandatory:"false" contributesTo:"query" name:"kmsKeyVersionId"`

    // The algorithm to be used for signing. These are the only supported signing algorithms for container images.
    SigningAlgorithm ListContainerImageSignaturesSigningAlgorithmEnum `mandatory:"false" contributesTo:"query" name:"signingAlgorithm" omitEmpty:"true"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List"
    // call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The field to sort by. You can provide one sort order (`sortOrder`). Default order for
    // TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
    // sort order is case sensitive.
    // **Note:** In general, some "List" operations (for example, `ListInstances`) let you
    // optionally filter by availability domain if the scope of the resource type is within a
    // single availability domain. If you call one of these "List" operations without specifying
    // an availability domain, the resources are grouped by availability domain, then sorted.
    SortBy ListContainerImageSignaturesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
    // is case sensitive.
    SortOrder ListContainerImageSignaturesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListContainerImageSignaturesRequest) BinaryRequestBody

func (request ListContainerImageSignaturesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListContainerImageSignaturesRequest) HTTPRequest

func (request ListContainerImageSignaturesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListContainerImageSignaturesRequest) RetryPolicy

func (request ListContainerImageSignaturesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListContainerImageSignaturesRequest) String

func (request ListContainerImageSignaturesRequest) String() string

func (ListContainerImageSignaturesRequest) ValidateEnumValue

func (request ListContainerImageSignaturesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListContainerImageSignaturesResponse

ListContainerImageSignaturesResponse wrapper for the ListContainerImageSignatures operation

type ListContainerImageSignaturesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ContainerImageSignatureCollection instances
    ContainerImageSignatureCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListContainerImageSignaturesResponse) HTTPResponse

func (response ListContainerImageSignaturesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListContainerImageSignaturesResponse) String

func (response ListContainerImageSignaturesResponse) String() string

type ListContainerImageSignaturesSigningAlgorithmEnum

ListContainerImageSignaturesSigningAlgorithmEnum Enum with underlying type: string

type ListContainerImageSignaturesSigningAlgorithmEnum string

Set of constants representing the allowable values for ListContainerImageSignaturesSigningAlgorithmEnum

const (
    ListContainerImageSignaturesSigningAlgorithm224RsaPkcsPss ListContainerImageSignaturesSigningAlgorithmEnum = "SHA_224_RSA_PKCS_PSS"
    ListContainerImageSignaturesSigningAlgorithm256RsaPkcsPss ListContainerImageSignaturesSigningAlgorithmEnum = "SHA_256_RSA_PKCS_PSS"
    ListContainerImageSignaturesSigningAlgorithm384RsaPkcsPss ListContainerImageSignaturesSigningAlgorithmEnum = "SHA_384_RSA_PKCS_PSS"
    ListContainerImageSignaturesSigningAlgorithm512RsaPkcsPss ListContainerImageSignaturesSigningAlgorithmEnum = "SHA_512_RSA_PKCS_PSS"
)

func GetListContainerImageSignaturesSigningAlgorithmEnumValues

func GetListContainerImageSignaturesSigningAlgorithmEnumValues() []ListContainerImageSignaturesSigningAlgorithmEnum

GetListContainerImageSignaturesSigningAlgorithmEnumValues Enumerates the set of values for ListContainerImageSignaturesSigningAlgorithmEnum

func GetMappingListContainerImageSignaturesSigningAlgorithmEnum

func GetMappingListContainerImageSignaturesSigningAlgorithmEnum(val string) (ListContainerImageSignaturesSigningAlgorithmEnum, bool)

GetMappingListContainerImageSignaturesSigningAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

type ListContainerImageSignaturesSortByEnum

ListContainerImageSignaturesSortByEnum Enum with underlying type: string

type ListContainerImageSignaturesSortByEnum string

Set of constants representing the allowable values for ListContainerImageSignaturesSortByEnum

const (
    ListContainerImageSignaturesSortByTimecreated ListContainerImageSignaturesSortByEnum = "TIMECREATED"
    ListContainerImageSignaturesSortByDisplayname ListContainerImageSignaturesSortByEnum = "DISPLAYNAME"
)

func GetListContainerImageSignaturesSortByEnumValues

func GetListContainerImageSignaturesSortByEnumValues() []ListContainerImageSignaturesSortByEnum

GetListContainerImageSignaturesSortByEnumValues Enumerates the set of values for ListContainerImageSignaturesSortByEnum

func GetMappingListContainerImageSignaturesSortByEnum

func GetMappingListContainerImageSignaturesSortByEnum(val string) (ListContainerImageSignaturesSortByEnum, bool)

GetMappingListContainerImageSignaturesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListContainerImageSignaturesSortOrderEnum

ListContainerImageSignaturesSortOrderEnum Enum with underlying type: string

type ListContainerImageSignaturesSortOrderEnum string

Set of constants representing the allowable values for ListContainerImageSignaturesSortOrderEnum

const (
    ListContainerImageSignaturesSortOrderAsc  ListContainerImageSignaturesSortOrderEnum = "ASC"
    ListContainerImageSignaturesSortOrderDesc ListContainerImageSignaturesSortOrderEnum = "DESC"
)

func GetListContainerImageSignaturesSortOrderEnumValues

func GetListContainerImageSignaturesSortOrderEnumValues() []ListContainerImageSignaturesSortOrderEnum

GetListContainerImageSignaturesSortOrderEnumValues Enumerates the set of values for ListContainerImageSignaturesSortOrderEnum

func GetMappingListContainerImageSignaturesSortOrderEnum

func GetMappingListContainerImageSignaturesSortOrderEnum(val string) (ListContainerImageSignaturesSortOrderEnum, bool)

GetMappingListContainerImageSignaturesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListContainerImagesRequest

ListContainerImagesRequest wrapper for the ListContainerImages operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ListContainerImages.go.html to see an example of how to use ListContainerImagesRequest.

type ListContainerImagesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // When set to true, the hierarchy of compartments is traversed
    // and all compartments and subcompartments in the tenancy are
    // inspected depending on the the setting of `accessLevel`.
    // Default is false. Can only be set to true when calling the API
    // on the tenancy (root compartment).
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // A filter to return only resources that match the given display name exactly.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // A filter to return a container image summary only for the specified container image OCID.
    ImageId *string `mandatory:"false" contributesTo:"query" name:"imageId"`

    // A filter to return container images based on whether there are any associated versions.
    IsVersioned *bool `mandatory:"false" contributesTo:"query" name:"isVersioned"`

    // A filter to return container images only for the specified container repository OCID.
    RepositoryId *string `mandatory:"false" contributesTo:"query" name:"repositoryId"`

    // A filter to return container images or container image signatures that match the repository name.
    // Example: `foo` or `foo*`
    RepositoryName *string `mandatory:"false" contributesTo:"query" name:"repositoryName"`

    // A filter to return container images that match the version.
    // Example: `foo` or `foo*`
    Version *string `mandatory:"false" contributesTo:"query" name:"version"`

    // A filter to return only resources that match the given lifecycle state name exactly.
    LifecycleState *string `mandatory:"false" contributesTo:"query" name:"lifecycleState"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List"
    // call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The field to sort by. You can provide one sort order (`sortOrder`). Default order for
    // TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
    // sort order is case sensitive.
    // **Note:** In general, some "List" operations (for example, `ListInstances`) let you
    // optionally filter by availability domain if the scope of the resource type is within a
    // single availability domain. If you call one of these "List" operations without specifying
    // an availability domain, the resources are grouped by availability domain, then sorted.
    SortBy ListContainerImagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
    // is case sensitive.
    SortOrder ListContainerImagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListContainerImagesRequest) BinaryRequestBody

func (request ListContainerImagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListContainerImagesRequest) HTTPRequest

func (request ListContainerImagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListContainerImagesRequest) RetryPolicy

func (request ListContainerImagesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListContainerImagesRequest) String

func (request ListContainerImagesRequest) String() string

func (ListContainerImagesRequest) ValidateEnumValue

func (request ListContainerImagesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListContainerImagesResponse

ListContainerImagesResponse wrapper for the ListContainerImages operation

type ListContainerImagesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ContainerImageCollection instances
    ContainerImageCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListContainerImagesResponse) HTTPResponse

func (response ListContainerImagesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListContainerImagesResponse) String

func (response ListContainerImagesResponse) String() string

type ListContainerImagesSortByEnum

ListContainerImagesSortByEnum Enum with underlying type: string

type ListContainerImagesSortByEnum string

Set of constants representing the allowable values for ListContainerImagesSortByEnum

const (
    ListContainerImagesSortByTimecreated ListContainerImagesSortByEnum = "TIMECREATED"
    ListContainerImagesSortByDisplayname ListContainerImagesSortByEnum = "DISPLAYNAME"
)

func GetListContainerImagesSortByEnumValues

func GetListContainerImagesSortByEnumValues() []ListContainerImagesSortByEnum

GetListContainerImagesSortByEnumValues Enumerates the set of values for ListContainerImagesSortByEnum

func GetMappingListContainerImagesSortByEnum

func GetMappingListContainerImagesSortByEnum(val string) (ListContainerImagesSortByEnum, bool)

GetMappingListContainerImagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListContainerImagesSortOrderEnum

ListContainerImagesSortOrderEnum Enum with underlying type: string

type ListContainerImagesSortOrderEnum string

Set of constants representing the allowable values for ListContainerImagesSortOrderEnum

const (
    ListContainerImagesSortOrderAsc  ListContainerImagesSortOrderEnum = "ASC"
    ListContainerImagesSortOrderDesc ListContainerImagesSortOrderEnum = "DESC"
)

func GetListContainerImagesSortOrderEnumValues

func GetListContainerImagesSortOrderEnumValues() []ListContainerImagesSortOrderEnum

GetListContainerImagesSortOrderEnumValues Enumerates the set of values for ListContainerImagesSortOrderEnum

func GetMappingListContainerImagesSortOrderEnum

func GetMappingListContainerImagesSortOrderEnum(val string) (ListContainerImagesSortOrderEnum, bool)

GetMappingListContainerImagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListContainerRepositoriesRequest

ListContainerRepositoriesRequest wrapper for the ListContainerRepositories operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ListContainerRepositories.go.html to see an example of how to use ListContainerRepositoriesRequest.

type ListContainerRepositoriesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // When set to true, the hierarchy of compartments is traversed
    // and all compartments and subcompartments in the tenancy are
    // inspected depending on the the setting of `accessLevel`.
    // Default is false. Can only be set to true when calling the API
    // on the tenancy (root compartment).
    CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

    // A filter to return container images only for the specified container repository OCID.
    RepositoryId *string `mandatory:"false" contributesTo:"query" name:"repositoryId"`

    // A filter to return only resources that match the given display name exactly.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // A filter to return resources that match the isPublic value.
    IsPublic *bool `mandatory:"false" contributesTo:"query" name:"isPublic"`

    // A filter to return only resources that match the given lifecycle state name exactly.
    LifecycleState *string `mandatory:"false" contributesTo:"query" name:"lifecycleState"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List"
    // call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The field to sort by. You can provide one sort order (`sortOrder`). Default order for
    // TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
    // sort order is case sensitive.
    // **Note:** In general, some "List" operations (for example, `ListInstances`) let you
    // optionally filter by availability domain if the scope of the resource type is within a
    // single availability domain. If you call one of these "List" operations without specifying
    // an availability domain, the resources are grouped by availability domain, then sorted.
    SortBy ListContainerRepositoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
    // is case sensitive.
    SortOrder ListContainerRepositoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListContainerRepositoriesRequest) BinaryRequestBody

func (request ListContainerRepositoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListContainerRepositoriesRequest) HTTPRequest

func (request ListContainerRepositoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListContainerRepositoriesRequest) RetryPolicy

func (request ListContainerRepositoriesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListContainerRepositoriesRequest) String

func (request ListContainerRepositoriesRequest) String() string

func (ListContainerRepositoriesRequest) ValidateEnumValue

func (request ListContainerRepositoriesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListContainerRepositoriesResponse

ListContainerRepositoriesResponse wrapper for the ListContainerRepositories operation

type ListContainerRepositoriesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ContainerRepositoryCollection instances
    ContainerRepositoryCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListContainerRepositoriesResponse) HTTPResponse

func (response ListContainerRepositoriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListContainerRepositoriesResponse) String

func (response ListContainerRepositoriesResponse) String() string

type ListContainerRepositoriesSortByEnum

ListContainerRepositoriesSortByEnum Enum with underlying type: string

type ListContainerRepositoriesSortByEnum string

Set of constants representing the allowable values for ListContainerRepositoriesSortByEnum

const (
    ListContainerRepositoriesSortByTimecreated ListContainerRepositoriesSortByEnum = "TIMECREATED"
    ListContainerRepositoriesSortByDisplayname ListContainerRepositoriesSortByEnum = "DISPLAYNAME"
)

func GetListContainerRepositoriesSortByEnumValues

func GetListContainerRepositoriesSortByEnumValues() []ListContainerRepositoriesSortByEnum

GetListContainerRepositoriesSortByEnumValues Enumerates the set of values for ListContainerRepositoriesSortByEnum

func GetMappingListContainerRepositoriesSortByEnum

func GetMappingListContainerRepositoriesSortByEnum(val string) (ListContainerRepositoriesSortByEnum, bool)

GetMappingListContainerRepositoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListContainerRepositoriesSortOrderEnum

ListContainerRepositoriesSortOrderEnum Enum with underlying type: string

type ListContainerRepositoriesSortOrderEnum string

Set of constants representing the allowable values for ListContainerRepositoriesSortOrderEnum

const (
    ListContainerRepositoriesSortOrderAsc  ListContainerRepositoriesSortOrderEnum = "ASC"
    ListContainerRepositoriesSortOrderDesc ListContainerRepositoriesSortOrderEnum = "DESC"
)

func GetListContainerRepositoriesSortOrderEnumValues

func GetListContainerRepositoriesSortOrderEnumValues() []ListContainerRepositoriesSortOrderEnum

GetListContainerRepositoriesSortOrderEnumValues Enumerates the set of values for ListContainerRepositoriesSortOrderEnum

func GetMappingListContainerRepositoriesSortOrderEnum

func GetMappingListContainerRepositoriesSortOrderEnum(val string) (ListContainerRepositoriesSortOrderEnum, bool)

GetMappingListContainerRepositoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListGenericArtifactsRequest

ListGenericArtifactsRequest wrapper for the ListGenericArtifacts operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ListGenericArtifacts.go.html to see an example of how to use ListGenericArtifactsRequest.

type ListGenericArtifactsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return the artifacts only for the specified repository OCID.
    RepositoryId *string `mandatory:"true" contributesTo:"query" name:"repositoryId"`

    // A filter to return the resources for the specified OCID.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // A filter to return only resources that match the given display name exactly.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Filter results by a prefix for the `artifactPath` and and return artifacts that begin with the specified prefix in their path.
    ArtifactPath *string `mandatory:"false" contributesTo:"query" name:"artifactPath"`

    // Filter results by a prefix for `version` and return artifacts that that begin with the specified prefix in their version.
    Version *string `mandatory:"false" contributesTo:"query" name:"version"`

    // Filter results by a specified SHA256 digest for the artifact.
    Sha256 *string `mandatory:"false" contributesTo:"query" name:"sha256"`

    // A filter to return only resources that match the given lifecycle state name exactly.
    LifecycleState *string `mandatory:"false" contributesTo:"query" name:"lifecycleState"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List"
    // call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The field to sort by. You can provide one sort order (`sortOrder`). Default order for
    // TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
    // sort order is case sensitive.
    // **Note:** In general, some "List" operations (for example, `ListInstances`) let you
    // optionally filter by availability domain if the scope of the resource type is within a
    // single availability domain. If you call one of these "List" operations without specifying
    // an availability domain, the resources are grouped by availability domain, then sorted.
    SortBy ListGenericArtifactsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
    // is case sensitive.
    SortOrder ListGenericArtifactsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListGenericArtifactsRequest) BinaryRequestBody

func (request ListGenericArtifactsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListGenericArtifactsRequest) HTTPRequest

func (request ListGenericArtifactsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListGenericArtifactsRequest) RetryPolicy

func (request ListGenericArtifactsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListGenericArtifactsRequest) String

func (request ListGenericArtifactsRequest) String() string

func (ListGenericArtifactsRequest) ValidateEnumValue

func (request ListGenericArtifactsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListGenericArtifactsResponse

ListGenericArtifactsResponse wrapper for the ListGenericArtifacts operation

type ListGenericArtifactsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of GenericArtifactCollection instances
    GenericArtifactCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListGenericArtifactsResponse) HTTPResponse

func (response ListGenericArtifactsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListGenericArtifactsResponse) String

func (response ListGenericArtifactsResponse) String() string

type ListGenericArtifactsSortByEnum

ListGenericArtifactsSortByEnum Enum with underlying type: string

type ListGenericArtifactsSortByEnum string

Set of constants representing the allowable values for ListGenericArtifactsSortByEnum

const (
    ListGenericArtifactsSortByTimecreated ListGenericArtifactsSortByEnum = "TIMECREATED"
    ListGenericArtifactsSortByDisplayname ListGenericArtifactsSortByEnum = "DISPLAYNAME"
)

func GetListGenericArtifactsSortByEnumValues

func GetListGenericArtifactsSortByEnumValues() []ListGenericArtifactsSortByEnum

GetListGenericArtifactsSortByEnumValues Enumerates the set of values for ListGenericArtifactsSortByEnum

func GetMappingListGenericArtifactsSortByEnum

func GetMappingListGenericArtifactsSortByEnum(val string) (ListGenericArtifactsSortByEnum, bool)

GetMappingListGenericArtifactsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListGenericArtifactsSortOrderEnum

ListGenericArtifactsSortOrderEnum Enum with underlying type: string

type ListGenericArtifactsSortOrderEnum string

Set of constants representing the allowable values for ListGenericArtifactsSortOrderEnum

const (
    ListGenericArtifactsSortOrderAsc  ListGenericArtifactsSortOrderEnum = "ASC"
    ListGenericArtifactsSortOrderDesc ListGenericArtifactsSortOrderEnum = "DESC"
)

func GetListGenericArtifactsSortOrderEnumValues

func GetListGenericArtifactsSortOrderEnumValues() []ListGenericArtifactsSortOrderEnum

GetListGenericArtifactsSortOrderEnumValues Enumerates the set of values for ListGenericArtifactsSortOrderEnum

func GetMappingListGenericArtifactsSortOrderEnum

func GetMappingListGenericArtifactsSortOrderEnum(val string) (ListGenericArtifactsSortOrderEnum, bool)

GetMappingListGenericArtifactsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRepositoriesRequest

ListRepositoriesRequest wrapper for the ListRepositories operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/ListRepositories.go.html to see an example of how to use ListRepositoriesRequest.

type ListRepositoriesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return the resources for the specified OCID.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // A filter to return only resources that match the given display name exactly.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // A filter to return resources that match the isImmutable value.
    IsImmutable *bool `mandatory:"false" contributesTo:"query" name:"isImmutable"`

    // A filter to return only resources that match the given lifecycle state name exactly.
    LifecycleState *string `mandatory:"false" contributesTo:"query" name:"lifecycleState"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List"
    // call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The field to sort by. You can provide one sort order (`sortOrder`). Default order for
    // TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
    // sort order is case sensitive.
    // **Note:** In general, some "List" operations (for example, `ListInstances`) let you
    // optionally filter by availability domain if the scope of the resource type is within a
    // single availability domain. If you call one of these "List" operations without specifying
    // an availability domain, the resources are grouped by availability domain, then sorted.
    SortBy ListRepositoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
    // is case sensitive.
    SortOrder ListRepositoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListRepositoriesRequest) BinaryRequestBody

func (request ListRepositoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListRepositoriesRequest) HTTPRequest

func (request ListRepositoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListRepositoriesRequest) RetryPolicy

func (request ListRepositoriesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRepositoriesRequest) String

func (request ListRepositoriesRequest) String() string

func (ListRepositoriesRequest) ValidateEnumValue

func (request ListRepositoriesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListRepositoriesResponse

ListRepositoriesResponse wrapper for the ListRepositories operation

type ListRepositoriesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of RepositoryCollection instances
    RepositoryCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListRepositoriesResponse) HTTPResponse

func (response ListRepositoriesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRepositoriesResponse) String

func (response ListRepositoriesResponse) String() string

type ListRepositoriesSortByEnum

ListRepositoriesSortByEnum Enum with underlying type: string

type ListRepositoriesSortByEnum string

Set of constants representing the allowable values for ListRepositoriesSortByEnum

const (
    ListRepositoriesSortByTimecreated ListRepositoriesSortByEnum = "TIMECREATED"
    ListRepositoriesSortByDisplayname ListRepositoriesSortByEnum = "DISPLAYNAME"
)

func GetListRepositoriesSortByEnumValues

func GetListRepositoriesSortByEnumValues() []ListRepositoriesSortByEnum

GetListRepositoriesSortByEnumValues Enumerates the set of values for ListRepositoriesSortByEnum

func GetMappingListRepositoriesSortByEnum

func GetMappingListRepositoriesSortByEnum(val string) (ListRepositoriesSortByEnum, bool)

GetMappingListRepositoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListRepositoriesSortOrderEnum

ListRepositoriesSortOrderEnum Enum with underlying type: string

type ListRepositoriesSortOrderEnum string

Set of constants representing the allowable values for ListRepositoriesSortOrderEnum

const (
    ListRepositoriesSortOrderAsc  ListRepositoriesSortOrderEnum = "ASC"
    ListRepositoriesSortOrderDesc ListRepositoriesSortOrderEnum = "DESC"
)

func GetListRepositoriesSortOrderEnumValues

func GetListRepositoriesSortOrderEnumValues() []ListRepositoriesSortOrderEnum

GetListRepositoriesSortOrderEnumValues Enumerates the set of values for ListRepositoriesSortOrderEnum

func GetMappingListRepositoriesSortOrderEnum

func GetMappingListRepositoriesSortOrderEnum(val string) (ListRepositoriesSortOrderEnum, bool)

GetMappingListRepositoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type RemoveContainerVersionDetails

RemoveContainerVersionDetails Remove version details.

type RemoveContainerVersionDetails struct {

    // The version to remove.
    Version *string `mandatory:"true" json:"version"`
}

func (RemoveContainerVersionDetails) String

func (m RemoveContainerVersionDetails) String() string

func (RemoveContainerVersionDetails) ValidateEnumValue

func (m RemoveContainerVersionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveContainerVersionRequest

RemoveContainerVersionRequest wrapper for the RemoveContainerVersion operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/RemoveContainerVersion.go.html to see an example of how to use RemoveContainerVersionRequest.

type RemoveContainerVersionRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image.
    // Example: `ocid1.containerimage.oc1..exampleuniqueID`
    ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

    // Remove version details.
    RemoveContainerVersionDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (RemoveContainerVersionRequest) BinaryRequestBody

func (request RemoveContainerVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RemoveContainerVersionRequest) HTTPRequest

func (request RemoveContainerVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RemoveContainerVersionRequest) RetryPolicy

func (request RemoveContainerVersionRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RemoveContainerVersionRequest) String

func (request RemoveContainerVersionRequest) String() string

func (RemoveContainerVersionRequest) ValidateEnumValue

func (request RemoveContainerVersionRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RemoveContainerVersionResponse

RemoveContainerVersionResponse wrapper for the RemoveContainerVersion operation

type RemoveContainerVersionResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerImage instance
    ContainerImage `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (RemoveContainerVersionResponse) HTTPResponse

func (response RemoveContainerVersionResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RemoveContainerVersionResponse) String

func (response RemoveContainerVersionResponse) String() string

type Repository

Repository The metadata for the artifact repository.

type Repository interface {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    GetId() *string

    // The repository name.
    GetDisplayName() *string

    // The OCID of the repository's compartment.
    GetCompartmentId() *string

    // The repository description.
    GetDescription() *string

    // Whether the repository is immutable. The artifacts of an immutable repository cannot be overwritten.
    GetIsImmutable() *bool

    // The current state of the repository.
    GetLifecycleState() RepositoryLifecycleStateEnum

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // An RFC 3339 timestamp indicating when the repository was created.
    GetTimeCreated() *common.SDKTime
}

type RepositoryCollection

RepositoryCollection A list of repositories.

type RepositoryCollection struct {

    // The listed repositories.
    Items []RepositorySummary `mandatory:"true" json:"items"`
}

func (RepositoryCollection) String

func (m RepositoryCollection) String() string

func (*RepositoryCollection) UnmarshalJSON

func (m *RepositoryCollection) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

func (RepositoryCollection) ValidateEnumValue

func (m RepositoryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RepositoryLifecycleStateEnum

RepositoryLifecycleStateEnum Enum with underlying type: string

type RepositoryLifecycleStateEnum string

Set of constants representing the allowable values for RepositoryLifecycleStateEnum

const (
    RepositoryLifecycleStateAvailable RepositoryLifecycleStateEnum = "AVAILABLE"
    RepositoryLifecycleStateDeleting  RepositoryLifecycleStateEnum = "DELETING"
    RepositoryLifecycleStateDeleted   RepositoryLifecycleStateEnum = "DELETED"
)

func GetMappingRepositoryLifecycleStateEnum

func GetMappingRepositoryLifecycleStateEnum(val string) (RepositoryLifecycleStateEnum, bool)

GetMappingRepositoryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRepositoryLifecycleStateEnumValues

func GetRepositoryLifecycleStateEnumValues() []RepositoryLifecycleStateEnum

GetRepositoryLifecycleStateEnumValues Enumerates the set of values for RepositoryLifecycleStateEnum

type RepositoryRepositoryTypeEnum

RepositoryRepositoryTypeEnum Enum with underlying type: string

type RepositoryRepositoryTypeEnum string

Set of constants representing the allowable values for RepositoryRepositoryTypeEnum

const (
    RepositoryRepositoryTypeGeneric RepositoryRepositoryTypeEnum = "GENERIC"
)

func GetMappingRepositoryRepositoryTypeEnum

func GetMappingRepositoryRepositoryTypeEnum(val string) (RepositoryRepositoryTypeEnum, bool)

GetMappingRepositoryRepositoryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRepositoryRepositoryTypeEnumValues

func GetRepositoryRepositoryTypeEnumValues() []RepositoryRepositoryTypeEnum

GetRepositoryRepositoryTypeEnumValues Enumerates the set of values for RepositoryRepositoryTypeEnum

type RepositorySummary

RepositorySummary Summary information for a repository.

type RepositorySummary interface {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    GetId() *string

    // The repository name.
    GetDisplayName() *string

    // The OCID of the repository's compartment.
    GetCompartmentId() *string

    // Whether the repository is immutable. The artifacts of an immutable repository cannot be overwritten.
    GetIsImmutable() *bool

    // The current state of the artifact repository.
    GetLifecycleState() RepositoryLifecycleStateEnum

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // An RFC 3339 timestamp indicating when the repository was created.
    GetTimeCreated() *common.SDKTime

    // The repository description.
    GetDescription() *string
}

type RestoreContainerImageDetails

RestoreContainerImageDetails Undelete container image request details.

type RestoreContainerImageDetails struct {

    // Optional version to associate with image.
    Version *string `mandatory:"false" json:"version"`
}

func (RestoreContainerImageDetails) String

func (m RestoreContainerImageDetails) String() string

func (RestoreContainerImageDetails) ValidateEnumValue

func (m RestoreContainerImageDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestoreContainerImageRequest

RestoreContainerImageRequest wrapper for the RestoreContainerImage operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/RestoreContainerImage.go.html to see an example of how to use RestoreContainerImageRequest.

type RestoreContainerImageRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image.
    // Example: `ocid1.containerimage.oc1..exampleuniqueID`
    ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

    // Restore container image details.
    RestoreContainerImageDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations (for example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (RestoreContainerImageRequest) BinaryRequestBody

func (request RestoreContainerImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RestoreContainerImageRequest) HTTPRequest

func (request RestoreContainerImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RestoreContainerImageRequest) RetryPolicy

func (request RestoreContainerImageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RestoreContainerImageRequest) String

func (request RestoreContainerImageRequest) String() string

func (RestoreContainerImageRequest) ValidateEnumValue

func (request RestoreContainerImageRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestoreContainerImageResponse

RestoreContainerImageResponse wrapper for the RestoreContainerImage operation

type RestoreContainerImageResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerImage instance
    ContainerImage `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (RestoreContainerImageResponse) HTTPResponse

func (response RestoreContainerImageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RestoreContainerImageResponse) String

func (response RestoreContainerImageResponse) String() string

type UpdateContainerConfigurationDetails

UpdateContainerConfigurationDetails Update container configuration request details.

type UpdateContainerConfigurationDetails struct {

    // Whether to create a new container repository when a container is pushed to a new repository path.
    // Repositories created in this way belong to the root compartment.
    IsRepositoryCreatedOnFirstPush *bool `mandatory:"false" json:"isRepositoryCreatedOnFirstPush"`
}

func (UpdateContainerConfigurationDetails) String

func (m UpdateContainerConfigurationDetails) String() string

func (UpdateContainerConfigurationDetails) ValidateEnumValue

func (m UpdateContainerConfigurationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerConfigurationRequest

UpdateContainerConfigurationRequest wrapper for the UpdateContainerConfiguration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateContainerConfiguration.go.html to see an example of how to use UpdateContainerConfigurationRequest.

type UpdateContainerConfigurationRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Update container configuration details.
    UpdateContainerConfigurationDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateContainerConfigurationRequest) BinaryRequestBody

func (request UpdateContainerConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateContainerConfigurationRequest) HTTPRequest

func (request UpdateContainerConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateContainerConfigurationRequest) RetryPolicy

func (request UpdateContainerConfigurationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateContainerConfigurationRequest) String

func (request UpdateContainerConfigurationRequest) String() string

func (UpdateContainerConfigurationRequest) ValidateEnumValue

func (request UpdateContainerConfigurationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerConfigurationResponse

UpdateContainerConfigurationResponse wrapper for the UpdateContainerConfiguration operation

type UpdateContainerConfigurationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerConfiguration instance
    ContainerConfiguration `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateContainerConfigurationResponse) HTTPResponse

func (response UpdateContainerConfigurationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateContainerConfigurationResponse) String

func (response UpdateContainerConfigurationResponse) String() string

type UpdateContainerImageDetails

UpdateContainerImageDetails Details for updating a container image.

type UpdateContainerImageDetails struct {

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateContainerImageDetails) String

func (m UpdateContainerImageDetails) String() string

func (UpdateContainerImageDetails) ValidateEnumValue

func (m UpdateContainerImageDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerImageRequest

UpdateContainerImageRequest wrapper for the UpdateContainerImage operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateContainerImage.go.html to see an example of how to use UpdateContainerImageRequest.

type UpdateContainerImageRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image.
    // Example: `ocid1.containerimage.oc1..exampleuniqueID`
    ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"`

    // Update container image details.
    UpdateContainerImageDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateContainerImageRequest) BinaryRequestBody

func (request UpdateContainerImageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateContainerImageRequest) HTTPRequest

func (request UpdateContainerImageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateContainerImageRequest) RetryPolicy

func (request UpdateContainerImageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateContainerImageRequest) String

func (request UpdateContainerImageRequest) String() string

func (UpdateContainerImageRequest) ValidateEnumValue

func (request UpdateContainerImageRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerImageResponse

UpdateContainerImageResponse wrapper for the UpdateContainerImage operation

type UpdateContainerImageResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerImage instance
    ContainerImage `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateContainerImageResponse) HTTPResponse

func (response UpdateContainerImageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateContainerImageResponse) String

func (response UpdateContainerImageResponse) String() string

type UpdateContainerImageSignatureDetails

UpdateContainerImageSignatureDetails Details for updating a container image signature.

type UpdateContainerImageSignatureDetails struct {

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateContainerImageSignatureDetails) String

func (m UpdateContainerImageSignatureDetails) String() string

func (UpdateContainerImageSignatureDetails) ValidateEnumValue

func (m UpdateContainerImageSignatureDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerImageSignatureRequest

UpdateContainerImageSignatureRequest wrapper for the UpdateContainerImageSignature operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateContainerImageSignature.go.html to see an example of how to use UpdateContainerImageSignatureRequest.

type UpdateContainerImageSignatureRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image signature.
    // Example: `ocid1.containersignature.oc1..exampleuniqueID`
    ImageSignatureId *string `mandatory:"true" contributesTo:"path" name:"imageSignatureId"`

    // Update container image signature details.
    UpdateContainerImageSignatureDetails `contributesTo:"body"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateContainerImageSignatureRequest) BinaryRequestBody

func (request UpdateContainerImageSignatureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateContainerImageSignatureRequest) HTTPRequest

func (request UpdateContainerImageSignatureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateContainerImageSignatureRequest) RetryPolicy

func (request UpdateContainerImageSignatureRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateContainerImageSignatureRequest) String

func (request UpdateContainerImageSignatureRequest) String() string

func (UpdateContainerImageSignatureRequest) ValidateEnumValue

func (request UpdateContainerImageSignatureRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerImageSignatureResponse

UpdateContainerImageSignatureResponse wrapper for the UpdateContainerImageSignature operation

type UpdateContainerImageSignatureResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerImageSignature instance
    ContainerImageSignature `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateContainerImageSignatureResponse) HTTPResponse

func (response UpdateContainerImageSignatureResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateContainerImageSignatureResponse) String

func (response UpdateContainerImageSignatureResponse) String() string

type UpdateContainerRepositoryDetails

UpdateContainerRepositoryDetails Update container repository request details.

type UpdateContainerRepositoryDetails struct {

    // Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
    IsImmutable *bool `mandatory:"false" json:"isImmutable"`

    // Whether the repository is public. A public repository allows unauthenticated access.
    IsPublic *bool `mandatory:"false" json:"isPublic"`

    Readme *ContainerRepositoryReadme `mandatory:"false" json:"readme"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateContainerRepositoryDetails) String

func (m UpdateContainerRepositoryDetails) String() string

func (UpdateContainerRepositoryDetails) ValidateEnumValue

func (m UpdateContainerRepositoryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerRepositoryRequest

UpdateContainerRepositoryRequest wrapper for the UpdateContainerRepository operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateContainerRepository.go.html to see an example of how to use UpdateContainerRepositoryRequest.

type UpdateContainerRepositoryRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container repository.
    // Example: `ocid1.containerrepo.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // Update container repository details.
    UpdateContainerRepositoryDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateContainerRepositoryRequest) BinaryRequestBody

func (request UpdateContainerRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateContainerRepositoryRequest) HTTPRequest

func (request UpdateContainerRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateContainerRepositoryRequest) RetryPolicy

func (request UpdateContainerRepositoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateContainerRepositoryRequest) String

func (request UpdateContainerRepositoryRequest) String() string

func (UpdateContainerRepositoryRequest) ValidateEnumValue

func (request UpdateContainerRepositoryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateContainerRepositoryResponse

UpdateContainerRepositoryResponse wrapper for the UpdateContainerRepository operation

type UpdateContainerRepositoryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ContainerRepository instance
    ContainerRepository `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateContainerRepositoryResponse) HTTPResponse

func (response UpdateContainerRepositoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateContainerRepositoryResponse) String

func (response UpdateContainerRepositoryResponse) String() string

type UpdateGenericArtifactByPathDetails

UpdateGenericArtifactByPathDetails Details for updating an artifact by providing its `artifactPath` and `version`.

type UpdateGenericArtifactByPathDetails struct {

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateGenericArtifactByPathDetails) String

func (m UpdateGenericArtifactByPathDetails) String() string

func (UpdateGenericArtifactByPathDetails) ValidateEnumValue

func (m UpdateGenericArtifactByPathDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateGenericArtifactByPathRequest

UpdateGenericArtifactByPathRequest wrapper for the UpdateGenericArtifactByPath operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateGenericArtifactByPath.go.html to see an example of how to use UpdateGenericArtifactByPathRequest.

type UpdateGenericArtifactByPathRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
    // Example: `project01/my-web-app/artifact-abc`
    ArtifactPath *string `mandatory:"true" contributesTo:"path" name:"artifactPath"`

    // A user-defined string to describe the artifact version.
    // Example: `1.1.2` or `1.2-beta-2`
    Version *string `mandatory:"true" contributesTo:"path" name:"version"`

    // Updates an artifact with a specified `artifactPath` and `version`. You can only update the tags of an artifact.
    UpdateGenericArtifactByPathDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateGenericArtifactByPathRequest) BinaryRequestBody

func (request UpdateGenericArtifactByPathRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateGenericArtifactByPathRequest) HTTPRequest

func (request UpdateGenericArtifactByPathRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateGenericArtifactByPathRequest) RetryPolicy

func (request UpdateGenericArtifactByPathRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateGenericArtifactByPathRequest) String

func (request UpdateGenericArtifactByPathRequest) String() string

func (UpdateGenericArtifactByPathRequest) ValidateEnumValue

func (request UpdateGenericArtifactByPathRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateGenericArtifactByPathResponse

UpdateGenericArtifactByPathResponse wrapper for the UpdateGenericArtifactByPath operation

type UpdateGenericArtifactByPathResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The GenericArtifact instance
    GenericArtifact `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateGenericArtifactByPathResponse) HTTPResponse

func (response UpdateGenericArtifactByPathResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateGenericArtifactByPathResponse) String

func (response UpdateGenericArtifactByPathResponse) String() string

type UpdateGenericArtifactDetails

UpdateGenericArtifactDetails Details for updating an artifact by providing its OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

type UpdateGenericArtifactDetails struct {

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateGenericArtifactDetails) String

func (m UpdateGenericArtifactDetails) String() string

func (UpdateGenericArtifactDetails) ValidateEnumValue

func (m UpdateGenericArtifactDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateGenericArtifactRequest

UpdateGenericArtifactRequest wrapper for the UpdateGenericArtifact operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateGenericArtifact.go.html to see an example of how to use UpdateGenericArtifactRequest.

type UpdateGenericArtifactRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the artifact.
    // Example: `ocid1.genericartifact.oc1..exampleuniqueID`
    ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`

    // Updates the artifact with the specified OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can only update the tags of an artifact.
    UpdateGenericArtifactDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateGenericArtifactRequest) BinaryRequestBody

func (request UpdateGenericArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateGenericArtifactRequest) HTTPRequest

func (request UpdateGenericArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateGenericArtifactRequest) RetryPolicy

func (request UpdateGenericArtifactRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateGenericArtifactRequest) String

func (request UpdateGenericArtifactRequest) String() string

func (UpdateGenericArtifactRequest) ValidateEnumValue

func (request UpdateGenericArtifactRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateGenericArtifactResponse

UpdateGenericArtifactResponse wrapper for the UpdateGenericArtifact operation

type UpdateGenericArtifactResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The GenericArtifact instance
    GenericArtifact `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateGenericArtifactResponse) HTTPResponse

func (response UpdateGenericArtifactResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateGenericArtifactResponse) String

func (response UpdateGenericArtifactResponse) String() string

type UpdateGenericRepositoryDetails

UpdateGenericRepositoryDetails Details for updating an artifact repository.

type UpdateGenericRepositoryDetails struct {

    // The repository name.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The repository description.
    Description *string `mandatory:"false" json:"description"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateGenericRepositoryDetails) GetDefinedTags

func (m UpdateGenericRepositoryDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateGenericRepositoryDetails) GetDescription

func (m UpdateGenericRepositoryDetails) GetDescription() *string

GetDescription returns Description

func (UpdateGenericRepositoryDetails) GetDisplayName

func (m UpdateGenericRepositoryDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateGenericRepositoryDetails) GetFreeformTags

func (m UpdateGenericRepositoryDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateGenericRepositoryDetails) MarshalJSON

func (m UpdateGenericRepositoryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateGenericRepositoryDetails) String

func (m UpdateGenericRepositoryDetails) String() string

func (UpdateGenericRepositoryDetails) ValidateEnumValue

func (m UpdateGenericRepositoryDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateRepositoryDetails

UpdateRepositoryDetails Details for updating a repository.

type UpdateRepositoryDetails interface {

    // The repository name.
    GetDisplayName() *string

    // The repository description.
    GetDescription() *string

    // Free-form tags for this resource. Each tag is a simple key-value pair with no
    // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a
    // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    GetDefinedTags() map[string]map[string]interface{}
}

type UpdateRepositoryRequest

UpdateRepositoryRequest wrapper for the UpdateRepository operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.63.2/artifacts/UpdateRepository.go.html to see an example of how to use UpdateRepositoryRequest.

type UpdateRepositoryRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the repository.
    // Example: `ocid1.artifactrepository.oc1..exampleuniqueID`
    RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"`

    // Updates the properties of a repository.
    UpdateRepositoryDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource. The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateRepositoryRequest) BinaryRequestBody

func (request UpdateRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateRepositoryRequest) HTTPRequest

func (request UpdateRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateRepositoryRequest) RetryPolicy

func (request UpdateRepositoryRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateRepositoryRequest) String

func (request UpdateRepositoryRequest) String() string

func (UpdateRepositoryRequest) ValidateEnumValue

func (request UpdateRepositoryRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateRepositoryResponse

UpdateRepositoryResponse wrapper for the UpdateRepository operation

type UpdateRepositoryResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Repository instance
    Repository `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateRepositoryResponse) HTTPResponse

func (response UpdateRepositoryResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateRepositoryResponse) String

func (response UpdateRepositoryResponse) String() string