Documentation ¶
Overview ¶
Package v1 contains the v1 GRPC client and server definitions for implementing Registry interactions.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
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 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 ChangedImageConfig
- func (*ChangedImageConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedImageConfig) GetChangedStopSignal() *ChangedImageConfig_ChangedStopSignal
- func (x *ChangedImageConfig) GetChangedUser() *ChangedImageConfig_ChangedUser
- func (x *ChangedImageConfig) GetChangedWorkingDir() *ChangedImageConfig_ChangedWorkingDir
- func (x *ChangedImageConfig) GetCmds() *ChangedImageConfig_CmdDiff
- func (x *ChangedImageConfig) GetEntrypoints() *ChangedImageConfig_EntrypointDiff
- func (x *ChangedImageConfig) GetEnvs() *ChangedImageConfig_EnvDiff
- func (x *ChangedImageConfig) GetVolumes() *ChangedImageConfig_VolumeDiff
- func (*ChangedImageConfig) ProtoMessage()
- func (x *ChangedImageConfig) ProtoReflect() protoreflect.Message
- func (x *ChangedImageConfig) Reset()
- func (x *ChangedImageConfig) String() string
- type ChangedImageConfig_ChangedStopSignal
- func (*ChangedImageConfig_ChangedStopSignal) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedImageConfig_ChangedStopSignal) GetCurrent() string
- func (x *ChangedImageConfig_ChangedStopSignal) GetPrevious() string
- func (*ChangedImageConfig_ChangedStopSignal) ProtoMessage()
- func (x *ChangedImageConfig_ChangedStopSignal) ProtoReflect() protoreflect.Message
- func (x *ChangedImageConfig_ChangedStopSignal) Reset()
- func (x *ChangedImageConfig_ChangedStopSignal) String() string
- type ChangedImageConfig_ChangedUser
- func (*ChangedImageConfig_ChangedUser) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedImageConfig_ChangedUser) GetCurrent() string
- func (x *ChangedImageConfig_ChangedUser) GetPrevious() string
- func (*ChangedImageConfig_ChangedUser) ProtoMessage()
- func (x *ChangedImageConfig_ChangedUser) ProtoReflect() protoreflect.Message
- func (x *ChangedImageConfig_ChangedUser) Reset()
- func (x *ChangedImageConfig_ChangedUser) String() string
- type ChangedImageConfig_ChangedWorkingDir
- func (*ChangedImageConfig_ChangedWorkingDir) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedImageConfig_ChangedWorkingDir) GetCurrent() string
- func (x *ChangedImageConfig_ChangedWorkingDir) GetPrevious() string
- func (*ChangedImageConfig_ChangedWorkingDir) ProtoMessage()
- func (x *ChangedImageConfig_ChangedWorkingDir) ProtoReflect() protoreflect.Message
- func (x *ChangedImageConfig_ChangedWorkingDir) Reset()
- func (x *ChangedImageConfig_ChangedWorkingDir) String() string
- type ChangedImageConfig_CmdDiff
- func (*ChangedImageConfig_CmdDiff) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedImageConfig_CmdDiff) GetAdded() []string
- func (x *ChangedImageConfig_CmdDiff) GetRemoved() []string
- func (*ChangedImageConfig_CmdDiff) ProtoMessage()
- func (x *ChangedImageConfig_CmdDiff) ProtoReflect() protoreflect.Message
- func (x *ChangedImageConfig_CmdDiff) Reset()
- func (x *ChangedImageConfig_CmdDiff) String() string
- type ChangedImageConfig_EntrypointDiff
- func (*ChangedImageConfig_EntrypointDiff) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedImageConfig_EntrypointDiff) GetAdded() []string
- func (x *ChangedImageConfig_EntrypointDiff) GetRemoved() []string
- func (*ChangedImageConfig_EntrypointDiff) ProtoMessage()
- func (x *ChangedImageConfig_EntrypointDiff) ProtoReflect() protoreflect.Message
- func (x *ChangedImageConfig_EntrypointDiff) Reset()
- func (x *ChangedImageConfig_EntrypointDiff) String() string
- type ChangedImageConfig_EnvDiff
- func (*ChangedImageConfig_EnvDiff) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedImageConfig_EnvDiff) GetAdded() []string
- func (x *ChangedImageConfig_EnvDiff) GetRemoved() []string
- func (*ChangedImageConfig_EnvDiff) ProtoMessage()
- func (x *ChangedImageConfig_EnvDiff) ProtoReflect() protoreflect.Message
- func (x *ChangedImageConfig_EnvDiff) Reset()
- func (x *ChangedImageConfig_EnvDiff) String() string
- type ChangedImageConfig_Volume
- type ChangedImageConfig_VolumeDiff
- func (*ChangedImageConfig_VolumeDiff) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedImageConfig_VolumeDiff) GetAdded() map[string]*ChangedImageConfig_Volume
- func (x *ChangedImageConfig_VolumeDiff) GetRemoved() map[string]*ChangedImageConfig_Volume
- func (*ChangedImageConfig_VolumeDiff) ProtoMessage()
- func (x *ChangedImageConfig_VolumeDiff) ProtoReflect() protoreflect.Message
- func (x *ChangedImageConfig_VolumeDiff) Reset()
- func (x *ChangedImageConfig_VolumeDiff) String() string
- 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) GetConfig() *ImageConfigDiff
- 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 ImageConfigDiff
- 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 RegistryClient
- type RegistryServer
- type Repo
- 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 (*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) 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 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) DiffImage(context.Context, *DiffImageRequest) (*DiffImageResponse, error)
- func (UnimplementedRegistryServer) GetSbom(context.Context, *SbomRequest) (*v1.Sbom2, 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 VulnerabilitiesDiff
- func (*VulnerabilitiesDiff) Descriptor() ([]byte, []int)deprecated
- func (x *VulnerabilitiesDiff) GetAdded() []*VulnerabilityReference
- 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_DiffImage_FullMethodName = "/chainguard.platform.registry.Registry/DiffImage" Registry_GetSbom_FullMethodName = "/chainguard.platform.registry.Registry/GetSbom" )
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: "DiffImage", Handler: _Registry_DiffImage_Handler, }, { MethodName: "GetSbom", Handler: _Registry_GetSbom_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 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 ChangedImageConfig ¶ added in v0.1.1
type ChangedImageConfig struct { ChangedUser *ChangedImageConfig_ChangedUser `protobuf:"bytes,1,opt,name=changedUser,proto3" json:"changedUser,omitempty"` ChangedWorkingDir *ChangedImageConfig_ChangedWorkingDir `protobuf:"bytes,2,opt,name=changedWorkingDir,proto3" json:"changedWorkingDir,omitempty"` Entrypoints *ChangedImageConfig_EntrypointDiff `protobuf:"bytes,3,opt,name=entrypoints,proto3" json:"entrypoints,omitempty"` Envs *ChangedImageConfig_EnvDiff `protobuf:"bytes,4,opt,name=envs,proto3" json:"envs,omitempty"` Cmds *ChangedImageConfig_CmdDiff `protobuf:"bytes,5,opt,name=cmds,proto3" json:"cmds,omitempty"` ChangedStopSignal *ChangedImageConfig_ChangedStopSignal `protobuf:"bytes,6,opt,name=changedStopSignal,proto3" json:"changedStopSignal,omitempty"` Volumes *ChangedImageConfig_VolumeDiff `protobuf:"bytes,7,opt,name=volumes,proto3" json:"volumes,omitempty"` // contains filtered or unexported fields }
func (*ChangedImageConfig) Descriptor
deprecated
added in
v0.1.1
func (*ChangedImageConfig) Descriptor() ([]byte, []int)
Deprecated: Use ChangedImageConfig.ProtoReflect.Descriptor instead.
func (*ChangedImageConfig) GetChangedStopSignal ¶ added in v0.1.1
func (x *ChangedImageConfig) GetChangedStopSignal() *ChangedImageConfig_ChangedStopSignal
func (*ChangedImageConfig) GetChangedUser ¶ added in v0.1.1
func (x *ChangedImageConfig) GetChangedUser() *ChangedImageConfig_ChangedUser
func (*ChangedImageConfig) GetChangedWorkingDir ¶ added in v0.1.1
func (x *ChangedImageConfig) GetChangedWorkingDir() *ChangedImageConfig_ChangedWorkingDir
func (*ChangedImageConfig) GetCmds ¶ added in v0.1.1
func (x *ChangedImageConfig) GetCmds() *ChangedImageConfig_CmdDiff
func (*ChangedImageConfig) GetEntrypoints ¶ added in v0.1.1
func (x *ChangedImageConfig) GetEntrypoints() *ChangedImageConfig_EntrypointDiff
func (*ChangedImageConfig) GetEnvs ¶ added in v0.1.1
func (x *ChangedImageConfig) GetEnvs() *ChangedImageConfig_EnvDiff
func (*ChangedImageConfig) GetVolumes ¶ added in v0.1.1
func (x *ChangedImageConfig) GetVolumes() *ChangedImageConfig_VolumeDiff
func (*ChangedImageConfig) ProtoMessage ¶ added in v0.1.1
func (*ChangedImageConfig) ProtoMessage()
func (*ChangedImageConfig) ProtoReflect ¶ added in v0.1.1
func (x *ChangedImageConfig) ProtoReflect() protoreflect.Message
func (*ChangedImageConfig) Reset ¶ added in v0.1.1
func (x *ChangedImageConfig) Reset()
func (*ChangedImageConfig) String ¶ added in v0.1.1
func (x *ChangedImageConfig) String() string
type ChangedImageConfig_ChangedStopSignal ¶ added in v0.1.1
type ChangedImageConfig_ChangedStopSignal struct { Current string `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Previous string `protobuf:"bytes,2,opt,name=previous,proto3" json:"previous,omitempty"` // contains filtered or unexported fields }
func (*ChangedImageConfig_ChangedStopSignal) Descriptor
deprecated
added in
v0.1.1
func (*ChangedImageConfig_ChangedStopSignal) Descriptor() ([]byte, []int)
Deprecated: Use ChangedImageConfig_ChangedStopSignal.ProtoReflect.Descriptor instead.
func (*ChangedImageConfig_ChangedStopSignal) GetCurrent ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedStopSignal) GetCurrent() string
func (*ChangedImageConfig_ChangedStopSignal) GetPrevious ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedStopSignal) GetPrevious() string
func (*ChangedImageConfig_ChangedStopSignal) ProtoMessage ¶ added in v0.1.1
func (*ChangedImageConfig_ChangedStopSignal) ProtoMessage()
func (*ChangedImageConfig_ChangedStopSignal) ProtoReflect ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedStopSignal) ProtoReflect() protoreflect.Message
func (*ChangedImageConfig_ChangedStopSignal) Reset ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedStopSignal) Reset()
func (*ChangedImageConfig_ChangedStopSignal) String ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedStopSignal) String() string
type ChangedImageConfig_ChangedUser ¶ added in v0.1.1
type ChangedImageConfig_ChangedUser struct { Current string `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Previous string `protobuf:"bytes,2,opt,name=previous,proto3" json:"previous,omitempty"` // contains filtered or unexported fields }
func (*ChangedImageConfig_ChangedUser) Descriptor
deprecated
added in
v0.1.1
func (*ChangedImageConfig_ChangedUser) Descriptor() ([]byte, []int)
Deprecated: Use ChangedImageConfig_ChangedUser.ProtoReflect.Descriptor instead.
func (*ChangedImageConfig_ChangedUser) GetCurrent ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedUser) GetCurrent() string
func (*ChangedImageConfig_ChangedUser) GetPrevious ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedUser) GetPrevious() string
func (*ChangedImageConfig_ChangedUser) ProtoMessage ¶ added in v0.1.1
func (*ChangedImageConfig_ChangedUser) ProtoMessage()
func (*ChangedImageConfig_ChangedUser) ProtoReflect ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedUser) ProtoReflect() protoreflect.Message
func (*ChangedImageConfig_ChangedUser) Reset ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedUser) Reset()
func (*ChangedImageConfig_ChangedUser) String ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedUser) String() string
type ChangedImageConfig_ChangedWorkingDir ¶ added in v0.1.1
type ChangedImageConfig_ChangedWorkingDir struct { Current string `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` Previous string `protobuf:"bytes,2,opt,name=previous,proto3" json:"previous,omitempty"` // contains filtered or unexported fields }
func (*ChangedImageConfig_ChangedWorkingDir) Descriptor
deprecated
added in
v0.1.1
func (*ChangedImageConfig_ChangedWorkingDir) Descriptor() ([]byte, []int)
Deprecated: Use ChangedImageConfig_ChangedWorkingDir.ProtoReflect.Descriptor instead.
func (*ChangedImageConfig_ChangedWorkingDir) GetCurrent ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedWorkingDir) GetCurrent() string
func (*ChangedImageConfig_ChangedWorkingDir) GetPrevious ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedWorkingDir) GetPrevious() string
func (*ChangedImageConfig_ChangedWorkingDir) ProtoMessage ¶ added in v0.1.1
func (*ChangedImageConfig_ChangedWorkingDir) ProtoMessage()
func (*ChangedImageConfig_ChangedWorkingDir) ProtoReflect ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedWorkingDir) ProtoReflect() protoreflect.Message
func (*ChangedImageConfig_ChangedWorkingDir) Reset ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedWorkingDir) Reset()
func (*ChangedImageConfig_ChangedWorkingDir) String ¶ added in v0.1.1
func (x *ChangedImageConfig_ChangedWorkingDir) String() string
type ChangedImageConfig_CmdDiff ¶ added in v0.1.1
type ChangedImageConfig_CmdDiff struct { Added []string `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"` Removed []string `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"` // contains filtered or unexported fields }
func (*ChangedImageConfig_CmdDiff) Descriptor
deprecated
added in
v0.1.1
func (*ChangedImageConfig_CmdDiff) Descriptor() ([]byte, []int)
Deprecated: Use ChangedImageConfig_CmdDiff.ProtoReflect.Descriptor instead.
func (*ChangedImageConfig_CmdDiff) GetAdded ¶ added in v0.1.1
func (x *ChangedImageConfig_CmdDiff) GetAdded() []string
func (*ChangedImageConfig_CmdDiff) GetRemoved ¶ added in v0.1.1
func (x *ChangedImageConfig_CmdDiff) GetRemoved() []string
func (*ChangedImageConfig_CmdDiff) ProtoMessage ¶ added in v0.1.1
func (*ChangedImageConfig_CmdDiff) ProtoMessage()
func (*ChangedImageConfig_CmdDiff) ProtoReflect ¶ added in v0.1.1
func (x *ChangedImageConfig_CmdDiff) ProtoReflect() protoreflect.Message
func (*ChangedImageConfig_CmdDiff) Reset ¶ added in v0.1.1
func (x *ChangedImageConfig_CmdDiff) Reset()
func (*ChangedImageConfig_CmdDiff) String ¶ added in v0.1.1
func (x *ChangedImageConfig_CmdDiff) String() string
type ChangedImageConfig_EntrypointDiff ¶ added in v0.1.1
type ChangedImageConfig_EntrypointDiff struct { Added []string `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"` Removed []string `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"` // contains filtered or unexported fields }
func (*ChangedImageConfig_EntrypointDiff) Descriptor
deprecated
added in
v0.1.1
func (*ChangedImageConfig_EntrypointDiff) Descriptor() ([]byte, []int)
Deprecated: Use ChangedImageConfig_EntrypointDiff.ProtoReflect.Descriptor instead.
func (*ChangedImageConfig_EntrypointDiff) GetAdded ¶ added in v0.1.1
func (x *ChangedImageConfig_EntrypointDiff) GetAdded() []string
func (*ChangedImageConfig_EntrypointDiff) GetRemoved ¶ added in v0.1.1
func (x *ChangedImageConfig_EntrypointDiff) GetRemoved() []string
func (*ChangedImageConfig_EntrypointDiff) ProtoMessage ¶ added in v0.1.1
func (*ChangedImageConfig_EntrypointDiff) ProtoMessage()
func (*ChangedImageConfig_EntrypointDiff) ProtoReflect ¶ added in v0.1.1
func (x *ChangedImageConfig_EntrypointDiff) ProtoReflect() protoreflect.Message
func (*ChangedImageConfig_EntrypointDiff) Reset ¶ added in v0.1.1
func (x *ChangedImageConfig_EntrypointDiff) Reset()
func (*ChangedImageConfig_EntrypointDiff) String ¶ added in v0.1.1
func (x *ChangedImageConfig_EntrypointDiff) String() string
type ChangedImageConfig_EnvDiff ¶ added in v0.1.1
type ChangedImageConfig_EnvDiff struct { Added []string `protobuf:"bytes,1,rep,name=added,proto3" json:"added,omitempty"` Removed []string `protobuf:"bytes,2,rep,name=removed,proto3" json:"removed,omitempty"` // contains filtered or unexported fields }
func (*ChangedImageConfig_EnvDiff) Descriptor
deprecated
added in
v0.1.1
func (*ChangedImageConfig_EnvDiff) Descriptor() ([]byte, []int)
Deprecated: Use ChangedImageConfig_EnvDiff.ProtoReflect.Descriptor instead.
func (*ChangedImageConfig_EnvDiff) GetAdded ¶ added in v0.1.1
func (x *ChangedImageConfig_EnvDiff) GetAdded() []string
func (*ChangedImageConfig_EnvDiff) GetRemoved ¶ added in v0.1.1
func (x *ChangedImageConfig_EnvDiff) GetRemoved() []string
func (*ChangedImageConfig_EnvDiff) ProtoMessage ¶ added in v0.1.1
func (*ChangedImageConfig_EnvDiff) ProtoMessage()
func (*ChangedImageConfig_EnvDiff) ProtoReflect ¶ added in v0.1.1
func (x *ChangedImageConfig_EnvDiff) ProtoReflect() protoreflect.Message
func (*ChangedImageConfig_EnvDiff) Reset ¶ added in v0.1.1
func (x *ChangedImageConfig_EnvDiff) Reset()
func (*ChangedImageConfig_EnvDiff) String ¶ added in v0.1.1
func (x *ChangedImageConfig_EnvDiff) String() string
type ChangedImageConfig_Volume ¶ added in v0.1.1
type ChangedImageConfig_Volume struct {
// contains filtered or unexported fields
}
func (*ChangedImageConfig_Volume) Descriptor
deprecated
added in
v0.1.1
func (*ChangedImageConfig_Volume) Descriptor() ([]byte, []int)
Deprecated: Use ChangedImageConfig_Volume.ProtoReflect.Descriptor instead.
func (*ChangedImageConfig_Volume) ProtoMessage ¶ added in v0.1.1
func (*ChangedImageConfig_Volume) ProtoMessage()
func (*ChangedImageConfig_Volume) ProtoReflect ¶ added in v0.1.1
func (x *ChangedImageConfig_Volume) ProtoReflect() protoreflect.Message
func (*ChangedImageConfig_Volume) Reset ¶ added in v0.1.1
func (x *ChangedImageConfig_Volume) Reset()
func (*ChangedImageConfig_Volume) String ¶ added in v0.1.1
func (x *ChangedImageConfig_Volume) String() string
type ChangedImageConfig_VolumeDiff ¶ added in v0.1.1
type ChangedImageConfig_VolumeDiff struct { Added map[string]*ChangedImageConfig_Volume `` /* 151-byte string literal not displayed */ Removed map[string]*ChangedImageConfig_Volume `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ChangedImageConfig_VolumeDiff) Descriptor
deprecated
added in
v0.1.1
func (*ChangedImageConfig_VolumeDiff) Descriptor() ([]byte, []int)
Deprecated: Use ChangedImageConfig_VolumeDiff.ProtoReflect.Descriptor instead.
func (*ChangedImageConfig_VolumeDiff) GetAdded ¶ added in v0.1.1
func (x *ChangedImageConfig_VolumeDiff) GetAdded() map[string]*ChangedImageConfig_Volume
func (*ChangedImageConfig_VolumeDiff) GetRemoved ¶ added in v0.1.1
func (x *ChangedImageConfig_VolumeDiff) GetRemoved() map[string]*ChangedImageConfig_Volume
func (*ChangedImageConfig_VolumeDiff) ProtoMessage ¶ added in v0.1.1
func (*ChangedImageConfig_VolumeDiff) ProtoMessage()
func (*ChangedImageConfig_VolumeDiff) ProtoReflect ¶ added in v0.1.1
func (x *ChangedImageConfig_VolumeDiff) ProtoReflect() protoreflect.Message
func (*ChangedImageConfig_VolumeDiff) Reset ¶ added in v0.1.1
func (x *ChangedImageConfig_VolumeDiff) Reset()
func (*ChangedImageConfig_VolumeDiff) String ¶ added in v0.1.1
func (x *ChangedImageConfig_VolumeDiff) String() string
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"` Config *ImageConfigDiff `protobuf:"bytes,4,opt,name=config,proto3" json:"config,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) GetConfig ¶ added in v0.1.2
func (x *DiffImageResponse) GetConfig() *ImageConfigDiff
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 ImageConfigDiff ¶ added in v0.1.1
type ImageConfigDiff struct { Changed *ChangedImageConfig `protobuf:"bytes,1,opt,name=changed,proto3" json:"changed,omitempty"` // contains filtered or unexported fields }
func (*ImageConfigDiff) Descriptor
deprecated
added in
v0.1.1
func (*ImageConfigDiff) Descriptor() ([]byte, []int)
Deprecated: Use ImageConfigDiff.ProtoReflect.Descriptor instead.
func (*ImageConfigDiff) GetChanged ¶ added in v0.1.1
func (x *ImageConfigDiff) GetChanged() *ChangedImageConfig
func (*ImageConfigDiff) ProtoMessage ¶ added in v0.1.1
func (*ImageConfigDiff) ProtoMessage()
func (*ImageConfigDiff) ProtoReflect ¶ added in v0.1.1
func (x *ImageConfigDiff) ProtoReflect() protoreflect.Message
func (*ImageConfigDiff) Reset ¶ added in v0.1.1
func (x *ImageConfigDiff) Reset()
func (*ImageConfigDiff) String ¶ added in v0.1.1
func (x *ImageConfigDiff) 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 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) DiffImage(ctx context.Context, in *DiffImageRequest, opts ...grpc.CallOption) (*DiffImageResponse, error) GetSbom(ctx context.Context, in *SbomRequest, opts ...grpc.CallOption) (*v1.Sbom2, 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) DiffImage(context.Context, *DiffImageRequest) (*DiffImageResponse, error) GetSbom(context.Context, *SbomRequest) (*v1.Sbom2, 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"` // contains filtered or unexported fields }
func (*Repo) Descriptor
deprecated
func (*Repo) GetBundles ¶
func (*Repo) GetCatalogTier ¶
func (x *Repo) GetCatalogTier() CatalogTier
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"` // 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) 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 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) DiffImage ¶
func (UnimplementedRegistryServer) DiffImage(context.Context, *DiffImageRequest) (*DiffImageResponse, error)
func (UnimplementedRegistryServer) GetSbom ¶ added in v0.1.6
func (UnimplementedRegistryServer) GetSbom(context.Context, *SbomRequest) (*v1.Sbom2, 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 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"` // 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) 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