Documentation ¶
Overview ¶
Generate deepcopy object for privateca/v1beta1 API group
Package v1beta1 contains API Schema definitions for the privateca v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/privateca +k8s:defaulter-gen=TypeMeta +groupName=privateca.cnrm.cloud.google.com
Index ¶
- Variables
- type CertificatetemplateAdditionalExtensions
- type CertificatetemplateBaseKeyUsage
- type CertificatetemplateCaOptions
- type CertificatetemplateCelExpression
- type CertificatetemplateExtendedKeyUsage
- type CertificatetemplateIdentityConstraints
- type CertificatetemplateKeyUsage
- type CertificatetemplateObjectId
- type CertificatetemplatePassthroughExtensions
- type CertificatetemplatePolicyIds
- type CertificatetemplatePredefinedValues
- type CertificatetemplateUnknownExtendedKeyUsages
- type PrivateCACertificateTemplate
- type PrivateCACertificateTemplateList
- type PrivateCACertificateTemplateSpec
- type PrivateCACertificateTemplateStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "privateca.cnrm.cloud.google.com", Version: "v1beta1"} // 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 PrivateCACertificateTemplateGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(PrivateCACertificateTemplate{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type CertificatetemplateAdditionalExtensions ¶
type CertificatetemplateAdditionalExtensions struct { /* Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error). */ // +optional Critical *bool `json:"critical,omitempty"` /* Required. The OID for this X.509 extension. */ ObjectId CertificatetemplateObjectId `json:"objectId"` /* Required. The value of this X.509 extension. */ Value string `json:"value"` }
func (*CertificatetemplateAdditionalExtensions) DeepCopy ¶
func (in *CertificatetemplateAdditionalExtensions) DeepCopy() *CertificatetemplateAdditionalExtensions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplateAdditionalExtensions.
func (*CertificatetemplateAdditionalExtensions) DeepCopyInto ¶
func (in *CertificatetemplateAdditionalExtensions) DeepCopyInto(out *CertificatetemplateAdditionalExtensions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplateBaseKeyUsage ¶
type CertificatetemplateBaseKeyUsage struct { /* The key may be used to sign certificates. */ // +optional CertSign *bool `json:"certSign,omitempty"` /* The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation". */ // +optional ContentCommitment *bool `json:"contentCommitment,omitempty"` /* The key may be used sign certificate revocation lists. */ // +optional CrlSign *bool `json:"crlSign,omitempty"` /* The key may be used to encipher data. */ // +optional DataEncipherment *bool `json:"dataEncipherment,omitempty"` /* The key may be used to decipher only. */ // +optional DecipherOnly *bool `json:"decipherOnly,omitempty"` /* The key may be used for digital signatures. */ // +optional DigitalSignature *bool `json:"digitalSignature,omitempty"` /* The key may be used to encipher only. */ // +optional EncipherOnly *bool `json:"encipherOnly,omitempty"` /* The key may be used in a key agreement protocol. */ // +optional KeyAgreement *bool `json:"keyAgreement,omitempty"` /* The key may be used to encipher other keys. */ // +optional KeyEncipherment *bool `json:"keyEncipherment,omitempty"` }
func (*CertificatetemplateBaseKeyUsage) DeepCopy ¶
func (in *CertificatetemplateBaseKeyUsage) DeepCopy() *CertificatetemplateBaseKeyUsage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplateBaseKeyUsage.
func (*CertificatetemplateBaseKeyUsage) DeepCopyInto ¶
func (in *CertificatetemplateBaseKeyUsage) DeepCopyInto(out *CertificatetemplateBaseKeyUsage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplateCaOptions ¶
type CertificatetemplateCaOptions struct { /* Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate. */ // +optional IsCa *bool `json:"isCa,omitempty"` /* Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate. */ // +optional MaxIssuerPathLength *int `json:"maxIssuerPathLength,omitempty"` }
func (*CertificatetemplateCaOptions) DeepCopy ¶
func (in *CertificatetemplateCaOptions) DeepCopy() *CertificatetemplateCaOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplateCaOptions.
func (*CertificatetemplateCaOptions) DeepCopyInto ¶
func (in *CertificatetemplateCaOptions) DeepCopyInto(out *CertificatetemplateCaOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplateCelExpression ¶
type CertificatetemplateCelExpression struct { /* Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */ // +optional Description *string `json:"description,omitempty"` /* Textual representation of an expression in Common Expression Language syntax. */ // +optional Expression *string `json:"expression,omitempty"` /* Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */ // +optional Location *string `json:"location,omitempty"` /* Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */ // +optional Title *string `json:"title,omitempty"` }
func (*CertificatetemplateCelExpression) DeepCopy ¶
func (in *CertificatetemplateCelExpression) DeepCopy() *CertificatetemplateCelExpression
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplateCelExpression.
func (*CertificatetemplateCelExpression) DeepCopyInto ¶
func (in *CertificatetemplateCelExpression) DeepCopyInto(out *CertificatetemplateCelExpression)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplateExtendedKeyUsage ¶
type CertificatetemplateExtendedKeyUsage struct { /* Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS. */ // +optional ClientAuth *bool `json:"clientAuth,omitempty"` /* Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication". */ // +optional CodeSigning *bool `json:"codeSigning,omitempty"` /* Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection". */ // +optional EmailProtection *bool `json:"emailProtection,omitempty"` /* Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses". */ // +optional OcspSigning *bool `json:"ocspSigning,omitempty"` /* Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS. */ // +optional ServerAuth *bool `json:"serverAuth,omitempty"` /* Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time". */ // +optional TimeStamping *bool `json:"timeStamping,omitempty"` }
func (*CertificatetemplateExtendedKeyUsage) DeepCopy ¶
func (in *CertificatetemplateExtendedKeyUsage) DeepCopy() *CertificatetemplateExtendedKeyUsage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplateExtendedKeyUsage.
func (*CertificatetemplateExtendedKeyUsage) DeepCopyInto ¶
func (in *CertificatetemplateExtendedKeyUsage) DeepCopyInto(out *CertificatetemplateExtendedKeyUsage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplateIdentityConstraints ¶
type CertificatetemplateIdentityConstraints struct { /* Required. If this is true, the SubjectAltNames extension may be copied from a certificate request into the signed certificate. Otherwise, the requested SubjectAltNames will be discarded. */ AllowSubjectAltNamesPassthrough bool `json:"allowSubjectAltNamesPassthrough"` /* Required. If this is true, the Subject field may be copied from a certificate request into the signed certificate. Otherwise, the requested Subject will be discarded. */ AllowSubjectPassthrough bool `json:"allowSubjectPassthrough"` /* Optional. A CEL expression that may be used to validate the resolved X.509 Subject and/or Subject Alternative Name before a certificate is signed. To see the full allowed syntax and some examples, see https://cloud.google.com/certificate-authority-service/docs/using-cel */ // +optional CelExpression *CertificatetemplateCelExpression `json:"celExpression,omitempty"` }
func (*CertificatetemplateIdentityConstraints) DeepCopy ¶
func (in *CertificatetemplateIdentityConstraints) DeepCopy() *CertificatetemplateIdentityConstraints
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplateIdentityConstraints.
func (*CertificatetemplateIdentityConstraints) DeepCopyInto ¶
func (in *CertificatetemplateIdentityConstraints) DeepCopyInto(out *CertificatetemplateIdentityConstraints)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplateKeyUsage ¶
type CertificatetemplateKeyUsage struct { /* Describes high-level ways in which a key may be used. */ // +optional BaseKeyUsage *CertificatetemplateBaseKeyUsage `json:"baseKeyUsage,omitempty"` /* Detailed scenarios in which a key may be used. */ // +optional ExtendedKeyUsage *CertificatetemplateExtendedKeyUsage `json:"extendedKeyUsage,omitempty"` /* Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message. */ // +optional UnknownExtendedKeyUsages []CertificatetemplateUnknownExtendedKeyUsages `json:"unknownExtendedKeyUsages,omitempty"` }
func (*CertificatetemplateKeyUsage) DeepCopy ¶
func (in *CertificatetemplateKeyUsage) DeepCopy() *CertificatetemplateKeyUsage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplateKeyUsage.
func (*CertificatetemplateKeyUsage) DeepCopyInto ¶
func (in *CertificatetemplateKeyUsage) DeepCopyInto(out *CertificatetemplateKeyUsage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplateObjectId ¶
type CertificatetemplateObjectId struct { /* Required. The parts of an OID path. The most significant parts of the path come first. */ ObjectIdPath []int `json:"objectIdPath"` }
func (*CertificatetemplateObjectId) DeepCopy ¶
func (in *CertificatetemplateObjectId) DeepCopy() *CertificatetemplateObjectId
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplateObjectId.
func (*CertificatetemplateObjectId) DeepCopyInto ¶
func (in *CertificatetemplateObjectId) DeepCopyInto(out *CertificatetemplateObjectId)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplatePassthroughExtensions ¶
type CertificatetemplatePassthroughExtensions struct { /* Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions. */ // +optional AdditionalExtensions []CertificatetemplateAdditionalExtensions `json:"additionalExtensions,omitempty"` /* Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions. */ // +optional KnownExtensions []string `json:"knownExtensions,omitempty"` }
func (*CertificatetemplatePassthroughExtensions) DeepCopy ¶
func (in *CertificatetemplatePassthroughExtensions) DeepCopy() *CertificatetemplatePassthroughExtensions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplatePassthroughExtensions.
func (*CertificatetemplatePassthroughExtensions) DeepCopyInto ¶
func (in *CertificatetemplatePassthroughExtensions) DeepCopyInto(out *CertificatetemplatePassthroughExtensions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplatePolicyIds ¶
type CertificatetemplatePolicyIds struct { /* Required. The parts of an OID path. The most significant parts of the path come first. */ ObjectIdPath []int `json:"objectIdPath"` }
func (*CertificatetemplatePolicyIds) DeepCopy ¶
func (in *CertificatetemplatePolicyIds) DeepCopy() *CertificatetemplatePolicyIds
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplatePolicyIds.
func (*CertificatetemplatePolicyIds) DeepCopyInto ¶
func (in *CertificatetemplatePolicyIds) DeepCopyInto(out *CertificatetemplatePolicyIds)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplatePredefinedValues ¶
type CertificatetemplatePredefinedValues struct { /* Optional. Describes custom X.509 extensions. */ // +optional AdditionalExtensions []CertificatetemplateAdditionalExtensions `json:"additionalExtensions,omitempty"` /* Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate. */ // +optional AiaOcspServers []string `json:"aiaOcspServers,omitempty"` /* Optional. Describes options in this X509Parameters that are relevant in a CA certificate. */ // +optional CaOptions *CertificatetemplateCaOptions `json:"caOptions,omitempty"` /* Optional. Indicates the intended use for keys that correspond to a certificate. */ // +optional KeyUsage *CertificatetemplateKeyUsage `json:"keyUsage,omitempty"` /* Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4. */ // +optional PolicyIds []CertificatetemplatePolicyIds `json:"policyIds,omitempty"` }
func (*CertificatetemplatePredefinedValues) DeepCopy ¶
func (in *CertificatetemplatePredefinedValues) DeepCopy() *CertificatetemplatePredefinedValues
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplatePredefinedValues.
func (*CertificatetemplatePredefinedValues) DeepCopyInto ¶
func (in *CertificatetemplatePredefinedValues) DeepCopyInto(out *CertificatetemplatePredefinedValues)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertificatetemplateUnknownExtendedKeyUsages ¶
type CertificatetemplateUnknownExtendedKeyUsages struct { /* Required. The parts of an OID path. The most significant parts of the path come first. */ ObjectIdPath []int `json:"objectIdPath"` }
func (*CertificatetemplateUnknownExtendedKeyUsages) DeepCopy ¶
func (in *CertificatetemplateUnknownExtendedKeyUsages) DeepCopy() *CertificatetemplateUnknownExtendedKeyUsages
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificatetemplateUnknownExtendedKeyUsages.
func (*CertificatetemplateUnknownExtendedKeyUsages) DeepCopyInto ¶
func (in *CertificatetemplateUnknownExtendedKeyUsages) DeepCopyInto(out *CertificatetemplateUnknownExtendedKeyUsages)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateCACertificateTemplate ¶
type PrivateCACertificateTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PrivateCACertificateTemplateSpec `json:"spec,omitempty"` Status PrivateCACertificateTemplateStatus `json:"status,omitempty"` }
PrivateCACertificateTemplate is the Schema for the privateca API +k8s:openapi-gen=true
func (*PrivateCACertificateTemplate) DeepCopy ¶
func (in *PrivateCACertificateTemplate) DeepCopy() *PrivateCACertificateTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateCACertificateTemplate.
func (*PrivateCACertificateTemplate) DeepCopyInto ¶
func (in *PrivateCACertificateTemplate) DeepCopyInto(out *PrivateCACertificateTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrivateCACertificateTemplate) DeepCopyObject ¶
func (in *PrivateCACertificateTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrivateCACertificateTemplateList ¶
type PrivateCACertificateTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PrivateCACertificateTemplate `json:"items"` }
PrivateCACertificateTemplateList contains a list of PrivateCACertificateTemplate
func (*PrivateCACertificateTemplateList) DeepCopy ¶
func (in *PrivateCACertificateTemplateList) DeepCopy() *PrivateCACertificateTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateCACertificateTemplateList.
func (*PrivateCACertificateTemplateList) DeepCopyInto ¶
func (in *PrivateCACertificateTemplateList) DeepCopyInto(out *PrivateCACertificateTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PrivateCACertificateTemplateList) DeepCopyObject ¶
func (in *PrivateCACertificateTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PrivateCACertificateTemplateSpec ¶
type PrivateCACertificateTemplateSpec struct { /* Optional. A human-readable description of scenarios this template is intended for. */ // +optional Description *string `json:"description,omitempty"` /* Optional. Describes constraints on identities that may be appear in Certificates issued using this template. If this is omitted, then this template will not add restrictions on a certificate's identity. */ // +optional IdentityConstraints *CertificatetemplateIdentityConstraints `json:"identityConstraints,omitempty"` /* The location for the resource */ Location string `json:"location"` /* Optional. Describes the set of X.509 extensions that may appear in a Certificate issued using this CertificateTemplate. If a certificate request sets extensions that don't appear in the passthrough_extensions, those extensions will be dropped. If the issuing CaPool's IssuancePolicy defines baseline_values that don't appear here, the certificate issuance request will fail. If this is omitted, then this template will not add restrictions on a certificate's X.509 extensions. These constraints do not apply to X.509 extensions set in this CertificateTemplate's predefined_values. */ // +optional PassthroughExtensions *CertificatetemplatePassthroughExtensions `json:"passthroughExtensions,omitempty"` /* Optional. A set of X.509 values that will be applied to all issued certificates that use this template. If the certificate request includes conflicting values for the same properties, they will be overwritten by the values defined here. If the issuing CaPool's IssuancePolicy defines conflicting baseline_values for the same properties, the certificate issuance request will fail. */ // +optional PredefinedValues *CertificatetemplatePredefinedValues `json:"predefinedValues,omitempty"` /* The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` }
func (*PrivateCACertificateTemplateSpec) DeepCopy ¶
func (in *PrivateCACertificateTemplateSpec) DeepCopy() *PrivateCACertificateTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateCACertificateTemplateSpec.
func (*PrivateCACertificateTemplateSpec) DeepCopyInto ¶
func (in *PrivateCACertificateTemplateSpec) DeepCopyInto(out *PrivateCACertificateTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateCACertificateTemplateStatus ¶
type PrivateCACertificateTemplateStatus struct { /* Conditions represent the latest available observations of the PrivateCACertificateTemplate's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Output only. The time at which this CertificateTemplate was created. */ CreateTime string `json:"createTime,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. */ ObservedGeneration int `json:"observedGeneration,omitempty"` /* Output only. The time at which this CertificateTemplate was updated. */ UpdateTime string `json:"updateTime,omitempty"` }
func (*PrivateCACertificateTemplateStatus) DeepCopy ¶
func (in *PrivateCACertificateTemplateStatus) DeepCopy() *PrivateCACertificateTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateCACertificateTemplateStatus.
func (*PrivateCACertificateTemplateStatus) DeepCopyInto ¶
func (in *PrivateCACertificateTemplateStatus) DeepCopyInto(out *PrivateCACertificateTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.