cisinapi

package
v0.0.0-...-25be970 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

Deprecated: Use Analyse.ProtoReflect.Descriptor instead.

func (*Analyse) GetResults

func (x *Analyse) GetResults() []string

func (*Analyse) ProtoMessage

func (*Analyse) ProtoMessage()

func (*Analyse) ProtoReflect

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

func (*Analyse) Reset

func (x *Analyse) Reset()

func (*Analyse) String

func (x *Analyse) String() string

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

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetHostname

func (x *Host) GetHostname() string

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) ProtoReflect

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

func (*Host) Reset

func (x *Host) Reset()

func (*Host) String

func (x *Host) String() string

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

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetDigest

func (x *Image) GetDigest() string

func (*Image) GetImage

func (x *Image) GetImage() string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

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

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

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

Deprecated: Use Sbom.ProtoReflect.Descriptor instead.

func (*Sbom) GetHost

func (x *Sbom) GetHost() *Host

func (*Sbom) GetImage

func (x *Sbom) GetImage() *Image

func (*Sbom) GetUrl

func (x *Sbom) GetUrl() string

func (*Sbom) ProtoMessage

func (*Sbom) ProtoMessage()

func (*Sbom) ProtoReflect

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

func (*Sbom) Reset

func (x *Sbom) Reset()

func (*Sbom) String

func (x *Sbom) String() string

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

Deprecated: Use Workload.ProtoReflect.Descriptor instead.

func (*Workload) GetId

func (x *Workload) GetId() string

func (*Workload) GetResults

func (x *Workload) GetResults() map[string]*Analyse

func (*Workload) GetType

func (x *Workload) GetType() WorkloadType

func (*Workload) ProtoMessage

func (*Workload) ProtoMessage()

func (*Workload) ProtoReflect

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

func (*Workload) Reset

func (x *Workload) Reset()

func (*Workload) String

func (x *Workload) String() string

type WorkloadType

type WorkloadType int32
const (
	WorkloadType_KUBERNETES WorkloadType = 0
	WorkloadType_HOST       WorkloadType = 1
	WorkloadType_WORLD      WorkloadType = 2
)

func (WorkloadType) Descriptor

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 (WorkloadType) String

func (x WorkloadType) String() string

func (WorkloadType) Type

Jump to

Keyboard shortcuts

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