Documentation
¶
Overview ¶
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package containeranalysis defines operations in the declarative SDK.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package containeranalysis contains utilities for working with GCP's container analysis resources.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2026 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func DCLNoteSchema() *dcl.Schema
- type Client
- func (c *Client) ApplyNote(ctx context.Context, rawDesired *Note, opts ...dcl.ApplyOption) (*Note, error)
- func (c *Client) DeleteAllNote(ctx context.Context, project string, filter func(*Note) bool) error
- func (c *Client) DeleteNote(ctx context.Context, r *Note) error
- func (c *Client) GetNote(ctx context.Context, r *Note) (*Note, error)
- func (c *Client) ListNote(ctx context.Context, project string) (*NoteList, error)
- func (c *Client) ListNoteWithMaxResults(ctx context.Context, project string, pageSize int32) (*NoteList, error)
- type Note
- type NoteAttestation
- type NoteAttestationHint
- type NoteBuild
- type NoteDeployment
- type NoteDiscovery
- type NoteDiscoveryAnalysisKindEnum
- type NoteImage
- type NoteImageFingerprint
- type NoteList
- type NotePackage
- type NotePackageDistribution
- type NotePackageDistributionArchitectureEnum
- type NotePackageDistributionLatestVersion
- type NotePackageDistributionLatestVersionKindEnum
- type NoteRelatedUrl
- type NoteVulnerability
- type NoteVulnerabilityCvssV3
- type NoteVulnerabilityCvssV3AttackComplexityEnum
- type NoteVulnerabilityCvssV3AttackVectorEnum
- type NoteVulnerabilityCvssV3AvailabilityImpactEnum
- type NoteVulnerabilityCvssV3ConfidentialityImpactEnum
- type NoteVulnerabilityCvssV3IntegrityImpactEnum
- type NoteVulnerabilityCvssV3PrivilegesRequiredEnum
- type NoteVulnerabilityCvssV3ScopeEnum
- type NoteVulnerabilityCvssV3UserInteractionEnum
- type NoteVulnerabilityDetails
- type NoteVulnerabilityDetailsAffectedVersionEnd
- type NoteVulnerabilityDetailsAffectedVersionEndKindEnum
- type NoteVulnerabilityDetailsAffectedVersionStart
- type NoteVulnerabilityDetailsAffectedVersionStartKindEnum
- type NoteVulnerabilityDetailsFixedVersion
- type NoteVulnerabilityDetailsFixedVersionKindEnum
- type NoteVulnerabilitySeverityEnum
- type NoteVulnerabilityWindowsDetails
- type NoteVulnerabilityWindowsDetailsFixingKbs
Constants ¶
const NoteMaxPage = -1
Variables ¶
var YAML_note []byte
Functions ¶
func DCLNoteSchema ¶ added in v1.10.3
Types ¶
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) DeleteAllNote ¶
DeleteAllNote deletes all resources that the filter functions returns true on.
type Note ¶
type Note struct {
Name *string `json:"name"`
ShortDescription *string `json:"shortDescription"`
LongDescription *string `json:"longDescription"`
RelatedUrl []NoteRelatedUrl `json:"relatedUrl"`
ExpirationTime *string `json:"expirationTime"`
CreateTime *string `json:"createTime"`
UpdateTime *string `json:"updateTime"`
RelatedNoteNames []string `json:"relatedNoteNames"`
Vulnerability *NoteVulnerability `json:"vulnerability"`
Build *NoteBuild `json:"build"`
Image *NoteImage `json:"image"`
Package *NotePackage `json:"package"`
Discovery *NoteDiscovery `json:"discovery"`
Deployment *NoteDeployment `json:"deployment"`
Attestation *NoteAttestation `json:"attestation"`
Project *string `json:"project"`
}
func (*Note) Describe ¶
func (r *Note) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type NoteAttestation ¶
type NoteAttestation struct {
Hint *NoteAttestationHint `json:"hint"`
// contains filtered or unexported fields
}
var EmptyNoteAttestation *NoteAttestation = &NoteAttestation{empty: true}
This object is used to assert a desired state where this NoteAttestation is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteAttestation) Empty ¶
func (r *NoteAttestation) Empty() bool
func (*NoteAttestation) HashCode ¶
func (r *NoteAttestation) HashCode() string
func (*NoteAttestation) String ¶
func (r *NoteAttestation) String() string
func (*NoteAttestation) UnmarshalJSON ¶
func (r *NoteAttestation) UnmarshalJSON(data []byte) error
type NoteAttestationHint ¶
type NoteAttestationHint struct {
HumanReadableName *string `json:"humanReadableName"`
// contains filtered or unexported fields
}
var EmptyNoteAttestationHint *NoteAttestationHint = &NoteAttestationHint{empty: true}
This object is used to assert a desired state where this NoteAttestationHint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteAttestationHint) Empty ¶
func (r *NoteAttestationHint) Empty() bool
func (*NoteAttestationHint) HashCode ¶
func (r *NoteAttestationHint) HashCode() string
func (*NoteAttestationHint) String ¶
func (r *NoteAttestationHint) String() string
func (*NoteAttestationHint) UnmarshalJSON ¶
func (r *NoteAttestationHint) UnmarshalJSON(data []byte) error
type NoteBuild ¶
type NoteBuild struct {
BuilderVersion *string `json:"builderVersion"`
// contains filtered or unexported fields
}
This object is used to assert a desired state where this NoteBuild is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteBuild) UnmarshalJSON ¶
type NoteDeployment ¶
type NoteDeployment struct {
ResourceUri []string `json:"resourceUri"`
// contains filtered or unexported fields
}
var EmptyNoteDeployment *NoteDeployment = &NoteDeployment{empty: true}
This object is used to assert a desired state where this NoteDeployment is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteDeployment) Empty ¶
func (r *NoteDeployment) Empty() bool
func (*NoteDeployment) HashCode ¶
func (r *NoteDeployment) HashCode() string
func (*NoteDeployment) String ¶
func (r *NoteDeployment) String() string
func (*NoteDeployment) UnmarshalJSON ¶
func (r *NoteDeployment) UnmarshalJSON(data []byte) error
type NoteDiscovery ¶
type NoteDiscovery struct {
AnalysisKind *NoteDiscoveryAnalysisKindEnum `json:"analysisKind"`
// contains filtered or unexported fields
}
var EmptyNoteDiscovery *NoteDiscovery = &NoteDiscovery{empty: true}
This object is used to assert a desired state where this NoteDiscovery is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteDiscovery) Empty ¶
func (r *NoteDiscovery) Empty() bool
func (*NoteDiscovery) HashCode ¶
func (r *NoteDiscovery) HashCode() string
func (*NoteDiscovery) String ¶
func (r *NoteDiscovery) String() string
func (*NoteDiscovery) UnmarshalJSON ¶
func (r *NoteDiscovery) UnmarshalJSON(data []byte) error
type NoteDiscoveryAnalysisKindEnum ¶
type NoteDiscoveryAnalysisKindEnum string
The enum NoteDiscoveryAnalysisKindEnum.
func NoteDiscoveryAnalysisKindEnumRef ¶
func NoteDiscoveryAnalysisKindEnumRef(s string) *NoteDiscoveryAnalysisKindEnum
NoteDiscoveryAnalysisKindEnumRef returns a *NoteDiscoveryAnalysisKindEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteDiscoveryAnalysisKindEnum) Validate ¶
func (v NoteDiscoveryAnalysisKindEnum) Validate() error
type NoteImage ¶
type NoteImage struct {
ResourceUrl *string `json:"resourceUrl"`
Fingerprint *NoteImageFingerprint `json:"fingerprint"`
// contains filtered or unexported fields
}
This object is used to assert a desired state where this NoteImage is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteImage) UnmarshalJSON ¶
type NoteImageFingerprint ¶
type NoteImageFingerprint struct {
V1Name *string `json:"v1Name"`
V2Blob []string `json:"v2Blob"`
V2Name *string `json:"v2Name"`
// contains filtered or unexported fields
}
var EmptyNoteImageFingerprint *NoteImageFingerprint = &NoteImageFingerprint{empty: true}
This object is used to assert a desired state where this NoteImageFingerprint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteImageFingerprint) Empty ¶
func (r *NoteImageFingerprint) Empty() bool
func (*NoteImageFingerprint) HashCode ¶
func (r *NoteImageFingerprint) HashCode() string
func (*NoteImageFingerprint) String ¶
func (r *NoteImageFingerprint) String() string
func (*NoteImageFingerprint) UnmarshalJSON ¶
func (r *NoteImageFingerprint) UnmarshalJSON(data []byte) error
type NotePackage ¶
type NotePackage struct {
Name *string `json:"name"`
Distribution []NotePackageDistribution `json:"distribution"`
// contains filtered or unexported fields
}
var EmptyNotePackage *NotePackage = &NotePackage{empty: true}
This object is used to assert a desired state where this NotePackage is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NotePackage) Empty ¶
func (r *NotePackage) Empty() bool
func (*NotePackage) HashCode ¶
func (r *NotePackage) HashCode() string
func (*NotePackage) String ¶
func (r *NotePackage) String() string
func (*NotePackage) UnmarshalJSON ¶
func (r *NotePackage) UnmarshalJSON(data []byte) error
type NotePackageDistribution ¶
type NotePackageDistribution struct {
CpeUri *string `json:"cpeUri"`
Architecture *NotePackageDistributionArchitectureEnum `json:"architecture"`
LatestVersion *NotePackageDistributionLatestVersion `json:"latestVersion"`
Maintainer *string `json:"maintainer"`
Url *string `json:"url"`
Description *string `json:"description"`
// contains filtered or unexported fields
}
var EmptyNotePackageDistribution *NotePackageDistribution = &NotePackageDistribution{empty: true}
This object is used to assert a desired state where this NotePackageDistribution is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NotePackageDistribution) Empty ¶
func (r *NotePackageDistribution) Empty() bool
func (*NotePackageDistribution) HashCode ¶
func (r *NotePackageDistribution) HashCode() string
func (*NotePackageDistribution) String ¶
func (r *NotePackageDistribution) String() string
func (*NotePackageDistribution) UnmarshalJSON ¶
func (r *NotePackageDistribution) UnmarshalJSON(data []byte) error
type NotePackageDistributionArchitectureEnum ¶
type NotePackageDistributionArchitectureEnum string
The enum NotePackageDistributionArchitectureEnum.
func NotePackageDistributionArchitectureEnumRef ¶
func NotePackageDistributionArchitectureEnumRef(s string) *NotePackageDistributionArchitectureEnum
NotePackageDistributionArchitectureEnumRef returns a *NotePackageDistributionArchitectureEnum with the value of string s If the empty string is provided, nil is returned.
func (NotePackageDistributionArchitectureEnum) Validate ¶
func (v NotePackageDistributionArchitectureEnum) Validate() error
type NotePackageDistributionLatestVersion ¶
type NotePackageDistributionLatestVersion struct {
Epoch *int64 `json:"epoch"`
Name *string `json:"name"`
Revision *string `json:"revision"`
Kind *NotePackageDistributionLatestVersionKindEnum `json:"kind"`
FullName *string `json:"fullName"`
// contains filtered or unexported fields
}
var EmptyNotePackageDistributionLatestVersion *NotePackageDistributionLatestVersion = &NotePackageDistributionLatestVersion{empty: true}
This object is used to assert a desired state where this NotePackageDistributionLatestVersion is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NotePackageDistributionLatestVersion) Empty ¶
func (r *NotePackageDistributionLatestVersion) Empty() bool
func (*NotePackageDistributionLatestVersion) HashCode ¶
func (r *NotePackageDistributionLatestVersion) HashCode() string
func (*NotePackageDistributionLatestVersion) String ¶
func (r *NotePackageDistributionLatestVersion) String() string
func (*NotePackageDistributionLatestVersion) UnmarshalJSON ¶
func (r *NotePackageDistributionLatestVersion) UnmarshalJSON(data []byte) error
type NotePackageDistributionLatestVersionKindEnum ¶
type NotePackageDistributionLatestVersionKindEnum string
The enum NotePackageDistributionLatestVersionKindEnum.
func NotePackageDistributionLatestVersionKindEnumRef ¶
func NotePackageDistributionLatestVersionKindEnumRef(s string) *NotePackageDistributionLatestVersionKindEnum
NotePackageDistributionLatestVersionKindEnumRef returns a *NotePackageDistributionLatestVersionKindEnum with the value of string s If the empty string is provided, nil is returned.
func (NotePackageDistributionLatestVersionKindEnum) Validate ¶
func (v NotePackageDistributionLatestVersionKindEnum) Validate() error
type NoteRelatedUrl ¶
type NoteRelatedUrl struct {
Url *string `json:"url"`
Label *string `json:"label"`
// contains filtered or unexported fields
}
var EmptyNoteRelatedUrl *NoteRelatedUrl = &NoteRelatedUrl{empty: true}
This object is used to assert a desired state where this NoteRelatedUrl is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteRelatedUrl) Empty ¶
func (r *NoteRelatedUrl) Empty() bool
func (*NoteRelatedUrl) HashCode ¶
func (r *NoteRelatedUrl) HashCode() string
func (*NoteRelatedUrl) String ¶
func (r *NoteRelatedUrl) String() string
func (*NoteRelatedUrl) UnmarshalJSON ¶
func (r *NoteRelatedUrl) UnmarshalJSON(data []byte) error
type NoteVulnerability ¶
type NoteVulnerability struct {
CvssScore *float64 `json:"cvssScore"`
Severity *NoteVulnerabilitySeverityEnum `json:"severity"`
Details []NoteVulnerabilityDetails `json:"details"`
CvssV3 *NoteVulnerabilityCvssV3 `json:"cvssV3"`
WindowsDetails []NoteVulnerabilityWindowsDetails `json:"windowsDetails"`
SourceUpdateTime *string `json:"sourceUpdateTime"`
// contains filtered or unexported fields
}
var EmptyNoteVulnerability *NoteVulnerability = &NoteVulnerability{empty: true}
This object is used to assert a desired state where this NoteVulnerability is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteVulnerability) Empty ¶
func (r *NoteVulnerability) Empty() bool
func (*NoteVulnerability) HashCode ¶
func (r *NoteVulnerability) HashCode() string
func (*NoteVulnerability) String ¶
func (r *NoteVulnerability) String() string
func (*NoteVulnerability) UnmarshalJSON ¶
func (r *NoteVulnerability) UnmarshalJSON(data []byte) error
type NoteVulnerabilityCvssV3 ¶
type NoteVulnerabilityCvssV3 struct {
BaseScore *float64 `json:"baseScore"`
ExploitabilityScore *float64 `json:"exploitabilityScore"`
ImpactScore *float64 `json:"impactScore"`
AttackVector *NoteVulnerabilityCvssV3AttackVectorEnum `json:"attackVector"`
AttackComplexity *NoteVulnerabilityCvssV3AttackComplexityEnum `json:"attackComplexity"`
PrivilegesRequired *NoteVulnerabilityCvssV3PrivilegesRequiredEnum `json:"privilegesRequired"`
UserInteraction *NoteVulnerabilityCvssV3UserInteractionEnum `json:"userInteraction"`
Scope *NoteVulnerabilityCvssV3ScopeEnum `json:"scope"`
ConfidentialityImpact *NoteVulnerabilityCvssV3ConfidentialityImpactEnum `json:"confidentialityImpact"`
IntegrityImpact *NoteVulnerabilityCvssV3IntegrityImpactEnum `json:"integrityImpact"`
AvailabilityImpact *NoteVulnerabilityCvssV3AvailabilityImpactEnum `json:"availabilityImpact"`
// contains filtered or unexported fields
}
var EmptyNoteVulnerabilityCvssV3 *NoteVulnerabilityCvssV3 = &NoteVulnerabilityCvssV3{empty: true}
This object is used to assert a desired state where this NoteVulnerabilityCvssV3 is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteVulnerabilityCvssV3) Empty ¶
func (r *NoteVulnerabilityCvssV3) Empty() bool
func (*NoteVulnerabilityCvssV3) HashCode ¶
func (r *NoteVulnerabilityCvssV3) HashCode() string
func (*NoteVulnerabilityCvssV3) String ¶
func (r *NoteVulnerabilityCvssV3) String() string
func (*NoteVulnerabilityCvssV3) UnmarshalJSON ¶
func (r *NoteVulnerabilityCvssV3) UnmarshalJSON(data []byte) error
type NoteVulnerabilityCvssV3AttackComplexityEnum ¶
type NoteVulnerabilityCvssV3AttackComplexityEnum string
The enum NoteVulnerabilityCvssV3AttackComplexityEnum.
func NoteVulnerabilityCvssV3AttackComplexityEnumRef ¶
func NoteVulnerabilityCvssV3AttackComplexityEnumRef(s string) *NoteVulnerabilityCvssV3AttackComplexityEnum
NoteVulnerabilityCvssV3AttackComplexityEnumRef returns a *NoteVulnerabilityCvssV3AttackComplexityEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityCvssV3AttackComplexityEnum) Validate ¶
func (v NoteVulnerabilityCvssV3AttackComplexityEnum) Validate() error
type NoteVulnerabilityCvssV3AttackVectorEnum ¶
type NoteVulnerabilityCvssV3AttackVectorEnum string
The enum NoteVulnerabilityCvssV3AttackVectorEnum.
func NoteVulnerabilityCvssV3AttackVectorEnumRef ¶
func NoteVulnerabilityCvssV3AttackVectorEnumRef(s string) *NoteVulnerabilityCvssV3AttackVectorEnum
NoteVulnerabilityCvssV3AttackVectorEnumRef returns a *NoteVulnerabilityCvssV3AttackVectorEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityCvssV3AttackVectorEnum) Validate ¶
func (v NoteVulnerabilityCvssV3AttackVectorEnum) Validate() error
type NoteVulnerabilityCvssV3AvailabilityImpactEnum ¶
type NoteVulnerabilityCvssV3AvailabilityImpactEnum string
The enum NoteVulnerabilityCvssV3AvailabilityImpactEnum.
func NoteVulnerabilityCvssV3AvailabilityImpactEnumRef ¶
func NoteVulnerabilityCvssV3AvailabilityImpactEnumRef(s string) *NoteVulnerabilityCvssV3AvailabilityImpactEnum
NoteVulnerabilityCvssV3AvailabilityImpactEnumRef returns a *NoteVulnerabilityCvssV3AvailabilityImpactEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityCvssV3AvailabilityImpactEnum) Validate ¶
func (v NoteVulnerabilityCvssV3AvailabilityImpactEnum) Validate() error
type NoteVulnerabilityCvssV3ConfidentialityImpactEnum ¶
type NoteVulnerabilityCvssV3ConfidentialityImpactEnum string
The enum NoteVulnerabilityCvssV3ConfidentialityImpactEnum.
func NoteVulnerabilityCvssV3ConfidentialityImpactEnumRef ¶
func NoteVulnerabilityCvssV3ConfidentialityImpactEnumRef(s string) *NoteVulnerabilityCvssV3ConfidentialityImpactEnum
NoteVulnerabilityCvssV3ConfidentialityImpactEnumRef returns a *NoteVulnerabilityCvssV3ConfidentialityImpactEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityCvssV3ConfidentialityImpactEnum) Validate ¶
func (v NoteVulnerabilityCvssV3ConfidentialityImpactEnum) Validate() error
type NoteVulnerabilityCvssV3IntegrityImpactEnum ¶
type NoteVulnerabilityCvssV3IntegrityImpactEnum string
The enum NoteVulnerabilityCvssV3IntegrityImpactEnum.
func NoteVulnerabilityCvssV3IntegrityImpactEnumRef ¶
func NoteVulnerabilityCvssV3IntegrityImpactEnumRef(s string) *NoteVulnerabilityCvssV3IntegrityImpactEnum
NoteVulnerabilityCvssV3IntegrityImpactEnumRef returns a *NoteVulnerabilityCvssV3IntegrityImpactEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityCvssV3IntegrityImpactEnum) Validate ¶
func (v NoteVulnerabilityCvssV3IntegrityImpactEnum) Validate() error
type NoteVulnerabilityCvssV3PrivilegesRequiredEnum ¶
type NoteVulnerabilityCvssV3PrivilegesRequiredEnum string
The enum NoteVulnerabilityCvssV3PrivilegesRequiredEnum.
func NoteVulnerabilityCvssV3PrivilegesRequiredEnumRef ¶
func NoteVulnerabilityCvssV3PrivilegesRequiredEnumRef(s string) *NoteVulnerabilityCvssV3PrivilegesRequiredEnum
NoteVulnerabilityCvssV3PrivilegesRequiredEnumRef returns a *NoteVulnerabilityCvssV3PrivilegesRequiredEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityCvssV3PrivilegesRequiredEnum) Validate ¶
func (v NoteVulnerabilityCvssV3PrivilegesRequiredEnum) Validate() error
type NoteVulnerabilityCvssV3ScopeEnum ¶
type NoteVulnerabilityCvssV3ScopeEnum string
The enum NoteVulnerabilityCvssV3ScopeEnum.
func NoteVulnerabilityCvssV3ScopeEnumRef ¶
func NoteVulnerabilityCvssV3ScopeEnumRef(s string) *NoteVulnerabilityCvssV3ScopeEnum
NoteVulnerabilityCvssV3ScopeEnumRef returns a *NoteVulnerabilityCvssV3ScopeEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityCvssV3ScopeEnum) Validate ¶
func (v NoteVulnerabilityCvssV3ScopeEnum) Validate() error
type NoteVulnerabilityCvssV3UserInteractionEnum ¶
type NoteVulnerabilityCvssV3UserInteractionEnum string
The enum NoteVulnerabilityCvssV3UserInteractionEnum.
func NoteVulnerabilityCvssV3UserInteractionEnumRef ¶
func NoteVulnerabilityCvssV3UserInteractionEnumRef(s string) *NoteVulnerabilityCvssV3UserInteractionEnum
NoteVulnerabilityCvssV3UserInteractionEnumRef returns a *NoteVulnerabilityCvssV3UserInteractionEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityCvssV3UserInteractionEnum) Validate ¶
func (v NoteVulnerabilityCvssV3UserInteractionEnum) Validate() error
type NoteVulnerabilityDetails ¶
type NoteVulnerabilityDetails struct {
SeverityName *string `json:"severityName"`
Description *string `json:"description"`
PackageType *string `json:"packageType"`
AffectedCpeUri *string `json:"affectedCpeUri"`
AffectedPackage *string `json:"affectedPackage"`
AffectedVersionStart *NoteVulnerabilityDetailsAffectedVersionStart `json:"affectedVersionStart"`
AffectedVersionEnd *NoteVulnerabilityDetailsAffectedVersionEnd `json:"affectedVersionEnd"`
FixedCpeUri *string `json:"fixedCpeUri"`
FixedPackage *string `json:"fixedPackage"`
FixedVersion *NoteVulnerabilityDetailsFixedVersion `json:"fixedVersion"`
IsObsolete *bool `json:"isObsolete"`
SourceUpdateTime *string `json:"sourceUpdateTime"`
// contains filtered or unexported fields
}
var EmptyNoteVulnerabilityDetails *NoteVulnerabilityDetails = &NoteVulnerabilityDetails{empty: true}
This object is used to assert a desired state where this NoteVulnerabilityDetails is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteVulnerabilityDetails) Empty ¶
func (r *NoteVulnerabilityDetails) Empty() bool
func (*NoteVulnerabilityDetails) HashCode ¶
func (r *NoteVulnerabilityDetails) HashCode() string
func (*NoteVulnerabilityDetails) String ¶
func (r *NoteVulnerabilityDetails) String() string
func (*NoteVulnerabilityDetails) UnmarshalJSON ¶
func (r *NoteVulnerabilityDetails) UnmarshalJSON(data []byte) error
type NoteVulnerabilityDetailsAffectedVersionEnd ¶
type NoteVulnerabilityDetailsAffectedVersionEnd struct {
Epoch *int64 `json:"epoch"`
Name *string `json:"name"`
Revision *string `json:"revision"`
Kind *NoteVulnerabilityDetailsAffectedVersionEndKindEnum `json:"kind"`
FullName *string `json:"fullName"`
// contains filtered or unexported fields
}
var EmptyNoteVulnerabilityDetailsAffectedVersionEnd *NoteVulnerabilityDetailsAffectedVersionEnd = &NoteVulnerabilityDetailsAffectedVersionEnd{empty: true}
This object is used to assert a desired state where this NoteVulnerabilityDetailsAffectedVersionEnd is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteVulnerabilityDetailsAffectedVersionEnd) Empty ¶
func (r *NoteVulnerabilityDetailsAffectedVersionEnd) Empty() bool
func (*NoteVulnerabilityDetailsAffectedVersionEnd) HashCode ¶
func (r *NoteVulnerabilityDetailsAffectedVersionEnd) HashCode() string
func (*NoteVulnerabilityDetailsAffectedVersionEnd) String ¶
func (r *NoteVulnerabilityDetailsAffectedVersionEnd) String() string
func (*NoteVulnerabilityDetailsAffectedVersionEnd) UnmarshalJSON ¶
func (r *NoteVulnerabilityDetailsAffectedVersionEnd) UnmarshalJSON(data []byte) error
type NoteVulnerabilityDetailsAffectedVersionEndKindEnum ¶
type NoteVulnerabilityDetailsAffectedVersionEndKindEnum string
The enum NoteVulnerabilityDetailsAffectedVersionEndKindEnum.
func NoteVulnerabilityDetailsAffectedVersionEndKindEnumRef ¶
func NoteVulnerabilityDetailsAffectedVersionEndKindEnumRef(s string) *NoteVulnerabilityDetailsAffectedVersionEndKindEnum
NoteVulnerabilityDetailsAffectedVersionEndKindEnumRef returns a *NoteVulnerabilityDetailsAffectedVersionEndKindEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityDetailsAffectedVersionEndKindEnum) Validate ¶
func (v NoteVulnerabilityDetailsAffectedVersionEndKindEnum) Validate() error
type NoteVulnerabilityDetailsAffectedVersionStart ¶
type NoteVulnerabilityDetailsAffectedVersionStart struct {
Epoch *int64 `json:"epoch"`
Name *string `json:"name"`
Revision *string `json:"revision"`
Kind *NoteVulnerabilityDetailsAffectedVersionStartKindEnum `json:"kind"`
FullName *string `json:"fullName"`
// contains filtered or unexported fields
}
var EmptyNoteVulnerabilityDetailsAffectedVersionStart *NoteVulnerabilityDetailsAffectedVersionStart = &NoteVulnerabilityDetailsAffectedVersionStart{empty: true}
This object is used to assert a desired state where this NoteVulnerabilityDetailsAffectedVersionStart is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteVulnerabilityDetailsAffectedVersionStart) Empty ¶
func (r *NoteVulnerabilityDetailsAffectedVersionStart) Empty() bool
func (*NoteVulnerabilityDetailsAffectedVersionStart) HashCode ¶
func (r *NoteVulnerabilityDetailsAffectedVersionStart) HashCode() string
func (*NoteVulnerabilityDetailsAffectedVersionStart) String ¶
func (r *NoteVulnerabilityDetailsAffectedVersionStart) String() string
func (*NoteVulnerabilityDetailsAffectedVersionStart) UnmarshalJSON ¶
func (r *NoteVulnerabilityDetailsAffectedVersionStart) UnmarshalJSON(data []byte) error
type NoteVulnerabilityDetailsAffectedVersionStartKindEnum ¶
type NoteVulnerabilityDetailsAffectedVersionStartKindEnum string
The enum NoteVulnerabilityDetailsAffectedVersionStartKindEnum.
func NoteVulnerabilityDetailsAffectedVersionStartKindEnumRef ¶
func NoteVulnerabilityDetailsAffectedVersionStartKindEnumRef(s string) *NoteVulnerabilityDetailsAffectedVersionStartKindEnum
NoteVulnerabilityDetailsAffectedVersionStartKindEnumRef returns a *NoteVulnerabilityDetailsAffectedVersionStartKindEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityDetailsAffectedVersionStartKindEnum) Validate ¶
func (v NoteVulnerabilityDetailsAffectedVersionStartKindEnum) Validate() error
type NoteVulnerabilityDetailsFixedVersion ¶
type NoteVulnerabilityDetailsFixedVersion struct {
Epoch *int64 `json:"epoch"`
Name *string `json:"name"`
Revision *string `json:"revision"`
Kind *NoteVulnerabilityDetailsFixedVersionKindEnum `json:"kind"`
FullName *string `json:"fullName"`
// contains filtered or unexported fields
}
var EmptyNoteVulnerabilityDetailsFixedVersion *NoteVulnerabilityDetailsFixedVersion = &NoteVulnerabilityDetailsFixedVersion{empty: true}
This object is used to assert a desired state where this NoteVulnerabilityDetailsFixedVersion is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteVulnerabilityDetailsFixedVersion) Empty ¶
func (r *NoteVulnerabilityDetailsFixedVersion) Empty() bool
func (*NoteVulnerabilityDetailsFixedVersion) HashCode ¶
func (r *NoteVulnerabilityDetailsFixedVersion) HashCode() string
func (*NoteVulnerabilityDetailsFixedVersion) String ¶
func (r *NoteVulnerabilityDetailsFixedVersion) String() string
func (*NoteVulnerabilityDetailsFixedVersion) UnmarshalJSON ¶
func (r *NoteVulnerabilityDetailsFixedVersion) UnmarshalJSON(data []byte) error
type NoteVulnerabilityDetailsFixedVersionKindEnum ¶
type NoteVulnerabilityDetailsFixedVersionKindEnum string
The enum NoteVulnerabilityDetailsFixedVersionKindEnum.
func NoteVulnerabilityDetailsFixedVersionKindEnumRef ¶
func NoteVulnerabilityDetailsFixedVersionKindEnumRef(s string) *NoteVulnerabilityDetailsFixedVersionKindEnum
NoteVulnerabilityDetailsFixedVersionKindEnumRef returns a *NoteVulnerabilityDetailsFixedVersionKindEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilityDetailsFixedVersionKindEnum) Validate ¶
func (v NoteVulnerabilityDetailsFixedVersionKindEnum) Validate() error
type NoteVulnerabilitySeverityEnum ¶
type NoteVulnerabilitySeverityEnum string
The enum NoteVulnerabilitySeverityEnum.
func NoteVulnerabilitySeverityEnumRef ¶
func NoteVulnerabilitySeverityEnumRef(s string) *NoteVulnerabilitySeverityEnum
NoteVulnerabilitySeverityEnumRef returns a *NoteVulnerabilitySeverityEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteVulnerabilitySeverityEnum) Validate ¶
func (v NoteVulnerabilitySeverityEnum) Validate() error
type NoteVulnerabilityWindowsDetails ¶
type NoteVulnerabilityWindowsDetails struct {
CpeUri *string `json:"cpeUri"`
Name *string `json:"name"`
Description *string `json:"description"`
FixingKbs []NoteVulnerabilityWindowsDetailsFixingKbs `json:"fixingKbs"`
// contains filtered or unexported fields
}
var EmptyNoteVulnerabilityWindowsDetails *NoteVulnerabilityWindowsDetails = &NoteVulnerabilityWindowsDetails{empty: true}
This object is used to assert a desired state where this NoteVulnerabilityWindowsDetails is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteVulnerabilityWindowsDetails) Empty ¶
func (r *NoteVulnerabilityWindowsDetails) Empty() bool
func (*NoteVulnerabilityWindowsDetails) HashCode ¶
func (r *NoteVulnerabilityWindowsDetails) HashCode() string
func (*NoteVulnerabilityWindowsDetails) String ¶
func (r *NoteVulnerabilityWindowsDetails) String() string
func (*NoteVulnerabilityWindowsDetails) UnmarshalJSON ¶
func (r *NoteVulnerabilityWindowsDetails) UnmarshalJSON(data []byte) error
type NoteVulnerabilityWindowsDetailsFixingKbs ¶
type NoteVulnerabilityWindowsDetailsFixingKbs struct {
Name *string `json:"name"`
Url *string `json:"url"`
// contains filtered or unexported fields
}
var EmptyNoteVulnerabilityWindowsDetailsFixingKbs *NoteVulnerabilityWindowsDetailsFixingKbs = &NoteVulnerabilityWindowsDetailsFixingKbs{empty: true}
This object is used to assert a desired state where this NoteVulnerabilityWindowsDetailsFixingKbs is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteVulnerabilityWindowsDetailsFixingKbs) Empty ¶
func (r *NoteVulnerabilityWindowsDetailsFixingKbs) Empty() bool
func (*NoteVulnerabilityWindowsDetailsFixingKbs) HashCode ¶
func (r *NoteVulnerabilityWindowsDetailsFixingKbs) HashCode() string
func (*NoteVulnerabilityWindowsDetailsFixingKbs) String ¶
func (r *NoteVulnerabilityWindowsDetailsFixingKbs) String() string
func (*NoteVulnerabilityWindowsDetailsFixingKbs) UnmarshalJSON ¶
func (r *NoteVulnerabilityWindowsDetailsFixingKbs) UnmarshalJSON(data []byte) error