v1beta1

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1beta1 vendors the ApplicationProfile and NetworkNeighborhood CRD types that github.com/kubescape/storage removed in https://github.com/kubescape/storage/pull/351 (storage v0.0.303), where they were superseded by the unified ContainerProfile type.

The backend's gRPC API (see pkg/client/v1/proto/storage_service.proto) still exposes these types on the wire for backward compatibility with existing clients, so their shape - including field ordering and protobuf tags - is preserved here verbatim from github.com/kubescape/storage v0.0.302, the last version that defined them. Sub-types that storage still exports (ExecCalls, OpenCalls, SingleSeccompProfile, HTTPEndpoint, RulePolicy, IdentifiedCallStack, NetworkNeighbor) are reused directly from the storage package rather than duplicated here.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ApplicationProfile deprecated

type ApplicationProfile struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   ApplicationProfileSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status ApplicationProfileStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ApplicationProfile represents a learned application profile for a workload.

Deprecated: removed from github.com/kubescape/storage in favor of ContainerProfile. Kept here for gRPC wire compatibility.

func (*ApplicationProfile) Marshal

func (m *ApplicationProfile) Marshal() (dAtA []byte, err error)

func (*ApplicationProfile) MarshalTo

func (m *ApplicationProfile) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationProfile) MarshalToSizedBuffer

func (m *ApplicationProfile) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationProfile) ProtoMessage

func (*ApplicationProfile) ProtoMessage()

func (*ApplicationProfile) Reset

func (m *ApplicationProfile) Reset()

func (*ApplicationProfile) Size

func (m *ApplicationProfile) Size() (n int)

func (*ApplicationProfile) String

func (this *ApplicationProfile) String() string

func (*ApplicationProfile) Unmarshal

func (m *ApplicationProfile) Unmarshal(dAtA []byte) error

type ApplicationProfileContainer

type ApplicationProfileContainer struct {
	Name         string   `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	Capabilities []string `json:"capabilities" protobuf:"bytes,2,rep,name=capabilities"`
	// +patchMergeKey=path
	// +patchStrategy=merge
	Execs []storagev1beta1.ExecCalls `json:"execs" patchStrategy:"merge" patchMergeKey:"path" protobuf:"bytes,3,rep,name=execs"`
	// +patchMergeKey=path
	// +patchStrategy=merge
	Opens          []storagev1beta1.OpenCalls          `json:"opens" patchStrategy:"merge" patchMergeKey:"path" protobuf:"bytes,4,rep,name=opens"`
	Syscalls       []string                            `json:"syscalls" protobuf:"bytes,5,rep,name=syscalls"`
	SeccompProfile storagev1beta1.SingleSeccompProfile `json:"seccompProfile,omitempty" protobuf:"bytes,6,opt,name=seccompProfile"`
	// +patchStrategy=merge
	// +patchMergeKey=endpoint
	Endpoints []storagev1beta1.HTTPEndpoint `json:"endpoints" patchStrategy:"merge" patchMergeKey:"endpoint" protobuf:"bytes,7,rep,name=endpoints"`
	ImageID   string                        `json:"imageID" protobuf:"bytes,8,opt,name=imageID"`
	ImageTag  string                        `json:"imageTag" protobuf:"bytes,9,opt,name=imageTag"`
	// +patchStrategy=merge
	// +patchMergeKey=ruleId
	PolicyByRuleId       map[string]storagev1beta1.RulePolicy `json:"rulePolicies" protobuf:"bytes,10,rep,name=rulePolicies" patchStrategy:"merge" patchMergeKey:"ruleId"`
	IdentifiedCallStacks []storagev1beta1.IdentifiedCallStack `json:"identifiedCallStacks" protobuf:"bytes,11,rep,name=identifiedCallStacks"`
}

func (*ApplicationProfileContainer) Marshal

func (m *ApplicationProfileContainer) Marshal() (dAtA []byte, err error)

func (*ApplicationProfileContainer) MarshalTo

func (m *ApplicationProfileContainer) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationProfileContainer) MarshalToSizedBuffer

func (m *ApplicationProfileContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationProfileContainer) ProtoMessage

func (*ApplicationProfileContainer) ProtoMessage()

func (*ApplicationProfileContainer) Reset

func (m *ApplicationProfileContainer) Reset()

func (*ApplicationProfileContainer) Size

func (m *ApplicationProfileContainer) Size() (n int)

func (*ApplicationProfileContainer) String

func (this *ApplicationProfileContainer) String() string

func (*ApplicationProfileContainer) Unmarshal

func (m *ApplicationProfileContainer) Unmarshal(dAtA []byte) error

type ApplicationProfileList

type ApplicationProfileList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []ApplicationProfile `json:"items" protobuf:"bytes,2,rep,name=items"`
}

func (*ApplicationProfileList) Marshal

func (m *ApplicationProfileList) Marshal() (dAtA []byte, err error)

func (*ApplicationProfileList) MarshalTo

func (m *ApplicationProfileList) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationProfileList) MarshalToSizedBuffer

func (m *ApplicationProfileList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationProfileList) ProtoMessage

func (*ApplicationProfileList) ProtoMessage()

func (*ApplicationProfileList) Reset

func (m *ApplicationProfileList) Reset()

func (*ApplicationProfileList) Size

func (m *ApplicationProfileList) Size() (n int)

func (*ApplicationProfileList) String

func (this *ApplicationProfileList) String() string

func (*ApplicationProfileList) Unmarshal

func (m *ApplicationProfileList) Unmarshal(dAtA []byte) error

type ApplicationProfileSpec

type ApplicationProfileSpec struct {
	Architectures []string `json:"architectures" protobuf:"bytes,1,rep,name=architectures"`
	// +patchMergeKey=name
	// +patchStrategy=merge
	Containers []ApplicationProfileContainer `json:"containers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=containers"`
	// +patchMergeKey=name
	// +patchStrategy=merge
	InitContainers []ApplicationProfileContainer `json:"initContainers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,3,rep,name=initContainers"`
	// +patchMergeKey=name
	// +patchStrategy=merge
	EphemeralContainers []ApplicationProfileContainer `` /* 127-byte string literal not displayed */
}

func (*ApplicationProfileSpec) Marshal

func (m *ApplicationProfileSpec) Marshal() (dAtA []byte, err error)

func (*ApplicationProfileSpec) MarshalTo

func (m *ApplicationProfileSpec) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationProfileSpec) MarshalToSizedBuffer

func (m *ApplicationProfileSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationProfileSpec) ProtoMessage

func (*ApplicationProfileSpec) ProtoMessage()

func (*ApplicationProfileSpec) Reset

func (m *ApplicationProfileSpec) Reset()

func (*ApplicationProfileSpec) Size

func (m *ApplicationProfileSpec) Size() (n int)

func (*ApplicationProfileSpec) String

func (this *ApplicationProfileSpec) String() string

func (*ApplicationProfileSpec) Unmarshal

func (m *ApplicationProfileSpec) Unmarshal(dAtA []byte) error

type ApplicationProfileStatus

type ApplicationProfileStatus struct {
}

func (*ApplicationProfileStatus) Marshal

func (m *ApplicationProfileStatus) Marshal() (dAtA []byte, err error)

func (*ApplicationProfileStatus) MarshalTo

func (m *ApplicationProfileStatus) MarshalTo(dAtA []byte) (int, error)

func (*ApplicationProfileStatus) MarshalToSizedBuffer

func (m *ApplicationProfileStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ApplicationProfileStatus) ProtoMessage

func (*ApplicationProfileStatus) ProtoMessage()

func (*ApplicationProfileStatus) Reset

func (m *ApplicationProfileStatus) Reset()

func (*ApplicationProfileStatus) Size

func (m *ApplicationProfileStatus) Size() (n int)

func (*ApplicationProfileStatus) String

func (this *ApplicationProfileStatus) String() string

func (*ApplicationProfileStatus) Unmarshal

func (m *ApplicationProfileStatus) Unmarshal(dAtA []byte) error

type NetworkNeighborhood deprecated

type NetworkNeighborhood struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec NetworkNeighborhoodSpec `json:"spec" protobuf:"bytes,2,req,name=spec"`
}

NetworkNeighborhood represents a list of network communications for a specific workload.

Deprecated: removed from github.com/kubescape/storage in favor of ContainerProfile. Kept here for gRPC wire compatibility.

func (*NetworkNeighborhood) Marshal

func (m *NetworkNeighborhood) Marshal() (dAtA []byte, err error)

func (*NetworkNeighborhood) MarshalTo

func (m *NetworkNeighborhood) MarshalTo(dAtA []byte) (int, error)

func (*NetworkNeighborhood) MarshalToSizedBuffer

func (m *NetworkNeighborhood) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkNeighborhood) ProtoMessage

func (*NetworkNeighborhood) ProtoMessage()

func (*NetworkNeighborhood) Reset

func (m *NetworkNeighborhood) Reset()

func (*NetworkNeighborhood) Size

func (m *NetworkNeighborhood) Size() (n int)

func (*NetworkNeighborhood) String

func (this *NetworkNeighborhood) String() string

func (*NetworkNeighborhood) Unmarshal

func (m *NetworkNeighborhood) Unmarshal(dAtA []byte) error

type NetworkNeighborhoodContainer

type NetworkNeighborhoodContainer struct {
	Name    string                           `json:"name" protobuf:"bytes,1,req,name=name"`
	Ingress []storagev1beta1.NetworkNeighbor `json:"ingress" protobuf:"bytes,2,rep,name=ingress"`
	Egress  []storagev1beta1.NetworkNeighbor `json:"egress" protobuf:"bytes,3,rep,name=egress"`
}

func (*NetworkNeighborhoodContainer) Marshal

func (m *NetworkNeighborhoodContainer) Marshal() (dAtA []byte, err error)

func (*NetworkNeighborhoodContainer) MarshalTo

func (m *NetworkNeighborhoodContainer) MarshalTo(dAtA []byte) (int, error)

func (*NetworkNeighborhoodContainer) MarshalToSizedBuffer

func (m *NetworkNeighborhoodContainer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkNeighborhoodContainer) ProtoMessage

func (*NetworkNeighborhoodContainer) ProtoMessage()

func (*NetworkNeighborhoodContainer) Reset

func (m *NetworkNeighborhoodContainer) Reset()

func (*NetworkNeighborhoodContainer) Size

func (m *NetworkNeighborhoodContainer) Size() (n int)

func (*NetworkNeighborhoodContainer) String

func (this *NetworkNeighborhoodContainer) String() string

func (*NetworkNeighborhoodContainer) Unmarshal

func (m *NetworkNeighborhoodContainer) Unmarshal(dAtA []byte) error

type NetworkNeighborhoodList

type NetworkNeighborhoodList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []NetworkNeighborhood `json:"items" protobuf:"bytes,2,rep,name=items"`
}

func (*NetworkNeighborhoodList) Marshal

func (m *NetworkNeighborhoodList) Marshal() (dAtA []byte, err error)

func (*NetworkNeighborhoodList) MarshalTo

func (m *NetworkNeighborhoodList) MarshalTo(dAtA []byte) (int, error)

func (*NetworkNeighborhoodList) MarshalToSizedBuffer

func (m *NetworkNeighborhoodList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkNeighborhoodList) ProtoMessage

func (*NetworkNeighborhoodList) ProtoMessage()

func (*NetworkNeighborhoodList) Reset

func (m *NetworkNeighborhoodList) Reset()

func (*NetworkNeighborhoodList) Size

func (m *NetworkNeighborhoodList) Size() (n int)

func (*NetworkNeighborhoodList) String

func (this *NetworkNeighborhoodList) String() string

func (*NetworkNeighborhoodList) Unmarshal

func (m *NetworkNeighborhoodList) Unmarshal(dAtA []byte) error

type NetworkNeighborhoodSpec

type NetworkNeighborhoodSpec struct {
	metav1.LabelSelector `json:",inline" protobuf:"bytes,3,opt,name=labelSelector"`
	Containers           []NetworkNeighborhoodContainer `json:"containers" protobuf:"bytes,4,rep,name=containers"`
	InitContainers       []NetworkNeighborhoodContainer `json:"initContainers" protobuf:"bytes,5,rep,name=initContainers"`
	EphemeralContainers  []NetworkNeighborhoodContainer `json:"ephemeralContainers" protobuf:"bytes,6,rep,name=ephemeralContainers"`
}

func (*NetworkNeighborhoodSpec) Marshal

func (m *NetworkNeighborhoodSpec) Marshal() (dAtA []byte, err error)

func (*NetworkNeighborhoodSpec) MarshalTo

func (m *NetworkNeighborhoodSpec) MarshalTo(dAtA []byte) (int, error)

func (*NetworkNeighborhoodSpec) MarshalToSizedBuffer

func (m *NetworkNeighborhoodSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetworkNeighborhoodSpec) ProtoMessage

func (*NetworkNeighborhoodSpec) ProtoMessage()

func (*NetworkNeighborhoodSpec) Reset

func (m *NetworkNeighborhoodSpec) Reset()

func (*NetworkNeighborhoodSpec) Size

func (m *NetworkNeighborhoodSpec) Size() (n int)

func (*NetworkNeighborhoodSpec) String

func (this *NetworkNeighborhoodSpec) String() string

func (*NetworkNeighborhoodSpec) Unmarshal

func (m *NetworkNeighborhoodSpec) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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