Documentation ¶
Overview ¶
Package v1 contains the v1 GRPC client and server definitions for implementing Registry interactions.
Index ¶
- Constants
- Variables
- func RegisterRegistryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistryClient) error
- func RegisterRegistryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRegistryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RegistryServer) error
- func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)
- type ArchFilter
- type ArchRequest
- func (*ArchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ArchRequest) GetDigest() string
- func (x *ArchRequest) GetRepoId() string
- func (*ArchRequest) ProtoMessage()
- func (x *ArchRequest) ProtoReflect() protoreflect.Message
- func (x *ArchRequest) Reset()
- func (x *ArchRequest) String() string
- type Archs
- type CatalogTier
- func (CatalogTier) Descriptor() protoreflect.EnumDescriptor
- func (x CatalogTier) Enum() *CatalogTier
- func (CatalogTier) EnumDescriptor() ([]byte, []int)deprecated
- func (x CatalogTier) Number() protoreflect.EnumNumber
- func (x CatalogTier) String() string
- func (CatalogTier) Type() protoreflect.EnumType
- type Clients
- type CreateRepoRequest
- func (*CreateRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepoRequest) GetParentId() string
- func (x *CreateRepoRequest) GetRepo() *Repo
- func (*CreateRepoRequest) ProtoMessage()
- func (x *CreateRepoRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepoRequest) Reset()
- func (x *CreateRepoRequest) String() string
- type CreateTagRequest
- func (*CreateTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTagRequest) GetRepoId() string
- func (x *CreateTagRequest) GetTag() *Tag
- func (*CreateTagRequest) ProtoMessage()
- func (x *CreateTagRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTagRequest) Reset()
- func (x *CreateTagRequest) String() string
- type DeleteRepoRequest
- type DeleteTagRequest
- type DiffImageRequest
- func (*DiffImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DiffImageRequest) GetFromDigest() string
- func (x *DiffImageRequest) GetRepoId() string
- func (x *DiffImageRequest) GetToDigest() string
- func (*DiffImageRequest) ProtoMessage()
- func (x *DiffImageRequest) ProtoReflect() protoreflect.Message
- func (x *DiffImageRequest) Reset()
- func (x *DiffImageRequest) String() string
- type DiffImageResponse
- func (*DiffImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiffImageResponse) GetPackages() *PackagesDiff
- func (x *DiffImageResponse) GetVulnerabilities() *VulnerabilitiesDiff
- func (x *DiffImageResponse) GetWarnings() []string
- func (*DiffImageResponse) ProtoMessage()
- func (x *DiffImageResponse) ProtoReflect() protoreflect.Message
- func (x *DiffImageResponse) Reset()
- func (x *DiffImageResponse) String() string
- type ImageConfig
- func (*ImageConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ImageConfig) GetCmd() []string
- func (x *ImageConfig) GetEntrypoint() []string
- func (x *ImageConfig) GetEnv() []string
- func (x *ImageConfig) GetExposedPorts() map[string]*ImageConfig_ExposedPort
- func (x *ImageConfig) GetLabels() map[string]string
- func (x *ImageConfig) GetStopSignal() string
- func (x *ImageConfig) GetUser() string
- func (x *ImageConfig) GetVolumes() map[string]*ImageConfig_Volume
- func (x *ImageConfig) GetWorkingDir() string
- func (*ImageConfig) ProtoMessage()
- func (x *ImageConfig) ProtoReflect() protoreflect.Message
- func (x *ImageConfig) Reset()
- func (x *ImageConfig) String() string
- type ImageConfigRequest
- func (*ImageConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImageConfigRequest) GetArch() string
- func (x *ImageConfigRequest) GetDigest() string
- func (x *ImageConfigRequest) GetRepoId() string
- func (*ImageConfigRequest) ProtoMessage()
- func (x *ImageConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ImageConfigRequest) Reset()
- func (x *ImageConfigRequest) String() string
- type ImageConfig_ExposedPort
- type ImageConfig_Volume
- type ManifestMetadata
- func (*ManifestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ManifestMetadata) GetDigest() string
- func (x *ManifestMetadata) GetPkgMetadata() []*PkgMetadata
- func (*ManifestMetadata) ProtoMessage()
- func (x *ManifestMetadata) ProtoReflect() protoreflect.Message
- func (x *ManifestMetadata) Reset()
- func (x *ManifestMetadata) String() string
- type ManifestMetadataFilter
- func (*ManifestMetadataFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ManifestMetadataFilter) GetItems() []*ManifestMetadataFilterEntry
- func (x *ManifestMetadataFilter) GetRepoId() string
- func (*ManifestMetadataFilter) ProtoMessage()
- func (x *ManifestMetadataFilter) ProtoReflect() protoreflect.Message
- func (x *ManifestMetadataFilter) Reset()
- func (x *ManifestMetadataFilter) String() string
- type ManifestMetadataFilterEntry
- func (*ManifestMetadataFilterEntry) Descriptor() ([]byte, []int)deprecated
- func (m *ManifestMetadataFilterEntry) GetFilter() isManifestMetadataFilterEntry_Filter
- func (x *ManifestMetadataFilterEntry) GetImageDigest() string
- func (x *ManifestMetadataFilterEntry) GetIndexFilter() *ManifestMetadataIndexFilter
- func (*ManifestMetadataFilterEntry) ProtoMessage()
- func (x *ManifestMetadataFilterEntry) ProtoReflect() protoreflect.Message
- func (x *ManifestMetadataFilterEntry) Reset()
- func (x *ManifestMetadataFilterEntry) String() string
- type ManifestMetadataFilterEntry_ImageDigest
- type ManifestMetadataFilterEntry_IndexFilter
- type ManifestMetadataIndexFilter
- func (*ManifestMetadataIndexFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ManifestMetadataIndexFilter) GetArch() string
- func (x *ManifestMetadataIndexFilter) GetDigest() string
- func (*ManifestMetadataIndexFilter) ProtoMessage()
- func (x *ManifestMetadataIndexFilter) ProtoReflect() protoreflect.Message
- func (x *ManifestMetadataIndexFilter) Reset()
- func (x *ManifestMetadataIndexFilter) String() string
- type ManifestMetadataList
- func (*ManifestMetadataList) Descriptor() ([]byte, []int)deprecated
- func (x *ManifestMetadataList) GetItems() []*ManifestMetadata
- func (*ManifestMetadataList) ProtoMessage()
- func (x *ManifestMetadataList) ProtoReflect() protoreflect.Message
- func (x *ManifestMetadataList) Reset()
- func (x *ManifestMetadataList) String() string
- type PackageReference
- func (*PackageReference) Descriptor() ([]byte, []int)deprecated
- func (x *PackageReference) GetName() string
- func (x *PackageReference) GetReference() string
- func (x *PackageReference) GetVersion() string
- func (*PackageReference) ProtoMessage()
- func (x *PackageReference) ProtoReflect() protoreflect.Message
- func (x *PackageReference) Reset()
- func (x *PackageReference) String() string
- type PackagesDiff
- func (*PackagesDiff) Descriptor() ([]byte, []int)deprecated
- func (x *PackagesDiff) GetAdded() []*PackageReference
- func (x *PackagesDiff) GetChanged() []*PackagesDiff_ChangedPackageReference
- func (x *PackagesDiff) GetRemoved() []*PackageReference
- func (*PackagesDiff) ProtoMessage()
- func (x *PackagesDiff) ProtoReflect() protoreflect.Message
- func (x *PackagesDiff) Reset()
- func (x *PackagesDiff) String() string
- type PackagesDiff_ChangedPackageReference
- func (*PackagesDiff_ChangedPackageReference) Descriptor() ([]byte, []int)deprecated
- func (x *PackagesDiff_ChangedPackageReference) GetCurrent() *VersionReference
- func (x *PackagesDiff_ChangedPackageReference) GetName() string
- func (x *PackagesDiff_ChangedPackageReference) GetPrevious() *VersionReference
- func (*PackagesDiff_ChangedPackageReference) ProtoMessage()
- func (x *PackagesDiff_ChangedPackageReference) ProtoReflect() protoreflect.Message
- func (x *PackagesDiff_ChangedPackageReference) Reset()
- func (x *PackagesDiff_ChangedPackageReference) String() string
- type PkgMetadata
- func (*PkgMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PkgMetadata) GetBuildTimestamp() *timestamppb.Timestamp
- func (x *PkgMetadata) GetEolDate() *timestamppb.Timestamp
- func (x *PkgMetadata) GetLicense() string
- func (x *PkgMetadata) GetOriginPurl() string
- func (x *PkgMetadata) GetPurl() string
- func (*PkgMetadata) ProtoMessage()
- func (x *PkgMetadata) ProtoReflect() protoreflect.Message
- func (x *PkgMetadata) Reset()
- func (x *PkgMetadata) String() string
- type RawSbom
- type RawSbomRequest
- func (*RawSbomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RawSbomRequest) GetArch() string
- func (x *RawSbomRequest) GetDigest() string
- func (x *RawSbomRequest) GetReference() string
- func (x *RawSbomRequest) GetRepoId() string
- func (*RawSbomRequest) ProtoMessage()
- func (x *RawSbomRequest) ProtoReflect() protoreflect.Message
- func (x *RawSbomRequest) Reset()
- func (x *RawSbomRequest) String() string
- type RegistryClient
- type RegistryServer
- type Repo
- func (x *Repo) CloudEventsExtension(key string) (string, bool)
- func (x *Repo) CloudEventsSubject() string
- func (*Repo) Descriptor() ([]byte, []int)deprecated
- func (x *Repo) GetBundles() []string
- func (x *Repo) GetCatalogTier() CatalogTier
- func (x *Repo) GetId() string
- func (x *Repo) GetName() string
- func (x *Repo) GetReadme() string
- func (x *Repo) GetSyncConfig() *SyncConfig
- func (*Repo) ProtoMessage()
- func (x *Repo) ProtoReflect() protoreflect.Message
- func (x *Repo) Reset()
- func (x *Repo) String() string
- type RepoFilter
- func (*RepoFilter) Descriptor() ([]byte, []int)deprecated
- func (x *RepoFilter) GetId() string
- func (x *RepoFilter) GetName() string
- func (x *RepoFilter) GetUidp() *v1.UIDPFilter
- func (*RepoFilter) ProtoMessage()
- func (x *RepoFilter) ProtoReflect() protoreflect.Message
- func (x *RepoFilter) Reset()
- func (x *RepoFilter) String() string
- type RepoList
- type SbomRequest
- func (*SbomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SbomRequest) GetArch() string
- func (x *SbomRequest) GetDigest() string
- func (x *SbomRequest) GetRepoId() string
- func (*SbomRequest) ProtoMessage()
- func (x *SbomRequest) ProtoReflect() protoreflect.Message
- func (x *SbomRequest) Reset()
- func (x *SbomRequest) String() string
- type ScannerMetadata
- func (*ScannerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ScannerMetadata) GetDigest() string
- func (x *ScannerMetadata) GetScanner() *v11.Scanner
- func (x *ScannerMetadata) GetVulnerabilityDbLastBuildTime() *timestamppb.Timestamp
- func (x *ScannerMetadata) GetVulnerabilityDbSchemaVersion() string
- func (*ScannerMetadata) ProtoMessage()
- func (x *ScannerMetadata) ProtoReflect() protoreflect.Message
- func (x *ScannerMetadata) Reset()
- func (x *ScannerMetadata) String() string
- type Size
- type SizeRequest
- func (*SizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SizeRequest) GetArch() string
- func (x *SizeRequest) GetDigest() string
- func (x *SizeRequest) GetRepoId() string
- func (*SizeRequest) ProtoMessage()
- func (x *SizeRequest) ProtoReflect() protoreflect.Message
- func (x *SizeRequest) Reset()
- func (x *SizeRequest) String() string
- type SyncConfig
- func (*SyncConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SyncConfig) GetAmazon() string
- func (x *SyncConfig) GetApkoOverlay() string
- func (x *SyncConfig) GetExpiration() *timestamppb.Timestamp
- func (x *SyncConfig) GetGoogle() string
- func (x *SyncConfig) GetSource() string
- func (x *SyncConfig) GetSyncApks() bool
- func (x *SyncConfig) GetUniqueTags() bool
- func (*SyncConfig) ProtoMessage()
- func (x *SyncConfig) ProtoReflect() protoreflect.Message
- func (x *SyncConfig) Reset()
- func (x *SyncConfig) String() string
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetBundles() []string
- func (x *Tag) GetDeprecated() bool
- func (x *Tag) GetDigest() string
- func (x *Tag) GetId() string
- func (x *Tag) GetLastUpdated() *timestamppb.Timestamp
- func (x *Tag) GetName() string
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (x *Tag) String() string
- type TagFilter
- func (*TagFilter) Descriptor() ([]byte, []int)deprecated
- func (x *TagFilter) GetExcludeDates() bool
- func (x *TagFilter) GetExcludeEpochs() bool
- func (x *TagFilter) GetExcludeReferrers() bool
- func (x *TagFilter) GetId() string
- func (x *TagFilter) GetName() string
- func (x *TagFilter) GetUidp() *v1.UIDPFilter
- func (x *TagFilter) GetUpdatedSince() *timestamppb.Timestamp
- func (*TagFilter) ProtoMessage()
- func (x *TagFilter) ProtoReflect() protoreflect.Message
- func (x *TagFilter) Reset()
- func (x *TagFilter) String() string
- type TagHistory
- func (*TagHistory) Descriptor() ([]byte, []int)deprecated
- func (x *TagHistory) GetDigest() string
- func (x *TagHistory) GetUpdateTimestamp() *timestamppb.Timestamp
- func (*TagHistory) ProtoMessage()
- func (x *TagHistory) ProtoReflect() protoreflect.Message
- func (x *TagHistory) Reset()
- func (x *TagHistory) String() string
- type TagHistoryFilter
- func (*TagHistoryFilter) Descriptor() ([]byte, []int)deprecated
- func (x *TagHistoryFilter) GetEnd() *timestamppb.Timestamp
- func (x *TagHistoryFilter) GetParentId() string
- func (x *TagHistoryFilter) GetStart() *timestamppb.Timestamp
- func (*TagHistoryFilter) ProtoMessage()
- func (x *TagHistoryFilter) ProtoReflect() protoreflect.Message
- func (x *TagHistoryFilter) Reset()
- func (x *TagHistoryFilter) String() string
- type TagHistoryList
- type TagList
- type UnimplementedRegistryServer
- func (UnimplementedRegistryServer) CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error)
- func (UnimplementedRegistryServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
- func (UnimplementedRegistryServer) DeleteRepo(context.Context, *DeleteRepoRequest) (*emptypb.Empty, error)
- func (UnimplementedRegistryServer) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error)
- func (UnimplementedRegistryServer) GetArchs(context.Context, *ArchRequest) (*Archs, error)
- func (UnimplementedRegistryServer) GetImageConfig(context.Context, *ImageConfigRequest) (*ImageConfig, error)
- func (UnimplementedRegistryServer) GetRawSbom(context.Context, *RawSbomRequest) (*RawSbom, error)
- func (UnimplementedRegistryServer) GetSbom(context.Context, *SbomRequest) (*v1.Sbom2, error)
- func (UnimplementedRegistryServer) GetSize(context.Context, *SizeRequest) (*Size, error)
- func (UnimplementedRegistryServer) GetVulnReport(context.Context, *VulnReportRequest) (*v1.VulnReport, error)
- func (UnimplementedRegistryServer) ListManifestMetadata(context.Context, *ManifestMetadataFilter) (*ManifestMetadataList, error)
- func (UnimplementedRegistryServer) ListRepos(context.Context, *RepoFilter) (*RepoList, error)
- func (UnimplementedRegistryServer) ListTagHistory(context.Context, *TagHistoryFilter) (*TagHistoryList, error)
- func (UnimplementedRegistryServer) ListTags(context.Context, *TagFilter) (*TagList, error)
- func (UnimplementedRegistryServer) UpdateRepo(context.Context, *Repo) (*Repo, error)
- func (UnimplementedRegistryServer) UpdateTag(context.Context, *Tag) (*Tag, error)
- type UnsafeRegistryServer
- type VersionReference
- func (*VersionReference) Descriptor() ([]byte, []int)deprecated
- func (x *VersionReference) GetReference() string
- func (x *VersionReference) GetVersion() string
- func (*VersionReference) ProtoMessage()
- func (x *VersionReference) ProtoReflect() protoreflect.Message
- func (x *VersionReference) Reset()
- func (x *VersionReference) String() string
- type VulnReportRequest
- func (*VulnReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VulnReportRequest) GetDigest() string
- func (x *VulnReportRequest) GetRepoId() string
- func (*VulnReportRequest) ProtoMessage()
- func (x *VulnReportRequest) ProtoReflect() protoreflect.Message
- func (x *VulnReportRequest) Reset()
- func (x *VulnReportRequest) String() string
- type VulnerabilitiesDiff
- func (*VulnerabilitiesDiff) Descriptor() ([]byte, []int)deprecated
- func (x *VulnerabilitiesDiff) GetAdded() []*VulnerabilityReference
- func (x *VulnerabilitiesDiff) GetMetadata() []*ScannerMetadata
- func (x *VulnerabilitiesDiff) GetRemoved() []*VulnerabilityReference
- func (*VulnerabilitiesDiff) ProtoMessage()
- func (x *VulnerabilitiesDiff) ProtoReflect() protoreflect.Message
- func (x *VulnerabilitiesDiff) Reset()
- func (x *VulnerabilitiesDiff) String() string
- type VulnerabilityReference
- func (*VulnerabilityReference) Descriptor() ([]byte, []int)deprecated
- func (x *VulnerabilityReference) GetId() string
- func (x *VulnerabilityReference) GetReference() string
- func (x *VulnerabilityReference) GetSeverity() string
- func (*VulnerabilityReference) ProtoMessage()
- func (x *VulnerabilityReference) ProtoReflect() protoreflect.Message
- func (x *VulnerabilityReference) Reset()
- func (x *VulnerabilityReference) String() string
Constants ¶
const ( Registry_CreateRepo_FullMethodName = "/chainguard.platform.registry.Registry/CreateRepo" Registry_UpdateRepo_FullMethodName = "/chainguard.platform.registry.Registry/UpdateRepo" Registry_ListRepos_FullMethodName = "/chainguard.platform.registry.Registry/ListRepos" Registry_DeleteRepo_FullMethodName = "/chainguard.platform.registry.Registry/DeleteRepo" Registry_CreateTag_FullMethodName = "/chainguard.platform.registry.Registry/CreateTag" Registry_UpdateTag_FullMethodName = "/chainguard.platform.registry.Registry/UpdateTag" Registry_DeleteTag_FullMethodName = "/chainguard.platform.registry.Registry/DeleteTag" Registry_ListTags_FullMethodName = "/chainguard.platform.registry.Registry/ListTags" Registry_ListTagHistory_FullMethodName = "/chainguard.platform.registry.Registry/ListTagHistory" Registry_GetSbom_FullMethodName = "/chainguard.platform.registry.Registry/GetSbom" Registry_GetImageConfig_FullMethodName = "/chainguard.platform.registry.Registry/GetImageConfig" Registry_GetArchs_FullMethodName = "/chainguard.platform.registry.Registry/GetArchs" Registry_GetSize_FullMethodName = "/chainguard.platform.registry.Registry/GetSize" Registry_GetRawSbom_FullMethodName = "/chainguard.platform.registry.Registry/GetRawSbom" Registry_GetVulnReport_FullMethodName = "/chainguard.platform.registry.Registry/GetVulnReport" Registry_ListManifestMetadata_FullMethodName = "/chainguard.platform.registry.Registry/ListManifestMetadata" )
Variables ¶
var ( CatalogTier_name = map[int32]string{ 0: "UNKNOWN", 1: "FREE", 2: "STANDARD", 3: "PREMIUM", } CatalogTier_value = map[string]int32{ "UNKNOWN": 0, "FREE": 1, "STANDARD": 2, "PREMIUM": 3, } )
Enum value maps for CatalogTier.
var File_registry_platform_proto protoreflect.FileDescriptor
var Registry_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.registry.Registry", HandlerType: (*RegistryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRepo", Handler: _Registry_CreateRepo_Handler, }, { MethodName: "UpdateRepo", Handler: _Registry_UpdateRepo_Handler, }, { MethodName: "ListRepos", Handler: _Registry_ListRepos_Handler, }, { MethodName: "DeleteRepo", Handler: _Registry_DeleteRepo_Handler, }, { MethodName: "CreateTag", Handler: _Registry_CreateTag_Handler, }, { MethodName: "UpdateTag", Handler: _Registry_UpdateTag_Handler, }, { MethodName: "DeleteTag", Handler: _Registry_DeleteTag_Handler, }, { MethodName: "ListTags", Handler: _Registry_ListTags_Handler, }, { MethodName: "ListTagHistory", Handler: _Registry_ListTagHistory_Handler, }, { MethodName: "GetSbom", Handler: _Registry_GetSbom_Handler, }, { MethodName: "GetImageConfig", Handler: _Registry_GetImageConfig_Handler, }, { MethodName: "GetArchs", Handler: _Registry_GetArchs_Handler, }, { MethodName: "GetSize", Handler: _Registry_GetSize_Handler, }, { MethodName: "GetRawSbom", Handler: _Registry_GetRawSbom_Handler, }, { MethodName: "GetVulnReport", Handler: _Registry_GetVulnReport_Handler, }, { MethodName: "ListManifestMetadata", Handler: _Registry_ListManifestMetadata_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "registry.platform.proto", }
Registry_ServiceDesc is the grpc.ServiceDesc for Registry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRegistryHandler ¶
func RegisterRegistryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterRegistryHandler registers the http handlers for service Registry to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRegistryHandlerClient ¶
func RegisterRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistryClient) error
RegisterRegistryHandlerClient registers the http handlers for service Registry to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RegistryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RegistryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RegistryClient" to call the correct interceptors.
func RegisterRegistryHandlerFromEndpoint ¶
func RegisterRegistryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRegistryHandlerFromEndpoint is same as RegisterRegistryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRegistryHandlerServer ¶
func RegisterRegistryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RegistryServer) error
RegisterRegistryHandlerServer registers the http handlers for service Registry to "mux". UnaryRPC :call RegistryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRegistryHandlerFromEndpoint instead.
func RegisterRegistryServer ¶
func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)
Types ¶
type ArchFilter ¶ added in v0.1.21
type ArchFilter struct { // The architecture to filter on. Arch string `protobuf:"bytes,1,opt,name=arch,proto3" json:"arch,omitempty"` // contains filtered or unexported fields }
func (*ArchFilter) Descriptor
deprecated
added in
v0.1.21
func (*ArchFilter) Descriptor() ([]byte, []int)
Deprecated: Use ArchFilter.ProtoReflect.Descriptor instead.
func (*ArchFilter) GetArch ¶ added in v0.1.21
func (x *ArchFilter) GetArch() string
func (*ArchFilter) ProtoMessage ¶ added in v0.1.21
func (*ArchFilter) ProtoMessage()
func (*ArchFilter) ProtoReflect ¶ added in v0.1.21
func (x *ArchFilter) ProtoReflect() protoreflect.Message
func (*ArchFilter) Reset ¶ added in v0.1.21
func (x *ArchFilter) Reset()
func (*ArchFilter) String ¶ added in v0.1.21
func (x *ArchFilter) String() string
type ArchRequest ¶ added in v0.1.21
type ArchRequest struct { // The UIDP of the image repo to get architectures for. RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // The digest of the image to get architectures for. Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*ArchRequest) Descriptor
deprecated
added in
v0.1.21
func (*ArchRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArchRequest.ProtoReflect.Descriptor instead.
func (*ArchRequest) GetDigest ¶ added in v0.1.21
func (x *ArchRequest) GetDigest() string
func (*ArchRequest) GetRepoId ¶ added in v0.1.21
func (x *ArchRequest) GetRepoId() string
func (*ArchRequest) ProtoMessage ¶ added in v0.1.21
func (*ArchRequest) ProtoMessage()
func (*ArchRequest) ProtoReflect ¶ added in v0.1.21
func (x *ArchRequest) ProtoReflect() protoreflect.Message
func (*ArchRequest) Reset ¶ added in v0.1.21
func (x *ArchRequest) Reset()
func (*ArchRequest) String ¶ added in v0.1.21
func (x *ArchRequest) String() string
type Archs ¶ added in v0.1.21
type Archs struct { // Architectures belonging to the requested digest's manifests. Archs []string `protobuf:"bytes,1,rep,name=archs,proto3" json:"archs,omitempty"` // contains filtered or unexported fields }
func (*Archs) Descriptor
deprecated
added in
v0.1.21
func (*Archs) ProtoMessage ¶ added in v0.1.21
func (*Archs) ProtoMessage()
func (*Archs) ProtoReflect ¶ added in v0.1.21
func (x *Archs) ProtoReflect() protoreflect.Message
type CatalogTier ¶
type CatalogTier int32
const ( CatalogTier_UNKNOWN CatalogTier = 0 CatalogTier_FREE CatalogTier = 1 CatalogTier_STANDARD CatalogTier = 2 CatalogTier_PREMIUM CatalogTier = 3 )
func (CatalogTier) Descriptor ¶
func (CatalogTier) Descriptor() protoreflect.EnumDescriptor
func (CatalogTier) Enum ¶
func (x CatalogTier) Enum() *CatalogTier
func (CatalogTier) EnumDescriptor
deprecated
func (CatalogTier) EnumDescriptor() ([]byte, []int)
Deprecated: Use CatalogTier.Descriptor instead.
func (CatalogTier) Number ¶
func (x CatalogTier) Number() protoreflect.EnumNumber
func (CatalogTier) String ¶
func (x CatalogTier) String() string
func (CatalogTier) Type ¶
func (CatalogTier) Type() protoreflect.EnumType
type Clients ¶
type Clients interface { Registry() RegistryClient Close() error }
func NewClientsFromConnection ¶
func NewClientsFromConnection(conn *grpc.ClientConn) Clients
type CreateRepoRequest ¶
type CreateRepoRequest struct { ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Repo *Repo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*CreateRepoRequest) Descriptor
deprecated
func (*CreateRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepoRequest.ProtoReflect.Descriptor instead.
func (*CreateRepoRequest) GetParentId ¶
func (x *CreateRepoRequest) GetParentId() string
func (*CreateRepoRequest) GetRepo ¶
func (x *CreateRepoRequest) GetRepo() *Repo
func (*CreateRepoRequest) ProtoMessage ¶
func (*CreateRepoRequest) ProtoMessage()
func (*CreateRepoRequest) ProtoReflect ¶
func (x *CreateRepoRequest) ProtoReflect() protoreflect.Message
func (*CreateRepoRequest) Reset ¶
func (x *CreateRepoRequest) Reset()
func (*CreateRepoRequest) String ¶
func (x *CreateRepoRequest) String() string
type CreateTagRequest ¶
type CreateTagRequest struct { RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*CreateTagRequest) Descriptor
deprecated
func (*CreateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.
func (*CreateTagRequest) GetRepoId ¶
func (x *CreateTagRequest) GetRepoId() string
func (*CreateTagRequest) GetTag ¶
func (x *CreateTagRequest) GetTag() *Tag
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 DeleteRepoRequest ¶
type DeleteRepoRequest struct { // ID, UID of the record. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRepoRequest) Descriptor
deprecated
func (*DeleteRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepoRequest.ProtoReflect.Descriptor instead.
func (*DeleteRepoRequest) GetId ¶
func (x *DeleteRepoRequest) GetId() string
func (*DeleteRepoRequest) ProtoMessage ¶
func (*DeleteRepoRequest) ProtoMessage()
func (*DeleteRepoRequest) ProtoReflect ¶
func (x *DeleteRepoRequest) ProtoReflect() protoreflect.Message
func (*DeleteRepoRequest) Reset ¶
func (x *DeleteRepoRequest) Reset()
func (*DeleteRepoRequest) String ¶
func (x *DeleteRepoRequest) String() string
type DeleteTagRequest ¶
type DeleteTagRequest struct { // ID, UID of the record. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTagRequest) Descriptor
deprecated
func (*DeleteTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagRequest) GetId ¶
func (x *DeleteTagRequest) GetId() 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 DiffImageRequest ¶
type DiffImageRequest struct { // The UIDP of the image repo to diff against. RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` FromDigest string `protobuf:"bytes,2,opt,name=from_digest,json=fromDigest,proto3" json:"from_digest,omitempty"` ToDigest string `protobuf:"bytes,3,opt,name=to_digest,json=toDigest,proto3" json:"to_digest,omitempty"` // contains filtered or unexported fields }
DiffImageRequests are used to request a diff between two images.
func (*DiffImageRequest) Descriptor
deprecated
func (*DiffImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DiffImageRequest.ProtoReflect.Descriptor instead.
func (*DiffImageRequest) GetFromDigest ¶
func (x *DiffImageRequest) GetFromDigest() string
func (*DiffImageRequest) GetRepoId ¶
func (x *DiffImageRequest) GetRepoId() string
func (*DiffImageRequest) GetToDigest ¶
func (x *DiffImageRequest) GetToDigest() string
func (*DiffImageRequest) ProtoMessage ¶
func (*DiffImageRequest) ProtoMessage()
func (*DiffImageRequest) ProtoReflect ¶
func (x *DiffImageRequest) ProtoReflect() protoreflect.Message
func (*DiffImageRequest) Reset ¶
func (x *DiffImageRequest) Reset()
func (*DiffImageRequest) String ¶
func (x *DiffImageRequest) String() string
type DiffImageResponse ¶ added in v0.1.2
type DiffImageResponse struct { Packages *PackagesDiff `protobuf:"bytes,1,opt,name=packages,proto3" json:"packages,omitempty"` Vulnerabilities *VulnerabilitiesDiff `protobuf:"bytes,2,opt,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"` // warnings is a list of warning messages to return to the requesting client. // Warning messages describe a problem the client making the DiffImageRequest should correct or be aware of. // Warnings over 256 characters and large numbers of warnings may be truncated. Warnings []string `protobuf:"bytes,5,rep,name=warnings,proto3" json:"warnings,omitempty"` // contains filtered or unexported fields }
func (*DiffImageResponse) Descriptor
deprecated
added in
v0.1.2
func (*DiffImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DiffImageResponse.ProtoReflect.Descriptor instead.
func (*DiffImageResponse) GetPackages ¶ added in v0.1.2
func (x *DiffImageResponse) GetPackages() *PackagesDiff
func (*DiffImageResponse) GetVulnerabilities ¶ added in v0.1.2
func (x *DiffImageResponse) GetVulnerabilities() *VulnerabilitiesDiff
func (*DiffImageResponse) GetWarnings ¶ added in v0.1.2
func (x *DiffImageResponse) GetWarnings() []string
func (*DiffImageResponse) ProtoMessage ¶ added in v0.1.2
func (*DiffImageResponse) ProtoMessage()
func (*DiffImageResponse) ProtoReflect ¶ added in v0.1.2
func (x *DiffImageResponse) ProtoReflect() protoreflect.Message
func (*DiffImageResponse) Reset ¶ added in v0.1.2
func (x *DiffImageResponse) Reset()
func (*DiffImageResponse) String ¶ added in v0.1.2
func (x *DiffImageResponse) String() string
type ImageConfig ¶ added in v0.1.20
type ImageConfig struct { // User defines the username or UID which the process in the container should run as. User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` ExposedPorts map[string]*ImageConfig_ExposedPort `` /* 185-byte string literal not displayed */ // Env is a list of environment variables to be used in a container. Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"` // Entrypoint defines a list of arguments to use as the command to execute when the container starts. Entrypoint []string `protobuf:"bytes,4,rep,name=entrypoint,proto3" json:"entrypoint,omitempty"` // Cmd defines the default arguments to the entrypoint of the container. Cmd []string `protobuf:"bytes,5,rep,name=cmd,proto3" json:"cmd,omitempty"` // Volumes is a set of directories describing where the process is likely write data specific to a container instance. Volumes map[string]*ImageConfig_Volume `` /* 155-byte string literal not displayed */ // WorkingDir sets the current working directory of the entrypoint process in the container. WorkingDir string `protobuf:"bytes,7,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // Labels contains arbitrary metadata for the container. Labels map[string]string `` /* 153-byte string literal not displayed */ // StopSignal contains the system call signal that will be sent to the container to exit. StopSignal string `protobuf:"bytes,9,opt,name=stop_signal,json=stopSignal,proto3" json:"stop_signal,omitempty"` // contains filtered or unexported fields }
func (*ImageConfig) Descriptor
deprecated
added in
v0.1.20
func (*ImageConfig) Descriptor() ([]byte, []int)
Deprecated: Use ImageConfig.ProtoReflect.Descriptor instead.
func (*ImageConfig) GetCmd ¶ added in v0.1.20
func (x *ImageConfig) GetCmd() []string
func (*ImageConfig) GetEntrypoint ¶ added in v0.1.20
func (x *ImageConfig) GetEntrypoint() []string
func (*ImageConfig) GetEnv ¶ added in v0.1.20
func (x *ImageConfig) GetEnv() []string
func (*ImageConfig) GetExposedPorts ¶ added in v0.1.20
func (x *ImageConfig) GetExposedPorts() map[string]*ImageConfig_ExposedPort
func (*ImageConfig) GetLabels ¶ added in v0.1.20
func (x *ImageConfig) GetLabels() map[string]string
func (*ImageConfig) GetStopSignal ¶ added in v0.1.20
func (x *ImageConfig) GetStopSignal() string
func (*ImageConfig) GetUser ¶ added in v0.1.20
func (x *ImageConfig) GetUser() string
func (*ImageConfig) GetVolumes ¶ added in v0.1.20
func (x *ImageConfig) GetVolumes() map[string]*ImageConfig_Volume
func (*ImageConfig) GetWorkingDir ¶ added in v0.1.20
func (x *ImageConfig) GetWorkingDir() string
func (*ImageConfig) ProtoMessage ¶ added in v0.1.20
func (*ImageConfig) ProtoMessage()
func (*ImageConfig) ProtoReflect ¶ added in v0.1.20
func (x *ImageConfig) ProtoReflect() protoreflect.Message
func (*ImageConfig) Reset ¶ added in v0.1.20
func (x *ImageConfig) Reset()
func (*ImageConfig) String ¶ added in v0.1.20
func (x *ImageConfig) String() string
type ImageConfigRequest ¶ added in v0.1.20
type ImageConfigRequest struct { // The UIDP of the image repo to get config for. RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // The digest of the image to get config for. Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // The architecture to get config for. Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"` // contains filtered or unexported fields }
func (*ImageConfigRequest) Descriptor
deprecated
added in
v0.1.20
func (*ImageConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImageConfigRequest.ProtoReflect.Descriptor instead.
func (*ImageConfigRequest) GetArch ¶ added in v0.1.20
func (x *ImageConfigRequest) GetArch() string
func (*ImageConfigRequest) GetDigest ¶ added in v0.1.20
func (x *ImageConfigRequest) GetDigest() string
func (*ImageConfigRequest) GetRepoId ¶ added in v0.1.20
func (x *ImageConfigRequest) GetRepoId() string
func (*ImageConfigRequest) ProtoMessage ¶ added in v0.1.20
func (*ImageConfigRequest) ProtoMessage()
func (*ImageConfigRequest) ProtoReflect ¶ added in v0.1.20
func (x *ImageConfigRequest) ProtoReflect() protoreflect.Message
func (*ImageConfigRequest) Reset ¶ added in v0.1.20
func (x *ImageConfigRequest) Reset()
func (*ImageConfigRequest) String ¶ added in v0.1.20
func (x *ImageConfigRequest) String() string
type ImageConfig_ExposedPort ¶ added in v0.1.20
type ImageConfig_ExposedPort struct {
// contains filtered or unexported fields
}
ExposedPorts a set of ports to expose from a container running this image.
func (*ImageConfig_ExposedPort) Descriptor
deprecated
added in
v0.1.20
func (*ImageConfig_ExposedPort) Descriptor() ([]byte, []int)
Deprecated: Use ImageConfig_ExposedPort.ProtoReflect.Descriptor instead.
func (*ImageConfig_ExposedPort) ProtoMessage ¶ added in v0.1.20
func (*ImageConfig_ExposedPort) ProtoMessage()
func (*ImageConfig_ExposedPort) ProtoReflect ¶ added in v0.1.20
func (x *ImageConfig_ExposedPort) ProtoReflect() protoreflect.Message
func (*ImageConfig_ExposedPort) Reset ¶ added in v0.1.20
func (x *ImageConfig_ExposedPort) Reset()
func (*ImageConfig_ExposedPort) String ¶ added in v0.1.20
func (x *ImageConfig_ExposedPort) String() string
type ImageConfig_Volume ¶ added in v0.1.20
type ImageConfig_Volume struct {
// contains filtered or unexported fields
}
func (*ImageConfig_Volume) Descriptor
deprecated
added in
v0.1.20
func (*ImageConfig_Volume) Descriptor() ([]byte, []int)
Deprecated: Use ImageConfig_Volume.ProtoReflect.Descriptor instead.
func (*ImageConfig_Volume) ProtoMessage ¶ added in v0.1.20
func (*ImageConfig_Volume) ProtoMessage()
func (*ImageConfig_Volume) ProtoReflect ¶ added in v0.1.20
func (x *ImageConfig_Volume) ProtoReflect() protoreflect.Message
func (*ImageConfig_Volume) Reset ¶ added in v0.1.20
func (x *ImageConfig_Volume) Reset()
func (*ImageConfig_Volume) String ¶ added in v0.1.20
func (x *ImageConfig_Volume) String() string
type ManifestMetadata ¶ added in v0.1.20
type ManifestMetadata struct { // Digest of image that packages are associated with. Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` // List of packages that are part of image. PkgMetadata []*PkgMetadata `protobuf:"bytes,2,rep,name=pkg_metadata,json=pkgMetadata,proto3" json:"pkg_metadata,omitempty"` // contains filtered or unexported fields }
func (*ManifestMetadata) Descriptor
deprecated
added in
v0.1.20
func (*ManifestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ManifestMetadata.ProtoReflect.Descriptor instead.
func (*ManifestMetadata) GetDigest ¶ added in v0.1.20
func (x *ManifestMetadata) GetDigest() string
func (*ManifestMetadata) GetPkgMetadata ¶ added in v0.1.20
func (x *ManifestMetadata) GetPkgMetadata() []*PkgMetadata
func (*ManifestMetadata) ProtoMessage ¶ added in v0.1.20
func (*ManifestMetadata) ProtoMessage()
func (*ManifestMetadata) ProtoReflect ¶ added in v0.1.20
func (x *ManifestMetadata) ProtoReflect() protoreflect.Message
func (*ManifestMetadata) Reset ¶ added in v0.1.20
func (x *ManifestMetadata) Reset()
func (*ManifestMetadata) String ¶ added in v0.1.20
func (x *ManifestMetadata) String() string
type ManifestMetadataFilter ¶ added in v0.1.20
type ManifestMetadataFilter struct { // The UIDP of the image repo that the digests belongs to. RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // List of image digests or index digest to fetch package metadata for. // All entries specified would be retrieved. Items []*ManifestMetadataFilterEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ManifestMetadataFilter) Descriptor
deprecated
added in
v0.1.20
func (*ManifestMetadataFilter) Descriptor() ([]byte, []int)
Deprecated: Use ManifestMetadataFilter.ProtoReflect.Descriptor instead.
func (*ManifestMetadataFilter) GetItems ¶ added in v0.1.20
func (x *ManifestMetadataFilter) GetItems() []*ManifestMetadataFilterEntry
func (*ManifestMetadataFilter) GetRepoId ¶ added in v0.1.20
func (x *ManifestMetadataFilter) GetRepoId() string
func (*ManifestMetadataFilter) ProtoMessage ¶ added in v0.1.20
func (*ManifestMetadataFilter) ProtoMessage()
func (*ManifestMetadataFilter) ProtoReflect ¶ added in v0.1.20
func (x *ManifestMetadataFilter) ProtoReflect() protoreflect.Message
func (*ManifestMetadataFilter) Reset ¶ added in v0.1.20
func (x *ManifestMetadataFilter) Reset()
func (*ManifestMetadataFilter) String ¶ added in v0.1.20
func (x *ManifestMetadataFilter) String() string
type ManifestMetadataFilterEntry ¶ added in v0.1.20
type ManifestMetadataFilterEntry struct { // Types that are assignable to Filter: // // *ManifestMetadataFilterEntry_ImageDigest // *ManifestMetadataFilterEntry_IndexFilter Filter isManifestMetadataFilterEntry_Filter `protobuf_oneof:"filter"` // contains filtered or unexported fields }
func (*ManifestMetadataFilterEntry) Descriptor
deprecated
added in
v0.1.20
func (*ManifestMetadataFilterEntry) Descriptor() ([]byte, []int)
Deprecated: Use ManifestMetadataFilterEntry.ProtoReflect.Descriptor instead.
func (*ManifestMetadataFilterEntry) GetFilter ¶ added in v0.1.20
func (m *ManifestMetadataFilterEntry) GetFilter() isManifestMetadataFilterEntry_Filter
func (*ManifestMetadataFilterEntry) GetImageDigest ¶ added in v0.1.20
func (x *ManifestMetadataFilterEntry) GetImageDigest() string
func (*ManifestMetadataFilterEntry) GetIndexFilter ¶ added in v0.1.20
func (x *ManifestMetadataFilterEntry) GetIndexFilter() *ManifestMetadataIndexFilter
func (*ManifestMetadataFilterEntry) ProtoMessage ¶ added in v0.1.20
func (*ManifestMetadataFilterEntry) ProtoMessage()
func (*ManifestMetadataFilterEntry) ProtoReflect ¶ added in v0.1.20
func (x *ManifestMetadataFilterEntry) ProtoReflect() protoreflect.Message
func (*ManifestMetadataFilterEntry) Reset ¶ added in v0.1.20
func (x *ManifestMetadataFilterEntry) Reset()
func (*ManifestMetadataFilterEntry) String ¶ added in v0.1.20
func (x *ManifestMetadataFilterEntry) String() string
type ManifestMetadataFilterEntry_ImageDigest ¶ added in v0.1.20
type ManifestMetadataFilterEntry_ImageDigest struct { // For fetching metadata for an image digest ImageDigest string `protobuf:"bytes,1,opt,name=image_digest,json=imageDigest,proto3,oneof"` }
type ManifestMetadataFilterEntry_IndexFilter ¶ added in v0.1.20
type ManifestMetadataFilterEntry_IndexFilter struct { // For fetching metadata for an index digest IndexFilter *ManifestMetadataIndexFilter `protobuf:"bytes,2,opt,name=index_filter,json=indexFilter,proto3,oneof"` }
type ManifestMetadataIndexFilter ¶ added in v0.1.20
type ManifestMetadataIndexFilter struct { // The tag/index digest to fetch metadata for. Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` // The architecture to fetch metadata for. Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"` // contains filtered or unexported fields }
func (*ManifestMetadataIndexFilter) Descriptor
deprecated
added in
v0.1.20
func (*ManifestMetadataIndexFilter) Descriptor() ([]byte, []int)
Deprecated: Use ManifestMetadataIndexFilter.ProtoReflect.Descriptor instead.
func (*ManifestMetadataIndexFilter) GetArch ¶ added in v0.1.20
func (x *ManifestMetadataIndexFilter) GetArch() string
func (*ManifestMetadataIndexFilter) GetDigest ¶ added in v0.1.20
func (x *ManifestMetadataIndexFilter) GetDigest() string
func (*ManifestMetadataIndexFilter) ProtoMessage ¶ added in v0.1.20
func (*ManifestMetadataIndexFilter) ProtoMessage()
func (*ManifestMetadataIndexFilter) ProtoReflect ¶ added in v0.1.20
func (x *ManifestMetadataIndexFilter) ProtoReflect() protoreflect.Message
func (*ManifestMetadataIndexFilter) Reset ¶ added in v0.1.20
func (x *ManifestMetadataIndexFilter) Reset()
func (*ManifestMetadataIndexFilter) String ¶ added in v0.1.20
func (x *ManifestMetadataIndexFilter) String() string
type ManifestMetadataList ¶ added in v0.1.20
type ManifestMetadataList struct { Items []*ManifestMetadata `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ManifestMetadataList) Descriptor
deprecated
added in
v0.1.20
func (*ManifestMetadataList) Descriptor() ([]byte, []int)
Deprecated: Use ManifestMetadataList.ProtoReflect.Descriptor instead.
func (*ManifestMetadataList) GetItems ¶ added in v0.1.20
func (x *ManifestMetadataList) GetItems() []*ManifestMetadata
func (*ManifestMetadataList) ProtoMessage ¶ added in v0.1.20
func (*ManifestMetadataList) ProtoMessage()
func (*ManifestMetadataList) ProtoReflect ¶ added in v0.1.20
func (x *ManifestMetadataList) ProtoReflect() protoreflect.Message
func (*ManifestMetadataList) Reset ¶ added in v0.1.20
func (x *ManifestMetadataList) Reset()
func (*ManifestMetadataList) String ¶ added in v0.1.20
func (x *ManifestMetadataList) String() string
type PackageReference ¶
type PackageReference struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
PackageReference is a reference to a package, containing minimal information to identify it.
func (*PackageReference) Descriptor
deprecated
func (*PackageReference) Descriptor() ([]byte, []int)
Deprecated: Use PackageReference.ProtoReflect.Descriptor instead.
func (*PackageReference) GetName ¶
func (x *PackageReference) GetName() string
func (*PackageReference) GetReference ¶
func (x *PackageReference) GetReference() string
func (*PackageReference) GetVersion ¶
func (x *PackageReference) GetVersion() string
func (*PackageReference) ProtoMessage ¶
func (*PackageReference) ProtoMessage()
func (*PackageReference) ProtoReflect ¶
func (x *PackageReference) ProtoReflect() protoreflect.Message
func (*PackageReference) Reset ¶
func (x *PackageReference) Reset()
func (*PackageReference) String ¶
func (x *PackageReference) String() string
type PackagesDiff ¶
type PackagesDiff struct { Added []*PackageReference `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"` Removed []*PackageReference `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"` Changed []*PackagesDiff_ChangedPackageReference `protobuf:"bytes,3,rep,name=changed,proto3" json:"changed,omitempty"` // contains filtered or unexported fields }
func (*PackagesDiff) Descriptor
deprecated
func (*PackagesDiff) Descriptor() ([]byte, []int)
Deprecated: Use PackagesDiff.ProtoReflect.Descriptor instead.
func (*PackagesDiff) GetAdded ¶
func (x *PackagesDiff) GetAdded() []*PackageReference
func (*PackagesDiff) GetChanged ¶
func (x *PackagesDiff) GetChanged() []*PackagesDiff_ChangedPackageReference
func (*PackagesDiff) GetRemoved ¶
func (x *PackagesDiff) GetRemoved() []*PackageReference
func (*PackagesDiff) ProtoMessage ¶
func (*PackagesDiff) ProtoMessage()
func (*PackagesDiff) ProtoReflect ¶
func (x *PackagesDiff) ProtoReflect() protoreflect.Message
func (*PackagesDiff) Reset ¶
func (x *PackagesDiff) Reset()
func (*PackagesDiff) String ¶
func (x *PackagesDiff) String() string
type PackagesDiff_ChangedPackageReference ¶
type PackagesDiff_ChangedPackageReference struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Current *VersionReference `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` Previous *VersionReference `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"` // contains filtered or unexported fields }
func (*PackagesDiff_ChangedPackageReference) Descriptor
deprecated
func (*PackagesDiff_ChangedPackageReference) Descriptor() ([]byte, []int)
Deprecated: Use PackagesDiff_ChangedPackageReference.ProtoReflect.Descriptor instead.
func (*PackagesDiff_ChangedPackageReference) GetCurrent ¶
func (x *PackagesDiff_ChangedPackageReference) GetCurrent() *VersionReference
func (*PackagesDiff_ChangedPackageReference) GetName ¶
func (x *PackagesDiff_ChangedPackageReference) GetName() string
func (*PackagesDiff_ChangedPackageReference) GetPrevious ¶
func (x *PackagesDiff_ChangedPackageReference) GetPrevious() *VersionReference
func (*PackagesDiff_ChangedPackageReference) ProtoMessage ¶
func (*PackagesDiff_ChangedPackageReference) ProtoMessage()
func (*PackagesDiff_ChangedPackageReference) ProtoReflect ¶
func (x *PackagesDiff_ChangedPackageReference) ProtoReflect() protoreflect.Message
func (*PackagesDiff_ChangedPackageReference) Reset ¶
func (x *PackagesDiff_ChangedPackageReference) Reset()
func (*PackagesDiff_ChangedPackageReference) String ¶
func (x *PackagesDiff_ChangedPackageReference) String() string
type PkgMetadata ¶ added in v0.1.20
type PkgMetadata struct { // purl of package or subpackage; spec https://github.com/package-url/purl-spec Purl string `protobuf:"bytes,1,opt,name=purl,proto3" json:"purl,omitempty"` // if differ from purl, it means it is a subpackage OriginPurl string `protobuf:"bytes,2,opt,name=origin_purl,json=originPurl,proto3" json:"origin_purl,omitempty"` // date when EOL, date 0-0-0 when not eol EolDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=eol_date,json=eolDate,proto3" json:"eol_date,omitempty"` // timestamp when package was built, date 0-0-0 when build timestamp not available BuildTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=build_timestamp,json=buildTimestamp,proto3" json:"build_timestamp,omitempty"` // license of package, empty if unknown License string `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"` // contains filtered or unexported fields }
func (*PkgMetadata) Descriptor
deprecated
added in
v0.1.20
func (*PkgMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PkgMetadata.ProtoReflect.Descriptor instead.
func (*PkgMetadata) GetBuildTimestamp ¶ added in v0.1.20
func (x *PkgMetadata) GetBuildTimestamp() *timestamppb.Timestamp
func (*PkgMetadata) GetEolDate ¶ added in v0.1.20
func (x *PkgMetadata) GetEolDate() *timestamppb.Timestamp
func (*PkgMetadata) GetLicense ¶ added in v0.1.20
func (x *PkgMetadata) GetLicense() string
func (*PkgMetadata) GetOriginPurl ¶ added in v0.1.20
func (x *PkgMetadata) GetOriginPurl() string
func (*PkgMetadata) GetPurl ¶ added in v0.1.20
func (x *PkgMetadata) GetPurl() string
func (*PkgMetadata) ProtoMessage ¶ added in v0.1.20
func (*PkgMetadata) ProtoMessage()
func (*PkgMetadata) ProtoReflect ¶ added in v0.1.20
func (x *PkgMetadata) ProtoReflect() protoreflect.Message
func (*PkgMetadata) Reset ¶ added in v0.1.20
func (x *PkgMetadata) Reset()
func (*PkgMetadata) String ¶ added in v0.1.20
func (x *PkgMetadata) String() string
type RawSbom ¶ added in v0.1.21
type RawSbom struct { RawSbom string `protobuf:"bytes,1,opt,name=rawSbom,proto3" json:"rawSbom,omitempty"` // contains filtered or unexported fields }
func (*RawSbom) Descriptor
deprecated
added in
v0.1.21
func (*RawSbom) GetRawSbom ¶ added in v0.1.21
func (*RawSbom) ProtoMessage ¶ added in v0.1.21
func (*RawSbom) ProtoMessage()
func (*RawSbom) ProtoReflect ¶ added in v0.1.21
func (x *RawSbom) ProtoReflect() protoreflect.Message
type RawSbomRequest ¶ added in v0.1.21
type RawSbomRequest struct { // The UIDP of the image repo to get config for. RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // The digest of the image to get config for. Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // The oci reference to get sbom for. Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"` // The architecture to get config for. Arch string `protobuf:"bytes,4,opt,name=arch,proto3" json:"arch,omitempty"` // contains filtered or unexported fields }
func (*RawSbomRequest) Descriptor
deprecated
added in
v0.1.21
func (*RawSbomRequest) Descriptor() ([]byte, []int)
Deprecated: Use RawSbomRequest.ProtoReflect.Descriptor instead.
func (*RawSbomRequest) GetArch ¶ added in v0.1.21
func (x *RawSbomRequest) GetArch() string
func (*RawSbomRequest) GetDigest ¶ added in v0.1.21
func (x *RawSbomRequest) GetDigest() string
func (*RawSbomRequest) GetReference ¶ added in v0.1.21
func (x *RawSbomRequest) GetReference() string
func (*RawSbomRequest) GetRepoId ¶ added in v0.1.21
func (x *RawSbomRequest) GetRepoId() string
func (*RawSbomRequest) ProtoMessage ¶ added in v0.1.21
func (*RawSbomRequest) ProtoMessage()
func (*RawSbomRequest) ProtoReflect ¶ added in v0.1.21
func (x *RawSbomRequest) ProtoReflect() protoreflect.Message
func (*RawSbomRequest) Reset ¶ added in v0.1.21
func (x *RawSbomRequest) Reset()
func (*RawSbomRequest) String ¶ added in v0.1.21
func (x *RawSbomRequest) String() string
type RegistryClient ¶
type RegistryClient interface { CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error) UpdateRepo(ctx context.Context, in *Repo, opts ...grpc.CallOption) (*Repo, error) ListRepos(ctx context.Context, in *RepoFilter, opts ...grpc.CallOption) (*RepoList, error) DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) UpdateTag(ctx context.Context, in *Tag, opts ...grpc.CallOption) (*Tag, error) DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListTags(ctx context.Context, in *TagFilter, opts ...grpc.CallOption) (*TagList, error) ListTagHistory(ctx context.Context, in *TagHistoryFilter, opts ...grpc.CallOption) (*TagHistoryList, error) GetSbom(ctx context.Context, in *SbomRequest, opts ...grpc.CallOption) (*v1.Sbom2, error) GetImageConfig(ctx context.Context, in *ImageConfigRequest, opts ...grpc.CallOption) (*ImageConfig, error) GetArchs(ctx context.Context, in *ArchRequest, opts ...grpc.CallOption) (*Archs, error) GetSize(ctx context.Context, in *SizeRequest, opts ...grpc.CallOption) (*Size, error) GetRawSbom(ctx context.Context, in *RawSbomRequest, opts ...grpc.CallOption) (*RawSbom, error) GetVulnReport(ctx context.Context, in *VulnReportRequest, opts ...grpc.CallOption) (*v1.VulnReport, error) ListManifestMetadata(ctx context.Context, in *ManifestMetadataFilter, opts ...grpc.CallOption) (*ManifestMetadataList, error) }
RegistryClient is the client API for Registry service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRegistryClient ¶
func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient
type RegistryServer ¶
type RegistryServer interface { CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error) UpdateRepo(context.Context, *Repo) (*Repo, error) ListRepos(context.Context, *RepoFilter) (*RepoList, error) DeleteRepo(context.Context, *DeleteRepoRequest) (*emptypb.Empty, error) CreateTag(context.Context, *CreateTagRequest) (*Tag, error) UpdateTag(context.Context, *Tag) (*Tag, error) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error) ListTags(context.Context, *TagFilter) (*TagList, error) ListTagHistory(context.Context, *TagHistoryFilter) (*TagHistoryList, error) GetSbom(context.Context, *SbomRequest) (*v1.Sbom2, error) GetImageConfig(context.Context, *ImageConfigRequest) (*ImageConfig, error) GetArchs(context.Context, *ArchRequest) (*Archs, error) GetSize(context.Context, *SizeRequest) (*Size, error) GetRawSbom(context.Context, *RawSbomRequest) (*RawSbom, error) GetVulnReport(context.Context, *VulnReportRequest) (*v1.VulnReport, error) ListManifestMetadata(context.Context, *ManifestMetadataFilter) (*ManifestMetadataList, error) // contains filtered or unexported methods }
RegistryServer is the server API for Registry service. All implementations must embed UnimplementedRegistryServer for forward compatibility
type Repo ¶
type Repo struct { // id is the identifier of this specific repository. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name is the human-readable name of the repository. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // catalog_tier is the catalog tier this repository belongs to. CatalogTier CatalogTier `` /* 141-byte string literal not displayed */ // bundles is a list of tags/labels that allow us to group repositories to each other for sales purposes. Bundles []string `protobuf:"bytes,4,rep,name=bundles,proto3" json:"bundles,omitempty"` // readme is raw Markdown file contents describing the repo. Readme string `protobuf:"bytes,5,opt,name=readme,proto3" json:"readme,omitempty"` // (optional) Repository sync configuration. If enabled, images are synced from the source to this repo. // NOTE: This property can only be set by Chainguard. // Note: the json_name defaults to "syncConfig" which causes our eventing // system to not work properly (since the protobuf name is "sync_config") SyncConfig *SyncConfig `protobuf:"bytes,6,opt,name=sync_config,proto3" json:"sync_config,omitempty"` // contains filtered or unexported fields }
func (*Repo) CloudEventsExtension ¶ added in v0.1.21
CloudEventsExtension implements chainguard.dev/sdk/events/Extendable.CloudEventsExtension
func (*Repo) CloudEventsSubject ¶ added in v0.1.21
CloudEventsSubject implements chainguard.dev/sdk/events/Eventable.CloudEventsSubject.
func (*Repo) Descriptor
deprecated
func (*Repo) GetBundles ¶
func (*Repo) GetCatalogTier ¶
func (x *Repo) GetCatalogTier() CatalogTier
func (*Repo) GetSyncConfig ¶ added in v0.1.19
func (x *Repo) GetSyncConfig() *SyncConfig
func (*Repo) ProtoMessage ¶
func (*Repo) ProtoMessage()
func (*Repo) ProtoReflect ¶
func (x *Repo) ProtoReflect() protoreflect.Message
type RepoFilter ¶
type RepoFilter struct { // uidp filters records based on their position in the group hierarchy. Uidp *v1.UIDPFilter `protobuf:"bytes,1,opt,name=uidp,proto3" json:"uidp,omitempty"` // name is the exact name of the record. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // id is the identifier of this specific repository. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RepoFilter) Descriptor
deprecated
func (*RepoFilter) Descriptor() ([]byte, []int)
Deprecated: Use RepoFilter.ProtoReflect.Descriptor instead.
func (*RepoFilter) GetId ¶
func (x *RepoFilter) GetId() string
func (*RepoFilter) GetName ¶
func (x *RepoFilter) GetName() string
func (*RepoFilter) GetUidp ¶
func (x *RepoFilter) GetUidp() *v1.UIDPFilter
func (*RepoFilter) ProtoMessage ¶
func (*RepoFilter) ProtoMessage()
func (*RepoFilter) ProtoReflect ¶
func (x *RepoFilter) ProtoReflect() protoreflect.Message
func (*RepoFilter) Reset ¶
func (x *RepoFilter) Reset()
func (*RepoFilter) String ¶
func (x *RepoFilter) String() string
type RepoList ¶
type RepoList struct { Items []*Repo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*RepoList) Descriptor
deprecated
func (*RepoList) ProtoMessage ¶
func (*RepoList) ProtoMessage()
func (*RepoList) ProtoReflect ¶
func (x *RepoList) ProtoReflect() protoreflect.Message
type SbomRequest ¶ added in v0.1.6
type SbomRequest struct { // The UIDP of the image repo to get an SBOM for. RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // The digest of the image to get an SBOM for. Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // The architecture to get the SBOM for. Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"` // contains filtered or unexported fields }
func (*SbomRequest) Descriptor
deprecated
added in
v0.1.6
func (*SbomRequest) Descriptor() ([]byte, []int)
Deprecated: Use SbomRequest.ProtoReflect.Descriptor instead.
func (*SbomRequest) GetArch ¶ added in v0.1.21
func (x *SbomRequest) GetArch() string
func (*SbomRequest) GetDigest ¶ added in v0.1.6
func (x *SbomRequest) GetDigest() string
func (*SbomRequest) GetRepoId ¶ added in v0.1.6
func (x *SbomRequest) GetRepoId() string
func (*SbomRequest) ProtoMessage ¶ added in v0.1.6
func (*SbomRequest) ProtoMessage()
func (*SbomRequest) ProtoReflect ¶ added in v0.1.6
func (x *SbomRequest) ProtoReflect() protoreflect.Message
func (*SbomRequest) Reset ¶ added in v0.1.6
func (x *SbomRequest) Reset()
func (*SbomRequest) String ¶ added in v0.1.6
func (x *SbomRequest) String() string
type ScannerMetadata ¶ added in v0.1.15
type ScannerMetadata struct { Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` Scanner *v11.Scanner `protobuf:"bytes,2,opt,name=scanner,proto3" json:"scanner,omitempty"` VulnerabilityDbLastBuildTime *timestamppb.Timestamp `` /* 151-byte string literal not displayed */ VulnerabilityDbSchemaVersion string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ScannerMetadata) Descriptor
deprecated
added in
v0.1.15
func (*ScannerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ScannerMetadata.ProtoReflect.Descriptor instead.
func (*ScannerMetadata) GetDigest ¶ added in v0.1.15
func (x *ScannerMetadata) GetDigest() string
func (*ScannerMetadata) GetScanner ¶ added in v0.1.15
func (x *ScannerMetadata) GetScanner() *v11.Scanner
func (*ScannerMetadata) GetVulnerabilityDbLastBuildTime ¶ added in v0.1.15
func (x *ScannerMetadata) GetVulnerabilityDbLastBuildTime() *timestamppb.Timestamp
func (*ScannerMetadata) GetVulnerabilityDbSchemaVersion ¶ added in v0.1.17
func (x *ScannerMetadata) GetVulnerabilityDbSchemaVersion() string
func (*ScannerMetadata) ProtoMessage ¶ added in v0.1.15
func (*ScannerMetadata) ProtoMessage()
func (*ScannerMetadata) ProtoReflect ¶ added in v0.1.15
func (x *ScannerMetadata) ProtoReflect() protoreflect.Message
func (*ScannerMetadata) Reset ¶ added in v0.1.15
func (x *ScannerMetadata) Reset()
func (*ScannerMetadata) String ¶ added in v0.1.15
func (x *ScannerMetadata) String() string
type Size ¶ added in v0.1.21
type Size struct { // Size per manifest digest, by architecture. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Architecture. Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"` // contains filtered or unexported fields }
func (*Size) Descriptor
deprecated
added in
v0.1.21
func (*Size) ProtoMessage ¶ added in v0.1.21
func (*Size) ProtoMessage()
func (*Size) ProtoReflect ¶ added in v0.1.21
func (x *Size) ProtoReflect() protoreflect.Message
type SizeRequest ¶ added in v0.1.21
type SizeRequest struct { // The UIDP of the image repo to get size and architecture information for. RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // The digest of the image to get size and architecture information for. Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // The architecture to filter on. Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"` // contains filtered or unexported fields }
func (*SizeRequest) Descriptor
deprecated
added in
v0.1.21
func (*SizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SizeRequest.ProtoReflect.Descriptor instead.
func (*SizeRequest) GetArch ¶ added in v0.1.21
func (x *SizeRequest) GetArch() string
func (*SizeRequest) GetDigest ¶ added in v0.1.21
func (x *SizeRequest) GetDigest() string
func (*SizeRequest) GetRepoId ¶ added in v0.1.21
func (x *SizeRequest) GetRepoId() string
func (*SizeRequest) ProtoMessage ¶ added in v0.1.21
func (*SizeRequest) ProtoMessage()
func (*SizeRequest) ProtoReflect ¶ added in v0.1.21
func (x *SizeRequest) ProtoReflect() protoreflect.Message
func (*SizeRequest) Reset ¶ added in v0.1.21
func (x *SizeRequest) Reset()
func (*SizeRequest) String ¶ added in v0.1.21
func (x *SizeRequest) String() string
type SyncConfig ¶ added in v0.1.19
type SyncConfig struct { // Repo ID to sync from. Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Controls whether exported tags will be uniquely labeled. UniqueTags bool `protobuf:"varint,2,opt,name=unique_tags,json=uniqueTags,proto3" json:"unique_tags,omitempty"` // When the catalog syncer should stop syncing from the source repository. Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` // GCP Artifact Registry repo to sync to. Google string `protobuf:"bytes,4,opt,name=google,proto3" json:"google,omitempty"` // AWS ECR repo to sync to. Amazon string `protobuf:"bytes,5,opt,name=amazon,proto3" json:"amazon,omitempty"` // Controls whether to synchronize APKs for the images in this repository // to the enclosing Chainguard group. SyncApks bool `protobuf:"varint,7,opt,name=sync_apks,json=syncApks,proto3" json:"sync_apks,omitempty"` // An apko configuration overlay to rebuild images with when syncing them. ApkoOverlay string `protobuf:"bytes,8,opt,name=apko_overlay,json=apkoOverlay,proto3" json:"apko_overlay,omitempty"` // contains filtered or unexported fields }
func (*SyncConfig) Descriptor
deprecated
added in
v0.1.19
func (*SyncConfig) Descriptor() ([]byte, []int)
Deprecated: Use SyncConfig.ProtoReflect.Descriptor instead.
func (*SyncConfig) GetAmazon ¶ added in v0.1.21
func (x *SyncConfig) GetAmazon() string
func (*SyncConfig) GetApkoOverlay ¶ added in v0.1.22
func (x *SyncConfig) GetApkoOverlay() string
func (*SyncConfig) GetExpiration ¶ added in v0.1.20
func (x *SyncConfig) GetExpiration() *timestamppb.Timestamp
func (*SyncConfig) GetGoogle ¶ added in v0.1.21
func (x *SyncConfig) GetGoogle() string
func (*SyncConfig) GetSource ¶ added in v0.1.19
func (x *SyncConfig) GetSource() string
func (*SyncConfig) GetSyncApks ¶ added in v0.1.21
func (x *SyncConfig) GetSyncApks() bool
func (*SyncConfig) GetUniqueTags ¶ added in v0.1.19
func (x *SyncConfig) GetUniqueTags() bool
func (*SyncConfig) ProtoMessage ¶ added in v0.1.19
func (*SyncConfig) ProtoMessage()
func (*SyncConfig) ProtoReflect ¶ added in v0.1.19
func (x *SyncConfig) ProtoReflect() protoreflect.Message
func (*SyncConfig) Reset ¶ added in v0.1.19
func (x *SyncConfig) Reset()
func (*SyncConfig) String ¶ added in v0.1.19
func (x *SyncConfig) String() string
type Tag ¶
type Tag struct { // id, identifier of this Tag, a UIDP under a Repo. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name, the unique name of the Tag. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // digest, the digest of the manifest with this tag. Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` // last time this tag was updated. LastUpdated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` // deprecated, true if the tag is deprecated. Deprecated bool `protobuf:"varint,5,opt,name=deprecated,proto3" json:"deprecated,omitempty"` // bundles is a list of tags/labels for sales purposes. Bundles []string `protobuf:"bytes,6,rep,name=bundles,proto3" json:"bundles,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) GetBundles ¶
func (*Tag) GetDeprecated ¶
func (*Tag) GetLastUpdated ¶
func (x *Tag) GetLastUpdated() *timestamppb.Timestamp
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type TagFilter ¶
type TagFilter struct { // uidp filters records based on their position in the group hierarchy. Uidp *v1.UIDPFilter `protobuf:"bytes,1,opt,name=uidp,proto3" json:"uidp,omitempty"` // The unique name of the Tag to list. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The timestamp after which returned records were updated. UpdatedSince *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_since,json=updatedSince,proto3" json:"updated_since,omitempty"` // Exclude tags of the form "sha256-*". ExcludeReferrers bool `protobuf:"varint,6,opt,name=exclude_referrers,json=excludeReferrers,proto3" json:"exclude_referrers,omitempty"` // Exclude tags of the form "*-20yymmdd". ExcludeDates bool `protobuf:"varint,7,opt,name=exclude_dates,json=excludeDates,proto3" json:"exclude_dates,omitempty"` // Exclude tags of the form "*-r[0-9]+". ExcludeEpochs bool `protobuf:"varint,8,opt,name=exclude_epochs,json=excludeEpochs,proto3" json:"exclude_epochs,omitempty"` Id string `protobuf:"bytes,9,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*TagFilter) Descriptor
deprecated
func (*TagFilter) GetExcludeDates ¶
func (*TagFilter) GetExcludeEpochs ¶
func (*TagFilter) GetExcludeReferrers ¶
func (*TagFilter) GetUidp ¶
func (x *TagFilter) GetUidp() *v1.UIDPFilter
func (*TagFilter) GetUpdatedSince ¶
func (x *TagFilter) GetUpdatedSince() *timestamppb.Timestamp
func (*TagFilter) ProtoMessage ¶
func (*TagFilter) ProtoMessage()
func (*TagFilter) ProtoReflect ¶
func (x *TagFilter) ProtoReflect() protoreflect.Message
type TagHistory ¶
type TagHistory struct { UpdateTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=update_timestamp,json=updateTimestamp,proto3" json:"update_timestamp,omitempty"` Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*TagHistory) Descriptor
deprecated
func (*TagHistory) Descriptor() ([]byte, []int)
Deprecated: Use TagHistory.ProtoReflect.Descriptor instead.
func (*TagHistory) GetDigest ¶
func (x *TagHistory) GetDigest() string
func (*TagHistory) GetUpdateTimestamp ¶
func (x *TagHistory) GetUpdateTimestamp() *timestamppb.Timestamp
func (*TagHistory) ProtoMessage ¶
func (*TagHistory) ProtoMessage()
func (*TagHistory) ProtoReflect ¶
func (x *TagHistory) ProtoReflect() protoreflect.Message
func (*TagHistory) Reset ¶
func (x *TagHistory) Reset()
func (*TagHistory) String ¶
func (x *TagHistory) String() string
type TagHistoryFilter ¶
type TagHistoryFilter struct { // tag UIDP to list history for. ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*TagHistoryFilter) Descriptor
deprecated
func (*TagHistoryFilter) Descriptor() ([]byte, []int)
Deprecated: Use TagHistoryFilter.ProtoReflect.Descriptor instead.
func (*TagHistoryFilter) GetEnd ¶
func (x *TagHistoryFilter) GetEnd() *timestamppb.Timestamp
func (*TagHistoryFilter) GetParentId ¶
func (x *TagHistoryFilter) GetParentId() string
func (*TagHistoryFilter) GetStart ¶
func (x *TagHistoryFilter) GetStart() *timestamppb.Timestamp
func (*TagHistoryFilter) ProtoMessage ¶
func (*TagHistoryFilter) ProtoMessage()
func (*TagHistoryFilter) ProtoReflect ¶
func (x *TagHistoryFilter) ProtoReflect() protoreflect.Message
func (*TagHistoryFilter) Reset ¶
func (x *TagHistoryFilter) Reset()
func (*TagHistoryFilter) String ¶
func (x *TagHistoryFilter) String() string
type TagHistoryList ¶
type TagHistoryList struct { Items []*TagHistory `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*TagHistoryList) Descriptor
deprecated
func (*TagHistoryList) Descriptor() ([]byte, []int)
Deprecated: Use TagHistoryList.ProtoReflect.Descriptor instead.
func (*TagHistoryList) GetItems ¶
func (x *TagHistoryList) GetItems() []*TagHistory
func (*TagHistoryList) ProtoMessage ¶
func (*TagHistoryList) ProtoMessage()
func (*TagHistoryList) ProtoReflect ¶
func (x *TagHistoryList) ProtoReflect() protoreflect.Message
func (*TagHistoryList) Reset ¶
func (x *TagHistoryList) Reset()
func (*TagHistoryList) String ¶
func (x *TagHistoryList) String() string
type TagList ¶
type TagList struct { Items []*Tag `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*TagList) Descriptor
deprecated
func (*TagList) ProtoMessage ¶
func (*TagList) ProtoMessage()
func (*TagList) ProtoReflect ¶
func (x *TagList) ProtoReflect() protoreflect.Message
type UnimplementedRegistryServer ¶
type UnimplementedRegistryServer struct { }
UnimplementedRegistryServer must be embedded to have forward compatible implementations.
func (UnimplementedRegistryServer) CreateRepo ¶
func (UnimplementedRegistryServer) CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error)
func (UnimplementedRegistryServer) CreateTag ¶
func (UnimplementedRegistryServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
func (UnimplementedRegistryServer) DeleteRepo ¶
func (UnimplementedRegistryServer) DeleteRepo(context.Context, *DeleteRepoRequest) (*emptypb.Empty, error)
func (UnimplementedRegistryServer) DeleteTag ¶
func (UnimplementedRegistryServer) DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error)
func (UnimplementedRegistryServer) GetArchs ¶ added in v0.1.21
func (UnimplementedRegistryServer) GetArchs(context.Context, *ArchRequest) (*Archs, error)
func (UnimplementedRegistryServer) GetImageConfig ¶ added in v0.1.20
func (UnimplementedRegistryServer) GetImageConfig(context.Context, *ImageConfigRequest) (*ImageConfig, error)
func (UnimplementedRegistryServer) GetRawSbom ¶ added in v0.1.21
func (UnimplementedRegistryServer) GetRawSbom(context.Context, *RawSbomRequest) (*RawSbom, error)
func (UnimplementedRegistryServer) GetSbom ¶ added in v0.1.6
func (UnimplementedRegistryServer) GetSbom(context.Context, *SbomRequest) (*v1.Sbom2, error)
func (UnimplementedRegistryServer) GetSize ¶ added in v0.1.21
func (UnimplementedRegistryServer) GetSize(context.Context, *SizeRequest) (*Size, error)
func (UnimplementedRegistryServer) GetVulnReport ¶ added in v0.1.12
func (UnimplementedRegistryServer) GetVulnReport(context.Context, *VulnReportRequest) (*v1.VulnReport, error)
func (UnimplementedRegistryServer) ListManifestMetadata ¶ added in v0.1.20
func (UnimplementedRegistryServer) ListManifestMetadata(context.Context, *ManifestMetadataFilter) (*ManifestMetadataList, error)
func (UnimplementedRegistryServer) ListRepos ¶
func (UnimplementedRegistryServer) ListRepos(context.Context, *RepoFilter) (*RepoList, error)
func (UnimplementedRegistryServer) ListTagHistory ¶
func (UnimplementedRegistryServer) ListTagHistory(context.Context, *TagHistoryFilter) (*TagHistoryList, error)
func (UnimplementedRegistryServer) UpdateRepo ¶
type UnsafeRegistryServer ¶
type UnsafeRegistryServer interface {
// contains filtered or unexported methods
}
UnsafeRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistryServer will result in compilation errors.
type VersionReference ¶
type VersionReference struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*VersionReference) Descriptor
deprecated
func (*VersionReference) Descriptor() ([]byte, []int)
Deprecated: Use VersionReference.ProtoReflect.Descriptor instead.
func (*VersionReference) GetReference ¶
func (x *VersionReference) GetReference() string
func (*VersionReference) GetVersion ¶
func (x *VersionReference) GetVersion() string
func (*VersionReference) ProtoMessage ¶
func (*VersionReference) ProtoMessage()
func (*VersionReference) ProtoReflect ¶
func (x *VersionReference) ProtoReflect() protoreflect.Message
func (*VersionReference) Reset ¶
func (x *VersionReference) Reset()
func (*VersionReference) String ¶
func (x *VersionReference) String() string
type VulnReportRequest ¶ added in v0.1.12
type VulnReportRequest struct { // The UIDP of the image repo to get a VulnReport for. RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` // The digest of the image to get a VulnReport for. Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*VulnReportRequest) Descriptor
deprecated
added in
v0.1.12
func (*VulnReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use VulnReportRequest.ProtoReflect.Descriptor instead.
func (*VulnReportRequest) GetDigest ¶ added in v0.1.12
func (x *VulnReportRequest) GetDigest() string
func (*VulnReportRequest) GetRepoId ¶ added in v0.1.12
func (x *VulnReportRequest) GetRepoId() string
func (*VulnReportRequest) ProtoMessage ¶ added in v0.1.12
func (*VulnReportRequest) ProtoMessage()
func (*VulnReportRequest) ProtoReflect ¶ added in v0.1.12
func (x *VulnReportRequest) ProtoReflect() protoreflect.Message
func (*VulnReportRequest) Reset ¶ added in v0.1.12
func (x *VulnReportRequest) Reset()
func (*VulnReportRequest) String ¶ added in v0.1.12
func (x *VulnReportRequest) String() string
type VulnerabilitiesDiff ¶
type VulnerabilitiesDiff struct { Added []*VulnerabilityReference `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"` Removed []*VulnerabilityReference `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"` Metadata []*ScannerMetadata `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*VulnerabilitiesDiff) Descriptor
deprecated
func (*VulnerabilitiesDiff) Descriptor() ([]byte, []int)
Deprecated: Use VulnerabilitiesDiff.ProtoReflect.Descriptor instead.
func (*VulnerabilitiesDiff) GetAdded ¶
func (x *VulnerabilitiesDiff) GetAdded() []*VulnerabilityReference
func (*VulnerabilitiesDiff) GetMetadata ¶ added in v0.1.15
func (x *VulnerabilitiesDiff) GetMetadata() []*ScannerMetadata
func (*VulnerabilitiesDiff) GetRemoved ¶
func (x *VulnerabilitiesDiff) GetRemoved() []*VulnerabilityReference
func (*VulnerabilitiesDiff) ProtoMessage ¶
func (*VulnerabilitiesDiff) ProtoMessage()
func (*VulnerabilitiesDiff) ProtoReflect ¶
func (x *VulnerabilitiesDiff) ProtoReflect() protoreflect.Message
func (*VulnerabilitiesDiff) Reset ¶
func (x *VulnerabilitiesDiff) Reset()
func (*VulnerabilitiesDiff) String ¶
func (x *VulnerabilitiesDiff) String() string
type VulnerabilityReference ¶
type VulnerabilityReference struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"` // contains filtered or unexported fields }
VulnerabilityReference is a reference to a vulnerability, containing minimal information to identify it.
func (*VulnerabilityReference) Descriptor
deprecated
func (*VulnerabilityReference) Descriptor() ([]byte, []int)
Deprecated: Use VulnerabilityReference.ProtoReflect.Descriptor instead.
func (*VulnerabilityReference) GetId ¶
func (x *VulnerabilityReference) GetId() string
func (*VulnerabilityReference) GetReference ¶
func (x *VulnerabilityReference) GetReference() string
func (*VulnerabilityReference) GetSeverity ¶
func (x *VulnerabilityReference) GetSeverity() string
func (*VulnerabilityReference) ProtoMessage ¶
func (*VulnerabilityReference) ProtoMessage()
func (*VulnerabilityReference) ProtoReflect ¶
func (x *VulnerabilityReference) ProtoReflect() protoreflect.Message
func (*VulnerabilityReference) Reset ¶
func (x *VulnerabilityReference) Reset()
func (*VulnerabilityReference) String ¶
func (x *VulnerabilityReference) String() string