Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=scope.boundary.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type PolicyAttachment
- func (in *PolicyAttachment) DeepCopy() *PolicyAttachment
- func (in *PolicyAttachment) DeepCopyInto(out *PolicyAttachment)
- func (in *PolicyAttachment) DeepCopyObject() runtime.Object
- func (mg *PolicyAttachment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PolicyAttachment) GetConnectionDetailsMapping() map[string]string
- func (mg *PolicyAttachment) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PolicyAttachment) GetID() string
- func (tr *PolicyAttachment) GetInitParameters() (map[string]any, error)
- func (mg *PolicyAttachment) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PolicyAttachment) GetObservation() (map[string]any, error)
- func (tr *PolicyAttachment) GetParameters() (map[string]any, error)
- func (mg *PolicyAttachment) GetProviderConfigReference() *xpv1.Reference
- func (mg *PolicyAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PolicyAttachment) GetTerraformResourceType() string
- func (tr *PolicyAttachment) GetTerraformSchemaVersion() int
- func (mg *PolicyAttachment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PolicyAttachment) LateInitialize(attrs []byte) (bool, error)
- func (mg *PolicyAttachment) SetConditions(c ...xpv1.Condition)
- func (mg *PolicyAttachment) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PolicyAttachment) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PolicyAttachment) SetObservation(obs map[string]any) error
- func (tr *PolicyAttachment) SetParameters(params map[string]any) error
- func (mg *PolicyAttachment) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PolicyAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PolicyAttachment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PolicyAttachmentInitParameters
- type PolicyAttachmentList
- type PolicyAttachmentObservation
- type PolicyAttachmentParameters
- type PolicyAttachmentSpec
- type PolicyAttachmentStatus
Constants ¶
const ( CRDGroup = "scope.boundary.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( PolicyAttachment_Kind = "PolicyAttachment" PolicyAttachment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PolicyAttachment_Kind}.String() PolicyAttachment_KindAPIVersion = PolicyAttachment_Kind + "." + CRDGroupVersion.String() PolicyAttachment_GroupVersionKind = CRDGroupVersion.WithKind(PolicyAttachment_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type PolicyAttachment ¶
type PolicyAttachment 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.policyId) || (has(self.initProvider) && has(self.initProvider.policyId))",message="spec.forProvider.policyId is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scopeId) || (has(self.initProvider) && has(self.initProvider.scopeId))",message="spec.forProvider.scopeId is a required parameter" Spec PolicyAttachmentSpec `json:"spec"` Status PolicyAttachmentStatus `json:"status,omitempty"` }
PolicyAttachment is the Schema for the PolicyAttachments API. <no value> +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,boundary}
func (*PolicyAttachment) DeepCopy ¶
func (in *PolicyAttachment) DeepCopy() *PolicyAttachment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAttachment.
func (*PolicyAttachment) DeepCopyInto ¶
func (in *PolicyAttachment) DeepCopyInto(out *PolicyAttachment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyAttachment) DeepCopyObject ¶
func (in *PolicyAttachment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PolicyAttachment) GetCondition ¶
func (mg *PolicyAttachment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PolicyAttachment.
func (*PolicyAttachment) GetConnectionDetailsMapping ¶
func (tr *PolicyAttachment) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PolicyAttachment
func (*PolicyAttachment) GetDeletionPolicy ¶
func (mg *PolicyAttachment) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PolicyAttachment.
func (*PolicyAttachment) GetID ¶
func (tr *PolicyAttachment) GetID() string
GetID returns ID of underlying Terraform resource of this PolicyAttachment
func (*PolicyAttachment) GetInitParameters ¶
func (tr *PolicyAttachment) GetInitParameters() (map[string]any, error)
GetInitParameters of this PolicyAttachment
func (*PolicyAttachment) GetManagementPolicies ¶
func (mg *PolicyAttachment) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PolicyAttachment.
func (*PolicyAttachment) GetObservation ¶
func (tr *PolicyAttachment) GetObservation() (map[string]any, error)
GetObservation of this PolicyAttachment
func (*PolicyAttachment) GetParameters ¶
func (tr *PolicyAttachment) GetParameters() (map[string]any, error)
GetParameters of this PolicyAttachment
func (*PolicyAttachment) GetProviderConfigReference ¶
func (mg *PolicyAttachment) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PolicyAttachment.
func (*PolicyAttachment) GetPublishConnectionDetailsTo ¶
func (mg *PolicyAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PolicyAttachment.
func (*PolicyAttachment) GetTerraformResourceType ¶
func (mg *PolicyAttachment) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PolicyAttachment
func (*PolicyAttachment) GetTerraformSchemaVersion ¶
func (tr *PolicyAttachment) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PolicyAttachment) GetWriteConnectionSecretToReference ¶
func (mg *PolicyAttachment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PolicyAttachment.
func (*PolicyAttachment) LateInitialize ¶
func (tr *PolicyAttachment) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PolicyAttachment using its observed tfState. returns True if there are any spec changes for the resource.
func (*PolicyAttachment) SetConditions ¶
func (mg *PolicyAttachment) SetConditions(c ...xpv1.Condition)
SetConditions of this PolicyAttachment.
func (*PolicyAttachment) SetDeletionPolicy ¶
func (mg *PolicyAttachment) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PolicyAttachment.
func (*PolicyAttachment) SetManagementPolicies ¶
func (mg *PolicyAttachment) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PolicyAttachment.
func (*PolicyAttachment) SetObservation ¶
func (tr *PolicyAttachment) SetObservation(obs map[string]any) error
SetObservation for this PolicyAttachment
func (*PolicyAttachment) SetParameters ¶
func (tr *PolicyAttachment) SetParameters(params map[string]any) error
SetParameters for this PolicyAttachment
func (*PolicyAttachment) SetProviderConfigReference ¶
func (mg *PolicyAttachment) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PolicyAttachment.
func (*PolicyAttachment) SetPublishConnectionDetailsTo ¶
func (mg *PolicyAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PolicyAttachment.
func (*PolicyAttachment) SetWriteConnectionSecretToReference ¶
func (mg *PolicyAttachment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PolicyAttachment.
type PolicyAttachmentInitParameters ¶
type PolicyAttachmentInitParameters struct { PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"` ScopeID *string `json:"scopeId,omitempty" tf:"scope_id,omitempty"` }
func (*PolicyAttachmentInitParameters) DeepCopy ¶
func (in *PolicyAttachmentInitParameters) DeepCopy() *PolicyAttachmentInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAttachmentInitParameters.
func (*PolicyAttachmentInitParameters) DeepCopyInto ¶
func (in *PolicyAttachmentInitParameters) DeepCopyInto(out *PolicyAttachmentInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyAttachmentList ¶
type PolicyAttachmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PolicyAttachment `json:"items"` }
PolicyAttachmentList contains a list of PolicyAttachments
func (*PolicyAttachmentList) DeepCopy ¶
func (in *PolicyAttachmentList) DeepCopy() *PolicyAttachmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAttachmentList.
func (*PolicyAttachmentList) DeepCopyInto ¶
func (in *PolicyAttachmentList) DeepCopyInto(out *PolicyAttachmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyAttachmentList) DeepCopyObject ¶
func (in *PolicyAttachmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PolicyAttachmentList) GetItems ¶
func (l *PolicyAttachmentList) GetItems() []resource.Managed
GetItems of this PolicyAttachmentList.
type PolicyAttachmentObservation ¶
type PolicyAttachmentObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"` ScopeID *string `json:"scopeId,omitempty" tf:"scope_id,omitempty"` }
func (*PolicyAttachmentObservation) DeepCopy ¶
func (in *PolicyAttachmentObservation) DeepCopy() *PolicyAttachmentObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAttachmentObservation.
func (*PolicyAttachmentObservation) DeepCopyInto ¶
func (in *PolicyAttachmentObservation) DeepCopyInto(out *PolicyAttachmentObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyAttachmentParameters ¶
type PolicyAttachmentParameters struct { // +kubebuilder:validation:Optional PolicyID *string `json:"policyId,omitempty" tf:"policy_id,omitempty"` // +kubebuilder:validation:Optional ScopeID *string `json:"scopeId,omitempty" tf:"scope_id,omitempty"` }
func (*PolicyAttachmentParameters) DeepCopy ¶
func (in *PolicyAttachmentParameters) DeepCopy() *PolicyAttachmentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAttachmentParameters.
func (*PolicyAttachmentParameters) DeepCopyInto ¶
func (in *PolicyAttachmentParameters) DeepCopyInto(out *PolicyAttachmentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyAttachmentSpec ¶
type PolicyAttachmentSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PolicyAttachmentParameters `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 PolicyAttachmentInitParameters `json:"initProvider,omitempty"` }
PolicyAttachmentSpec defines the desired state of PolicyAttachment
func (*PolicyAttachmentSpec) DeepCopy ¶
func (in *PolicyAttachmentSpec) DeepCopy() *PolicyAttachmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAttachmentSpec.
func (*PolicyAttachmentSpec) DeepCopyInto ¶
func (in *PolicyAttachmentSpec) DeepCopyInto(out *PolicyAttachmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyAttachmentStatus ¶
type PolicyAttachmentStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PolicyAttachmentObservation `json:"atProvider,omitempty"` }
PolicyAttachmentStatus defines the observed state of PolicyAttachment.
func (*PolicyAttachmentStatus) DeepCopy ¶
func (in *PolicyAttachmentStatus) DeepCopy() *PolicyAttachmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyAttachmentStatus.
func (*PolicyAttachmentStatus) DeepCopyInto ¶
func (in *PolicyAttachmentStatus) DeepCopyInto(out *PolicyAttachmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.