Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterStorageServiceServer(s grpc.ServiceRegistrar, srv StorageServiceServer)
- type ContainerProfileChunk
- func (*ContainerProfileChunk) Descriptor() ([]byte, []int)
- func (m *ContainerProfileChunk) GetBlobChunk() []byte
- func (m *ContainerProfileChunk) GetMetadata() *ContainerProfileChunkMetadata
- func (*ContainerProfileChunk) ProtoMessage()
- func (m *ContainerProfileChunk) Reset()
- func (m *ContainerProfileChunk) String() string
- func (m *ContainerProfileChunk) XXX_DiscardUnknown()
- func (m *ContainerProfileChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContainerProfileChunk) XXX_Merge(src proto.Message)
- func (m *ContainerProfileChunk) XXX_Size() int
- func (m *ContainerProfileChunk) XXX_Unmarshal(b []byte) error
- type ContainerProfileChunkMetadata
- func (*ContainerProfileChunkMetadata) Descriptor() ([]byte, []int)
- func (*ContainerProfileChunkMetadata) ProtoMessage()
- func (m *ContainerProfileChunkMetadata) Reset()
- func (m *ContainerProfileChunkMetadata) String() string
- func (m *ContainerProfileChunkMetadata) XXX_DiscardUnknown()
- func (m *ContainerProfileChunkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContainerProfileChunkMetadata) XXX_Merge(src proto.Message)
- func (m *ContainerProfileChunkMetadata) XXX_Size() int
- func (m *ContainerProfileChunkMetadata) XXX_Unmarshal(b []byte) error
- type ErrorCode
- type GetContainerProfileStreamChunk
- func (*GetContainerProfileStreamChunk) Descriptor() ([]byte, []int)
- func (m *GetContainerProfileStreamChunk) GetBlobChunk() []byte
- func (m *GetContainerProfileStreamChunk) GetMetadata() *GetContainerProfileStreamChunkMetadata
- func (*GetContainerProfileStreamChunk) ProtoMessage()
- func (m *GetContainerProfileStreamChunk) Reset()
- func (m *GetContainerProfileStreamChunk) String() string
- func (m *GetContainerProfileStreamChunk) XXX_DiscardUnknown()
- func (m *GetContainerProfileStreamChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetContainerProfileStreamChunk) XXX_Merge(src proto.Message)
- func (m *GetContainerProfileStreamChunk) XXX_Size() int
- func (m *GetContainerProfileStreamChunk) XXX_Unmarshal(b []byte) error
- type GetContainerProfileStreamChunkMetadata
- func (*GetContainerProfileStreamChunkMetadata) Descriptor() ([]byte, []int)
- func (m *GetContainerProfileStreamChunkMetadata) GetErrorCode() ErrorCode
- func (m *GetContainerProfileStreamChunkMetadata) GetErrorMessage() string
- func (m *GetContainerProfileStreamChunkMetadata) GetExists() bool
- func (m *GetContainerProfileStreamChunkMetadata) GetSuccess() bool
- func (*GetContainerProfileStreamChunkMetadata) ProtoMessage()
- func (m *GetContainerProfileStreamChunkMetadata) Reset()
- func (m *GetContainerProfileStreamChunkMetadata) String() string
- func (m *GetContainerProfileStreamChunkMetadata) XXX_DiscardUnknown()
- func (m *GetContainerProfileStreamChunkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetContainerProfileStreamChunkMetadata) XXX_Merge(src proto.Message)
- func (m *GetContainerProfileStreamChunkMetadata) XXX_Size() int
- func (m *GetContainerProfileStreamChunkMetadata) XXX_Unmarshal(b []byte) error
- type GetContainerProfileStreamRequest
- func (*GetContainerProfileStreamRequest) Descriptor() ([]byte, []int)
- func (m *GetContainerProfileStreamRequest) GetCloudAccountIdentifier() string
- func (m *GetContainerProfileStreamRequest) GetName() string
- func (m *GetContainerProfileStreamRequest) GetNamespace() string
- func (m *GetContainerProfileStreamRequest) GetRegion() string
- func (*GetContainerProfileStreamRequest) ProtoMessage()
- func (m *GetContainerProfileStreamRequest) Reset()
- func (m *GetContainerProfileStreamRequest) String() string
- func (m *GetContainerProfileStreamRequest) XXX_DiscardUnknown()
- func (m *GetContainerProfileStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetContainerProfileStreamRequest) XXX_Merge(src proto.Message)
- func (m *GetContainerProfileStreamRequest) XXX_Size() int
- func (m *GetContainerProfileStreamRequest) XXX_Unmarshal(b []byte) error
- type GetProfileRequest
- func (*GetProfileRequest) Descriptor() ([]byte, []int)
- func (m *GetProfileRequest) GetCloudAccountIdentifier() string
- func (m *GetProfileRequest) GetKind() string
- func (m *GetProfileRequest) GetName() string
- func (m *GetProfileRequest) GetNamespace() string
- func (m *GetProfileRequest) GetRegion() string
- func (*GetProfileRequest) ProtoMessage()
- func (m *GetProfileRequest) Reset()
- func (m *GetProfileRequest) String() string
- func (m *GetProfileRequest) XXX_DiscardUnknown()
- func (m *GetProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProfileRequest) XXX_Merge(src proto.Message)
- func (m *GetProfileRequest) XXX_Size() int
- func (m *GetProfileRequest) XXX_Unmarshal(b []byte) error
- type GetProfileResponse
- func (*GetProfileResponse) Descriptor() ([]byte, []int)
- func (m *GetProfileResponse) GetApplicationProfile() *v1beta1.ApplicationProfile
- func (m *GetProfileResponse) GetContainerProfile() *v1beta1.ContainerProfile
- func (m *GetProfileResponse) GetErrorCode() ErrorCode
- func (m *GetProfileResponse) GetErrorMessage() string
- func (m *GetProfileResponse) GetNetworkNeighborhood() *v1beta1.NetworkNeighborhood
- func (m *GetProfileResponse) GetSuccess() bool
- func (*GetProfileResponse) ProtoMessage()
- func (m *GetProfileResponse) Reset()
- func (m *GetProfileResponse) String() string
- func (m *GetProfileResponse) XXX_DiscardUnknown()
- func (m *GetProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProfileResponse) XXX_Merge(src proto.Message)
- func (m *GetProfileResponse) XXX_Size() int
- func (m *GetProfileResponse) XXX_Unmarshal(b []byte) error
- type GetSBOMChunk
- func (*GetSBOMChunk) Descriptor() ([]byte, []int)
- func (m *GetSBOMChunk) GetBlobChunk() []byte
- func (m *GetSBOMChunk) GetMetadata() *GetSBOMChunkMetadata
- func (*GetSBOMChunk) ProtoMessage()
- func (m *GetSBOMChunk) Reset()
- func (m *GetSBOMChunk) String() string
- func (m *GetSBOMChunk) XXX_DiscardUnknown()
- func (m *GetSBOMChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSBOMChunk) XXX_Merge(src proto.Message)
- func (m *GetSBOMChunk) XXX_Size() int
- func (m *GetSBOMChunk) XXX_Unmarshal(b []byte) error
- type GetSBOMChunkMetadata
- func (*GetSBOMChunkMetadata) Descriptor() ([]byte, []int)
- func (m *GetSBOMChunkMetadata) GetErrorCode() ErrorCode
- func (m *GetSBOMChunkMetadata) GetErrorMessage() string
- func (m *GetSBOMChunkMetadata) GetExists() bool
- func (m *GetSBOMChunkMetadata) GetSbomMetadata() *SBOMMetadata
- func (m *GetSBOMChunkMetadata) GetSuccess() bool
- func (*GetSBOMChunkMetadata) ProtoMessage()
- func (m *GetSBOMChunkMetadata) Reset()
- func (m *GetSBOMChunkMetadata) String() string
- func (m *GetSBOMChunkMetadata) XXX_DiscardUnknown()
- func (m *GetSBOMChunkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSBOMChunkMetadata) XXX_Merge(src proto.Message)
- func (m *GetSBOMChunkMetadata) XXX_Size() int
- func (m *GetSBOMChunkMetadata) XXX_Unmarshal(b []byte) error
- type GetSBOMRequest
- func (*GetSBOMRequest) Descriptor() ([]byte, []int)
- func (m *GetSBOMRequest) GetImageDigest() string
- func (m *GetSBOMRequest) GetMetadataOnly() bool
- func (m *GetSBOMRequest) GetSyftVersion() string
- func (*GetSBOMRequest) ProtoMessage()
- func (m *GetSBOMRequest) Reset()
- func (m *GetSBOMRequest) String() string
- func (m *GetSBOMRequest) XXX_DiscardUnknown()
- func (m *GetSBOMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSBOMRequest) XXX_Merge(src proto.Message)
- func (m *GetSBOMRequest) XXX_Size() int
- func (m *GetSBOMRequest) XXX_Unmarshal(b []byte) error
- type ListApplicationProfilesRequest
- func (*ListApplicationProfilesRequest) Descriptor() ([]byte, []int)
- func (m *ListApplicationProfilesRequest) GetCloudAccountIdentifier() string
- func (m *ListApplicationProfilesRequest) GetCont() string
- func (m *ListApplicationProfilesRequest) GetLimit() int64
- func (m *ListApplicationProfilesRequest) GetNamespace() string
- func (m *ListApplicationProfilesRequest) GetRegion() string
- func (*ListApplicationProfilesRequest) ProtoMessage()
- func (m *ListApplicationProfilesRequest) Reset()
- func (m *ListApplicationProfilesRequest) String() string
- func (m *ListApplicationProfilesRequest) XXX_DiscardUnknown()
- func (m *ListApplicationProfilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListApplicationProfilesRequest) XXX_Merge(src proto.Message)
- func (m *ListApplicationProfilesRequest) XXX_Size() int
- func (m *ListApplicationProfilesRequest) XXX_Unmarshal(b []byte) error
- type ListApplicationProfilesResponse
- func (*ListApplicationProfilesResponse) Descriptor() ([]byte, []int)
- func (m *ListApplicationProfilesResponse) GetApplicationProfiles() []*v1beta1.ApplicationProfile
- func (m *ListApplicationProfilesResponse) GetCont() string
- func (m *ListApplicationProfilesResponse) GetErrorCode() ErrorCode
- func (m *ListApplicationProfilesResponse) GetErrorMessage() string
- func (m *ListApplicationProfilesResponse) GetSuccess() bool
- func (*ListApplicationProfilesResponse) ProtoMessage()
- func (m *ListApplicationProfilesResponse) Reset()
- func (m *ListApplicationProfilesResponse) String() string
- func (m *ListApplicationProfilesResponse) XXX_DiscardUnknown()
- func (m *ListApplicationProfilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListApplicationProfilesResponse) XXX_Merge(src proto.Message)
- func (m *ListApplicationProfilesResponse) XXX_Size() int
- func (m *ListApplicationProfilesResponse) XXX_Unmarshal(b []byte) error
- type ListNetworkNeighborhoodsRequest
- func (*ListNetworkNeighborhoodsRequest) Descriptor() ([]byte, []int)
- func (m *ListNetworkNeighborhoodsRequest) GetCloudAccountIdentifier() string
- func (m *ListNetworkNeighborhoodsRequest) GetCont() string
- func (m *ListNetworkNeighborhoodsRequest) GetLimit() int64
- func (m *ListNetworkNeighborhoodsRequest) GetNamespace() string
- func (m *ListNetworkNeighborhoodsRequest) GetRegion() string
- func (*ListNetworkNeighborhoodsRequest) ProtoMessage()
- func (m *ListNetworkNeighborhoodsRequest) Reset()
- func (m *ListNetworkNeighborhoodsRequest) String() string
- func (m *ListNetworkNeighborhoodsRequest) XXX_DiscardUnknown()
- func (m *ListNetworkNeighborhoodsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNetworkNeighborhoodsRequest) XXX_Merge(src proto.Message)
- func (m *ListNetworkNeighborhoodsRequest) XXX_Size() int
- func (m *ListNetworkNeighborhoodsRequest) XXX_Unmarshal(b []byte) error
- type ListNetworkNeighborhoodsResponse
- func (*ListNetworkNeighborhoodsResponse) Descriptor() ([]byte, []int)
- func (m *ListNetworkNeighborhoodsResponse) GetCont() string
- func (m *ListNetworkNeighborhoodsResponse) GetErrorCode() ErrorCode
- func (m *ListNetworkNeighborhoodsResponse) GetErrorMessage() string
- func (m *ListNetworkNeighborhoodsResponse) GetNetworkNeighborhoods() []*v1beta1.NetworkNeighborhood
- func (m *ListNetworkNeighborhoodsResponse) GetSuccess() bool
- func (*ListNetworkNeighborhoodsResponse) ProtoMessage()
- func (m *ListNetworkNeighborhoodsResponse) Reset()
- func (m *ListNetworkNeighborhoodsResponse) String() string
- func (m *ListNetworkNeighborhoodsResponse) XXX_DiscardUnknown()
- func (m *ListNetworkNeighborhoodsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNetworkNeighborhoodsResponse) XXX_Merge(src proto.Message)
- func (m *ListNetworkNeighborhoodsResponse) XXX_Size() int
- func (m *ListNetworkNeighborhoodsResponse) XXX_Unmarshal(b []byte) error
- type PutSBOMChunk
- func (*PutSBOMChunk) Descriptor() ([]byte, []int)
- func (m *PutSBOMChunk) GetBlobChunk() []byte
- func (m *PutSBOMChunk) GetMetadata() *PutSBOMChunkMetadata
- func (*PutSBOMChunk) ProtoMessage()
- func (m *PutSBOMChunk) Reset()
- func (m *PutSBOMChunk) String() string
- func (m *PutSBOMChunk) XXX_DiscardUnknown()
- func (m *PutSBOMChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutSBOMChunk) XXX_Merge(src proto.Message)
- func (m *PutSBOMChunk) XXX_Size() int
- func (m *PutSBOMChunk) XXX_Unmarshal(b []byte) error
- type PutSBOMChunkMetadata
- func (*PutSBOMChunkMetadata) Descriptor() ([]byte, []int)
- func (m *PutSBOMChunkMetadata) GetImageDigest() string
- func (m *PutSBOMChunkMetadata) GetSource() SBOMSource
- func (m *PutSBOMChunkMetadata) GetSyftVersion() string
- func (*PutSBOMChunkMetadata) ProtoMessage()
- func (m *PutSBOMChunkMetadata) Reset()
- func (m *PutSBOMChunkMetadata) String() string
- func (m *PutSBOMChunkMetadata) XXX_DiscardUnknown()
- func (m *PutSBOMChunkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutSBOMChunkMetadata) XXX_Merge(src proto.Message)
- func (m *PutSBOMChunkMetadata) XXX_Size() int
- func (m *PutSBOMChunkMetadata) XXX_Unmarshal(b []byte) error
- type PutSBOMResponse
- func (*PutSBOMResponse) Descriptor() ([]byte, []int)
- func (m *PutSBOMResponse) GetErrorCode() ErrorCode
- func (m *PutSBOMResponse) GetErrorMessage() string
- func (m *PutSBOMResponse) GetSuccess() bool
- func (*PutSBOMResponse) ProtoMessage()
- func (m *PutSBOMResponse) Reset()
- func (m *PutSBOMResponse) String() string
- func (m *PutSBOMResponse) XXX_DiscardUnknown()
- func (m *PutSBOMResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutSBOMResponse) XXX_Merge(src proto.Message)
- func (m *PutSBOMResponse) XXX_Size() int
- func (m *PutSBOMResponse) XXX_Unmarshal(b []byte) error
- type SBOMMetadata
- func (*SBOMMetadata) Descriptor() ([]byte, []int)
- func (m *SBOMMetadata) GetAnnotations() map[string]string
- func (m *SBOMMetadata) GetBlobSizeBytes() int64
- func (m *SBOMMetadata) GetCreatedAt() string
- func (m *SBOMMetadata) GetImageDigest() string
- func (m *SBOMMetadata) GetLastReferencedAt() string
- func (m *SBOMMetadata) GetSource() SBOMSource
- func (m *SBOMMetadata) GetSyftVersion() string
- func (*SBOMMetadata) ProtoMessage()
- func (m *SBOMMetadata) Reset()
- func (m *SBOMMetadata) String() string
- func (m *SBOMMetadata) XXX_DiscardUnknown()
- func (m *SBOMMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SBOMMetadata) XXX_Merge(src proto.Message)
- func (m *SBOMMetadata) XXX_Size() int
- func (m *SBOMMetadata) XXX_Unmarshal(b []byte) error
- type SBOMSource
- type SendContainerProfileRequest
- func (*SendContainerProfileRequest) Descriptor() ([]byte, []int)
- func (m *SendContainerProfileRequest) GetContainerProfile() *v1beta1.ContainerProfile
- func (*SendContainerProfileRequest) ProtoMessage()
- func (m *SendContainerProfileRequest) Reset()
- func (m *SendContainerProfileRequest) String() string
- func (m *SendContainerProfileRequest) XXX_DiscardUnknown()
- func (m *SendContainerProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendContainerProfileRequest) XXX_Merge(src proto.Message)
- func (m *SendContainerProfileRequest) XXX_Size() int
- func (m *SendContainerProfileRequest) XXX_Unmarshal(b []byte) error
- type SendContainerProfileResponse
- func (*SendContainerProfileResponse) Descriptor() ([]byte, []int)
- func (m *SendContainerProfileResponse) GetErrorCode() ErrorCode
- func (m *SendContainerProfileResponse) GetErrorMessage() string
- func (m *SendContainerProfileResponse) GetSuccess() bool
- func (*SendContainerProfileResponse) ProtoMessage()
- func (m *SendContainerProfileResponse) Reset()
- func (m *SendContainerProfileResponse) String() string
- func (m *SendContainerProfileResponse) XXX_DiscardUnknown()
- func (m *SendContainerProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendContainerProfileResponse) XXX_Merge(src proto.Message)
- func (m *SendContainerProfileResponse) XXX_Size() int
- func (m *SendContainerProfileResponse) XXX_Unmarshal(b []byte) error
- type StorageServiceClient
- type StorageServiceServer
- type StorageService_GetContainerProfileStreamClient
- type StorageService_GetContainerProfileStreamServer
- type StorageService_GetSBOMStreamClient
- type StorageService_GetSBOMStreamServer
- type StorageService_PutSBOMStreamClient
- type StorageService_PutSBOMStreamServer
- type StorageService_SendContainerProfileStreamClient
- type StorageService_SendContainerProfileStreamServer
- type UnimplementedStorageServiceServer
- func (UnimplementedStorageServiceServer) GetContainerProfileStream(*GetContainerProfileStreamRequest, ...) error
- func (UnimplementedStorageServiceServer) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
- func (UnimplementedStorageServiceServer) GetSBOMStream(*GetSBOMRequest, grpc.ServerStreamingServer[GetSBOMChunk]) error
- func (UnimplementedStorageServiceServer) ListApplicationProfiles(context.Context, *ListApplicationProfilesRequest) (*ListApplicationProfilesResponse, error)
- func (UnimplementedStorageServiceServer) ListNetworkNeighborhoods(context.Context, *ListNetworkNeighborhoodsRequest) (*ListNetworkNeighborhoodsResponse, error)
- func (UnimplementedStorageServiceServer) PutSBOMStream(grpc.ClientStreamingServer[PutSBOMChunk, PutSBOMResponse]) error
- func (UnimplementedStorageServiceServer) SendContainerProfile(context.Context, *SendContainerProfileRequest) (*SendContainerProfileResponse, error)
- func (UnimplementedStorageServiceServer) SendContainerProfileStream(...) error
- type UnsafeStorageServiceServer
Constants ¶
const ( StorageService_SendContainerProfile_FullMethodName = "/storageserver.v1.StorageService/SendContainerProfile" StorageService_GetProfile_FullMethodName = "/storageserver.v1.StorageService/GetProfile" StorageService_ListApplicationProfiles_FullMethodName = "/storageserver.v1.StorageService/ListApplicationProfiles" StorageService_ListNetworkNeighborhoods_FullMethodName = "/storageserver.v1.StorageService/ListNetworkNeighborhoods" StorageService_SendContainerProfileStream_FullMethodName = "/storageserver.v1.StorageService/SendContainerProfileStream" StorageService_GetContainerProfileStream_FullMethodName = "/storageserver.v1.StorageService/GetContainerProfileStream" StorageService_PutSBOMStream_FullMethodName = "/storageserver.v1.StorageService/PutSBOMStream" StorageService_GetSBOMStream_FullMethodName = "/storageserver.v1.StorageService/GetSBOMStream" )
Variables ¶
var ErrorCode_name = map[int32]string{
0: "ERROR_CODE_UNSPECIFIED",
1: "ERROR_CODE_INVALID_REQUEST",
2: "ERROR_CODE_UNAUTHORIZED",
3: "ERROR_CODE_PROFILE_TOO_LARGE",
4: "ERROR_CODE_PROFILE_COMPLETED",
5: "ERROR_CODE_PROFILE_NOT_FOUND",
6: "ERROR_CODE_INTERNAL_ERROR",
7: "ERROR_CODE_PULSAR_ERROR",
8: "ERROR_CODE_SBOM_NOT_FOUND",
9: "ERROR_CODE_SBOM_TOO_LARGE",
}
var ErrorCode_value = map[string]int32{
"ERROR_CODE_UNSPECIFIED": 0,
"ERROR_CODE_INVALID_REQUEST": 1,
"ERROR_CODE_UNAUTHORIZED": 2,
"ERROR_CODE_PROFILE_TOO_LARGE": 3,
"ERROR_CODE_PROFILE_COMPLETED": 4,
"ERROR_CODE_PROFILE_NOT_FOUND": 5,
"ERROR_CODE_INTERNAL_ERROR": 6,
"ERROR_CODE_PULSAR_ERROR": 7,
"ERROR_CODE_SBOM_NOT_FOUND": 8,
"ERROR_CODE_SBOM_TOO_LARGE": 9,
}
var SBOMSource_name = map[int32]string{
0: "SBOM_SOURCE_UNSPECIFIED",
1: "SBOM_SOURCE_WORKLOAD",
2: "SBOM_SOURCE_REGISTRY",
3: "SBOM_SOURCE_HOST",
}
var SBOMSource_value = map[string]int32{
"SBOM_SOURCE_UNSPECIFIED": 0,
"SBOM_SOURCE_WORKLOAD": 1,
"SBOM_SOURCE_REGISTRY": 2,
"SBOM_SOURCE_HOST": 3,
}
var StorageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "storageserver.v1.StorageService", HandlerType: (*StorageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendContainerProfile", Handler: _StorageService_SendContainerProfile_Handler, }, { MethodName: "GetProfile", Handler: _StorageService_GetProfile_Handler, }, { MethodName: "ListApplicationProfiles", Handler: _StorageService_ListApplicationProfiles_Handler, }, { MethodName: "ListNetworkNeighborhoods", Handler: _StorageService_ListNetworkNeighborhoods_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SendContainerProfileStream", Handler: _StorageService_SendContainerProfileStream_Handler, ClientStreams: true, }, { StreamName: "GetContainerProfileStream", Handler: _StorageService_GetContainerProfileStream_Handler, ServerStreams: true, }, { StreamName: "PutSBOMStream", Handler: _StorageService_PutSBOMStream_Handler, ClientStreams: true, }, { StreamName: "GetSBOMStream", Handler: _StorageService_GetSBOMStream_Handler, ServerStreams: true, }, }, Metadata: "storage_service.proto", }
StorageService_ServiceDesc is the grpc.ServiceDesc for StorageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterStorageServiceServer ¶
func RegisterStorageServiceServer(s grpc.ServiceRegistrar, srv StorageServiceServer)
Types ¶
type ContainerProfileChunk ¶ added in v0.0.43
type ContainerProfileChunk struct {
// metadata is set on the first chunk only.
Metadata *ContainerProfileChunkMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// blob_chunk is a slice of the marshaled ContainerProfile payload.
BlobChunk []byte `protobuf:"bytes,2,opt,name=blob_chunk,json=blobChunk,proto3" json:"blob_chunk,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
ContainerProfileChunk is a single chunk of a streamed ContainerProfile upload (SendContainerProfileStream). The first chunk in the stream MUST set metadata. Subsequent chunks set only blob_chunk. Concatenated blob_chunk values form the marshaled ContainerProfile proto payload.
func (*ContainerProfileChunk) Descriptor ¶ added in v0.0.43
func (*ContainerProfileChunk) Descriptor() ([]byte, []int)
func (*ContainerProfileChunk) GetBlobChunk ¶ added in v0.0.43
func (m *ContainerProfileChunk) GetBlobChunk() []byte
func (*ContainerProfileChunk) GetMetadata ¶ added in v0.0.43
func (m *ContainerProfileChunk) GetMetadata() *ContainerProfileChunkMetadata
func (*ContainerProfileChunk) ProtoMessage ¶ added in v0.0.43
func (*ContainerProfileChunk) ProtoMessage()
func (*ContainerProfileChunk) Reset ¶ added in v0.0.43
func (m *ContainerProfileChunk) Reset()
func (*ContainerProfileChunk) String ¶ added in v0.0.43
func (m *ContainerProfileChunk) String() string
func (*ContainerProfileChunk) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *ContainerProfileChunk) XXX_DiscardUnknown()
func (*ContainerProfileChunk) XXX_Marshal ¶ added in v0.0.43
func (m *ContainerProfileChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContainerProfileChunk) XXX_Merge ¶ added in v0.0.43
func (m *ContainerProfileChunk) XXX_Merge(src proto.Message)
func (*ContainerProfileChunk) XXX_Size ¶ added in v0.0.43
func (m *ContainerProfileChunk) XXX_Size() int
func (*ContainerProfileChunk) XXX_Unmarshal ¶ added in v0.0.43
func (m *ContainerProfileChunk) XXX_Unmarshal(b []byte) error
type ContainerProfileChunkMetadata ¶ added in v0.0.43
type ContainerProfileChunkMetadata struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
ContainerProfileChunkMetadata is the metadata header sent on the first chunk of a SendContainerProfileStream call. All identifying fields (cluster, host_type, host_id) continue to be carried via gRPC metadata headers as in the unary path; this message is reserved for any future per-call options that the unary form would have put in the request.
func (*ContainerProfileChunkMetadata) Descriptor ¶ added in v0.0.43
func (*ContainerProfileChunkMetadata) Descriptor() ([]byte, []int)
func (*ContainerProfileChunkMetadata) ProtoMessage ¶ added in v0.0.43
func (*ContainerProfileChunkMetadata) ProtoMessage()
func (*ContainerProfileChunkMetadata) Reset ¶ added in v0.0.43
func (m *ContainerProfileChunkMetadata) Reset()
func (*ContainerProfileChunkMetadata) String ¶ added in v0.0.43
func (m *ContainerProfileChunkMetadata) String() string
func (*ContainerProfileChunkMetadata) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *ContainerProfileChunkMetadata) XXX_DiscardUnknown()
func (*ContainerProfileChunkMetadata) XXX_Marshal ¶ added in v0.0.43
func (m *ContainerProfileChunkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContainerProfileChunkMetadata) XXX_Merge ¶ added in v0.0.43
func (m *ContainerProfileChunkMetadata) XXX_Merge(src proto.Message)
func (*ContainerProfileChunkMetadata) XXX_Size ¶ added in v0.0.43
func (m *ContainerProfileChunkMetadata) XXX_Size() int
func (*ContainerProfileChunkMetadata) XXX_Unmarshal ¶ added in v0.0.43
func (m *ContainerProfileChunkMetadata) XXX_Unmarshal(b []byte) error
type ErrorCode ¶
type ErrorCode int32
ErrorCode provides specific error types for programmatic handling
const ( ErrorCode_ERROR_CODE_UNSPECIFIED ErrorCode = 0 ErrorCode_ERROR_CODE_INVALID_REQUEST ErrorCode = 1 ErrorCode_ERROR_CODE_UNAUTHORIZED ErrorCode = 2 ErrorCode_ERROR_CODE_PROFILE_TOO_LARGE ErrorCode = 3 ErrorCode_ERROR_CODE_PROFILE_COMPLETED ErrorCode = 4 ErrorCode_ERROR_CODE_PROFILE_NOT_FOUND ErrorCode = 5 ErrorCode_ERROR_CODE_INTERNAL_ERROR ErrorCode = 6 ErrorCode_ERROR_CODE_PULSAR_ERROR ErrorCode = 7 ErrorCode_ERROR_CODE_SBOM_NOT_FOUND ErrorCode = 8 ErrorCode_ERROR_CODE_SBOM_TOO_LARGE ErrorCode = 9 )
func (ErrorCode) EnumDescriptor ¶
type GetContainerProfileStreamChunk ¶ added in v0.0.43
type GetContainerProfileStreamChunk struct {
// metadata is set on the first chunk only.
Metadata *GetContainerProfileStreamChunkMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// blob_chunk is a slice of the marshaled ContainerProfile payload.
BlobChunk []byte `protobuf:"bytes,2,opt,name=blob_chunk,json=blobChunk,proto3" json:"blob_chunk,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
GetContainerProfileStreamChunk is a single chunk of a streamed ContainerProfile download. The first chunk sets metadata + status; subsequent chunks set only blob_chunk.
func (*GetContainerProfileStreamChunk) Descriptor ¶ added in v0.0.43
func (*GetContainerProfileStreamChunk) Descriptor() ([]byte, []int)
func (*GetContainerProfileStreamChunk) GetBlobChunk ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunk) GetBlobChunk() []byte
func (*GetContainerProfileStreamChunk) GetMetadata ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunk) GetMetadata() *GetContainerProfileStreamChunkMetadata
func (*GetContainerProfileStreamChunk) ProtoMessage ¶ added in v0.0.43
func (*GetContainerProfileStreamChunk) ProtoMessage()
func (*GetContainerProfileStreamChunk) Reset ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunk) Reset()
func (*GetContainerProfileStreamChunk) String ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunk) String() string
func (*GetContainerProfileStreamChunk) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunk) XXX_DiscardUnknown()
func (*GetContainerProfileStreamChunk) XXX_Marshal ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetContainerProfileStreamChunk) XXX_Merge ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunk) XXX_Merge(src proto.Message)
func (*GetContainerProfileStreamChunk) XXX_Size ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunk) XXX_Size() int
func (*GetContainerProfileStreamChunk) XXX_Unmarshal ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunk) XXX_Unmarshal(b []byte) error
type GetContainerProfileStreamChunkMetadata ¶ added in v0.0.43
type GetContainerProfileStreamChunkMetadata struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
ErrorCode ErrorCode `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=storageserver.v1.ErrorCode" json:"error_code,omitempty"`
// exists indicates whether a ContainerProfile row was found.
Exists bool `protobuf:"varint,4,opt,name=exists,proto3" json:"exists,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
GetContainerProfileStreamChunkMetadata is the status header sent on the first chunk of a GetContainerProfileStream response. If success is false or exists is false the server closes the stream without sending blob chunks.
func (*GetContainerProfileStreamChunkMetadata) Descriptor ¶ added in v0.0.43
func (*GetContainerProfileStreamChunkMetadata) Descriptor() ([]byte, []int)
func (*GetContainerProfileStreamChunkMetadata) GetErrorCode ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) GetErrorCode() ErrorCode
func (*GetContainerProfileStreamChunkMetadata) GetErrorMessage ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) GetErrorMessage() string
func (*GetContainerProfileStreamChunkMetadata) GetExists ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) GetExists() bool
func (*GetContainerProfileStreamChunkMetadata) GetSuccess ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) GetSuccess() bool
func (*GetContainerProfileStreamChunkMetadata) ProtoMessage ¶ added in v0.0.43
func (*GetContainerProfileStreamChunkMetadata) ProtoMessage()
func (*GetContainerProfileStreamChunkMetadata) Reset ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) Reset()
func (*GetContainerProfileStreamChunkMetadata) String ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) String() string
func (*GetContainerProfileStreamChunkMetadata) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) XXX_DiscardUnknown()
func (*GetContainerProfileStreamChunkMetadata) XXX_Marshal ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetContainerProfileStreamChunkMetadata) XXX_Merge ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) XXX_Merge(src proto.Message)
func (*GetContainerProfileStreamChunkMetadata) XXX_Size ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) XXX_Size() int
func (*GetContainerProfileStreamChunkMetadata) XXX_Unmarshal ¶ added in v0.0.43
func (m *GetContainerProfileStreamChunkMetadata) XXX_Unmarshal(b []byte) error
type GetContainerProfileStreamRequest ¶ added in v0.0.43
type GetContainerProfileStreamRequest struct {
// Namespace of the workload.
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
// Name of the container profile to fetch.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Region of the resource (non-k8s scope identifier).
Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
// CloudAccountIdentifier of the resource (non-k8s scope identifier).
CloudAccountIdentifier string `` /* 129-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
GetContainerProfileStreamRequest mirrors the ContainerProfile-shaped fields of GetProfileRequest. customer_guid, cluster, host_type, and host_id are sent via gRPC metadata headers.
func (*GetContainerProfileStreamRequest) Descriptor ¶ added in v0.0.43
func (*GetContainerProfileStreamRequest) Descriptor() ([]byte, []int)
func (*GetContainerProfileStreamRequest) GetCloudAccountIdentifier ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) GetCloudAccountIdentifier() string
func (*GetContainerProfileStreamRequest) GetName ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) GetName() string
func (*GetContainerProfileStreamRequest) GetNamespace ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) GetNamespace() string
func (*GetContainerProfileStreamRequest) GetRegion ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) GetRegion() string
func (*GetContainerProfileStreamRequest) ProtoMessage ¶ added in v0.0.43
func (*GetContainerProfileStreamRequest) ProtoMessage()
func (*GetContainerProfileStreamRequest) Reset ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) Reset()
func (*GetContainerProfileStreamRequest) String ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) String() string
func (*GetContainerProfileStreamRequest) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) XXX_DiscardUnknown()
func (*GetContainerProfileStreamRequest) XXX_Marshal ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetContainerProfileStreamRequest) XXX_Merge ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) XXX_Merge(src proto.Message)
func (*GetContainerProfileStreamRequest) XXX_Size ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) XXX_Size() int
func (*GetContainerProfileStreamRequest) XXX_Unmarshal ¶ added in v0.0.43
func (m *GetContainerProfileStreamRequest) XXX_Unmarshal(b []byte) error
type GetProfileRequest ¶
type GetProfileRequest struct {
// Kind specifies the type of profile: "applicationProfile", "networkNeighborhood", or "containerProfile"
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// Namespace of the workload (k8s scope identifier)
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
// Name of the workload
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Region of the resource (non-k8s scope identifier, e.g. "us-east-1")
Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
// CloudAccountIdentifier of the resource (non-k8s scope identifier, e.g. AWS account ID "123456789012", GCP project ID)
CloudAccountIdentifier string `` /* 129-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
GetProfileRequest requests an aggregated profile customer_guid, cluster, host_type, and host_id are sent via gRPC metadata headers
func (*GetProfileRequest) Descriptor ¶
func (*GetProfileRequest) Descriptor() ([]byte, []int)
func (*GetProfileRequest) GetCloudAccountIdentifier ¶ added in v0.0.39
func (m *GetProfileRequest) GetCloudAccountIdentifier() string
func (*GetProfileRequest) GetKind ¶
func (m *GetProfileRequest) GetKind() string
func (*GetProfileRequest) GetName ¶
func (m *GetProfileRequest) GetName() string
func (*GetProfileRequest) GetNamespace ¶
func (m *GetProfileRequest) GetNamespace() string
func (*GetProfileRequest) GetRegion ¶ added in v0.0.39
func (m *GetProfileRequest) GetRegion() string
func (*GetProfileRequest) ProtoMessage ¶
func (*GetProfileRequest) ProtoMessage()
func (*GetProfileRequest) Reset ¶
func (m *GetProfileRequest) Reset()
func (*GetProfileRequest) String ¶
func (m *GetProfileRequest) String() string
func (*GetProfileRequest) XXX_DiscardUnknown ¶ added in v0.0.38
func (m *GetProfileRequest) XXX_DiscardUnknown()
func (*GetProfileRequest) XXX_Marshal ¶ added in v0.0.38
func (m *GetProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProfileRequest) XXX_Merge ¶ added in v0.0.38
func (m *GetProfileRequest) XXX_Merge(src proto.Message)
func (*GetProfileRequest) XXX_Size ¶ added in v0.0.38
func (m *GetProfileRequest) XXX_Size() int
func (*GetProfileRequest) XXX_Unmarshal ¶ added in v0.0.38
func (m *GetProfileRequest) XXX_Unmarshal(b []byte) error
type GetProfileResponse ¶
type GetProfileResponse struct {
// Success indicates if the profile was successfully retrieved
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// Error message if the operation failed
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// Error code for programmatic error handling
ErrorCode ErrorCode `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=storageserver.v1.ErrorCode" json:"error_code,omitempty"`
// ApplicationProfile is populated when kind is "applicationProfile"
ApplicationProfile *v1beta1.ApplicationProfile `protobuf:"bytes,4,opt,name=application_profile,json=applicationProfile,proto3" json:"application_profile,omitempty"`
// NetworkNeighborhood is populated when kind is "networkNeighborhood"
NetworkNeighborhood *v1beta1.NetworkNeighborhood `protobuf:"bytes,5,opt,name=network_neighborhood,json=networkNeighborhood,proto3" json:"network_neighborhood,omitempty"`
// ContainerProfile is populated when kind is "containerProfile"
ContainerProfile *v1beta1.ContainerProfile `protobuf:"bytes,6,opt,name=container_profile,json=containerProfile,proto3" json:"container_profile,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
GetProfileResponse contains the aggregated profile
func (*GetProfileResponse) Descriptor ¶
func (*GetProfileResponse) Descriptor() ([]byte, []int)
func (*GetProfileResponse) GetApplicationProfile ¶
func (m *GetProfileResponse) GetApplicationProfile() *v1beta1.ApplicationProfile
func (*GetProfileResponse) GetContainerProfile ¶ added in v0.0.41
func (m *GetProfileResponse) GetContainerProfile() *v1beta1.ContainerProfile
func (*GetProfileResponse) GetErrorCode ¶
func (m *GetProfileResponse) GetErrorCode() ErrorCode
func (*GetProfileResponse) GetErrorMessage ¶
func (m *GetProfileResponse) GetErrorMessage() string
func (*GetProfileResponse) GetNetworkNeighborhood ¶
func (m *GetProfileResponse) GetNetworkNeighborhood() *v1beta1.NetworkNeighborhood
func (*GetProfileResponse) GetSuccess ¶
func (m *GetProfileResponse) GetSuccess() bool
func (*GetProfileResponse) ProtoMessage ¶
func (*GetProfileResponse) ProtoMessage()
func (*GetProfileResponse) Reset ¶
func (m *GetProfileResponse) Reset()
func (*GetProfileResponse) String ¶
func (m *GetProfileResponse) String() string
func (*GetProfileResponse) XXX_DiscardUnknown ¶ added in v0.0.38
func (m *GetProfileResponse) XXX_DiscardUnknown()
func (*GetProfileResponse) XXX_Marshal ¶ added in v0.0.38
func (m *GetProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProfileResponse) XXX_Merge ¶ added in v0.0.38
func (m *GetProfileResponse) XXX_Merge(src proto.Message)
func (*GetProfileResponse) XXX_Size ¶ added in v0.0.38
func (m *GetProfileResponse) XXX_Size() int
func (*GetProfileResponse) XXX_Unmarshal ¶ added in v0.0.38
func (m *GetProfileResponse) XXX_Unmarshal(b []byte) error
type GetSBOMChunk ¶ added in v0.0.43
type GetSBOMChunk struct {
// metadata is set on the first chunk only.
Metadata *GetSBOMChunkMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// blob_chunk is a slice of the marshaled SBOMSyft payload.
BlobChunk []byte `protobuf:"bytes,2,opt,name=blob_chunk,json=blobChunk,proto3" json:"blob_chunk,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
GetSBOMChunk is a single chunk of a streamed SBOM response. The first chunk sets metadata + status; subsequent chunks set only blob_chunk.
func (*GetSBOMChunk) Descriptor ¶ added in v0.0.43
func (*GetSBOMChunk) Descriptor() ([]byte, []int)
func (*GetSBOMChunk) GetBlobChunk ¶ added in v0.0.43
func (m *GetSBOMChunk) GetBlobChunk() []byte
func (*GetSBOMChunk) GetMetadata ¶ added in v0.0.43
func (m *GetSBOMChunk) GetMetadata() *GetSBOMChunkMetadata
func (*GetSBOMChunk) ProtoMessage ¶ added in v0.0.43
func (*GetSBOMChunk) ProtoMessage()
func (*GetSBOMChunk) Reset ¶ added in v0.0.43
func (m *GetSBOMChunk) Reset()
func (*GetSBOMChunk) String ¶ added in v0.0.43
func (m *GetSBOMChunk) String() string
func (*GetSBOMChunk) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *GetSBOMChunk) XXX_DiscardUnknown()
func (*GetSBOMChunk) XXX_Marshal ¶ added in v0.0.43
func (m *GetSBOMChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSBOMChunk) XXX_Merge ¶ added in v0.0.43
func (m *GetSBOMChunk) XXX_Merge(src proto.Message)
func (*GetSBOMChunk) XXX_Size ¶ added in v0.0.43
func (m *GetSBOMChunk) XXX_Size() int
func (*GetSBOMChunk) XXX_Unmarshal ¶ added in v0.0.43
func (m *GetSBOMChunk) XXX_Unmarshal(b []byte) error
type GetSBOMChunkMetadata ¶ added in v0.0.43
type GetSBOMChunkMetadata struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
ErrorCode ErrorCode `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=storageserver.v1.ErrorCode" json:"error_code,omitempty"`
Exists bool `protobuf:"varint,4,opt,name=exists,proto3" json:"exists,omitempty"`
SbomMetadata *SBOMMetadata `protobuf:"bytes,5,opt,name=sbom_metadata,json=sbomMetadata,proto3" json:"sbom_metadata,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
GetSBOMChunkMetadata is the status header sent on the first chunk of a GetSBOM response. If exists=false, success=false, or the request set metadata_only=true, the server closes the stream without sending blob chunks.
func (*GetSBOMChunkMetadata) Descriptor ¶ added in v0.0.43
func (*GetSBOMChunkMetadata) Descriptor() ([]byte, []int)
func (*GetSBOMChunkMetadata) GetErrorCode ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) GetErrorCode() ErrorCode
func (*GetSBOMChunkMetadata) GetErrorMessage ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) GetErrorMessage() string
func (*GetSBOMChunkMetadata) GetExists ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) GetExists() bool
func (*GetSBOMChunkMetadata) GetSbomMetadata ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) GetSbomMetadata() *SBOMMetadata
func (*GetSBOMChunkMetadata) GetSuccess ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) GetSuccess() bool
func (*GetSBOMChunkMetadata) ProtoMessage ¶ added in v0.0.43
func (*GetSBOMChunkMetadata) ProtoMessage()
func (*GetSBOMChunkMetadata) Reset ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) Reset()
func (*GetSBOMChunkMetadata) String ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) String() string
func (*GetSBOMChunkMetadata) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) XXX_DiscardUnknown()
func (*GetSBOMChunkMetadata) XXX_Marshal ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSBOMChunkMetadata) XXX_Merge ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) XXX_Merge(src proto.Message)
func (*GetSBOMChunkMetadata) XXX_Size ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) XXX_Size() int
func (*GetSBOMChunkMetadata) XXX_Unmarshal ¶ added in v0.0.43
func (m *GetSBOMChunkMetadata) XXX_Unmarshal(b []byte) error
type GetSBOMRequest ¶ added in v0.0.43
type GetSBOMRequest struct {
// image_digest is the SHA-256 digest of the requested image (without the
// "sha256:" prefix).
ImageDigest string `protobuf:"bytes,1,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"`
// syft_version is the syft version that produced the requested SBOM. The
// (image_digest, syft_version) pair is the lookup key. Leave empty to
// request "latest available version" semantics; the server returns the
// most recently created SBOM for the image.
SyftVersion string `protobuf:"bytes,2,opt,name=syft_version,json=syftVersion,proto3" json:"syft_version,omitempty"`
// metadata_only skips the blob and returns only SBOMMetadata. Used by
// agents to decide whether to regenerate.
MetadataOnly bool `protobuf:"varint,3,opt,name=metadata_only,json=metadataOnly,proto3" json:"metadata_only,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
GetSBOMRequest probes for or fetches an SBOM by primary key. customer_guid is sent via gRPC metadata headers.
func (*GetSBOMRequest) Descriptor ¶ added in v0.0.43
func (*GetSBOMRequest) Descriptor() ([]byte, []int)
func (*GetSBOMRequest) GetImageDigest ¶ added in v0.0.43
func (m *GetSBOMRequest) GetImageDigest() string
func (*GetSBOMRequest) GetMetadataOnly ¶ added in v0.0.43
func (m *GetSBOMRequest) GetMetadataOnly() bool
func (*GetSBOMRequest) GetSyftVersion ¶ added in v0.0.43
func (m *GetSBOMRequest) GetSyftVersion() string
func (*GetSBOMRequest) ProtoMessage ¶ added in v0.0.43
func (*GetSBOMRequest) ProtoMessage()
func (*GetSBOMRequest) Reset ¶ added in v0.0.43
func (m *GetSBOMRequest) Reset()
func (*GetSBOMRequest) String ¶ added in v0.0.43
func (m *GetSBOMRequest) String() string
func (*GetSBOMRequest) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *GetSBOMRequest) XXX_DiscardUnknown()
func (*GetSBOMRequest) XXX_Marshal ¶ added in v0.0.43
func (m *GetSBOMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSBOMRequest) XXX_Merge ¶ added in v0.0.43
func (m *GetSBOMRequest) XXX_Merge(src proto.Message)
func (*GetSBOMRequest) XXX_Size ¶ added in v0.0.43
func (m *GetSBOMRequest) XXX_Size() int
func (*GetSBOMRequest) XXX_Unmarshal ¶ added in v0.0.43
func (m *GetSBOMRequest) XXX_Unmarshal(b []byte) error
type ListApplicationProfilesRequest ¶
type ListApplicationProfilesRequest struct {
// Namespace to list profiles from
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
// Limit number of items to return (0 means server default)
Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
// Continue token for pagination
Cont string `protobuf:"bytes,5,opt,name=cont,proto3" json:"cont,omitempty"`
// Region of the resource (non-k8s scope identifier, e.g. "us-east-1")
Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
// CloudAccountIdentifier of the resource (non-k8s scope identifier, e.g. AWS account ID "123456789012", GCP project ID)
CloudAccountIdentifier string `` /* 129-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
ListApplicationProfilesRequest requests a list of ApplicationProfiles in a namespace customer_guid, cluster, host_type, and host_id are sent via gRPC metadata headers
func (*ListApplicationProfilesRequest) Descriptor ¶
func (*ListApplicationProfilesRequest) Descriptor() ([]byte, []int)
func (*ListApplicationProfilesRequest) GetCloudAccountIdentifier ¶ added in v0.0.39
func (m *ListApplicationProfilesRequest) GetCloudAccountIdentifier() string
func (*ListApplicationProfilesRequest) GetCont ¶ added in v0.0.35
func (m *ListApplicationProfilesRequest) GetCont() string
func (*ListApplicationProfilesRequest) GetLimit ¶ added in v0.0.35
func (m *ListApplicationProfilesRequest) GetLimit() int64
func (*ListApplicationProfilesRequest) GetNamespace ¶
func (m *ListApplicationProfilesRequest) GetNamespace() string
func (*ListApplicationProfilesRequest) GetRegion ¶ added in v0.0.39
func (m *ListApplicationProfilesRequest) GetRegion() string
func (*ListApplicationProfilesRequest) ProtoMessage ¶
func (*ListApplicationProfilesRequest) ProtoMessage()
func (*ListApplicationProfilesRequest) Reset ¶
func (m *ListApplicationProfilesRequest) Reset()
func (*ListApplicationProfilesRequest) String ¶
func (m *ListApplicationProfilesRequest) String() string
func (*ListApplicationProfilesRequest) XXX_DiscardUnknown ¶ added in v0.0.38
func (m *ListApplicationProfilesRequest) XXX_DiscardUnknown()
func (*ListApplicationProfilesRequest) XXX_Marshal ¶ added in v0.0.38
func (m *ListApplicationProfilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListApplicationProfilesRequest) XXX_Merge ¶ added in v0.0.38
func (m *ListApplicationProfilesRequest) XXX_Merge(src proto.Message)
func (*ListApplicationProfilesRequest) XXX_Size ¶ added in v0.0.38
func (m *ListApplicationProfilesRequest) XXX_Size() int
func (*ListApplicationProfilesRequest) XXX_Unmarshal ¶ added in v0.0.38
func (m *ListApplicationProfilesRequest) XXX_Unmarshal(b []byte) error
type ListApplicationProfilesResponse ¶
type ListApplicationProfilesResponse struct {
// Success indicates if the list was successfully retrieved
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// Error message if the operation failed
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// Error code for programmatic error handling
ErrorCode ErrorCode `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=storageserver.v1.ErrorCode" json:"error_code,omitempty"`
// ApplicationProfiles list (Spec will be nil for each item)
ApplicationProfiles []*v1beta1.ApplicationProfile `protobuf:"bytes,4,rep,name=application_profiles,json=applicationProfiles,proto3" json:"application_profiles,omitempty"`
// Continue token for next page (empty if no more results)
Cont string `protobuf:"bytes,5,opt,name=cont,proto3" json:"cont,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
ListApplicationProfilesResponse contains the list of ApplicationProfiles (with nil Spec)
func (*ListApplicationProfilesResponse) Descriptor ¶
func (*ListApplicationProfilesResponse) Descriptor() ([]byte, []int)
func (*ListApplicationProfilesResponse) GetApplicationProfiles ¶
func (m *ListApplicationProfilesResponse) GetApplicationProfiles() []*v1beta1.ApplicationProfile
func (*ListApplicationProfilesResponse) GetCont ¶ added in v0.0.36
func (m *ListApplicationProfilesResponse) GetCont() string
func (*ListApplicationProfilesResponse) GetErrorCode ¶
func (m *ListApplicationProfilesResponse) GetErrorCode() ErrorCode
func (*ListApplicationProfilesResponse) GetErrorMessage ¶
func (m *ListApplicationProfilesResponse) GetErrorMessage() string
func (*ListApplicationProfilesResponse) GetSuccess ¶
func (m *ListApplicationProfilesResponse) GetSuccess() bool
func (*ListApplicationProfilesResponse) ProtoMessage ¶
func (*ListApplicationProfilesResponse) ProtoMessage()
func (*ListApplicationProfilesResponse) Reset ¶
func (m *ListApplicationProfilesResponse) Reset()
func (*ListApplicationProfilesResponse) String ¶
func (m *ListApplicationProfilesResponse) String() string
func (*ListApplicationProfilesResponse) XXX_DiscardUnknown ¶ added in v0.0.38
func (m *ListApplicationProfilesResponse) XXX_DiscardUnknown()
func (*ListApplicationProfilesResponse) XXX_Marshal ¶ added in v0.0.38
func (m *ListApplicationProfilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListApplicationProfilesResponse) XXX_Merge ¶ added in v0.0.38
func (m *ListApplicationProfilesResponse) XXX_Merge(src proto.Message)
func (*ListApplicationProfilesResponse) XXX_Size ¶ added in v0.0.38
func (m *ListApplicationProfilesResponse) XXX_Size() int
func (*ListApplicationProfilesResponse) XXX_Unmarshal ¶ added in v0.0.38
func (m *ListApplicationProfilesResponse) XXX_Unmarshal(b []byte) error
type ListNetworkNeighborhoodsRequest ¶
type ListNetworkNeighborhoodsRequest struct {
// Namespace to list neighborhoods from
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
// Limit number of items to return (0 means server default)
Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
// Continue token for pagination
Cont string `protobuf:"bytes,5,opt,name=cont,proto3" json:"cont,omitempty"`
// Region of the resource (non-k8s scope identifier, e.g. "us-east-1")
Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
// CloudAccountIdentifier of the resource (non-k8s scope identifier, e.g. AWS account ID "123456789012", GCP project ID)
CloudAccountIdentifier string `` /* 129-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
ListNetworkNeighborhoodsRequest requests a list of NetworkNeighborhoods in a namespace customer_guid, cluster, host_type, and host_id are sent via gRPC metadata headers
func (*ListNetworkNeighborhoodsRequest) Descriptor ¶
func (*ListNetworkNeighborhoodsRequest) Descriptor() ([]byte, []int)
func (*ListNetworkNeighborhoodsRequest) GetCloudAccountIdentifier ¶ added in v0.0.39
func (m *ListNetworkNeighborhoodsRequest) GetCloudAccountIdentifier() string
func (*ListNetworkNeighborhoodsRequest) GetCont ¶ added in v0.0.35
func (m *ListNetworkNeighborhoodsRequest) GetCont() string
func (*ListNetworkNeighborhoodsRequest) GetLimit ¶ added in v0.0.35
func (m *ListNetworkNeighborhoodsRequest) GetLimit() int64
func (*ListNetworkNeighborhoodsRequest) GetNamespace ¶
func (m *ListNetworkNeighborhoodsRequest) GetNamespace() string
func (*ListNetworkNeighborhoodsRequest) GetRegion ¶ added in v0.0.39
func (m *ListNetworkNeighborhoodsRequest) GetRegion() string
func (*ListNetworkNeighborhoodsRequest) ProtoMessage ¶
func (*ListNetworkNeighborhoodsRequest) ProtoMessage()
func (*ListNetworkNeighborhoodsRequest) Reset ¶
func (m *ListNetworkNeighborhoodsRequest) Reset()
func (*ListNetworkNeighborhoodsRequest) String ¶
func (m *ListNetworkNeighborhoodsRequest) String() string
func (*ListNetworkNeighborhoodsRequest) XXX_DiscardUnknown ¶ added in v0.0.38
func (m *ListNetworkNeighborhoodsRequest) XXX_DiscardUnknown()
func (*ListNetworkNeighborhoodsRequest) XXX_Marshal ¶ added in v0.0.38
func (m *ListNetworkNeighborhoodsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNetworkNeighborhoodsRequest) XXX_Merge ¶ added in v0.0.38
func (m *ListNetworkNeighborhoodsRequest) XXX_Merge(src proto.Message)
func (*ListNetworkNeighborhoodsRequest) XXX_Size ¶ added in v0.0.38
func (m *ListNetworkNeighborhoodsRequest) XXX_Size() int
func (*ListNetworkNeighborhoodsRequest) XXX_Unmarshal ¶ added in v0.0.38
func (m *ListNetworkNeighborhoodsRequest) XXX_Unmarshal(b []byte) error
type ListNetworkNeighborhoodsResponse ¶
type ListNetworkNeighborhoodsResponse struct {
// Success indicates if the list was successfully retrieved
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// Error message if the operation failed
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// Error code for programmatic error handling
ErrorCode ErrorCode `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=storageserver.v1.ErrorCode" json:"error_code,omitempty"`
// NetworkNeighborhoods list (Spec will be nil for each item)
NetworkNeighborhoods []*v1beta1.NetworkNeighborhood `protobuf:"bytes,4,rep,name=network_neighborhoods,json=networkNeighborhoods,proto3" json:"network_neighborhoods,omitempty"`
// Continue token for next page (empty if no more results)
Cont string `protobuf:"bytes,5,opt,name=cont,proto3" json:"cont,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
ListNetworkNeighborhoodsResponse contains the list of NetworkNeighborhoods (with nil Spec)
func (*ListNetworkNeighborhoodsResponse) Descriptor ¶
func (*ListNetworkNeighborhoodsResponse) Descriptor() ([]byte, []int)
func (*ListNetworkNeighborhoodsResponse) GetCont ¶ added in v0.0.36
func (m *ListNetworkNeighborhoodsResponse) GetCont() string
func (*ListNetworkNeighborhoodsResponse) GetErrorCode ¶
func (m *ListNetworkNeighborhoodsResponse) GetErrorCode() ErrorCode
func (*ListNetworkNeighborhoodsResponse) GetErrorMessage ¶
func (m *ListNetworkNeighborhoodsResponse) GetErrorMessage() string
func (*ListNetworkNeighborhoodsResponse) GetNetworkNeighborhoods ¶
func (m *ListNetworkNeighborhoodsResponse) GetNetworkNeighborhoods() []*v1beta1.NetworkNeighborhood
func (*ListNetworkNeighborhoodsResponse) GetSuccess ¶
func (m *ListNetworkNeighborhoodsResponse) GetSuccess() bool
func (*ListNetworkNeighborhoodsResponse) ProtoMessage ¶
func (*ListNetworkNeighborhoodsResponse) ProtoMessage()
func (*ListNetworkNeighborhoodsResponse) Reset ¶
func (m *ListNetworkNeighborhoodsResponse) Reset()
func (*ListNetworkNeighborhoodsResponse) String ¶
func (m *ListNetworkNeighborhoodsResponse) String() string
func (*ListNetworkNeighborhoodsResponse) XXX_DiscardUnknown ¶ added in v0.0.38
func (m *ListNetworkNeighborhoodsResponse) XXX_DiscardUnknown()
func (*ListNetworkNeighborhoodsResponse) XXX_Marshal ¶ added in v0.0.38
func (m *ListNetworkNeighborhoodsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNetworkNeighborhoodsResponse) XXX_Merge ¶ added in v0.0.38
func (m *ListNetworkNeighborhoodsResponse) XXX_Merge(src proto.Message)
func (*ListNetworkNeighborhoodsResponse) XXX_Size ¶ added in v0.0.38
func (m *ListNetworkNeighborhoodsResponse) XXX_Size() int
func (*ListNetworkNeighborhoodsResponse) XXX_Unmarshal ¶ added in v0.0.38
func (m *ListNetworkNeighborhoodsResponse) XXX_Unmarshal(b []byte) error
type PutSBOMChunk ¶ added in v0.0.43
type PutSBOMChunk struct {
// metadata is set on the first chunk only.
Metadata *PutSBOMChunkMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// blob_chunk is a slice of the marshaled SBOMSyft payload.
BlobChunk []byte `protobuf:"bytes,2,opt,name=blob_chunk,json=blobChunk,proto3" json:"blob_chunk,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
PutSBOMChunk is a single chunk of a streamed SBOM upload. The first chunk in the stream MUST set metadata. Subsequent chunks set only blob_chunk. Concatenated blob_chunk values form the marshaled SBOMSyft proto payload.
func (*PutSBOMChunk) Descriptor ¶ added in v0.0.43
func (*PutSBOMChunk) Descriptor() ([]byte, []int)
func (*PutSBOMChunk) GetBlobChunk ¶ added in v0.0.43
func (m *PutSBOMChunk) GetBlobChunk() []byte
func (*PutSBOMChunk) GetMetadata ¶ added in v0.0.43
func (m *PutSBOMChunk) GetMetadata() *PutSBOMChunkMetadata
func (*PutSBOMChunk) ProtoMessage ¶ added in v0.0.43
func (*PutSBOMChunk) ProtoMessage()
func (*PutSBOMChunk) Reset ¶ added in v0.0.43
func (m *PutSBOMChunk) Reset()
func (*PutSBOMChunk) String ¶ added in v0.0.43
func (m *PutSBOMChunk) String() string
func (*PutSBOMChunk) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *PutSBOMChunk) XXX_DiscardUnknown()
func (*PutSBOMChunk) XXX_Marshal ¶ added in v0.0.43
func (m *PutSBOMChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutSBOMChunk) XXX_Merge ¶ added in v0.0.43
func (m *PutSBOMChunk) XXX_Merge(src proto.Message)
func (*PutSBOMChunk) XXX_Size ¶ added in v0.0.43
func (m *PutSBOMChunk) XXX_Size() int
func (*PutSBOMChunk) XXX_Unmarshal ¶ added in v0.0.43
func (m *PutSBOMChunk) XXX_Unmarshal(b []byte) error
type PutSBOMChunkMetadata ¶ added in v0.0.43
type PutSBOMChunkMetadata struct {
ImageDigest string `protobuf:"bytes,1,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"`
SyftVersion string `protobuf:"bytes,2,opt,name=syft_version,json=syftVersion,proto3" json:"syft_version,omitempty"`
Source SBOMSource `protobuf:"varint,3,opt,name=source,proto3,enum=storageserver.v1.SBOMSource" json:"source,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
PutSBOMChunkMetadata is the metadata header sent on the first chunk of a PutSBOM call.
func (*PutSBOMChunkMetadata) Descriptor ¶ added in v0.0.43
func (*PutSBOMChunkMetadata) Descriptor() ([]byte, []int)
func (*PutSBOMChunkMetadata) GetImageDigest ¶ added in v0.0.43
func (m *PutSBOMChunkMetadata) GetImageDigest() string
func (*PutSBOMChunkMetadata) GetSource ¶ added in v0.0.43
func (m *PutSBOMChunkMetadata) GetSource() SBOMSource
func (*PutSBOMChunkMetadata) GetSyftVersion ¶ added in v0.0.43
func (m *PutSBOMChunkMetadata) GetSyftVersion() string
func (*PutSBOMChunkMetadata) ProtoMessage ¶ added in v0.0.43
func (*PutSBOMChunkMetadata) ProtoMessage()
func (*PutSBOMChunkMetadata) Reset ¶ added in v0.0.43
func (m *PutSBOMChunkMetadata) Reset()
func (*PutSBOMChunkMetadata) String ¶ added in v0.0.43
func (m *PutSBOMChunkMetadata) String() string
func (*PutSBOMChunkMetadata) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *PutSBOMChunkMetadata) XXX_DiscardUnknown()
func (*PutSBOMChunkMetadata) XXX_Marshal ¶ added in v0.0.43
func (m *PutSBOMChunkMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutSBOMChunkMetadata) XXX_Merge ¶ added in v0.0.43
func (m *PutSBOMChunkMetadata) XXX_Merge(src proto.Message)
func (*PutSBOMChunkMetadata) XXX_Size ¶ added in v0.0.43
func (m *PutSBOMChunkMetadata) XXX_Size() int
func (*PutSBOMChunkMetadata) XXX_Unmarshal ¶ added in v0.0.43
func (m *PutSBOMChunkMetadata) XXX_Unmarshal(b []byte) error
type PutSBOMResponse ¶ added in v0.0.43
type PutSBOMResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
ErrorCode ErrorCode `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=storageserver.v1.ErrorCode" json:"error_code,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
PutSBOMResponse indicates success or failure of the operation. S3 + Postgres persistence happens asynchronously via Pulsar; success here means the upload was accepted and the Pulsar message was published.
func (*PutSBOMResponse) Descriptor ¶ added in v0.0.43
func (*PutSBOMResponse) Descriptor() ([]byte, []int)
func (*PutSBOMResponse) GetErrorCode ¶ added in v0.0.43
func (m *PutSBOMResponse) GetErrorCode() ErrorCode
func (*PutSBOMResponse) GetErrorMessage ¶ added in v0.0.43
func (m *PutSBOMResponse) GetErrorMessage() string
func (*PutSBOMResponse) GetSuccess ¶ added in v0.0.43
func (m *PutSBOMResponse) GetSuccess() bool
func (*PutSBOMResponse) ProtoMessage ¶ added in v0.0.43
func (*PutSBOMResponse) ProtoMessage()
func (*PutSBOMResponse) Reset ¶ added in v0.0.43
func (m *PutSBOMResponse) Reset()
func (*PutSBOMResponse) String ¶ added in v0.0.43
func (m *PutSBOMResponse) String() string
func (*PutSBOMResponse) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *PutSBOMResponse) XXX_DiscardUnknown()
func (*PutSBOMResponse) XXX_Marshal ¶ added in v0.0.43
func (m *PutSBOMResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PutSBOMResponse) XXX_Merge ¶ added in v0.0.43
func (m *PutSBOMResponse) XXX_Merge(src proto.Message)
func (*PutSBOMResponse) XXX_Size ¶ added in v0.0.43
func (m *PutSBOMResponse) XXX_Size() int
func (*PutSBOMResponse) XXX_Unmarshal ¶ added in v0.0.43
func (m *PutSBOMResponse) XXX_Unmarshal(b []byte) error
type SBOMMetadata ¶ added in v0.0.43
type SBOMMetadata struct {
// image_digest of the scanned image (without the "sha256:" prefix).
ImageDigest string `protobuf:"bytes,1,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"`
// syft_version that produced the SBOM blob.
SyftVersion string `protobuf:"bytes,2,opt,name=syft_version,json=syftVersion,proto3" json:"syft_version,omitempty"`
// source identifies how this SBOM was produced.
Source SBOMSource `protobuf:"varint,3,opt,name=source,proto3,enum=storageserver.v1.SBOMSource" json:"source,omitempty"`
// blob_size_bytes is the size of the SBOM blob in S3.
BlobSizeBytes int64 `protobuf:"varint,4,opt,name=blob_size_bytes,json=blobSizeBytes,proto3" json:"blob_size_bytes,omitempty"`
// created_at is the RFC3339 timestamp when the row was first inserted.
CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// last_referenced_at is the RFC3339 timestamp when the orchestrator most
// recently resolved an inventory entry to this SBOM. Drives eviction.
LastReferencedAt string `protobuf:"bytes,6,opt,name=last_referenced_at,json=lastReferencedAt,proto3" json:"last_referenced_at,omitempty"`
// annotations carries the SBOMSyft's Kubernetes annotations so a
// metadata_only=true fetch is sufficient for agents that branch on them
// (e.g. status, tool-version, node-name, scanner-memory-limit) without
// downloading and unmarshaling the full SBOM blob.
Annotations map[string]string `` /* 163-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
SBOMMetadata is the indexed view of an SBOM row, returned by GetSBOM with or without metadata_only=true.
func (*SBOMMetadata) Descriptor ¶ added in v0.0.43
func (*SBOMMetadata) Descriptor() ([]byte, []int)
func (*SBOMMetadata) GetAnnotations ¶ added in v0.0.45
func (m *SBOMMetadata) GetAnnotations() map[string]string
func (*SBOMMetadata) GetBlobSizeBytes ¶ added in v0.0.43
func (m *SBOMMetadata) GetBlobSizeBytes() int64
func (*SBOMMetadata) GetCreatedAt ¶ added in v0.0.43
func (m *SBOMMetadata) GetCreatedAt() string
func (*SBOMMetadata) GetImageDigest ¶ added in v0.0.43
func (m *SBOMMetadata) GetImageDigest() string
func (*SBOMMetadata) GetLastReferencedAt ¶ added in v0.0.43
func (m *SBOMMetadata) GetLastReferencedAt() string
func (*SBOMMetadata) GetSource ¶ added in v0.0.43
func (m *SBOMMetadata) GetSource() SBOMSource
func (*SBOMMetadata) GetSyftVersion ¶ added in v0.0.43
func (m *SBOMMetadata) GetSyftVersion() string
func (*SBOMMetadata) ProtoMessage ¶ added in v0.0.43
func (*SBOMMetadata) ProtoMessage()
func (*SBOMMetadata) Reset ¶ added in v0.0.43
func (m *SBOMMetadata) Reset()
func (*SBOMMetadata) String ¶ added in v0.0.43
func (m *SBOMMetadata) String() string
func (*SBOMMetadata) XXX_DiscardUnknown ¶ added in v0.0.43
func (m *SBOMMetadata) XXX_DiscardUnknown()
func (*SBOMMetadata) XXX_Marshal ¶ added in v0.0.43
func (m *SBOMMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SBOMMetadata) XXX_Merge ¶ added in v0.0.43
func (m *SBOMMetadata) XXX_Merge(src proto.Message)
func (*SBOMMetadata) XXX_Size ¶ added in v0.0.43
func (m *SBOMMetadata) XXX_Size() int
func (*SBOMMetadata) XXX_Unmarshal ¶ added in v0.0.43
func (m *SBOMMetadata) XXX_Unmarshal(b []byte) error
type SBOMSource ¶ added in v0.0.43
type SBOMSource int32
SBOMSource identifies how an SBOM entered the backend.
const ( SBOMSource_SBOM_SOURCE_UNSPECIFIED SBOMSource = 0 // SBOM_SOURCE_WORKLOAD: generated by node-agent for an in-cluster workload image. SBOMSource_SBOM_SOURCE_WORKLOAD SBOMSource = 1 // SBOM_SOURCE_REGISTRY: generated by kubevuln for a registry image (Registry Epic). SBOMSource_SBOM_SOURCE_REGISTRY SBOMSource = 2 // SBOM_SOURCE_HOST: generated by the host scanner for an EC2 host snapshot. SBOMSource_SBOM_SOURCE_HOST SBOMSource = 3 )
func (SBOMSource) EnumDescriptor ¶ added in v0.0.43
func (SBOMSource) EnumDescriptor() ([]byte, []int)
func (SBOMSource) String ¶ added in v0.0.43
func (x SBOMSource) String() string
type SendContainerProfileRequest ¶
type SendContainerProfileRequest struct {
// ContainerProfile is the time-series container profile from node agent
ContainerProfile *v1beta1.ContainerProfile `protobuf:"bytes,1,opt,name=container_profile,json=containerProfile,proto3" json:"container_profile,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
SendContainerProfileRequest contains the container profile to be stored customer_guid, cluster, host_type, and host_id are sent via gRPC metadata headers
func (*SendContainerProfileRequest) Descriptor ¶
func (*SendContainerProfileRequest) Descriptor() ([]byte, []int)
func (*SendContainerProfileRequest) GetContainerProfile ¶
func (m *SendContainerProfileRequest) GetContainerProfile() *v1beta1.ContainerProfile
func (*SendContainerProfileRequest) ProtoMessage ¶
func (*SendContainerProfileRequest) ProtoMessage()
func (*SendContainerProfileRequest) Reset ¶
func (m *SendContainerProfileRequest) Reset()
func (*SendContainerProfileRequest) String ¶
func (m *SendContainerProfileRequest) String() string
func (*SendContainerProfileRequest) XXX_DiscardUnknown ¶ added in v0.0.38
func (m *SendContainerProfileRequest) XXX_DiscardUnknown()
func (*SendContainerProfileRequest) XXX_Marshal ¶ added in v0.0.38
func (m *SendContainerProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendContainerProfileRequest) XXX_Merge ¶ added in v0.0.38
func (m *SendContainerProfileRequest) XXX_Merge(src proto.Message)
func (*SendContainerProfileRequest) XXX_Size ¶ added in v0.0.38
func (m *SendContainerProfileRequest) XXX_Size() int
func (*SendContainerProfileRequest) XXX_Unmarshal ¶ added in v0.0.38
func (m *SendContainerProfileRequest) XXX_Unmarshal(b []byte) error
type SendContainerProfileResponse ¶
type SendContainerProfileResponse struct {
// Success indicates if the profile was successfully sent to Pulsar
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
// Error message if the operation failed
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// Error code for programmatic error handling
ErrorCode ErrorCode `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3,enum=storageserver.v1.ErrorCode" json:"error_code,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
SendContainerProfileResponse indicates success or failure of the operation
func (*SendContainerProfileResponse) Descriptor ¶
func (*SendContainerProfileResponse) Descriptor() ([]byte, []int)
func (*SendContainerProfileResponse) GetErrorCode ¶
func (m *SendContainerProfileResponse) GetErrorCode() ErrorCode
func (*SendContainerProfileResponse) GetErrorMessage ¶
func (m *SendContainerProfileResponse) GetErrorMessage() string
func (*SendContainerProfileResponse) GetSuccess ¶
func (m *SendContainerProfileResponse) GetSuccess() bool
func (*SendContainerProfileResponse) ProtoMessage ¶
func (*SendContainerProfileResponse) ProtoMessage()
func (*SendContainerProfileResponse) Reset ¶
func (m *SendContainerProfileResponse) Reset()
func (*SendContainerProfileResponse) String ¶
func (m *SendContainerProfileResponse) String() string
func (*SendContainerProfileResponse) XXX_DiscardUnknown ¶ added in v0.0.38
func (m *SendContainerProfileResponse) XXX_DiscardUnknown()
func (*SendContainerProfileResponse) XXX_Marshal ¶ added in v0.0.38
func (m *SendContainerProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendContainerProfileResponse) XXX_Merge ¶ added in v0.0.38
func (m *SendContainerProfileResponse) XXX_Merge(src proto.Message)
func (*SendContainerProfileResponse) XXX_Size ¶ added in v0.0.38
func (m *SendContainerProfileResponse) XXX_Size() int
func (*SendContainerProfileResponse) XXX_Unmarshal ¶ added in v0.0.38
func (m *SendContainerProfileResponse) XXX_Unmarshal(b []byte) error
type StorageServiceClient ¶
type StorageServiceClient interface {
// Deprecated: Do not use.
// SendContainerProfile receives a container profile (time-series snapshot) from node agent
// and sends it to Pulsar for processing by the ingester.
//
// Deprecated: use SendContainerProfileStream. The unary form is silently
// capped by gRPC's default 4 MiB message limit; container profiles with
// many or large entries (or with MaxContainerProfileSize raised) can
// exceed this and fail on the wire. The streaming variant has no such
// bound.
SendContainerProfile(ctx context.Context, in *SendContainerProfileRequest, opts ...grpc.CallOption) (*SendContainerProfileResponse, error)
// GetProfile retrieves an aggregated profile (ApplicationProfile, NetworkNeighborhood,
// or ContainerProfile) by fetching them from S3.
//
// Note: for ContainerProfile specifically, prefer GetContainerProfileStream,
// which is not subject to the default 4 MiB unary gRPC message limit.
GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*GetProfileResponse, error)
// ListApplicationProfiles lists all ApplicationProfiles in a namespace (returns metadata only, nil Spec)
ListApplicationProfiles(ctx context.Context, in *ListApplicationProfilesRequest, opts ...grpc.CallOption) (*ListApplicationProfilesResponse, error)
// ListNetworkNeighborhoods lists all NetworkNeighborhoods in a namespace (returns metadata only, nil Spec)
ListNetworkNeighborhoods(ctx context.Context, in *ListNetworkNeighborhoodsRequest, opts ...grpc.CallOption) (*ListNetworkNeighborhoodsResponse, error)
// SendContainerProfileStream is the streaming replacement for
// SendContainerProfile. Client-streaming so the caller need not know the
// payload size in advance — required because container profiles with
// many or large entries can exceed the default 4 MiB unary gRPC limit.
//
// The first chunk MUST set metadata (which carries identifying labels
// and may be empty otherwise) and MAY include blob_chunk for small
// payloads. Subsequent chunks set only blob_chunk. Concatenated
// blob_chunk values form the marshaled ContainerProfile proto payload.
SendContainerProfileStream(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[ContainerProfileChunk, SendContainerProfileResponse], error)
// GetContainerProfileStream is the streaming replacement for
// GetProfile(kind=ContainerProfile). Server-streaming so the caller need
// not know the response size in advance.
//
// The first chunk in the response carries metadata + status. When the
// profile does not exist or success is false, the server closes the
// stream after the metadata chunk. Otherwise subsequent chunks carry
// the marshaled ContainerProfile bytes.
GetContainerProfileStream(ctx context.Context, in *GetContainerProfileStreamRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetContainerProfileStreamChunk], error)
// PutSBOMStream uploads an SBOM produced for an image. Client-streaming
// so the caller need not know the payload size in advance and can stream
// bytes from any io.Reader. Idempotent on (customer_guid, image_digest,
// syft_version) — duplicate calls upsert the metadata row and overwrite
// the S3 blob; end-state is consistent.
//
// The first chunk MUST set metadata (image_digest, syft_version, source)
// and MAY include blob_chunk for small payloads. Subsequent chunks set
// only blob_chunk. Concatenated blob_chunk values form the marshaled
// SBOMSyft proto payload.
PutSBOMStream(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[PutSBOMChunk, PutSBOMResponse], error)
// GetSBOMStream probes for or fetches an SBOM by (customer_guid,
// image_digest, syft_version). Server-streaming so the caller need not
// know the response size in advance.
//
// The first chunk in the response carries metadata + status. When the
// request sets metadata_only=true OR the row does not exist OR success
// is false, the server closes the stream after the metadata chunk.
// Otherwise subsequent chunks carry the marshaled SBOMSyft bytes.
GetSBOMStream(ctx context.Context, in *GetSBOMRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GetSBOMChunk], error)
}
StorageServiceClient is the client API for StorageService 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.
StorageService provides gRPC endpoints for node agent to communicate with backend storage
func NewStorageServiceClient ¶
func NewStorageServiceClient(cc grpc.ClientConnInterface) StorageServiceClient
type StorageServiceServer ¶
type StorageServiceServer interface {
// Deprecated: Do not use.
// SendContainerProfile receives a container profile (time-series snapshot) from node agent
// and sends it to Pulsar for processing by the ingester.
//
// Deprecated: use SendContainerProfileStream. The unary form is silently
// capped by gRPC's default 4 MiB message limit; container profiles with
// many or large entries (or with MaxContainerProfileSize raised) can
// exceed this and fail on the wire. The streaming variant has no such
// bound.
SendContainerProfile(context.Context, *SendContainerProfileRequest) (*SendContainerProfileResponse, error)
// GetProfile retrieves an aggregated profile (ApplicationProfile, NetworkNeighborhood,
// or ContainerProfile) by fetching them from S3.
//
// Note: for ContainerProfile specifically, prefer GetContainerProfileStream,
// which is not subject to the default 4 MiB unary gRPC message limit.
GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
// ListApplicationProfiles lists all ApplicationProfiles in a namespace (returns metadata only, nil Spec)
ListApplicationProfiles(context.Context, *ListApplicationProfilesRequest) (*ListApplicationProfilesResponse, error)
// ListNetworkNeighborhoods lists all NetworkNeighborhoods in a namespace (returns metadata only, nil Spec)
ListNetworkNeighborhoods(context.Context, *ListNetworkNeighborhoodsRequest) (*ListNetworkNeighborhoodsResponse, error)
// SendContainerProfileStream is the streaming replacement for
// SendContainerProfile. Client-streaming so the caller need not know the
// payload size in advance — required because container profiles with
// many or large entries can exceed the default 4 MiB unary gRPC limit.
//
// The first chunk MUST set metadata (which carries identifying labels
// and may be empty otherwise) and MAY include blob_chunk for small
// payloads. Subsequent chunks set only blob_chunk. Concatenated
// blob_chunk values form the marshaled ContainerProfile proto payload.
SendContainerProfileStream(grpc.ClientStreamingServer[ContainerProfileChunk, SendContainerProfileResponse]) error
// GetContainerProfileStream is the streaming replacement for
// GetProfile(kind=ContainerProfile). Server-streaming so the caller need
// not know the response size in advance.
//
// The first chunk in the response carries metadata + status. When the
// profile does not exist or success is false, the server closes the
// stream after the metadata chunk. Otherwise subsequent chunks carry
// the marshaled ContainerProfile bytes.
GetContainerProfileStream(*GetContainerProfileStreamRequest, grpc.ServerStreamingServer[GetContainerProfileStreamChunk]) error
// PutSBOMStream uploads an SBOM produced for an image. Client-streaming
// so the caller need not know the payload size in advance and can stream
// bytes from any io.Reader. Idempotent on (customer_guid, image_digest,
// syft_version) — duplicate calls upsert the metadata row and overwrite
// the S3 blob; end-state is consistent.
//
// The first chunk MUST set metadata (image_digest, syft_version, source)
// and MAY include blob_chunk for small payloads. Subsequent chunks set
// only blob_chunk. Concatenated blob_chunk values form the marshaled
// SBOMSyft proto payload.
PutSBOMStream(grpc.ClientStreamingServer[PutSBOMChunk, PutSBOMResponse]) error
// GetSBOMStream probes for or fetches an SBOM by (customer_guid,
// image_digest, syft_version). Server-streaming so the caller need not
// know the response size in advance.
//
// The first chunk in the response carries metadata + status. When the
// request sets metadata_only=true OR the row does not exist OR success
// is false, the server closes the stream after the metadata chunk.
// Otherwise subsequent chunks carry the marshaled SBOMSyft bytes.
GetSBOMStream(*GetSBOMRequest, grpc.ServerStreamingServer[GetSBOMChunk]) error
// contains filtered or unexported methods
}
StorageServiceServer is the server API for StorageService service. All implementations must embed UnimplementedStorageServiceServer for forward compatibility.
StorageService provides gRPC endpoints for node agent to communicate with backend storage
type StorageService_GetContainerProfileStreamClient ¶ added in v0.0.43
type StorageService_GetContainerProfileStreamClient = grpc.ServerStreamingClient[GetContainerProfileStreamChunk]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_GetContainerProfileStreamServer ¶ added in v0.0.43
type StorageService_GetContainerProfileStreamServer = grpc.ServerStreamingServer[GetContainerProfileStreamChunk]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_GetSBOMStreamClient ¶ added in v0.0.43
type StorageService_GetSBOMStreamClient = grpc.ServerStreamingClient[GetSBOMChunk]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_GetSBOMStreamServer ¶ added in v0.0.43
type StorageService_GetSBOMStreamServer = grpc.ServerStreamingServer[GetSBOMChunk]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_PutSBOMStreamClient ¶ added in v0.0.43
type StorageService_PutSBOMStreamClient = grpc.ClientStreamingClient[PutSBOMChunk, PutSBOMResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_PutSBOMStreamServer ¶ added in v0.0.43
type StorageService_PutSBOMStreamServer = grpc.ClientStreamingServer[PutSBOMChunk, PutSBOMResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_SendContainerProfileStreamClient ¶ added in v0.0.43
type StorageService_SendContainerProfileStreamClient = grpc.ClientStreamingClient[ContainerProfileChunk, SendContainerProfileResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StorageService_SendContainerProfileStreamServer ¶ added in v0.0.43
type StorageService_SendContainerProfileStreamServer = grpc.ClientStreamingServer[ContainerProfileChunk, SendContainerProfileResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type UnimplementedStorageServiceServer ¶
type UnimplementedStorageServiceServer struct{}
UnimplementedStorageServiceServer 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 (UnimplementedStorageServiceServer) GetContainerProfileStream ¶ added in v0.0.43
func (UnimplementedStorageServiceServer) GetContainerProfileStream(*GetContainerProfileStreamRequest, grpc.ServerStreamingServer[GetContainerProfileStreamChunk]) error
func (UnimplementedStorageServiceServer) GetProfile ¶
func (UnimplementedStorageServiceServer) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
func (UnimplementedStorageServiceServer) GetSBOMStream ¶ added in v0.0.43
func (UnimplementedStorageServiceServer) GetSBOMStream(*GetSBOMRequest, grpc.ServerStreamingServer[GetSBOMChunk]) error
func (UnimplementedStorageServiceServer) ListApplicationProfiles ¶
func (UnimplementedStorageServiceServer) ListApplicationProfiles(context.Context, *ListApplicationProfilesRequest) (*ListApplicationProfilesResponse, error)
func (UnimplementedStorageServiceServer) ListNetworkNeighborhoods ¶
func (UnimplementedStorageServiceServer) ListNetworkNeighborhoods(context.Context, *ListNetworkNeighborhoodsRequest) (*ListNetworkNeighborhoodsResponse, error)
func (UnimplementedStorageServiceServer) PutSBOMStream ¶ added in v0.0.43
func (UnimplementedStorageServiceServer) PutSBOMStream(grpc.ClientStreamingServer[PutSBOMChunk, PutSBOMResponse]) error
func (UnimplementedStorageServiceServer) SendContainerProfile ¶
func (UnimplementedStorageServiceServer) SendContainerProfile(context.Context, *SendContainerProfileRequest) (*SendContainerProfileResponse, error)
func (UnimplementedStorageServiceServer) SendContainerProfileStream ¶ added in v0.0.43
func (UnimplementedStorageServiceServer) SendContainerProfileStream(grpc.ClientStreamingServer[ContainerProfileChunk, SendContainerProfileResponse]) error
type UnsafeStorageServiceServer ¶
type UnsafeStorageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStorageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageServiceServer will result in compilation errors.