Documentation
¶
Overview ¶
Package softwarecomposition is the internal version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Advisory
- type Algorithm
- type ApplicationActivity
- type ApplicationActivityList
- type ApplicationActivitySpec
- type ApplicationActivityStatus
- type ApplicationProfile
- type ApplicationProfileContainer
- type ApplicationProfileList
- type ApplicationProfileSpec
- type ApplicationProfileStatus
- type Arch
- type Arg
- type CPE
- type CPEs
- type CallID
- type CallStack
- type CallStackNode
- type CommunicationType
- type Component
- type Condition
- type ConditionReason
- type ConditionType
- type ConditionedStatus
- type ConfigurationScanSummary
- type ConfigurationScanSummaryList
- type ConfigurationScanSummarySpec
- type ControlSeverity
- type Coordinates
- type Cvss
- type CvssMetrics
- type Descriptor
- type Digest
- type Distribution
- type ELFSecurityFeatures
- type ExecCalls
- type Executable
- type ExecutableFormat
- type FileLicense
- type FileLicenseEvidence
- type FileMetadataEntry
- type Fix
- type Flag
- type GeneratedNetworkPolicy
- type GeneratedNetworkPolicyList
- type GrypeDocument
- type GrypePackage
- type HTTPEndpoint
- type HTTPIngressPath
- type HTTPIngressRuleValue
- type Hash
- type IDLikes
- type IKnownServerEntry
- type IKnownServersFinder
- type IPBlock
- type IdentifiedCallStack
- type IdentifierLocator
- type IdentifierType
- type IgnoreRule
- type IgnoreRulePackage
- type IgnoredMatch
- type Ingress
- type IngressBackend
- type IngressClass
- type IngressClassList
- type IngressClassParametersReference
- type IngressClassSpec
- type IngressList
- type IngressLoadBalancerIngress
- type IngressLoadBalancerStatus
- type IngressPortStatus
- type IngressRule
- type IngressRuleValue
- type IngressServiceBackend
- type IngressSpec
- type IngressStatus
- type IngressTLS
- type Justification
- type KnownServer
- type KnownServerEntry
- type KnownServerList
- type KnownServerSpec
- type KnownServersFinderEntry
- type KnownServersFinderImpl
- type License
- type LicenseType
- type Licenses
- type LinuxRelease
- type Location
- type LocationData
- type LocationMetadata
- type Match
- type MatchDetails
- type Metadata
- type MetadataType
- type NetworkNeighbor
- type NetworkNeighborhood
- type NetworkNeighborhoodContainer
- type NetworkNeighborhoodList
- type NetworkNeighborhoodSpec
- type NetworkNeighbors
- type NetworkNeighborsList
- type NetworkNeighborsSpec
- type NetworkPolicy
- type NetworkPolicyConditionReason
- type NetworkPolicyConditionType
- type NetworkPolicyEgressRule
- type NetworkPolicyIngressRule
- type NetworkPolicyList
- type NetworkPolicyPeer
- type NetworkPolicyPort
- type NetworkPolicySpec
- type NetworkPolicyStatus
- type NetworkPort
- type OpenCalls
- type OpenVulnerabilityExchangeContainer
- type OpenVulnerabilityExchangeContainerList
- type PackageBasicData
- type PackageBasicDataV01011
- type PackageCustomData
- type PathType
- type PolicyRef
- type PolicyType
- type Product
- type ProfileState
- type Protocol
- type RelocationReadOnly
- type ReportMeta
- type RulePath
- type RulePolicy
- type RuleStatus
- type SBOMSyft
- type SBOMSyftFiltered
- type SBOMSyftFilteredList
- type SBOMSyftList
- type SBOMSyftSpec
- type SBOMSyftStatus
- type SPDXMeta
- type ScannedControl
- type ScannedControlRule
- type ScannedControlStatus
- type ScannedControlSummary
- type Schema
- type SeccompProfile
- type SeccompProfileList
- type SeccompProfileSpec
- type SeccompProfileStatus
- type ServiceBackendPort
- type SeveritySummary
- type SingleSeccompProfile
- type SingleSeccompProfileSpec
- type SingleSeccompProfileStatus
- type Source
- type SpecBase
- type StackFrame
- type Statement
- type Status
- type StatusBase
- type Subcomponent
- type SyftCoordinates
- type SyftDescriptor
- type SyftDocument
- type SyftFile
- type SyftLanguage
- type SyftPackage
- type SyftRelationship
- type SyftSource
- type SyftType
- type Syscall
- type ToolMeta
- type Type
- type UpstreamPackage
- type VEX
- type VexVulnerability
- type VulnerabilitiesComponents
- type VulnerabilitiesObjScope
- type Vulnerability
- type VulnerabilityCounters
- type VulnerabilityManifest
- type VulnerabilityManifestList
- type VulnerabilityManifestMeta
- type VulnerabilityManifestReportMeta
- type VulnerabilityManifestSpec
- type VulnerabilityManifestStatus
- type VulnerabilityManifestSummary
- type VulnerabilityManifestSummaryList
- type VulnerabilityManifestSummarySpec
- type VulnerabilityManifestToolMeta
- type VulnerabilityMetadata
- type VulnerabilitySummary
- type VulnerabilitySummaryList
- type VulnerabilitySummarySpec
- type VulnerabilitySummaryStatus
- type WorkloadConfigurationScan
- type WorkloadConfigurationScanList
- type WorkloadConfigurationScanSeveritiesSummary
- type WorkloadConfigurationScanSpec
- type WorkloadConfigurationScanSummary
- type WorkloadConfigurationScanSummaryIdentifier
- type WorkloadConfigurationScanSummaryList
- type WorkloadConfigurationScanSummarySpec
- type WorkloadScanRelatedObject
Constants ¶
const ( ProtocolTCP Protocol = "TCP" ProtocolUDP Protocol = "UDP" ProtocolSCTP Protocol = "SCTP" CommunicationTypeIngress CommunicationType = "internal" CommunicationTypeEgress CommunicationType = "external" )
const ( // PathTypeExact matches the URL path exactly and with case sensitivity. PathTypeExact = PathType("Exact") // PathTypePrefix matches based on a URL path prefix split by '/'. Matching // is case sensitive and done on a path element by element basis. A path // element refers to the list of labels in the path split by the '/' // separator. A request is a match for path p if every p is an element-wise // prefix of p of the request path. Note that if the last element of the // path is a substring of the last element in request path, it is not a // match (e.g. /foo/bar matches /foo/bar/baz, but does not match // /foo/barbaz). If multiple matching paths exist in an Ingress spec, the // longest matching path is given priority. // Examples: // - /foo/bar does not match requests to /foo/barbaz // - /foo/bar matches request to /foo/bar and /foo/bar/baz // - /foo and /foo/ both match requests to /foo and /foo/. If both paths are // present in an Ingress spec, the longest matching path (/foo/) is given // priority. PathTypePrefix = PathType("Prefix") // PathTypeImplementationSpecific matching is up to the IngressClass. // Implementations can treat this as a separate PathType or treat it // identically to Prefix or Exact path types. PathTypeImplementationSpecific = PathType("ImplementationSpecific") )
const ( // IngressClassParametersReferenceScopeNamespace indicates that the // referenced Parameters resource is namespace-scoped. IngressClassParametersReferenceScopeNamespace = "Namespace" // IngressClassParametersReferenceScopeCluster indicates that the // referenced Parameters resource is cluster-scoped. IngressClassParametersReferenceScopeCluster = "Cluster" )
const ( ResourceVersionFullSpec = "fullSpec" ResourceVersionMetadata = "metadata" )
Special resource versions used to modify the behavior of the API server calls.
const GroupName = "spdx.softwarecomposition.seclogic.io"
GroupName is the group name used in this package
Variables ¶
var ( // SchemeBuilder is the scheme builder with scheme init functions to run for this API package SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type Advisory ¶
func (*Advisory) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Advisory.
func (*Advisory) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationActivity ¶
type ApplicationActivity struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec ApplicationActivitySpec
Status ApplicationActivityStatus
}
func (*ApplicationActivity) DeepCopy ¶
func (in *ApplicationActivity) DeepCopy() *ApplicationActivity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationActivity.
func (*ApplicationActivity) DeepCopyInto ¶
func (in *ApplicationActivity) DeepCopyInto(out *ApplicationActivity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationActivity) DeepCopyObject ¶
func (in *ApplicationActivity) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationActivityList ¶
type ApplicationActivityList struct {
metav1.TypeMeta
metav1.ListMeta
Items []ApplicationActivity
}
func (*ApplicationActivityList) DeepCopy ¶
func (in *ApplicationActivityList) DeepCopy() *ApplicationActivityList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationActivityList.
func (*ApplicationActivityList) DeepCopyInto ¶
func (in *ApplicationActivityList) DeepCopyInto(out *ApplicationActivityList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationActivityList) DeepCopyObject ¶
func (in *ApplicationActivityList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationActivitySpec ¶
type ApplicationActivitySpec struct {
Syscalls []string
}
func (*ApplicationActivitySpec) DeepCopy ¶
func (in *ApplicationActivitySpec) DeepCopy() *ApplicationActivitySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationActivitySpec.
func (*ApplicationActivitySpec) DeepCopyInto ¶
func (in *ApplicationActivitySpec) DeepCopyInto(out *ApplicationActivitySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationActivityStatus ¶
type ApplicationActivityStatus struct {
}
func (*ApplicationActivityStatus) DeepCopy ¶
func (in *ApplicationActivityStatus) DeepCopy() *ApplicationActivityStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationActivityStatus.
func (*ApplicationActivityStatus) DeepCopyInto ¶
func (in *ApplicationActivityStatus) DeepCopyInto(out *ApplicationActivityStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationProfile ¶
type ApplicationProfile struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec ApplicationProfileSpec
Status ApplicationProfileStatus
}
func (*ApplicationProfile) DeepCopy ¶
func (in *ApplicationProfile) DeepCopy() *ApplicationProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationProfile.
func (*ApplicationProfile) DeepCopyInto ¶
func (in *ApplicationProfile) DeepCopyInto(out *ApplicationProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationProfile) DeepCopyObject ¶
func (in *ApplicationProfile) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationProfileContainer ¶
type ApplicationProfileContainer struct {
Name string
Capabilities []string
Execs []ExecCalls
Opens []OpenCalls
Syscalls []string
SeccompProfile SingleSeccompProfile
Endpoints []HTTPEndpoint
ImageID string
ImageTag string
PolicyByRuleId map[string]RulePolicy
IdentifiedCallStacks []IdentifiedCallStack
}
func (*ApplicationProfileContainer) DeepCopy ¶
func (in *ApplicationProfileContainer) DeepCopy() *ApplicationProfileContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationProfileContainer.
func (*ApplicationProfileContainer) DeepCopyInto ¶
func (in *ApplicationProfileContainer) DeepCopyInto(out *ApplicationProfileContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationProfileList ¶
type ApplicationProfileList struct {
metav1.TypeMeta
metav1.ListMeta
Items []ApplicationProfile
}
func (*ApplicationProfileList) DeepCopy ¶
func (in *ApplicationProfileList) DeepCopy() *ApplicationProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationProfileList.
func (*ApplicationProfileList) DeepCopyInto ¶
func (in *ApplicationProfileList) DeepCopyInto(out *ApplicationProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationProfileList) DeepCopyObject ¶
func (in *ApplicationProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationProfileSpec ¶
type ApplicationProfileSpec struct {
Architectures []string
Containers []ApplicationProfileContainer
InitContainers []ApplicationProfileContainer
EphemeralContainers []ApplicationProfileContainer
}
func (*ApplicationProfileSpec) DeepCopy ¶
func (in *ApplicationProfileSpec) DeepCopy() *ApplicationProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationProfileSpec.
func (*ApplicationProfileSpec) DeepCopyInto ¶
func (in *ApplicationProfileSpec) DeepCopyInto(out *ApplicationProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationProfileStatus ¶
type ApplicationProfileStatus struct {
}
func (*ApplicationProfileStatus) DeepCopy ¶
func (in *ApplicationProfileStatus) DeepCopy() *ApplicationProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationProfileStatus.
func (*ApplicationProfileStatus) DeepCopyInto ¶
func (in *ApplicationProfileStatus) DeepCopyInto(out *ApplicationProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Arg ¶
type Arg struct {
// the index for syscall arguments in seccomp
Index uint64
// the value for syscall arguments in seccomp
Value uint64
// the value for syscall arguments in seccomp
ValueTwo uint64
// the operator for syscall arguments in seccomp
Op seccomp.Operator
}
Arg defines the specific syscall in seccomp.
func (*Arg) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Arg.
func (*Arg) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPE ¶
func (*CPE) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPE.
func (*CPE) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPEs ¶
type CPEs []CPE
func (CPEs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPEs.
func (CPEs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CallStack ¶
type CallStack struct {
Root CallStackNode
}
func (*CallStack) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallStack.
func (*CallStack) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CallStackNode ¶
type CallStackNode struct {
Children []CallStackNode
Frame StackFrame
}
func (*CallStackNode) DeepCopy ¶
func (in *CallStackNode) DeepCopy() *CallStackNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CallStackNode.
func (*CallStackNode) DeepCopyInto ¶
func (in *CallStackNode) DeepCopyInto(out *CallStackNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommunicationType ¶
type CommunicationType string
type Component ¶
type Component struct {
// ID is an IRI identifying the component. It is optional as the component
// can also be identified using hashes or software identifiers.
ID string
// Hashes is a map of hashes to identify the component using cryptographic
// hashes.
Hashes map[Algorithm]Hash
// Identifiers is a list of software identifiers that describe the component.
Identifiers map[IdentifierType]string
// Supplier is an optional machine-readable identifier for the supplier of
// the component. Valid examples include email address or IRIs.
Supplier string
}
func (*Component) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
func (*Component) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct {
// Type of this condition. At most one of each condition type may apply to
// a resource at any point in time.
Type ConditionType
// Status of this condition; is it currently True, False, or Unknown?
Status corev1.ConditionStatus
// LastTransitionTime is the last time this condition transitioned from one
// status to another.
LastTransitionTime metav1.Time
// A Reason for this condition's last transition from one status to another.
Reason ConditionReason
// A Message containing details about this condition's last transition from
// one status to another, if any.
// +optional
Message string
}
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionReason ¶
type ConditionReason string
type ConditionType ¶
type ConditionType string
type ConditionedStatus ¶
type ConditionedStatus struct {
// Conditions of the resource.
// +optional
Conditions []Condition
}
func (*ConditionedStatus) DeepCopy ¶
func (in *ConditionedStatus) DeepCopy() *ConditionedStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionedStatus.
func (*ConditionedStatus) DeepCopyInto ¶
func (in *ConditionedStatus) DeepCopyInto(out *ConditionedStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationScanSummary ¶
type ConfigurationScanSummary struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec ConfigurationScanSummarySpec
}
ConfigurationScanSummary is a summary for a group of WorkloadConfigurationScanSummary objects for a given scope (ex. namespace).
func (*ConfigurationScanSummary) DeepCopy ¶
func (in *ConfigurationScanSummary) DeepCopy() *ConfigurationScanSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationScanSummary.
func (*ConfigurationScanSummary) DeepCopyInto ¶
func (in *ConfigurationScanSummary) DeepCopyInto(out *ConfigurationScanSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationScanSummary) DeepCopyObject ¶
func (in *ConfigurationScanSummary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationScanSummaryList ¶
type ConfigurationScanSummaryList struct {
metav1.TypeMeta
metav1.ListMeta
Items []ConfigurationScanSummary
}
ConfigurationScanSummaryList is a list of ConfigurationScanSummary summaries.
func (*ConfigurationScanSummaryList) DeepCopy ¶
func (in *ConfigurationScanSummaryList) DeepCopy() *ConfigurationScanSummaryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationScanSummaryList.
func (*ConfigurationScanSummaryList) DeepCopyInto ¶
func (in *ConfigurationScanSummaryList) DeepCopyInto(out *ConfigurationScanSummaryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationScanSummaryList) DeepCopyObject ¶
func (in *ConfigurationScanSummaryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationScanSummarySpec ¶
type ConfigurationScanSummarySpec struct {
Severities WorkloadConfigurationScanSeveritiesSummary
WorkloadConfigurationScanSummaryIdentifiers []WorkloadConfigurationScanSummaryIdentifier
}
func (*ConfigurationScanSummarySpec) DeepCopy ¶
func (in *ConfigurationScanSummarySpec) DeepCopy() *ConfigurationScanSummarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationScanSummarySpec.
func (*ConfigurationScanSummarySpec) DeepCopyInto ¶
func (in *ConfigurationScanSummarySpec) DeepCopyInto(out *ConfigurationScanSummarySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlSeverity ¶
func (*ControlSeverity) DeepCopy ¶
func (in *ControlSeverity) DeepCopy() *ControlSeverity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlSeverity.
func (*ControlSeverity) DeepCopyInto ¶
func (in *ControlSeverity) DeepCopyInto(out *ControlSeverity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Coordinates ¶
type Coordinates struct {
RealPath string // The path where all path ancestors have no hardlinks / symlinks
FileSystemID string // An ID representing the filesystem. For container images, this is a layer digest. For directories or a root filesystem, this is blank.
}
Coordinates contains the minimal information needed to describe how to find a file within any possible source object (e.g. image and directory sources)
func (*Coordinates) DeepCopy ¶
func (in *Coordinates) DeepCopy() *Coordinates
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Coordinates.
func (*Coordinates) DeepCopyInto ¶
func (in *Coordinates) DeepCopyInto(out *Coordinates)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cvss ¶
type Cvss struct {
Version string
Vector string
Metrics CvssMetrics
VendorMetadata json.RawMessage
}
func (*Cvss) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cvss.
func (*Cvss) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CvssMetrics ¶
func (*CvssMetrics) DeepCopy ¶
func (in *CvssMetrics) DeepCopy() *CvssMetrics
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CvssMetrics.
func (*CvssMetrics) DeepCopyInto ¶
func (in *CvssMetrics) DeepCopyInto(out *CvssMetrics)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Descriptor ¶
type Descriptor struct {
Name string
Version string
Configuration json.RawMessage
VulnerabilityDBStatus json.RawMessage
}
func (*Descriptor) DeepCopy ¶
func (in *Descriptor) DeepCopy() *Descriptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Descriptor.
func (*Descriptor) DeepCopyInto ¶
func (in *Descriptor) DeepCopyInto(out *Descriptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Digest ¶
func (*Digest) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Digest.
func (*Digest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Distribution ¶
func (*Distribution) DeepCopy ¶
func (in *Distribution) DeepCopy() *Distribution
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Distribution.
func (*Distribution) DeepCopyInto ¶
func (in *Distribution) DeepCopyInto(out *Distribution)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ELFSecurityFeatures ¶
type ELFSecurityFeatures struct {
SymbolTableStripped bool
StackCanary *bool
NoExecutable bool
RelocationReadOnly RelocationReadOnly
PositionIndependentExecutable bool
// LlvmSafeStack represents a compiler-based security mechanism that separates the stack into a safe stack for storing return addresses and other critical data, and an unsafe stack for everything else, to mitigate stack-based memory corruption errors
// see https://clang.llvm.org/docs/SafeStack.html
LlvmSafeStack *bool
// ControlFlowIntegrity represents runtime checks to ensure a program's control flow adheres to the legal paths determined at compile time, thus protecting against various types of control-flow hijacking attacks
// see https://clang.llvm.org/docs/ControlFlowIntegrity.html
LlvmControlFlowIntegrity *bool
// ClangFortifySource is a broad suite of extensions to libc aimed at catching misuses of common library functions
// see https://android.googlesource.com/platform//bionic/+/d192dbecf0b2a371eb127c0871f77a9caf81c4d2/docs/clang_fortify_anatomy.md
ClangFortifySource *bool
}
func (*ELFSecurityFeatures) DeepCopy ¶
func (in *ELFSecurityFeatures) DeepCopy() *ELFSecurityFeatures
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ELFSecurityFeatures.
func (*ELFSecurityFeatures) DeepCopyInto ¶
func (in *ELFSecurityFeatures) DeepCopyInto(out *ELFSecurityFeatures)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecCalls ¶
func (*ExecCalls) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCalls.
func (*ExecCalls) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Executable ¶
type Executable struct {
// Format denotes either ELF, Mach-O, or PE
Format ExecutableFormat
HasExports bool
HasEntrypoint bool
ImportedLibraries []string
ELFSecurityFeatures *ELFSecurityFeatures
}
func (*Executable) DeepCopy ¶
func (in *Executable) DeepCopy() *Executable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Executable.
func (*Executable) DeepCopyInto ¶
func (in *Executable) DeepCopyInto(out *Executable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecutableFormat ¶
type ExecutableFormat string
type FileLicense ¶
type FileLicense struct {
Value string
SPDXExpression string
Type LicenseType
Evidence *FileLicenseEvidence
}
func (*FileLicense) DeepCopy ¶
func (in *FileLicense) DeepCopy() *FileLicense
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileLicense.
func (*FileLicense) DeepCopyInto ¶
func (in *FileLicense) DeepCopyInto(out *FileLicense)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileLicenseEvidence ¶
func (*FileLicenseEvidence) DeepCopy ¶
func (in *FileLicenseEvidence) DeepCopy() *FileLicenseEvidence
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileLicenseEvidence.
func (*FileLicenseEvidence) DeepCopyInto ¶
func (in *FileLicenseEvidence) DeepCopyInto(out *FileLicenseEvidence)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileMetadataEntry ¶
type FileMetadataEntry struct {
Mode int64
Type string
LinkDestination string
UserID int64
GroupID int64
MIMEType string
Size_ int64
}
func (*FileMetadataEntry) DeepCopy ¶
func (in *FileMetadataEntry) DeepCopy() *FileMetadataEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileMetadataEntry.
func (*FileMetadataEntry) DeepCopyInto ¶
func (in *FileMetadataEntry) DeepCopyInto(out *FileMetadataEntry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Fix ¶
func (*Fix) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fix.
func (*Fix) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GeneratedNetworkPolicy ¶
type GeneratedNetworkPolicy struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec NetworkPolicy
PoliciesRef []PolicyRef
}
GeneratedNetworkPolicy represents a generated NetworkPolicy.
func (*GeneratedNetworkPolicy) DeepCopy ¶
func (in *GeneratedNetworkPolicy) DeepCopy() *GeneratedNetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedNetworkPolicy.
func (*GeneratedNetworkPolicy) DeepCopyInto ¶
func (in *GeneratedNetworkPolicy) DeepCopyInto(out *GeneratedNetworkPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GeneratedNetworkPolicy) DeepCopyObject ¶
func (in *GeneratedNetworkPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GeneratedNetworkPolicyList ¶
type GeneratedNetworkPolicyList struct {
metav1.TypeMeta
metav1.ListMeta
Items []GeneratedNetworkPolicy
}
GeneratedNetworkPolicyList is a list of GeneratedNetworkPolicies.
func (*GeneratedNetworkPolicyList) DeepCopy ¶
func (in *GeneratedNetworkPolicyList) DeepCopy() *GeneratedNetworkPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedNetworkPolicyList.
func (*GeneratedNetworkPolicyList) DeepCopyInto ¶
func (in *GeneratedNetworkPolicyList) DeepCopyInto(out *GeneratedNetworkPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GeneratedNetworkPolicyList) DeepCopyObject ¶
func (in *GeneratedNetworkPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GrypeDocument ¶
type GrypeDocument struct {
Matches []Match
IgnoredMatches []IgnoredMatch
Source *Source
Distro Distribution
Descriptor_ Descriptor
}
GrypeDocument is the document that represents the vulnerability manifest in the Grype’s JSON format
func (*GrypeDocument) DeepCopy ¶
func (in *GrypeDocument) DeepCopy() *GrypeDocument
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrypeDocument.
func (*GrypeDocument) DeepCopyInto ¶
func (in *GrypeDocument) DeepCopyInto(out *GrypeDocument)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrypePackage ¶
type GrypePackage struct {
Name string
Version string
Type SyftType
Locations []SyftCoordinates
Language SyftLanguage
Licenses []string
CPEs []string
PURL string
Upstreams []UpstreamPackage
MetadataType MetadataType
Metadata json.RawMessage
}
func (*GrypePackage) DeepCopy ¶
func (in *GrypePackage) DeepCopy() *GrypePackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrypePackage.
func (*GrypePackage) DeepCopyInto ¶
func (in *GrypePackage) DeepCopyInto(out *GrypePackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPEndpoint ¶
type HTTPEndpoint struct {
Endpoint string
Methods []string
Internal bool
Direction consts.NetworkDirection
Headers json.RawMessage
}
func (*HTTPEndpoint) DeepCopy ¶
func (in *HTTPEndpoint) DeepCopy() *HTTPEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPEndpoint.
func (*HTTPEndpoint) DeepCopyInto ¶
func (in *HTTPEndpoint) DeepCopyInto(out *HTTPEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPEndpoint) Equal ¶
func (e *HTTPEndpoint) Equal(other *HTTPEndpoint) bool
func (*HTTPEndpoint) GetHeaders ¶
func (e *HTTPEndpoint) GetHeaders() (map[string][]string, error)
func (HTTPEndpoint) String ¶
func (e HTTPEndpoint) String() string
type HTTPIngressPath ¶
type HTTPIngressPath struct {
Path string
// pathType determines the interpretation of the path matching. PathType can
// be one of the following values:
// * Exact: Matches the URL path exactly.
// * Prefix: Matches based on a URL path prefix split by '/'. Matching is
// done on a path element by element basis. A path element refers is the
// list of labels in the path split by the '/' separator. A request is a
// match for path p if every p is an element-wise prefix of p of the
// request path. Note that if the last element of the path is a substring
// of the last element in request path, it is not a match (e.g. /foo/bar
// matches /foo/bar/baz, but does not match /foo/barbaz).
// * ImplementationSpecific: Interpretation of the Path matching is up to
// the IngressClass. Implementations can treat this as a separate PathType
// or treat it identically to Prefix or Exact path types.
// Implementations are required to support all path types.
PathType *PathType
// backend defines the referenced service endpoint to which the traffic
// will be forwarded to.
Backend IngressBackend
}
HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.
func (*HTTPIngressPath) DeepCopy ¶
func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
func (*HTTPIngressPath) DeepCopyInto ¶
func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPIngressRuleValue ¶
type HTTPIngressRuleValue struct {
// paths is a collection of paths that map requests to backends.
// +listType=atomic
Paths []HTTPIngressPath
}
HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
func (*HTTPIngressRuleValue) DeepCopy ¶
func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
func (*HTTPIngressRuleValue) DeepCopyInto ¶
func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IDLikes ¶
type IDLikes []string
func (IDLikes) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDLikes.
func (IDLikes) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IDLikes) UnmarshalJSON ¶
type IKnownServerEntry ¶
type IKnownServersFinder ¶
type IKnownServersFinder interface {
Contains(ip net.IP) ([]IKnownServerEntry, bool)
}
func NewKnownServersFinderImpl ¶
func NewKnownServersFinderImpl(knownServers []KnownServer) IKnownServersFinder
type IPBlock ¶
type IPBlock struct {
// cidr is a string representing the IPBlock
// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
CIDR string
Except []string
}
IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
func (*IPBlock) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
func (*IPBlock) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IdentifiedCallStack ¶
func (*IdentifiedCallStack) DeepCopy ¶
func (in *IdentifiedCallStack) DeepCopy() *IdentifiedCallStack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentifiedCallStack.
func (*IdentifiedCallStack) DeepCopyInto ¶
func (in *IdentifiedCallStack) DeepCopyInto(out *IdentifiedCallStack)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IdentifierLocator ¶
type IdentifierLocator string
type IdentifierType ¶
type IdentifierType string
type IgnoreRule ¶
type IgnoreRule struct {
Vulnerability string
FixState string
Package *IgnoreRulePackage
}
func (*IgnoreRule) DeepCopy ¶
func (in *IgnoreRule) DeepCopy() *IgnoreRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoreRule.
func (*IgnoreRule) DeepCopyInto ¶
func (in *IgnoreRule) DeepCopyInto(out *IgnoreRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IgnoreRulePackage ¶
type IgnoreRulePackage struct {
Name string
Version string
Type string
Location string
UpstreamName string
}
func (*IgnoreRulePackage) DeepCopy ¶
func (in *IgnoreRulePackage) DeepCopy() *IgnoreRulePackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoreRulePackage.
func (*IgnoreRulePackage) DeepCopyInto ¶
func (in *IgnoreRulePackage) DeepCopyInto(out *IgnoreRulePackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IgnoredMatch ¶
type IgnoredMatch struct {
Match
AppliedIgnoreRules []IgnoreRule
}
func (*IgnoredMatch) DeepCopy ¶
func (in *IgnoredMatch) DeepCopy() *IgnoredMatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IgnoredMatch.
func (*IgnoredMatch) DeepCopyInto ¶
func (in *IgnoredMatch) DeepCopyInto(out *IgnoredMatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ingress ¶
type Ingress struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec IngressSpec
Status IngressStatus
}
Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.
func (*Ingress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressBackend ¶
type IngressBackend struct {
Service *IngressServiceBackend
Resource *v1.TypedLocalObjectReference
}
IngressBackend describes all endpoints for a given service and port.
func (*IngressBackend) DeepCopy ¶
func (in *IngressBackend) DeepCopy() *IngressBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
func (*IngressBackend) DeepCopyInto ¶
func (in *IngressBackend) DeepCopyInto(out *IngressBackend)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressClass ¶
type IngressClass struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec IngressClassSpec
}
IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.
func (*IngressClass) DeepCopy ¶
func (in *IngressClass) DeepCopy() *IngressClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass.
func (*IngressClass) DeepCopyInto ¶
func (in *IngressClass) DeepCopyInto(out *IngressClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressClassList ¶
type IngressClassList struct {
metav1.TypeMeta
metav1.ListMeta
// items is the list of IngressClasses.
Items []IngressClass
}
IngressClassList is a collection of IngressClasses.
func (*IngressClassList) DeepCopy ¶
func (in *IngressClassList) DeepCopy() *IngressClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList.
func (*IngressClassList) DeepCopyInto ¶
func (in *IngressClassList) DeepCopyInto(out *IngressClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressClassParametersReference ¶
type IngressClassParametersReference struct {
APIGroup *string
// kind is the type of resource being referenced.
Kind string
// name is the name of resource being referenced.
Name string
Scope *string
Namespace *string
}
IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.
func (*IngressClassParametersReference) DeepCopy ¶
func (in *IngressClassParametersReference) DeepCopy() *IngressClassParametersReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassParametersReference.
func (*IngressClassParametersReference) DeepCopyInto ¶
func (in *IngressClassParametersReference) DeepCopyInto(out *IngressClassParametersReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressClassSpec ¶
type IngressClassSpec struct {
// controller refers to the name of the controller that should handle this
// class. This allows for different "flavors" that are controlled by the
// same controller. For example, you may have different parameters for the
// same implementing controller. This should be specified as a
// domain-prefixed path no more than 250 characters in length, e.g.
// "acme.io/ingress-controller". This field is immutable.
Controller string
Parameters *IngressClassParametersReference
}
IngressClassSpec provides information about the class of an Ingress.
func (*IngressClassSpec) DeepCopy ¶
func (in *IngressClassSpec) DeepCopy() *IngressClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec.
func (*IngressClassSpec) DeepCopyInto ¶
func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressList ¶
type IngressList struct {
metav1.TypeMeta
metav1.ListMeta
// items is the list of Ingress.
Items []Ingress
}
IngressList is a collection of Ingress.
func (*IngressList) DeepCopy ¶
func (in *IngressList) DeepCopy() *IngressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
func (*IngressList) DeepCopyInto ¶
func (in *IngressList) DeepCopyInto(out *IngressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressLoadBalancerIngress ¶
type IngressLoadBalancerIngress struct {
IP string
Hostname string
Ports []IngressPortStatus
}
IngressLoadBalancerIngress represents the status of a load-balancer ingress point.
func (*IngressLoadBalancerIngress) DeepCopy ¶
func (in *IngressLoadBalancerIngress) DeepCopy() *IngressLoadBalancerIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerIngress.
func (*IngressLoadBalancerIngress) DeepCopyInto ¶
func (in *IngressLoadBalancerIngress) DeepCopyInto(out *IngressLoadBalancerIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressLoadBalancerStatus ¶
type IngressLoadBalancerStatus struct {
Ingress []IngressLoadBalancerIngress
}
IngressLoadBalancerStatus represents the status of a load-balancer.
func (*IngressLoadBalancerStatus) DeepCopy ¶
func (in *IngressLoadBalancerStatus) DeepCopy() *IngressLoadBalancerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerStatus.
func (*IngressLoadBalancerStatus) DeepCopyInto ¶
func (in *IngressLoadBalancerStatus) DeepCopyInto(out *IngressLoadBalancerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressPortStatus ¶
type IngressPortStatus struct {
// port is the port number of the ingress port.
Port int32
// protocol is the protocol of the ingress port.
// The supported values are: "TCP", "UDP", "SCTP"
Protocol v1.Protocol
// +kubebuilder:validation:Required
// +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
// +kubebuilder:validation:MaxLength=316
Error *string
}
IngressPortStatus represents the error condition of a service port
func (*IngressPortStatus) DeepCopy ¶
func (in *IngressPortStatus) DeepCopy() *IngressPortStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressPortStatus.
func (*IngressPortStatus) DeepCopyInto ¶
func (in *IngressPortStatus) DeepCopyInto(out *IngressPortStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressRule ¶
type IngressRule struct {
Host string
IngressRuleValue
}
IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.
func (*IngressRule) DeepCopy ¶
func (in *IngressRule) DeepCopy() *IngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
func (*IngressRule) DeepCopyInto ¶
func (in *IngressRule) DeepCopyInto(out *IngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressRuleValue ¶
type IngressRuleValue struct {
HTTP *HTTPIngressRuleValue
}
IngressRuleValue represents a rule to apply against incoming requests. If the rule is satisfied, the request is routed to the specified backend. Currently mixing different types of rules in a single Ingress is disallowed, so exactly one of the following must be set.
func (*IngressRuleValue) DeepCopy ¶
func (in *IngressRuleValue) DeepCopy() *IngressRuleValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
func (*IngressRuleValue) DeepCopyInto ¶
func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressServiceBackend ¶
type IngressServiceBackend struct {
// name is the referenced service. The service must exist in
// the same namespace as the Ingress object.
Name string
// port of the referenced service. A port name or port number
// is required for a IngressServiceBackend.
Port ServiceBackendPort
}
IngressServiceBackend references a Kubernetes Service as a Backend.
func (*IngressServiceBackend) DeepCopy ¶
func (in *IngressServiceBackend) DeepCopy() *IngressServiceBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressServiceBackend.
func (*IngressServiceBackend) DeepCopyInto ¶
func (in *IngressServiceBackend) DeepCopyInto(out *IngressServiceBackend)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressSpec ¶
type IngressSpec struct {
IngressClassName *string
DefaultBackend *IngressBackend
TLS []IngressTLS
Rules []IngressRule
}
IngressSpec describes the Ingress the user wishes to exist.
func (*IngressSpec) DeepCopy ¶
func (in *IngressSpec) DeepCopy() *IngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
func (*IngressSpec) DeepCopyInto ¶
func (in *IngressSpec) DeepCopyInto(out *IngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressStatus ¶
type IngressStatus struct {
LoadBalancer IngressLoadBalancerStatus
}
IngressStatus describe the current state of the Ingress.
func (*IngressStatus) DeepCopy ¶
func (in *IngressStatus) DeepCopy() *IngressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
func (*IngressStatus) DeepCopyInto ¶
func (in *IngressStatus) DeepCopyInto(out *IngressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressTLS ¶
IngressTLS describes the transport layer security associated with an ingress.
func (*IngressTLS) DeepCopy ¶
func (in *IngressTLS) DeepCopy() *IngressTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
func (*IngressTLS) DeepCopyInto ¶
func (in *IngressTLS) DeepCopyInto(out *IngressTLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Justification ¶
type Justification string
type KnownServer ¶
type KnownServer struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec KnownServerSpec
}
KnownServer represents a known server, containing information about its IP addresses and servers. The purpose is to enrich the GeneratedNetworkPolicy CRD
func (*KnownServer) DeepCopy ¶
func (in *KnownServer) DeepCopy() *KnownServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnownServer.
func (*KnownServer) DeepCopyInto ¶
func (in *KnownServer) DeepCopyInto(out *KnownServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KnownServer) DeepCopyObject ¶
func (in *KnownServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KnownServerEntry ¶
func (*KnownServerEntry) DeepCopy ¶
func (in *KnownServerEntry) DeepCopy() *KnownServerEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnownServerEntry.
func (*KnownServerEntry) DeepCopyInto ¶
func (in *KnownServerEntry) DeepCopyInto(out *KnownServerEntry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KnownServerList ¶
type KnownServerList struct {
metav1.TypeMeta
metav1.ListMeta
Items []KnownServer
}
KnownServerList is a list of KnownServer.
func (*KnownServerList) DeepCopy ¶
func (in *KnownServerList) DeepCopy() *KnownServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnownServerList.
func (*KnownServerList) DeepCopyInto ¶
func (in *KnownServerList) DeepCopyInto(out *KnownServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KnownServerList) DeepCopyObject ¶
func (in *KnownServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KnownServerSpec ¶
type KnownServerSpec []KnownServerEntry
func (KnownServerSpec) DeepCopy ¶
func (in KnownServerSpec) DeepCopy() KnownServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnownServerSpec.
func (KnownServerSpec) DeepCopyInto ¶
func (in KnownServerSpec) DeepCopyInto(out *KnownServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KnownServersFinderEntry ¶
type KnownServersFinderEntry struct {
// contains filtered or unexported fields
}
+k8s:deepcopy-gen=false
func NewKnownServersFinderEntry ¶
func NewKnownServersFinderEntry(kse KnownServerEntry) *KnownServersFinderEntry
func (*KnownServersFinderEntry) GetIPBlock ¶
func (k *KnownServersFinderEntry) GetIPBlock() string
func (*KnownServersFinderEntry) GetName ¶
func (k *KnownServersFinderEntry) GetName() string
func (*KnownServersFinderEntry) GetServer ¶
func (k *KnownServersFinderEntry) GetServer() string
func (*KnownServersFinderEntry) Network ¶
func (k *KnownServersFinderEntry) Network() net.IPNet
type KnownServersFinderImpl ¶
type KnownServersFinderImpl struct {
// contains filtered or unexported fields
}
+k8s:deepcopy-gen=false
func (*KnownServersFinderImpl) Contains ¶
func (k *KnownServersFinderImpl) Contains(ip net.IP) ([]IKnownServerEntry, bool)
type License ¶
type License struct {
Value string
SPDXExpression string
Type LicenseType
URLs []string
Locations []Location
}
func (*License) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new License.
func (*License) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LicenseType ¶
type LicenseType string
type Licenses ¶
type Licenses []License
func (Licenses) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Licenses.
func (Licenses) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Licenses) UnmarshalJSON ¶
type LinuxRelease ¶
type LinuxRelease struct {
PrettyName string
Name string
ID string
IDLike IDLikes
Version string
VersionID string
VersionCodename string
BuildID string
ImageID string
ImageVersion string
Variant string
VariantID string
HomeURL string
SupportURL string
BugReportURL string
PrivacyPolicyURL string
CPEName string
SupportEnd string
}
func (*LinuxRelease) DeepCopy ¶
func (in *LinuxRelease) DeepCopy() *LinuxRelease
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxRelease.
func (*LinuxRelease) DeepCopyInto ¶
func (in *LinuxRelease) DeepCopyInto(out *LinuxRelease)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Location ¶
type Location struct {
LocationData `cyclonedx:""`
LocationMetadata `cyclonedx:""`
}
Location represents a path relative to a particular filesystem resolved to a specific file.Reference. This struct is used as a key in content fetching to uniquely identify a file relative to a request (the VirtualPath).
func (*Location) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Location.
func (*Location) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationData ¶
type LocationData struct {
Coordinates `cyclonedx:""` // Empty string here means there is no intermediate property name, e.g. syft:locations:0:path without "coordinates"
// note: it is IMPORTANT to ignore anything but the coordinates for a Location when considering the ID (hash value)
// since the coordinates are the minimally correct ID for a location (symlinks should not come into play)
VirtualPath string `hash:"ignore" json:"accessPath"` // The path to the file which may or may not have hardlinks / symlinks
}
func (*LocationData) DeepCopy ¶
func (in *LocationData) DeepCopy() *LocationData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationData.
func (*LocationData) DeepCopyInto ¶
func (in *LocationData) DeepCopyInto(out *LocationData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationMetadata ¶
type LocationMetadata struct {
Annotations map[string]string // Arbitrary key-value pairs that can be used to annotate a location
}
func (*LocationMetadata) DeepCopy ¶
func (in *LocationMetadata) DeepCopy() *LocationMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationMetadata.
func (*LocationMetadata) DeepCopyInto ¶
func (in *LocationMetadata) DeepCopyInto(out *LocationMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Match ¶
type Match struct {
Vulnerability Vulnerability
RelatedVulnerabilities []VulnerabilityMetadata
MatchDetails []MatchDetails
Artifact GrypePackage
}
func (*Match) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Match.
func (*Match) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatchDetails ¶
type MatchDetails struct {
Type string
Matcher string
SearchedBy json.RawMessage
Found json.RawMessage
}
func (*MatchDetails) DeepCopy ¶
func (in *MatchDetails) DeepCopy() *MatchDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchDetails.
func (*MatchDetails) DeepCopyInto ¶
func (in *MatchDetails) DeepCopyInto(out *MatchDetails)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Metadata ¶
type Metadata struct {
// Context is the URL pointing to the jsonld context definition
Context string
// ID is the identifying string for the VEX document. This should be unique per
// document.
ID string
// Author is the identifier for the author of the VEX statement, ideally a common
// name, may be a URI. [author] is an individual or organization. [author]
// identity SHOULD be cryptographically associated with the signature of the VEX
// statement or document or transport.
Author string
// AuthorRole describes the role of the document Author.
AuthorRole string
// Timestamp defines the time at which the document was issued.
Timestamp string
// LastUpdated marks the time when the document had its last update. When the
// document changes both version and this field should be updated.
LastUpdated string
// Version is the document version. It must be incremented when any content
// within the VEX document changes, including any VEX statements included within
// the VEX document.
Version int64
// Tooling expresses how the VEX document and contained VEX statements were
// generated. It's optional. It may specify tools or automated processes used in
// the document or statement generation.
Tooling string
// Supplier is an optional field.
Supplier string
}
func (*Metadata) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
func (*Metadata) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataType ¶
type MetadataType string
type NetworkNeighbor ¶
type NetworkNeighbor struct {
Identifier string
Type CommunicationType
DNS string // DEPRECATED - use DNSNames instead.
DNSNames []string
Ports []NetworkPort
PodSelector *metav1.LabelSelector
NamespaceSelector *metav1.LabelSelector
IPAddress string
}
NetworkNeighbor represents a single network communication made by this resource.
func (*NetworkNeighbor) DeepCopy ¶
func (in *NetworkNeighbor) DeepCopy() *NetworkNeighbor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighbor.
func (*NetworkNeighbor) DeepCopyInto ¶
func (in *NetworkNeighbor) DeepCopyInto(out *NetworkNeighbor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkNeighborhood ¶
type NetworkNeighborhood struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec NetworkNeighborhoodSpec
}
NetworkNeighborhood represents a list of network communications for a specific workload.
func (*NetworkNeighborhood) DeepCopy ¶
func (in *NetworkNeighborhood) DeepCopy() *NetworkNeighborhood
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborhood.
func (*NetworkNeighborhood) DeepCopyInto ¶
func (in *NetworkNeighborhood) DeepCopyInto(out *NetworkNeighborhood)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkNeighborhood) DeepCopyObject ¶
func (in *NetworkNeighborhood) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNeighborhoodContainer ¶
type NetworkNeighborhoodContainer struct {
Name string
Ingress []NetworkNeighbor
Egress []NetworkNeighbor
}
func (*NetworkNeighborhoodContainer) DeepCopy ¶
func (in *NetworkNeighborhoodContainer) DeepCopy() *NetworkNeighborhoodContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborhoodContainer.
func (*NetworkNeighborhoodContainer) DeepCopyInto ¶
func (in *NetworkNeighborhoodContainer) DeepCopyInto(out *NetworkNeighborhoodContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkNeighborhoodList ¶
type NetworkNeighborhoodList struct {
metav1.TypeMeta
metav1.ListMeta
Items []NetworkNeighborhood
}
NetworkNeighborhoodList is a list of NetworkNeighborhoods.
func (*NetworkNeighborhoodList) DeepCopy ¶
func (in *NetworkNeighborhoodList) DeepCopy() *NetworkNeighborhoodList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborhoodList.
func (*NetworkNeighborhoodList) DeepCopyInto ¶
func (in *NetworkNeighborhoodList) DeepCopyInto(out *NetworkNeighborhoodList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkNeighborhoodList) DeepCopyObject ¶
func (in *NetworkNeighborhoodList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNeighborhoodSpec ¶
type NetworkNeighborhoodSpec struct {
metav1.LabelSelector // The labels which are inside spec.selector in the parent workload.
Containers []NetworkNeighborhoodContainer
InitContainers []NetworkNeighborhoodContainer
EphemeralContainers []NetworkNeighborhoodContainer
}
func (*NetworkNeighborhoodSpec) DeepCopy ¶
func (in *NetworkNeighborhoodSpec) DeepCopy() *NetworkNeighborhoodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborhoodSpec.
func (*NetworkNeighborhoodSpec) DeepCopyInto ¶
func (in *NetworkNeighborhoodSpec) DeepCopyInto(out *NetworkNeighborhoodSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkNeighbors ¶
type NetworkNeighbors struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec NetworkNeighborsSpec
}
NetworkNeighbors represents a list of network communications for a specific workload. DEPRECATED - use NetworkNeighborhood instead.
func (*NetworkNeighbors) DeepCopy ¶
func (in *NetworkNeighbors) DeepCopy() *NetworkNeighbors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighbors.
func (*NetworkNeighbors) DeepCopyInto ¶
func (in *NetworkNeighbors) DeepCopyInto(out *NetworkNeighbors)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkNeighbors) DeepCopyObject ¶
func (in *NetworkNeighbors) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNeighborsList ¶
type NetworkNeighborsList struct {
metav1.TypeMeta
metav1.ListMeta
Items []NetworkNeighbors
}
NetworkNeighborsList is a list of NetworkNeighbors. DEPRECATED - use NetworkNeighborhoodList instead.
func (*NetworkNeighborsList) DeepCopy ¶
func (in *NetworkNeighborsList) DeepCopy() *NetworkNeighborsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborsList.
func (*NetworkNeighborsList) DeepCopyInto ¶
func (in *NetworkNeighborsList) DeepCopyInto(out *NetworkNeighborsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkNeighborsList) DeepCopyObject ¶
func (in *NetworkNeighborsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNeighborsSpec ¶
type NetworkNeighborsSpec struct {
metav1.LabelSelector // The labels which are inside spec.selector in the parent workload.
Ingress []NetworkNeighbor
Egress []NetworkNeighbor
}
func (*NetworkNeighborsSpec) DeepCopy ¶
func (in *NetworkNeighborsSpec) DeepCopy() *NetworkNeighborsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborsSpec.
func (*NetworkNeighborsSpec) DeepCopyInto ¶
func (in *NetworkNeighborsSpec) DeepCopyInto(out *NetworkNeighborsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicy ¶
type NetworkPolicy struct {
Kind string
APIVersion string
metav1.ObjectMeta
Spec NetworkPolicySpec
}
NetworkPolicy describes what network traffic is allowed for a set of Pods
func (*NetworkPolicy) DeepCopy ¶
func (in *NetworkPolicy) DeepCopy() *NetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
func (*NetworkPolicy) DeepCopyInto ¶
func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyConditionReason ¶
type NetworkPolicyConditionReason string
NetworkPolicyConditionReason defines the set of reasons that explain why a particular NetworkPolicy condition type has been raised.
const ( // NetworkPolicyConditionReasonFeatureNotSupported represents a reason where the Network Policy may not have been // implemented in the cluster due to a lack of some feature not supported by the Network Policy provider NetworkPolicyConditionReasonFeatureNotSupported NetworkPolicyConditionReason = "FeatureNotSupported" )
type NetworkPolicyConditionType ¶
type NetworkPolicyConditionType string
NetworkPolicyConditionType is the type for status conditions on a NetworkPolicy. This type should be used with the NetworkPolicyStatus.Conditions field.
const ( // NetworkPolicyConditionStatusAccepted represents status of a Network Policy that could be properly parsed by // the Network Policy provider and will be implemented in the cluster NetworkPolicyConditionStatusAccepted NetworkPolicyConditionType = "Accepted" // NetworkPolicyConditionStatusPartialFailure represents status of a Network Policy that could be partially // parsed by the Network Policy provider and may not be completely implemented due to a lack of a feature or some // other condition NetworkPolicyConditionStatusPartialFailure NetworkPolicyConditionType = "PartialFailure" // NetworkPolicyConditionStatusFailure represents status of a Network Policy that could not be parsed by the // Network Policy provider and will not be implemented in the cluster NetworkPolicyConditionStatusFailure NetworkPolicyConditionType = "Failure" )
type NetworkPolicyEgressRule ¶
type NetworkPolicyEgressRule struct {
Ports []NetworkPolicyPort
To []NetworkPolicyPeer
}
NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8
func (*NetworkPolicyEgressRule) DeepCopy ¶
func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyEgressRule.
func (*NetworkPolicyEgressRule) DeepCopyInto ¶
func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyIngressRule ¶
type NetworkPolicyIngressRule struct {
Ports []NetworkPolicyPort
From []NetworkPolicyPeer
}
NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.
func (*NetworkPolicyIngressRule) DeepCopy ¶
func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule.
func (*NetworkPolicyIngressRule) DeepCopyInto ¶
func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyList ¶
type NetworkPolicyList struct {
metav1.TypeMeta
metav1.ListMeta
// items is a list of schema objects.
Items []NetworkPolicy
}
NetworkPolicyList is a list of NetworkPolicy objects.
func (*NetworkPolicyList) DeepCopy ¶
func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
func (*NetworkPolicyList) DeepCopyInto ¶
func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyPeer ¶
type NetworkPolicyPeer struct {
PodSelector *metav1.LabelSelector
NamespaceSelector *metav1.LabelSelector
IPBlock *IPBlock
}
NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed
func (*NetworkPolicyPeer) DeepCopy ¶
func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
func (*NetworkPolicyPeer) DeepCopyInto ¶
func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyPort ¶
NetworkPolicyPort describes a port to allow traffic on
func (*NetworkPolicyPort) DeepCopy ¶
func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
func (*NetworkPolicyPort) DeepCopyInto ¶
func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicySpec ¶
type NetworkPolicySpec struct {
PodSelector metav1.LabelSelector
Ingress []NetworkPolicyIngressRule
Egress []NetworkPolicyEgressRule
PolicyTypes []PolicyType
}
NetworkPolicySpec provides the specification of a NetworkPolicy
func (*NetworkPolicySpec) DeepCopy ¶
func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
func (*NetworkPolicySpec) DeepCopyInto ¶
func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyStatus ¶
type NetworkPolicyStatus struct {
// +patchMergeKey=type
// +patchStrategy=merge
// +listType=map
// +listMapKey=type
Conditions []metav1.Condition
}
NetworkPolicyStatus describes the current state of the NetworkPolicy.
func (*NetworkPolicyStatus) DeepCopy ¶
func (in *NetworkPolicyStatus) DeepCopy() *NetworkPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyStatus.
func (*NetworkPolicyStatus) DeepCopyInto ¶
func (in *NetworkPolicyStatus) DeepCopyInto(out *NetworkPolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPort ¶
type NetworkPort struct {
// Name is an artificial identifier of the network port. We use it for merging keys with Strategic Merge Patch.
// Format is `{protocol}-{port}`.
//
// Example: tcp-6881
Name string // protocol-port
Protocol Protocol
Port *int32
}
func (*NetworkPort) DeepCopy ¶
func (in *NetworkPort) DeepCopy() *NetworkPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPort.
func (*NetworkPort) DeepCopyInto ¶
func (in *NetworkPort) DeepCopyInto(out *NetworkPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (NetworkPort) String ¶
func (p NetworkPort) String() string
type OpenCalls ¶
func (*OpenCalls) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenCalls.
func (*OpenCalls) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenVulnerabilityExchangeContainer ¶
type OpenVulnerabilityExchangeContainer struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec VEX
}
func (*OpenVulnerabilityExchangeContainer) DeepCopy ¶
func (in *OpenVulnerabilityExchangeContainer) DeepCopy() *OpenVulnerabilityExchangeContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenVulnerabilityExchangeContainer.
func (*OpenVulnerabilityExchangeContainer) DeepCopyInto ¶
func (in *OpenVulnerabilityExchangeContainer) DeepCopyInto(out *OpenVulnerabilityExchangeContainer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenVulnerabilityExchangeContainer) DeepCopyObject ¶
func (in *OpenVulnerabilityExchangeContainer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenVulnerabilityExchangeContainerList ¶
type OpenVulnerabilityExchangeContainerList struct {
metav1.TypeMeta
metav1.ListMeta
Items []OpenVulnerabilityExchangeContainer
}
func (*OpenVulnerabilityExchangeContainerList) DeepCopy ¶
func (in *OpenVulnerabilityExchangeContainerList) DeepCopy() *OpenVulnerabilityExchangeContainerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenVulnerabilityExchangeContainerList.
func (*OpenVulnerabilityExchangeContainerList) DeepCopyInto ¶
func (in *OpenVulnerabilityExchangeContainerList) DeepCopyInto(out *OpenVulnerabilityExchangeContainerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenVulnerabilityExchangeContainerList) DeepCopyObject ¶
func (in *OpenVulnerabilityExchangeContainerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PackageBasicData ¶
type PackageBasicData struct {
ID string
Name string
Version string
Type string
FoundBy string
Locations []Location
Licenses Licenses
Language string
CPEs CPEs
PURL string
}
PackageBasicData contains non-ambiguous values (type-wise) from pkg.SyftPackage.
func PackageBasicDataFromV01011 ¶
func PackageBasicDataFromV01011(in PackageBasicDataV01011) PackageBasicData
func (*PackageBasicData) DeepCopy ¶
func (in *PackageBasicData) DeepCopy() *PackageBasicData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBasicData.
func (*PackageBasicData) DeepCopyInto ¶
func (in *PackageBasicData) DeepCopyInto(out *PackageBasicData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageBasicDataV01011 ¶
type PackageBasicDataV01011 struct {
ID string
Name string
Version string
Type string
FoundBy string
Locations []Location
Licenses Licenses
Language string
CPEs []string
PURL string
}
PackageBasicDataV01011 is the previous version of PackageBasicData used in schema v0.101.1.
func (*PackageBasicDataV01011) DeepCopy ¶
func (in *PackageBasicDataV01011) DeepCopy() *PackageBasicDataV01011
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBasicDataV01011.
func (*PackageBasicDataV01011) DeepCopyInto ¶
func (in *PackageBasicDataV01011) DeepCopyInto(out *PackageBasicDataV01011)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageCustomData ¶
type PackageCustomData struct {
MetadataType string
Metadata json.RawMessage
}
PackageCustomData contains ambiguous values (type-wise) from pkg.SyftPackage.
func (*PackageCustomData) DeepCopy ¶
func (in *PackageCustomData) DeepCopy() *PackageCustomData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageCustomData.
func (*PackageCustomData) DeepCopyInto ¶
func (in *PackageCustomData) DeepCopyInto(out *PackageCustomData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PathType ¶
type PathType string
PathType represents the type of path referred to by a HTTPIngressPath. +enum
type PolicyRef ¶
func (*PolicyRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRef.
func (*PolicyRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyType ¶
type PolicyType string
PolicyType string describes the NetworkPolicy type This type is beta-level in 1.8 +enum
const ( // PolicyTypeIngress is a NetworkPolicy that affects ingress traffic on selected pods PolicyTypeIngress PolicyType = "Ingress" // PolicyTypeEgress is a NetworkPolicy that affects egress traffic on selected pods PolicyTypeEgress PolicyType = "Egress" )
type Product ¶
type Product struct {
Component
Subcomponents []Subcomponent
}
func (*Product) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Product.
func (*Product) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileState ¶
type ProfileState string
type RelocationReadOnly ¶
type RelocationReadOnly string
type ReportMeta ¶
ReportMeta describes metadata about a report
func (*ReportMeta) DeepCopy ¶
func (in *ReportMeta) DeepCopy() *ReportMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportMeta.
func (*ReportMeta) DeepCopyInto ¶
func (in *ReportMeta) DeepCopyInto(out *ReportMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulePath ¶
func (*RulePath) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulePath.
func (*RulePath) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulePolicy ¶
func (*RulePolicy) DeepCopy ¶
func (in *RulePolicy) DeepCopy() *RulePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulePolicy.
func (*RulePolicy) DeepCopyInto ¶
func (in *RulePolicy) DeepCopyInto(out *RulePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleStatus ¶
func (*RuleStatus) DeepCopy ¶
func (in *RuleStatus) DeepCopy() *RuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleStatus.
func (*RuleStatus) DeepCopyInto ¶
func (in *RuleStatus) DeepCopyInto(out *RuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SBOMSyft ¶
type SBOMSyft struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec SBOMSyftSpec
Status SBOMSyftStatus
}
SBOMSyft is a custom resource that describes an SBOM in the Syft format.
func (*SBOMSyft) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyft.
func (*SBOMSyft) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SBOMSyft) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSyftFiltered ¶
type SBOMSyftFiltered struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec SBOMSyftSpec
Status SBOMSyftStatus
}
SBOMSyftFiltered is a custom resource that describes a filtered SBOM in the Syft format.
Being filtered means that the SBOM contains only the relevant vulnerable materials.
func (*SBOMSyftFiltered) DeepCopy ¶
func (in *SBOMSyftFiltered) DeepCopy() *SBOMSyftFiltered
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyftFiltered.
func (*SBOMSyftFiltered) DeepCopyInto ¶
func (in *SBOMSyftFiltered) DeepCopyInto(out *SBOMSyftFiltered)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SBOMSyftFiltered) DeepCopyObject ¶
func (in *SBOMSyftFiltered) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSyftFilteredList ¶
type SBOMSyftFilteredList struct {
metav1.TypeMeta
metav1.ListMeta
Items []SBOMSyftFiltered
}
SBOMSyftFilteredList is a list of SBOMSyftFiltered objects.
func (*SBOMSyftFilteredList) DeepCopy ¶
func (in *SBOMSyftFilteredList) DeepCopy() *SBOMSyftFilteredList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyftFilteredList.
func (*SBOMSyftFilteredList) DeepCopyInto ¶
func (in *SBOMSyftFilteredList) DeepCopyInto(out *SBOMSyftFilteredList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SBOMSyftFilteredList) DeepCopyObject ¶
func (in *SBOMSyftFilteredList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSyftList ¶
SBOMSyftList is a list of SBOMSyft objects.
func (*SBOMSyftList) DeepCopy ¶
func (in *SBOMSyftList) DeepCopy() *SBOMSyftList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyftList.
func (*SBOMSyftList) DeepCopyInto ¶
func (in *SBOMSyftList) DeepCopyInto(out *SBOMSyftList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SBOMSyftList) DeepCopyObject ¶
func (in *SBOMSyftList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSyftSpec ¶
type SBOMSyftSpec struct {
Metadata SPDXMeta
Syft SyftDocument
}
SBOMSyftSpec is the specification of a Syft SBOM
func (*SBOMSyftSpec) DeepCopy ¶
func (in *SBOMSyftSpec) DeepCopy() *SBOMSyftSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyftSpec.
func (*SBOMSyftSpec) DeepCopyInto ¶
func (in *SBOMSyftSpec) DeepCopyInto(out *SBOMSyftSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SBOMSyftStatus ¶
type SBOMSyftStatus struct {
}
SBOMSyftStatus is the status of a Syft SBOM.
func (*SBOMSyftStatus) DeepCopy ¶
func (in *SBOMSyftStatus) DeepCopy() *SBOMSyftStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyftStatus.
func (*SBOMSyftStatus) DeepCopyInto ¶
func (in *SBOMSyftStatus) DeepCopyInto(out *SBOMSyftStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SPDXMeta ¶
type SPDXMeta struct {
Tool ToolMeta
Report ReportMeta
}
SPDXMeta describes metadata about an SPDX-formatted SBOM
func (*SPDXMeta) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SPDXMeta.
func (*SPDXMeta) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScannedControl ¶
type ScannedControl struct {
ControlID string
Name string
Severity ControlSeverity
Status ScannedControlStatus
Rules []ScannedControlRule
}
func (*ScannedControl) DeepCopy ¶
func (in *ScannedControl) DeepCopy() *ScannedControl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControl.
func (*ScannedControl) DeepCopyInto ¶
func (in *ScannedControl) DeepCopyInto(out *ScannedControl)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScannedControlRule ¶
type ScannedControlRule struct {
Name string
Status RuleStatus
ControlConfigurations map[string]json.RawMessage
Paths []RulePath
AppliedIgnoreRules []string
RelatedResourcesIDs []string
}
func (*ScannedControlRule) DeepCopy ¶
func (in *ScannedControlRule) DeepCopy() *ScannedControlRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControlRule.
func (*ScannedControlRule) DeepCopyInto ¶
func (in *ScannedControlRule) DeepCopyInto(out *ScannedControlRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScannedControlStatus ¶
func (*ScannedControlStatus) DeepCopy ¶
func (in *ScannedControlStatus) DeepCopy() *ScannedControlStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControlStatus.
func (*ScannedControlStatus) DeepCopyInto ¶
func (in *ScannedControlStatus) DeepCopyInto(out *ScannedControlStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScannedControlSummary ¶
type ScannedControlSummary struct {
ControlID string
Severity ControlSeverity
Status ScannedControlStatus
}
func (*ScannedControlSummary) DeepCopy ¶
func (in *ScannedControlSummary) DeepCopy() *ScannedControlSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControlSummary.
func (*ScannedControlSummary) DeepCopyInto ¶
func (in *ScannedControlSummary) DeepCopyInto(out *ScannedControlSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Schema ¶
func (*Schema) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Schema.
func (*Schema) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SeccompProfile ¶
type SeccompProfile struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec SeccompProfileSpec
Status SeccompProfileStatus
}
func (*SeccompProfile) DeepCopy ¶
func (in *SeccompProfile) DeepCopy() *SeccompProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompProfile.
func (*SeccompProfile) DeepCopyInto ¶
func (in *SeccompProfile) DeepCopyInto(out *SeccompProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SeccompProfile) DeepCopyObject ¶
func (in *SeccompProfile) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SeccompProfileList ¶
type SeccompProfileList struct {
metav1.TypeMeta
metav1.ListMeta
Items []SeccompProfile
}
func (*SeccompProfileList) DeepCopy ¶
func (in *SeccompProfileList) DeepCopy() *SeccompProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompProfileList.
func (*SeccompProfileList) DeepCopyInto ¶
func (in *SeccompProfileList) DeepCopyInto(out *SeccompProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SeccompProfileList) DeepCopyObject ¶
func (in *SeccompProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SeccompProfileSpec ¶
type SeccompProfileSpec struct {
Containers []SingleSeccompProfile
InitContainers []SingleSeccompProfile
EphemeralContainers []SingleSeccompProfile
}
func (*SeccompProfileSpec) DeepCopy ¶
func (in *SeccompProfileSpec) DeepCopy() *SeccompProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompProfileSpec.
func (*SeccompProfileSpec) DeepCopyInto ¶
func (in *SeccompProfileSpec) DeepCopyInto(out *SeccompProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SeccompProfileStatus ¶
type SeccompProfileStatus struct {
Containers map[string]SingleSeccompProfileStatus
}
func (*SeccompProfileStatus) DeepCopy ¶
func (in *SeccompProfileStatus) DeepCopy() *SeccompProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompProfileStatus.
func (*SeccompProfileStatus) DeepCopyInto ¶
func (in *SeccompProfileStatus) DeepCopyInto(out *SeccompProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceBackendPort ¶
ServiceBackendPort is the service port being referenced.
func (*ServiceBackendPort) DeepCopy ¶
func (in *ServiceBackendPort) DeepCopy() *ServiceBackendPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBackendPort.
func (*ServiceBackendPort) DeepCopyInto ¶
func (in *ServiceBackendPort) DeepCopyInto(out *ServiceBackendPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SeveritySummary ¶
type SeveritySummary struct {
Critical VulnerabilityCounters
High VulnerabilityCounters
Medium VulnerabilityCounters
Low VulnerabilityCounters
Negligible VulnerabilityCounters
Unknown VulnerabilityCounters
}
SeveritySummary is a summary of all vulnerabilities included in vulnerability manifest
func (*SeveritySummary) Add ¶
func (s *SeveritySummary) Add(severities *SeveritySummary)
func (*SeveritySummary) DeepCopy ¶
func (in *SeveritySummary) DeepCopy() *SeveritySummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeveritySummary.
func (*SeveritySummary) DeepCopyInto ¶
func (in *SeveritySummary) DeepCopyInto(out *SeveritySummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SingleSeccompProfile ¶
type SingleSeccompProfile struct {
Name string
Path string
Spec SingleSeccompProfileSpec
}
func (*SingleSeccompProfile) DeepCopy ¶
func (in *SingleSeccompProfile) DeepCopy() *SingleSeccompProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleSeccompProfile.
func (*SingleSeccompProfile) DeepCopyInto ¶
func (in *SingleSeccompProfile) DeepCopyInto(out *SingleSeccompProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SingleSeccompProfileSpec ¶
type SingleSeccompProfileSpec struct {
// Common spec fields for all profiles.
SpecBase
// BaseProfileName is the name of base profile (in the same namespace) that
// will be unioned into this profile. Base profiles can be references as
// remote OCI artifacts as well when prefixed with `oci://`.
BaseProfileName string
// the default action for seccomp
DefaultAction seccomp.Action
// the architecture used for system calls
Architectures []Arch
// path of UNIX domain socket to contact a seccomp agent for SCMP_ACT_NOTIFY
ListenerPath string
// opaque data to pass to the seccomp agent
ListenerMetadata string
// match a syscall in seccomp. While this property is OPTIONAL, some values
// of defaultAction are not useful without syscalls entries. For example,
// if defaultAction is SCMP_ACT_KILL and syscalls is empty or unset, the
// kernel will kill the container process on its first syscall
Syscalls []*Syscall
// list of flags to use with seccomp(2)
Flags []Flag
}
func (*SingleSeccompProfileSpec) DeepCopy ¶
func (in *SingleSeccompProfileSpec) DeepCopy() *SingleSeccompProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleSeccompProfileSpec.
func (*SingleSeccompProfileSpec) DeepCopyInto ¶
func (in *SingleSeccompProfileSpec) DeepCopyInto(out *SingleSeccompProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SingleSeccompProfileStatus ¶
type SingleSeccompProfileStatus struct {
StatusBase
Path string
ActiveWorkloads []string
// The path that should be provided to the `securityContext.seccompProfile.localhostProfile`
// field of a Pod or container spec
LocalhostProfile string
}
func (*SingleSeccompProfileStatus) DeepCopy ¶
func (in *SingleSeccompProfileStatus) DeepCopy() *SingleSeccompProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleSeccompProfileStatus.
func (*SingleSeccompProfileStatus) DeepCopyInto ¶
func (in *SingleSeccompProfileStatus) DeepCopyInto(out *SingleSeccompProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Source ¶
type Source struct {
Type string
Target json.RawMessage
}
func (*Source) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Source.
func (*Source) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SpecBase ¶
type SpecBase struct {
Disabled bool
}
func (*SpecBase) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecBase.
func (*SpecBase) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackFrame ¶
func (*StackFrame) DeepCopy ¶
func (in *StackFrame) DeepCopy() *StackFrame
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackFrame.
func (*StackFrame) DeepCopyInto ¶
func (in *StackFrame) DeepCopyInto(out *StackFrame)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Statement ¶
type Statement struct {
// ID is an optional identifier for the statement. It takes an IRI and must
// be unique for each statement in the document.
ID string
// [vul_id] SHOULD use existing and well known identifiers, for example:
// CVE, the Global Security Database (GSD), or a supplier’s vulnerability
// tracking system. It is expected that vulnerability identification systems
// are external to and maintained separately from VEX.
//
// [vul_id] MAY be URIs or URLs.
// [vul_id] MAY be arbitrary and MAY be created by the VEX statement [author].
Vulnerability VexVulnerability
// Timestamp is the time at which the information expressed in the Statement
// was known to be true.
Timestamp string
// LastUpdated records the time when the statement last had a modification
LastUpdated string
// Product
// Product details MUST specify what Status applies to.
// Product details MUST include [product_id] and MAY include [subcomponent_id].
Products []Product
// A VEX statement MUST provide Status of the vulnerabilities with respect to the
// products and components listed in the statement. Status MUST be one of the
// Status const values, some of which have further options and requirements.
Status Status
// [status_notes] MAY convey information about how [status] was determined
// and MAY reference other VEX information.
StatusNotes string
// For ”not_affected” status, a VEX statement MUST include a status Justification
// that further explains the status.
Justification Justification
// For ”not_affected” status, a VEX statement MAY include an ImpactStatement
// that contains a description why the vulnerability cannot be exploited.
ImpactStatement string
// For "affected" status, a VEX statement MUST include an ActionStatement that
// SHOULD describe actions to remediate or mitigate [vul_id].
ActionStatement string
ActionStatementTimestamp string
}
func (*Statement) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statement.
func (*Statement) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusBase ¶
type StatusBase struct {
ConditionedStatus
Status ProfileState
}
func (*StatusBase) DeepCopy ¶
func (in *StatusBase) DeepCopy() *StatusBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusBase.
func (*StatusBase) DeepCopyInto ¶
func (in *StatusBase) DeepCopyInto(out *StatusBase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Subcomponent ¶
type Subcomponent struct {
Component
}
func (*Subcomponent) DeepCopy ¶
func (in *Subcomponent) DeepCopy() *Subcomponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subcomponent.
func (*Subcomponent) DeepCopyInto ¶
func (in *Subcomponent) DeepCopyInto(out *Subcomponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyftCoordinates ¶
func (*SyftCoordinates) DeepCopy ¶
func (in *SyftCoordinates) DeepCopy() *SyftCoordinates
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftCoordinates.
func (*SyftCoordinates) DeepCopyInto ¶
func (in *SyftCoordinates) DeepCopyInto(out *SyftCoordinates)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyftDescriptor ¶
type SyftDescriptor struct {
Name string
Version string
Configuration json.RawMessage
}
SyftDescriptor describes what created the document as well as surrounding metadata
func (*SyftDescriptor) DeepCopy ¶
func (in *SyftDescriptor) DeepCopy() *SyftDescriptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftDescriptor.
func (*SyftDescriptor) DeepCopyInto ¶
func (in *SyftDescriptor) DeepCopyInto(out *SyftDescriptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyftDocument ¶
type SyftDocument struct {
Artifacts []SyftPackage // Artifacts is the list of packages discovered and placed into the catalog
ArtifactRelationships []SyftRelationship
Files []SyftFile // note: must have omitempty
SyftSource SyftSource // SyftSource represents the original object that was cataloged
Distro LinuxRelease // Distro represents the Linux distribution that was detected from the source
SyftDescriptor SyftDescriptor // SyftDescriptor is a block containing self-describing information about syft
Schema Schema // Schema is a block reserved for defining the version for the shape of this JSON document and where to find the schema document to validate the shape
}
SyftDocument represents the syft cataloging findings as a JSON document
func (*SyftDocument) DeepCopy ¶
func (in *SyftDocument) DeepCopy() *SyftDocument
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftDocument.
func (*SyftDocument) DeepCopyInto ¶
func (in *SyftDocument) DeepCopyInto(out *SyftDocument)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyftFile ¶
type SyftFile struct {
ID string
Location Coordinates
Metadata *FileMetadataEntry
Contents string
Digests []Digest
Licenses []FileLicense
Executable *Executable
}
func (*SyftFile) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftFile.
func (*SyftFile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyftLanguage ¶
type SyftLanguage string
type SyftPackage ¶
type SyftPackage struct {
PackageBasicData
PackageCustomData
}
SyftPackage represents a pkg.SyftPackage object specialized for JSON marshaling and unmarshalling.
func (*SyftPackage) DeepCopy ¶
func (in *SyftPackage) DeepCopy() *SyftPackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftPackage.
func (*SyftPackage) DeepCopyInto ¶
func (in *SyftPackage) DeepCopyInto(out *SyftPackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyftPackage) UnmarshalJSON ¶
func (p *SyftPackage) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for handling basic values and values with ambiguous types.
type SyftRelationship ¶
type SyftRelationship struct {
Parent string
Child string
Type string
Metadata json.RawMessage
}
func (*SyftRelationship) DeepCopy ¶
func (in *SyftRelationship) DeepCopy() *SyftRelationship
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftRelationship.
func (*SyftRelationship) DeepCopyInto ¶
func (in *SyftRelationship) DeepCopyInto(out *SyftRelationship)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyftSource ¶
type SyftSource struct {
ID string
Name string
Version string
Type string
Metadata json.RawMessage
}
SyftSource object represents the thing that was cataloged
func (*SyftSource) DeepCopy ¶
func (in *SyftSource) DeepCopy() *SyftSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftSource.
func (*SyftSource) DeepCopyInto ¶
func (in *SyftSource) DeepCopyInto(out *SyftSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyftSource) UnmarshalJSON ¶
func (s *SyftSource) UnmarshalJSON(b []byte) error
UnmarshalJSON populates a source object from JSON bytes.
type Syscall ¶
type Syscall struct {
// the names of the syscalls
Names []string
// the action for seccomp rules
Action seccomp.Action
// the errno return code to use. Some actions like SCMP_ACT_ERRNO and
// SCMP_ACT_TRACE allow to specify the errno code to return
ErrnoRet uint64
// the specific syscall in seccomp
Args []*Arg
}
Syscall defines a syscall in seccomp.
func (*Syscall) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Syscall.
func (*Syscall) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ToolMeta ¶
ToolMeta describes metadata about a tool that generated an artifact
func (*ToolMeta) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolMeta.
func (*ToolMeta) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpstreamPackage ¶
func (*UpstreamPackage) DeepCopy ¶
func (in *UpstreamPackage) DeepCopy() *UpstreamPackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamPackage.
func (*UpstreamPackage) DeepCopyInto ¶
func (in *UpstreamPackage) DeepCopyInto(out *UpstreamPackage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VEX ¶
func (*VEX) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VEX.
func (*VEX) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VexVulnerability ¶
type VexVulnerability struct {
// ID is an IRI to reference the vulnerability in the statement.
ID string
// Name is the main vulnerability identifier.
Name string
// Description is a short free form text description of the vulnerability.
Description string
// Aliases is a list of other vulnerability identifier strings that
// locate the vulnerability in other tracking systems.
Aliases []string
}
func (*VexVulnerability) DeepCopy ¶
func (in *VexVulnerability) DeepCopy() *VexVulnerability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VexVulnerability.
func (*VexVulnerability) DeepCopyInto ¶
func (in *VexVulnerability) DeepCopyInto(out *VexVulnerability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilitiesComponents ¶
type VulnerabilitiesComponents struct {
ImageVulnerabilitiesObj VulnerabilitiesObjScope
WorkloadVulnerabilitiesObj VulnerabilitiesObjScope
}
func (*VulnerabilitiesComponents) DeepCopy ¶
func (in *VulnerabilitiesComponents) DeepCopy() *VulnerabilitiesComponents
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitiesComponents.
func (*VulnerabilitiesComponents) DeepCopyInto ¶
func (in *VulnerabilitiesComponents) DeepCopyInto(out *VulnerabilitiesComponents)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilitiesObjScope ¶
func (*VulnerabilitiesObjScope) DeepCopy ¶
func (in *VulnerabilitiesObjScope) DeepCopy() *VulnerabilitiesObjScope
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitiesObjScope.
func (*VulnerabilitiesObjScope) DeepCopyInto ¶
func (in *VulnerabilitiesObjScope) DeepCopyInto(out *VulnerabilitiesObjScope)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Vulnerability ¶
type Vulnerability struct {
VulnerabilityMetadata
Fix Fix
Advisories []Advisory
}
func (*Vulnerability) DeepCopy ¶
func (in *Vulnerability) DeepCopy() *Vulnerability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vulnerability.
func (*Vulnerability) DeepCopyInto ¶
func (in *Vulnerability) DeepCopyInto(out *Vulnerability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilityCounters ¶
VulnerabilityCounters describes a counter of vulnerabilities.
Intended to store relevant and total vulnerabilities in the future.
func (*VulnerabilityCounters) Add ¶
func (c *VulnerabilityCounters) Add(counters *VulnerabilityCounters)
func (*VulnerabilityCounters) DeepCopy ¶
func (in *VulnerabilityCounters) DeepCopy() *VulnerabilityCounters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityCounters.
func (*VulnerabilityCounters) DeepCopyInto ¶
func (in *VulnerabilityCounters) DeepCopyInto(out *VulnerabilityCounters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilityManifest ¶
type VulnerabilityManifest struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec VulnerabilityManifestSpec
Status VulnerabilityManifestStatus
}
VulnerabilityManifest is a custom resource that describes a manifest of found vulnerabilities.
func (*VulnerabilityManifest) DeepCopy ¶
func (in *VulnerabilityManifest) DeepCopy() *VulnerabilityManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifest.
func (*VulnerabilityManifest) DeepCopyInto ¶
func (in *VulnerabilityManifest) DeepCopyInto(out *VulnerabilityManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VulnerabilityManifest) DeepCopyObject ¶
func (in *VulnerabilityManifest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VulnerabilityManifestList ¶
type VulnerabilityManifestList struct {
metav1.TypeMeta
metav1.ListMeta
Items []VulnerabilityManifest
}
VulnerabilityManifestList is a list of Vulnerability manifests.
func (*VulnerabilityManifestList) DeepCopy ¶
func (in *VulnerabilityManifestList) DeepCopy() *VulnerabilityManifestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestList.
func (*VulnerabilityManifestList) DeepCopyInto ¶
func (in *VulnerabilityManifestList) DeepCopyInto(out *VulnerabilityManifestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VulnerabilityManifestList) DeepCopyObject ¶
func (in *VulnerabilityManifestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VulnerabilityManifestMeta ¶
type VulnerabilityManifestMeta struct {
WithRelevancy bool
Tool VulnerabilityManifestToolMeta
Report VulnerabilityManifestReportMeta
}
VulnerabilityManifestMeta holds metadata about a vulnerability manifest
func (*VulnerabilityManifestMeta) DeepCopy ¶
func (in *VulnerabilityManifestMeta) DeepCopy() *VulnerabilityManifestMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestMeta.
func (*VulnerabilityManifestMeta) DeepCopyInto ¶
func (in *VulnerabilityManifestMeta) DeepCopyInto(out *VulnerabilityManifestMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilityManifestReportMeta ¶
VulnerabilityManifestReportMeta holds metadata about the specific report tied to a vulnerability manifest
func (*VulnerabilityManifestReportMeta) DeepCopy ¶
func (in *VulnerabilityManifestReportMeta) DeepCopy() *VulnerabilityManifestReportMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestReportMeta.
func (*VulnerabilityManifestReportMeta) DeepCopyInto ¶
func (in *VulnerabilityManifestReportMeta) DeepCopyInto(out *VulnerabilityManifestReportMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilityManifestSpec ¶
type VulnerabilityManifestSpec struct {
Metadata VulnerabilityManifestMeta
Payload GrypeDocument
}
func (*VulnerabilityManifestSpec) DeepCopy ¶
func (in *VulnerabilityManifestSpec) DeepCopy() *VulnerabilityManifestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSpec.
func (*VulnerabilityManifestSpec) DeepCopyInto ¶
func (in *VulnerabilityManifestSpec) DeepCopyInto(out *VulnerabilityManifestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilityManifestStatus ¶
type VulnerabilityManifestStatus struct {
}
func (*VulnerabilityManifestStatus) DeepCopy ¶
func (in *VulnerabilityManifestStatus) DeepCopy() *VulnerabilityManifestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestStatus.
func (*VulnerabilityManifestStatus) DeepCopyInto ¶
func (in *VulnerabilityManifestStatus) DeepCopyInto(out *VulnerabilityManifestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilityManifestSummary ¶
type VulnerabilityManifestSummary struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec VulnerabilityManifestSummarySpec
Status VulnerabilityManifestStatus
}
VulnerabilityManifestSummary is a summary of a VulnerabilityManifest.
func (*VulnerabilityManifestSummary) DeepCopy ¶
func (in *VulnerabilityManifestSummary) DeepCopy() *VulnerabilityManifestSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSummary.
func (*VulnerabilityManifestSummary) DeepCopyInto ¶
func (in *VulnerabilityManifestSummary) DeepCopyInto(out *VulnerabilityManifestSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VulnerabilityManifestSummary) DeepCopyObject ¶
func (in *VulnerabilityManifestSummary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VulnerabilityManifestSummaryList ¶
type VulnerabilityManifestSummaryList struct {
metav1.TypeMeta
metav1.ListMeta
Items []VulnerabilityManifestSummary
}
VulnerabilityManifestSummaryList is a list of VulnerabilityManifest summaries.
func (*VulnerabilityManifestSummaryList) DeepCopy ¶
func (in *VulnerabilityManifestSummaryList) DeepCopy() *VulnerabilityManifestSummaryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSummaryList.
func (*VulnerabilityManifestSummaryList) DeepCopyInto ¶
func (in *VulnerabilityManifestSummaryList) DeepCopyInto(out *VulnerabilityManifestSummaryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VulnerabilityManifestSummaryList) DeepCopyObject ¶
func (in *VulnerabilityManifestSummaryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VulnerabilityManifestSummarySpec ¶
type VulnerabilityManifestSummarySpec struct {
Severities SeveritySummary
Vulnerabilities VulnerabilitiesComponents
}
func (*VulnerabilityManifestSummarySpec) DeepCopy ¶
func (in *VulnerabilityManifestSummarySpec) DeepCopy() *VulnerabilityManifestSummarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSummarySpec.
func (*VulnerabilityManifestSummarySpec) DeepCopyInto ¶
func (in *VulnerabilityManifestSummarySpec) DeepCopyInto(out *VulnerabilityManifestSummarySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilityManifestToolMeta ¶
VulnerabilityManifestToolMeta describes data about the tool used to generate the vulnerability manifest’s report
func (*VulnerabilityManifestToolMeta) DeepCopy ¶
func (in *VulnerabilityManifestToolMeta) DeepCopy() *VulnerabilityManifestToolMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestToolMeta.
func (*VulnerabilityManifestToolMeta) DeepCopyInto ¶
func (in *VulnerabilityManifestToolMeta) DeepCopyInto(out *VulnerabilityManifestToolMeta)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilityMetadata ¶
type VulnerabilityMetadata struct {
ID string
DataSource string
Namespace string
Severity string
URLs []string
Description string
Cvss []Cvss
}
func (*VulnerabilityMetadata) DeepCopy ¶
func (in *VulnerabilityMetadata) DeepCopy() *VulnerabilityMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityMetadata.
func (*VulnerabilityMetadata) DeepCopyInto ¶
func (in *VulnerabilityMetadata) DeepCopyInto(out *VulnerabilityMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilitySummary ¶
type VulnerabilitySummary struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec VulnerabilitySummarySpec
Status VulnerabilitySummaryStatus
}
VulnerabilitySummary is a summary of a vulnerabilities for a given scope.
func (*VulnerabilitySummary) DeepCopy ¶
func (in *VulnerabilitySummary) DeepCopy() *VulnerabilitySummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitySummary.
func (*VulnerabilitySummary) DeepCopyInto ¶
func (in *VulnerabilitySummary) DeepCopyInto(out *VulnerabilitySummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VulnerabilitySummary) DeepCopyObject ¶
func (in *VulnerabilitySummary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VulnerabilitySummary) Merge ¶
func (v *VulnerabilitySummary) Merge(vulnManifestSumm *VulnerabilityManifestSummary)
type VulnerabilitySummaryList ¶
type VulnerabilitySummaryList struct {
metav1.TypeMeta
metav1.ListMeta
Items []VulnerabilitySummary
}
VulnerabilitySummaryList is a list of VulnerabilitySummaries.
func (*VulnerabilitySummaryList) DeepCopy ¶
func (in *VulnerabilitySummaryList) DeepCopy() *VulnerabilitySummaryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitySummaryList.
func (*VulnerabilitySummaryList) DeepCopyInto ¶
func (in *VulnerabilitySummaryList) DeepCopyInto(out *VulnerabilitySummaryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VulnerabilitySummaryList) DeepCopyObject ¶
func (in *VulnerabilitySummaryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VulnerabilitySummarySpec ¶
type VulnerabilitySummarySpec struct {
Severities SeveritySummary
WorkloadVulnerabilitiesObj []VulnerabilitiesObjScope
}
func (*VulnerabilitySummarySpec) DeepCopy ¶
func (in *VulnerabilitySummarySpec) DeepCopy() *VulnerabilitySummarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitySummarySpec.
func (*VulnerabilitySummarySpec) DeepCopyInto ¶
func (in *VulnerabilitySummarySpec) DeepCopyInto(out *VulnerabilitySummarySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VulnerabilitySummaryStatus ¶
type VulnerabilitySummaryStatus struct {
}
func (*VulnerabilitySummaryStatus) DeepCopy ¶
func (in *VulnerabilitySummaryStatus) DeepCopy() *VulnerabilitySummaryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitySummaryStatus.
func (*VulnerabilitySummaryStatus) DeepCopyInto ¶
func (in *VulnerabilitySummaryStatus) DeepCopyInto(out *VulnerabilitySummaryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadConfigurationScan ¶
type WorkloadConfigurationScan struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec WorkloadConfigurationScanSpec
}
WorkloadConfigurationScan is a custom resource that describes a configuration scan result of a workload.
func (*WorkloadConfigurationScan) DeepCopy ¶
func (in *WorkloadConfigurationScan) DeepCopy() *WorkloadConfigurationScan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScan.
func (*WorkloadConfigurationScan) DeepCopyInto ¶
func (in *WorkloadConfigurationScan) DeepCopyInto(out *WorkloadConfigurationScan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadConfigurationScan) DeepCopyObject ¶
func (in *WorkloadConfigurationScan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadConfigurationScanList ¶
type WorkloadConfigurationScanList struct {
metav1.TypeMeta
metav1.ListMeta
Items []WorkloadConfigurationScan
}
WorkloadConfigurationScanList is a list of workload configuration scan results.
func (*WorkloadConfigurationScanList) DeepCopy ¶
func (in *WorkloadConfigurationScanList) DeepCopy() *WorkloadConfigurationScanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanList.
func (*WorkloadConfigurationScanList) DeepCopyInto ¶
func (in *WorkloadConfigurationScanList) DeepCopyInto(out *WorkloadConfigurationScanList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadConfigurationScanList) DeepCopyObject ¶
func (in *WorkloadConfigurationScanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadConfigurationScanSeveritiesSummary ¶
type WorkloadConfigurationScanSeveritiesSummary struct {
Critical int64
High int64
Medium int64
Low int64
Unknown int64
}
func (*WorkloadConfigurationScanSeveritiesSummary) DeepCopy ¶
func (in *WorkloadConfigurationScanSeveritiesSummary) DeepCopy() *WorkloadConfigurationScanSeveritiesSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSeveritiesSummary.
func (*WorkloadConfigurationScanSeveritiesSummary) DeepCopyInto ¶
func (in *WorkloadConfigurationScanSeveritiesSummary) DeepCopyInto(out *WorkloadConfigurationScanSeveritiesSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadConfigurationScanSpec ¶
type WorkloadConfigurationScanSpec struct {
Controls map[string]ScannedControl
RelatedObjects []WorkloadScanRelatedObject
}
func (*WorkloadConfigurationScanSpec) DeepCopy ¶
func (in *WorkloadConfigurationScanSpec) DeepCopy() *WorkloadConfigurationScanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSpec.
func (*WorkloadConfigurationScanSpec) DeepCopyInto ¶
func (in *WorkloadConfigurationScanSpec) DeepCopyInto(out *WorkloadConfigurationScanSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadConfigurationScanSummary ¶
type WorkloadConfigurationScanSummary struct {
metav1.TypeMeta
metav1.ObjectMeta
Spec WorkloadConfigurationScanSummarySpec
}
WorkloadConfigurationScanSummary is a summary of a WorkloadConfigurationScan
func (*WorkloadConfigurationScanSummary) DeepCopy ¶
func (in *WorkloadConfigurationScanSummary) DeepCopy() *WorkloadConfigurationScanSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummary.
func (*WorkloadConfigurationScanSummary) DeepCopyInto ¶
func (in *WorkloadConfigurationScanSummary) DeepCopyInto(out *WorkloadConfigurationScanSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadConfigurationScanSummary) DeepCopyObject ¶
func (in *WorkloadConfigurationScanSummary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadConfigurationScanSummaryIdentifier ¶
WorkloadConfigurationScanSummaryIdentifier includes information needed to identify a WorkloadConfigurationScanSummary object
func (*WorkloadConfigurationScanSummaryIdentifier) DeepCopy ¶
func (in *WorkloadConfigurationScanSummaryIdentifier) DeepCopy() *WorkloadConfigurationScanSummaryIdentifier
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummaryIdentifier.
func (*WorkloadConfigurationScanSummaryIdentifier) DeepCopyInto ¶
func (in *WorkloadConfigurationScanSummaryIdentifier) DeepCopyInto(out *WorkloadConfigurationScanSummaryIdentifier)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadConfigurationScanSummaryList ¶
type WorkloadConfigurationScanSummaryList struct {
metav1.TypeMeta
metav1.ListMeta
Items []WorkloadConfigurationScanSummary
}
WorkloadConfigurationScanSummaryList is a list of WorkloadConfigurationScan summaries.
func (*WorkloadConfigurationScanSummaryList) DeepCopy ¶
func (in *WorkloadConfigurationScanSummaryList) DeepCopy() *WorkloadConfigurationScanSummaryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummaryList.
func (*WorkloadConfigurationScanSummaryList) DeepCopyInto ¶
func (in *WorkloadConfigurationScanSummaryList) DeepCopyInto(out *WorkloadConfigurationScanSummaryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkloadConfigurationScanSummaryList) DeepCopyObject ¶
func (in *WorkloadConfigurationScanSummaryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadConfigurationScanSummarySpec ¶
type WorkloadConfigurationScanSummarySpec struct {
Severities WorkloadConfigurationScanSeveritiesSummary
Controls map[string]ScannedControlSummary
}
func (*WorkloadConfigurationScanSummarySpec) DeepCopy ¶
func (in *WorkloadConfigurationScanSummarySpec) DeepCopy() *WorkloadConfigurationScanSummarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummarySpec.
func (*WorkloadConfigurationScanSummarySpec) DeepCopyInto ¶
func (in *WorkloadConfigurationScanSummarySpec) DeepCopyInto(out *WorkloadConfigurationScanSummarySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadScanRelatedObject ¶
type WorkloadScanRelatedObject struct {
Namespace string
APIGroup string
APIVersion string
Kind string
Name string
}
func (*WorkloadScanRelatedObject) DeepCopy ¶
func (in *WorkloadScanRelatedObject) DeepCopy() *WorkloadScanRelatedObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadScanRelatedObject.
func (*WorkloadScanRelatedObject) DeepCopyInto ¶
func (in *WorkloadScanRelatedObject) DeepCopyInto(out *WorkloadScanRelatedObject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package v1beta1 is the v1beta1 version of the API.
|
Package v1beta1 is the v1beta1 version of the API. |