package artifactregistrypb
import "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb"
Index ¶
- Variables
- func RegisterArtifactRegistryServer(s *grpc.Server, srv ArtifactRegistryServer)
- type AptArtifact
- func (*AptArtifact) Descriptor() ([]byte, []int)
- func (x *AptArtifact) GetArchitecture() string
- func (x *AptArtifact) GetComponent() string
- func (x *AptArtifact) GetControlFile() []byte
- func (x *AptArtifact) GetName() string
- func (x *AptArtifact) GetPackageName() string
- func (x *AptArtifact) GetPackageType() AptArtifact_PackageType
- func (*AptArtifact) ProtoMessage()
- func (x *AptArtifact) ProtoReflect() protoreflect.Message
- func (x *AptArtifact) Reset()
- func (x *AptArtifact) String() string
- type AptArtifact_PackageType
- func (AptArtifact_PackageType) Descriptor() protoreflect.EnumDescriptor
- func (x AptArtifact_PackageType) Enum() *AptArtifact_PackageType
- func (AptArtifact_PackageType) EnumDescriptor() ([]byte, []int)
- func (x AptArtifact_PackageType) Number() protoreflect.EnumNumber
- func (x AptArtifact_PackageType) String() string
- func (AptArtifact_PackageType) Type() protoreflect.EnumType
- type ArtifactRegistryClient
- type ArtifactRegistryServer
- type CreateRepositoryRequest
- func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)
- func (x *CreateRepositoryRequest) GetParent() string
- func (x *CreateRepositoryRequest) GetRepository() *Repository
- func (x *CreateRepositoryRequest) GetRepositoryId() string
- func (*CreateRepositoryRequest) ProtoMessage()
- func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryRequest) Reset()
- func (x *CreateRepositoryRequest) String() string
- type CreateTagRequest
- func (*CreateTagRequest) Descriptor() ([]byte, []int)
- func (x *CreateTagRequest) GetParent() string
- func (x *CreateTagRequest) GetTag() *Tag
- func (x *CreateTagRequest) GetTagId() string
- func (*CreateTagRequest) ProtoMessage()
- func (x *CreateTagRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTagRequest) Reset()
- func (x *CreateTagRequest) String() string
- type DeletePackageRequest
- func (*DeletePackageRequest) Descriptor() ([]byte, []int)
- func (x *DeletePackageRequest) GetName() string
- func (*DeletePackageRequest) ProtoMessage()
- func (x *DeletePackageRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePackageRequest) Reset()
- func (x *DeletePackageRequest) String() string
- type DeleteRepositoryRequest
- func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)
- func (x *DeleteRepositoryRequest) GetName() string
- func (*DeleteRepositoryRequest) ProtoMessage()
- func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRepositoryRequest) Reset()
- func (x *DeleteRepositoryRequest) String() string
- type DeleteTagRequest
- func (*DeleteTagRequest) Descriptor() ([]byte, []int)
- func (x *DeleteTagRequest) GetName() string
- func (*DeleteTagRequest) ProtoMessage()
- func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTagRequest) Reset()
- func (x *DeleteTagRequest) String() string
- type DeleteVersionRequest
- func (*DeleteVersionRequest) Descriptor() ([]byte, []int)
- func (x *DeleteVersionRequest) GetForce() bool
- func (x *DeleteVersionRequest) GetName() string
- func (*DeleteVersionRequest) ProtoMessage()
- func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVersionRequest) Reset()
- func (x *DeleteVersionRequest) String() string
- type File
- func (*File) Descriptor() ([]byte, []int)
- func (x *File) GetCreateTime() *timestamppb.Timestamp
- func (x *File) GetHashes() []*Hash
- func (x *File) GetName() string
- func (x *File) GetOwner() string
- func (x *File) GetSizeBytes() int64
- func (x *File) GetUpdateTime() *timestamppb.Timestamp
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type GetFileRequest
- func (*GetFileRequest) Descriptor() ([]byte, []int)
- func (x *GetFileRequest) GetName() string
- func (*GetFileRequest) ProtoMessage()
- func (x *GetFileRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileRequest) Reset()
- func (x *GetFileRequest) String() string
- type GetPackageRequest
- func (*GetPackageRequest) Descriptor() ([]byte, []int)
- func (x *GetPackageRequest) GetName() string
- func (*GetPackageRequest) ProtoMessage()
- func (x *GetPackageRequest) ProtoReflect() protoreflect.Message
- func (x *GetPackageRequest) Reset()
- func (x *GetPackageRequest) String() string
- type GetProjectSettingsRequest
- func (*GetProjectSettingsRequest) Descriptor() ([]byte, []int)
- func (x *GetProjectSettingsRequest) GetName() string
- func (*GetProjectSettingsRequest) ProtoMessage()
- func (x *GetProjectSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectSettingsRequest) Reset()
- func (x *GetProjectSettingsRequest) String() string
- type GetRepositoryRequest
- func (*GetRepositoryRequest) Descriptor() ([]byte, []int)
- func (x *GetRepositoryRequest) GetName() string
- func (*GetRepositoryRequest) ProtoMessage()
- func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryRequest) Reset()
- func (x *GetRepositoryRequest) String() string
- type GetTagRequest
- func (*GetTagRequest) Descriptor() ([]byte, []int)
- func (x *GetTagRequest) GetName() string
- func (*GetTagRequest) ProtoMessage()
- func (x *GetTagRequest) ProtoReflect() protoreflect.Message
- func (x *GetTagRequest) Reset()
- func (x *GetTagRequest) String() string
- type GetVersionRequest
- func (*GetVersionRequest) Descriptor() ([]byte, []int)
- func (x *GetVersionRequest) GetName() string
- func (x *GetVersionRequest) GetView() VersionView
- func (*GetVersionRequest) ProtoMessage()
- func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetVersionRequest) Reset()
- func (x *GetVersionRequest) String() string
- type Hash
- func (*Hash) Descriptor() ([]byte, []int)
- func (x *Hash) GetType() Hash_HashType
- func (x *Hash) GetValue() []byte
- func (*Hash) ProtoMessage()
- func (x *Hash) ProtoReflect() protoreflect.Message
- func (x *Hash) Reset()
- func (x *Hash) String() string
- type Hash_HashType
- func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor
- func (x Hash_HashType) Enum() *Hash_HashType
- func (Hash_HashType) EnumDescriptor() ([]byte, []int)
- func (x Hash_HashType) Number() protoreflect.EnumNumber
- func (x Hash_HashType) String() string
- func (Hash_HashType) Type() protoreflect.EnumType
- type ImportAptArtifactsErrorInfo
- func (*ImportAptArtifactsErrorInfo) Descriptor() ([]byte, []int)
- func (x *ImportAptArtifactsErrorInfo) GetError() *status.Status
- func (x *ImportAptArtifactsErrorInfo) GetGcsSource() *ImportAptArtifactsGcsSource
- func (m *ImportAptArtifactsErrorInfo) GetSource() isImportAptArtifactsErrorInfo_Source
- func (*ImportAptArtifactsErrorInfo) ProtoMessage()
- func (x *ImportAptArtifactsErrorInfo) ProtoReflect() protoreflect.Message
- func (x *ImportAptArtifactsErrorInfo) Reset()
- func (x *ImportAptArtifactsErrorInfo) String() string
- type ImportAptArtifactsErrorInfo_GcsSource
- type ImportAptArtifactsGcsSource
- func (*ImportAptArtifactsGcsSource) Descriptor() ([]byte, []int)
- func (x *ImportAptArtifactsGcsSource) GetUris() []string
- func (x *ImportAptArtifactsGcsSource) GetUseWildcards() bool
- func (*ImportAptArtifactsGcsSource) ProtoMessage()
- func (x *ImportAptArtifactsGcsSource) ProtoReflect() protoreflect.Message
- func (x *ImportAptArtifactsGcsSource) Reset()
- func (x *ImportAptArtifactsGcsSource) String() string
- type ImportAptArtifactsMetadata
- func (*ImportAptArtifactsMetadata) Descriptor() ([]byte, []int)
- func (*ImportAptArtifactsMetadata) ProtoMessage()
- func (x *ImportAptArtifactsMetadata) ProtoReflect() protoreflect.Message
- func (x *ImportAptArtifactsMetadata) Reset()
- func (x *ImportAptArtifactsMetadata) String() string
- type ImportAptArtifactsRequest
- func (*ImportAptArtifactsRequest) Descriptor() ([]byte, []int)
- func (x *ImportAptArtifactsRequest) GetGcsSource() *ImportAptArtifactsGcsSource
- func (x *ImportAptArtifactsRequest) GetParent() string
- func (m *ImportAptArtifactsRequest) GetSource() isImportAptArtifactsRequest_Source
- func (*ImportAptArtifactsRequest) ProtoMessage()
- func (x *ImportAptArtifactsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportAptArtifactsRequest) Reset()
- func (x *ImportAptArtifactsRequest) String() string
- type ImportAptArtifactsRequest_GcsSource
- type ImportAptArtifactsResponse
- func (*ImportAptArtifactsResponse) Descriptor() ([]byte, []int)
- func (x *ImportAptArtifactsResponse) GetAptArtifacts() []*AptArtifact
- func (x *ImportAptArtifactsResponse) GetErrors() []*ImportAptArtifactsErrorInfo
- func (*ImportAptArtifactsResponse) ProtoMessage()
- func (x *ImportAptArtifactsResponse) ProtoReflect() protoreflect.Message
- func (x *ImportAptArtifactsResponse) Reset()
- func (x *ImportAptArtifactsResponse) String() string
- type ImportYumArtifactsErrorInfo
- func (*ImportYumArtifactsErrorInfo) Descriptor() ([]byte, []int)
- func (x *ImportYumArtifactsErrorInfo) GetError() *status.Status
- func (x *ImportYumArtifactsErrorInfo) GetGcsSource() *ImportYumArtifactsGcsSource
- func (m *ImportYumArtifactsErrorInfo) GetSource() isImportYumArtifactsErrorInfo_Source
- func (*ImportYumArtifactsErrorInfo) ProtoMessage()
- func (x *ImportYumArtifactsErrorInfo) ProtoReflect() protoreflect.Message
- func (x *ImportYumArtifactsErrorInfo) Reset()
- func (x *ImportYumArtifactsErrorInfo) String() string
- type ImportYumArtifactsErrorInfo_GcsSource
- type ImportYumArtifactsGcsSource
- func (*ImportYumArtifactsGcsSource) Descriptor() ([]byte, []int)
- func (x *ImportYumArtifactsGcsSource) GetUris() []string
- func (x *ImportYumArtifactsGcsSource) GetUseWildcards() bool
- func (*ImportYumArtifactsGcsSource) ProtoMessage()
- func (x *ImportYumArtifactsGcsSource) ProtoReflect() protoreflect.Message
- func (x *ImportYumArtifactsGcsSource) Reset()
- func (x *ImportYumArtifactsGcsSource) String() string
- type ImportYumArtifactsMetadata
- func (*ImportYumArtifactsMetadata) Descriptor() ([]byte, []int)
- func (*ImportYumArtifactsMetadata) ProtoMessage()
- func (x *ImportYumArtifactsMetadata) ProtoReflect() protoreflect.Message
- func (x *ImportYumArtifactsMetadata) Reset()
- func (x *ImportYumArtifactsMetadata) String() string
- type ImportYumArtifactsRequest
- func (*ImportYumArtifactsRequest) Descriptor() ([]byte, []int)
- func (x *ImportYumArtifactsRequest) GetGcsSource() *ImportYumArtifactsGcsSource
- func (x *ImportYumArtifactsRequest) GetParent() string
- func (m *ImportYumArtifactsRequest) GetSource() isImportYumArtifactsRequest_Source
- func (*ImportYumArtifactsRequest) ProtoMessage()
- func (x *ImportYumArtifactsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportYumArtifactsRequest) Reset()
- func (x *ImportYumArtifactsRequest) String() string
- type ImportYumArtifactsRequest_GcsSource
- type ImportYumArtifactsResponse
- func (*ImportYumArtifactsResponse) Descriptor() ([]byte, []int)
- func (x *ImportYumArtifactsResponse) GetErrors() []*ImportYumArtifactsErrorInfo
- func (x *ImportYumArtifactsResponse) GetYumArtifacts() []*YumArtifact
- func (*ImportYumArtifactsResponse) ProtoMessage()
- func (x *ImportYumArtifactsResponse) ProtoReflect() protoreflect.Message
- func (x *ImportYumArtifactsResponse) Reset()
- func (x *ImportYumArtifactsResponse) String() string
- type ListFilesRequest
- func (*ListFilesRequest) Descriptor() ([]byte, []int)
- func (x *ListFilesRequest) GetFilter() string
- func (x *ListFilesRequest) GetPageSize() int32
- func (x *ListFilesRequest) GetPageToken() string
- func (x *ListFilesRequest) GetParent() string
- func (*ListFilesRequest) ProtoMessage()
- func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListFilesRequest) Reset()
- func (x *ListFilesRequest) String() string
- type ListFilesResponse
- func (*ListFilesResponse) Descriptor() ([]byte, []int)
- func (x *ListFilesResponse) GetFiles() []*File
- func (x *ListFilesResponse) GetNextPageToken() string
- func (*ListFilesResponse) ProtoMessage()
- func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFilesResponse) Reset()
- func (x *ListFilesResponse) String() string
- type ListPackagesRequest
- func (*ListPackagesRequest) Descriptor() ([]byte, []int)
- func (x *ListPackagesRequest) GetPageSize() int32
- func (x *ListPackagesRequest) GetPageToken() string
- func (x *ListPackagesRequest) GetParent() string
- func (*ListPackagesRequest) ProtoMessage()
- func (x *ListPackagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPackagesRequest) Reset()
- func (x *ListPackagesRequest) String() string
- type ListPackagesResponse
- func (*ListPackagesResponse) Descriptor() ([]byte, []int)
- func (x *ListPackagesResponse) GetNextPageToken() string
- func (x *ListPackagesResponse) GetPackages() []*Package
- func (*ListPackagesResponse) ProtoMessage()
- func (x *ListPackagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPackagesResponse) Reset()
- func (x *ListPackagesResponse) String() string
- type ListRepositoriesRequest
- func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)
- func (x *ListRepositoriesRequest) GetPageSize() int32
- func (x *ListRepositoriesRequest) GetPageToken() string
- func (x *ListRepositoriesRequest) GetParent() string
- func (*ListRepositoriesRequest) ProtoMessage()
- func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesRequest) Reset()
- func (x *ListRepositoriesRequest) String() string
- type ListRepositoriesResponse
- func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)
- func (x *ListRepositoriesResponse) GetNextPageToken() string
- func (x *ListRepositoriesResponse) GetRepositories() []*Repository
- func (*ListRepositoriesResponse) ProtoMessage()
- func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRepositoriesResponse) Reset()
- func (x *ListRepositoriesResponse) String() string
- type ListTagsRequest
- func (*ListTagsRequest) Descriptor() ([]byte, []int)
- func (x *ListTagsRequest) GetFilter() string
- func (x *ListTagsRequest) GetPageSize() int32
- func (x *ListTagsRequest) GetPageToken() string
- func (x *ListTagsRequest) GetParent() string
- func (*ListTagsRequest) ProtoMessage()
- func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagsRequest) Reset()
- func (x *ListTagsRequest) String() string
- type ListTagsResponse
- func (*ListTagsResponse) Descriptor() ([]byte, []int)
- func (x *ListTagsResponse) GetNextPageToken() string
- func (x *ListTagsResponse) GetTags() []*Tag
- func (*ListTagsResponse) ProtoMessage()
- func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTagsResponse) Reset()
- func (x *ListTagsResponse) String() string
- type ListVersionsRequest
- func (*ListVersionsRequest) Descriptor() ([]byte, []int)
- func (x *ListVersionsRequest) GetOrderBy() string
- func (x *ListVersionsRequest) GetPageSize() int32
- func (x *ListVersionsRequest) GetPageToken() string
- func (x *ListVersionsRequest) GetParent() string
- func (x *ListVersionsRequest) GetView() VersionView
- func (*ListVersionsRequest) ProtoMessage()
- func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListVersionsRequest) Reset()
- func (x *ListVersionsRequest) String() string
- type ListVersionsResponse
- func (*ListVersionsResponse) Descriptor() ([]byte, []int)
- func (x *ListVersionsResponse) GetNextPageToken() string
- func (x *ListVersionsResponse) GetVersions() []*Version
- func (*ListVersionsResponse) ProtoMessage()
- func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListVersionsResponse) Reset()
- func (x *ListVersionsResponse) String() string
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type Package
- func (*Package) Descriptor() ([]byte, []int)
- func (x *Package) GetCreateTime() *timestamppb.Timestamp
- func (x *Package) GetDisplayName() string
- func (x *Package) GetName() string
- func (x *Package) GetUpdateTime() *timestamppb.Timestamp
- func (*Package) ProtoMessage()
- func (x *Package) ProtoReflect() protoreflect.Message
- func (x *Package) Reset()
- func (x *Package) String() string
- type ProjectSettings
- func (*ProjectSettings) Descriptor() ([]byte, []int)
- func (x *ProjectSettings) GetLegacyRedirectionState() ProjectSettings_RedirectionState
- func (x *ProjectSettings) GetName() string
- func (*ProjectSettings) ProtoMessage()
- func (x *ProjectSettings) ProtoReflect() protoreflect.Message
- func (x *ProjectSettings) Reset()
- func (x *ProjectSettings) String() string
- type ProjectSettings_RedirectionState
- func (ProjectSettings_RedirectionState) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectSettings_RedirectionState) Enum() *ProjectSettings_RedirectionState
- func (ProjectSettings_RedirectionState) EnumDescriptor() ([]byte, []int)
- func (x ProjectSettings_RedirectionState) Number() protoreflect.EnumNumber
- func (x ProjectSettings_RedirectionState) String() string
- func (ProjectSettings_RedirectionState) Type() protoreflect.EnumType
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)
- func (x *Repository) GetCreateTime() *timestamppb.Timestamp
- func (x *Repository) GetDescription() string
- func (x *Repository) GetFormat() Repository_Format
- func (m *Repository) GetFormatConfig() isRepository_FormatConfig
- func (x *Repository) GetKmsKeyName() string
- func (x *Repository) GetLabels() map[string]string
- func (x *Repository) GetMavenConfig() *Repository_MavenRepositoryConfig
- func (x *Repository) GetName() string
- func (x *Repository) GetUpdateTime() *timestamppb.Timestamp
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type Repository_Format
- func (Repository_Format) Descriptor() protoreflect.EnumDescriptor
- func (x Repository_Format) Enum() *Repository_Format
- func (Repository_Format) EnumDescriptor() ([]byte, []int)
- func (x Repository_Format) Number() protoreflect.EnumNumber
- func (x Repository_Format) String() string
- func (Repository_Format) Type() protoreflect.EnumType
- type Repository_MavenConfig
- type Repository_MavenRepositoryConfig
- func (*Repository_MavenRepositoryConfig) Descriptor() ([]byte, []int)
- func (x *Repository_MavenRepositoryConfig) GetAllowSnapshotOverwrites() bool
- func (x *Repository_MavenRepositoryConfig) GetVersionPolicy() Repository_MavenRepositoryConfig_VersionPolicy
- func (*Repository_MavenRepositoryConfig) ProtoMessage()
- func (x *Repository_MavenRepositoryConfig) ProtoReflect() protoreflect.Message
- func (x *Repository_MavenRepositoryConfig) Reset()
- func (x *Repository_MavenRepositoryConfig) String() string
- type Repository_MavenRepositoryConfig_VersionPolicy
- func (Repository_MavenRepositoryConfig_VersionPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x Repository_MavenRepositoryConfig_VersionPolicy) Enum() *Repository_MavenRepositoryConfig_VersionPolicy
- func (Repository_MavenRepositoryConfig_VersionPolicy) EnumDescriptor() ([]byte, []int)
- func (x Repository_MavenRepositoryConfig_VersionPolicy) Number() protoreflect.EnumNumber
- func (x Repository_MavenRepositoryConfig_VersionPolicy) String() string
- func (Repository_MavenRepositoryConfig_VersionPolicy) Type() protoreflect.EnumType
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)
- func (x *Tag) GetName() string
- func (x *Tag) GetVersion() string
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (x *Tag) String() string
- type UnimplementedArtifactRegistryServer
- func (*UnimplementedArtifactRegistryServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedArtifactRegistryServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
- func (*UnimplementedArtifactRegistryServer) DeletePackage(context.Context, *DeletePackageRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedArtifactRegistryServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedArtifactRegistryServer) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error)
- func (*UnimplementedArtifactRegistryServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedArtifactRegistryServer) GetFile(context.Context, *GetFileRequest) (*File, error)
- func (*UnimplementedArtifactRegistryServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
- func (*UnimplementedArtifactRegistryServer) GetPackage(context.Context, *GetPackageRequest) (*Package, error)
- func (*UnimplementedArtifactRegistryServer) GetProjectSettings(context.Context, *GetProjectSettingsRequest) (*ProjectSettings, error)
- func (*UnimplementedArtifactRegistryServer) GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)
- func (*UnimplementedArtifactRegistryServer) GetTag(context.Context, *GetTagRequest) (*Tag, error)
- func (*UnimplementedArtifactRegistryServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)
- func (*UnimplementedArtifactRegistryServer) ImportAptArtifacts(context.Context, *ImportAptArtifactsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedArtifactRegistryServer) ImportYumArtifacts(context.Context, *ImportYumArtifactsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedArtifactRegistryServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
- func (*UnimplementedArtifactRegistryServer) ListPackages(context.Context, *ListPackagesRequest) (*ListPackagesResponse, error)
- func (*UnimplementedArtifactRegistryServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
- func (*UnimplementedArtifactRegistryServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
- func (*UnimplementedArtifactRegistryServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
- func (*UnimplementedArtifactRegistryServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
- func (*UnimplementedArtifactRegistryServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
- func (*UnimplementedArtifactRegistryServer) UpdateProjectSettings(context.Context, *UpdateProjectSettingsRequest) (*ProjectSettings, error)
- func (*UnimplementedArtifactRegistryServer) UpdateRepository(context.Context, *UpdateRepositoryRequest) (*Repository, error)
- func (*UnimplementedArtifactRegistryServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error)
- type UpdateProjectSettingsRequest
- func (*UpdateProjectSettingsRequest) Descriptor() ([]byte, []int)
- func (x *UpdateProjectSettingsRequest) GetProjectSettings() *ProjectSettings
- func (x *UpdateProjectSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateProjectSettingsRequest) ProtoMessage()
- func (x *UpdateProjectSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectSettingsRequest) Reset()
- func (x *UpdateProjectSettingsRequest) String() string
- type UpdateRepositoryRequest
- func (*UpdateRepositoryRequest) Descriptor() ([]byte, []int)
- func (x *UpdateRepositoryRequest) GetRepository() *Repository
- func (x *UpdateRepositoryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateRepositoryRequest) ProtoMessage()
- func (x *UpdateRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryRequest) Reset()
- func (x *UpdateRepositoryRequest) String() string
- type UpdateTagRequest
- func (*UpdateTagRequest) Descriptor() ([]byte, []int)
- func (x *UpdateTagRequest) GetTag() *Tag
- func (x *UpdateTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateTagRequest) ProtoMessage()
- func (x *UpdateTagRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTagRequest) Reset()
- func (x *UpdateTagRequest) String() string
- type Version
- func (*Version) Descriptor() ([]byte, []int)
- func (x *Version) GetCreateTime() *timestamppb.Timestamp
- func (x *Version) GetDescription() string
- func (x *Version) GetMetadata() *structpb.Struct
- func (x *Version) GetName() string
- func (x *Version) GetRelatedTags() []*Tag
- func (x *Version) GetUpdateTime() *timestamppb.Timestamp
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type VersionView
- func (VersionView) Descriptor() protoreflect.EnumDescriptor
- func (x VersionView) Enum() *VersionView
- func (VersionView) EnumDescriptor() ([]byte, []int)
- func (x VersionView) Number() protoreflect.EnumNumber
- func (x VersionView) String() string
- func (VersionView) Type() protoreflect.EnumType
- type YumArtifact
- func (*YumArtifact) Descriptor() ([]byte, []int)
- func (x *YumArtifact) GetArchitecture() string
- func (x *YumArtifact) GetName() string
- func (x *YumArtifact) GetPackageName() string
- func (x *YumArtifact) GetPackageType() YumArtifact_PackageType
- func (*YumArtifact) ProtoMessage()
- func (x *YumArtifact) ProtoReflect() protoreflect.Message
- func (x *YumArtifact) Reset()
- func (x *YumArtifact) String() string
- type YumArtifact_PackageType
- func (YumArtifact_PackageType) Descriptor() protoreflect.EnumDescriptor
- func (x YumArtifact_PackageType) Enum() *YumArtifact_PackageType
- func (YumArtifact_PackageType) EnumDescriptor() ([]byte, []int)
- func (x YumArtifact_PackageType) Number() protoreflect.EnumNumber
- func (x YumArtifact_PackageType) String() string
- func (YumArtifact_PackageType) Type() protoreflect.EnumType
Variables ¶
var ( AptArtifact_PackageType_name = map[int32]string{ 0: "PACKAGE_TYPE_UNSPECIFIED", 1: "BINARY", 2: "SOURCE", } AptArtifact_PackageType_value = map[string]int32{ "PACKAGE_TYPE_UNSPECIFIED": 0, "BINARY": 1, "SOURCE": 2, } )
Enum value maps for AptArtifact_PackageType.
var ( Hash_HashType_name = map[int32]string{ 0: "HASH_TYPE_UNSPECIFIED", 1: "SHA256", 2: "MD5", } Hash_HashType_value = map[string]int32{ "HASH_TYPE_UNSPECIFIED": 0, "SHA256": 1, "MD5": 2, } )
Enum value maps for Hash_HashType.
var ( Repository_Format_name = map[int32]string{ 0: "FORMAT_UNSPECIFIED", 1: "DOCKER", 2: "MAVEN", 3: "NPM", 5: "APT", 6: "YUM", 8: "PYTHON", } Repository_Format_value = map[string]int32{ "FORMAT_UNSPECIFIED": 0, "DOCKER": 1, "MAVEN": 2, "NPM": 3, "APT": 5, "YUM": 6, "PYTHON": 8, } )
Enum value maps for Repository_Format.
var ( Repository_MavenRepositoryConfig_VersionPolicy_name = map[int32]string{ 0: "VERSION_POLICY_UNSPECIFIED", 1: "RELEASE", 2: "SNAPSHOT", } Repository_MavenRepositoryConfig_VersionPolicy_value = map[string]int32{ "VERSION_POLICY_UNSPECIFIED": 0, "RELEASE": 1, "SNAPSHOT": 2, } )
Enum value maps for Repository_MavenRepositoryConfig_VersionPolicy.
var ( ProjectSettings_RedirectionState_name = map[int32]string{ 0: "REDIRECTION_STATE_UNSPECIFIED", 1: "REDIRECTION_FROM_GCR_IO_DISABLED", 2: "REDIRECTION_FROM_GCR_IO_ENABLED", 3: "REDIRECTION_FROM_GCR_IO_FINALIZED", } ProjectSettings_RedirectionState_value = map[string]int32{ "REDIRECTION_STATE_UNSPECIFIED": 0, "REDIRECTION_FROM_GCR_IO_DISABLED": 1, "REDIRECTION_FROM_GCR_IO_ENABLED": 2, "REDIRECTION_FROM_GCR_IO_FINALIZED": 3, } )
Enum value maps for ProjectSettings_RedirectionState.
var ( VersionView_name = map[int32]string{ 0: "VERSION_VIEW_UNSPECIFIED", 1: "BASIC", 2: "FULL", } VersionView_value = map[string]int32{ "VERSION_VIEW_UNSPECIFIED": 0, "BASIC": 1, "FULL": 2, } )
Enum value maps for VersionView.
var ( YumArtifact_PackageType_name = map[int32]string{ 0: "PACKAGE_TYPE_UNSPECIFIED", 1: "BINARY", 2: "SOURCE", } YumArtifact_PackageType_value = map[string]int32{ "PACKAGE_TYPE_UNSPECIFIED": 0, "BINARY": 1, "SOURCE": 2, } )
Enum value maps for YumArtifact_PackageType.
var File_google_devtools_artifactregistry_v1beta2_apt_artifact_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1beta2_file_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1beta2_package_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1beta2_repository_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1beta2_service_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1beta2_settings_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1beta2_tag_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1beta2_version_proto protoreflect.FileDescriptor
var File_google_devtools_artifactregistry_v1beta2_yum_artifact_proto protoreflect.FileDescriptor
Functions ¶
func RegisterArtifactRegistryServer ¶
func RegisterArtifactRegistryServer(s *grpc.Server, srv ArtifactRegistryServer)
Types ¶
type AptArtifact ¶
type AptArtifact struct { // Output only. The Artifact Registry resource name of the artifact. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The Apt package name of the artifact. PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // Output only. An artifact is a binary or source package. PackageType AptArtifact_PackageType `protobuf:"varint,3,opt,name=package_type,json=packageType,proto3,enum=google.devtools.artifactregistry.v1beta2.AptArtifact_PackageType" json:"package_type,omitempty"` // Output only. Operating system architecture of the artifact. Architecture string `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty"` // Output only. Repository component of the artifact. Component string `protobuf:"bytes,5,opt,name=component,proto3" json:"component,omitempty"` // Output only. Contents of the artifact's control metadata file. ControlFile []byte `protobuf:"bytes,6,opt,name=control_file,json=controlFile,proto3" json:"control_file,omitempty"` // contains filtered or unexported fields }
A detailed representation of an Apt artifact. Information in the record is derived from the archive's control file. See https://www.debian.org/doc/debian-policy/ch-controlfields.html
func (*AptArtifact) Descriptor ¶
func (*AptArtifact) Descriptor() ([]byte, []int)
Deprecated: Use AptArtifact.ProtoReflect.Descriptor instead.
func (*AptArtifact) GetArchitecture ¶
func (x *AptArtifact) GetArchitecture() string
func (*AptArtifact) GetComponent ¶
func (x *AptArtifact) GetComponent() string
func (*AptArtifact) GetControlFile ¶
func (x *AptArtifact) GetControlFile() []byte
func (*AptArtifact) GetName ¶
func (x *AptArtifact) GetName() string
func (*AptArtifact) GetPackageName ¶
func (x *AptArtifact) GetPackageName() string
func (*AptArtifact) GetPackageType ¶
func (x *AptArtifact) GetPackageType() AptArtifact_PackageType
func (*AptArtifact) ProtoMessage ¶
func (*AptArtifact) ProtoMessage()
func (*AptArtifact) ProtoReflect ¶
func (x *AptArtifact) ProtoReflect() protoreflect.Message
func (*AptArtifact) Reset ¶
func (x *AptArtifact) Reset()
func (*AptArtifact) String ¶
func (x *AptArtifact) String() string
type AptArtifact_PackageType ¶
type AptArtifact_PackageType int32
Package type is either binary or source.
const ( // Package type is not specified. AptArtifact_PACKAGE_TYPE_UNSPECIFIED AptArtifact_PackageType = 0 // Binary package. AptArtifact_BINARY AptArtifact_PackageType = 1 // Source package. AptArtifact_SOURCE AptArtifact_PackageType = 2 )
func (AptArtifact_PackageType) Descriptor ¶
func (AptArtifact_PackageType) Descriptor() protoreflect.EnumDescriptor
func (AptArtifact_PackageType) Enum ¶
func (x AptArtifact_PackageType) Enum() *AptArtifact_PackageType
func (AptArtifact_PackageType) EnumDescriptor ¶
func (AptArtifact_PackageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AptArtifact_PackageType.Descriptor instead.
func (AptArtifact_PackageType) Number ¶
func (x AptArtifact_PackageType) Number() protoreflect.EnumNumber
func (AptArtifact_PackageType) String ¶
func (x AptArtifact_PackageType) String() string
func (AptArtifact_PackageType) Type ¶
func (AptArtifact_PackageType) Type() protoreflect.EnumType
type ArtifactRegistryClient ¶
type ArtifactRegistryClient interface { // Imports Apt artifacts. The returned Operation will complete once the // resources are imported. Package, Version, and File resources are created // based on the imported artifacts. Imported artifacts that conflict with // existing resources are ignored. ImportAptArtifacts(ctx context.Context, in *ImportAptArtifactsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Imports Yum (RPM) artifacts. The returned Operation will complete once the // resources are imported. Package, Version, and File resources are created // based on the imported artifacts. Imported artifacts that conflict with // existing resources are ignored. ImportYumArtifacts(ctx context.Context, in *ImportYumArtifactsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists repositories. ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error) // Gets a repository. GetRepository(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*Repository, error) // Creates a repository. The returned Operation will finish once the // repository has been created. Its response will be the created Repository. CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates a repository. UpdateRepository(ctx context.Context, in *UpdateRepositoryRequest, opts ...grpc.CallOption) (*Repository, error) // Deletes a repository and all of its contents. The returned Operation will // finish once the repository has been deleted. It will not have any Operation // metadata and will return a google.protobuf.Empty response. DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists packages. ListPackages(ctx context.Context, in *ListPackagesRequest, opts ...grpc.CallOption) (*ListPackagesResponse, error) // Gets a package. GetPackage(ctx context.Context, in *GetPackageRequest, opts ...grpc.CallOption) (*Package, error) // Deletes a package and all of its versions and tags. The returned operation // will complete once the package has been deleted. DeletePackage(ctx context.Context, in *DeletePackageRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists versions. ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) // Gets a version GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) // Deletes a version and all of its content. The returned operation will // complete once the version has been deleted. DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists files. ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error) // Gets a file. GetFile(ctx context.Context, in *GetFileRequest, opts ...grpc.CallOption) (*File, error) // Lists tags. ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) // Gets a tag. GetTag(ctx context.Context, in *GetTagRequest, opts ...grpc.CallOption) (*Tag, error) // Creates a tag. CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) // Updates a tag. UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*Tag, error) // Deletes a tag. DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Updates the IAM policy for a given resource. SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Gets the IAM policy for a given resource. GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Tests if the caller has a list of permissions on a resource. TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) // Retrieves the Settings for the Project. GetProjectSettings(ctx context.Context, in *GetProjectSettingsRequest, opts ...grpc.CallOption) (*ProjectSettings, error) // Updates the Settings for the Project. UpdateProjectSettings(ctx context.Context, in *UpdateProjectSettingsRequest, opts ...grpc.CallOption) (*ProjectSettings, error) }
ArtifactRegistryClient is the client API for ArtifactRegistry service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewArtifactRegistryClient ¶
func NewArtifactRegistryClient(cc grpc.ClientConnInterface) ArtifactRegistryClient
type ArtifactRegistryServer ¶
type ArtifactRegistryServer interface { // Imports Apt artifacts. The returned Operation will complete once the // resources are imported. Package, Version, and File resources are created // based on the imported artifacts. Imported artifacts that conflict with // existing resources are ignored. ImportAptArtifacts(context.Context, *ImportAptArtifactsRequest) (*longrunningpb.Operation, error) // Imports Yum (RPM) artifacts. The returned Operation will complete once the // resources are imported. Package, Version, and File resources are created // based on the imported artifacts. Imported artifacts that conflict with // existing resources are ignored. ImportYumArtifacts(context.Context, *ImportYumArtifactsRequest) (*longrunningpb.Operation, error) // Lists repositories. ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error) // Gets a repository. GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error) // Creates a repository. The returned Operation will finish once the // repository has been created. Its response will be the created Repository. CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error) // Updates a repository. UpdateRepository(context.Context, *UpdateRepositoryRequest) (*Repository, error) // Deletes a repository and all of its contents. The returned Operation will // finish once the repository has been deleted. It will not have any Operation // metadata and will return a google.protobuf.Empty response. DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error) // Lists packages. ListPackages(context.Context, *ListPackagesRequest) (*ListPackagesResponse, error) // Gets a package. GetPackage(context.Context, *GetPackageRequest) (*Package, error) // Deletes a package and all of its versions and tags. The returned operation // will complete once the package has been deleted. DeletePackage(context.Context, *DeletePackageRequest) (*longrunningpb.Operation, error) // Lists versions. ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) // Gets a version GetVersion(context.Context, *GetVersionRequest) (*Version, error) // Deletes a version and all of its content. The returned operation will // complete once the version has been deleted. DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunningpb.Operation, error) // Lists files. ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error) // Gets a file. GetFile(context.Context, *GetFileRequest) (*File, error) // Lists tags. ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) // Gets a tag. GetTag(context.Context, *GetTagRequest) (*Tag, error) // Creates a tag. CreateTag(context.Context, *CreateTagRequest) (*Tag, error) // Updates a tag. UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error) // Deletes a tag. DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error) // Updates the IAM policy for a given resource. SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) // Gets the IAM policy for a given resource. GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) // Tests if the caller has a list of permissions on a resource. TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) // Retrieves the Settings for the Project. GetProjectSettings(context.Context, *GetProjectSettingsRequest) (*ProjectSettings, error) // Updates the Settings for the Project. UpdateProjectSettings(context.Context, *UpdateProjectSettingsRequest) (*ProjectSettings, error) }
ArtifactRegistryServer is the server API for ArtifactRegistry service.
type CreateRepositoryRequest ¶
type CreateRepositoryRequest struct { // Required. The name of the parent resource where the repository will be created. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The repository id to use for this repository. RepositoryId string `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // The repository to be created. Repository *Repository `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
The request to create a new repository.
func (*CreateRepositoryRequest) Descriptor ¶
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryRequest) GetParent ¶
func (x *CreateRepositoryRequest) GetParent() string
func (*CreateRepositoryRequest) GetRepository ¶
func (x *CreateRepositoryRequest) GetRepository() *Repository
func (*CreateRepositoryRequest) GetRepositoryId ¶
func (x *CreateRepositoryRequest) GetRepositoryId() string
func (*CreateRepositoryRequest) ProtoMessage ¶
func (*CreateRepositoryRequest) ProtoMessage()
func (*CreateRepositoryRequest) ProtoReflect ¶
func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryRequest) Reset ¶
func (x *CreateRepositoryRequest) Reset()
func (*CreateRepositoryRequest) String ¶
func (x *CreateRepositoryRequest) String() string
type CreateTagRequest ¶
type CreateTagRequest struct { // The name of the parent resource where the tag will be created. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The tag id to use for this repository. TagId string `protobuf:"bytes,2,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` // The tag to be created. Tag *Tag `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
The request to create a new tag.
func (*CreateTagRequest) Descriptor ¶
func (*CreateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.
func (*CreateTagRequest) GetParent ¶
func (x *CreateTagRequest) GetParent() string
func (*CreateTagRequest) GetTag ¶
func (x *CreateTagRequest) GetTag() *Tag
func (*CreateTagRequest) GetTagId ¶
func (x *CreateTagRequest) GetTagId() string
func (*CreateTagRequest) ProtoMessage ¶
func (*CreateTagRequest) ProtoMessage()
func (*CreateTagRequest) ProtoReflect ¶
func (x *CreateTagRequest) ProtoReflect() protoreflect.Message
func (*CreateTagRequest) Reset ¶
func (x *CreateTagRequest) Reset()
func (*CreateTagRequest) String ¶
func (x *CreateTagRequest) String() string
type DeletePackageRequest ¶
type DeletePackageRequest struct { // The name of the package to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request to delete a package.
func (*DeletePackageRequest) Descriptor ¶
func (*DeletePackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePackageRequest.ProtoReflect.Descriptor instead.
func (*DeletePackageRequest) GetName ¶
func (x *DeletePackageRequest) GetName() string
func (*DeletePackageRequest) ProtoMessage ¶
func (*DeletePackageRequest) ProtoMessage()
func (*DeletePackageRequest) ProtoReflect ¶
func (x *DeletePackageRequest) ProtoReflect() protoreflect.Message
func (*DeletePackageRequest) Reset ¶
func (x *DeletePackageRequest) Reset()
func (*DeletePackageRequest) String ¶
func (x *DeletePackageRequest) String() string
type DeleteRepositoryRequest ¶
type DeleteRepositoryRequest struct { // Required. The name of the repository to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request to delete a repository.
func (*DeleteRepositoryRequest) Descriptor ¶
func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteRepositoryRequest) GetName ¶
func (x *DeleteRepositoryRequest) GetName() string
func (*DeleteRepositoryRequest) ProtoMessage ¶
func (*DeleteRepositoryRequest) ProtoMessage()
func (*DeleteRepositoryRequest) ProtoReflect ¶
func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message
func (*DeleteRepositoryRequest) Reset ¶
func (x *DeleteRepositoryRequest) Reset()
func (*DeleteRepositoryRequest) String ¶
func (x *DeleteRepositoryRequest) String() string
type DeleteTagRequest ¶
type DeleteTagRequest struct { // The name of the tag to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request to delete a tag.
func (*DeleteTagRequest) Descriptor ¶
func (*DeleteTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagRequest) GetName ¶
func (x *DeleteTagRequest) GetName() string
func (*DeleteTagRequest) ProtoMessage ¶
func (*DeleteTagRequest) ProtoMessage()
func (*DeleteTagRequest) ProtoReflect ¶
func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagRequest) Reset ¶
func (x *DeleteTagRequest) Reset()
func (*DeleteTagRequest) String ¶
func (x *DeleteTagRequest) String() string
type DeleteVersionRequest ¶
type DeleteVersionRequest struct { // The name of the version to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // By default, a version that is tagged may not be deleted. If force=true, the // version and any tags pointing to the version are deleted. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
The request to delete a version.
func (*DeleteVersionRequest) Descriptor ¶
func (*DeleteVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteVersionRequest) GetForce ¶
func (x *DeleteVersionRequest) GetForce() bool
func (*DeleteVersionRequest) GetName ¶
func (x *DeleteVersionRequest) GetName() string
func (*DeleteVersionRequest) ProtoMessage ¶
func (*DeleteVersionRequest) ProtoMessage()
func (*DeleteVersionRequest) ProtoReflect ¶
func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message
func (*DeleteVersionRequest) Reset ¶
func (x *DeleteVersionRequest) Reset()
func (*DeleteVersionRequest) String ¶
func (x *DeleteVersionRequest) String() string
type File ¶
type File struct { // The name of the file, for example: // "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". // If the file ID part contains slashes, they are escaped. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The size of the File in bytes. SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` // The hashes of the file content. Hashes []*Hash `protobuf:"bytes,4,rep,name=hashes,proto3" json:"hashes,omitempty"` // The time when the File was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the File was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The name of the Package or Version that owns this file, if any. Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
Files store content that is potentially associated with Packages or Versions.
func (*File) Descriptor ¶
Deprecated: Use File.ProtoReflect.Descriptor instead.
func (*File) GetCreateTime ¶
func (x *File) GetCreateTime() *timestamppb.Timestamp
func (*File) GetHashes ¶
func (*File) GetName ¶
func (*File) GetOwner ¶
func (*File) GetSizeBytes ¶
func (*File) GetUpdateTime ¶
func (x *File) GetUpdateTime() *timestamppb.Timestamp
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
func (*File) Reset ¶
func (x *File) Reset()
func (*File) String ¶
type GetFileRequest ¶
type GetFileRequest struct { // The name of the file to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request to retrieve a file.
func (*GetFileRequest) Descriptor ¶
func (*GetFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileRequest.ProtoReflect.Descriptor instead.
func (*GetFileRequest) GetName ¶
func (x *GetFileRequest) GetName() string
func (*GetFileRequest) ProtoMessage ¶
func (*GetFileRequest) ProtoMessage()
func (*GetFileRequest) ProtoReflect ¶
func (x *GetFileRequest) ProtoReflect() protoreflect.Message
func (*GetFileRequest) Reset ¶
func (x *GetFileRequest) Reset()
func (*GetFileRequest) String ¶
func (x *GetFileRequest) String() string
type GetPackageRequest ¶
type GetPackageRequest struct { // The name of the package to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request to retrieve a package.
func (*GetPackageRequest) Descriptor ¶
func (*GetPackageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPackageRequest.ProtoReflect.Descriptor instead.
func (*GetPackageRequest) GetName ¶
func (x *GetPackageRequest) GetName() string
func (*GetPackageRequest) ProtoMessage ¶
func (*GetPackageRequest) ProtoMessage()
func (*GetPackageRequest) ProtoReflect ¶
func (x *GetPackageRequest) ProtoReflect() protoreflect.Message
func (*GetPackageRequest) Reset ¶
func (x *GetPackageRequest) Reset()
func (*GetPackageRequest) String ¶
func (x *GetPackageRequest) String() string
type GetProjectSettingsRequest ¶
type GetProjectSettingsRequest struct { // Required. The name of the projectSettings resource. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Gets the redirection status for a project.
func (*GetProjectSettingsRequest) Descriptor ¶
func (*GetProjectSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetProjectSettingsRequest) GetName ¶
func (x *GetProjectSettingsRequest) GetName() string
func (*GetProjectSettingsRequest) ProtoMessage ¶
func (*GetProjectSettingsRequest) ProtoMessage()
func (*GetProjectSettingsRequest) ProtoReflect ¶
func (x *GetProjectSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetProjectSettingsRequest) Reset ¶
func (x *GetProjectSettingsRequest) Reset()
func (*GetProjectSettingsRequest) String ¶
func (x *GetProjectSettingsRequest) String() string
type GetRepositoryRequest ¶
type GetRepositoryRequest struct { // Required. The name of the repository to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request to retrieve a repository.
func (*GetRepositoryRequest) Descriptor ¶
func (*GetRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryRequest) GetName ¶
func (x *GetRepositoryRequest) GetName() string
func (*GetRepositoryRequest) ProtoMessage ¶
func (*GetRepositoryRequest) ProtoMessage()
func (*GetRepositoryRequest) ProtoReflect ¶
func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message
func (*GetRepositoryRequest) Reset ¶
func (x *GetRepositoryRequest) Reset()
func (*GetRepositoryRequest) String ¶
func (x *GetRepositoryRequest) String() string
type GetTagRequest ¶
type GetTagRequest struct { // The name of the tag to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request to retrieve a tag.
func (*GetTagRequest) Descriptor ¶
func (*GetTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagRequest.ProtoReflect.Descriptor instead.
func (*GetTagRequest) GetName ¶
func (x *GetTagRequest) GetName() string
func (*GetTagRequest) ProtoMessage ¶
func (*GetTagRequest) ProtoMessage()
func (*GetTagRequest) ProtoReflect ¶
func (x *GetTagRequest) ProtoReflect() protoreflect.Message
func (*GetTagRequest) Reset ¶
func (x *GetTagRequest) Reset()
func (*GetTagRequest) String ¶
func (x *GetTagRequest) String() string
type GetVersionRequest ¶
type GetVersionRequest struct { // The name of the version to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The view that should be returned in the response. View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1beta2.VersionView" json:"view,omitempty"` // contains filtered or unexported fields }
The request to retrieve a version.
func (*GetVersionRequest) Descriptor ¶
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) GetName ¶
func (x *GetVersionRequest) GetName() string
func (*GetVersionRequest) GetView ¶
func (x *GetVersionRequest) GetView() VersionView
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) ProtoReflect ¶
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (*GetVersionRequest) Reset ¶
func (x *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (x *GetVersionRequest) String() string
type Hash ¶
type Hash struct { // The algorithm used to compute the hash value. Type Hash_HashType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.artifactregistry.v1beta2.Hash_HashType" json:"type,omitempty"` // The hash value. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A hash of file content.
func (*Hash) Descriptor ¶
Deprecated: Use Hash.ProtoReflect.Descriptor instead.
func (*Hash) GetType ¶
func (x *Hash) GetType() Hash_HashType
func (*Hash) GetValue ¶
func (*Hash) ProtoMessage ¶
func (*Hash) ProtoMessage()
func (*Hash) ProtoReflect ¶
func (x *Hash) ProtoReflect() protoreflect.Message
func (*Hash) Reset ¶
func (x *Hash) Reset()
func (*Hash) String ¶
type Hash_HashType ¶
type Hash_HashType int32
The algorithm used to compute the hash.
const ( // Unspecified. Hash_HASH_TYPE_UNSPECIFIED Hash_HashType = 0 // SHA256 hash. Hash_SHA256 Hash_HashType = 1 // MD5 hash. Hash_MD5 Hash_HashType = 2 )
func (Hash_HashType) Descriptor ¶
func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor
func (Hash_HashType) Enum ¶
func (x Hash_HashType) Enum() *Hash_HashType
func (Hash_HashType) EnumDescriptor ¶
func (Hash_HashType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Hash_HashType.Descriptor instead.
func (Hash_HashType) Number ¶
func (x Hash_HashType) Number() protoreflect.EnumNumber
func (Hash_HashType) String ¶
func (x Hash_HashType) String() string
func (Hash_HashType) Type ¶
func (Hash_HashType) Type() protoreflect.EnumType
type ImportAptArtifactsErrorInfo ¶
type ImportAptArtifactsErrorInfo struct { // The source that was not imported. // // Types that are assignable to Source: // // *ImportAptArtifactsErrorInfo_GcsSource Source isImportAptArtifactsErrorInfo_Source `protobuf_oneof:"source"` // The detailed error status. Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
Error information explaining why a package was not imported.
func (*ImportAptArtifactsErrorInfo) Descriptor ¶
func (*ImportAptArtifactsErrorInfo) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsErrorInfo.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsErrorInfo) GetError ¶
func (x *ImportAptArtifactsErrorInfo) GetError() *status.Status
func (*ImportAptArtifactsErrorInfo) GetGcsSource ¶
func (x *ImportAptArtifactsErrorInfo) GetGcsSource() *ImportAptArtifactsGcsSource
func (*ImportAptArtifactsErrorInfo) GetSource ¶
func (m *ImportAptArtifactsErrorInfo) GetSource() isImportAptArtifactsErrorInfo_Source
func (*ImportAptArtifactsErrorInfo) ProtoMessage ¶
func (*ImportAptArtifactsErrorInfo) ProtoMessage()
func (*ImportAptArtifactsErrorInfo) ProtoReflect ¶
func (x *ImportAptArtifactsErrorInfo) ProtoReflect() protoreflect.Message
func (*ImportAptArtifactsErrorInfo) Reset ¶
func (x *ImportAptArtifactsErrorInfo) Reset()
func (*ImportAptArtifactsErrorInfo) String ¶
func (x *ImportAptArtifactsErrorInfo) String() string
type ImportAptArtifactsErrorInfo_GcsSource ¶
type ImportAptArtifactsErrorInfo_GcsSource struct { // Google Cloud Storage location requested. GcsSource *ImportAptArtifactsGcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
type ImportAptArtifactsGcsSource ¶
type ImportAptArtifactsGcsSource struct { // Cloud Storage paths URI (e.g., gs://my_bucket//my_object). Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"` // Supports URI wildcards for matching multiple objects from a single URI. UseWildcards bool `protobuf:"varint,2,opt,name=use_wildcards,json=useWildcards,proto3" json:"use_wildcards,omitempty"` // contains filtered or unexported fields }
Google Cloud Storage location where the artifacts currently reside.
func (*ImportAptArtifactsGcsSource) Descriptor ¶
func (*ImportAptArtifactsGcsSource) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsGcsSource.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsGcsSource) GetUris ¶
func (x *ImportAptArtifactsGcsSource) GetUris() []string
func (*ImportAptArtifactsGcsSource) GetUseWildcards ¶
func (x *ImportAptArtifactsGcsSource) GetUseWildcards() bool
func (*ImportAptArtifactsGcsSource) ProtoMessage ¶
func (*ImportAptArtifactsGcsSource) ProtoMessage()
func (*ImportAptArtifactsGcsSource) ProtoReflect ¶
func (x *ImportAptArtifactsGcsSource) ProtoReflect() protoreflect.Message
func (*ImportAptArtifactsGcsSource) Reset ¶
func (x *ImportAptArtifactsGcsSource) Reset()
func (*ImportAptArtifactsGcsSource) String ¶
func (x *ImportAptArtifactsGcsSource) String() string
type ImportAptArtifactsMetadata ¶
type ImportAptArtifactsMetadata struct {
// contains filtered or unexported fields
}
The operation metadata for importing artifacts.
func (*ImportAptArtifactsMetadata) Descriptor ¶
func (*ImportAptArtifactsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsMetadata.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsMetadata) ProtoMessage ¶
func (*ImportAptArtifactsMetadata) ProtoMessage()
func (*ImportAptArtifactsMetadata) ProtoReflect ¶
func (x *ImportAptArtifactsMetadata) ProtoReflect() protoreflect.Message
func (*ImportAptArtifactsMetadata) Reset ¶
func (x *ImportAptArtifactsMetadata) Reset()
func (*ImportAptArtifactsMetadata) String ¶
func (x *ImportAptArtifactsMetadata) String() string
type ImportAptArtifactsRequest ¶
type ImportAptArtifactsRequest struct { // The source location of the package binaries. // // Types that are assignable to Source: // // *ImportAptArtifactsRequest_GcsSource Source isImportAptArtifactsRequest_Source `protobuf_oneof:"source"` // The name of the parent resource where the artifacts will be imported. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
The request to import new apt artifacts.
func (*ImportAptArtifactsRequest) Descriptor ¶
func (*ImportAptArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsRequest.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsRequest) GetGcsSource ¶
func (x *ImportAptArtifactsRequest) GetGcsSource() *ImportAptArtifactsGcsSource
func (*ImportAptArtifactsRequest) GetParent ¶
func (x *ImportAptArtifactsRequest) GetParent() string
func (*ImportAptArtifactsRequest) GetSource ¶
func (m *ImportAptArtifactsRequest) GetSource() isImportAptArtifactsRequest_Source
func (*ImportAptArtifactsRequest) ProtoMessage ¶
func (*ImportAptArtifactsRequest) ProtoMessage()
func (*ImportAptArtifactsRequest) ProtoReflect ¶
func (x *ImportAptArtifactsRequest) ProtoReflect() protoreflect.Message
func (*ImportAptArtifactsRequest) Reset ¶
func (x *ImportAptArtifactsRequest) Reset()
func (*ImportAptArtifactsRequest) String ¶
func (x *ImportAptArtifactsRequest) String() string
type ImportAptArtifactsRequest_GcsSource ¶
type ImportAptArtifactsRequest_GcsSource struct { // Google Cloud Storage location where input content is located. GcsSource *ImportAptArtifactsGcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
type ImportAptArtifactsResponse ¶
type ImportAptArtifactsResponse struct { // The Apt artifacts imported. AptArtifacts []*AptArtifact `protobuf:"bytes,1,rep,name=apt_artifacts,json=aptArtifacts,proto3" json:"apt_artifacts,omitempty"` // Detailed error info for artifacts that were not imported. Errors []*ImportAptArtifactsErrorInfo `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
The response message from importing APT artifacts.
func (*ImportAptArtifactsResponse) Descriptor ¶
func (*ImportAptArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportAptArtifactsResponse.ProtoReflect.Descriptor instead.
func (*ImportAptArtifactsResponse) GetAptArtifacts ¶
func (x *ImportAptArtifactsResponse) GetAptArtifacts() []*AptArtifact
func (*ImportAptArtifactsResponse) GetErrors ¶
func (x *ImportAptArtifactsResponse) GetErrors() []*ImportAptArtifactsErrorInfo
func (*ImportAptArtifactsResponse) ProtoMessage ¶
func (*ImportAptArtifactsResponse) ProtoMessage()
func (*ImportAptArtifactsResponse) ProtoReflect ¶
func (x *ImportAptArtifactsResponse) ProtoReflect() protoreflect.Message
func (*ImportAptArtifactsResponse) Reset ¶
func (x *ImportAptArtifactsResponse) Reset()
func (*ImportAptArtifactsResponse) String ¶
func (x *ImportAptArtifactsResponse) String() string
type ImportYumArtifactsErrorInfo ¶
type ImportYumArtifactsErrorInfo struct { // The source that was not imported. // // Types that are assignable to Source: // // *ImportYumArtifactsErrorInfo_GcsSource Source isImportYumArtifactsErrorInfo_Source `protobuf_oneof:"source"` // The detailed error status. Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
Error information explaining why a package was not imported.
func (*ImportYumArtifactsErrorInfo) Descriptor ¶
func (*ImportYumArtifactsErrorInfo) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsErrorInfo.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsErrorInfo) GetError ¶
func (x *ImportYumArtifactsErrorInfo) GetError() *status.Status
func (*ImportYumArtifactsErrorInfo) GetGcsSource ¶
func (x *ImportYumArtifactsErrorInfo) GetGcsSource() *ImportYumArtifactsGcsSource
func (*ImportYumArtifactsErrorInfo) GetSource ¶
func (m *ImportYumArtifactsErrorInfo) GetSource() isImportYumArtifactsErrorInfo_Source
func (*ImportYumArtifactsErrorInfo) ProtoMessage ¶
func (*ImportYumArtifactsErrorInfo) ProtoMessage()
func (*ImportYumArtifactsErrorInfo) ProtoReflect ¶
func (x *ImportYumArtifactsErrorInfo) ProtoReflect() protoreflect.Message
func (*ImportYumArtifactsErrorInfo) Reset ¶
func (x *ImportYumArtifactsErrorInfo) Reset()
func (*ImportYumArtifactsErrorInfo) String ¶
func (x *ImportYumArtifactsErrorInfo) String() string
type ImportYumArtifactsErrorInfo_GcsSource ¶
type ImportYumArtifactsErrorInfo_GcsSource struct { // Google Cloud Storage location requested. GcsSource *ImportYumArtifactsGcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
type ImportYumArtifactsGcsSource ¶
type ImportYumArtifactsGcsSource struct { // Cloud Storage paths URI (e.g., gs://my_bucket//my_object). Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"` // Supports URI wildcards for matching multiple objects from a single URI. UseWildcards bool `protobuf:"varint,2,opt,name=use_wildcards,json=useWildcards,proto3" json:"use_wildcards,omitempty"` // contains filtered or unexported fields }
Google Cloud Storage location where the artifacts currently reside.
func (*ImportYumArtifactsGcsSource) Descriptor ¶
func (*ImportYumArtifactsGcsSource) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsGcsSource.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsGcsSource) GetUris ¶
func (x *ImportYumArtifactsGcsSource) GetUris() []string
func (*ImportYumArtifactsGcsSource) GetUseWildcards ¶
func (x *ImportYumArtifactsGcsSource) GetUseWildcards() bool
func (*ImportYumArtifactsGcsSource) ProtoMessage ¶
func (*ImportYumArtifactsGcsSource) ProtoMessage()
func (*ImportYumArtifactsGcsSource) ProtoReflect ¶
func (x *ImportYumArtifactsGcsSource) ProtoReflect() protoreflect.Message
func (*ImportYumArtifactsGcsSource) Reset ¶
func (x *ImportYumArtifactsGcsSource) Reset()
func (*ImportYumArtifactsGcsSource) String ¶
func (x *ImportYumArtifactsGcsSource) String() string
type ImportYumArtifactsMetadata ¶
type ImportYumArtifactsMetadata struct {
// contains filtered or unexported fields
}
The operation metadata for importing artifacts.
func (*ImportYumArtifactsMetadata) Descriptor ¶
func (*ImportYumArtifactsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsMetadata.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsMetadata) ProtoMessage ¶
func (*ImportYumArtifactsMetadata) ProtoMessage()
func (*ImportYumArtifactsMetadata) ProtoReflect ¶
func (x *ImportYumArtifactsMetadata) ProtoReflect() protoreflect.Message
func (*ImportYumArtifactsMetadata) Reset ¶
func (x *ImportYumArtifactsMetadata) Reset()
func (*ImportYumArtifactsMetadata) String ¶
func (x *ImportYumArtifactsMetadata) String() string
type ImportYumArtifactsRequest ¶
type ImportYumArtifactsRequest struct { // The source location of the package binaries. // // Types that are assignable to Source: // // *ImportYumArtifactsRequest_GcsSource Source isImportYumArtifactsRequest_Source `protobuf_oneof:"source"` // The name of the parent resource where the artifacts will be imported. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
The request to import new yum artifacts.
func (*ImportYumArtifactsRequest) Descriptor ¶
func (*ImportYumArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsRequest.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsRequest) GetGcsSource ¶
func (x *ImportYumArtifactsRequest) GetGcsSource() *ImportYumArtifactsGcsSource
func (*ImportYumArtifactsRequest) GetParent ¶
func (x *ImportYumArtifactsRequest) GetParent() string
func (*ImportYumArtifactsRequest) GetSource ¶
func (m *ImportYumArtifactsRequest) GetSource() isImportYumArtifactsRequest_Source
func (*ImportYumArtifactsRequest) ProtoMessage ¶
func (*ImportYumArtifactsRequest) ProtoMessage()
func (*ImportYumArtifactsRequest) ProtoReflect ¶
func (x *ImportYumArtifactsRequest) ProtoReflect() protoreflect.Message
func (*ImportYumArtifactsRequest) Reset ¶
func (x *ImportYumArtifactsRequest) Reset()
func (*ImportYumArtifactsRequest) String ¶
func (x *ImportYumArtifactsRequest) String() string
type ImportYumArtifactsRequest_GcsSource ¶
type ImportYumArtifactsRequest_GcsSource struct { // Google Cloud Storage location where input content is located. GcsSource *ImportYumArtifactsGcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
type ImportYumArtifactsResponse ¶
type ImportYumArtifactsResponse struct { // The yum artifacts imported. YumArtifacts []*YumArtifact `protobuf:"bytes,1,rep,name=yum_artifacts,json=yumArtifacts,proto3" json:"yum_artifacts,omitempty"` // Detailed error info for artifacts that were not imported. Errors []*ImportYumArtifactsErrorInfo `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
The response message from importing YUM artifacts.
func (*ImportYumArtifactsResponse) Descriptor ¶
func (*ImportYumArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportYumArtifactsResponse.ProtoReflect.Descriptor instead.
func (*ImportYumArtifactsResponse) GetErrors ¶
func (x *ImportYumArtifactsResponse) GetErrors() []*ImportYumArtifactsErrorInfo
func (*ImportYumArtifactsResponse) GetYumArtifacts ¶
func (x *ImportYumArtifactsResponse) GetYumArtifacts() []*YumArtifact
func (*ImportYumArtifactsResponse) ProtoMessage ¶
func (*ImportYumArtifactsResponse) ProtoMessage()
func (*ImportYumArtifactsResponse) ProtoReflect ¶
func (x *ImportYumArtifactsResponse) ProtoReflect() protoreflect.Message
func (*ImportYumArtifactsResponse) Reset ¶
func (x *ImportYumArtifactsResponse) Reset()
func (*ImportYumArtifactsResponse) String ¶
func (x *ImportYumArtifactsResponse) String() string
type ListFilesRequest ¶
type ListFilesRequest struct { // The name of the repository whose files will be listed. For example: // "projects/p1/locations/us-central1/repositories/repo1 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // An expression for filtering the results of the request. Filter rules are // case insensitive. The fields eligible for filtering are: // // - `name` // // - `owner` // // An example of using a filter: // // - `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an // ID starting with "a/b/". // // - `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> // Files owned by the version `1.0` in package `pkg1`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of files to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request to list files.
func (*ListFilesRequest) Descriptor ¶
func (*ListFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
func (*ListFilesRequest) GetFilter ¶
func (x *ListFilesRequest) GetFilter() string
func (*ListFilesRequest) GetPageSize ¶
func (x *ListFilesRequest) GetPageSize() int32
func (*ListFilesRequest) GetPageToken ¶
func (x *ListFilesRequest) GetPageToken() string
func (*ListFilesRequest) GetParent ¶
func (x *ListFilesRequest) GetParent() string
func (*ListFilesRequest) ProtoMessage ¶
func (*ListFilesRequest) ProtoMessage()
func (*ListFilesRequest) ProtoReflect ¶
func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
func (*ListFilesRequest) Reset ¶
func (x *ListFilesRequest) Reset()
func (*ListFilesRequest) String ¶
func (x *ListFilesRequest) String() string
type ListFilesResponse ¶
type ListFilesResponse struct { // The files returned. Files []*File `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // The token to retrieve the next page of files, or empty if there are no // more files to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response from listing files.
func (*ListFilesResponse) Descriptor ¶
func (*ListFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
func (*ListFilesResponse) GetFiles ¶
func (x *ListFilesResponse) GetFiles() []*File
func (*ListFilesResponse) GetNextPageToken ¶
func (x *ListFilesResponse) GetNextPageToken() string
func (*ListFilesResponse) ProtoMessage ¶
func (*ListFilesResponse) ProtoMessage()
func (*ListFilesResponse) ProtoReflect ¶
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
func (*ListFilesResponse) Reset ¶
func (x *ListFilesResponse) Reset()
func (*ListFilesResponse) String ¶
func (x *ListFilesResponse) String() string
type ListPackagesRequest ¶
type ListPackagesRequest struct { // The name of the parent resource whose packages will be listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of packages to return. // Maximum page size is 10,000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request to list packages.
func (*ListPackagesRequest) Descriptor ¶
func (*ListPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPackagesRequest.ProtoReflect.Descriptor instead.
func (*ListPackagesRequest) GetPageSize ¶
func (x *ListPackagesRequest) GetPageSize() int32
func (*ListPackagesRequest) GetPageToken ¶
func (x *ListPackagesRequest) GetPageToken() string
func (*ListPackagesRequest) GetParent ¶
func (x *ListPackagesRequest) GetParent() string
func (*ListPackagesRequest) ProtoMessage ¶
func (*ListPackagesRequest) ProtoMessage()
func (*ListPackagesRequest) ProtoReflect ¶
func (x *ListPackagesRequest) ProtoReflect() protoreflect.Message
func (*ListPackagesRequest) Reset ¶
func (x *ListPackagesRequest) Reset()
func (*ListPackagesRequest) String ¶
func (x *ListPackagesRequest) String() string
type ListPackagesResponse ¶
type ListPackagesResponse struct { // The packages returned. Packages []*Package `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"` // The token to retrieve the next page of packages, or empty if there are no // more packages to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response from listing packages.
func (*ListPackagesResponse) Descriptor ¶
func (*ListPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPackagesResponse.ProtoReflect.Descriptor instead.
func (*ListPackagesResponse) GetNextPageToken ¶
func (x *ListPackagesResponse) GetNextPageToken() string
func (*ListPackagesResponse) GetPackages ¶
func (x *ListPackagesResponse) GetPackages() []*Package
func (*ListPackagesResponse) ProtoMessage ¶
func (*ListPackagesResponse) ProtoMessage()
func (*ListPackagesResponse) ProtoReflect ¶
func (x *ListPackagesResponse) ProtoReflect() protoreflect.Message
func (*ListPackagesResponse) Reset ¶
func (x *ListPackagesResponse) Reset()
func (*ListPackagesResponse) String ¶
func (x *ListPackagesResponse) String() string
type ListRepositoriesRequest ¶
type ListRepositoriesRequest struct { // Required. The name of the parent resource whose repositories will be listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of repositories to return. Maximum page size is 1,000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request to list repositories.
func (*ListRepositoriesRequest) Descriptor ¶
func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoriesRequest) GetPageSize ¶
func (x *ListRepositoriesRequest) GetPageSize() int32
func (*ListRepositoriesRequest) GetPageToken ¶
func (x *ListRepositoriesRequest) GetPageToken() string
func (*ListRepositoriesRequest) GetParent ¶
func (x *ListRepositoriesRequest) GetParent() string
func (*ListRepositoriesRequest) ProtoMessage ¶
func (*ListRepositoriesRequest) ProtoMessage()
func (*ListRepositoriesRequest) ProtoReflect ¶
func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*ListRepositoriesRequest) Reset ¶
func (x *ListRepositoriesRequest) Reset()
func (*ListRepositoriesRequest) String ¶
func (x *ListRepositoriesRequest) String() string
type ListRepositoriesResponse ¶
type ListRepositoriesResponse struct { // The repositories returned. Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // The token to retrieve the next page of repositories, or empty if there are // no more repositories to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response from listing repositories.
func (*ListRepositoriesResponse) Descriptor ¶
func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoriesResponse) GetNextPageToken ¶
func (x *ListRepositoriesResponse) GetNextPageToken() string
func (*ListRepositoriesResponse) GetRepositories ¶
func (x *ListRepositoriesResponse) GetRepositories() []*Repository
func (*ListRepositoriesResponse) ProtoMessage ¶
func (*ListRepositoriesResponse) ProtoMessage()
func (*ListRepositoriesResponse) ProtoReflect ¶
func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message
func (*ListRepositoriesResponse) Reset ¶
func (x *ListRepositoriesResponse) Reset()
func (*ListRepositoriesResponse) String ¶
func (x *ListRepositoriesResponse) String() string
type ListTagsRequest ¶
type ListTagsRequest struct { // The name of the parent resource whose tags will be listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // An expression for filtering the results of the request. Filter rules are // case insensitive. The fields eligible for filtering are: // // - `version` // // An example of using a filter: // // - `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` // --> Tags that are applied to the version `1.0` in package `pkg1`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of tags to return. Maximum page size is 10,000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request to list tags.
func (*ListTagsRequest) Descriptor ¶
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (*ListTagsRequest) GetFilter ¶
func (x *ListTagsRequest) GetFilter() string
func (*ListTagsRequest) GetPageSize ¶
func (x *ListTagsRequest) GetPageSize() int32
func (*ListTagsRequest) GetPageToken ¶
func (x *ListTagsRequest) GetPageToken() string
func (*ListTagsRequest) GetParent ¶
func (x *ListTagsRequest) GetParent() string
func (*ListTagsRequest) ProtoMessage ¶
func (*ListTagsRequest) ProtoMessage()
func (*ListTagsRequest) ProtoReflect ¶
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (*ListTagsRequest) Reset ¶
func (x *ListTagsRequest) Reset()
func (*ListTagsRequest) String ¶
func (x *ListTagsRequest) String() string
type ListTagsResponse ¶
type ListTagsResponse struct { // The tags returned. Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // The token to retrieve the next page of tags, or empty if there are no // more tags to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response from listing tags.
func (*ListTagsResponse) Descriptor ¶
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (*ListTagsResponse) GetNextPageToken ¶
func (x *ListTagsResponse) GetNextPageToken() string
func (*ListTagsResponse) GetTags ¶
func (x *ListTagsResponse) GetTags() []*Tag
func (*ListTagsResponse) ProtoMessage ¶
func (*ListTagsResponse) ProtoMessage()
func (*ListTagsResponse) ProtoReflect ¶
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (*ListTagsResponse) Reset ¶
func (x *ListTagsResponse) Reset()
func (*ListTagsResponse) String ¶
func (x *ListTagsResponse) String() string
type ListVersionsRequest ¶
type ListVersionsRequest struct { // The name of the parent resource whose versions will be listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of versions to return. Maximum page size is 1,000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The view that should be returned in the response. View VersionView `protobuf:"varint,4,opt,name=view,proto3,enum=google.devtools.artifactregistry.v1beta2.VersionView" json:"view,omitempty"` // Optional. The field to order the results by. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
The request to list versions.
func (*ListVersionsRequest) Descriptor ¶
func (*ListVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListVersionsRequest) GetOrderBy ¶
func (x *ListVersionsRequest) GetOrderBy() string
func (*ListVersionsRequest) GetPageSize ¶
func (x *ListVersionsRequest) GetPageSize() int32
func (*ListVersionsRequest) GetPageToken ¶
func (x *ListVersionsRequest) GetPageToken() string
func (*ListVersionsRequest) GetParent ¶
func (x *ListVersionsRequest) GetParent() string
func (*ListVersionsRequest) GetView ¶
func (x *ListVersionsRequest) GetView() VersionView
func (*ListVersionsRequest) ProtoMessage ¶
func (*ListVersionsRequest) ProtoMessage()
func (*ListVersionsRequest) ProtoReflect ¶
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListVersionsRequest) Reset ¶
func (x *ListVersionsRequest) Reset()
func (*ListVersionsRequest) String ¶
func (x *ListVersionsRequest) String() string
type ListVersionsResponse ¶
type ListVersionsResponse struct { // The versions returned. Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // The token to retrieve the next page of versions, or empty if there are no // more versions to return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response from listing versions.
func (*ListVersionsResponse) Descriptor ¶
func (*ListVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListVersionsResponse) GetNextPageToken ¶
func (x *ListVersionsResponse) GetNextPageToken() string
func (*ListVersionsResponse) GetVersions ¶
func (x *ListVersionsResponse) GetVersions() []*Version
func (*ListVersionsResponse) ProtoMessage ¶
func (*ListVersionsResponse) ProtoMessage()
func (*ListVersionsResponse) ProtoReflect ¶
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListVersionsResponse) Reset ¶
func (x *ListVersionsResponse) Reset()
func (*ListVersionsResponse) String ¶
func (x *ListVersionsResponse) String() string
type OperationMetadata ¶
type OperationMetadata struct {
// contains filtered or unexported fields
}
Metadata type for longrunning-operations, currently empty.
func (*OperationMetadata) Descriptor ¶
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type Package ¶
type Package struct { // The name of the package, for example: // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The display name of the package. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The time when the package was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the package was last updated. This includes publishing a new // version of the package. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
Packages are named collections of versions.
func (*Package) Descriptor ¶
Deprecated: Use Package.ProtoReflect.Descriptor instead.
func (*Package) GetCreateTime ¶
func (x *Package) GetCreateTime() *timestamppb.Timestamp
func (*Package) GetDisplayName ¶
func (*Package) GetName ¶
func (*Package) GetUpdateTime ¶
func (x *Package) GetUpdateTime() *timestamppb.Timestamp
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) ProtoReflect ¶
func (x *Package) ProtoReflect() protoreflect.Message
func (*Package) Reset ¶
func (x *Package) Reset()
func (*Package) String ¶
type ProjectSettings ¶
type ProjectSettings struct { // The name of the project's settings. // // Always of the form: // projects/{project-id}/projectSettings // // In update request: never set // In response: always set Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The redirection state of the legacy repositories in this project. LegacyRedirectionState ProjectSettings_RedirectionState `protobuf:"varint,2,opt,name=legacy_redirection_state,json=legacyRedirectionState,proto3,enum=google.devtools.artifactregistry.v1beta2.ProjectSettings_RedirectionState" json:"legacy_redirection_state,omitempty"` // contains filtered or unexported fields }
The Artifact Registry settings that apply to a Project.
func (*ProjectSettings) Descriptor ¶
func (*ProjectSettings) Descriptor() ([]byte, []int)
Deprecated: Use ProjectSettings.ProtoReflect.Descriptor instead.
func (*ProjectSettings) GetLegacyRedirectionState ¶
func (x *ProjectSettings) GetLegacyRedirectionState() ProjectSettings_RedirectionState
func (*ProjectSettings) GetName ¶
func (x *ProjectSettings) GetName() string
func (*ProjectSettings) ProtoMessage ¶
func (*ProjectSettings) ProtoMessage()
func (*ProjectSettings) ProtoReflect ¶
func (x *ProjectSettings) ProtoReflect() protoreflect.Message
func (*ProjectSettings) Reset ¶
func (x *ProjectSettings) Reset()
func (*ProjectSettings) String ¶
func (x *ProjectSettings) String() string
type ProjectSettings_RedirectionState ¶
type ProjectSettings_RedirectionState int32
The possible redirection states for legacy repositories.
const ( // No redirection status has been set. ProjectSettings_REDIRECTION_STATE_UNSPECIFIED ProjectSettings_RedirectionState = 0 // Redirection is disabled. ProjectSettings_REDIRECTION_FROM_GCR_IO_DISABLED ProjectSettings_RedirectionState = 1 // Redirection is enabled. ProjectSettings_REDIRECTION_FROM_GCR_IO_ENABLED ProjectSettings_RedirectionState = 2 // Redirection is enabled, and has been finalized so cannot be reverted. ProjectSettings_REDIRECTION_FROM_GCR_IO_FINALIZED ProjectSettings_RedirectionState = 3 )
func (ProjectSettings_RedirectionState) Descriptor ¶
func (ProjectSettings_RedirectionState) Descriptor() protoreflect.EnumDescriptor
func (ProjectSettings_RedirectionState) Enum ¶
func (x ProjectSettings_RedirectionState) Enum() *ProjectSettings_RedirectionState
func (ProjectSettings_RedirectionState) EnumDescriptor ¶
func (ProjectSettings_RedirectionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectSettings_RedirectionState.Descriptor instead.
func (ProjectSettings_RedirectionState) Number ¶
func (x ProjectSettings_RedirectionState) Number() protoreflect.EnumNumber
func (ProjectSettings_RedirectionState) String ¶
func (x ProjectSettings_RedirectionState) String() string
func (ProjectSettings_RedirectionState) Type ¶
func (ProjectSettings_RedirectionState) Type() protoreflect.EnumType
type Repository ¶
type Repository struct { // Repository-specific configurations. // // Types that are assignable to FormatConfig: // // *Repository_MavenConfig FormatConfig isRepository_FormatConfig `protobuf_oneof:"format_config"` // The name of the repository, for example: // "projects/p1/locations/us-central1/repositories/repo1". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The format of packages that are stored in the repository. Format Repository_Format `protobuf:"varint,2,opt,name=format,proto3,enum=google.devtools.artifactregistry.v1beta2.Repository_Format" json:"format,omitempty"` // The user-provided description of the repository. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Labels with user-defined metadata. // This field may contain up to 64 entries. Label keys and values may be no // longer than 63 characters. Label keys must begin with a lowercase letter // and may only contain lowercase letters, numeric characters, underscores, // and dashes. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The time when the repository was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the repository was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The Cloud KMS resource name of the customer managed encryption key that’s // used to encrypt the contents of the Repository. Has the form: // `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. // This value may not be changed after the Repository has been created. KmsKeyName string `protobuf:"bytes,8,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` // contains filtered or unexported fields }
A Repository for storing artifacts with a specific format.
func (*Repository) Descriptor ¶
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetCreateTime ¶
func (x *Repository) GetCreateTime() *timestamppb.Timestamp
func (*Repository) GetDescription ¶
func (x *Repository) GetDescription() string
func (*Repository) GetFormat ¶
func (x *Repository) GetFormat() Repository_Format
func (*Repository) GetFormatConfig ¶
func (m *Repository) GetFormatConfig() isRepository_FormatConfig
func (*Repository) GetKmsKeyName ¶
func (x *Repository) GetKmsKeyName() string
func (*Repository) GetLabels ¶
func (x *Repository) GetLabels() map[string]string
func (*Repository) GetMavenConfig ¶
func (x *Repository) GetMavenConfig() *Repository_MavenRepositoryConfig
func (*Repository) GetName ¶
func (x *Repository) GetName() string
func (*Repository) GetUpdateTime ¶
func (x *Repository) GetUpdateTime() *timestamppb.Timestamp
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) ProtoReflect ¶
func (x *Repository) ProtoReflect() protoreflect.Message
func (*Repository) Reset ¶
func (x *Repository) Reset()
func (*Repository) String ¶
func (x *Repository) String() string
type Repository_Format ¶
type Repository_Format int32
A package format.
const ( // Unspecified package format. Repository_FORMAT_UNSPECIFIED Repository_Format = 0 // Docker package format. Repository_DOCKER Repository_Format = 1 // Maven package format. Repository_MAVEN Repository_Format = 2 // NPM package format. Repository_NPM Repository_Format = 3 // APT package format. Repository_APT Repository_Format = 5 // YUM package format. Repository_YUM Repository_Format = 6 // Python package format. Repository_PYTHON Repository_Format = 8 )
func (Repository_Format) Descriptor ¶
func (Repository_Format) Descriptor() protoreflect.EnumDescriptor
func (Repository_Format) Enum ¶
func (x Repository_Format) Enum() *Repository_Format
func (Repository_Format) EnumDescriptor ¶
func (Repository_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use Repository_Format.Descriptor instead.
func (Repository_Format) Number ¶
func (x Repository_Format) Number() protoreflect.EnumNumber
func (Repository_Format) String ¶
func (x Repository_Format) String() string
func (Repository_Format) Type ¶
func (Repository_Format) Type() protoreflect.EnumType
type Repository_MavenConfig ¶
type Repository_MavenConfig struct { // Maven repository config contains repository level configuration // for the repositories of maven type. MavenConfig *Repository_MavenRepositoryConfig `protobuf:"bytes,9,opt,name=maven_config,json=mavenConfig,proto3,oneof"` }
type Repository_MavenRepositoryConfig ¶
type Repository_MavenRepositoryConfig struct { // The repository with this flag will allow publishing // the same snapshot versions. AllowSnapshotOverwrites bool `protobuf:"varint,1,opt,name=allow_snapshot_overwrites,json=allowSnapshotOverwrites,proto3" json:"allow_snapshot_overwrites,omitempty"` // Version policy defines the versions that the registry will accept. VersionPolicy Repository_MavenRepositoryConfig_VersionPolicy `protobuf:"varint,2,opt,name=version_policy,json=versionPolicy,proto3,enum=google.devtools.artifactregistry.v1beta2.Repository_MavenRepositoryConfig_VersionPolicy" json:"version_policy,omitempty"` // contains filtered or unexported fields }
MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.
func (*Repository_MavenRepositoryConfig) Descriptor ¶
func (*Repository_MavenRepositoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use Repository_MavenRepositoryConfig.ProtoReflect.Descriptor instead.
func (*Repository_MavenRepositoryConfig) GetAllowSnapshotOverwrites ¶
func (x *Repository_MavenRepositoryConfig) GetAllowSnapshotOverwrites() bool
func (*Repository_MavenRepositoryConfig) GetVersionPolicy ¶
func (x *Repository_MavenRepositoryConfig) GetVersionPolicy() Repository_MavenRepositoryConfig_VersionPolicy
func (*Repository_MavenRepositoryConfig) ProtoMessage ¶
func (*Repository_MavenRepositoryConfig) ProtoMessage()
func (*Repository_MavenRepositoryConfig) ProtoReflect ¶
func (x *Repository_MavenRepositoryConfig) ProtoReflect() protoreflect.Message
func (*Repository_MavenRepositoryConfig) Reset ¶
func (x *Repository_MavenRepositoryConfig) Reset()
func (*Repository_MavenRepositoryConfig) String ¶
func (x *Repository_MavenRepositoryConfig) String() string
type Repository_MavenRepositoryConfig_VersionPolicy ¶
type Repository_MavenRepositoryConfig_VersionPolicy int32
VersionPolicy is the version policy for the repository.
const ( // VERSION_POLICY_UNSPECIFIED - the version policy is not defined. // When the version policy is not defined, no validation is performed // for the versions. Repository_MavenRepositoryConfig_VERSION_POLICY_UNSPECIFIED Repository_MavenRepositoryConfig_VersionPolicy = 0 // RELEASE - repository will accept only Release versions. Repository_MavenRepositoryConfig_RELEASE Repository_MavenRepositoryConfig_VersionPolicy = 1 // SNAPSHOT - repository will accept only Snapshot versions. Repository_MavenRepositoryConfig_SNAPSHOT Repository_MavenRepositoryConfig_VersionPolicy = 2 )
func (Repository_MavenRepositoryConfig_VersionPolicy) Descriptor ¶
func (Repository_MavenRepositoryConfig_VersionPolicy) Descriptor() protoreflect.EnumDescriptor
func (Repository_MavenRepositoryConfig_VersionPolicy) Enum ¶
func (x Repository_MavenRepositoryConfig_VersionPolicy) Enum() *Repository_MavenRepositoryConfig_VersionPolicy
func (Repository_MavenRepositoryConfig_VersionPolicy) EnumDescriptor ¶
func (Repository_MavenRepositoryConfig_VersionPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Repository_MavenRepositoryConfig_VersionPolicy.Descriptor instead.
func (Repository_MavenRepositoryConfig_VersionPolicy) Number ¶
func (x Repository_MavenRepositoryConfig_VersionPolicy) Number() protoreflect.EnumNumber
func (Repository_MavenRepositoryConfig_VersionPolicy) String ¶
func (x Repository_MavenRepositoryConfig_VersionPolicy) String() string
func (Repository_MavenRepositoryConfig_VersionPolicy) Type ¶
type Tag ¶
type Tag struct { // The name of the tag, for example: // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1". // If the package part contains slashes, the slashes are escaped. // The tag part can only have characters in [a-zA-Z0-9\-._~:@], anything else // must be URL encoded. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the version the tag refers to, for example: // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811" // If the package or version ID parts contain slashes, the slashes are // escaped. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Tags point to a version and represent an alternative name that can be used to access the version.
func (*Tag) Descriptor ¶
Deprecated: Use Tag.ProtoReflect.Descriptor instead.
func (*Tag) GetName ¶
func (*Tag) GetVersion ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
func (*Tag) Reset ¶
func (x *Tag) Reset()
func (*Tag) String ¶
type UnimplementedArtifactRegistryServer ¶
type UnimplementedArtifactRegistryServer struct { }
UnimplementedArtifactRegistryServer can be embedded to have forward compatible implementations.
func (*UnimplementedArtifactRegistryServer) CreateRepository ¶
func (*UnimplementedArtifactRegistryServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) CreateTag ¶
func (*UnimplementedArtifactRegistryServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
func (*UnimplementedArtifactRegistryServer) DeletePackage ¶
func (*UnimplementedArtifactRegistryServer) DeletePackage(context.Context, *DeletePackageRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) DeleteRepository ¶
func (*UnimplementedArtifactRegistryServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) DeleteTag ¶
func (*UnimplementedArtifactRegistryServer) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error)
func (*UnimplementedArtifactRegistryServer) DeleteVersion ¶
func (*UnimplementedArtifactRegistryServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) GetFile ¶
func (*UnimplementedArtifactRegistryServer) GetFile(context.Context, *GetFileRequest) (*File, error)
func (*UnimplementedArtifactRegistryServer) GetIamPolicy ¶
func (*UnimplementedArtifactRegistryServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedArtifactRegistryServer) GetPackage ¶
func (*UnimplementedArtifactRegistryServer) GetPackage(context.Context, *GetPackageRequest) (*Package, error)
func (*UnimplementedArtifactRegistryServer) GetProjectSettings ¶
func (*UnimplementedArtifactRegistryServer) GetProjectSettings(context.Context, *GetProjectSettingsRequest) (*ProjectSettings, error)
func (*UnimplementedArtifactRegistryServer) GetRepository ¶
func (*UnimplementedArtifactRegistryServer) GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)
func (*UnimplementedArtifactRegistryServer) GetTag ¶
func (*UnimplementedArtifactRegistryServer) GetTag(context.Context, *GetTagRequest) (*Tag, error)
func (*UnimplementedArtifactRegistryServer) GetVersion ¶
func (*UnimplementedArtifactRegistryServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)
func (*UnimplementedArtifactRegistryServer) ImportAptArtifacts ¶
func (*UnimplementedArtifactRegistryServer) ImportAptArtifacts(context.Context, *ImportAptArtifactsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) ImportYumArtifacts ¶
func (*UnimplementedArtifactRegistryServer) ImportYumArtifacts(context.Context, *ImportYumArtifactsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedArtifactRegistryServer) ListFiles ¶
func (*UnimplementedArtifactRegistryServer) ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListPackages ¶
func (*UnimplementedArtifactRegistryServer) ListPackages(context.Context, *ListPackagesRequest) (*ListPackagesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListRepositories ¶
func (*UnimplementedArtifactRegistryServer) ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
func (*UnimplementedArtifactRegistryServer) ListTags ¶
func (*UnimplementedArtifactRegistryServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
func (*UnimplementedArtifactRegistryServer) ListVersions ¶
func (*UnimplementedArtifactRegistryServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
func (*UnimplementedArtifactRegistryServer) SetIamPolicy ¶
func (*UnimplementedArtifactRegistryServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedArtifactRegistryServer) TestIamPermissions ¶
func (*UnimplementedArtifactRegistryServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*UnimplementedArtifactRegistryServer) UpdateProjectSettings ¶
func (*UnimplementedArtifactRegistryServer) UpdateProjectSettings(context.Context, *UpdateProjectSettingsRequest) (*ProjectSettings, error)
func (*UnimplementedArtifactRegistryServer) UpdateRepository ¶
func (*UnimplementedArtifactRegistryServer) UpdateRepository(context.Context, *UpdateRepositoryRequest) (*Repository, error)
func (*UnimplementedArtifactRegistryServer) UpdateTag ¶
func (*UnimplementedArtifactRegistryServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error)
type UpdateProjectSettingsRequest ¶
type UpdateProjectSettingsRequest struct { // The project settings. ProjectSettings *ProjectSettings `protobuf:"bytes,2,opt,name=project_settings,json=projectSettings,proto3" json:"project_settings,omitempty"` // Field mask to support partial updates. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Sets the settings of the project.
func (*UpdateProjectSettingsRequest) Descriptor ¶
func (*UpdateProjectSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectSettingsRequest) GetProjectSettings ¶
func (x *UpdateProjectSettingsRequest) GetProjectSettings() *ProjectSettings
func (*UpdateProjectSettingsRequest) GetUpdateMask ¶
func (x *UpdateProjectSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateProjectSettingsRequest) ProtoMessage ¶
func (*UpdateProjectSettingsRequest) ProtoMessage()
func (*UpdateProjectSettingsRequest) ProtoReflect ¶
func (x *UpdateProjectSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateProjectSettingsRequest) Reset ¶
func (x *UpdateProjectSettingsRequest) Reset()
func (*UpdateProjectSettingsRequest) String ¶
func (x *UpdateProjectSettingsRequest) String() string
type UpdateRepositoryRequest ¶
type UpdateRepositoryRequest struct { // The repository that replaces the resource on the server. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // The update mask applies to the resource. For the `FieldMask` definition, // see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request to update a repository.
func (*UpdateRepositoryRequest) Descriptor ¶
func (*UpdateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryRequest) GetRepository ¶
func (x *UpdateRepositoryRequest) GetRepository() *Repository
func (*UpdateRepositoryRequest) GetUpdateMask ¶
func (x *UpdateRepositoryRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateRepositoryRequest) ProtoMessage ¶
func (*UpdateRepositoryRequest) ProtoMessage()
func (*UpdateRepositoryRequest) ProtoReflect ¶
func (x *UpdateRepositoryRequest) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryRequest) Reset ¶
func (x *UpdateRepositoryRequest) Reset()
func (*UpdateRepositoryRequest) String ¶
func (x *UpdateRepositoryRequest) String() string
type UpdateTagRequest ¶
type UpdateTagRequest struct { // The tag that replaces the resource on the server. Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // The update mask applies to the resource. For the `FieldMask` definition, // see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request to create or update a tag.
func (*UpdateTagRequest) Descriptor ¶
func (*UpdateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.
func (*UpdateTagRequest) GetTag ¶
func (x *UpdateTagRequest) GetTag() *Tag
func (*UpdateTagRequest) GetUpdateMask ¶
func (x *UpdateTagRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTagRequest) ProtoMessage ¶
func (*UpdateTagRequest) ProtoMessage()
func (*UpdateTagRequest) ProtoReflect ¶
func (x *UpdateTagRequest) ProtoReflect() protoreflect.Message
func (*UpdateTagRequest) Reset ¶
func (x *UpdateTagRequest) Reset()
func (*UpdateTagRequest) String ¶
func (x *UpdateTagRequest) String() string
type Version ¶
type Version struct { // The name of the version, for example: // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1". // If the package or version ID parts contain slashes, the slashes are // escaped. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Description of the version, as specified in its metadata. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The time when the version was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time when the version was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. A list of related tags. Will contain up to 100 tags that // reference this version. RelatedTags []*Tag `protobuf:"bytes,7,rep,name=related_tags,json=relatedTags,proto3" json:"related_tags,omitempty"` // Output only. Repository-specific Metadata stored against this version. // The fields returned are defined by the underlying repository-specific // resource. Currently, the only resource in use is // [DockerImage][google.devtools.artifactregistry.v1.DockerImage] Metadata *structpb.Struct `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
The body of a version resource. A version resource represents a collection of components, such as files and other data. This may correspond to a version in many package management schemes.
func (*Version) Descriptor ¶
Deprecated: Use Version.ProtoReflect.Descriptor instead.
func (*Version) GetCreateTime ¶
func (x *Version) GetCreateTime() *timestamppb.Timestamp
func (*Version) GetDescription ¶
func (*Version) GetMetadata ¶
func (*Version) GetName ¶
func (*Version) GetRelatedTags ¶
func (*Version) GetUpdateTime ¶
func (x *Version) GetUpdateTime() *timestamppb.Timestamp
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
func (*Version) Reset ¶
func (x *Version) Reset()
func (*Version) String ¶
type VersionView ¶
type VersionView int32
The view, which determines what version information is returned in a response.
const ( // The default / unset value. // The API will default to the BASIC view. VersionView_VERSION_VIEW_UNSPECIFIED VersionView = 0 // Includes basic information about the version, but not any related tags. VersionView_BASIC VersionView = 1 // Include everything. VersionView_FULL VersionView = 2 )
func (VersionView) Descriptor ¶
func (VersionView) Descriptor() protoreflect.EnumDescriptor
func (VersionView) Enum ¶
func (x VersionView) Enum() *VersionView
func (VersionView) EnumDescriptor ¶
func (VersionView) EnumDescriptor() ([]byte, []int)
Deprecated: Use VersionView.Descriptor instead.
func (VersionView) Number ¶
func (x VersionView) Number() protoreflect.EnumNumber
func (VersionView) String ¶
func (x VersionView) String() string
func (VersionView) Type ¶
func (VersionView) Type() protoreflect.EnumType
type YumArtifact ¶
type YumArtifact struct { // Output only. The Artifact Registry resource name of the artifact. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The yum package name of the artifact. PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // Output only. An artifact is a binary or source package. PackageType YumArtifact_PackageType `protobuf:"varint,3,opt,name=package_type,json=packageType,proto3,enum=google.devtools.artifactregistry.v1beta2.YumArtifact_PackageType" json:"package_type,omitempty"` // Output only. Operating system architecture of the artifact. Architecture string `protobuf:"bytes,4,opt,name=architecture,proto3" json:"architecture,omitempty"` // contains filtered or unexported fields }
A detailed representation of a Yum artifact.
func (*YumArtifact) Descriptor ¶
func (*YumArtifact) Descriptor() ([]byte, []int)
Deprecated: Use YumArtifact.ProtoReflect.Descriptor instead.
func (*YumArtifact) GetArchitecture ¶
func (x *YumArtifact) GetArchitecture() string
func (*YumArtifact) GetName ¶
func (x *YumArtifact) GetName() string
func (*YumArtifact) GetPackageName ¶
func (x *YumArtifact) GetPackageName() string
func (*YumArtifact) GetPackageType ¶
func (x *YumArtifact) GetPackageType() YumArtifact_PackageType
func (*YumArtifact) ProtoMessage ¶
func (*YumArtifact) ProtoMessage()
func (*YumArtifact) ProtoReflect ¶
func (x *YumArtifact) ProtoReflect() protoreflect.Message
func (*YumArtifact) Reset ¶
func (x *YumArtifact) Reset()
func (*YumArtifact) String ¶
func (x *YumArtifact) String() string
type YumArtifact_PackageType ¶
type YumArtifact_PackageType int32
Package type is either binary or source.
const ( // Package type is not specified. YumArtifact_PACKAGE_TYPE_UNSPECIFIED YumArtifact_PackageType = 0 // Binary package (.rpm). YumArtifact_BINARY YumArtifact_PackageType = 1 // Source package (.srpm). YumArtifact_SOURCE YumArtifact_PackageType = 2 )
func (YumArtifact_PackageType) Descriptor ¶
func (YumArtifact_PackageType) Descriptor() protoreflect.EnumDescriptor
func (YumArtifact_PackageType) Enum ¶
func (x YumArtifact_PackageType) Enum() *YumArtifact_PackageType
func (YumArtifact_PackageType) EnumDescriptor ¶
func (YumArtifact_PackageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use YumArtifact_PackageType.Descriptor instead.
func (YumArtifact_PackageType) Number ¶
func (x YumArtifact_PackageType) Number() protoreflect.EnumNumber
func (YumArtifact_PackageType) String ¶
func (x YumArtifact_PackageType) String() string
func (YumArtifact_PackageType) Type ¶
func (YumArtifact_PackageType) Type() protoreflect.EnumType
Source Files ¶
apt_artifact.pb.go file.pb.go package.pb.go repository.pb.go service.pb.go settings.pb.go tag.pb.go version.pb.go yum_artifact.pb.go
- Version
- v1.16.1 (latest)
- Published
- Jan 2, 2025
- Platform
- linux/amd64
- Imports
- 16 packages
- Last checked
- 5 days ago –
Tools for package owners.