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 alpha 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 NoteBuildSignature
- type NoteBuildSignatureKeyTypeEnum
- 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 ¶ added in v1.8.0
type NoteBuild struct {
BuilderVersion *string `json:"builderVersion"`
Signature *NoteBuildSignature `json:"signature"`
// 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 ¶ added in v1.8.0
type NoteBuildSignature ¶ added in v1.8.0
type NoteBuildSignature struct {
PublicKey *string `json:"publicKey"`
Signature *string `json:"signature"`
KeyId *string `json:"keyId"`
KeyType *NoteBuildSignatureKeyTypeEnum `json:"keyType"`
// contains filtered or unexported fields
}
var EmptyNoteBuildSignature *NoteBuildSignature = &NoteBuildSignature{empty: true}
This object is used to assert a desired state where this NoteBuildSignature is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NoteBuildSignature) Empty ¶ added in v1.8.0
func (r *NoteBuildSignature) Empty() bool
func (*NoteBuildSignature) HashCode ¶ added in v1.8.0
func (r *NoteBuildSignature) HashCode() string
func (*NoteBuildSignature) String ¶ added in v1.8.0
func (r *NoteBuildSignature) String() string
func (*NoteBuildSignature) UnmarshalJSON ¶ added in v1.8.0
func (r *NoteBuildSignature) UnmarshalJSON(data []byte) error
type NoteBuildSignatureKeyTypeEnum ¶ added in v1.8.0
type NoteBuildSignatureKeyTypeEnum string
The enum NoteBuildSignatureKeyTypeEnum.
func NoteBuildSignatureKeyTypeEnumRef ¶ added in v1.8.0
func NoteBuildSignatureKeyTypeEnumRef(s string) *NoteBuildSignatureKeyTypeEnum
NoteBuildSignatureKeyTypeEnumRef returns a *NoteBuildSignatureKeyTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (NoteBuildSignatureKeyTypeEnum) Validate ¶ added in v1.8.0
func (v NoteBuildSignatureKeyTypeEnum) Validate() error
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 ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (r *NoteVulnerability) Empty() bool
func (*NoteVulnerability) HashCode ¶ added in v1.8.0
func (r *NoteVulnerability) HashCode() string
func (*NoteVulnerability) String ¶ added in v1.8.0
func (r *NoteVulnerability) String() string
func (*NoteVulnerability) UnmarshalJSON ¶ added in v1.8.0
func (r *NoteVulnerability) UnmarshalJSON(data []byte) error
type NoteVulnerabilityCvssV3 ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (r *NoteVulnerabilityCvssV3) Empty() bool
func (*NoteVulnerabilityCvssV3) HashCode ¶ added in v1.8.0
func (r *NoteVulnerabilityCvssV3) HashCode() string
func (*NoteVulnerabilityCvssV3) String ¶ added in v1.8.0
func (r *NoteVulnerabilityCvssV3) String() string
func (*NoteVulnerabilityCvssV3) UnmarshalJSON ¶ added in v1.8.0
func (r *NoteVulnerabilityCvssV3) UnmarshalJSON(data []byte) error
type NoteVulnerabilityCvssV3AttackComplexityEnum ¶ added in v1.8.0
type NoteVulnerabilityCvssV3AttackComplexityEnum string
The enum NoteVulnerabilityCvssV3AttackComplexityEnum.
func NoteVulnerabilityCvssV3AttackComplexityEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityCvssV3AttackComplexityEnum) Validate() error
type NoteVulnerabilityCvssV3AttackVectorEnum ¶ added in v1.8.0
type NoteVulnerabilityCvssV3AttackVectorEnum string
The enum NoteVulnerabilityCvssV3AttackVectorEnum.
func NoteVulnerabilityCvssV3AttackVectorEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityCvssV3AttackVectorEnum) Validate() error
type NoteVulnerabilityCvssV3AvailabilityImpactEnum ¶ added in v1.8.0
type NoteVulnerabilityCvssV3AvailabilityImpactEnum string
The enum NoteVulnerabilityCvssV3AvailabilityImpactEnum.
func NoteVulnerabilityCvssV3AvailabilityImpactEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityCvssV3AvailabilityImpactEnum) Validate() error
type NoteVulnerabilityCvssV3ConfidentialityImpactEnum ¶ added in v1.8.0
type NoteVulnerabilityCvssV3ConfidentialityImpactEnum string
The enum NoteVulnerabilityCvssV3ConfidentialityImpactEnum.
func NoteVulnerabilityCvssV3ConfidentialityImpactEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityCvssV3ConfidentialityImpactEnum) Validate() error
type NoteVulnerabilityCvssV3IntegrityImpactEnum ¶ added in v1.8.0
type NoteVulnerabilityCvssV3IntegrityImpactEnum string
The enum NoteVulnerabilityCvssV3IntegrityImpactEnum.
func NoteVulnerabilityCvssV3IntegrityImpactEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityCvssV3IntegrityImpactEnum) Validate() error
type NoteVulnerabilityCvssV3PrivilegesRequiredEnum ¶ added in v1.8.0
type NoteVulnerabilityCvssV3PrivilegesRequiredEnum string
The enum NoteVulnerabilityCvssV3PrivilegesRequiredEnum.
func NoteVulnerabilityCvssV3PrivilegesRequiredEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityCvssV3PrivilegesRequiredEnum) Validate() error
type NoteVulnerabilityCvssV3ScopeEnum ¶ added in v1.8.0
type NoteVulnerabilityCvssV3ScopeEnum string
The enum NoteVulnerabilityCvssV3ScopeEnum.
func NoteVulnerabilityCvssV3ScopeEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityCvssV3ScopeEnum) Validate() error
type NoteVulnerabilityCvssV3UserInteractionEnum ¶ added in v1.8.0
type NoteVulnerabilityCvssV3UserInteractionEnum string
The enum NoteVulnerabilityCvssV3UserInteractionEnum.
func NoteVulnerabilityCvssV3UserInteractionEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityCvssV3UserInteractionEnum) Validate() error
type NoteVulnerabilityDetails ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (r *NoteVulnerabilityDetails) Empty() bool
func (*NoteVulnerabilityDetails) HashCode ¶ added in v1.8.0
func (r *NoteVulnerabilityDetails) HashCode() string
func (*NoteVulnerabilityDetails) String ¶ added in v1.8.0
func (r *NoteVulnerabilityDetails) String() string
func (*NoteVulnerabilityDetails) UnmarshalJSON ¶ added in v1.8.0
func (r *NoteVulnerabilityDetails) UnmarshalJSON(data []byte) error
type NoteVulnerabilityDetailsAffectedVersionEnd ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsAffectedVersionEnd) Empty() bool
func (*NoteVulnerabilityDetailsAffectedVersionEnd) HashCode ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsAffectedVersionEnd) HashCode() string
func (*NoteVulnerabilityDetailsAffectedVersionEnd) String ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsAffectedVersionEnd) String() string
func (*NoteVulnerabilityDetailsAffectedVersionEnd) UnmarshalJSON ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsAffectedVersionEnd) UnmarshalJSON(data []byte) error
type NoteVulnerabilityDetailsAffectedVersionEndKindEnum ¶ added in v1.8.0
type NoteVulnerabilityDetailsAffectedVersionEndKindEnum string
The enum NoteVulnerabilityDetailsAffectedVersionEndKindEnum.
func NoteVulnerabilityDetailsAffectedVersionEndKindEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityDetailsAffectedVersionEndKindEnum) Validate() error
type NoteVulnerabilityDetailsAffectedVersionStart ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsAffectedVersionStart) Empty() bool
func (*NoteVulnerabilityDetailsAffectedVersionStart) HashCode ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsAffectedVersionStart) HashCode() string
func (*NoteVulnerabilityDetailsAffectedVersionStart) String ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsAffectedVersionStart) String() string
func (*NoteVulnerabilityDetailsAffectedVersionStart) UnmarshalJSON ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsAffectedVersionStart) UnmarshalJSON(data []byte) error
type NoteVulnerabilityDetailsAffectedVersionStartKindEnum ¶ added in v1.8.0
type NoteVulnerabilityDetailsAffectedVersionStartKindEnum string
The enum NoteVulnerabilityDetailsAffectedVersionStartKindEnum.
func NoteVulnerabilityDetailsAffectedVersionStartKindEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityDetailsAffectedVersionStartKindEnum) Validate() error
type NoteVulnerabilityDetailsFixedVersion ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsFixedVersion) Empty() bool
func (*NoteVulnerabilityDetailsFixedVersion) HashCode ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsFixedVersion) HashCode() string
func (*NoteVulnerabilityDetailsFixedVersion) String ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsFixedVersion) String() string
func (*NoteVulnerabilityDetailsFixedVersion) UnmarshalJSON ¶ added in v1.8.0
func (r *NoteVulnerabilityDetailsFixedVersion) UnmarshalJSON(data []byte) error
type NoteVulnerabilityDetailsFixedVersionKindEnum ¶ added in v1.8.0
type NoteVulnerabilityDetailsFixedVersionKindEnum string
The enum NoteVulnerabilityDetailsFixedVersionKindEnum.
func NoteVulnerabilityDetailsFixedVersionKindEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilityDetailsFixedVersionKindEnum) Validate() error
type NoteVulnerabilitySeverityEnum ¶ added in v1.8.0
type NoteVulnerabilitySeverityEnum string
The enum NoteVulnerabilitySeverityEnum.
func NoteVulnerabilitySeverityEnumRef ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (v NoteVulnerabilitySeverityEnum) Validate() error
type NoteVulnerabilityWindowsDetails ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (r *NoteVulnerabilityWindowsDetails) Empty() bool
func (*NoteVulnerabilityWindowsDetails) HashCode ¶ added in v1.8.0
func (r *NoteVulnerabilityWindowsDetails) HashCode() string
func (*NoteVulnerabilityWindowsDetails) String ¶ added in v1.8.0
func (r *NoteVulnerabilityWindowsDetails) String() string
func (*NoteVulnerabilityWindowsDetails) UnmarshalJSON ¶ added in v1.8.0
func (r *NoteVulnerabilityWindowsDetails) UnmarshalJSON(data []byte) error
type NoteVulnerabilityWindowsDetailsFixingKbs ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (r *NoteVulnerabilityWindowsDetailsFixingKbs) Empty() bool
func (*NoteVulnerabilityWindowsDetailsFixingKbs) HashCode ¶ added in v1.8.0
func (r *NoteVulnerabilityWindowsDetailsFixingKbs) HashCode() string
func (*NoteVulnerabilityWindowsDetailsFixingKbs) String ¶ added in v1.8.0
func (r *NoteVulnerabilityWindowsDetailsFixingKbs) String() string
func (*NoteVulnerabilityWindowsDetailsFixingKbs) UnmarshalJSON ¶ added in v1.8.0
func (r *NoteVulnerabilityWindowsDetailsFixingKbs) UnmarshalJSON(data []byte) error