Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=billing.yandex-cloud.upjet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type CloudBinding
- func (in *CloudBinding) DeepCopy() *CloudBinding
- func (in *CloudBinding) DeepCopyInto(out *CloudBinding)
- func (in *CloudBinding) DeepCopyObject() runtime.Object
- func (mg *CloudBinding) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *CloudBinding) GetConnectionDetailsMapping() map[string]string
- func (mg *CloudBinding) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *CloudBinding) GetID() string
- func (tr *CloudBinding) GetInitParameters() (map[string]any, error)
- func (mg *CloudBinding) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *CloudBinding) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *CloudBinding) GetObservation() (map[string]any, error)
- func (tr *CloudBinding) GetParameters() (map[string]any, error)
- func (mg *CloudBinding) GetProviderConfigReference() *xpv1.Reference
- func (mg *CloudBinding) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *CloudBinding) GetTerraformResourceType() string
- func (tr *CloudBinding) GetTerraformSchemaVersion() int
- func (mg *CloudBinding) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *CloudBinding) Hub()
- func (tr *CloudBinding) LateInitialize(attrs []byte) (bool, error)
- func (mg *CloudBinding) SetConditions(c ...xpv1.Condition)
- func (mg *CloudBinding) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *CloudBinding) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *CloudBinding) SetObservation(obs map[string]any) error
- func (tr *CloudBinding) SetParameters(params map[string]any) error
- func (mg *CloudBinding) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *CloudBinding) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *CloudBinding) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type CloudBindingInitParameters
- type CloudBindingList
- type CloudBindingObservation
- type CloudBindingParameters
- type CloudBindingSpec
- type CloudBindingStatus
Constants ¶
const ( CRDGroup = "billing.yandex-cloud.upjet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( CloudBinding_Kind = "CloudBinding" CloudBinding_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: CloudBinding_Kind}.String() CloudBinding_KindAPIVersion = CloudBinding_Kind + "." + CRDGroupVersion.String() CloudBinding_GroupVersionKind = CRDGroupVersion.WithKind(CloudBinding_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 CloudBinding ¶
type CloudBinding 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.billingAccountId) || (has(self.initProvider) && has(self.initProvider.billingAccountId))",message="spec.forProvider.billingAccountId is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cloudId) || (has(self.initProvider) && has(self.initProvider.cloudId))",message="spec.forProvider.cloudId is a required parameter" Spec CloudBindingSpec `json:"spec"` Status CloudBindingStatus `json:"status,omitempty"` }
CloudBinding is the Schema for the CloudBindings API. Bind cloud to billing account. +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,yandex-cloud}
func (*CloudBinding) DeepCopy ¶
func (in *CloudBinding) DeepCopy() *CloudBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBinding.
func (*CloudBinding) DeepCopyInto ¶
func (in *CloudBinding) DeepCopyInto(out *CloudBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudBinding) DeepCopyObject ¶
func (in *CloudBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CloudBinding) GetCondition ¶
func (mg *CloudBinding) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this CloudBinding.
func (*CloudBinding) GetConnectionDetailsMapping ¶
func (tr *CloudBinding) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this CloudBinding
func (*CloudBinding) GetDeletionPolicy ¶
func (mg *CloudBinding) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this CloudBinding.
func (*CloudBinding) GetID ¶
func (tr *CloudBinding) GetID() string
GetID returns ID of underlying Terraform resource of this CloudBinding
func (*CloudBinding) GetInitParameters ¶
func (tr *CloudBinding) GetInitParameters() (map[string]any, error)
GetInitParameters of this CloudBinding
func (*CloudBinding) GetManagementPolicies ¶
func (mg *CloudBinding) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this CloudBinding.
func (*CloudBinding) GetMergedParameters ¶
func (tr *CloudBinding) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this CloudBinding
func (*CloudBinding) GetObservation ¶
func (tr *CloudBinding) GetObservation() (map[string]any, error)
GetObservation of this CloudBinding
func (*CloudBinding) GetParameters ¶
func (tr *CloudBinding) GetParameters() (map[string]any, error)
GetParameters of this CloudBinding
func (*CloudBinding) GetProviderConfigReference ¶
func (mg *CloudBinding) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this CloudBinding.
func (*CloudBinding) GetPublishConnectionDetailsTo ¶
func (mg *CloudBinding) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this CloudBinding.
func (*CloudBinding) GetTerraformResourceType ¶
func (mg *CloudBinding) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this CloudBinding
func (*CloudBinding) GetTerraformSchemaVersion ¶
func (tr *CloudBinding) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*CloudBinding) GetWriteConnectionSecretToReference ¶
func (mg *CloudBinding) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this CloudBinding.
func (*CloudBinding) LateInitialize ¶
func (tr *CloudBinding) LateInitialize(attrs []byte) (bool, error)
LateInitialize this CloudBinding using its observed tfState. returns True if there are any spec changes for the resource.
func (*CloudBinding) SetConditions ¶
func (mg *CloudBinding) SetConditions(c ...xpv1.Condition)
SetConditions of this CloudBinding.
func (*CloudBinding) SetDeletionPolicy ¶
func (mg *CloudBinding) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this CloudBinding.
func (*CloudBinding) SetManagementPolicies ¶
func (mg *CloudBinding) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this CloudBinding.
func (*CloudBinding) SetObservation ¶
func (tr *CloudBinding) SetObservation(obs map[string]any) error
SetObservation for this CloudBinding
func (*CloudBinding) SetParameters ¶
func (tr *CloudBinding) SetParameters(params map[string]any) error
SetParameters for this CloudBinding
func (*CloudBinding) SetProviderConfigReference ¶
func (mg *CloudBinding) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this CloudBinding.
func (*CloudBinding) SetPublishConnectionDetailsTo ¶
func (mg *CloudBinding) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this CloudBinding.
func (*CloudBinding) SetWriteConnectionSecretToReference ¶
func (mg *CloudBinding) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this CloudBinding.
type CloudBindingInitParameters ¶
type CloudBindingInitParameters struct { // ID of billing account to bind cloud to. BillingAccountID *string `json:"billingAccountId,omitempty" tf:"billing_account_id,omitempty"` // ID of cloud to bind. CloudID *string `json:"cloudId,omitempty" tf:"cloud_id,omitempty"` }
func (*CloudBindingInitParameters) DeepCopy ¶
func (in *CloudBindingInitParameters) DeepCopy() *CloudBindingInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBindingInitParameters.
func (*CloudBindingInitParameters) DeepCopyInto ¶
func (in *CloudBindingInitParameters) DeepCopyInto(out *CloudBindingInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudBindingList ¶
type CloudBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CloudBinding `json:"items"` }
CloudBindingList contains a list of CloudBindings
func (*CloudBindingList) DeepCopy ¶
func (in *CloudBindingList) DeepCopy() *CloudBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBindingList.
func (*CloudBindingList) DeepCopyInto ¶
func (in *CloudBindingList) DeepCopyInto(out *CloudBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudBindingList) DeepCopyObject ¶
func (in *CloudBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CloudBindingList) GetItems ¶
func (l *CloudBindingList) GetItems() []resource.Managed
GetItems of this CloudBindingList.
type CloudBindingObservation ¶
type CloudBindingObservation struct { // ID of billing account to bind cloud to. BillingAccountID *string `json:"billingAccountId,omitempty" tf:"billing_account_id,omitempty"` // ID of cloud to bind. CloudID *string `json:"cloudId,omitempty" tf:"cloud_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` }
func (*CloudBindingObservation) DeepCopy ¶
func (in *CloudBindingObservation) DeepCopy() *CloudBindingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBindingObservation.
func (*CloudBindingObservation) DeepCopyInto ¶
func (in *CloudBindingObservation) DeepCopyInto(out *CloudBindingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudBindingParameters ¶
type CloudBindingParameters struct { // ID of billing account to bind cloud to. // +kubebuilder:validation:Optional BillingAccountID *string `json:"billingAccountId,omitempty" tf:"billing_account_id,omitempty"` // ID of cloud to bind. // +kubebuilder:validation:Optional CloudID *string `json:"cloudId,omitempty" tf:"cloud_id,omitempty"` }
func (*CloudBindingParameters) DeepCopy ¶
func (in *CloudBindingParameters) DeepCopy() *CloudBindingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBindingParameters.
func (*CloudBindingParameters) DeepCopyInto ¶
func (in *CloudBindingParameters) DeepCopyInto(out *CloudBindingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudBindingSpec ¶
type CloudBindingSpec struct { v1.ResourceSpec `json:",inline"` ForProvider CloudBindingParameters `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 CloudBindingInitParameters `json:"initProvider,omitempty"` }
CloudBindingSpec defines the desired state of CloudBinding
func (*CloudBindingSpec) DeepCopy ¶
func (in *CloudBindingSpec) DeepCopy() *CloudBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBindingSpec.
func (*CloudBindingSpec) DeepCopyInto ¶
func (in *CloudBindingSpec) DeepCopyInto(out *CloudBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudBindingStatus ¶
type CloudBindingStatus struct { v1.ResourceStatus `json:",inline"` AtProvider CloudBindingObservation `json:"atProvider,omitempty"` }
CloudBindingStatus defines the observed state of CloudBinding.
func (*CloudBindingStatus) DeepCopy ¶
func (in *CloudBindingStatus) DeepCopy() *CloudBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudBindingStatus.
func (*CloudBindingStatus) DeepCopyInto ¶
func (in *CloudBindingStatus) DeepCopyInto(out *CloudBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.