Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=organization.taikun.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Organization
- func (in *Organization) DeepCopy() *Organization
- func (in *Organization) DeepCopyInto(out *Organization)
- func (in *Organization) DeepCopyObject() runtime.Object
- func (mg *Organization) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Organization) GetConnectionDetailsMapping() map[string]string
- func (mg *Organization) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Organization) GetID() string
- func (tr *Organization) GetObservation() (map[string]any, error)
- func (tr *Organization) GetParameters() (map[string]any, error)
- func (mg *Organization) GetProviderConfigReference() *xpv1.Reference
- func (mg *Organization) GetProviderReference() *xpv1.Reference
- func (mg *Organization) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Organization) GetTerraformResourceType() string
- func (tr *Organization) GetTerraformSchemaVersion() int
- func (mg *Organization) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Organization) LateInitialize(attrs []byte) (bool, error)
- func (mg *Organization) SetConditions(c ...xpv1.Condition)
- func (mg *Organization) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Organization) SetObservation(obs map[string]any) error
- func (tr *Organization) SetParameters(params map[string]any) error
- func (mg *Organization) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Organization) SetProviderReference(r *xpv1.Reference)
- func (mg *Organization) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Organization) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type OrganizationList
- type OrganizationObservation
- type OrganizationParameters
- type OrganizationSpec
- type OrganizationStatus
Constants ¶
const ( CRDGroup = "organization.taikun.jet.crossplane.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 ( Organization_Kind = "Organization" Organization_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Organization_Kind}.String() Organization_KindAPIVersion = Organization_Kind + "." + CRDGroupVersion.String() Organization_GroupVersionKind = CRDGroupVersion.WithKind(Organization_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Organization ¶
type Organization struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OrganizationSpec `json:"spec"` Status OrganizationStatus `json:"status,omitempty"` }
Organization is the Schema for the Organizations 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,taikunjet}
func (*Organization) DeepCopy ¶
func (in *Organization) DeepCopy() *Organization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Organization.
func (*Organization) DeepCopyInto ¶
func (in *Organization) DeepCopyInto(out *Organization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Organization) DeepCopyObject ¶
func (in *Organization) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Organization) GetCondition ¶
func (mg *Organization) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Organization.
func (*Organization) GetConnectionDetailsMapping ¶
func (tr *Organization) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Organization
func (*Organization) GetDeletionPolicy ¶
func (mg *Organization) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Organization.
func (*Organization) GetID ¶
func (tr *Organization) GetID() string
GetID returns ID of underlying Terraform resource of this Organization
func (*Organization) GetObservation ¶
func (tr *Organization) GetObservation() (map[string]any, error)
GetObservation of this Organization
func (*Organization) GetParameters ¶
func (tr *Organization) GetParameters() (map[string]any, error)
GetParameters of this Organization
func (*Organization) GetProviderConfigReference ¶
func (mg *Organization) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Organization.
func (*Organization) GetProviderReference ¶
func (mg *Organization) GetProviderReference() *xpv1.Reference
GetProviderReference of this Organization. Deprecated: Use GetProviderConfigReference.
func (*Organization) GetPublishConnectionDetailsTo ¶
func (mg *Organization) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Organization.
func (*Organization) GetTerraformResourceType ¶
func (mg *Organization) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Organization
func (*Organization) GetTerraformSchemaVersion ¶
func (tr *Organization) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Organization) GetWriteConnectionSecretToReference ¶
func (mg *Organization) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Organization.
func (*Organization) LateInitialize ¶
func (tr *Organization) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Organization using its observed tfState. returns True if there are any spec changes for the resource.
func (*Organization) SetConditions ¶
func (mg *Organization) SetConditions(c ...xpv1.Condition)
SetConditions of this Organization.
func (*Organization) SetDeletionPolicy ¶
func (mg *Organization) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Organization.
func (*Organization) SetObservation ¶
func (tr *Organization) SetObservation(obs map[string]any) error
SetObservation for this Organization
func (*Organization) SetParameters ¶
func (tr *Organization) SetParameters(params map[string]any) error
SetParameters for this Organization
func (*Organization) SetProviderConfigReference ¶
func (mg *Organization) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Organization.
func (*Organization) SetProviderReference ¶
func (mg *Organization) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Organization. Deprecated: Use SetProviderConfigReference.
func (*Organization) SetPublishConnectionDetailsTo ¶
func (mg *Organization) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Organization.
func (*Organization) SetWriteConnectionSecretToReference ¶
func (mg *Organization) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Organization.
type OrganizationList ¶
type OrganizationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Organization `json:"items"` }
OrganizationList contains a list of Organizations
func (*OrganizationList) DeepCopy ¶
func (in *OrganizationList) DeepCopy() *OrganizationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationList.
func (*OrganizationList) DeepCopyInto ¶
func (in *OrganizationList) DeepCopyInto(out *OrganizationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrganizationList) DeepCopyObject ¶
func (in *OrganizationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OrganizationList) GetItems ¶
func (l *OrganizationList) GetItems() []resource.Managed
GetItems of this OrganizationList.
type OrganizationObservation ¶
type OrganizationObservation struct { // Time and date of creation. CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Whether the organization is in read-only mode. IsReadOnly *bool `json:"isReadOnly,omitempty" tf:"is_read_only,omitempty"` // ID of the organization's partner. PartnerID *string `json:"partnerId,omitempty" tf:"partner_id,omitempty"` // Name of the organization's partner. PartnerName *string `json:"partnerName,omitempty" tf:"partner_name,omitempty"` }
func (*OrganizationObservation) DeepCopy ¶
func (in *OrganizationObservation) DeepCopy() *OrganizationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationObservation.
func (*OrganizationObservation) DeepCopyInto ¶
func (in *OrganizationObservation) DeepCopyInto(out *OrganizationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationParameters ¶
type OrganizationParameters struct { // Address. // +kubebuilder:validation:Optional Address *string `json:"address,omitempty" tf:"address,omitempty"` // Billing email. // +kubebuilder:validation:Optional BillingEmail *string `json:"billingEmail,omitempty" tf:"billing_email,omitempty"` // City. // +kubebuilder:validation:Optional City *string `json:"city,omitempty" tf:"city,omitempty"` // Country. // +kubebuilder:validation:Optional Country *string `json:"country,omitempty" tf:"country,omitempty"` // Discount rate, must be between 0 and 100 (included). Defaults to `100`. // +kubebuilder:validation:Optional DiscountRate *float64 `json:"discountRate,omitempty" tf:"discount_rate,omitempty"` // Email. // +kubebuilder:validation:Optional Email *string `json:"email,omitempty" tf:"email,omitempty"` // Full name. // +kubebuilder:validation:Required FullName *string `json:"fullName" tf:"full_name,omitempty"` // Indicates whether to lock the organization. Defaults to `false`. // +kubebuilder:validation:Optional Lock *bool `json:"lock,omitempty" tf:"lock,omitempty"` // Allow subscription to be changed by managers. Defaults to `true`. // +kubebuilder:validation:Optional ManagersCanChangeSubscription *bool `json:"managersCanChangeSubscription,omitempty" tf:"managers_can_change_subscription,omitempty"` // Organization's name. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Phone number. // +kubebuilder:validation:Optional Phone *string `json:"phone,omitempty" tf:"phone,omitempty"` // VAT number. // +kubebuilder:validation:Optional VatNumber *string `json:"vatNumber,omitempty" tf:"vat_number,omitempty"` }
func (*OrganizationParameters) DeepCopy ¶
func (in *OrganizationParameters) DeepCopy() *OrganizationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationParameters.
func (*OrganizationParameters) DeepCopyInto ¶
func (in *OrganizationParameters) DeepCopyInto(out *OrganizationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationSpec ¶
type OrganizationSpec struct { v1.ResourceSpec `json:",inline"` ForProvider OrganizationParameters `json:"forProvider"` }
OrganizationSpec defines the desired state of Organization
func (*OrganizationSpec) DeepCopy ¶
func (in *OrganizationSpec) DeepCopy() *OrganizationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationSpec.
func (*OrganizationSpec) DeepCopyInto ¶
func (in *OrganizationSpec) DeepCopyInto(out *OrganizationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationStatus ¶
type OrganizationStatus struct { v1.ResourceStatus `json:",inline"` AtProvider OrganizationObservation `json:"atProvider,omitempty"` }
OrganizationStatus defines the observed state of Organization.
func (*OrganizationStatus) DeepCopy ¶
func (in *OrganizationStatus) DeepCopy() *OrganizationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationStatus.
func (*OrganizationStatus) DeepCopyInto ¶
func (in *OrganizationStatus) DeepCopyInto(out *OrganizationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.