v1

package
v0.1.29 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 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.

Index

Constants

View Source
const (
	Apko_ResolveConfig_FullMethodName = "/chainguard.platform.registry.Apko/ResolveConfig"
	Apko_BuildImage_FullMethodName    = "/chainguard.platform.registry.Apko/BuildImage"
)
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_GetSbom_FullMethodName                   = "/chainguard.platform.registry.Registry/GetSbom"
	Registry_GetImageConfig_FullMethodName            = "/chainguard.platform.registry.Registry/GetImageConfig"
	Registry_GetArchs_FullMethodName                  = "/chainguard.platform.registry.Registry/GetArchs"
	Registry_GetSize_FullMethodName                   = "/chainguard.platform.registry.Registry/GetSize"
	Registry_GetRawSbom_FullMethodName                = "/chainguard.platform.registry.Registry/GetRawSbom"
	Registry_GetVulnReport_FullMethodName             = "/chainguard.platform.registry.Registry/GetVulnReport"
	Registry_ListManifestMetadata_FullMethodName      = "/chainguard.platform.registry.Registry/ListManifestMetadata"
	Registry_GetPackageVersionMetadata_FullMethodName = "/chainguard.platform.registry.Registry/GetPackageVersionMetadata"
	Registry_ListBuildReports_FullMethodName          = "/chainguard.platform.registry.Registry/ListBuildReports"
)
View Source
const (
	Vulnerabilities_ListVulnReports_FullMethodName      = "/chainguard.platform.registry.Vulnerabilities/ListVulnReports"
	Vulnerabilities_GetRawVulnReport_FullMethodName     = "/chainguard.platform.registry.Vulnerabilities/GetRawVulnReport"
	Vulnerabilities_ListVulnCountReports_FullMethodName = "/chainguard.platform.registry.Vulnerabilities/ListVulnCountReports"
)

Variables

View Source
var (
	CatalogTier_name = map[int32]string{
		0: "UNKNOWN",
		1: "FREE",
		2: "STANDARD",
		3: "PREMIUM",
		4: "APPLICATION",
		5: "BASE",
		6: "FIPS",
		7: "AI",
	}
	CatalogTier_value = map[string]int32{
		"UNKNOWN":     0,
		"FREE":        1,
		"STANDARD":    2,
		"PREMIUM":     3,
		"APPLICATION": 4,
		"BASE":        5,
		"FIPS":        6,
		"AI":          7,
	}
)

Enum value maps for CatalogTier.

View Source
var (
	BuildReport_Result_name = map[int32]string{
		0: "Unknown",
		1: "Success",
		2: "Failure",
	}
	BuildReport_Result_value = map[string]int32{
		"Unknown": 0,
		"Success": 1,
		"Failure": 2,
	}
)

Enum value maps for BuildReport_Result.

View Source
var (
	Scanner_Name_name = map[int32]string{
		0: "UNKNOWN",
		1: "GRYPE",
		2: "TRIVY",
	}
	Scanner_Name_value = map[string]int32{
		"UNKNOWN": 0,
		"GRYPE":   1,
		"TRIVY":   2,
	}
)

Enum value maps for Scanner_Name.

View Source
var (
	Vulnerability_Severity_name = map[int32]string{
		0: "UNKNOWN",
		1: "LOW",
		2: "MEDIUM",
		3: "HIGH",
		4: "CRITICAL",
		5: "NEGLIGIBLE",
	}
	Vulnerability_Severity_value = map[string]int32{
		"UNKNOWN":    0,
		"LOW":        1,
		"MEDIUM":     2,
		"HIGH":       3,
		"CRITICAL":   4,
		"NEGLIGIBLE": 5,
	}
)

Enum value maps for Vulnerability_Severity.

View Source
var (
	Vulnerability_Fix_State_name = map[int32]string{
		0: "UNKNOWN",
		1: "FIXED",
		2: "NOT_FIXED",
		3: "WONT_FIX",
	}
	Vulnerability_Fix_State_value = map[string]int32{
		"UNKNOWN":   0,
		"FIXED":     1,
		"NOT_FIXED": 2,
		"WONT_FIX":  3,
	}
)

Enum value maps for Vulnerability_Fix_State.

View Source
var Apko_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chainguard.platform.registry.Apko",
	HandlerType: (*ApkoServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ResolveConfig",
			Handler:    _Apko_ResolveConfig_Handler,
		},
		{
			MethodName: "BuildImage",
			Handler:    _Apko_BuildImage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "apko.platform.proto",
}

Apko_ServiceDesc is the grpc.ServiceDesc for Apko service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_apko_platform_proto protoreflect.FileDescriptor
View Source
var File_registry_platform_proto protoreflect.FileDescriptor
View Source
var File_vulnerabilities_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: "GetSbom",
			Handler:    _Registry_GetSbom_Handler,
		},
		{
			MethodName: "GetImageConfig",
			Handler:    _Registry_GetImageConfig_Handler,
		},
		{
			MethodName: "GetArchs",
			Handler:    _Registry_GetArchs_Handler,
		},
		{
			MethodName: "GetSize",
			Handler:    _Registry_GetSize_Handler,
		},
		{
			MethodName: "GetRawSbom",
			Handler:    _Registry_GetRawSbom_Handler,
		},
		{
			MethodName: "GetVulnReport",
			Handler:    _Registry_GetVulnReport_Handler,
		},
		{
			MethodName: "ListManifestMetadata",
			Handler:    _Registry_ListManifestMetadata_Handler,
		},
		{
			MethodName: "GetPackageVersionMetadata",
			Handler:    _Registry_GetPackageVersionMetadata_Handler,
		},
		{
			MethodName: "ListBuildReports",
			Handler:    _Registry_ListBuildReports_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)

View Source
var Vulnerabilities_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "chainguard.platform.registry.Vulnerabilities",
	HandlerType: (*VulnerabilitiesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListVulnReports",
			Handler:    _Vulnerabilities_ListVulnReports_Handler,
		},
		{
			MethodName: "GetRawVulnReport",
			Handler:    _Vulnerabilities_GetRawVulnReport_Handler,
		},
		{
			MethodName: "ListVulnCountReports",
			Handler:    _Vulnerabilities_ListVulnCountReports_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "vulnerabilities.platform.proto",
}

Vulnerabilities_ServiceDesc is the grpc.ServiceDesc for Vulnerabilities service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterApkoHandler added in v0.1.29

func RegisterApkoHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterApkoHandler registers the http handlers for service Apko to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterApkoHandlerClient added in v0.1.29

func RegisterApkoHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ApkoClient) error

RegisterApkoHandlerClient registers the http handlers for service Apko to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ApkoClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ApkoClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ApkoClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterApkoHandlerFromEndpoint added in v0.1.29

func RegisterApkoHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterApkoHandlerFromEndpoint is same as RegisterApkoHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterApkoHandlerServer added in v0.1.29

func RegisterApkoHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ApkoServer) error

RegisterApkoHandlerServer registers the http handlers for service Apko to "mux". UnaryRPC :call ApkoServer 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 RegisterApkoHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterApkoServer added in v0.1.29

func RegisterApkoServer(s grpc.ServiceRegistrar, srv ApkoServer)

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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterRegistryServer

func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)

func RegisterVulnerabilitiesHandler added in v0.1.25

func RegisterVulnerabilitiesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterVulnerabilitiesHandler registers the http handlers for service Vulnerabilities to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterVulnerabilitiesHandlerClient added in v0.1.25

func RegisterVulnerabilitiesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VulnerabilitiesClient) error

RegisterVulnerabilitiesHandlerClient registers the http handlers for service Vulnerabilities to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VulnerabilitiesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VulnerabilitiesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VulnerabilitiesClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterVulnerabilitiesHandlerFromEndpoint added in v0.1.25

func RegisterVulnerabilitiesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterVulnerabilitiesHandlerFromEndpoint is same as RegisterVulnerabilitiesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterVulnerabilitiesHandlerServer added in v0.1.25

func RegisterVulnerabilitiesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VulnerabilitiesServer) error

RegisterVulnerabilitiesHandlerServer registers the http handlers for service Vulnerabilities to "mux". UnaryRPC :call VulnerabilitiesServer 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 RegisterVulnerabilitiesHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterVulnerabilitiesServer added in v0.1.25

func RegisterVulnerabilitiesServer(s grpc.ServiceRegistrar, srv VulnerabilitiesServer)

func ToApkoNative added in v0.1.29

func ToApkoNative(cfg *ApkoConfig) apkotypes.ImageConfiguration

Types

type ApkoClient added in v0.1.29

type ApkoClient interface {
	ResolveConfig(ctx context.Context, in *ResolveConfigRequest, opts ...grpc.CallOption) (*ApkoConfig, error)
	BuildImage(ctx context.Context, in *BuildImageRequest, opts ...grpc.CallOption) (*BuildImageResponse, error)
}

ApkoClient is the client API for Apko 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 NewApkoClient added in v0.1.29

func NewApkoClient(cc grpc.ClientConnInterface) ApkoClient

type ApkoConfig added in v0.1.29

type ApkoConfig struct {
	Contents    *ApkoConfig_Contents       `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
	Environment map[string]string          `` /* 163-byte string literal not displayed */
	Accounts    *ApkoConfig_Accounts       `protobuf:"bytes,3,opt,name=accounts,proto3" json:"accounts,omitempty"`
	Entrypoint  *ApkoConfig_Entrypoint     `protobuf:"bytes,4,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	Cmd         string                     `protobuf:"bytes,5,opt,name=cmd,proto3" json:"cmd,omitempty"`
	WorkDir     string                     `protobuf:"bytes,6,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"`
	Annotations map[string]string          `` /* 163-byte string literal not displayed */
	Paths       []*ApkoConfig_PathMutation `protobuf:"bytes,8,rep,name=paths,proto3" json:"paths,omitempty"`
	Archs       []string                   `protobuf:"bytes,9,rep,name=archs,proto3" json:"archs,omitempty"`
	// These are unused, and only provided for compatibility with
	// ImageConfiguration.
	Volumes    []string `protobuf:"bytes,10,rep,name=volumes,proto3" json:"volumes,omitempty"`
	Include    string   `protobuf:"bytes,11,opt,name=include,proto3" json:"include,omitempty"`
	StopSignal string   `protobuf:"bytes,12,opt,name=stop_signal,json=stopSignal,proto3" json:"stop_signal,omitempty"`
	VcsUrl     string   `protobuf:"bytes,13,opt,name=vcs_url,json=vcsUrl,proto3" json:"vcs_url,omitempty"`
	// contains filtered or unexported fields
}

func ToApkoProto added in v0.1.29

func ToApkoProto(ic apkotypes.ImageConfiguration) *ApkoConfig

func (*ApkoConfig) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig.ProtoReflect.Descriptor instead.

func (*ApkoConfig) GetAccounts added in v0.1.29

func (x *ApkoConfig) GetAccounts() *ApkoConfig_Accounts

func (*ApkoConfig) GetAnnotations added in v0.1.29

func (x *ApkoConfig) GetAnnotations() map[string]string

func (*ApkoConfig) GetArchs added in v0.1.29

func (x *ApkoConfig) GetArchs() []string

func (*ApkoConfig) GetCmd added in v0.1.29

func (x *ApkoConfig) GetCmd() string

func (*ApkoConfig) GetContents added in v0.1.29

func (x *ApkoConfig) GetContents() *ApkoConfig_Contents

func (*ApkoConfig) GetEntrypoint added in v0.1.29

func (x *ApkoConfig) GetEntrypoint() *ApkoConfig_Entrypoint

func (*ApkoConfig) GetEnvironment added in v0.1.29

func (x *ApkoConfig) GetEnvironment() map[string]string

func (*ApkoConfig) GetInclude added in v0.1.29

func (x *ApkoConfig) GetInclude() string

func (*ApkoConfig) GetPaths added in v0.1.29

func (x *ApkoConfig) GetPaths() []*ApkoConfig_PathMutation

func (*ApkoConfig) GetStopSignal added in v0.1.29

func (x *ApkoConfig) GetStopSignal() string

func (*ApkoConfig) GetVcsUrl added in v0.1.29

func (x *ApkoConfig) GetVcsUrl() string

func (*ApkoConfig) GetVolumes added in v0.1.29

func (x *ApkoConfig) GetVolumes() []string

func (*ApkoConfig) GetWorkDir added in v0.1.29

func (x *ApkoConfig) GetWorkDir() string

func (*ApkoConfig) ProtoMessage added in v0.1.29

func (*ApkoConfig) ProtoMessage()

func (*ApkoConfig) ProtoReflect added in v0.1.29

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

func (*ApkoConfig) Reset added in v0.1.29

func (x *ApkoConfig) Reset()

func (*ApkoConfig) String added in v0.1.29

func (x *ApkoConfig) String() string

type ApkoConfig_Accounts added in v0.1.29

type ApkoConfig_Accounts struct {
	Groups []*ApkoConfig_Accounts_Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	Users  []*ApkoConfig_Accounts_User  `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
	RunAs  string                       `protobuf:"bytes,3,opt,name=run_as,json=runAs,proto3" json:"run_as,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_Accounts) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_Accounts.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Accounts) GetGroups added in v0.1.29

func (*ApkoConfig_Accounts) GetRunAs added in v0.1.29

func (x *ApkoConfig_Accounts) GetRunAs() string

func (*ApkoConfig_Accounts) GetUsers added in v0.1.29

func (*ApkoConfig_Accounts) ProtoMessage added in v0.1.29

func (*ApkoConfig_Accounts) ProtoMessage()

func (*ApkoConfig_Accounts) ProtoReflect added in v0.1.29

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

func (*ApkoConfig_Accounts) Reset added in v0.1.29

func (x *ApkoConfig_Accounts) Reset()

func (*ApkoConfig_Accounts) String added in v0.1.29

func (x *ApkoConfig_Accounts) String() string

type ApkoConfig_Accounts_Group added in v0.1.29

type ApkoConfig_Accounts_Group struct {
	Gid       uint32 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"`
	GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_Accounts_Group) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_Accounts_Group.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Accounts_Group) GetGid added in v0.1.29

func (x *ApkoConfig_Accounts_Group) GetGid() uint32

func (*ApkoConfig_Accounts_Group) GetGroupName added in v0.1.29

func (x *ApkoConfig_Accounts_Group) GetGroupName() string

func (*ApkoConfig_Accounts_Group) ProtoMessage added in v0.1.29

func (*ApkoConfig_Accounts_Group) ProtoMessage()

func (*ApkoConfig_Accounts_Group) ProtoReflect added in v0.1.29

func (*ApkoConfig_Accounts_Group) Reset added in v0.1.29

func (x *ApkoConfig_Accounts_Group) Reset()

func (*ApkoConfig_Accounts_Group) String added in v0.1.29

func (x *ApkoConfig_Accounts_Group) String() string

type ApkoConfig_Accounts_User added in v0.1.29

type ApkoConfig_Accounts_User struct {
	Uid       uint32 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	UserName  string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	Gid       uint32 `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"`
	GroupName string `protobuf:"bytes,4,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_Accounts_User) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_Accounts_User.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Accounts_User) GetGid added in v0.1.29

func (x *ApkoConfig_Accounts_User) GetGid() uint32

func (*ApkoConfig_Accounts_User) GetGroupName added in v0.1.29

func (x *ApkoConfig_Accounts_User) GetGroupName() string

func (*ApkoConfig_Accounts_User) GetUid added in v0.1.29

func (x *ApkoConfig_Accounts_User) GetUid() uint32

func (*ApkoConfig_Accounts_User) GetUserName added in v0.1.29

func (x *ApkoConfig_Accounts_User) GetUserName() string

func (*ApkoConfig_Accounts_User) ProtoMessage added in v0.1.29

func (*ApkoConfig_Accounts_User) ProtoMessage()

func (*ApkoConfig_Accounts_User) ProtoReflect added in v0.1.29

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

func (*ApkoConfig_Accounts_User) Reset added in v0.1.29

func (x *ApkoConfig_Accounts_User) Reset()

func (*ApkoConfig_Accounts_User) String added in v0.1.29

func (x *ApkoConfig_Accounts_User) String() string

type ApkoConfig_Contents added in v0.1.29

type ApkoConfig_Contents struct {
	Repositories      []string `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	BuildRepositories []string `protobuf:"bytes,2,rep,name=build_repositories,json=buildRepositories,proto3" json:"build_repositories,omitempty"`
	Keyring           []string `protobuf:"bytes,3,rep,name=keyring,proto3" json:"keyring,omitempty"`
	Packages          []string `protobuf:"bytes,4,rep,name=packages,proto3" json:"packages,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_Contents) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_Contents.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Contents) GetBuildRepositories added in v0.1.29

func (x *ApkoConfig_Contents) GetBuildRepositories() []string

func (*ApkoConfig_Contents) GetKeyring added in v0.1.29

func (x *ApkoConfig_Contents) GetKeyring() []string

func (*ApkoConfig_Contents) GetPackages added in v0.1.29

func (x *ApkoConfig_Contents) GetPackages() []string

func (*ApkoConfig_Contents) GetRepositories added in v0.1.29

func (x *ApkoConfig_Contents) GetRepositories() []string

func (*ApkoConfig_Contents) ProtoMessage added in v0.1.29

func (*ApkoConfig_Contents) ProtoMessage()

func (*ApkoConfig_Contents) ProtoReflect added in v0.1.29

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

func (*ApkoConfig_Contents) Reset added in v0.1.29

func (x *ApkoConfig_Contents) Reset()

func (*ApkoConfig_Contents) String added in v0.1.29

func (x *ApkoConfig_Contents) String() string

type ApkoConfig_Entrypoint added in v0.1.29

type ApkoConfig_Entrypoint struct {
	Type          string            `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Command       string            `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
	ShellFragment string            `protobuf:"bytes,3,opt,name=shell_fragment,json=shellFragment,proto3" json:"shell_fragment,omitempty"`
	Services      map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ApkoConfig_Entrypoint) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_Entrypoint.ProtoReflect.Descriptor instead.

func (*ApkoConfig_Entrypoint) GetCommand added in v0.1.29

func (x *ApkoConfig_Entrypoint) GetCommand() string

func (*ApkoConfig_Entrypoint) GetServices added in v0.1.29

func (x *ApkoConfig_Entrypoint) GetServices() map[string]string

func (*ApkoConfig_Entrypoint) GetShellFragment added in v0.1.29

func (x *ApkoConfig_Entrypoint) GetShellFragment() string

func (*ApkoConfig_Entrypoint) GetType added in v0.1.29

func (x *ApkoConfig_Entrypoint) GetType() string

func (*ApkoConfig_Entrypoint) ProtoMessage added in v0.1.29

func (*ApkoConfig_Entrypoint) ProtoMessage()

func (*ApkoConfig_Entrypoint) ProtoReflect added in v0.1.29

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

func (*ApkoConfig_Entrypoint) Reset added in v0.1.29

func (x *ApkoConfig_Entrypoint) Reset()

func (*ApkoConfig_Entrypoint) String added in v0.1.29

func (x *ApkoConfig_Entrypoint) String() string

type ApkoConfig_PathMutation added in v0.1.29

type ApkoConfig_PathMutation struct {
	Path        string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Type        string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Uid         uint32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
	Gid         uint32 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"`
	Permissions uint32 `protobuf:"varint,5,opt,name=permissions,proto3" json:"permissions,omitempty"`
	Source      string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
	Recursive   bool   `protobuf:"varint,7,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// contains filtered or unexported fields
}

func (*ApkoConfig_PathMutation) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ApkoConfig_PathMutation.ProtoReflect.Descriptor instead.

func (*ApkoConfig_PathMutation) GetGid added in v0.1.29

func (x *ApkoConfig_PathMutation) GetGid() uint32

func (*ApkoConfig_PathMutation) GetPath added in v0.1.29

func (x *ApkoConfig_PathMutation) GetPath() string

func (*ApkoConfig_PathMutation) GetPermissions added in v0.1.29

func (x *ApkoConfig_PathMutation) GetPermissions() uint32

func (*ApkoConfig_PathMutation) GetRecursive added in v0.1.29

func (x *ApkoConfig_PathMutation) GetRecursive() bool

func (*ApkoConfig_PathMutation) GetSource added in v0.1.29

func (x *ApkoConfig_PathMutation) GetSource() string

func (*ApkoConfig_PathMutation) GetType added in v0.1.29

func (x *ApkoConfig_PathMutation) GetType() string

func (*ApkoConfig_PathMutation) GetUid added in v0.1.29

func (x *ApkoConfig_PathMutation) GetUid() uint32

func (*ApkoConfig_PathMutation) ProtoMessage added in v0.1.29

func (*ApkoConfig_PathMutation) ProtoMessage()

func (*ApkoConfig_PathMutation) ProtoReflect added in v0.1.29

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

func (*ApkoConfig_PathMutation) Reset added in v0.1.29

func (x *ApkoConfig_PathMutation) Reset()

func (*ApkoConfig_PathMutation) String added in v0.1.29

func (x *ApkoConfig_PathMutation) String() string

type ApkoServer added in v0.1.29

type ApkoServer interface {
	ResolveConfig(context.Context, *ResolveConfigRequest) (*ApkoConfig, error)
	BuildImage(context.Context, *BuildImageRequest) (*BuildImageResponse, error)
	// contains filtered or unexported methods
}

ApkoServer is the server API for Apko service. All implementations must embed UnimplementedApkoServer for forward compatibility.

type ArchFilter added in v0.1.21

type ArchFilter struct {

	// The architecture to filter on.
	Arch string `protobuf:"bytes,1,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*ArchFilter) Descriptor deprecated added in v0.1.21

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

Deprecated: Use ArchFilter.ProtoReflect.Descriptor instead.

func (*ArchFilter) GetArch added in v0.1.21

func (x *ArchFilter) GetArch() string

func (*ArchFilter) ProtoMessage added in v0.1.21

func (*ArchFilter) ProtoMessage()

func (*ArchFilter) ProtoReflect added in v0.1.21

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

func (*ArchFilter) Reset added in v0.1.21

func (x *ArchFilter) Reset()

func (*ArchFilter) String added in v0.1.21

func (x *ArchFilter) String() string

type ArchRequest added in v0.1.21

type ArchRequest struct {

	// The UIDP of the image repo to get architectures for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get architectures for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

func (*ArchRequest) Descriptor deprecated added in v0.1.21

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

Deprecated: Use ArchRequest.ProtoReflect.Descriptor instead.

func (*ArchRequest) GetDigest added in v0.1.21

func (x *ArchRequest) GetDigest() string

func (*ArchRequest) GetRepoId added in v0.1.21

func (x *ArchRequest) GetRepoId() string

func (*ArchRequest) ProtoMessage added in v0.1.21

func (*ArchRequest) ProtoMessage()

func (*ArchRequest) ProtoReflect added in v0.1.21

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

func (*ArchRequest) Reset added in v0.1.21

func (x *ArchRequest) Reset()

func (*ArchRequest) String added in v0.1.21

func (x *ArchRequest) String() string

type Archs added in v0.1.21

type Archs struct {

	// Architectures belonging to the requested digest's manifests.
	Archs []string `protobuf:"bytes,1,rep,name=archs,proto3" json:"archs,omitempty"`
	// contains filtered or unexported fields
}

func (*Archs) Descriptor deprecated added in v0.1.21

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

Deprecated: Use Archs.ProtoReflect.Descriptor instead.

func (*Archs) GetArchs added in v0.1.21

func (x *Archs) GetArchs() []string

func (*Archs) ProtoMessage added in v0.1.21

func (*Archs) ProtoMessage()

func (*Archs) ProtoReflect added in v0.1.21

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

func (*Archs) Reset added in v0.1.21

func (x *Archs) Reset()

func (*Archs) String added in v0.1.21

func (x *Archs) String() string

type BuildImageRequest added in v0.1.29

type BuildImageRequest struct {

	// Config to build. It must be resolved before it can be built.
	Config *ApkoConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// Repo UIDP to push to.
	RepoUidp string `protobuf:"bytes,2,opt,name=repo_uidp,json=repoUidp,proto3" json:"repo_uidp,omitempty"`
	// The media type of the layer to build.
	MediaType string `protobuf:"bytes,3,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildImageRequest) Descriptor deprecated added in v0.1.29

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

Deprecated: Use BuildImageRequest.ProtoReflect.Descriptor instead.

func (*BuildImageRequest) GetConfig added in v0.1.29

func (x *BuildImageRequest) GetConfig() *ApkoConfig

func (*BuildImageRequest) GetMediaType added in v0.1.29

func (x *BuildImageRequest) GetMediaType() string

func (*BuildImageRequest) GetRepoUidp added in v0.1.29

func (x *BuildImageRequest) GetRepoUidp() string

func (*BuildImageRequest) ProtoMessage added in v0.1.29

func (*BuildImageRequest) ProtoMessage()

func (*BuildImageRequest) ProtoReflect added in v0.1.29

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

func (*BuildImageRequest) Reset added in v0.1.29

func (x *BuildImageRequest) Reset()

func (*BuildImageRequest) String added in v0.1.29

func (x *BuildImageRequest) String() string

type BuildImageResponse added in v0.1.29

type BuildImageResponse struct {

	// Digest of the built image.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// The "build date epoch" of the produced image.
	BuildDateEpoch *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=build_date_epoch,json=buildDateEpoch,proto3" json:"build_date_epoch,omitempty"`
	// The user error message, if any.
	// This is to distinguish between an error in the build process
	// and an error in the user's configuration (like accessing a
	// non-existent package).
	UserError string `protobuf:"bytes,3,opt,name=user_error,json=userError,proto3" json:"user_error,omitempty"`
	// The ID of the Build Report.
	BuildReportId string `protobuf:"bytes,4,opt,name=build_report_id,json=buildReportId,proto3" json:"build_report_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildImageResponse) Descriptor deprecated added in v0.1.29

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

Deprecated: Use BuildImageResponse.ProtoReflect.Descriptor instead.

func (*BuildImageResponse) GetBuildDateEpoch added in v0.1.29

func (x *BuildImageResponse) GetBuildDateEpoch() *timestamppb.Timestamp

func (*BuildImageResponse) GetBuildReportId added in v0.1.29

func (x *BuildImageResponse) GetBuildReportId() string

func (*BuildImageResponse) GetDigest added in v0.1.29

func (x *BuildImageResponse) GetDigest() string

func (*BuildImageResponse) GetUserError added in v0.1.29

func (x *BuildImageResponse) GetUserError() string

func (*BuildImageResponse) ProtoMessage added in v0.1.29

func (*BuildImageResponse) ProtoMessage()

func (*BuildImageResponse) ProtoReflect added in v0.1.29

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

func (*BuildImageResponse) Reset added in v0.1.29

func (x *BuildImageResponse) Reset()

func (*BuildImageResponse) String added in v0.1.29

func (x *BuildImageResponse) String() string

type BuildReport added in v0.1.26

type BuildReport struct {

	// id, identifier of this BuildReport, a UIDP under a Repo.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The media type of the layer being built.
	MediaType string `protobuf:"bytes,11,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
	// The configuration used to build the image, in APKO build config JSON.
	Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// The version-locked configuration used to build the image, in APKO build config JSON.
	LockedConfig string `protobuf:"bytes,3,opt,name=locked_config,json=lockedConfig,proto3" json:"locked_config,omitempty"`
	// The result of the build.
	Result BuildReport_Result `protobuf:"varint,4,opt,name=result,proto3,enum=chainguard.platform.registry.BuildReport_Result" json:"result,omitempty"`
	// The warnings generated during the build.
	Warnings []string `protobuf:"bytes,5,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// The build log. For the moment, this is the build log's content.
	// This could later change to an URI if the build log gets large enough.
	Log string `protobuf:"bytes,6,opt,name=log,proto3" json:"log,omitempty"`
	// The digest of the image built, in case of success.
	Digest string `protobuf:"bytes,7,opt,name=digest,proto3" json:"digest,omitempty"`
	// The version of the APKO used to build the image.
	ApkoVersion string `protobuf:"bytes,8,opt,name=apko_version,json=apkoVersion,proto3" json:"apko_version,omitempty"`
	// The start time of the build. It is set by the server automatically,
	// anything written by the client will be ignored.
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// The end time of the build. Must be after the started_at time.
	CompletedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	// contains filtered or unexported fields
}

BuildReport is a record of a build, including the configuration used, the result, and the log.

These are created by the build system, the clients should not create/update these themselves, but can read them to see the build information as well as build results.

func (*BuildReport) Descriptor deprecated added in v0.1.26

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

Deprecated: Use BuildReport.ProtoReflect.Descriptor instead.

func (*BuildReport) GetApkoVersion added in v0.1.26

func (x *BuildReport) GetApkoVersion() string

func (*BuildReport) GetCompletedAt added in v0.1.26

func (x *BuildReport) GetCompletedAt() *timestamppb.Timestamp

func (*BuildReport) GetConfig added in v0.1.26

func (x *BuildReport) GetConfig() string

func (*BuildReport) GetDigest added in v0.1.26

func (x *BuildReport) GetDigest() string

func (*BuildReport) GetId added in v0.1.26

func (x *BuildReport) GetId() string

func (*BuildReport) GetLockedConfig added in v0.1.26

func (x *BuildReport) GetLockedConfig() string

func (*BuildReport) GetLog added in v0.1.26

func (x *BuildReport) GetLog() string

func (*BuildReport) GetMediaType added in v0.1.29

func (x *BuildReport) GetMediaType() string

func (*BuildReport) GetResult added in v0.1.26

func (x *BuildReport) GetResult() BuildReport_Result

func (*BuildReport) GetStartedAt added in v0.1.26

func (x *BuildReport) GetStartedAt() *timestamppb.Timestamp

func (*BuildReport) GetWarnings added in v0.1.26

func (x *BuildReport) GetWarnings() []string

func (*BuildReport) ProtoMessage added in v0.1.26

func (*BuildReport) ProtoMessage()

func (*BuildReport) ProtoReflect added in v0.1.26

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

func (*BuildReport) Reset added in v0.1.26

func (x *BuildReport) Reset()

func (*BuildReport) String added in v0.1.26

func (x *BuildReport) String() string

type BuildReportFilter added in v0.1.26

type BuildReportFilter 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"`
	// use to choose reports started after this time.
	// defaults to 1 day ago.
	StartedSince *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started_since,json=startedSince,proto3" json:"started_since,omitempty"`
	// contains filtered or unexported fields
}

BuildReportFilter is used to filter BuildReports for ListBuildReports call.

func (*BuildReportFilter) Descriptor deprecated added in v0.1.26

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

Deprecated: Use BuildReportFilter.ProtoReflect.Descriptor instead.

func (*BuildReportFilter) GetStartedSince added in v0.1.27

func (x *BuildReportFilter) GetStartedSince() *timestamppb.Timestamp

func (*BuildReportFilter) GetUidp added in v0.1.26

func (x *BuildReportFilter) GetUidp() *v1.UIDPFilter

func (*BuildReportFilter) ProtoMessage added in v0.1.26

func (*BuildReportFilter) ProtoMessage()

func (*BuildReportFilter) ProtoReflect added in v0.1.26

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

func (*BuildReportFilter) Reset added in v0.1.26

func (x *BuildReportFilter) Reset()

func (*BuildReportFilter) String added in v0.1.26

func (x *BuildReportFilter) String() string

type BuildReportList added in v0.1.26

type BuildReportList struct {
	Reports []*BuildReport `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"`
	// contains filtered or unexported fields
}

BuildReportList is a list of BuildReports.

func (*BuildReportList) Descriptor deprecated added in v0.1.26

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

Deprecated: Use BuildReportList.ProtoReflect.Descriptor instead.

func (*BuildReportList) GetReports added in v0.1.26

func (x *BuildReportList) GetReports() []*BuildReport

func (*BuildReportList) ProtoMessage added in v0.1.26

func (*BuildReportList) ProtoMessage()

func (*BuildReportList) ProtoReflect added in v0.1.26

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

func (*BuildReportList) Reset added in v0.1.26

func (x *BuildReportList) Reset()

func (*BuildReportList) String added in v0.1.26

func (x *BuildReportList) String() string

type BuildReport_Result added in v0.1.26

type BuildReport_Result int32
const (
	BuildReport_Unknown BuildReport_Result = 0
	BuildReport_Success BuildReport_Result = 1
	BuildReport_Failure BuildReport_Result = 2
)

func (BuildReport_Result) Descriptor added in v0.1.26

func (BuildReport_Result) Enum added in v0.1.26

func (BuildReport_Result) EnumDescriptor deprecated added in v0.1.26

func (BuildReport_Result) EnumDescriptor() ([]byte, []int)

Deprecated: Use BuildReport_Result.Descriptor instead.

func (BuildReport_Result) Number added in v0.1.26

func (BuildReport_Result) String added in v0.1.26

func (x BuildReport_Result) String() string

func (BuildReport_Result) Type added in v0.1.26

type CatalogTier

type CatalogTier int32
const (
	CatalogTier_UNKNOWN CatalogTier = 0
	// Deprecated: Marked as deprecated in registry.platform.proto.
	CatalogTier_FREE CatalogTier = 1
	// Deprecated: Marked as deprecated in registry.platform.proto.
	CatalogTier_STANDARD CatalogTier = 2
	// Deprecated: Marked as deprecated in registry.platform.proto.
	CatalogTier_PREMIUM     CatalogTier = 3
	CatalogTier_APPLICATION CatalogTier = 4
	CatalogTier_BASE        CatalogTier = 5
	CatalogTier_FIPS        CatalogTier = 6
	CatalogTier_AI          CatalogTier = 7
)

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 Clients

type Clients interface {
	Registry() RegistryClient
	Vulnerabilities() VulnerabilitiesClient
	Apko() ApkoClient

	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 CustomOverlay added in v0.1.26

type CustomOverlay struct {

	// Mirrors apko configuration for image contents.
	Contents *ImageContents `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomOverlay) Descriptor deprecated added in v0.1.26

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

Deprecated: Use CustomOverlay.ProtoReflect.Descriptor instead.

func (*CustomOverlay) GetContents added in v0.1.26

func (x *CustomOverlay) GetContents() *ImageContents

func (*CustomOverlay) ProtoMessage added in v0.1.26

func (*CustomOverlay) ProtoMessage()

func (*CustomOverlay) ProtoReflect added in v0.1.26

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

func (*CustomOverlay) Reset added in v0.1.26

func (x *CustomOverlay) Reset()

func (*CustomOverlay) String added in v0.1.26

func (x *CustomOverlay) String() string

type DeleteRepoRequest

type DeleteRepoRequest struct {

	// ID, UID of the record.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRepoRequest) Descriptor deprecated

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

Deprecated: Use DeleteRepoRequest.ProtoReflect.Descriptor instead.

func (*DeleteRepoRequest) GetId

func (x *DeleteRepoRequest) GetId() string

func (*DeleteRepoRequest) ProtoMessage

func (*DeleteRepoRequest) ProtoMessage()

func (*DeleteRepoRequest) ProtoReflect

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

func (*DeleteRepoRequest) Reset

func (x *DeleteRepoRequest) Reset()

func (*DeleteRepoRequest) String

func (x *DeleteRepoRequest) String() string

type DeleteTagRequest

type DeleteTagRequest struct {

	// ID, UID of the record.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTagRequest) Descriptor deprecated

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

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetId

func (x *DeleteTagRequest) GetId() string

func (*DeleteTagRequest) ProtoMessage

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect

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

func (*DeleteTagRequest) Reset

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String

func (x *DeleteTagRequest) String() string

type DiffImageRequest

type DiffImageRequest struct {

	// The UIDP of the image repo to diff against.
	RepoId     string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	FromDigest string `protobuf:"bytes,2,opt,name=from_digest,json=fromDigest,proto3" json:"from_digest,omitempty"`
	ToDigest   string `protobuf:"bytes,3,opt,name=to_digest,json=toDigest,proto3" json:"to_digest,omitempty"`
	// contains filtered or unexported fields
}

DiffImageRequests are used to request a diff between two images.

func (*DiffImageRequest) Descriptor deprecated

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

Deprecated: Use DiffImageRequest.ProtoReflect.Descriptor instead.

func (*DiffImageRequest) GetFromDigest

func (x *DiffImageRequest) GetFromDigest() string

func (*DiffImageRequest) GetRepoId

func (x *DiffImageRequest) GetRepoId() string

func (*DiffImageRequest) GetToDigest

func (x *DiffImageRequest) GetToDigest() string

func (*DiffImageRequest) ProtoMessage

func (*DiffImageRequest) ProtoMessage()

func (*DiffImageRequest) ProtoReflect

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

func (*DiffImageRequest) Reset

func (x *DiffImageRequest) Reset()

func (*DiffImageRequest) String

func (x *DiffImageRequest) String() string

type DiffImageResponse added in v0.1.2

type DiffImageResponse struct {
	Packages        *PackagesDiff        `protobuf:"bytes,1,opt,name=packages,proto3" json:"packages,omitempty"`
	Vulnerabilities *VulnerabilitiesDiff `protobuf:"bytes,2,opt,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"`
	// warnings is a list of warning messages to return to the requesting client.
	// Warning messages describe a problem the client making the DiffImageRequest should correct or be aware of.
	// Warnings over 256 characters and large numbers of warnings may be truncated.
	Warnings []string `protobuf:"bytes,5,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

func (*DiffImageResponse) Descriptor deprecated added in v0.1.2

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

Deprecated: Use DiffImageResponse.ProtoReflect.Descriptor instead.

func (*DiffImageResponse) GetPackages added in v0.1.2

func (x *DiffImageResponse) GetPackages() *PackagesDiff

func (*DiffImageResponse) GetVulnerabilities added in v0.1.2

func (x *DiffImageResponse) GetVulnerabilities() *VulnerabilitiesDiff

func (*DiffImageResponse) GetWarnings added in v0.1.2

func (x *DiffImageResponse) GetWarnings() []string

func (*DiffImageResponse) ProtoMessage added in v0.1.2

func (*DiffImageResponse) ProtoMessage()

func (*DiffImageResponse) ProtoReflect added in v0.1.2

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

func (*DiffImageResponse) Reset added in v0.1.2

func (x *DiffImageResponse) Reset()

func (*DiffImageResponse) String added in v0.1.2

func (x *DiffImageResponse) String() string

type GetRawVulnReportRequest added in v0.1.25

type GetRawVulnReportRequest struct {

	// digest is the exact digest of the image to request the raw scan result of.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// scanner is the scanner to request the raw report from.
	Scanner Scanner_Name `protobuf:"varint,2,opt,name=scanner,proto3,enum=chainguard.platform.registry.Scanner_Name" json:"scanner,omitempty"`
	// created_at is an optional timestamp to retrieve a scan report for.
	// If not given, the latest report is returned.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRawVulnReportRequest) Descriptor deprecated added in v0.1.25

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

Deprecated: Use GetRawVulnReportRequest.ProtoReflect.Descriptor instead.

func (*GetRawVulnReportRequest) GetCreatedAt added in v0.1.25

func (x *GetRawVulnReportRequest) GetCreatedAt() *timestamppb.Timestamp

func (*GetRawVulnReportRequest) GetDigest added in v0.1.25

func (x *GetRawVulnReportRequest) GetDigest() string

func (*GetRawVulnReportRequest) GetScanner added in v0.1.25

func (x *GetRawVulnReportRequest) GetScanner() Scanner_Name

func (*GetRawVulnReportRequest) ProtoMessage added in v0.1.25

func (*GetRawVulnReportRequest) ProtoMessage()

func (*GetRawVulnReportRequest) ProtoReflect added in v0.1.25

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

func (*GetRawVulnReportRequest) Reset added in v0.1.25

func (x *GetRawVulnReportRequest) Reset()

func (*GetRawVulnReportRequest) String added in v0.1.25

func (x *GetRawVulnReportRequest) String() string

type ImageConfig added in v0.1.20

type ImageConfig struct {

	// User defines the username or UID which the process in the container should run as.
	User         string                              `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	ExposedPorts map[string]*ImageConfig_ExposedPort `` /* 185-byte string literal not displayed */
	// Env is a list of environment variables to be used in a container.
	Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
	// Entrypoint defines a list of arguments to use as the command to execute when the container starts.
	Entrypoint []string `protobuf:"bytes,4,rep,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	// Cmd defines the default arguments to the entrypoint of the container.
	Cmd []string `protobuf:"bytes,5,rep,name=cmd,proto3" json:"cmd,omitempty"`
	// Volumes is a set of directories describing where the process is likely write data specific to a container instance.
	Volumes map[string]*ImageConfig_Volume `` /* 155-byte string literal not displayed */
	// WorkingDir sets the current working directory of the entrypoint process in the container.
	WorkingDir string `protobuf:"bytes,7,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
	// Labels contains arbitrary metadata for the container.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// StopSignal contains the system call signal that will be sent to the container to exit.
	StopSignal string `protobuf:"bytes,9,opt,name=stop_signal,json=stopSignal,proto3" json:"stop_signal,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageConfig) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ImageConfig.ProtoReflect.Descriptor instead.

func (*ImageConfig) GetCmd added in v0.1.20

func (x *ImageConfig) GetCmd() []string

func (*ImageConfig) GetEntrypoint added in v0.1.20

func (x *ImageConfig) GetEntrypoint() []string

func (*ImageConfig) GetEnv added in v0.1.20

func (x *ImageConfig) GetEnv() []string

func (*ImageConfig) GetExposedPorts added in v0.1.20

func (x *ImageConfig) GetExposedPorts() map[string]*ImageConfig_ExposedPort

func (*ImageConfig) GetLabels added in v0.1.20

func (x *ImageConfig) GetLabels() map[string]string

func (*ImageConfig) GetStopSignal added in v0.1.20

func (x *ImageConfig) GetStopSignal() string

func (*ImageConfig) GetUser added in v0.1.20

func (x *ImageConfig) GetUser() string

func (*ImageConfig) GetVolumes added in v0.1.20

func (x *ImageConfig) GetVolumes() map[string]*ImageConfig_Volume

func (*ImageConfig) GetWorkingDir added in v0.1.20

func (x *ImageConfig) GetWorkingDir() string

func (*ImageConfig) ProtoMessage added in v0.1.20

func (*ImageConfig) ProtoMessage()

func (*ImageConfig) ProtoReflect added in v0.1.20

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

func (*ImageConfig) Reset added in v0.1.20

func (x *ImageConfig) Reset()

func (*ImageConfig) String added in v0.1.20

func (x *ImageConfig) String() string

type ImageConfigRequest added in v0.1.20

type ImageConfigRequest struct {

	// The UIDP of the image repo to get config for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get config for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// The architecture to get config for.
	Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageConfigRequest) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ImageConfigRequest.ProtoReflect.Descriptor instead.

func (*ImageConfigRequest) GetArch added in v0.1.20

func (x *ImageConfigRequest) GetArch() string

func (*ImageConfigRequest) GetDigest added in v0.1.20

func (x *ImageConfigRequest) GetDigest() string

func (*ImageConfigRequest) GetRepoId added in v0.1.20

func (x *ImageConfigRequest) GetRepoId() string

func (*ImageConfigRequest) ProtoMessage added in v0.1.20

func (*ImageConfigRequest) ProtoMessage()

func (*ImageConfigRequest) ProtoReflect added in v0.1.20

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

func (*ImageConfigRequest) Reset added in v0.1.20

func (x *ImageConfigRequest) Reset()

func (*ImageConfigRequest) String added in v0.1.20

func (x *ImageConfigRequest) String() string

type ImageConfig_ExposedPort added in v0.1.20

type ImageConfig_ExposedPort struct {
	// contains filtered or unexported fields
}

ExposedPorts a set of ports to expose from a container running this image.

func (*ImageConfig_ExposedPort) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ImageConfig_ExposedPort.ProtoReflect.Descriptor instead.

func (*ImageConfig_ExposedPort) ProtoMessage added in v0.1.20

func (*ImageConfig_ExposedPort) ProtoMessage()

func (*ImageConfig_ExposedPort) ProtoReflect added in v0.1.20

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

func (*ImageConfig_ExposedPort) Reset added in v0.1.20

func (x *ImageConfig_ExposedPort) Reset()

func (*ImageConfig_ExposedPort) String added in v0.1.20

func (x *ImageConfig_ExposedPort) String() string

type ImageConfig_Volume added in v0.1.20

type ImageConfig_Volume struct {
	// contains filtered or unexported fields
}

func (*ImageConfig_Volume) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ImageConfig_Volume.ProtoReflect.Descriptor instead.

func (*ImageConfig_Volume) ProtoMessage added in v0.1.20

func (*ImageConfig_Volume) ProtoMessage()

func (*ImageConfig_Volume) ProtoReflect added in v0.1.20

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

func (*ImageConfig_Volume) Reset added in v0.1.20

func (x *ImageConfig_Volume) Reset()

func (*ImageConfig_Volume) String added in v0.1.20

func (x *ImageConfig_Volume) String() string

type ImageContents added in v0.1.26

type ImageContents struct {

	// Packages to append to the image config.
	Packages []string `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageContents) Descriptor deprecated added in v0.1.26

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

Deprecated: Use ImageContents.ProtoReflect.Descriptor instead.

func (*ImageContents) GetPackages added in v0.1.26

func (x *ImageContents) GetPackages() []string

func (*ImageContents) ProtoMessage added in v0.1.26

func (*ImageContents) ProtoMessage()

func (*ImageContents) ProtoReflect added in v0.1.26

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

func (*ImageContents) Reset added in v0.1.26

func (x *ImageContents) Reset()

func (*ImageContents) String added in v0.1.26

func (x *ImageContents) String() string

type ManifestMetadata added in v0.1.20

type ManifestMetadata struct {

	// Digest of image that packages are associated with.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// List of packages that are part of image.
	PkgMetadata []*PkgMetadata `protobuf:"bytes,2,rep,name=pkg_metadata,json=pkgMetadata,proto3" json:"pkg_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestMetadata) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ManifestMetadata.ProtoReflect.Descriptor instead.

func (*ManifestMetadata) GetDigest added in v0.1.20

func (x *ManifestMetadata) GetDigest() string

func (*ManifestMetadata) GetPkgMetadata added in v0.1.20

func (x *ManifestMetadata) GetPkgMetadata() []*PkgMetadata

func (*ManifestMetadata) ProtoMessage added in v0.1.20

func (*ManifestMetadata) ProtoMessage()

func (*ManifestMetadata) ProtoReflect added in v0.1.20

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

func (*ManifestMetadata) Reset added in v0.1.20

func (x *ManifestMetadata) Reset()

func (*ManifestMetadata) String added in v0.1.20

func (x *ManifestMetadata) String() string

type ManifestMetadataFilter added in v0.1.20

type ManifestMetadataFilter struct {

	// The UIDP of the image repo that the digests belongs to.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// List of image digests or index digest to fetch package metadata for.
	// All entries specified would be retrieved.
	Items []*ManifestMetadataFilterEntry `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestMetadataFilter) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ManifestMetadataFilter.ProtoReflect.Descriptor instead.

func (*ManifestMetadataFilter) GetItems added in v0.1.20

func (*ManifestMetadataFilter) GetRepoId added in v0.1.20

func (x *ManifestMetadataFilter) GetRepoId() string

func (*ManifestMetadataFilter) ProtoMessage added in v0.1.20

func (*ManifestMetadataFilter) ProtoMessage()

func (*ManifestMetadataFilter) ProtoReflect added in v0.1.20

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

func (*ManifestMetadataFilter) Reset added in v0.1.20

func (x *ManifestMetadataFilter) Reset()

func (*ManifestMetadataFilter) String added in v0.1.20

func (x *ManifestMetadataFilter) String() string

type ManifestMetadataFilterEntry added in v0.1.20

type ManifestMetadataFilterEntry struct {

	// Types that are assignable to Filter:
	//
	//	*ManifestMetadataFilterEntry_ImageDigest
	//	*ManifestMetadataFilterEntry_IndexFilter
	Filter isManifestMetadataFilterEntry_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

func (*ManifestMetadataFilterEntry) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ManifestMetadataFilterEntry.ProtoReflect.Descriptor instead.

func (*ManifestMetadataFilterEntry) GetFilter added in v0.1.20

func (m *ManifestMetadataFilterEntry) GetFilter() isManifestMetadataFilterEntry_Filter

func (*ManifestMetadataFilterEntry) GetImageDigest added in v0.1.20

func (x *ManifestMetadataFilterEntry) GetImageDigest() string

func (*ManifestMetadataFilterEntry) GetIndexFilter added in v0.1.20

func (*ManifestMetadataFilterEntry) ProtoMessage added in v0.1.20

func (*ManifestMetadataFilterEntry) ProtoMessage()

func (*ManifestMetadataFilterEntry) ProtoReflect added in v0.1.20

func (*ManifestMetadataFilterEntry) Reset added in v0.1.20

func (x *ManifestMetadataFilterEntry) Reset()

func (*ManifestMetadataFilterEntry) String added in v0.1.20

func (x *ManifestMetadataFilterEntry) String() string

type ManifestMetadataFilterEntry_ImageDigest added in v0.1.20

type ManifestMetadataFilterEntry_ImageDigest struct {
	// For fetching metadata for an image digest
	ImageDigest string `protobuf:"bytes,1,opt,name=image_digest,json=imageDigest,proto3,oneof"`
}

type ManifestMetadataFilterEntry_IndexFilter added in v0.1.20

type ManifestMetadataFilterEntry_IndexFilter struct {
	// For fetching metadata for an index digest
	IndexFilter *ManifestMetadataIndexFilter `protobuf:"bytes,2,opt,name=index_filter,json=indexFilter,proto3,oneof"`
}

type ManifestMetadataIndexFilter added in v0.1.20

type ManifestMetadataIndexFilter struct {

	// The tag/index digest to fetch metadata for.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// The architecture to fetch metadata for.
	Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestMetadataIndexFilter) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ManifestMetadataIndexFilter.ProtoReflect.Descriptor instead.

func (*ManifestMetadataIndexFilter) GetArch added in v0.1.20

func (x *ManifestMetadataIndexFilter) GetArch() string

func (*ManifestMetadataIndexFilter) GetDigest added in v0.1.20

func (x *ManifestMetadataIndexFilter) GetDigest() string

func (*ManifestMetadataIndexFilter) ProtoMessage added in v0.1.20

func (*ManifestMetadataIndexFilter) ProtoMessage()

func (*ManifestMetadataIndexFilter) ProtoReflect added in v0.1.20

func (*ManifestMetadataIndexFilter) Reset added in v0.1.20

func (x *ManifestMetadataIndexFilter) Reset()

func (*ManifestMetadataIndexFilter) String added in v0.1.20

func (x *ManifestMetadataIndexFilter) String() string

type ManifestMetadataList added in v0.1.20

type ManifestMetadataList struct {
	Items []*ManifestMetadata `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestMetadataList) Descriptor deprecated added in v0.1.20

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

Deprecated: Use ManifestMetadataList.ProtoReflect.Descriptor instead.

func (*ManifestMetadataList) GetItems added in v0.1.20

func (x *ManifestMetadataList) GetItems() []*ManifestMetadata

func (*ManifestMetadataList) ProtoMessage added in v0.1.20

func (*ManifestMetadataList) ProtoMessage()

func (*ManifestMetadataList) ProtoReflect added in v0.1.20

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

func (*ManifestMetadataList) Reset added in v0.1.20

func (x *ManifestMetadataList) Reset()

func (*ManifestMetadataList) String added in v0.1.20

func (x *ManifestMetadataList) String() string

type PackageReference

type PackageReference struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version   string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

PackageReference is a reference to a package, containing minimal information to identify it.

func (*PackageReference) Descriptor deprecated

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

Deprecated: Use PackageReference.ProtoReflect.Descriptor instead.

func (*PackageReference) GetName

func (x *PackageReference) GetName() string

func (*PackageReference) GetReference

func (x *PackageReference) GetReference() string

func (*PackageReference) GetVersion

func (x *PackageReference) GetVersion() string

func (*PackageReference) ProtoMessage

func (*PackageReference) ProtoMessage()

func (*PackageReference) ProtoReflect

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

func (*PackageReference) Reset

func (x *PackageReference) Reset()

func (*PackageReference) String

func (x *PackageReference) String() string

type PackageVersion added in v0.1.25

type PackageVersion struct {

	// the date when this version goes eol
	EolDate string `protobuf:"bytes,1,opt,name=eolDate,proto3" json:"eolDate,omitempty"`
	// whether or not the package exists in an apk repo
	Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"`
	// whether or not a FIPS-enabled version of the package exists in an apk repo
	Fips bool `protobuf:"varint,3,opt,name=fips,proto3" json:"fips,omitempty"`
	// may be set to a date or true if the software is marked as lts
	Lts string `protobuf:"bytes,4,opt,name=lts,proto3" json:"lts,omitempty"`
	// the date this version was release
	ReleaseDate string `protobuf:"bytes,5,opt,name=releaseDate,proto3" json:"releaseDate,omitempty"`
	// the version stream identifier
	Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	// whether or not an EOL version cannot longer be supported due to incompatibilities or no longer available dependencies
	EolBroken bool `protobuf:"varint,7,opt,name=eolBroken,proto3" json:"eolBroken,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageVersion) Descriptor deprecated added in v0.1.25

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

Deprecated: Use PackageVersion.ProtoReflect.Descriptor instead.

func (*PackageVersion) GetEolBroken added in v0.1.29

func (x *PackageVersion) GetEolBroken() bool

func (*PackageVersion) GetEolDate added in v0.1.25

func (x *PackageVersion) GetEolDate() string

func (*PackageVersion) GetExists added in v0.1.25

func (x *PackageVersion) GetExists() bool

func (*PackageVersion) GetFips added in v0.1.25

func (x *PackageVersion) GetFips() bool

func (*PackageVersion) GetLts added in v0.1.25

func (x *PackageVersion) GetLts() string

func (*PackageVersion) GetReleaseDate added in v0.1.25

func (x *PackageVersion) GetReleaseDate() string

func (*PackageVersion) GetVersion added in v0.1.25

func (x *PackageVersion) GetVersion() string

func (*PackageVersion) ProtoMessage added in v0.1.25

func (*PackageVersion) ProtoMessage()

func (*PackageVersion) ProtoReflect added in v0.1.25

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

func (*PackageVersion) Reset added in v0.1.25

func (x *PackageVersion) Reset()

func (*PackageVersion) String added in v0.1.25

func (x *PackageVersion) String() string

type PackageVersionMetadata added in v0.1.25

type PackageVersionMetadata struct {

	// list of versions which are now eol
	EolVersions []*PackageVersion `protobuf:"bytes,1,rep,name=eolVersions,proto3" json:"eolVersions,omitempty"`
	// the last time this data was updated
	LastUpdatedTimestamp string `protobuf:"bytes,2,opt,name=lastUpdatedTimestamp,proto3" json:"lastUpdatedTimestamp,omitempty"`
	// the latest version of the software
	LatestVersion string `protobuf:"bytes,3,opt,name=latestVersion,proto3" json:"latestVersion,omitempty"`
	// list of versions which are active
	Versions []*PackageVersion `protobuf:"bytes,4,rep,name=versions,proto3" json:"versions,omitempty"`
	// the grace period to extend the EOL of the package
	GracePeriodMonths int32 `protobuf:"varint,5,opt,name=gracePeriodMonths,proto3" json:"gracePeriodMonths,omitempty"`
	// contains filtered or unexported fields
}

This type mimics the "status" section from the original YAML files located at https://github.com/chainguard-dev/package-version-metadata

func (*PackageVersionMetadata) Descriptor deprecated added in v0.1.25

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

Deprecated: Use PackageVersionMetadata.ProtoReflect.Descriptor instead.

func (*PackageVersionMetadata) GetEolVersions added in v0.1.25

func (x *PackageVersionMetadata) GetEolVersions() []*PackageVersion

func (*PackageVersionMetadata) GetGracePeriodMonths added in v0.1.27

func (x *PackageVersionMetadata) GetGracePeriodMonths() int32

func (*PackageVersionMetadata) GetLastUpdatedTimestamp added in v0.1.25

func (x *PackageVersionMetadata) GetLastUpdatedTimestamp() string

func (*PackageVersionMetadata) GetLatestVersion added in v0.1.25

func (x *PackageVersionMetadata) GetLatestVersion() string

func (*PackageVersionMetadata) GetVersions added in v0.1.25

func (x *PackageVersionMetadata) GetVersions() []*PackageVersion

func (*PackageVersionMetadata) ProtoMessage added in v0.1.25

func (*PackageVersionMetadata) ProtoMessage()

func (*PackageVersionMetadata) ProtoReflect added in v0.1.25

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

func (*PackageVersionMetadata) Reset added in v0.1.25

func (x *PackageVersionMetadata) Reset()

func (*PackageVersionMetadata) String added in v0.1.25

func (x *PackageVersionMetadata) String() string

type PackageVersionMetadataRequest added in v0.1.25

type PackageVersionMetadataRequest struct {

	// The name of the package.
	Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	// contains filtered or unexported fields
}

func (*PackageVersionMetadataRequest) Descriptor deprecated added in v0.1.25

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

Deprecated: Use PackageVersionMetadataRequest.ProtoReflect.Descriptor instead.

func (*PackageVersionMetadataRequest) GetPackage added in v0.1.25

func (x *PackageVersionMetadataRequest) GetPackage() string

func (*PackageVersionMetadataRequest) ProtoMessage added in v0.1.25

func (*PackageVersionMetadataRequest) ProtoMessage()

func (*PackageVersionMetadataRequest) ProtoReflect added in v0.1.25

func (*PackageVersionMetadataRequest) Reset added in v0.1.25

func (x *PackageVersionMetadataRequest) Reset()

func (*PackageVersionMetadataRequest) String added in v0.1.25

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 PkgMetadata added in v0.1.20

type PkgMetadata struct {

	// purl of package or subpackage; spec https://github.com/package-url/purl-spec
	Purl string `protobuf:"bytes,1,opt,name=purl,proto3" json:"purl,omitempty"`
	// if differ from purl, it means it is a subpackage
	OriginPurl string `protobuf:"bytes,2,opt,name=origin_purl,json=originPurl,proto3" json:"origin_purl,omitempty"`
	// date when EOL, date 0-0-0 when not eol
	EolDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=eol_date,json=eolDate,proto3" json:"eol_date,omitempty"`
	// timestamp when package was built, date 0-0-0 when build timestamp not available
	BuildTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=build_timestamp,json=buildTimestamp,proto3" json:"build_timestamp,omitempty"`
	// license of package, empty if unknown
	License string `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"`
	// contains filtered or unexported fields
}

func (*PkgMetadata) Descriptor deprecated added in v0.1.20

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

Deprecated: Use PkgMetadata.ProtoReflect.Descriptor instead.

func (*PkgMetadata) GetBuildTimestamp added in v0.1.20

func (x *PkgMetadata) GetBuildTimestamp() *timestamppb.Timestamp

func (*PkgMetadata) GetEolDate added in v0.1.20

func (x *PkgMetadata) GetEolDate() *timestamppb.Timestamp

func (*PkgMetadata) GetLicense added in v0.1.20

func (x *PkgMetadata) GetLicense() string

func (*PkgMetadata) GetOriginPurl added in v0.1.20

func (x *PkgMetadata) GetOriginPurl() string

func (*PkgMetadata) GetPurl added in v0.1.20

func (x *PkgMetadata) GetPurl() string

func (*PkgMetadata) ProtoMessage added in v0.1.20

func (*PkgMetadata) ProtoMessage()

func (*PkgMetadata) ProtoReflect added in v0.1.20

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

func (*PkgMetadata) Reset added in v0.1.20

func (x *PkgMetadata) Reset()

func (*PkgMetadata) String added in v0.1.20

func (x *PkgMetadata) String() string

type RawSbom added in v0.1.21

type RawSbom struct {
	RawSbom string `protobuf:"bytes,1,opt,name=rawSbom,proto3" json:"rawSbom,omitempty"`
	// contains filtered or unexported fields
}

func (*RawSbom) Descriptor deprecated added in v0.1.21

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

Deprecated: Use RawSbom.ProtoReflect.Descriptor instead.

func (*RawSbom) GetRawSbom added in v0.1.21

func (x *RawSbom) GetRawSbom() string

func (*RawSbom) ProtoMessage added in v0.1.21

func (*RawSbom) ProtoMessage()

func (*RawSbom) ProtoReflect added in v0.1.21

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

func (*RawSbom) Reset added in v0.1.21

func (x *RawSbom) Reset()

func (*RawSbom) String added in v0.1.21

func (x *RawSbom) String() string

type RawSbomRequest added in v0.1.21

type RawSbomRequest struct {

	// The UIDP of the image repo to get config for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get config for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// The oci reference to get sbom for.
	Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
	// The architecture to get config for.
	Arch string `protobuf:"bytes,4,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*RawSbomRequest) Descriptor deprecated added in v0.1.21

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

Deprecated: Use RawSbomRequest.ProtoReflect.Descriptor instead.

func (*RawSbomRequest) GetArch added in v0.1.21

func (x *RawSbomRequest) GetArch() string

func (*RawSbomRequest) GetDigest added in v0.1.21

func (x *RawSbomRequest) GetDigest() string

func (*RawSbomRequest) GetReference added in v0.1.21

func (x *RawSbomRequest) GetReference() string

func (*RawSbomRequest) GetRepoId added in v0.1.21

func (x *RawSbomRequest) GetRepoId() string

func (*RawSbomRequest) ProtoMessage added in v0.1.21

func (*RawSbomRequest) ProtoMessage()

func (*RawSbomRequest) ProtoReflect added in v0.1.21

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

func (*RawSbomRequest) Reset added in v0.1.21

func (x *RawSbomRequest) Reset()

func (*RawSbomRequest) String added in v0.1.21

func (x *RawSbomRequest) String() string

type RawVulnReport added in v0.1.25

type RawVulnReport struct {

	// digest is the exact digest of the scanned image.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// scanner is the details of the scanner that generated this report.
	Scanner *Scanner `protobuf:"bytes,2,opt,name=scanner,proto3" json:"scanner,omitempty"`
	// created_at is the time the report was generated.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// raw_report is a JSON string of the raw report output from the scanner.
	// This is only populated for reports with size less than the maximum allowed.
	RawReport string `protobuf:"bytes,4,opt,name=raw_report,json=rawReport,proto3" json:"raw_report,omitempty"`
	// raw_report_url is an expiring URL for a direct download of the
	// raw scan report.
	RawReportUrl string `protobuf:"bytes,5,opt,name=raw_report_url,json=rawReportUrl,proto3" json:"raw_report_url,omitempty"`
	// contains filtered or unexported fields
}

func (*RawVulnReport) Descriptor deprecated added in v0.1.25

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

Deprecated: Use RawVulnReport.ProtoReflect.Descriptor instead.

func (*RawVulnReport) GetCreatedAt added in v0.1.25

func (x *RawVulnReport) GetCreatedAt() *timestamppb.Timestamp

func (*RawVulnReport) GetDigest added in v0.1.25

func (x *RawVulnReport) GetDigest() string

func (*RawVulnReport) GetRawReport added in v0.1.25

func (x *RawVulnReport) GetRawReport() string

func (*RawVulnReport) GetRawReportUrl added in v0.1.25

func (x *RawVulnReport) GetRawReportUrl() string

func (*RawVulnReport) GetScanner added in v0.1.25

func (x *RawVulnReport) GetScanner() *Scanner

func (*RawVulnReport) ProtoMessage added in v0.1.25

func (*RawVulnReport) ProtoMessage()

func (*RawVulnReport) ProtoReflect added in v0.1.25

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

func (*RawVulnReport) Reset added in v0.1.25

func (x *RawVulnReport) Reset()

func (*RawVulnReport) String added in v0.1.25

func (x *RawVulnReport) String() string

type RegistryClient

type RegistryClient interface {
	CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error)
	UpdateRepo(ctx context.Context, in *Repo, opts ...grpc.CallOption) (*Repo, error)
	ListRepos(ctx context.Context, in *RepoFilter, opts ...grpc.CallOption) (*RepoList, error)
	DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error)
	UpdateTag(ctx context.Context, in *Tag, opts ...grpc.CallOption) (*Tag, error)
	DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListTags(ctx context.Context, in *TagFilter, opts ...grpc.CallOption) (*TagList, error)
	ListTagHistory(ctx context.Context, in *TagHistoryFilter, opts ...grpc.CallOption) (*TagHistoryList, error)
	GetSbom(ctx context.Context, in *SbomRequest, opts ...grpc.CallOption) (*v1.Sbom2, error)
	GetImageConfig(ctx context.Context, in *ImageConfigRequest, opts ...grpc.CallOption) (*ImageConfig, error)
	GetArchs(ctx context.Context, in *ArchRequest, opts ...grpc.CallOption) (*Archs, error)
	GetSize(ctx context.Context, in *SizeRequest, opts ...grpc.CallOption) (*Size, error)
	GetRawSbom(ctx context.Context, in *RawSbomRequest, opts ...grpc.CallOption) (*RawSbom, error)
	GetVulnReport(ctx context.Context, in *VulnReportRequest, opts ...grpc.CallOption) (*v1.VulnReport, error)
	ListManifestMetadata(ctx context.Context, in *ManifestMetadataFilter, opts ...grpc.CallOption) (*ManifestMetadataList, error)
	GetPackageVersionMetadata(ctx context.Context, in *PackageVersionMetadataRequest, opts ...grpc.CallOption) (*PackageVersionMetadata, error)
	ListBuildReports(ctx context.Context, in *BuildReportFilter, opts ...grpc.CallOption) (*BuildReportList, error)
}

RegistryClient is the client API for Registry service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewRegistryClient

func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient

type RegistryServer

type RegistryServer interface {
	CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error)
	UpdateRepo(context.Context, *Repo) (*Repo, error)
	ListRepos(context.Context, *RepoFilter) (*RepoList, error)
	DeleteRepo(context.Context, *DeleteRepoRequest) (*emptypb.Empty, error)
	CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
	UpdateTag(context.Context, *Tag) (*Tag, error)
	DeleteTag(context.Context, *DeleteTagRequest) (*emptypb.Empty, error)
	ListTags(context.Context, *TagFilter) (*TagList, error)
	ListTagHistory(context.Context, *TagHistoryFilter) (*TagHistoryList, error)
	GetSbom(context.Context, *SbomRequest) (*v1.Sbom2, error)
	GetImageConfig(context.Context, *ImageConfigRequest) (*ImageConfig, error)
	GetArchs(context.Context, *ArchRequest) (*Archs, error)
	GetSize(context.Context, *SizeRequest) (*Size, error)
	GetRawSbom(context.Context, *RawSbomRequest) (*RawSbom, error)
	GetVulnReport(context.Context, *VulnReportRequest) (*v1.VulnReport, error)
	ListManifestMetadata(context.Context, *ManifestMetadataFilter) (*ManifestMetadataList, error)
	GetPackageVersionMetadata(context.Context, *PackageVersionMetadataRequest) (*PackageVersionMetadata, error)
	ListBuildReports(context.Context, *BuildReportFilter) (*BuildReportList, error)
	// contains filtered or unexported methods
}

RegistryServer is the server API for Registry service. All implementations must embed UnimplementedRegistryServer for forward compatibility.

type Repo

type Repo struct {

	// id is the identifier of this specific repository.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name is the human-readable name of the repository.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// catalog_tier is the catalog tier this repository belongs to.
	CatalogTier CatalogTier `` /* 141-byte string literal not displayed */
	// bundles is a list of tags/labels that allow us to group repositories to each other for sales purposes.
	Bundles []string `protobuf:"bytes,4,rep,name=bundles,proto3" json:"bundles,omitempty"`
	// readme is raw Markdown file contents describing the repo.
	Readme string `protobuf:"bytes,5,opt,name=readme,proto3" json:"readme,omitempty"`
	// (optional) Repository sync configuration. If enabled, images are synced from the source to this repo.
	// NOTE: This property can only be set by Chainguard.
	// Note: the json_name defaults to "syncConfig" which causes our eventing
	// system to not work properly (since the protobuf name is "sync_config")
	SyncConfig *SyncConfig `protobuf:"bytes,6,opt,name=sync_config,proto3" json:"sync_config,omitempty"`
	// (optional) custom apko image configuration that gets applied to images in this repo.
	CustomOverlay *CustomOverlay `protobuf:"bytes,7,opt,name=custom_overlay,json=customOverlay,proto3" json:"custom_overlay,omitempty"`
	// aliases is a list of equivalent images.
	Aliases    []string               `protobuf:"bytes,8,rep,name=aliases,proto3" json:"aliases,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Repo) CloudEventsExtension added in v0.1.21

func (x *Repo) CloudEventsExtension(key string) (string, bool)

CloudEventsExtension implements chainguard.dev/sdk/events/Extendable.CloudEventsExtension

func (*Repo) CloudEventsSubject added in v0.1.21

func (x *Repo) CloudEventsSubject() string

CloudEventsSubject implements chainguard.dev/sdk/events/Eventable.CloudEventsSubject.

func (*Repo) Descriptor deprecated

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

Deprecated: Use Repo.ProtoReflect.Descriptor instead.

func (*Repo) GetAliases added in v0.1.27

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

func (*Repo) GetBundles

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

func (*Repo) GetCatalogTier

func (x *Repo) GetCatalogTier() CatalogTier

func (*Repo) GetCreateTime added in v0.1.29

func (x *Repo) GetCreateTime() *timestamppb.Timestamp

func (*Repo) GetCustomOverlay added in v0.1.26

func (x *Repo) GetCustomOverlay() *CustomOverlay

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 ResolveConfigRequest added in v0.1.29

type ResolveConfigRequest struct {
	Config *ApkoConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// The repository context in which to perform the resolution.
	// This is relevant for how we authenticate for APK access.
	RepoUidp string `protobuf:"bytes,2,opt,name=repo_uidp,json=repoUidp,proto3" json:"repo_uidp,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveConfigRequest) Descriptor deprecated added in v0.1.29

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

Deprecated: Use ResolveConfigRequest.ProtoReflect.Descriptor instead.

func (*ResolveConfigRequest) GetConfig added in v0.1.29

func (x *ResolveConfigRequest) GetConfig() *ApkoConfig

func (*ResolveConfigRequest) GetRepoUidp added in v0.1.29

func (x *ResolveConfigRequest) GetRepoUidp() string

func (*ResolveConfigRequest) ProtoMessage added in v0.1.29

func (*ResolveConfigRequest) ProtoMessage()

func (*ResolveConfigRequest) ProtoReflect added in v0.1.29

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

func (*ResolveConfigRequest) Reset added in v0.1.29

func (x *ResolveConfigRequest) Reset()

func (*ResolveConfigRequest) String added in v0.1.29

func (x *ResolveConfigRequest) 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"`
	// The architecture to get the SBOM for.
	Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*SbomRequest) Descriptor deprecated added in v0.1.6

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

Deprecated: Use SbomRequest.ProtoReflect.Descriptor instead.

func (*SbomRequest) GetArch added in v0.1.21

func (x *SbomRequest) GetArch() string

func (*SbomRequest) GetDigest added in v0.1.6

func (x *SbomRequest) GetDigest() string

func (*SbomRequest) GetRepoId added in v0.1.6

func (x *SbomRequest) GetRepoId() string

func (*SbomRequest) ProtoMessage added in v0.1.6

func (*SbomRequest) ProtoMessage()

func (*SbomRequest) ProtoReflect added in v0.1.6

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

func (*SbomRequest) Reset added in v0.1.6

func (x *SbomRequest) Reset()

func (*SbomRequest) String added in v0.1.6

func (x *SbomRequest) String() string

type Scanner added in v0.1.25

type Scanner struct {

	// name is the name of the scanner.
	Name Scanner_Name `protobuf:"varint,1,opt,name=name,proto3,enum=chainguard.platform.registry.Scanner_Name" json:"name,omitempty"`
	// scanner_version is the version of the scanner used to generate the report.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// db_build_time is the time the vulnerability database was built that was used
	// to generate the report.
	DbBuildTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=db_build_time,json=dbBuildTime,proto3" json:"db_build_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Scanner) Descriptor deprecated added in v0.1.25

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

Deprecated: Use Scanner.ProtoReflect.Descriptor instead.

func (*Scanner) GetDbBuildTime added in v0.1.25

func (x *Scanner) GetDbBuildTime() *timestamppb.Timestamp

func (*Scanner) GetName added in v0.1.25

func (x *Scanner) GetName() Scanner_Name

func (*Scanner) GetVersion added in v0.1.25

func (x *Scanner) GetVersion() string

func (*Scanner) ProtoMessage added in v0.1.25

func (*Scanner) ProtoMessage()

func (*Scanner) ProtoReflect added in v0.1.25

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

func (*Scanner) Reset added in v0.1.25

func (x *Scanner) Reset()

func (*Scanner) String added in v0.1.25

func (x *Scanner) 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 Scanner_Name added in v0.1.25

type Scanner_Name int32
const (
	Scanner_UNKNOWN Scanner_Name = 0
	Scanner_GRYPE   Scanner_Name = 1
	Scanner_TRIVY   Scanner_Name = 2
)

func (Scanner_Name) Descriptor added in v0.1.25

func (Scanner_Name) Enum added in v0.1.25

func (x Scanner_Name) Enum() *Scanner_Name

func (Scanner_Name) EnumDescriptor deprecated added in v0.1.25

func (Scanner_Name) EnumDescriptor() ([]byte, []int)

Deprecated: Use Scanner_Name.Descriptor instead.

func (Scanner_Name) Number added in v0.1.25

func (Scanner_Name) String added in v0.1.25

func (x Scanner_Name) String() string

func (Scanner_Name) Type added in v0.1.25

type Size added in v0.1.21

type Size struct {

	// Size per manifest digest, by architecture.
	Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// Architecture.
	Arch string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*Size) Descriptor deprecated added in v0.1.21

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

Deprecated: Use Size.ProtoReflect.Descriptor instead.

func (*Size) GetArch added in v0.1.21

func (x *Size) GetArch() string

func (*Size) GetSize added in v0.1.21

func (x *Size) GetSize() int64

func (*Size) ProtoMessage added in v0.1.21

func (*Size) ProtoMessage()

func (*Size) ProtoReflect added in v0.1.21

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

func (*Size) Reset added in v0.1.21

func (x *Size) Reset()

func (*Size) String added in v0.1.21

func (x *Size) String() string

type SizeRequest added in v0.1.21

type SizeRequest struct {

	// The UIDP of the image repo to get size and architecture information for.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// The digest of the image to get size and architecture information for.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// The architecture to filter on.
	Arch string `protobuf:"bytes,3,opt,name=arch,proto3" json:"arch,omitempty"`
	// contains filtered or unexported fields
}

func (*SizeRequest) Descriptor deprecated added in v0.1.21

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

Deprecated: Use SizeRequest.ProtoReflect.Descriptor instead.

func (*SizeRequest) GetArch added in v0.1.21

func (x *SizeRequest) GetArch() string

func (*SizeRequest) GetDigest added in v0.1.21

func (x *SizeRequest) GetDigest() string

func (*SizeRequest) GetRepoId added in v0.1.21

func (x *SizeRequest) GetRepoId() string

func (*SizeRequest) ProtoMessage added in v0.1.21

func (*SizeRequest) ProtoMessage()

func (*SizeRequest) ProtoReflect added in v0.1.21

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

func (*SizeRequest) Reset added in v0.1.21

func (x *SizeRequest) Reset()

func (*SizeRequest) String added in v0.1.21

func (x *SizeRequest) String() string

type SyncConfig added in v0.1.19

type SyncConfig struct {

	// Repo ID to sync from.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// Controls whether exported tags will be uniquely labeled.
	UniqueTags bool `protobuf:"varint,2,opt,name=unique_tags,json=uniqueTags,proto3" json:"unique_tags,omitempty"`
	// When the catalog syncer should stop syncing from the source repository.
	Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
	// GCP Artifact Registry repo to sync to.
	Google string `protobuf:"bytes,4,opt,name=google,proto3" json:"google,omitempty"`
	// AWS ECR repo to sync to.
	Amazon string `protobuf:"bytes,5,opt,name=amazon,proto3" json:"amazon,omitempty"`
	// Controls whether to synchronize APKs for the images in this repository
	// to the enclosing Chainguard group.
	SyncApks bool `protobuf:"varint,7,opt,name=sync_apks,json=syncApks,proto3" json:"sync_apks,omitempty"`
	// An apko configuration overlay to rebuild images with when syncing them.
	ApkoOverlay string `protobuf:"bytes,8,opt,name=apko_overlay,json=apkoOverlay,proto3" json:"apko_overlay,omitempty"`
	// Controls whether the image grace period functionality is enabled or not.
	GracePeriod bool `protobuf:"varint,9,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncConfig) Descriptor deprecated added in v0.1.19

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

Deprecated: Use SyncConfig.ProtoReflect.Descriptor instead.

func (*SyncConfig) GetAmazon added in v0.1.21

func (x *SyncConfig) GetAmazon() string

func (*SyncConfig) GetApkoOverlay added in v0.1.22

func (x *SyncConfig) GetApkoOverlay() string

func (*SyncConfig) GetExpiration added in v0.1.20

func (x *SyncConfig) GetExpiration() *timestamppb.Timestamp

func (*SyncConfig) GetGoogle added in v0.1.21

func (x *SyncConfig) GetGoogle() string

func (*SyncConfig) GetGracePeriod added in v0.1.28

func (x *SyncConfig) GetGracePeriod() bool

func (*SyncConfig) GetSource added in v0.1.19

func (x *SyncConfig) GetSource() string

func (*SyncConfig) GetSyncApks added in v0.1.21

func (x *SyncConfig) GetSyncApks() bool

func (*SyncConfig) GetUniqueTags added in v0.1.19

func (x *SyncConfig) GetUniqueTags() bool

func (*SyncConfig) ProtoMessage added in v0.1.19

func (*SyncConfig) ProtoMessage()

func (*SyncConfig) ProtoReflect added in v0.1.19

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

func (*SyncConfig) Reset added in v0.1.19

func (x *SyncConfig) Reset()

func (*SyncConfig) String added in v0.1.19

func (x *SyncConfig) String() string

type Tag

type Tag struct {

	// id, identifier of this Tag, a UIDP under a Repo.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name, the unique name of the Tag.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// digest, the digest of the manifest with this tag.
	Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	// last time this tag was updated.
	LastUpdated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	// deprecated, true if the tag is deprecated.
	Deprecated bool `protobuf:"varint,5,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
	// bundles is a list of tags/labels for sales purposes.
	Bundles []string `protobuf:"bytes,6,rep,name=bundles,proto3" json:"bundles,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

func (*Tag) 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"`
	// only return tags with this digest.
	Digest string `protobuf:"bytes,10,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

func (*TagFilter) Descriptor deprecated

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

Deprecated: Use TagFilter.ProtoReflect.Descriptor instead.

func (*TagFilter) GetDigest added in v0.1.27

func (x *TagFilter) GetDigest() string

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 UnimplementedApkoServer added in v0.1.29

type UnimplementedApkoServer struct{}

UnimplementedApkoServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedApkoServer) BuildImage added in v0.1.29

func (UnimplementedApkoServer) ResolveConfig added in v0.1.29

type UnimplementedRegistryServer

type UnimplementedRegistryServer struct{}

UnimplementedRegistryServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRegistryServer) CreateRepo

func (UnimplementedRegistryServer) CreateTag

func (UnimplementedRegistryServer) DeleteRepo

func (UnimplementedRegistryServer) DeleteTag

func (UnimplementedRegistryServer) GetArchs added in v0.1.21

func (UnimplementedRegistryServer) GetImageConfig added in v0.1.20

func (UnimplementedRegistryServer) GetPackageVersionMetadata added in v0.1.25

func (UnimplementedRegistryServer) GetRawSbom added in v0.1.21

func (UnimplementedRegistryServer) GetSbom added in v0.1.6

func (UnimplementedRegistryServer) GetSize added in v0.1.21

func (UnimplementedRegistryServer) GetVulnReport added in v0.1.12

func (UnimplementedRegistryServer) ListBuildReports added in v0.1.26

func (UnimplementedRegistryServer) ListManifestMetadata added in v0.1.20

func (UnimplementedRegistryServer) ListRepos

func (UnimplementedRegistryServer) ListTagHistory

func (UnimplementedRegistryServer) ListTags

func (UnimplementedRegistryServer) UpdateRepo

func (UnimplementedRegistryServer) UpdateTag

type UnimplementedVulnerabilitiesServer added in v0.1.25

type UnimplementedVulnerabilitiesServer struct{}

UnimplementedVulnerabilitiesServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedVulnerabilitiesServer) GetRawVulnReport added in v0.1.25

func (UnimplementedVulnerabilitiesServer) ListVulnCountReports added in v0.1.27

func (UnimplementedVulnerabilitiesServer) ListVulnReports added in v0.1.25

type UnsafeApkoServer added in v0.1.29

type UnsafeApkoServer interface {
	// contains filtered or unexported methods
}

UnsafeApkoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApkoServer will result in compilation errors.

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 UnsafeVulnerabilitiesServer added in v0.1.25

type UnsafeVulnerabilitiesServer interface {
	// contains filtered or unexported methods
}

UnsafeVulnerabilitiesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VulnerabilitiesServer 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 VulnCount added in v0.1.27

type VulnCount struct {

	// severity is the CVE severity being enumerated
	Severity Vulnerability_Severity `` /* 127-byte string literal not displayed */
	// count is the number of CVEs at this severity detected.
	Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnCount) Descriptor deprecated added in v0.1.27

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

Deprecated: Use VulnCount.ProtoReflect.Descriptor instead.

func (*VulnCount) GetCount added in v0.1.27

func (x *VulnCount) GetCount() int32

func (*VulnCount) GetSeverity added in v0.1.27

func (x *VulnCount) GetSeverity() Vulnerability_Severity

func (*VulnCount) ProtoMessage added in v0.1.27

func (*VulnCount) ProtoMessage()

func (*VulnCount) ProtoReflect added in v0.1.27

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

func (*VulnCount) Reset added in v0.1.27

func (x *VulnCount) Reset()

func (*VulnCount) String added in v0.1.27

func (x *VulnCount) String() string

type VulnCountReport added in v0.1.27

type VulnCountReport struct {

	// repo is the name of the image scanned.
	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// tag is the version of the image scanned.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// date is when the image was scanned.
	Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	// vuln_counts enumerate the number of each CVE per severity found.
	VulnCounts []*VulnCount `protobuf:"bytes,4,rep,name=vuln_counts,json=vulnCounts,proto3" json:"vuln_counts,omitempty"`
	// size_bytes is the size in bytes of the image at scan time.
	SizeBytes int64 `protobuf:"varint,5,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnCountReport) Descriptor deprecated added in v0.1.27

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

Deprecated: Use VulnCountReport.ProtoReflect.Descriptor instead.

func (*VulnCountReport) GetDate added in v0.1.27

func (x *VulnCountReport) GetDate() *timestamppb.Timestamp

func (*VulnCountReport) GetRepo added in v0.1.27

func (x *VulnCountReport) GetRepo() string

func (*VulnCountReport) GetSizeBytes added in v0.1.29

func (x *VulnCountReport) GetSizeBytes() int64

func (*VulnCountReport) GetTag added in v0.1.27

func (x *VulnCountReport) GetTag() string

func (*VulnCountReport) GetVulnCounts added in v0.1.27

func (x *VulnCountReport) GetVulnCounts() []*VulnCount

func (*VulnCountReport) ProtoMessage added in v0.1.27

func (*VulnCountReport) ProtoMessage()

func (*VulnCountReport) ProtoReflect added in v0.1.27

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

func (*VulnCountReport) Reset added in v0.1.27

func (x *VulnCountReport) Reset()

func (*VulnCountReport) String added in v0.1.27

func (x *VulnCountReport) String() string

type VulnCountReportFilter added in v0.1.27

type VulnCountReportFilter struct {

	// repo is the name of the repo to retrieve vulnerability summaries for
	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// tag is the version of the image to retrieve vulnerability summaries for.
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// from defines the beginning of the date range of vulnerability summaries, inclusive.
	From *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// end defines the end of the date range of vulnerability summaries, inclusive.
	To *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnCountReportFilter) Descriptor deprecated added in v0.1.27

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

Deprecated: Use VulnCountReportFilter.ProtoReflect.Descriptor instead.

func (*VulnCountReportFilter) GetFrom added in v0.1.27

func (*VulnCountReportFilter) GetRepo added in v0.1.27

func (x *VulnCountReportFilter) GetRepo() string

func (*VulnCountReportFilter) GetTag added in v0.1.27

func (x *VulnCountReportFilter) GetTag() string

func (*VulnCountReportFilter) GetTo added in v0.1.27

func (*VulnCountReportFilter) ProtoMessage added in v0.1.27

func (*VulnCountReportFilter) ProtoMessage()

func (*VulnCountReportFilter) ProtoReflect added in v0.1.27

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

func (*VulnCountReportFilter) Reset added in v0.1.27

func (x *VulnCountReportFilter) Reset()

func (*VulnCountReportFilter) String added in v0.1.27

func (x *VulnCountReportFilter) String() string

type VulnCountReportList added in v0.1.27

type VulnCountReportList struct {
	Items []*VulnCountReport `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnCountReportList) Descriptor deprecated added in v0.1.27

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

Deprecated: Use VulnCountReportList.ProtoReflect.Descriptor instead.

func (*VulnCountReportList) GetItems added in v0.1.27

func (x *VulnCountReportList) GetItems() []*VulnCountReport

func (*VulnCountReportList) ProtoMessage added in v0.1.27

func (*VulnCountReportList) ProtoMessage()

func (*VulnCountReportList) ProtoReflect added in v0.1.27

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

func (*VulnCountReportList) Reset added in v0.1.27

func (x *VulnCountReportList) Reset()

func (*VulnCountReportList) String added in v0.1.27

func (x *VulnCountReportList) String() string

type VulnReport added in v0.1.25

type VulnReport struct {

	// digest is the exact digest of the scanned image.
	Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"`
	// scanner is the details of the scanner used to generate the report.
	Scanner *Scanner `protobuf:"bytes,2,opt,name=scanner,proto3" json:"scanner,omitempty"`
	// created_at is the time the report was generated.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// vulnerabilities are the found vulns in the scanned image.
	// For Create
	Vulnerabilities []*Vulnerability `protobuf:"bytes,4,rep,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnReport) Descriptor deprecated added in v0.1.25

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

Deprecated: Use VulnReport.ProtoReflect.Descriptor instead.

func (*VulnReport) GetCreatedAt added in v0.1.25

func (x *VulnReport) GetCreatedAt() *timestamppb.Timestamp

func (*VulnReport) GetDigest added in v0.1.25

func (x *VulnReport) GetDigest() string

func (*VulnReport) GetScanner added in v0.1.25

func (x *VulnReport) GetScanner() *Scanner

func (*VulnReport) GetVulnerabilities added in v0.1.25

func (x *VulnReport) GetVulnerabilities() []*Vulnerability

func (*VulnReport) ProtoMessage added in v0.1.25

func (*VulnReport) ProtoMessage()

func (*VulnReport) ProtoReflect added in v0.1.25

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

func (*VulnReport) Reset added in v0.1.25

func (x *VulnReport) Reset()

func (*VulnReport) String added in v0.1.25

func (x *VulnReport) String() string

type VulnReportFilter added in v0.1.25

type VulnReportFilter struct {

	// repo_id is the UIDP of the repo to list reports for.
	// One of repo_id and digest are required.
	RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"`
	// digest is the exact digest of the image to list reports for.
	// One of repo_id and digest are required. If populated, digest takes precedence over repo_id.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// tag is the optional name of the tag to pull reports for.
	// Ignored if digest is populated.
	Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
	// scanner is the optional scanner to limit vuln reports to.
	// If not provided, reports from all scanners will be included.
	Scanner *Scanner `protobuf:"bytes,4,opt,name=scanner,proto3" json:"scanner,omitempty"`
	// created_since returns reports that have been created
	// after the given time.
	CreatedSince *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_since,json=createdSince,proto3" json:"created_since,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnReportFilter) Descriptor deprecated added in v0.1.25

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

Deprecated: Use VulnReportFilter.ProtoReflect.Descriptor instead.

func (*VulnReportFilter) GetCreatedSince added in v0.1.25

func (x *VulnReportFilter) GetCreatedSince() *timestamppb.Timestamp

func (*VulnReportFilter) GetDigest added in v0.1.25

func (x *VulnReportFilter) GetDigest() string

func (*VulnReportFilter) GetRepoId added in v0.1.25

func (x *VulnReportFilter) GetRepoId() string

func (*VulnReportFilter) GetScanner added in v0.1.25

func (x *VulnReportFilter) GetScanner() *Scanner

func (*VulnReportFilter) GetTag added in v0.1.25

func (x *VulnReportFilter) GetTag() string

func (*VulnReportFilter) ProtoMessage added in v0.1.25

func (*VulnReportFilter) ProtoMessage()

func (*VulnReportFilter) ProtoReflect added in v0.1.25

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

func (*VulnReportFilter) Reset added in v0.1.25

func (x *VulnReportFilter) Reset()

func (*VulnReportFilter) String added in v0.1.25

func (x *VulnReportFilter) String() string

type VulnReportList added in v0.1.25

type VulnReportList struct {
	Items []*VulnReport `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*VulnReportList) Descriptor deprecated added in v0.1.25

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

Deprecated: Use VulnReportList.ProtoReflect.Descriptor instead.

func (*VulnReportList) GetItems added in v0.1.25

func (x *VulnReportList) GetItems() []*VulnReport

func (*VulnReportList) ProtoMessage added in v0.1.25

func (*VulnReportList) ProtoMessage()

func (*VulnReportList) ProtoReflect added in v0.1.25

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

func (*VulnReportList) Reset added in v0.1.25

func (x *VulnReportList) Reset()

func (*VulnReportList) String added in v0.1.25

func (x *VulnReportList) 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 VulnerabilitiesClient added in v0.1.25

type VulnerabilitiesClient interface {
	ListVulnReports(ctx context.Context, in *VulnReportFilter, opts ...grpc.CallOption) (*VulnReportList, error)
	GetRawVulnReport(ctx context.Context, in *GetRawVulnReportRequest, opts ...grpc.CallOption) (*RawVulnReport, error)
	ListVulnCountReports(ctx context.Context, in *VulnCountReportFilter, opts ...grpc.CallOption) (*VulnCountReportList, error)
}

VulnerabilitiesClient is the client API for Vulnerabilities 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 NewVulnerabilitiesClient added in v0.1.25

func NewVulnerabilitiesClient(cc grpc.ClientConnInterface) VulnerabilitiesClient

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 VulnerabilitiesServer added in v0.1.25

type VulnerabilitiesServer interface {
	ListVulnReports(context.Context, *VulnReportFilter) (*VulnReportList, error)
	GetRawVulnReport(context.Context, *GetRawVulnReportRequest) (*RawVulnReport, error)
	ListVulnCountReports(context.Context, *VulnCountReportFilter) (*VulnCountReportList, error)
	// contains filtered or unexported methods
}

VulnerabilitiesServer is the server API for Vulnerabilities service. All implementations must embed UnimplementedVulnerabilitiesServer for forward compatibility.

type Vulnerability added in v0.1.25

type Vulnerability struct {

	// The unique identifier for the vulnerability.
	// e.g. CVE-2024-12345
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// aliases are other identifiers for this vulnerability.
	Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
	// purls are the package URLs of the affected packages.
	Purls []string `protobuf:"bytes,3,rep,name=purls,proto3" json:"purls,omitempty"`
	// description is a short description of the vulnerability.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// details give additional textual details about the vulnerability.
	Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
	// severity is the value representing the severity of the vulnerability.
	Severity Vulnerability_Severity `` /* 127-byte string literal not displayed */
	// List of CVSS information about the exploitability of the vulnerability.
	Cvss []*Vulnerability_CVSS `protobuf:"bytes,7,rep,name=cvss,proto3" json:"cvss,omitempty"`
	// fix is the version and state of a potential fix for this vulnerability.
	Fix *Vulnerability_Fix `protobuf:"bytes,8,opt,name=fix,proto3" json:"fix,omitempty"`
	// URLs related to this vulnerability.
	RelatedUrls []string `protobuf:"bytes,9,rep,name=related_urls,json=relatedUrls,proto3" json:"related_urls,omitempty"`
	// locations are paths affected by the vulnerability.
	Locations []string `protobuf:"bytes,10,rep,name=locations,proto3" json:"locations,omitempty"`
	// contains filtered or unexported fields
}

func (*Vulnerability) Descriptor deprecated added in v0.1.25

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

Deprecated: Use Vulnerability.ProtoReflect.Descriptor instead.

func (*Vulnerability) GetAliases added in v0.1.25

func (x *Vulnerability) GetAliases() []string

func (*Vulnerability) GetCvss added in v0.1.25

func (x *Vulnerability) GetCvss() []*Vulnerability_CVSS

func (*Vulnerability) GetDescription added in v0.1.25

func (x *Vulnerability) GetDescription() string

func (*Vulnerability) GetDetails added in v0.1.25

func (x *Vulnerability) GetDetails() string

func (*Vulnerability) GetFix added in v0.1.25

func (x *Vulnerability) GetFix() *Vulnerability_Fix

func (*Vulnerability) GetId added in v0.1.25

func (x *Vulnerability) GetId() string

func (*Vulnerability) GetLocations added in v0.1.25

func (x *Vulnerability) GetLocations() []string

func (*Vulnerability) GetPurls added in v0.1.25

func (x *Vulnerability) GetPurls() []string

func (*Vulnerability) GetRelatedUrls added in v0.1.25

func (x *Vulnerability) GetRelatedUrls() []string

func (*Vulnerability) GetSeverity added in v0.1.25

func (x *Vulnerability) GetSeverity() Vulnerability_Severity

func (*Vulnerability) ProtoMessage added in v0.1.25

func (*Vulnerability) ProtoMessage()

func (*Vulnerability) ProtoReflect added in v0.1.25

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

func (*Vulnerability) Reset added in v0.1.25

func (x *Vulnerability) Reset()

func (*Vulnerability) String added in v0.1.25

func (x *Vulnerability) 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

type Vulnerability_CVSS added in v0.1.25

type Vulnerability_CVSS struct {

	// score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
	Score string `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"`
	// version used to populate score and severity.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Vulnerability_CVSS) Descriptor deprecated added in v0.1.25

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

Deprecated: Use Vulnerability_CVSS.ProtoReflect.Descriptor instead.

func (*Vulnerability_CVSS) GetScore added in v0.1.25

func (x *Vulnerability_CVSS) GetScore() string

func (*Vulnerability_CVSS) GetVersion added in v0.1.25

func (x *Vulnerability_CVSS) GetVersion() string

func (*Vulnerability_CVSS) ProtoMessage added in v0.1.25

func (*Vulnerability_CVSS) ProtoMessage()

func (*Vulnerability_CVSS) ProtoReflect added in v0.1.25

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

func (*Vulnerability_CVSS) Reset added in v0.1.25

func (x *Vulnerability_CVSS) Reset()

func (*Vulnerability_CVSS) String added in v0.1.25

func (x *Vulnerability_CVSS) String() string

type Vulnerability_Fix added in v0.1.25

type Vulnerability_Fix struct {

	// List of in versions of the package on which the vulnerability has been solved.
	Versions []string `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// state reflects the state of the fix, e.g. fixed, unknown, not-fixed, won't-fix.
	State Vulnerability_Fix_State `protobuf:"varint,2,opt,name=state,proto3,enum=chainguard.platform.registry.Vulnerability_Fix_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*Vulnerability_Fix) Descriptor deprecated added in v0.1.25

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

Deprecated: Use Vulnerability_Fix.ProtoReflect.Descriptor instead.

func (*Vulnerability_Fix) GetState added in v0.1.25

func (*Vulnerability_Fix) GetVersions added in v0.1.25

func (x *Vulnerability_Fix) GetVersions() []string

func (*Vulnerability_Fix) ProtoMessage added in v0.1.25

func (*Vulnerability_Fix) ProtoMessage()

func (*Vulnerability_Fix) ProtoReflect added in v0.1.25

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

func (*Vulnerability_Fix) Reset added in v0.1.25

func (x *Vulnerability_Fix) Reset()

func (*Vulnerability_Fix) String added in v0.1.25

func (x *Vulnerability_Fix) String() string

type Vulnerability_Fix_State added in v0.1.25

type Vulnerability_Fix_State int32
const (
	Vulnerability_Fix_UNKNOWN   Vulnerability_Fix_State = 0
	Vulnerability_Fix_FIXED     Vulnerability_Fix_State = 1
	Vulnerability_Fix_NOT_FIXED Vulnerability_Fix_State = 2
	Vulnerability_Fix_WONT_FIX  Vulnerability_Fix_State = 3
)

func (Vulnerability_Fix_State) Descriptor added in v0.1.25

func (Vulnerability_Fix_State) Enum added in v0.1.25

func (Vulnerability_Fix_State) EnumDescriptor deprecated added in v0.1.25

func (Vulnerability_Fix_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Vulnerability_Fix_State.Descriptor instead.

func (Vulnerability_Fix_State) Number added in v0.1.25

func (Vulnerability_Fix_State) String added in v0.1.25

func (x Vulnerability_Fix_State) String() string

func (Vulnerability_Fix_State) Type added in v0.1.25

type Vulnerability_Severity added in v0.1.25

type Vulnerability_Severity int32
const (
	Vulnerability_UNKNOWN    Vulnerability_Severity = 0
	Vulnerability_LOW        Vulnerability_Severity = 1
	Vulnerability_MEDIUM     Vulnerability_Severity = 2
	Vulnerability_HIGH       Vulnerability_Severity = 3
	Vulnerability_CRITICAL   Vulnerability_Severity = 4
	Vulnerability_NEGLIGIBLE Vulnerability_Severity = 5
)

func (Vulnerability_Severity) Descriptor added in v0.1.25

func (Vulnerability_Severity) Enum added in v0.1.25

func (Vulnerability_Severity) EnumDescriptor deprecated added in v0.1.25

func (Vulnerability_Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Vulnerability_Severity.Descriptor instead.

func (Vulnerability_Severity) Number added in v0.1.25

func (Vulnerability_Severity) String added in v0.1.25

func (x Vulnerability_Severity) String() string

func (Vulnerability_Severity) Type added in v0.1.25

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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