Documentation ¶
Index ¶
- Variables
- type Analyse
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetDestination() *Workload
- func (x *Connection) GetHost() string
- func (x *Connection) GetSource() *Workload
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type Host
- type Image
- type Sbom
- type Workload
- func (*Workload) Descriptor() ([]byte, []int)deprecated
- func (x *Workload) GetId() string
- func (x *Workload) GetResults() map[string]*Analyse
- func (x *Workload) GetType() WorkloadType
- func (*Workload) ProtoMessage()
- func (x *Workload) ProtoReflect() protoreflect.Message
- func (x *Workload) Reset()
- func (x *Workload) String() string
- type WorkloadType
- func (WorkloadType) Descriptor() protoreflect.EnumDescriptor
- func (x WorkloadType) Enum() *WorkloadType
- func (WorkloadType) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkloadType) Number() protoreflect.EnumNumber
- func (x WorkloadType) String() string
- func (WorkloadType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WorkloadType_name = map[int32]string{ 0: "KUBERNETES", 1: "HOST", 2: "WORLD", } WorkloadType_value = map[string]int32{ "KUBERNETES": 0, "HOST": 1, "WORLD": 2, } )
Enum value maps for WorkloadType.
View Source
var File_proto_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Analyse ¶
type Analyse struct { Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*Analyse) Descriptor
deprecated
func (*Analyse) GetResults ¶
func (*Analyse) ProtoMessage ¶
func (*Analyse) ProtoMessage()
func (*Analyse) ProtoReflect ¶
func (x *Analyse) ProtoReflect() protoreflect.Message
type Connection ¶
type Connection struct { Source *Workload `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Destination *Workload `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
func (*Connection) Descriptor
deprecated
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetDestination ¶
func (x *Connection) GetDestination() *Workload
func (*Connection) GetHost ¶
func (x *Connection) GetHost() string
func (*Connection) GetSource ¶
func (x *Connection) GetSource() *Workload
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
type Host ¶
type Host struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
func (*Host) Descriptor
deprecated
func (*Host) GetHostname ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
type Image ¶
type Image struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*Image) Descriptor
deprecated
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type Sbom ¶
type Sbom struct { Image *Image `protobuf:"bytes,1,opt,name=image,proto3,oneof" json:"image,omitempty"` Host *Host `protobuf:"bytes,2,opt,name=host,proto3,oneof" json:"host,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Sbom) Descriptor
deprecated
func (*Sbom) ProtoMessage ¶
func (*Sbom) ProtoMessage()
func (*Sbom) ProtoReflect ¶
func (x *Sbom) ProtoReflect() protoreflect.Message
type Workload ¶
type Workload struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type WorkloadType `protobuf:"varint,2,opt,name=type,proto3,enum=WorkloadType" json:"type,omitempty"` Results map[string]*Analyse `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Workload) Descriptor
deprecated
func (*Workload) GetResults ¶
func (*Workload) GetType ¶
func (x *Workload) GetType() WorkloadType
func (*Workload) ProtoMessage ¶
func (*Workload) ProtoMessage()
func (*Workload) ProtoReflect ¶
func (x *Workload) ProtoReflect() protoreflect.Message
type WorkloadType ¶
type WorkloadType int32
const ( WorkloadType_KUBERNETES WorkloadType = 0 WorkloadType_HOST WorkloadType = 1 WorkloadType_WORLD WorkloadType = 2 )
func (WorkloadType) Descriptor ¶
func (WorkloadType) Descriptor() protoreflect.EnumDescriptor
func (WorkloadType) Enum ¶
func (x WorkloadType) Enum() *WorkloadType
func (WorkloadType) EnumDescriptor
deprecated
func (WorkloadType) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkloadType.Descriptor instead.
func (WorkloadType) Number ¶
func (x WorkloadType) Number() protoreflect.EnumNumber
func (WorkloadType) String ¶
func (x WorkloadType) String() string
func (WorkloadType) Type ¶
func (WorkloadType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.