Documentation ¶
Overview ¶
Package softwarecomposition is the internal version of the API.
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func RenderDocElementID(deID DocElementID) string
- func RenderElementID(eID ElementID) string
- func Resource(resource string) schema.GroupResource
- type Advisory
- type Algorithm
- type Annotation
- type Annotator
- type ApplicationActivity
- type ApplicationActivityList
- type ApplicationActivitySpec
- type ApplicationActivityStatus
- type ApplicationProfile
- type ApplicationProfileContainer
- type ApplicationProfileList
- type ApplicationProfileSpec
- type ApplicationProfileStatus
- type Arch
- type Arg
- type ArtifactOfProject
- type CPE
- type CPEs
- type Checksum
- type ChecksumAlgorithm
- type CommunicationType
- type Component
- type Condition
- type ConditionReason
- type ConditionType
- type ConditionedStatus
- type ConfigurationScanSummary
- type ConfigurationScanSummaryList
- type ConfigurationScanSummarySpec
- type ControlSeverity
- type Coordinates
- type CreationInfo
- type Creator
- type Cvss
- type CvssMetrics
- type Descriptor
- type Digest
- type Distribution
- type DocElementID
- type Document
- type ELFSecurityFeatures
- type ElementID
- type ExecCalls
- type Executable
- type ExecutableFormat
- type ExternalDocumentRef
- type File
- type FileLicense
- type FileLicenseEvidence
- type FileMetadataEntry
- type Fix
- type Flag
- type GeneratedNetworkPolicy
- type GeneratedNetworkPolicyList
- type GrypeDocument
- type GrypePackage
- type HTTPIngressPath
- type HTTPIngressRuleValue
- type Hash
- type IDLikes
- type IPBlock
- 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 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 Originator
- type OtherLicense
- type Package
- type PackageBasicData
- type PackageBasicDataV01011
- type PackageCustomData
- type PackageExternalReference
- type PackageVerificationCode
- type PathType
- type PolicyRef
- type PolicyType
- type Product
- type ProfileState
- type Protocol
- type Relationship
- type RelocationReadOnly
- type ReportMeta
- type Review
- type RulePath
- type RuleStatus
- type SBOMSPDXv2p3
- type SBOMSPDXv2p3Filtered
- type SBOMSPDXv2p3FilteredList
- type SBOMSPDXv2p3List
- type SBOMSPDXv2p3Spec
- type SBOMSPDXv2p3Status
- 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 Snippet
- type SnippetRange
- type SnippetRangePointer
- type Source
- type SpecBase
- type Statement
- type Status
- type StatusBase
- type Subcomponent
- type Supplier
- 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 ( // F.2 Security types TypeSecurityCPE23Type string = "cpe23Type" TypeSecurityCPE22Type string = "cpe22Type" TypeSecurityAdvisory string = "advisory" TypeSecurityFix string = "fix" TypeSecurityUrl string = "url" TypeSecuritySwid string = "swid" // F.3 Package-Manager types TypePackageManagerMavenCentral string = "maven-central" TypePackageManagerNpm string = "npm" TypePackageManagerNuGet string = "nuget" TypePackageManagerBower string = "bower" TypePackageManagerPURL string = "purl" // 11.1 Relationship field types TypeRelationshipDescribe string = "DESCRIBES" TypeRelationshipDescribeBy string = "DESCRIBED_BY" TypeRelationshipContains string = "CONTAINS" TypeRelationshipContainedBy string = "CONTAINED_BY" TypeRelationshipDependsOn string = "DEPENDS_ON" TypeRelationshipDependencyOf string = "DEPENDENCY_OF" TypeRelationshipBuildDependencyOf string = "BUILD_DEPENDENCY_OF" TypeRelationshipDevDependencyOf string = "DEV_DEPENDENCY_OF" TypeRelationshipOptionalDependencyOf string = "OPTIONAL_DEPENDENCY_OF" TypeRelationshipProvidedDependencyOf string = "PROVIDED_DEPENDENCY_OF" TypeRelationshipTestDependencyOf string = "TEST_DEPENDENCY_OF" TypeRelationshipRuntimeDependencyOf string = "RUNTIME_DEPENDENCY_OF" TypeRelationshipExampleOf string = "EXAMPLE_OF" TypeRelationshipGenerates string = "GENERATES" TypeRelationshipGeneratedFrom string = "GENERATED_FROM" TypeRelationshipAncestorOf string = "ANCESTOR_OF" TypeRelationshipDescendantOf string = "DESCENDANT_OF" TypeRelationshipVariantOf string = "VARIANT_OF" TypeRelationshipDistributionArtifact string = "DISTRIBUTION_ARTIFACT" TypeRelationshipPatchFor string = "PATCH_FOR" TypeRelationshipPatchApplied string = "PATCH_APPLIED" TypeRelationshipCopyOf string = "COPY_OF" TypeRelationshipFileAdded string = "FILE_ADDED" TypeRelationshipFileDeleted string = "FILE_DELETED" TypeRelationshipFileModified string = "FILE_MODIFIED" TypeRelationshipExpandedFromArchive string = "EXPANDED_FROM_ARCHIVE" TypeRelationshipDynamicLink string = "DYNAMIC_LINK" TypeRelationshipStaticLink string = "STATIC_LINK" TypeRelationshipDataFileOf string = "DATA_FILE_OF" TypeRelationshipTestCaseOf string = "TEST_CASE_OF" TypeRelationshipBuildToolOf string = "BUILD_TOOL_OF" TypeRelationshipDevToolOf string = "DEV_TOOL_OF" TypeRelationshipTestOf string = "TEST_OF" TypeRelationshipTestToolOf string = "TEST_TOOL_OF" TypeRelationshipDocumentationOf string = "DOCUMENTATION_OF" TypeRelationshipOptionalComponentOf string = "OPTIONAL_COMPONENT_OF" TypeRelationshipMetafileOf string = "METAFILE_OF" TypeRelationshipPackageOf string = "PACKAGE_OF" TypeRelationshipAmends string = "AMENDS" TypeRelationshipPrerequisiteFor string = "PREREQUISITE_FOR" TypeRelationshipHasPrerequisite string = "HAS_PREREQUISITE" TypeRelationshipRequirementDescriptionFor string = "REQUIREMENT_DESCRIPTION_FOR" TypeRelationshipSpecificationFor string = "SPECIFICATION_FOR" TypeRelationshipOther string = "OTHER" )
Constants for various string types
const GroupName = "spdx.softwarecomposition.kubescape.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 RenderDocElementID ¶
func RenderDocElementID(deID DocElementID) string
RenderDocElementID takes a DocElementID and returns the string equivalent, with the SPDXRef- prefix (and, if applicable, the DocumentRef- prefix) reinserted. If a SpecialID is present, it will be rendered verbatim and DocumentRefID and ElementRefID will be ignored.
func RenderElementID ¶
RenderElementID takes an ElementID and returns the string equivalent, with the SPDXRef- prefix reinserted.
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 Annotation ¶
type Annotation struct { // 12.1: Annotator // Cardinality: conditional (mandatory, one) if there is an Annotation Annotator Annotator // 12.2: Annotation Date: YYYY-MM-DDThh:mm:ssZ // Cardinality: conditional (mandatory, one) if there is an Annotation AnnotationDate string // 12.3: Annotation Type: "REVIEW" or "OTHER" // Cardinality: conditional (mandatory, one) if there is an Annotation AnnotationType string // 12.4: SPDX Identifier Reference // Cardinality: conditional (mandatory, one) if there is an Annotation // This field is not used in hierarchical data formats where the referenced element is clear, such as JSON or YAML. AnnotationSPDXIdentifier DocElementID // 12.5: Annotation Comment // Cardinality: conditional (mandatory, one) if there is an Annotation AnnotationComment string }
Annotation is an Annotation section of an SPDX Document for version 2.3 of the spec.
func (*Annotation) DeepCopy ¶
func (in *Annotation) DeepCopy() *Annotation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Annotation.
func (*Annotation) DeepCopyInto ¶
func (in *Annotation) DeepCopyInto(out *Annotation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Annotator ¶
type Annotator struct { Annotator string // including AnnotatorType: one of "Person", "Organization" or "Tool" AnnotatorType string }
func (*Annotator) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Annotator.
func (*Annotator) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Annotator) MarshalJSON ¶
MarshalJSON converts the receiver into a slice of bytes representing an Annotator in string form. This function is also used when marshalling to YAML
func (*Annotator) UnmarshalJSON ¶
UnmarshalJSON takes an annotator in the typical one-line format and parses it into an Annotator struct. This function is also used when unmarshalling YAML
type ApplicationActivity ¶ added in v0.0.22
type ApplicationActivity struct { metav1.TypeMeta metav1.ObjectMeta Spec ApplicationActivitySpec Status ApplicationActivityStatus }
func (*ApplicationActivity) DeepCopy ¶ added in v0.0.22
func (in *ApplicationActivity) DeepCopy() *ApplicationActivity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationActivity.
func (*ApplicationActivity) DeepCopyInto ¶ added in v0.0.22
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 ¶ added in v0.0.22
func (in *ApplicationActivity) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationActivityList ¶ added in v0.0.22
type ApplicationActivityList struct { metav1.TypeMeta metav1.ListMeta Items []ApplicationActivity }
func (*ApplicationActivityList) DeepCopy ¶ added in v0.0.22
func (in *ApplicationActivityList) DeepCopy() *ApplicationActivityList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationActivityList.
func (*ApplicationActivityList) DeepCopyInto ¶ added in v0.0.22
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 ¶ added in v0.0.22
func (in *ApplicationActivityList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationActivitySpec ¶ added in v0.0.22
type ApplicationActivitySpec struct {
Syscalls []string
}
func (*ApplicationActivitySpec) DeepCopy ¶ added in v0.0.22
func (in *ApplicationActivitySpec) DeepCopy() *ApplicationActivitySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationActivitySpec.
func (*ApplicationActivitySpec) DeepCopyInto ¶ added in v0.0.22
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 ¶ added in v0.0.22
type ApplicationActivityStatus struct { }
func (*ApplicationActivityStatus) DeepCopy ¶ added in v0.0.22
func (in *ApplicationActivityStatus) DeepCopy() *ApplicationActivityStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationActivityStatus.
func (*ApplicationActivityStatus) DeepCopyInto ¶ added in v0.0.22
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 ¶ added in v0.0.22
type ApplicationProfile struct { metav1.TypeMeta metav1.ObjectMeta Spec ApplicationProfileSpec Status ApplicationProfileStatus }
func (*ApplicationProfile) DeepCopy ¶ added in v0.0.22
func (in *ApplicationProfile) DeepCopy() *ApplicationProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationProfile.
func (*ApplicationProfile) DeepCopyInto ¶ added in v0.0.22
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 ¶ added in v0.0.22
func (in *ApplicationProfile) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationProfileContainer ¶ added in v0.0.37
type ApplicationProfileContainer struct { Name string Capabilities []string Execs []ExecCalls Opens []OpenCalls Syscalls []string SeccompProfile SingleSeccompProfile }
func (*ApplicationProfileContainer) DeepCopy ¶ added in v0.0.37
func (in *ApplicationProfileContainer) DeepCopy() *ApplicationProfileContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationProfileContainer.
func (*ApplicationProfileContainer) DeepCopyInto ¶ added in v0.0.37
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 ¶ added in v0.0.22
type ApplicationProfileList struct { metav1.TypeMeta metav1.ListMeta Items []ApplicationProfile }
func (*ApplicationProfileList) DeepCopy ¶ added in v0.0.22
func (in *ApplicationProfileList) DeepCopy() *ApplicationProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationProfileList.
func (*ApplicationProfileList) DeepCopyInto ¶ added in v0.0.22
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 ¶ added in v0.0.22
func (in *ApplicationProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationProfileSpec ¶ added in v0.0.22
type ApplicationProfileSpec struct { Architectures []string Containers []ApplicationProfileContainer InitContainers []ApplicationProfileContainer EphemeralContainers []ApplicationProfileContainer }
func (*ApplicationProfileSpec) DeepCopy ¶ added in v0.0.22
func (in *ApplicationProfileSpec) DeepCopy() *ApplicationProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationProfileSpec.
func (*ApplicationProfileSpec) DeepCopyInto ¶ added in v0.0.22
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 ¶ added in v0.0.22
type ApplicationProfileStatus struct { }
func (*ApplicationProfileStatus) DeepCopy ¶ added in v0.0.22
func (in *ApplicationProfileStatus) DeepCopy() *ApplicationProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationProfileStatus.
func (*ApplicationProfileStatus) DeepCopyInto ¶ added in v0.0.22
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 ¶ added in v0.0.89
type Arg struct { // the index for syscall arguments in seccomp Index uint // 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 ¶ added in v0.0.89
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Arg.
func (*Arg) DeepCopyInto ¶ added in v0.0.89
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArtifactOfProject ¶
type ArtifactOfProject struct { // DEPRECATED in version 2.1 of spec // 8.9: Artifact of Project Name // Cardinality: conditional, required if present, one per AOP Name string // DEPRECATED in version 2.1 of spec // 8.10: Artifact of Project Homepage: URL or "UNKNOWN" // Cardinality: optional, one per AOP HomePage string // DEPRECATED in version 2.1 of spec // 8.11: Artifact of Project Uniform Resource Identifier // Cardinality: optional, one per AOP URI string }
ArtifactOfProject is a DEPRECATED collection of data regarding a Package, as defined in sections 8.9-8.11 in version 2.3 of the spec. NOTE: the JSON schema does not define the structure of this object: https://github.com/spdx/spdx-spec/blob/development/v2.3.1/schemas/spdx-schema.json#L480
func (*ArtifactOfProject) DeepCopy ¶
func (in *ArtifactOfProject) DeepCopy() *ArtifactOfProject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactOfProject.
func (*ArtifactOfProject) DeepCopyInto ¶
func (in *ArtifactOfProject) DeepCopyInto(out *ArtifactOfProject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPE ¶ added in v0.0.83
func (*CPE) DeepCopy ¶ added in v0.0.83
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPE.
func (*CPE) DeepCopyInto ¶ added in v0.0.83
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPEs ¶ added in v0.0.83
type CPEs []CPE
func (CPEs) DeepCopy ¶ added in v0.0.83
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPEs.
func (CPEs) DeepCopyInto ¶ added in v0.0.83
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Checksum ¶
type Checksum struct { Algorithm ChecksumAlgorithm Value string }
Checksum provides a unique identifier to match analysis information on each specific file in a package. The Algorithm field describes the ChecksumAlgorithm used and the Value represents the file checksum
func (*Checksum) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Checksum.
func (*Checksum) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChecksumAlgorithm ¶
type ChecksumAlgorithm string
ChecksumAlgorithm represents the algorithm used to generate the file checksum in the Checksum struct.
const ( SHA224 ChecksumAlgorithm = "SHA224" SHA1 ChecksumAlgorithm = "SHA1" SHA256 ChecksumAlgorithm = "SHA256" SHA384 ChecksumAlgorithm = "SHA384" SHA512 ChecksumAlgorithm = "SHA512" MD2 ChecksumAlgorithm = "MD2" MD4 ChecksumAlgorithm = "MD4" MD5 ChecksumAlgorithm = "MD5" MD6 ChecksumAlgorithm = "MD6" SHA3_256 ChecksumAlgorithm = "SHA3-256" SHA3_384 ChecksumAlgorithm = "SHA3-384" SHA3_512 ChecksumAlgorithm = "SHA3-512" BLAKE2b_256 ChecksumAlgorithm = "BLAKE2b-256" BLAKE2b_384 ChecksumAlgorithm = "BLAKE2b-384" BLAKE2b_512 ChecksumAlgorithm = "BLAKE2b-512" BLAKE3 ChecksumAlgorithm = "BLAKE3" ADLER32 ChecksumAlgorithm = "ADLER32" )
The checksum algorithms mentioned in the spdxv2.2.0 https://spdx.github.io/spdx-spec/4-file-information/#44-file-checksum
type CommunicationType ¶ added in v0.0.33
type CommunicationType string
type Component ¶ added in v0.0.29
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 ¶ added in v0.0.29
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
func (*Component) DeepCopyInto ¶ added in v0.0.29
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶ added in v0.0.89
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 ¶ added in v0.0.89
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶ added in v0.0.89
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionReason ¶ added in v0.0.89
type ConditionReason string
type ConditionType ¶ added in v0.0.89
type ConditionType string
type ConditionedStatus ¶ added in v0.0.89
type ConditionedStatus struct { // Conditions of the resource. // +optional Conditions []Condition }
func (*ConditionedStatus) DeepCopy ¶ added in v0.0.89
func (in *ConditionedStatus) DeepCopy() *ConditionedStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionedStatus.
func (*ConditionedStatus) DeepCopyInto ¶ added in v0.0.89
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 ¶ added in v0.0.18
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 ¶ added in v0.0.18
func (in *ConfigurationScanSummary) DeepCopy() *ConfigurationScanSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationScanSummary.
func (*ConfigurationScanSummary) DeepCopyInto ¶ added in v0.0.18
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 ¶ added in v0.0.18
func (in *ConfigurationScanSummary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationScanSummaryList ¶ added in v0.0.18
type ConfigurationScanSummaryList struct { metav1.TypeMeta metav1.ListMeta Items []ConfigurationScanSummary }
ConfigurationScanSummaryList is a list of ConfigurationScanSummary summaries.
func (*ConfigurationScanSummaryList) DeepCopy ¶ added in v0.0.18
func (in *ConfigurationScanSummaryList) DeepCopy() *ConfigurationScanSummaryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationScanSummaryList.
func (*ConfigurationScanSummaryList) DeepCopyInto ¶ added in v0.0.18
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 ¶ added in v0.0.18
func (in *ConfigurationScanSummaryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigurationScanSummarySpec ¶ added in v0.0.18
type ConfigurationScanSummarySpec struct { Severities WorkloadConfigurationScanSeveritiesSummary WorkloadConfigurationScanSummaryIdentifiers []WorkloadConfigurationScanSummaryIdentifier }
func (*ConfigurationScanSummarySpec) DeepCopy ¶ added in v0.0.18
func (in *ConfigurationScanSummarySpec) DeepCopy() *ConfigurationScanSummarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationScanSummarySpec.
func (*ConfigurationScanSummarySpec) DeepCopyInto ¶ added in v0.0.18
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 ¶ added in v0.0.16
func (*ControlSeverity) DeepCopy ¶ added in v0.0.16
func (in *ControlSeverity) DeepCopy() *ControlSeverity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlSeverity.
func (*ControlSeverity) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.42
type Coordinates struct { RealPath string `json:"path" cyclonedx:"path"` // The path where all path ancestors have no hardlinks / symlinks FileSystemID string `json:"layerID,omitempty" cyclonedx:"layerID"` // 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 ¶ added in v0.0.42
func (in *Coordinates) DeepCopy() *Coordinates
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Coordinates.
func (*Coordinates) DeepCopyInto ¶ added in v0.0.42
func (in *Coordinates) DeepCopyInto(out *Coordinates)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CreationInfo ¶
type CreationInfo struct { // 6.7: License List Version // Cardinality: optional, one LicenseListVersion string // 6.8: Creators: may have multiple keys for Person, Organization // and/or Tool // Cardinality: mandatory, one or many Creators []Creator // 6.9: Created: data format YYYY-MM-DDThh:mm:ssZ // Cardinality: mandatory, one Created string // 6.10: Creator Comment // Cardinality: optional, one CreatorComment string }
CreationInfo is a Document Creation Information section of an SPDX Document for version 2.3 of the spec.
func (*CreationInfo) DeepCopy ¶
func (in *CreationInfo) DeepCopy() *CreationInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreationInfo.
func (*CreationInfo) DeepCopyInto ¶
func (in *CreationInfo) DeepCopyInto(out *CreationInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Creator ¶
type Creator struct { Creator string // CreatorType should be one of "Person", "Organization", or "Tool" CreatorType string }
Creator is a wrapper around the Creator SPDX field. The SPDX field contains two values, which requires special handling in order to marshal/unmarshal it to/from Go data types.
func (*Creator) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Creator.
func (*Creator) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Creator) MarshalJSON ¶
MarshalJSON converts the receiver into a slice of bytes representing a Creator in string form. This function is also used with marshalling to YAML
func (*Creator) UnmarshalJSON ¶
UnmarshalJSON takes an annotator in the typical one-line format and parses it into a Creator struct. This function is also used when unmarshalling YAML
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 ¶ added in v0.0.42
func (*Digest) DeepCopy ¶ added in v0.0.42
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Digest.
func (*Digest) DeepCopyInto ¶ added in v0.0.42
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 DocElementID ¶
DocElementID represents an SPDX element identifier that could be defined in a different SPDX document, and therefore could have a "DocumentRef-" portion, such as Relationships and Annotations. ElementID is used for attributes in which a "DocumentRef-" portion cannot appear, such as a Package or File definition (since it is necessarily being defined in the present document). DocumentRefID will be the empty string for elements defined in the present document. DocElementIDs should NOT contain the mandatory 'DocumentRef-' or 'SPDXRef-' portions. SpecialID is used ONLY if the DocElementID matches a defined set of permitted special values for a particular field, e.g. "NONE" or "NOASSERTION" for the right-hand side of Relationships. If SpecialID is set, DocumentRefID and ElementRefID should be empty (and vice versa).
func MakeDocElementID ¶
func MakeDocElementID(docRef string, eltRef string) DocElementID
MakeDocElementID takes strings (without prefixes) for the DocumentRef- and SPDXRef- identifiers, and returns a DocElementID. An empty string should be used for the DocumentRef- portion if it is referring to the present document.
func MakeDocElementSpecial ¶
func MakeDocElementSpecial(specialID string) DocElementID
MakeDocElementSpecial takes a "special" string (e.g. "NONE" or "NOASSERTION" for the right side of a Relationship), nd returns a DocElementID with it in the SpecialID field. Other fields will be empty.
func (*DocElementID) DeepCopy ¶
func (in *DocElementID) DeepCopy() *DocElementID
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DocElementID.
func (*DocElementID) DeepCopyInto ¶
func (in *DocElementID) DeepCopyInto(out *DocElementID)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (DocElementID) MarshalJSON ¶
func (d DocElementID) MarshalJSON() ([]byte, error)
MarshalJSON converts the receiver into a slice of bytes representing a DocElementID in string form. This function is also used when marshalling to YAML
func (*DocElementID) UnmarshalJSON ¶
func (d *DocElementID) UnmarshalJSON(data []byte) (err error)
UnmarshalJSON takes a SPDX Identifier string parses it into a DocElementID struct. This function is also used when unmarshalling YAML
type Document ¶
type Document struct { // Added DocumentDescribes []string // 6.1: SPDX Version; should be in the format "SPDX-2.3" // Cardinality: mandatory, one SPDXVersion string // 6.2: Data License; should be "CC0-1.0" // Cardinality: mandatory, one DataLicense string // 6.3: SPDX Identifier; should be "DOCUMENT" to represent // mandatory identifier of SPDXRef-DOCUMENT // Cardinality: mandatory, one SPDXIdentifier ElementID // 6.4: Document Name // Cardinality: mandatory, one DocumentName string // 6.5: Document Namespace // Cardinality: mandatory, one DocumentNamespace string // 6.6: External Document References // Cardinality: optional, one or many ExternalDocumentReferences []ExternalDocumentRef // 6.11: Document Comment // Cardinality: optional, one DocumentComment string CreationInfo *CreationInfo Packages []*Package Files []*File OtherLicenses []*OtherLicense Relationships []*Relationship Annotations []Annotation Snippets []Snippet // DEPRECATED in version 2.0 of spec Reviews []*Review }
Document is an SPDX Document for version 2.3 of the spec. See https://spdx.github.io/spdx-spec/v2.3/document-creation-information
func (*Document) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Document.
func (*Document) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ELFSecurityFeatures ¶ added in v0.0.83
type ELFSecurityFeatures struct { SymbolTableStripped bool `json:"symbolTableStripped" yaml:"symbolTableStripped" mapstructure:"symbolTableStripped"` StackCanary *bool `json:"stackCanary,omitempty" yaml:"stackCanary" mapstructure:"stackCanary"` NoExecutable bool `json:"nx" yaml:"nx" mapstructure:"nx"` RelocationReadOnly RelocationReadOnly `json:"relRO" yaml:"relRO" mapstructure:"relRO"` PositionIndependentExecutable bool `json:"pie" yaml:"pie" mapstructure:"pie"` // 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 `json:"safeStack,omitempty" yaml:"safeStack" mapstructure:"safeStack"` // 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 `json:"cfi,omitempty" yaml:"cfi" mapstructure:"cfi"` // 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 `json:"fortify,omitempty" yaml:"fortify" mapstructure:"fortify"` }
func (*ELFSecurityFeatures) DeepCopy ¶ added in v0.0.83
func (in *ELFSecurityFeatures) DeepCopy() *ELFSecurityFeatures
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ELFSecurityFeatures.
func (*ELFSecurityFeatures) DeepCopyInto ¶ added in v0.0.83
func (in *ELFSecurityFeatures) DeepCopyInto(out *ELFSecurityFeatures)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElementID ¶
type ElementID string
ElementID represents the identifier string portion of an SPDX element identifier. DocElementID should be used for any attributes which can contain identifiers defined in a different SPDX document. ElementIDs should NOT contain the mandatory 'SPDXRef-' portion.
func (ElementID) MarshalJSON ¶
MarshalJSON returns an SPDXRef- prefixed JSON string
func (*ElementID) UnmarshalJSON ¶
UnmarshalJSON validates SPDXRef- prefixes and removes them when processing ElementIDs
type ExecCalls ¶ added in v0.0.22
func (*ExecCalls) DeepCopy ¶ added in v0.0.22
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCalls.
func (*ExecCalls) DeepCopyInto ¶ added in v0.0.22
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Executable ¶ added in v0.0.83
type Executable struct { // Format denotes either ELF, Mach-O, or PE Format ExecutableFormat `json:"format" yaml:"format" mapstructure:"format"` HasExports bool `json:"hasExports" yaml:"hasExports" mapstructure:"hasExports"` HasEntrypoint bool `json:"hasEntrypoint" yaml:"hasEntrypoint" mapstructure:"hasEntrypoint"` ImportedLibraries []string `json:"importedLibraries" yaml:"importedLibraries" mapstructure:"importedLibraries"` ELFSecurityFeatures *ELFSecurityFeatures `json:"elfSecurityFeatures,omitempty" yaml:"elfSecurityFeatures" mapstructure:"elfSecurityFeatures"` }
func (*Executable) DeepCopy ¶ added in v0.0.83
func (in *Executable) DeepCopy() *Executable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Executable.
func (*Executable) DeepCopyInto ¶ added in v0.0.83
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 ¶ added in v0.0.83
type ExecutableFormat string
type ExternalDocumentRef ¶
type ExternalDocumentRef struct { // DocumentRefID is the ID string defined in the start of the // reference. It should _not_ contain the "DocumentRef-" part // of the mandatory ID string. DocumentRefID string // URI is the URI defined for the external document URI string // Checksum is the actual hash data Checksum Checksum }
ExternalDocumentRef is a reference to an external SPDX document as defined in section 6.6 for version 2.3 of the spec.
func (*ExternalDocumentRef) DeepCopy ¶
func (in *ExternalDocumentRef) DeepCopy() *ExternalDocumentRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalDocumentRef.
func (*ExternalDocumentRef) DeepCopyInto ¶
func (in *ExternalDocumentRef) DeepCopyInto(out *ExternalDocumentRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type File ¶
type File struct { // 8.1: File Name // Cardinality: mandatory, one FileName string // 8.2: File SPDX Identifier: "SPDXRef-[idstring]" // Cardinality: mandatory, one FileSPDXIdentifier ElementID // 8.3: File Types // Cardinality: optional, multiple FileTypes []string // 8.4: File Checksum: may have keys for SHA1, SHA256, MD5, SHA3-256, SHA3-384, SHA3-512, BLAKE2b-256, BLAKE2b-384, BLAKE2b-512, BLAKE3, ADLER32 // Cardinality: mandatory, one SHA1, others may be optionally provided Checksums []Checksum // 8.5: Concluded License: SPDX License Expression, "NONE" or "NOASSERTION" // Cardinality: optional, one LicenseConcluded string // 8.6: License Information in File: SPDX License Expression, "NONE" or "NOASSERTION" // Cardinality: optional, one or many LicenseInfoInFiles []string // 8.7: Comments on License // Cardinality: optional, one LicenseComments string // 8.8: Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION" // Cardinality: mandatory, one FileCopyrightText string // DEPRECATED in version 2.1 of spec // 8.9-8.11: Artifact of Project variables (defined below) // Cardinality: optional, one or many ArtifactOfProjects []*ArtifactOfProject // 8.12: File Comment // Cardinality: optional, one FileComment string // 8.13: File Notice // Cardinality: optional, one FileNotice string // 8.14: File Contributor // Cardinality: optional, one or many FileContributors []string // 8.15: File Attribution Text // Cardinality: optional, one or many FileAttributionTexts []string // DEPRECATED in version 2.0 of spec // 8.16: File Dependencies // Cardinality: optional, one or many FileDependencies []string // Snippets contained in this File // Note that Snippets could be defined in a different Document! However, // the only ones that _THIS_ document can contain are this ones that are // defined here -- so this should just be an ElementID. Snippets map[ElementID]*Snippet Annotations []Annotation }
File is a File section of an SPDX Document for version 2.3 of the spec.
func (*File) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileLicense ¶ added in v0.0.42
type FileLicense struct { Value string `json:"value"` SPDXExpression string `json:"spdxExpression"` Type LicenseType `json:"type"` Evidence *FileLicenseEvidence `json:"evidence,omitempty"` }
func (*FileLicense) DeepCopy ¶ added in v0.0.42
func (in *FileLicense) DeepCopy() *FileLicense
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileLicense.
func (*FileLicense) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
type FileLicenseEvidence struct { Confidence int `json:"confidence"` Offset int `json:"offset"` Extent int `json:"extent"` }
func (*FileLicenseEvidence) DeepCopy ¶ added in v0.0.42
func (in *FileLicenseEvidence) DeepCopy() *FileLicenseEvidence
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileLicenseEvidence.
func (*FileLicenseEvidence) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
type FileMetadataEntry struct { Mode int `json:"mode"` Type string `json:"type"` LinkDestination string `json:"linkDestination,omitempty"` UserID int `json:"userID"` GroupID int `json:"groupID"` MIMEType string `json:"mimeType"` Size int64 `json:"size"` }
func (*FileMetadataEntry) DeepCopy ¶ added in v0.0.42
func (in *FileMetadataEntry) DeepCopy() *FileMetadataEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileMetadataEntry.
func (*FileMetadataEntry) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.33
type GeneratedNetworkPolicy struct { metav1.TypeMeta metav1.ObjectMeta Spec NetworkPolicy PoliciesRef []PolicyRef }
GeneratedNetworkPolicy represents a generated NetworkPolicy.
func (*GeneratedNetworkPolicy) DeepCopy ¶ added in v0.0.33
func (in *GeneratedNetworkPolicy) DeepCopy() *GeneratedNetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedNetworkPolicy.
func (*GeneratedNetworkPolicy) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
func (in *GeneratedNetworkPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GeneratedNetworkPolicyList ¶ added in v0.0.33
type GeneratedNetworkPolicyList struct { metav1.TypeMeta metav1.ListMeta Items []GeneratedNetworkPolicy }
GeneratedNetworkPolicyList is a list of GeneratedNetworkPolicies.
func (*GeneratedNetworkPolicyList) DeepCopy ¶ added in v0.0.33
func (in *GeneratedNetworkPolicyList) DeepCopy() *GeneratedNetworkPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedNetworkPolicyList.
func (*GeneratedNetworkPolicyList) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
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 HTTPIngressPath ¶ added in v0.0.33
type HTTPIngressPath struct { Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"` // 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 `json:"pathType" protobuf:"bytes,3,opt,name=pathType"` // backend defines the referenced service endpoint to which the traffic // will be forwarded to. Backend IngressBackend `json:"backend" protobuf:"bytes,2,opt,name=backend"` }
HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.
func (*HTTPIngressPath) DeepCopy ¶ added in v0.0.33
func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
func (*HTTPIngressPath) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type HTTPIngressRuleValue struct { // paths is a collection of paths that map requests to backends. // +listType=atomic Paths []HTTPIngressPath `json:"paths" protobuf:"bytes,1,rep,name=paths"` }
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 ¶ added in v0.0.33
func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
func (*HTTPIngressRuleValue) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.42
type IDLikes []string
func (IDLikes) DeepCopy ¶ added in v0.0.42
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDLikes.
func (IDLikes) DeepCopyInto ¶ added in v0.0.42
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IDLikes) UnmarshalJSON ¶ added in v0.0.42
type IPBlock ¶ added in v0.0.33
type IPBlock struct { // cidr is a string representing the IPBlock // Valid examples are "192.168.1.0/24" or "2001:db8::/64" CIDR string `json:"cidr" protobuf:"bytes,1,name=cidr"` Except []string `json:"except,omitempty" protobuf:"bytes,2,rep,name=except"` }
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 ¶ added in v0.0.33
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
func (*IPBlock) DeepCopyInto ¶ added in v0.0.33
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IdentifierLocator ¶ added in v0.0.29
type IdentifierLocator string
type IdentifierType ¶ added in v0.0.29
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 ¶ added in v0.0.33
type Ingress struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec IngressSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status IngressStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
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 ¶ added in v0.0.33
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶ added in v0.0.33
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressBackend ¶ added in v0.0.33
type IngressBackend struct { Service *IngressServiceBackend `json:"service,omitempty" protobuf:"bytes,4,opt,name=service"` Resource *v1.TypedLocalObjectReference `json:"resource,omitempty" protobuf:"bytes,3,opt,name=resource"` }
IngressBackend describes all endpoints for a given service and port.
func (*IngressBackend) DeepCopy ¶ added in v0.0.33
func (in *IngressBackend) DeepCopy() *IngressBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
func (*IngressBackend) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec IngressClassSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
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 ¶ added in v0.0.33
func (in *IngressClass) DeepCopy() *IngressClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass.
func (*IngressClass) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items is the list of IngressClasses. Items []IngressClass `json:"items" protobuf:"bytes,2,rep,name=items"` }
IngressClassList is a collection of IngressClasses.
func (*IngressClassList) DeepCopy ¶ added in v0.0.33
func (in *IngressClassList) DeepCopy() *IngressClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList.
func (*IngressClassList) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressClassParametersReference struct { APIGroup *string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=aPIGroup"` // kind is the type of resource being referenced. Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"` // name is the name of resource being referenced. Name string `json:"name" protobuf:"bytes,3,opt,name=name"` Scope *string `json:"scope" protobuf:"bytes,4,opt,name=scope"` Namespace *string `json:"namespace,omitempty" protobuf:"bytes,5,opt,name=namespace"` }
IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.
func (*IngressClassParametersReference) DeepCopy ¶ added in v0.0.33
func (in *IngressClassParametersReference) DeepCopy() *IngressClassParametersReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassParametersReference.
func (*IngressClassParametersReference) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
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 `json:"controller,omitempty" protobuf:"bytes,1,opt,name=controller"` Parameters *IngressClassParametersReference `json:"parameters,omitempty" protobuf:"bytes,2,opt,name=parameters"` }
IngressClassSpec provides information about the class of an Ingress.
func (*IngressClassSpec) DeepCopy ¶ added in v0.0.33
func (in *IngressClassSpec) DeepCopy() *IngressClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec.
func (*IngressClassSpec) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items is the list of Ingress. Items []Ingress `json:"items" protobuf:"bytes,2,rep,name=items"` }
IngressList is a collection of Ingress.
func (*IngressList) DeepCopy ¶ added in v0.0.33
func (in *IngressList) DeepCopy() *IngressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
func (*IngressList) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressLoadBalancerIngress struct { IP string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"` Hostname string `json:"hostname,omitempty" protobuf:"bytes,2,opt,name=hostname"` Ports []IngressPortStatus `json:"ports,omitempty" protobuf:"bytes,4,rep,name=ports"` }
IngressLoadBalancerIngress represents the status of a load-balancer ingress point.
func (*IngressLoadBalancerIngress) DeepCopy ¶ added in v0.0.33
func (in *IngressLoadBalancerIngress) DeepCopy() *IngressLoadBalancerIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerIngress.
func (*IngressLoadBalancerIngress) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressLoadBalancerStatus struct {
Ingress []IngressLoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,1,rep,name=ingress"`
}
IngressLoadBalancerStatus represents the status of a load-balancer.
func (*IngressLoadBalancerStatus) DeepCopy ¶ added in v0.0.33
func (in *IngressLoadBalancerStatus) DeepCopy() *IngressLoadBalancerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerStatus.
func (*IngressLoadBalancerStatus) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressPortStatus struct { // port is the port number of the ingress port. Port int32 `json:"port" protobuf:"varint,1,opt,name=port"` // protocol is the protocol of the ingress port. // The supported values are: "TCP", "UDP", "SCTP" Protocol v1.Protocol `json:"protocol" protobuf:"bytes,2,opt,name=protocol,casttype=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 `json:"error,omitempty" protobuf:"bytes,3,opt,name=error"` }
IngressPortStatus represents the error condition of a service port
func (*IngressPortStatus) DeepCopy ¶ added in v0.0.33
func (in *IngressPortStatus) DeepCopy() *IngressPortStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressPortStatus.
func (*IngressPortStatus) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressRule struct { Host string `json:"host,omitempty" protobuf:"bytes,1,opt,name=host"` IngressRuleValue `json:",inline,omitempty" protobuf:"bytes,2,opt,name=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 ¶ added in v0.0.33
func (in *IngressRule) DeepCopy() *IngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
func (*IngressRule) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressRuleValue struct {
HTTP *HTTPIngressRuleValue `json:"http,omitempty" protobuf:"bytes,1,opt,name=http"`
}
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 ¶ added in v0.0.33
func (in *IngressRuleValue) DeepCopy() *IngressRuleValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
func (*IngressRuleValue) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressServiceBackend struct { // name is the referenced service. The service must exist in // the same namespace as the Ingress object. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // port of the referenced service. A port name or port number // is required for a IngressServiceBackend. Port ServiceBackendPort `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"` }
IngressServiceBackend references a Kubernetes Service as a Backend.
func (*IngressServiceBackend) DeepCopy ¶ added in v0.0.33
func (in *IngressServiceBackend) DeepCopy() *IngressServiceBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressServiceBackend.
func (*IngressServiceBackend) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressSpec struct { IngressClassName *string `json:"ingressClassName,omitempty" protobuf:"bytes,4,opt,name=ingressClassName"` DefaultBackend *IngressBackend `json:"defaultBackend,omitempty" protobuf:"bytes,1,opt,name=defaultBackend"` TLS []IngressTLS `json:"tls,omitempty" protobuf:"bytes,2,rep,name=tls"` Rules []IngressRule `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"` }
IngressSpec describes the Ingress the user wishes to exist.
func (*IngressSpec) DeepCopy ¶ added in v0.0.33
func (in *IngressSpec) DeepCopy() *IngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
func (*IngressSpec) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressStatus struct {
LoadBalancer IngressLoadBalancerStatus `json:"loadBalancer,omitempty" protobuf:"bytes,1,opt,name=loadBalancer"`
}
IngressStatus describe the current state of the Ingress.
func (*IngressStatus) DeepCopy ¶ added in v0.0.33
func (in *IngressStatus) DeepCopy() *IngressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
func (*IngressStatus) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type IngressTLS struct { Hosts []string `json:"hosts,omitempty" protobuf:"bytes,1,rep,name=hosts"` SecretName string `json:"secretName,omitempty" protobuf:"bytes,2,opt,name=secretName"` }
IngressTLS describes the transport layer security associated with an ingress.
func (*IngressTLS) DeepCopy ¶ added in v0.0.33
func (in *IngressTLS) DeepCopy() *IngressTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
func (*IngressTLS) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.29
type Justification string
type KnownServer ¶ added in v0.0.42
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 ¶ added in v0.0.42
func (in *KnownServer) DeepCopy() *KnownServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnownServer.
func (*KnownServer) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
func (in *KnownServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KnownServerEntry ¶ added in v0.0.42
func (*KnownServerEntry) DeepCopy ¶ added in v0.0.42
func (in *KnownServerEntry) DeepCopy() *KnownServerEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnownServerEntry.
func (*KnownServerEntry) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
type KnownServerList struct { metav1.TypeMeta metav1.ListMeta Items []KnownServer }
KnownServerList is a list of KnownServer.
func (*KnownServerList) DeepCopy ¶ added in v0.0.42
func (in *KnownServerList) DeepCopy() *KnownServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnownServerList.
func (*KnownServerList) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
func (in *KnownServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KnownServerSpec ¶ added in v0.0.42
type KnownServerSpec []KnownServerEntry
func (KnownServerSpec) DeepCopy ¶ added in v0.0.42
func (in KnownServerSpec) DeepCopy() KnownServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnownServerSpec.
func (KnownServerSpec) DeepCopyInto ¶ added in v0.0.42
func (in KnownServerSpec) DeepCopyInto(out *KnownServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type License ¶ added in v0.0.42
type License struct { Value string `json:"value"` SPDXExpression string `json:"spdxExpression"` Type LicenseType `json:"type"` URLs []string `json:"urls"` Locations []Location `json:"locations"` }
func (*License) DeepCopy ¶ added in v0.0.42
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new License.
func (*License) DeepCopyInto ¶ added in v0.0.42
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LicenseType ¶ added in v0.0.42
type LicenseType string
type Licenses ¶ added in v0.0.42
type Licenses []License
func (Licenses) DeepCopy ¶ added in v0.0.42
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Licenses.
func (Licenses) DeepCopyInto ¶ added in v0.0.42
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Licenses) UnmarshalJSON ¶ added in v0.0.42
type LinuxRelease ¶ added in v0.0.42
type LinuxRelease struct { PrettyName string `json:"prettyName,omitempty"` Name string `json:"name,omitempty"` ID string `json:"id,omitempty"` IDLike IDLikes `json:"idLike,omitempty"` Version string `json:"version,omitempty"` VersionID string `json:"versionID,omitempty"` VersionCodename string `json:"versionCodename,omitempty"` BuildID string `json:"buildID,omitempty"` ImageID string `json:"imageID,omitempty"` ImageVersion string `json:"imageVersion,omitempty"` Variant string `json:"variant,omitempty"` VariantID string `json:"variantID,omitempty"` HomeURL string `json:"homeURL,omitempty"` SupportURL string `json:"supportURL,omitempty"` BugReportURL string `json:"bugReportURL,omitempty"` PrivacyPolicyURL string `json:"privacyPolicyURL,omitempty"` CPEName string `json:"cpeName,omitempty"` SupportEnd string `json:"supportEnd,omitempty"` }
func (*LinuxRelease) DeepCopy ¶ added in v0.0.42
func (in *LinuxRelease) DeepCopy() *LinuxRelease
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxRelease.
func (*LinuxRelease) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
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 ¶ added in v0.0.42
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Location.
func (*Location) DeepCopyInto ¶ added in v0.0.42
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocationData ¶ added in v0.0.42
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 ¶ added in v0.0.42
func (in *LocationData) DeepCopy() *LocationData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationData.
func (*LocationData) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
type LocationMetadata struct {
Annotations map[string]string `json:"annotations,omitempty"` // Arbitrary key-value pairs that can be used to annotate a location
}
func (*LocationMetadata) DeepCopy ¶ added in v0.0.42
func (in *LocationMetadata) DeepCopy() *LocationMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocationMetadata.
func (*LocationMetadata) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.29
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 int // 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 ¶ added in v0.0.29
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
func (*Metadata) DeepCopyInto ¶ added in v0.0.29
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetadataType ¶
type MetadataType string
type NetworkNeighbor ¶ added in v0.0.33
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 ¶ added in v0.0.33
func (in *NetworkNeighbor) DeepCopy() *NetworkNeighbor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighbor.
func (*NetworkNeighbor) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.81
type NetworkNeighborhood struct { metav1.TypeMeta metav1.ObjectMeta Spec NetworkNeighborhoodSpec }
NetworkNeighborhood represents a list of network communications for a specific workload.
func (*NetworkNeighborhood) DeepCopy ¶ added in v0.0.81
func (in *NetworkNeighborhood) DeepCopy() *NetworkNeighborhood
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborhood.
func (*NetworkNeighborhood) DeepCopyInto ¶ added in v0.0.81
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 ¶ added in v0.0.81
func (in *NetworkNeighborhood) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNeighborhoodContainer ¶ added in v0.0.81
type NetworkNeighborhoodContainer struct { Name string Ingress []NetworkNeighbor Egress []NetworkNeighbor }
func (*NetworkNeighborhoodContainer) DeepCopy ¶ added in v0.0.81
func (in *NetworkNeighborhoodContainer) DeepCopy() *NetworkNeighborhoodContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborhoodContainer.
func (*NetworkNeighborhoodContainer) DeepCopyInto ¶ added in v0.0.81
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 ¶ added in v0.0.81
type NetworkNeighborhoodList struct { metav1.TypeMeta metav1.ListMeta Items []NetworkNeighborhood }
NetworkNeighborhoodList is a list of NetworkNeighborhoods.
func (*NetworkNeighborhoodList) DeepCopy ¶ added in v0.0.81
func (in *NetworkNeighborhoodList) DeepCopy() *NetworkNeighborhoodList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborhoodList.
func (*NetworkNeighborhoodList) DeepCopyInto ¶ added in v0.0.81
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 ¶ added in v0.0.81
func (in *NetworkNeighborhoodList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNeighborhoodSpec ¶ added in v0.0.81
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 ¶ added in v0.0.81
func (in *NetworkNeighborhoodSpec) DeepCopy() *NetworkNeighborhoodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborhoodSpec.
func (*NetworkNeighborhoodSpec) DeepCopyInto ¶ added in v0.0.81
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 ¶ added in v0.0.33
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 ¶ added in v0.0.33
func (in *NetworkNeighbors) DeepCopy() *NetworkNeighbors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighbors.
func (*NetworkNeighbors) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
func (in *NetworkNeighbors) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNeighborsList ¶ added in v0.0.33
type NetworkNeighborsList struct { metav1.TypeMeta metav1.ListMeta Items []NetworkNeighbors }
NetworkNeighborsList is a list of NetworkNeighbors. DEPRECATED - use NetworkNeighborhoodList instead.
func (*NetworkNeighborsList) DeepCopy ¶ added in v0.0.33
func (in *NetworkNeighborsList) DeepCopy() *NetworkNeighborsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborsList.
func (*NetworkNeighborsList) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
func (in *NetworkNeighborsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNeighborsSpec ¶ added in v0.0.33
type NetworkNeighborsSpec struct { metav1.LabelSelector // The labels which are inside spec.selector in the parent workload. Ingress []NetworkNeighbor Egress []NetworkNeighbor }
func (*NetworkNeighborsSpec) DeepCopy ¶ added in v0.0.33
func (in *NetworkNeighborsSpec) DeepCopy() *NetworkNeighborsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNeighborsSpec.
func (*NetworkNeighborsSpec) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type NetworkPolicy struct { Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,2,opt,name=apiVersion"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec NetworkPolicySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
NetworkPolicy describes what network traffic is allowed for a set of Pods
func (*NetworkPolicy) DeepCopy ¶ added in v0.0.33
func (in *NetworkPolicy) DeepCopy() *NetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
func (*NetworkPolicy) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
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 ¶ added in v0.0.33
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 ¶ added in v0.0.33
type NetworkPolicyEgressRule struct { Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"` To []NetworkPolicyPeer `json:"to,omitempty" protobuf:"bytes,2,rep,name=to"` }
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 ¶ added in v0.0.33
func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyEgressRule.
func (*NetworkPolicyEgressRule) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type NetworkPolicyIngressRule struct { Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"` From []NetworkPolicyPeer `json:"from,omitempty" protobuf:"bytes,2,rep,name=from"` }
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 ¶ added in v0.0.33
func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule.
func (*NetworkPolicyIngressRule) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type NetworkPolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // items is a list of schema objects. Items []NetworkPolicy `json:"items" protobuf:"bytes,2,rep,name=items"` }
NetworkPolicyList is a list of NetworkPolicy objects.
func (*NetworkPolicyList) DeepCopy ¶ added in v0.0.33
func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
func (*NetworkPolicyList) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type NetworkPolicyPeer struct { PodSelector *metav1.LabelSelector `json:"podSelector,omitempty" protobuf:"bytes,1,opt,name=podSelector"` NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"` IPBlock *IPBlock `json:"ipBlock,omitempty" protobuf:"bytes,3,rep,name=ipBlock"` }
NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed
func (*NetworkPolicyPeer) DeepCopy ¶ added in v0.0.33
func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
func (*NetworkPolicyPeer) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type NetworkPolicyPort struct { Protocol *v1.Protocol `json:"protocol,omitempty" protobuf:"bytes,1,opt,name=protocol,casttype=k8s.io/api/core/v1.Protocol"` Port *int32 `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"` EndPort *int32 `json:"endPort,omitempty" protobuf:"bytes,3,opt,name=endPort"` }
NetworkPolicyPort describes a port to allow traffic on
func (*NetworkPolicyPort) DeepCopy ¶ added in v0.0.33
func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
func (*NetworkPolicyPort) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type NetworkPolicySpec struct { PodSelector metav1.LabelSelector `json:"podSelector" protobuf:"bytes,1,opt,name=podSelector"` Ingress []NetworkPolicyIngressRule `json:"ingress" protobuf:"bytes,2,rep,name=ingress"` Egress []NetworkPolicyEgressRule `json:"egress" protobuf:"bytes,3,rep,name=egress"` PolicyTypes []PolicyType `json:"policyTypes" protobuf:"bytes,4,rep,name=policyTypes,casttype=PolicyType"` }
NetworkPolicySpec provides the specification of a NetworkPolicy
func (*NetworkPolicySpec) DeepCopy ¶ added in v0.0.33
func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
func (*NetworkPolicySpec) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
type NetworkPolicyStatus struct { // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
NetworkPolicyStatus describes the current state of the NetworkPolicy.
func (*NetworkPolicyStatus) DeepCopy ¶ added in v0.0.33
func (in *NetworkPolicyStatus) DeepCopy() *NetworkPolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyStatus.
func (*NetworkPolicyStatus) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.33
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 ¶ added in v0.0.33
func (in *NetworkPort) DeepCopy() *NetworkPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPort.
func (*NetworkPort) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.81
func (p NetworkPort) String() string
type OpenCalls ¶ added in v0.0.22
func (*OpenCalls) DeepCopy ¶ added in v0.0.22
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenCalls.
func (*OpenCalls) DeepCopyInto ¶ added in v0.0.22
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenVulnerabilityExchangeContainer ¶ added in v0.0.29
type OpenVulnerabilityExchangeContainer struct { metav1.TypeMeta metav1.ObjectMeta Spec VEX }
func (*OpenVulnerabilityExchangeContainer) DeepCopy ¶ added in v0.0.29
func (in *OpenVulnerabilityExchangeContainer) DeepCopy() *OpenVulnerabilityExchangeContainer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenVulnerabilityExchangeContainer.
func (*OpenVulnerabilityExchangeContainer) DeepCopyInto ¶ added in v0.0.29
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 ¶ added in v0.0.29
func (in *OpenVulnerabilityExchangeContainer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpenVulnerabilityExchangeContainerList ¶ added in v0.0.29
type OpenVulnerabilityExchangeContainerList struct { metav1.TypeMeta metav1.ListMeta Items []OpenVulnerabilityExchangeContainer }
func (*OpenVulnerabilityExchangeContainerList) DeepCopy ¶ added in v0.0.29
func (in *OpenVulnerabilityExchangeContainerList) DeepCopy() *OpenVulnerabilityExchangeContainerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenVulnerabilityExchangeContainerList.
func (*OpenVulnerabilityExchangeContainerList) DeepCopyInto ¶ added in v0.0.29
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 ¶ added in v0.0.29
func (in *OpenVulnerabilityExchangeContainerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Originator ¶
type Originator struct { // can be "NOASSERTION" Originator string // OriginatorType can be one of "Person", "Organization", or empty if Originator is "NOASSERTION" OriginatorType string }
func (*Originator) DeepCopy ¶
func (in *Originator) DeepCopy() *Originator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Originator.
func (*Originator) DeepCopyInto ¶
func (in *Originator) DeepCopyInto(out *Originator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Originator) MarshalJSON ¶
func (o Originator) MarshalJSON() ([]byte, error)
MarshalJSON converts the receiver into a slice of bytes representing an Originator in string form. This function is also used when marshalling to YAML
func (*Originator) UnmarshalJSON ¶
func (o *Originator) UnmarshalJSON(data []byte) error
UnmarshalJSON takes an originator in the typical one-line format and parses it into an Originator struct. This function is also used when unmarshalling YAML
type OtherLicense ¶
type OtherLicense struct { // 10.1: License Identifier: "LicenseRef-[idstring]" // Cardinality: conditional (mandatory, one) if license is not // on SPDX License List LicenseIdentifier string // 10.2: Extracted Text // Cardinality: conditional (mandatory, one) if there is a // License Identifier assigned ExtractedText string // 10.3: License Name: single line of text or "NOASSERTION" // Cardinality: conditional (mandatory, one) if license is not // on SPDX License List LicenseName string // 10.4: License Cross Reference // Cardinality: conditional (optional, one or many) if license // is not on SPDX License List LicenseCrossReferences []string // 10.5: License Comment // Cardinality: optional, one LicenseComment string }
OtherLicense is an Other License Information section of an SPDX Document for version 2.3 of the spec.
func (*OtherLicense) DeepCopy ¶
func (in *OtherLicense) DeepCopy() *OtherLicense
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OtherLicense.
func (*OtherLicense) DeepCopyInto ¶
func (in *OtherLicense) DeepCopyInto(out *OtherLicense)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Package ¶
type Package struct { // Added HasFiles []string // NOT PART OF SPEC // flag: does this "package" contain files that were in fact "unpackaged", // e.g. included directly in the Document without being in a Package? IsUnpackaged bool // 7.1: Package Name // Cardinality: mandatory, one PackageName string // 7.2: Package SPDX Identifier: "SPDXRef-[idstring]" // Cardinality: mandatory, one PackageSPDXIdentifier ElementID // 7.3: Package Version // Cardinality: optional, one PackageVersion string // 7.4: Package File Name // Cardinality: optional, one PackageFileName string // 7.5: Package Supplier: may have single result for either Person or Organization, // or NOASSERTION // Cardinality: optional, one PackageSupplier *Supplier // 7.6: Package Originator: may have single result for either Person or Organization, // or NOASSERTION // Cardinality: optional, one PackageOriginator *Originator // 7.7: Package Download Location // Cardinality: mandatory, one PackageDownloadLocation string // 7.8: FilesAnalyzed // Cardinality: optional, one; default value is "true" if omitted FilesAnalyzed bool // NOT PART OF SPEC: did FilesAnalyzed tag appear? IsFilesAnalyzedTagPresent bool // 7.9: Package Verification Code // Cardinality: if FilesAnalyzed == true must be present, if FilesAnalyzed == false must be omitted PackageVerificationCode *PackageVerificationCode // 7.10: Package Checksum: may have keys for SHA1, SHA256, SHA512, MD5, SHA3-256, SHA3-384, SHA3-512, BLAKE2b-256, BLAKE2b-384, BLAKE2b-512, BLAKE3, ADLER32 // Cardinality: optional, one or many PackageChecksums []Checksum // 7.11: Package Home Page // Cardinality: optional, one PackageHomePage string // 7.12: Source Information // Cardinality: optional, one PackageSourceInfo string // 7.13: Concluded License: SPDX License Expression, "NONE" or "NOASSERTION" // Cardinality: optional, one PackageLicenseConcluded string // 7.14: All Licenses Info from Files: SPDX License Expression, "NONE" or "NOASSERTION" // Cardinality: optional, one or many if filesAnalyzed is true / omitted; // zero (must be omitted) if filesAnalyzed is false PackageLicenseInfoFromFiles []string // 7.15: Declared License: SPDX License Expression, "NONE" or "NOASSERTION" // Cardinality: optional, one PackageLicenseDeclared string // 7.16: Comments on License // Cardinality: optional, one PackageLicenseComments string // 7.17: Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION" // Cardinality: mandatory, one PackageCopyrightText string // 7.18: Package Summary Description // Cardinality: optional, one PackageSummary string // 7.19: Package Detailed Description // Cardinality: optional, one PackageDescription string // 7.20: Package Comment // Cardinality: optional, one PackageComment string // 7.21: Package External Reference // Cardinality: optional, one or many PackageExternalReferences []*PackageExternalReference // 7.23: Package Attribution Text // Cardinality: optional, one or many PackageAttributionTexts []string // 7.24: Primary Package Purpose // Cardinality: optional, one or many // Allowed values: APPLICATION, FRAMEWORK, LIBRARY, CONTAINER, OPERATING-SYSTEM, DEVICE, FIRMWARE, SOURCE, ARCHIVE, FILE, INSTALL, OTHER PrimaryPackagePurpose string // 7.25: Release Date: YYYY-MM-DDThh:mm:ssZ // Cardinality: optional, one ReleaseDate string // 7.26: Build Date: YYYY-MM-DDThh:mm:ssZ // Cardinality: optional, one BuiltDate string // 7.27: Valid Until Date: YYYY-MM-DDThh:mm:ssZ // Cardinality: optional, one ValidUntilDate string // Files contained in this Package Files []*File Annotations []Annotation }
Package is a Package section of an SPDX Document for version 2.3 of the spec.
func (*Package) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Package.
func (*Package) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageBasicData ¶ added in v0.0.42
type PackageBasicData struct { ID string `json:"id"` Name string `json:"name"` Version string `json:"version"` Type string `json:"type"` FoundBy string `json:"foundBy"` Locations []Location `json:"locations"` Licenses Licenses `json:"licenses"` Language string `json:"language"` CPEs CPEs `json:"cpes"` PURL string `json:"purl"` }
PackageBasicData contains non-ambiguous values (type-wise) from pkg.SyftPackage.
func PackageBasicDataFromV01011 ¶ added in v0.0.83
func PackageBasicDataFromV01011(in PackageBasicDataV01011) PackageBasicData
func (*PackageBasicData) DeepCopy ¶ added in v0.0.42
func (in *PackageBasicData) DeepCopy() *PackageBasicData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBasicData.
func (*PackageBasicData) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.83
type PackageBasicDataV01011 struct { ID string `json:"id"` Name string `json:"name"` Version string `json:"version"` Type string `json:"type"` FoundBy string `json:"foundBy"` Locations []Location `json:"locations"` Licenses Licenses `json:"licenses"` Language string `json:"language"` CPEs []string `json:"cpes"` PURL string `json:"purl"` }
PackageBasicDataV01011 is the previous version of PackageBasicData used in schema v0.101.1.
func (*PackageBasicDataV01011) DeepCopy ¶ added in v0.0.89
func (in *PackageBasicDataV01011) DeepCopy() *PackageBasicDataV01011
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageBasicDataV01011.
func (*PackageBasicDataV01011) DeepCopyInto ¶ added in v0.0.89
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 ¶ added in v0.0.42
type PackageCustomData struct { MetadataType string `json:"metadataType,omitempty"` Metadata json.RawMessage `json:"metadata,omitempty"` }
PackageCustomData contains ambiguous values (type-wise) from pkg.SyftPackage.
func (*PackageCustomData) DeepCopy ¶ added in v0.0.42
func (in *PackageCustomData) DeepCopy() *PackageCustomData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageCustomData.
func (*PackageCustomData) DeepCopyInto ¶ added in v0.0.42
func (in *PackageCustomData) DeepCopyInto(out *PackageCustomData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageExternalReference ¶
type PackageExternalReference struct { // category is "SECURITY", "PACKAGE-MANAGER" or "OTHER" Category string // type is an [idstring] as defined in Appendix VI; // called RefType here due to "type" being a Golang keyword RefType string // locator is a unique string to access the package-specific // info, metadata or content within the target location Locator string // 7.22: Package External Reference Comment // Cardinality: conditional (optional, one) for each External Reference ExternalRefComment string }
PackageExternalReference is an External Reference to additional info about a Package, as defined in section 7.21 in version 2.3 of the spec.
func (*PackageExternalReference) DeepCopy ¶
func (in *PackageExternalReference) DeepCopy() *PackageExternalReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageExternalReference.
func (*PackageExternalReference) DeepCopyInto ¶
func (in *PackageExternalReference) DeepCopyInto(out *PackageExternalReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackageVerificationCode ¶
type PackageVerificationCode struct { // Cardinality: mandatory, one if filesAnalyzed is true / omitted; // zero (must be omitted) if filesAnalyzed is false Value string // Spec also allows specifying files to exclude from the // verification code algorithm; intended to enable exclusion of // the SPDX document file itself. ExcludedFiles []string }
func (*PackageVerificationCode) DeepCopy ¶
func (in *PackageVerificationCode) DeepCopy() *PackageVerificationCode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackageVerificationCode.
func (*PackageVerificationCode) DeepCopyInto ¶
func (in *PackageVerificationCode) DeepCopyInto(out *PackageVerificationCode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PathType ¶ added in v0.0.33
type PathType string
PathType represents the type of path referred to by a HTTPIngressPath. +enum
type PolicyRef ¶ added in v0.0.33
func (*PolicyRef) DeepCopy ¶ added in v0.0.33
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRef.
func (*PolicyRef) DeepCopyInto ¶ added in v0.0.33
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyType ¶ added in v0.0.33
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 ¶ added in v0.0.29
type Product struct { Component Subcomponents []Subcomponent }
func (*Product) DeepCopy ¶ added in v0.0.29
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Product.
func (*Product) DeepCopyInto ¶ added in v0.0.29
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileState ¶ added in v0.0.89
type ProfileState string
type Relationship ¶
type Relationship struct { // 11.1: Relationship // Cardinality: optional, one or more; one per Relationship // one mandatory for SPDX Document with multiple packages // RefA and RefB are first and second item // Relationship is type from 11.1.1 RefA DocElementID RefB DocElementID Relationship string // 11.2: Relationship Comment // Cardinality: optional, one RelationshipComment string }
Relationship is a Relationship section of an SPDX Document for version 2.3 of the spec.
func (*Relationship) DeepCopy ¶
func (in *Relationship) DeepCopy() *Relationship
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Relationship.
func (*Relationship) DeepCopyInto ¶
func (in *Relationship) DeepCopyInto(out *Relationship)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RelocationReadOnly ¶ added in v0.0.83
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 Review ¶
type Review struct { // DEPRECATED in version 2.0 of spec // 13.1: Reviewer // Cardinality: optional, one Reviewer string // including AnnotatorType: one of "Person", "Organization" or "Tool" ReviewerType string // DEPRECATED in version 2.0 of spec // 13.2: Review Date: YYYY-MM-DDThh:mm:ssZ // Cardinality: conditional (mandatory, one) if there is a Reviewer ReviewDate string // DEPRECATED in version 2.0 of spec // 13.3: Review Comment // Cardinality: optional, one ReviewComment string }
Review is a Review section of an SPDX Document for version 2.3 of the spec. DEPRECATED in version 2.0 of spec; retained here for compatibility.
func (*Review) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Review.
func (*Review) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulePath ¶ added in v0.0.16
func (*RulePath) DeepCopy ¶ added in v0.0.16
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulePath.
func (*RulePath) DeepCopyInto ¶ added in v0.0.16
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleStatus ¶ added in v0.0.16
func (*RuleStatus) DeepCopy ¶ added in v0.0.16
func (in *RuleStatus) DeepCopy() *RuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleStatus.
func (*RuleStatus) DeepCopyInto ¶ added in v0.0.16
func (in *RuleStatus) DeepCopyInto(out *RuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SBOMSPDXv2p3 ¶
type SBOMSPDXv2p3 struct { metav1.TypeMeta metav1.ObjectMeta Spec SBOMSPDXv2p3Spec Status SBOMSPDXv2p3Status }
SBOMSPDXv2p3 is a custom resource that describes an SBOM in the SPDX 2.3 format.
func (*SBOMSPDXv2p3) DeepCopy ¶
func (in *SBOMSPDXv2p3) DeepCopy() *SBOMSPDXv2p3
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3.
func (*SBOMSPDXv2p3) DeepCopyInto ¶
func (in *SBOMSPDXv2p3) DeepCopyInto(out *SBOMSPDXv2p3)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SBOMSPDXv2p3) DeepCopyObject ¶
func (in *SBOMSPDXv2p3) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSPDXv2p3Filtered ¶
type SBOMSPDXv2p3Filtered struct { metav1.TypeMeta metav1.ObjectMeta Spec SBOMSPDXv2p3Spec Status SBOMSPDXv2p3Status }
SBOMSPDXv2p3Filtered is a custom resource that describes a filtered SBOM in the SPDX 2.3 format.
Being filtered means that the SBOM contains only the relevant vulnerable materials.
func (*SBOMSPDXv2p3Filtered) DeepCopy ¶
func (in *SBOMSPDXv2p3Filtered) DeepCopy() *SBOMSPDXv2p3Filtered
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3Filtered.
func (*SBOMSPDXv2p3Filtered) DeepCopyInto ¶
func (in *SBOMSPDXv2p3Filtered) DeepCopyInto(out *SBOMSPDXv2p3Filtered)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SBOMSPDXv2p3Filtered) DeepCopyObject ¶
func (in *SBOMSPDXv2p3Filtered) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSPDXv2p3FilteredList ¶
type SBOMSPDXv2p3FilteredList struct { metav1.TypeMeta metav1.ListMeta Items []SBOMSPDXv2p3Filtered }
SBOMSPDXv2p3FilteredList is a list of SBOMSPDXv2p3Filtered objects.
func (*SBOMSPDXv2p3FilteredList) DeepCopy ¶
func (in *SBOMSPDXv2p3FilteredList) DeepCopy() *SBOMSPDXv2p3FilteredList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3FilteredList.
func (*SBOMSPDXv2p3FilteredList) DeepCopyInto ¶
func (in *SBOMSPDXv2p3FilteredList) DeepCopyInto(out *SBOMSPDXv2p3FilteredList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SBOMSPDXv2p3FilteredList) DeepCopyObject ¶
func (in *SBOMSPDXv2p3FilteredList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSPDXv2p3List ¶
type SBOMSPDXv2p3List struct { metav1.TypeMeta metav1.ListMeta Items []SBOMSPDXv2p3 }
SBOMSPDXv2p3List is a list of Flunder objects.
func (*SBOMSPDXv2p3List) DeepCopy ¶
func (in *SBOMSPDXv2p3List) DeepCopy() *SBOMSPDXv2p3List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3List.
func (*SBOMSPDXv2p3List) DeepCopyInto ¶
func (in *SBOMSPDXv2p3List) DeepCopyInto(out *SBOMSPDXv2p3List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SBOMSPDXv2p3List) DeepCopyObject ¶
func (in *SBOMSPDXv2p3List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSPDXv2p3Spec ¶
SBOMSPDXv2p3Spec is the specification of an SPDX SBOM.
func (*SBOMSPDXv2p3Spec) DeepCopy ¶
func (in *SBOMSPDXv2p3Spec) DeepCopy() *SBOMSPDXv2p3Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3Spec.
func (*SBOMSPDXv2p3Spec) DeepCopyInto ¶
func (in *SBOMSPDXv2p3Spec) DeepCopyInto(out *SBOMSPDXv2p3Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SBOMSPDXv2p3Status ¶
type SBOMSPDXv2p3Status struct { }
SBOMSPDXv2p3Status is the status of an SPDX SBOM.
func (*SBOMSPDXv2p3Status) DeepCopy ¶
func (in *SBOMSPDXv2p3Status) DeepCopy() *SBOMSPDXv2p3Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSPDXv2p3Status.
func (*SBOMSPDXv2p3Status) DeepCopyInto ¶
func (in *SBOMSPDXv2p3Status) DeepCopyInto(out *SBOMSPDXv2p3Status)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SBOMSyft ¶ added in v0.0.42
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 ¶ added in v0.0.42
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyft.
func (*SBOMSyft) DeepCopyInto ¶ added in v0.0.42
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SBOMSyft) DeepCopyObject ¶ added in v0.0.42
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSyftFiltered ¶ added in v0.0.42
type SBOMSyftFiltered struct { metav1.TypeMeta metav1.ObjectMeta Spec SBOMSyftSpec Status SBOMSyftStatus }
SBOMSyftFiltered is a custom resource that describes a filtered SBOM in the Syft 2.3 format.
Being filtered means that the SBOM contains only the relevant vulnerable materials.
func (*SBOMSyftFiltered) DeepCopy ¶ added in v0.0.42
func (in *SBOMSyftFiltered) DeepCopy() *SBOMSyftFiltered
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyftFiltered.
func (*SBOMSyftFiltered) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
func (in *SBOMSyftFiltered) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSyftFilteredList ¶ added in v0.0.42
type SBOMSyftFilteredList struct { metav1.TypeMeta metav1.ListMeta Items []SBOMSyftFiltered }
SBOMSyftFilteredList is a list of SBOMSyftFiltered objects.
func (*SBOMSyftFilteredList) DeepCopy ¶ added in v0.0.42
func (in *SBOMSyftFilteredList) DeepCopy() *SBOMSyftFilteredList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyftFilteredList.
func (*SBOMSyftFilteredList) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
func (in *SBOMSyftFilteredList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSyftList ¶ added in v0.0.42
SBOMSyftList is a list of SBOMSyft objects.
func (*SBOMSyftList) DeepCopy ¶ added in v0.0.42
func (in *SBOMSyftList) DeepCopy() *SBOMSyftList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyftList.
func (*SBOMSyftList) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
func (in *SBOMSyftList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SBOMSyftSpec ¶ added in v0.0.42
type SBOMSyftSpec struct { Metadata SPDXMeta Syft SyftDocument }
SBOMSyftSpec is the specification of a Syft SBOM
func (*SBOMSyftSpec) DeepCopy ¶ added in v0.0.42
func (in *SBOMSyftSpec) DeepCopy() *SBOMSyftSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyftSpec.
func (*SBOMSyftSpec) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
type SBOMSyftStatus struct { }
SBOMSyftStatus is the status of a Syft SBOM.
func (*SBOMSyftStatus) DeepCopy ¶ added in v0.0.42
func (in *SBOMSyftStatus) DeepCopy() *SBOMSyftStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SBOMSyftStatus.
func (*SBOMSyftStatus) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.16
type ScannedControl struct { ControlID string Name string Severity ControlSeverity Status ScannedControlStatus Rules []ScannedControlRule }
func (*ScannedControl) DeepCopy ¶ added in v0.0.16
func (in *ScannedControl) DeepCopy() *ScannedControl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControl.
func (*ScannedControl) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
type ScannedControlRule struct { Name string Status RuleStatus ControlConfigurations map[string][]string Paths []RulePath AppliedIgnoreRules []string RelatedResourcesIDs []string // ? }
func (*ScannedControlRule) DeepCopy ¶ added in v0.0.16
func (in *ScannedControlRule) DeepCopy() *ScannedControlRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControlRule.
func (*ScannedControlRule) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
func (*ScannedControlStatus) DeepCopy ¶ added in v0.0.16
func (in *ScannedControlStatus) DeepCopy() *ScannedControlStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControlStatus.
func (*ScannedControlStatus) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
type ScannedControlSummary struct { ControlID string Severity ControlSeverity Status ScannedControlStatus }
func (*ScannedControlSummary) DeepCopy ¶ added in v0.0.16
func (in *ScannedControlSummary) DeepCopy() *ScannedControlSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScannedControlSummary.
func (*ScannedControlSummary) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.42
func (*Schema) DeepCopy ¶ added in v0.0.42
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Schema.
func (*Schema) DeepCopyInto ¶ added in v0.0.42
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SeccompProfile ¶ added in v0.0.89
type SeccompProfile struct { metav1.TypeMeta metav1.ObjectMeta Spec SeccompProfileSpec Status SeccompProfileStatus }
func (*SeccompProfile) DeepCopy ¶ added in v0.0.89
func (in *SeccompProfile) DeepCopy() *SeccompProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompProfile.
func (*SeccompProfile) DeepCopyInto ¶ added in v0.0.89
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 ¶ added in v0.0.89
func (in *SeccompProfile) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SeccompProfileList ¶ added in v0.0.89
type SeccompProfileList struct { metav1.TypeMeta metav1.ListMeta Items []SeccompProfile }
func (*SeccompProfileList) DeepCopy ¶ added in v0.0.89
func (in *SeccompProfileList) DeepCopy() *SeccompProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompProfileList.
func (*SeccompProfileList) DeepCopyInto ¶ added in v0.0.89
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 ¶ added in v0.0.89
func (in *SeccompProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SeccompProfileSpec ¶ added in v0.0.89
type SeccompProfileSpec struct { Containers []SingleSeccompProfile InitContainers []SingleSeccompProfile EphemeralContainers []SingleSeccompProfile }
func (*SeccompProfileSpec) DeepCopy ¶ added in v0.0.89
func (in *SeccompProfileSpec) DeepCopy() *SeccompProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompProfileSpec.
func (*SeccompProfileSpec) DeepCopyInto ¶ added in v0.0.89
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 ¶ added in v0.0.89
type SeccompProfileStatus struct {
Containers map[string]SingleSeccompProfileStatus
}
func (*SeccompProfileStatus) DeepCopy ¶ added in v0.0.89
func (in *SeccompProfileStatus) DeepCopy() *SeccompProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompProfileStatus.
func (*SeccompProfileStatus) DeepCopyInto ¶ added in v0.0.89
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 ¶ added in v0.0.33
type ServiceBackendPort struct { Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` Number int32 `json:"number,omitempty" protobuf:"bytes,2,opt,name=number"` }
ServiceBackendPort is the service port being referenced.
func (*ServiceBackendPort) DeepCopy ¶ added in v0.0.33
func (in *ServiceBackendPort) DeepCopy() *ServiceBackendPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBackendPort.
func (*ServiceBackendPort) DeepCopyInto ¶ added in v0.0.33
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 ¶ added in v0.0.7
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 ¶ added in v0.0.20
func (s *SeveritySummary) Add(severities *SeveritySummary)
func (*SeveritySummary) DeepCopy ¶ added in v0.0.7
func (in *SeveritySummary) DeepCopy() *SeveritySummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeveritySummary.
func (*SeveritySummary) DeepCopyInto ¶ added in v0.0.7
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 ¶ added in v0.0.89
type SingleSeccompProfile struct { Name string Path string Spec SingleSeccompProfileSpec }
func (*SingleSeccompProfile) DeepCopy ¶ added in v0.0.89
func (in *SingleSeccompProfile) DeepCopy() *SingleSeccompProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleSeccompProfile.
func (*SingleSeccompProfile) DeepCopyInto ¶ added in v0.0.89
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 ¶ added in v0.0.89
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 ¶ added in v0.0.89
func (in *SingleSeccompProfileSpec) DeepCopy() *SingleSeccompProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleSeccompProfileSpec.
func (*SingleSeccompProfileSpec) DeepCopyInto ¶ added in v0.0.89
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 ¶ added in v0.0.89
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 ¶ added in v0.0.89
func (in *SingleSeccompProfileStatus) DeepCopy() *SingleSeccompProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleSeccompProfileStatus.
func (*SingleSeccompProfileStatus) DeepCopyInto ¶ added in v0.0.89
func (in *SingleSeccompProfileStatus) DeepCopyInto(out *SingleSeccompProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Snippet ¶
type Snippet struct { // 9.1: Snippet SPDX Identifier: "SPDXRef-[idstring]" // Cardinality: mandatory, one SnippetSPDXIdentifier ElementID // 9.2: Snippet from File SPDX Identifier // Cardinality: mandatory, one SnippetFromFileSPDXIdentifier ElementID // Ranges denotes the start/end byte offsets or line numbers that the snippet is relevant to Ranges []SnippetRange // 9.5: Snippet Concluded License: SPDX License Expression, "NONE" or "NOASSERTION" // Cardinality: optional, one SnippetLicenseConcluded string // 9.6: License Information in Snippet: SPDX License Expression, "NONE" or "NOASSERTION" // Cardinality: optional, one or many LicenseInfoInSnippet []string // 9.7: Snippet Comments on License // Cardinality: optional, one SnippetLicenseComments string // 9.8: Snippet Copyright Text: copyright notice(s) text, "NONE" or "NOASSERTION" // Cardinality: mandatory, one SnippetCopyrightText string // 9.9: Snippet Comment // Cardinality: optional, one SnippetComment string // 9.10: Snippet Name // Cardinality: optional, one SnippetName string // 9.11: Snippet Attribution Text // Cardinality: optional, one or many SnippetAttributionTexts []string }
Snippet is a Snippet section of an SPDX Document for version 2.3 of the spec.
func (*Snippet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snippet.
func (*Snippet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnippetRange ¶
type SnippetRange struct { StartPointer SnippetRangePointer EndPointer SnippetRangePointer }
func (*SnippetRange) DeepCopy ¶
func (in *SnippetRange) DeepCopy() *SnippetRange
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnippetRange.
func (*SnippetRange) DeepCopyInto ¶
func (in *SnippetRange) DeepCopyInto(out *SnippetRange)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnippetRangePointer ¶
type SnippetRangePointer struct { // 5.3: Snippet Byte Range: [start byte]:[end byte] // Cardinality: mandatory, one Offset int // 5.4: Snippet Line Range: [start line]:[end line] // Cardinality: optional, one LineNumber int FileSPDXIdentifier ElementID }
func (*SnippetRangePointer) DeepCopy ¶
func (in *SnippetRangePointer) DeepCopy() *SnippetRangePointer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnippetRangePointer.
func (*SnippetRangePointer) DeepCopyInto ¶
func (in *SnippetRangePointer) DeepCopyInto(out *SnippetRangePointer)
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 ¶ added in v0.0.89
type SpecBase struct {
Disabled bool
}
func (*SpecBase) DeepCopy ¶ added in v0.0.89
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpecBase.
func (*SpecBase) DeepCopyInto ¶ added in v0.0.89
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Statement ¶ added in v0.0.29
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 ¶ added in v0.0.29
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statement.
func (*Statement) DeepCopyInto ¶ added in v0.0.29
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusBase ¶ added in v0.0.89
type StatusBase struct { ConditionedStatus Status ProfileState }
func (*StatusBase) DeepCopy ¶ added in v0.0.89
func (in *StatusBase) DeepCopy() *StatusBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusBase.
func (*StatusBase) DeepCopyInto ¶ added in v0.0.89
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 ¶ added in v0.0.29
type Subcomponent struct {
Component
}
func (*Subcomponent) DeepCopy ¶ added in v0.0.29
func (in *Subcomponent) DeepCopy() *Subcomponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subcomponent.
func (*Subcomponent) DeepCopyInto ¶ added in v0.0.29
func (in *Subcomponent) DeepCopyInto(out *Subcomponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Supplier ¶
type Supplier struct { // can be "NOASSERTION" Supplier string // SupplierType can be one of "Person", "Organization", or empty if Supplier is "NOASSERTION" SupplierType string }
func (*Supplier) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Supplier.
func (*Supplier) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Supplier) MarshalJSON ¶
MarshalJSON converts the receiver into a slice of bytes representing a Supplier in string form. This function is also used when marshalling to YAML
func (*Supplier) UnmarshalJSON ¶
UnmarshalJSON takes a supplier in the typical one-line format and parses it into a Supplier struct. This function is also used when unmarshalling YAML
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 ¶ added in v0.0.42
type SyftDescriptor struct { Name string `json:"name"` Version string `json:"version"` Configuration json.RawMessage `json:"configuration,omitempty"` }
SyftDescriptor describes what created the document as well as surrounding metadata
func (*SyftDescriptor) DeepCopy ¶ added in v0.0.42
func (in *SyftDescriptor) DeepCopy() *SyftDescriptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftDescriptor.
func (*SyftDescriptor) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
type SyftDocument struct { Artifacts []SyftPackage `json:"artifacts"` // Artifacts is the list of packages discovered and placed into the catalog ArtifactRelationships []SyftRelationship `json:"artifactRelationships"` Files []SyftFile `json:"files,omitempty"` // note: must have omitempty SyftSource SyftSource `json:"source"` // SyftSource represents the original object that was cataloged Distro LinuxRelease `json:"distro"` // Distro represents the Linux distribution that was detected from the source SyftDescriptor SyftDescriptor `json:"descriptor"` // SyftDescriptor is a block containing self-describing information about syft Schema Schema `json:"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 }
Document represents the syft cataloging findings as a JSON document
func (*SyftDocument) DeepCopy ¶ added in v0.0.42
func (in *SyftDocument) DeepCopy() *SyftDocument
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftDocument.
func (*SyftDocument) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
type SyftFile struct { ID string `json:"id"` Location Coordinates `json:"location"` Metadata *FileMetadataEntry `json:"metadata,omitempty"` Contents string `json:"contents,omitempty"` Digests []Digest `json:"digests,omitempty"` Licenses []FileLicense `json:"licenses,omitempty"` Executable *Executable `json:"executable,omitempty"` }
func (*SyftFile) DeepCopy ¶ added in v0.0.42
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftFile.
func (*SyftFile) DeepCopyInto ¶ added in v0.0.42
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyftLanguage ¶
type SyftLanguage string
type SyftPackage ¶ added in v0.0.42
type SyftPackage struct { PackageBasicData PackageCustomData }
SyftPackage represents a pkg.SyftPackage object specialized for JSON marshaling and unmarshalling.
func (*SyftPackage) DeepCopy ¶ added in v0.0.42
func (in *SyftPackage) DeepCopy() *SyftPackage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftPackage.
func (*SyftPackage) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
func (p *SyftPackage) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom unmarshaller for handling basic values and values with ambiguous types.
type SyftRelationship ¶ added in v0.0.42
type SyftRelationship struct { Parent string `json:"parent"` Child string `json:"child"` Type string `json:"type"` Metadata json.RawMessage `json:"metadata,omitempty"` }
func (*SyftRelationship) DeepCopy ¶ added in v0.0.42
func (in *SyftRelationship) DeepCopy() *SyftRelationship
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftRelationship.
func (*SyftRelationship) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
type SyftSource struct { ID string `json:"id"` Name string `json:"name"` Version string `json:"version"` Type string `json:"type"` Metadata json.RawMessage `json:"metadata"` }
SyftSource object represents the thing that was cataloged
func (*SyftSource) DeepCopy ¶ added in v0.0.42
func (in *SyftSource) DeepCopy() *SyftSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyftSource.
func (*SyftSource) DeepCopyInto ¶ added in v0.0.42
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 ¶ added in v0.0.42
func (s *SyftSource) UnmarshalJSON(b []byte) error
UnmarshalJSON populates a source object from JSON bytes.
type Syscall ¶ added in v0.0.89
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 uint // the specific syscall in seccomp Args []*Arg }
Syscall defines a syscall in seccomp.
func (*Syscall) DeepCopy ¶ added in v0.0.89
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Syscall.
func (*Syscall) DeepCopyInto ¶ added in v0.0.89
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 ¶ added in v0.0.29
func (*VEX) DeepCopy ¶ added in v0.0.29
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VEX.
func (*VEX) DeepCopyInto ¶ added in v0.0.29
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VexVulnerability ¶ added in v0.0.29
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 ¶ added in v0.0.29
func (in *VexVulnerability) DeepCopy() *VexVulnerability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VexVulnerability.
func (*VexVulnerability) DeepCopyInto ¶ added in v0.0.29
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 ¶ added in v0.0.16
type VulnerabilitiesComponents struct { ImageVulnerabilitiesObj VulnerabilitiesObjScope WorkloadVulnerabilitiesObj VulnerabilitiesObjScope }
func (*VulnerabilitiesComponents) DeepCopy ¶ added in v0.0.16
func (in *VulnerabilitiesComponents) DeepCopy() *VulnerabilitiesComponents
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitiesComponents.
func (*VulnerabilitiesComponents) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
func (*VulnerabilitiesObjScope) DeepCopy ¶ added in v0.0.16
func (in *VulnerabilitiesObjScope) DeepCopy() *VulnerabilitiesObjScope
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitiesObjScope.
func (*VulnerabilitiesObjScope) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.7
VulnerabilityCounters describes a counter of vulnerabilities.
Intended to store relevant and total vulnerabilities in the future.
func (*VulnerabilityCounters) Add ¶ added in v0.0.20
func (c *VulnerabilityCounters) Add(counters *VulnerabilityCounters)
func (*VulnerabilityCounters) DeepCopy ¶ added in v0.0.7
func (in *VulnerabilityCounters) DeepCopy() *VulnerabilityCounters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityCounters.
func (*VulnerabilityCounters) DeepCopyInto ¶ added in v0.0.7
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 ¶ added in v0.0.7
type VulnerabilityManifestSummary struct { metav1.TypeMeta metav1.ObjectMeta Spec VulnerabilityManifestSummarySpec Status VulnerabilityManifestStatus }
VulnerabilityManifestSummary is a summary of a VulnerabilityManifest.
func (*VulnerabilityManifestSummary) DeepCopy ¶ added in v0.0.7
func (in *VulnerabilityManifestSummary) DeepCopy() *VulnerabilityManifestSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSummary.
func (*VulnerabilityManifestSummary) DeepCopyInto ¶ added in v0.0.7
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 ¶ added in v0.0.7
func (in *VulnerabilityManifestSummary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VulnerabilityManifestSummaryList ¶ added in v0.0.7
type VulnerabilityManifestSummaryList struct { metav1.TypeMeta metav1.ListMeta Items []VulnerabilityManifestSummary }
VulnerabilityManifestSummaryList is a list of VulnerabilityManifest summaries.
func (*VulnerabilityManifestSummaryList) DeepCopy ¶ added in v0.0.7
func (in *VulnerabilityManifestSummaryList) DeepCopy() *VulnerabilityManifestSummaryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSummaryList.
func (*VulnerabilityManifestSummaryList) DeepCopyInto ¶ added in v0.0.7
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 ¶ added in v0.0.7
func (in *VulnerabilityManifestSummaryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VulnerabilityManifestSummarySpec ¶ added in v0.0.7
type VulnerabilityManifestSummarySpec struct { Severities SeveritySummary Vulnerabilities VulnerabilitiesComponents }
func (*VulnerabilityManifestSummarySpec) DeepCopy ¶ added in v0.0.7
func (in *VulnerabilityManifestSummarySpec) DeepCopy() *VulnerabilityManifestSummarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilityManifestSummarySpec.
func (*VulnerabilityManifestSummarySpec) DeepCopyInto ¶ added in v0.0.7
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 ¶ added in v0.0.20
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 ¶ added in v0.0.20
func (in *VulnerabilitySummary) DeepCopy() *VulnerabilitySummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitySummary.
func (*VulnerabilitySummary) DeepCopyInto ¶ added in v0.0.20
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 ¶ added in v0.0.20
func (in *VulnerabilitySummary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VulnerabilitySummary) Merge ¶ added in v0.0.20
func (v *VulnerabilitySummary) Merge(vulnManifestSumm *VulnerabilityManifestSummary)
type VulnerabilitySummaryList ¶ added in v0.0.20
type VulnerabilitySummaryList struct { metav1.TypeMeta metav1.ListMeta Items []VulnerabilitySummary }
VulnerabilitySummaryList is a list of VulnerabilitySummaries.
func (*VulnerabilitySummaryList) DeepCopy ¶ added in v0.0.20
func (in *VulnerabilitySummaryList) DeepCopy() *VulnerabilitySummaryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitySummaryList.
func (*VulnerabilitySummaryList) DeepCopyInto ¶ added in v0.0.20
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 ¶ added in v0.0.20
func (in *VulnerabilitySummaryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VulnerabilitySummarySpec ¶ added in v0.0.20
type VulnerabilitySummarySpec struct { Severities SeveritySummary WorkloadVulnerabilitiesObj []VulnerabilitiesObjScope }
func (*VulnerabilitySummarySpec) DeepCopy ¶ added in v0.0.20
func (in *VulnerabilitySummarySpec) DeepCopy() *VulnerabilitySummarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitySummarySpec.
func (*VulnerabilitySummarySpec) DeepCopyInto ¶ added in v0.0.20
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 ¶ added in v0.0.20
type VulnerabilitySummaryStatus struct { }
func (*VulnerabilitySummaryStatus) DeepCopy ¶ added in v0.0.20
func (in *VulnerabilitySummaryStatus) DeepCopy() *VulnerabilitySummaryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VulnerabilitySummaryStatus.
func (*VulnerabilitySummaryStatus) DeepCopyInto ¶ added in v0.0.20
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 ¶ added in v0.0.16
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 ¶ added in v0.0.16
func (in *WorkloadConfigurationScan) DeepCopy() *WorkloadConfigurationScan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScan.
func (*WorkloadConfigurationScan) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
func (in *WorkloadConfigurationScan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadConfigurationScanList ¶ added in v0.0.16
type WorkloadConfigurationScanList struct { metav1.TypeMeta metav1.ListMeta Items []WorkloadConfigurationScan }
WorkloadConfigurationScanList is a list of workload configuration scan results.
func (*WorkloadConfigurationScanList) DeepCopy ¶ added in v0.0.16
func (in *WorkloadConfigurationScanList) DeepCopy() *WorkloadConfigurationScanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanList.
func (*WorkloadConfigurationScanList) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
func (in *WorkloadConfigurationScanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadConfigurationScanSeveritiesSummary ¶ added in v0.0.16
type WorkloadConfigurationScanSeveritiesSummary struct { Critical int High int Medium int Low int Unknown int }
func (*WorkloadConfigurationScanSeveritiesSummary) DeepCopy ¶ added in v0.0.16
func (in *WorkloadConfigurationScanSeveritiesSummary) DeepCopy() *WorkloadConfigurationScanSeveritiesSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSeveritiesSummary.
func (*WorkloadConfigurationScanSeveritiesSummary) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
type WorkloadConfigurationScanSpec struct { Controls map[string]ScannedControl RelatedObjects []WorkloadScanRelatedObject }
func (*WorkloadConfigurationScanSpec) DeepCopy ¶ added in v0.0.16
func (in *WorkloadConfigurationScanSpec) DeepCopy() *WorkloadConfigurationScanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSpec.
func (*WorkloadConfigurationScanSpec) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
type WorkloadConfigurationScanSummary struct { metav1.TypeMeta metav1.ObjectMeta Spec WorkloadConfigurationScanSummarySpec }
WorkloadConfigurationScanSummary is a summary of a WorkloadConfigurationScan
func (*WorkloadConfigurationScanSummary) DeepCopy ¶ added in v0.0.16
func (in *WorkloadConfigurationScanSummary) DeepCopy() *WorkloadConfigurationScanSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummary.
func (*WorkloadConfigurationScanSummary) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
func (in *WorkloadConfigurationScanSummary) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadConfigurationScanSummaryIdentifier ¶ added in v0.0.18
WorkloadConfigurationScanSummaryIdentifier includes information needed to identify a WorkloadConfigurationScanSummary object
func (*WorkloadConfigurationScanSummaryIdentifier) DeepCopy ¶ added in v0.0.18
func (in *WorkloadConfigurationScanSummaryIdentifier) DeepCopy() *WorkloadConfigurationScanSummaryIdentifier
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummaryIdentifier.
func (*WorkloadConfigurationScanSummaryIdentifier) DeepCopyInto ¶ added in v0.0.18
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 ¶ added in v0.0.16
type WorkloadConfigurationScanSummaryList struct { metav1.TypeMeta metav1.ListMeta Items []WorkloadConfigurationScanSummary }
WorkloadConfigurationScanSummaryList is a list of WorkloadConfigurationScan summaries.
func (*WorkloadConfigurationScanSummaryList) DeepCopy ¶ added in v0.0.16
func (in *WorkloadConfigurationScanSummaryList) DeepCopy() *WorkloadConfigurationScanSummaryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummaryList.
func (*WorkloadConfigurationScanSummaryList) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
func (in *WorkloadConfigurationScanSummaryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkloadConfigurationScanSummarySpec ¶ added in v0.0.16
type WorkloadConfigurationScanSummarySpec struct { Severities WorkloadConfigurationScanSeveritiesSummary Controls map[string]ScannedControlSummary }
func (*WorkloadConfigurationScanSummarySpec) DeepCopy ¶ added in v0.0.16
func (in *WorkloadConfigurationScanSummarySpec) DeepCopy() *WorkloadConfigurationScanSummarySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadConfigurationScanSummarySpec.
func (*WorkloadConfigurationScanSummarySpec) DeepCopyInto ¶ added in v0.0.16
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 ¶ added in v0.0.16
type WorkloadScanRelatedObject struct { Namespace string APIGroup string APIVersion string Kind string Name string }
func (*WorkloadScanRelatedObject) DeepCopy ¶ added in v0.0.16
func (in *WorkloadScanRelatedObject) DeepCopy() *WorkloadScanRelatedObject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadScanRelatedObject.
func (*WorkloadScanRelatedObject) DeepCopyInto ¶ added in v0.0.16
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. |