Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=audit.tencentcloud.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Audit
- func (in *Audit) DeepCopy() *Audit
- func (in *Audit) DeepCopyInto(out *Audit)
- func (in *Audit) DeepCopyObject() runtime.Object
- func (mg *Audit) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Audit) GetConnectionDetailsMapping() map[string]string
- func (mg *Audit) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Audit) GetID() string
- func (tr *Audit) GetObservation() (map[string]interface{}, error)
- func (tr *Audit) GetParameters() (map[string]interface{}, error)
- func (mg *Audit) GetProviderConfigReference() *xpv1.Reference
- func (mg *Audit) GetProviderReference() *xpv1.Reference
- func (mg *Audit) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Audit) GetTerraformResourceType() string
- func (tr *Audit) GetTerraformSchemaVersion() int
- func (mg *Audit) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Audit) LateInitialize(attrs []byte) (bool, error)
- func (mg *Audit) SetConditions(c ...xpv1.Condition)
- func (mg *Audit) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Audit) SetObservation(obs map[string]interface{}) error
- func (tr *Audit) SetParameters(params map[string]interface{}) error
- func (mg *Audit) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Audit) SetProviderReference(r *xpv1.Reference)
- func (mg *Audit) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Audit) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AuditList
- type AuditObservation
- type AuditParameters
- type AuditSpec
- type AuditStatus
Constants ¶
const ( CRDGroup = "audit.tencentcloud.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Audit_Kind = "Audit" Audit_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Audit_Kind}.String() Audit_KindAPIVersion = Audit_Kind + "." + CRDGroupVersion.String() Audit_GroupVersionKind = CRDGroupVersion.WithKind(Audit_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Audit ¶
type Audit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AuditSpec `json:"spec"` Status AuditStatus `json:"status,omitempty"` }
Audit is the Schema for the Audits API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}
func (*Audit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Audit.
func (*Audit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Audit) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Audit) GetCondition ¶
func (mg *Audit) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Audit.
func (*Audit) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Audit
func (*Audit) GetDeletionPolicy ¶
func (mg *Audit) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Audit.
func (*Audit) GetObservation ¶
GetObservation of this Audit
func (*Audit) GetParameters ¶
GetParameters of this Audit
func (*Audit) GetProviderConfigReference ¶
GetProviderConfigReference of this Audit.
func (*Audit) GetProviderReference ¶
GetProviderReference of this Audit. Deprecated: Use GetProviderConfigReference.
func (*Audit) GetPublishConnectionDetailsTo ¶
func (mg *Audit) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Audit.
func (*Audit) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Audit
func (*Audit) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Audit) GetWriteConnectionSecretToReference ¶
func (mg *Audit) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Audit.
func (*Audit) LateInitialize ¶
LateInitialize this Audit using its observed tfState. returns True if there are any spec changes for the resource.
func (*Audit) SetConditions ¶
SetConditions of this Audit.
func (*Audit) SetDeletionPolicy ¶
func (mg *Audit) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Audit.
func (*Audit) SetObservation ¶
SetObservation for this Audit
func (*Audit) SetParameters ¶
SetParameters for this Audit
func (*Audit) SetProviderConfigReference ¶
SetProviderConfigReference of this Audit.
func (*Audit) SetProviderReference ¶
SetProviderReference of this Audit. Deprecated: Use SetProviderConfigReference.
func (*Audit) SetPublishConnectionDetailsTo ¶
func (mg *Audit) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Audit.
func (*Audit) SetWriteConnectionSecretToReference ¶
func (mg *Audit) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Audit.
type AuditList ¶
type AuditList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Audit `json:"items"` }
AuditList contains a list of Audits
func (*AuditList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditList.
func (*AuditList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuditList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuditObservation ¶
type AuditObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*AuditObservation) DeepCopy ¶
func (in *AuditObservation) DeepCopy() *AuditObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditObservation.
func (*AuditObservation) DeepCopyInto ¶
func (in *AuditObservation) DeepCopyInto(out *AuditObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuditParameters ¶
type AuditParameters struct { // Indicate whether to turn on audit logging or not. // +kubebuilder:validation:Required AuditSwitch *bool `json:"auditSwitch" tf:"audit_switch,omitempty"` // Name of the cos bucket to save audit log. Caution: the validation of existing cos bucket will not be checked by terraform. // +kubebuilder:validation:Required CosBucket *string `json:"cosBucket" tf:"cos_bucket,omitempty"` // Region of the cos bucket. // +kubebuilder:validation:Required CosRegion *string `json:"cosRegion" tf:"cos_region,omitempty"` // Indicate whether the log is encrypt with KMS algorithm or not. // +kubebuilder:validation:Optional EnableKMSEncry *bool `json:"enableKmsEncry,omitempty" tf:"enable_kms_encry,omitempty"` // Existing CMK unique key. This field can be get by data source `tencentcloud_audit_key_alias`. Caution: the region of the KMS must be as same as the `cos_region`. // +kubebuilder:validation:Optional KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"` // The log file name prefix. The length ranges from 3 to 40. If not set, the account ID will be the log file prefix. // +kubebuilder:validation:Optional LogFilePrefix *string `json:"logFilePrefix,omitempty" tf:"log_file_prefix,omitempty"` // Name of audit. Valid length ranges from 3 to 128. Only alpha character or numbers or '_' supported. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Event attribute filter. Valid values: `1`, `2`, `3`. `1` for readonly, `2` for write-only, `3` for all. // +kubebuilder:validation:Required ReadWriteAttribute *float64 `json:"readWriteAttribute" tf:"read_write_attribute,omitempty"` }
func (*AuditParameters) DeepCopy ¶
func (in *AuditParameters) DeepCopy() *AuditParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditParameters.
func (*AuditParameters) DeepCopyInto ¶
func (in *AuditParameters) DeepCopyInto(out *AuditParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuditSpec ¶
type AuditSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AuditParameters `json:"forProvider"` }
AuditSpec defines the desired state of Audit
func (*AuditSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditSpec.
func (*AuditSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuditStatus ¶
type AuditStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AuditObservation `json:"atProvider,omitempty"` }
AuditStatus defines the observed state of Audit.
func (*AuditStatus) DeepCopy ¶
func (in *AuditStatus) DeepCopy() *AuditStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditStatus.
func (*AuditStatus) DeepCopyInto ¶
func (in *AuditStatus) DeepCopyInto(out *AuditStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.