Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=inspector2.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type Enabler
- func (in *Enabler) DeepCopy() *Enabler
- func (in *Enabler) DeepCopyInto(out *Enabler)
- func (in *Enabler) DeepCopyObject() runtime.Object
- func (mg *Enabler) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Enabler) GetConnectionDetailsMapping() map[string]string
- func (mg *Enabler) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Enabler) GetID() string
- func (tr *Enabler) GetInitParameters() (map[string]any, error)
- func (mg *Enabler) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Enabler) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Enabler) GetObservation() (map[string]any, error)
- func (tr *Enabler) GetParameters() (map[string]any, error)
- func (mg *Enabler) GetProviderConfigReference() *xpv1.Reference
- func (mg *Enabler) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Enabler) GetTerraformResourceType() string
- func (tr *Enabler) GetTerraformSchemaVersion() int
- func (mg *Enabler) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Enabler) Hub()
- func (tr *Enabler) LateInitialize(attrs []byte) (bool, error)
- func (mg *Enabler) SetConditions(c ...xpv1.Condition)
- func (mg *Enabler) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Enabler) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Enabler) SetObservation(obs map[string]any) error
- func (tr *Enabler) SetParameters(params map[string]any) error
- func (mg *Enabler) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Enabler) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Enabler) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type EnablerInitParameters
- type EnablerList
- type EnablerObservation
- type EnablerParameters
- type EnablerSpec
- type EnablerStatus
Constants ¶
const ( CRDGroup = "inspector2.aws.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( Enabler_Kind = "Enabler" Enabler_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Enabler_Kind}.String() Enabler_KindAPIVersion = Enabler_Kind + "." + CRDGroupVersion.String() Enabler_GroupVersionKind = CRDGroupVersion.WithKind(Enabler_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 Enabler ¶
type Enabler struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountIds) || (has(self.initProvider) && has(self.initProvider.accountIds))",message="spec.forProvider.accountIds is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceTypes) || (has(self.initProvider) && has(self.initProvider.resourceTypes))",message="spec.forProvider.resourceTypes is a required parameter" Spec EnablerSpec `json:"spec"` Status EnablerStatus `json:"status,omitempty"` }
Enabler is the Schema for the Enablers API. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}
func (*Enabler) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Enabler.
func (*Enabler) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Enabler) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Enabler) GetCondition ¶
func (mg *Enabler) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Enabler.
func (*Enabler) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Enabler
func (*Enabler) GetDeletionPolicy ¶
func (mg *Enabler) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Enabler.
func (*Enabler) GetInitParameters ¶ added in v0.38.0
GetInitParameters of this Enabler
func (*Enabler) GetManagementPolicies ¶ added in v0.38.0
func (mg *Enabler) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Enabler.
func (*Enabler) GetMergedParameters ¶ added in v0.44.0
GetInitParameters of this Enabler
func (*Enabler) GetObservation ¶
GetObservation of this Enabler
func (*Enabler) GetParameters ¶
GetParameters of this Enabler
func (*Enabler) GetProviderConfigReference ¶
GetProviderConfigReference of this Enabler.
func (*Enabler) GetPublishConnectionDetailsTo ¶
func (mg *Enabler) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Enabler.
func (*Enabler) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Enabler
func (*Enabler) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Enabler) GetWriteConnectionSecretToReference ¶
func (mg *Enabler) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Enabler.
func (*Enabler) Hub ¶ added in v0.47.2
func (tr *Enabler) Hub()
Hub marks this type as a conversion hub.
func (*Enabler) LateInitialize ¶
LateInitialize this Enabler using its observed tfState. returns True if there are any spec changes for the resource.
func (*Enabler) SetConditions ¶
SetConditions of this Enabler.
func (*Enabler) SetDeletionPolicy ¶
func (mg *Enabler) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Enabler.
func (*Enabler) SetManagementPolicies ¶ added in v0.38.0
func (mg *Enabler) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Enabler.
func (*Enabler) SetObservation ¶
SetObservation for this Enabler
func (*Enabler) SetParameters ¶
SetParameters for this Enabler
func (*Enabler) SetProviderConfigReference ¶
SetProviderConfigReference of this Enabler.
func (*Enabler) SetPublishConnectionDetailsTo ¶
func (mg *Enabler) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Enabler.
func (*Enabler) SetWriteConnectionSecretToReference ¶
func (mg *Enabler) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Enabler.
type EnablerInitParameters ¶ added in v0.38.0
type EnablerInitParameters struct { // Set of account IDs. // Can contain one of: the Organization's Administrator Account, or one or more Member Accounts. // +listType=set AccountIds []*string `json:"accountIds,omitempty" tf:"account_ids,omitempty"` // Type of resources to scan. // Valid values are EC2, ECR, LAMBDA and LAMBDA_CODE. // At least one item is required. // +listType=set ResourceTypes []*string `json:"resourceTypes,omitempty" tf:"resource_types,omitempty"` }
func (*EnablerInitParameters) DeepCopy ¶ added in v0.38.0
func (in *EnablerInitParameters) DeepCopy() *EnablerInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnablerInitParameters.
func (*EnablerInitParameters) DeepCopyInto ¶ added in v0.38.0
func (in *EnablerInitParameters) DeepCopyInto(out *EnablerInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnablerList ¶
type EnablerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Enabler `json:"items"` }
EnablerList contains a list of Enablers
func (*EnablerList) DeepCopy ¶
func (in *EnablerList) DeepCopy() *EnablerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnablerList.
func (*EnablerList) DeepCopyInto ¶
func (in *EnablerList) DeepCopyInto(out *EnablerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnablerList) DeepCopyObject ¶
func (in *EnablerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EnablerList) GetItems ¶
func (l *EnablerList) GetItems() []resource.Managed
GetItems of this EnablerList.
type EnablerObservation ¶
type EnablerObservation struct { // Set of account IDs. // Can contain one of: the Organization's Administrator Account, or one or more Member Accounts. // +listType=set AccountIds []*string `json:"accountIds,omitempty" tf:"account_ids,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Type of resources to scan. // Valid values are EC2, ECR, LAMBDA and LAMBDA_CODE. // At least one item is required. // +listType=set ResourceTypes []*string `json:"resourceTypes,omitempty" tf:"resource_types,omitempty"` }
func (*EnablerObservation) DeepCopy ¶
func (in *EnablerObservation) DeepCopy() *EnablerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnablerObservation.
func (*EnablerObservation) DeepCopyInto ¶
func (in *EnablerObservation) DeepCopyInto(out *EnablerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnablerParameters ¶
type EnablerParameters struct { // Set of account IDs. // Can contain one of: the Organization's Administrator Account, or one or more Member Accounts. // +kubebuilder:validation:Optional // +listType=set AccountIds []*string `json:"accountIds,omitempty" tf:"account_ids,omitempty"` // Region is the region you'd like your resource to be created in. // +upjet:crd:field:TFTag=- // +kubebuilder:validation:Required Region *string `json:"region" tf:"-"` // Type of resources to scan. // Valid values are EC2, ECR, LAMBDA and LAMBDA_CODE. // At least one item is required. // +kubebuilder:validation:Optional // +listType=set ResourceTypes []*string `json:"resourceTypes,omitempty" tf:"resource_types,omitempty"` }
func (*EnablerParameters) DeepCopy ¶
func (in *EnablerParameters) DeepCopy() *EnablerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnablerParameters.
func (*EnablerParameters) DeepCopyInto ¶
func (in *EnablerParameters) DeepCopyInto(out *EnablerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnablerSpec ¶
type EnablerSpec struct { v1.ResourceSpec `json:",inline"` ForProvider EnablerParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider EnablerInitParameters `json:"initProvider,omitempty"` }
EnablerSpec defines the desired state of Enabler
func (*EnablerSpec) DeepCopy ¶
func (in *EnablerSpec) DeepCopy() *EnablerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnablerSpec.
func (*EnablerSpec) DeepCopyInto ¶
func (in *EnablerSpec) DeepCopyInto(out *EnablerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnablerStatus ¶
type EnablerStatus struct { v1.ResourceStatus `json:",inline"` AtProvider EnablerObservation `json:"atProvider,omitempty"` }
EnablerStatus defines the observed state of Enabler.
func (*EnablerStatus) DeepCopy ¶
func (in *EnablerStatus) DeepCopy() *EnablerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnablerStatus.
func (*EnablerStatus) DeepCopyInto ¶
func (in *EnablerStatus) DeepCopyInto(out *EnablerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.