Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the containeranalysis v1alpha1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/containeranalysis +k8s:defaulter-gen=TypeMeta +groupName=containeranalysis.cnrm.cloud.google.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "containeranalysis.cnrm.cloud.google.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme ContainerAnalysisOccurrenceGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(ContainerAnalysisOccurrence{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type ContainerAnalysisOccurrence ¶
type ContainerAnalysisOccurrence struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ContainerAnalysisOccurrenceSpec `json:"spec,omitempty"` Status ContainerAnalysisOccurrenceStatus `json:"status,omitempty"` }
ContainerAnalysisOccurrence is the Schema for the containeranalysis API +k8s:openapi-gen=true
func (*ContainerAnalysisOccurrence) DeepCopy ¶
func (in *ContainerAnalysisOccurrence) DeepCopy() *ContainerAnalysisOccurrence
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAnalysisOccurrence.
func (*ContainerAnalysisOccurrence) DeepCopyInto ¶
func (in *ContainerAnalysisOccurrence) DeepCopyInto(out *ContainerAnalysisOccurrence)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerAnalysisOccurrence) DeepCopyObject ¶
func (in *ContainerAnalysisOccurrence) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContainerAnalysisOccurrenceList ¶
type ContainerAnalysisOccurrenceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ContainerAnalysisOccurrence `json:"items"` }
ContainerAnalysisOccurrenceList contains a list of ContainerAnalysisOccurrence
func (*ContainerAnalysisOccurrenceList) DeepCopy ¶
func (in *ContainerAnalysisOccurrenceList) DeepCopy() *ContainerAnalysisOccurrenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAnalysisOccurrenceList.
func (*ContainerAnalysisOccurrenceList) DeepCopyInto ¶
func (in *ContainerAnalysisOccurrenceList) DeepCopyInto(out *ContainerAnalysisOccurrenceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerAnalysisOccurrenceList) DeepCopyObject ¶
func (in *ContainerAnalysisOccurrenceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContainerAnalysisOccurrenceSpec ¶
type ContainerAnalysisOccurrenceSpec struct { /* Occurrence that represents a single "attestation". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign. */ Attestation OccurrenceAttestation `json:"attestation"` /* Immutable. The analysis note associated with this occurrence, in the form of projects/[PROJECT]/notes/[NOTE_ID]. This field can be used as a filter in list requests. */ NoteName string `json:"noteName"` /* The project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* A description of actions that can be taken to remedy the note. */ // +optional Remediation *string `json:"remediation,omitempty"` /* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Immutable. Required. Immutable. A URI that represents the resource for which the occurrence applies. For example, https://gcr.io/project/image@sha256:123abc for a Docker image. */ ResourceUri string `json:"resourceUri"` }
func (*ContainerAnalysisOccurrenceSpec) DeepCopy ¶
func (in *ContainerAnalysisOccurrenceSpec) DeepCopy() *ContainerAnalysisOccurrenceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAnalysisOccurrenceSpec.
func (*ContainerAnalysisOccurrenceSpec) DeepCopyInto ¶
func (in *ContainerAnalysisOccurrenceSpec) DeepCopyInto(out *ContainerAnalysisOccurrenceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerAnalysisOccurrenceStatus ¶
type ContainerAnalysisOccurrenceStatus struct { /* Conditions represent the latest available observations of the ContainerAnalysisOccurrence's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The time when the repository was created. */ // +optional CreateTime *string `json:"createTime,omitempty"` /* The note kind which explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests. */ // +optional Kind *string `json:"kind,omitempty"` /* The name of the occurrence. */ // +optional Name *string `json:"name,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` /* The time when the repository was last updated. */ // +optional UpdateTime *string `json:"updateTime,omitempty"` }
func (*ContainerAnalysisOccurrenceStatus) DeepCopy ¶
func (in *ContainerAnalysisOccurrenceStatus) DeepCopy() *ContainerAnalysisOccurrenceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerAnalysisOccurrenceStatus.
func (*ContainerAnalysisOccurrenceStatus) DeepCopyInto ¶
func (in *ContainerAnalysisOccurrenceStatus) DeepCopyInto(out *ContainerAnalysisOccurrenceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OccurrenceAttestation ¶
type OccurrenceAttestation struct { /* The serialized payload that is verified by one or more signatures. A base64-encoded string. */ SerializedPayload string `json:"serializedPayload"` /* One or more signatures over serializedPayload. Verifier implementations should consider this attestation message verified if at least one signature verifies serializedPayload. See Signature in common.proto for more details on signature structure and verification. */ Signatures []OccurrenceSignatures `json:"signatures"` }
func (*OccurrenceAttestation) DeepCopy ¶
func (in *OccurrenceAttestation) DeepCopy() *OccurrenceAttestation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OccurrenceAttestation.
func (*OccurrenceAttestation) DeepCopyInto ¶
func (in *OccurrenceAttestation) DeepCopyInto(out *OccurrenceAttestation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OccurrenceSignatures ¶
type OccurrenceSignatures struct { /* The identifier for the public key that verifies this signature. MUST be an RFC3986 conformant URI. * When possible, the key id should be an immutable reference, such as a cryptographic digest. Examples of valid values: * OpenPGP V4 public key fingerprint. See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. * 'openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA' * RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU". */ PublicKeyId string `json:"publicKeyId"` /* The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload. */ // +optional Signature *string `json:"signature,omitempty"` }
func (*OccurrenceSignatures) DeepCopy ¶
func (in *OccurrenceSignatures) DeepCopy() *OccurrenceSignatures
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OccurrenceSignatures.
func (*OccurrenceSignatures) DeepCopyInto ¶
func (in *OccurrenceSignatures) DeepCopyInto(out *OccurrenceSignatures)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.