v1

package
v0.1.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 27 Imported by: 3

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

View Source
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"
	Registry_GetVulnReport_FullMethodName  = "/chainguard.platform.registry.Registry/GetVulnReport"
)

Variables

View Source
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.

View Source
var File_registry_platform_proto protoreflect.FileDescriptor
View Source
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,
		},
		{
			MethodName: "GetVulnReport",
			Handler:    _Registry_GetVulnReport_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) 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

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 (*ChangedImageConfig) GetChangedWorkingDir added in v0.1.1

func (x *ChangedImageConfig) GetChangedWorkingDir() *ChangedImageConfig_ChangedWorkingDir

func (*ChangedImageConfig) GetCmds added in v0.1.1

func (*ChangedImageConfig) GetEntrypoints added in v0.1.1

func (*ChangedImageConfig) GetEnvs added in v0.1.1

func (*ChangedImageConfig) GetVolumes added in v0.1.1

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 (*ChangedImageConfig_ChangedStopSignal) GetPrevious added in v0.1.1

func (*ChangedImageConfig_ChangedStopSignal) ProtoMessage added in v0.1.1

func (*ChangedImageConfig_ChangedStopSignal) ProtoMessage()

func (*ChangedImageConfig_ChangedStopSignal) ProtoReflect added in v0.1.1

func (*ChangedImageConfig_ChangedStopSignal) Reset added in v0.1.1

func (*ChangedImageConfig_ChangedStopSignal) String added in v0.1.1

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 (*ChangedImageConfig_ChangedUser) Reset added in v0.1.1

func (x *ChangedImageConfig_ChangedUser) Reset()

func (*ChangedImageConfig_ChangedUser) String added in v0.1.1

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 (*ChangedImageConfig_ChangedWorkingDir) GetPrevious added in v0.1.1

func (*ChangedImageConfig_ChangedWorkingDir) ProtoMessage added in v0.1.1

func (*ChangedImageConfig_ChangedWorkingDir) ProtoMessage()

func (*ChangedImageConfig_ChangedWorkingDir) ProtoReflect added in v0.1.1

func (*ChangedImageConfig_ChangedWorkingDir) Reset added in v0.1.1

func (*ChangedImageConfig_ChangedWorkingDir) String added in v0.1.1

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 (*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 (*ChangedImageConfig_EntrypointDiff) Reset added in v0.1.1

func (*ChangedImageConfig_EntrypointDiff) String added in v0.1.1

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 (*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 (*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 (*ChangedImageConfig_VolumeDiff) GetRemoved added in v0.1.1

func (*ChangedImageConfig_VolumeDiff) ProtoMessage added in v0.1.1

func (*ChangedImageConfig_VolumeDiff) ProtoMessage()

func (*ChangedImageConfig_VolumeDiff) ProtoReflect added in v0.1.1

func (*ChangedImageConfig_VolumeDiff) Reset added in v0.1.1

func (x *ChangedImageConfig_VolumeDiff) Reset()

func (*ChangedImageConfig_VolumeDiff) String added in v0.1.1

type Clients

type Clients interface {
	Registry() RegistryClient

	Close() error
}

func NewClients

func NewClients(ctx context.Context, addr string, token string) (Clients, 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 (*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 (*PackagesDiff_ChangedPackageReference) GetName

func (*PackagesDiff_ChangedPackageReference) GetPrevious

func (*PackagesDiff_ChangedPackageReference) ProtoMessage

func (*PackagesDiff_ChangedPackageReference) ProtoMessage()

func (*PackagesDiff_ChangedPackageReference) ProtoReflect

func (*PackagesDiff_ChangedPackageReference) Reset

func (*PackagesDiff_ChangedPackageReference) 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)
	GetVulnReport(ctx context.Context, in *VulnReportRequest, opts ...grpc.CallOption) (*v1.VulnReport, 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)
	GetVulnReport(context.Context, *VulnReportRequest) (*v1.VulnReport, 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.
	SyncConfig *SyncConfig `protobuf:"bytes,6,opt,name=sync_config,json=syncConfig,proto3" json:"sync_config,omitempty"`
	// contains filtered or unexported fields
}

func (*Repo) Descriptor deprecated

func (*Repo) Descriptor() ([]byte, []int)

Deprecated: Use Repo.ProtoReflect.Descriptor instead.

func (*Repo) GetBundles

func (x *Repo) GetBundles() []string

func (*Repo) GetCatalogTier

func (x *Repo) GetCatalogTier() CatalogTier

func (*Repo) GetId

func (x *Repo) GetId() string

func (*Repo) GetName

func (x *Repo) GetName() string

func (*Repo) GetReadme added in v0.1.13

func (x *Repo) GetReadme() string

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

func (*Repo) Reset

func (x *Repo) Reset()

func (*Repo) String

func (x *Repo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use RepoList.ProtoReflect.Descriptor instead.

func (*RepoList) GetItems

func (x *RepoList) GetItems() []*Repo

func (*RepoList) ProtoMessage

func (*RepoList) ProtoMessage()

func (*RepoList) ProtoReflect

func (x *RepoList) ProtoReflect() protoreflect.Message

func (*RepoList) Reset

func (x *RepoList) Reset()

func (*RepoList) String

func (x *RepoList) String() string

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 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 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"`
	// 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) GetSource added in v0.1.19

func (x *SyncConfig) GetSource() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetBundles

func (x *Tag) GetBundles() []string

func (*Tag) GetDeprecated

func (x *Tag) GetDeprecated() bool

func (*Tag) GetDigest

func (x *Tag) GetDigest() string

func (*Tag) GetId

func (x *Tag) GetId() string

func (*Tag) GetLastUpdated

func (x *Tag) GetLastUpdated() *timestamppb.Timestamp

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TagFilter.ProtoReflect.Descriptor instead.

func (*TagFilter) GetExcludeDates

func (x *TagFilter) GetExcludeDates() bool

func (*TagFilter) GetExcludeEpochs

func (x *TagFilter) GetExcludeEpochs() bool

func (*TagFilter) GetExcludeReferrers

func (x *TagFilter) GetExcludeReferrers() bool

func (*TagFilter) GetId

func (x *TagFilter) GetId() string

func (*TagFilter) GetName

func (x *TagFilter) GetName() string

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

func (*TagFilter) Reset

func (x *TagFilter) Reset()

func (*TagFilter) String

func (x *TagFilter) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TagList.ProtoReflect.Descriptor instead.

func (*TagList) GetItems

func (x *TagList) GetItems() []*Tag

func (*TagList) ProtoMessage

func (*TagList) ProtoMessage()

func (*TagList) ProtoReflect

func (x *TagList) ProtoReflect() protoreflect.Message

func (*TagList) Reset

func (x *TagList) Reset()

func (*TagList) String

func (x *TagList) String() string

type UnimplementedRegistryServer

type UnimplementedRegistryServer struct {
}

UnimplementedRegistryServer must be embedded to have forward compatible implementations.

func (UnimplementedRegistryServer) CreateRepo

func (UnimplementedRegistryServer) CreateTag

func (UnimplementedRegistryServer) DeleteRepo

func (UnimplementedRegistryServer) DeleteTag

func (UnimplementedRegistryServer) DiffImage

func (UnimplementedRegistryServer) GetSbom added in v0.1.6

func (UnimplementedRegistryServer) GetVulnReport added in v0.1.12

func (UnimplementedRegistryServer) ListRepos

func (UnimplementedRegistryServer) ListTagHistory

func (UnimplementedRegistryServer) ListTags

func (UnimplementedRegistryServer) UpdateRepo

func (UnimplementedRegistryServer) UpdateTag

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 (*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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL