Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=devspaces.azure.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Controller
- func (in *Controller) DeepCopy() *Controller
- func (in *Controller) DeepCopyInto(out *Controller)
- func (in *Controller) DeepCopyObject() runtime.Object
- func (mg *Controller) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Controller) GetConnectionDetailsMapping() map[string]string
- func (mg *Controller) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Controller) GetID() string
- func (tr *Controller) GetObservation() (map[string]interface{}, error)
- func (tr *Controller) GetParameters() (map[string]interface{}, error)
- func (mg *Controller) GetProviderConfigReference() *xpv1.Reference
- func (mg *Controller) GetProviderReference() *xpv1.Reference
- func (mg *Controller) GetTerraformResourceType() string
- func (tr *Controller) GetTerraformSchemaVersion() int
- func (mg *Controller) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Controller) LateInitialize(attrs []byte) (bool, error)
- func (mg *Controller) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Controller) SetConditions(c ...xpv1.Condition)
- func (mg *Controller) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Controller) SetObservation(obs map[string]interface{}) error
- func (tr *Controller) SetParameters(params map[string]interface{}) error
- func (mg *Controller) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Controller) SetProviderReference(r *xpv1.Reference)
- func (mg *Controller) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ControllerList
- type ControllerObservation
- type ControllerParameters
- type ControllerSpec
- type ControllerStatus
Constants ¶
const ( CRDGroup = "devspaces.azure.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Controller_Kind = "Controller" Controller_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Controller_Kind}.String() Controller_KindAPIVersion = Controller_Kind + "." + CRDGroupVersion.String() Controller_GroupVersionKind = CRDGroupVersion.WithKind(Controller_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 Controller ¶
type Controller struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ControllerSpec `json:"spec"` Status ControllerStatus `json:"status,omitempty"` }
Controller is the Schema for the Controllers 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,azurejet}
func (*Controller) DeepCopy ¶
func (in *Controller) DeepCopy() *Controller
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Controller.
func (*Controller) DeepCopyInto ¶
func (in *Controller) DeepCopyInto(out *Controller)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Controller) DeepCopyObject ¶
func (in *Controller) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Controller) GetCondition ¶
func (mg *Controller) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Controller.
func (*Controller) GetConnectionDetailsMapping ¶
func (tr *Controller) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Controller
func (*Controller) GetDeletionPolicy ¶
func (mg *Controller) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Controller.
func (*Controller) GetID ¶
func (tr *Controller) GetID() string
GetID returns ID of underlying Terraform resource of this Controller
func (*Controller) GetObservation ¶
func (tr *Controller) GetObservation() (map[string]interface{}, error)
GetObservation of this Controller
func (*Controller) GetParameters ¶
func (tr *Controller) GetParameters() (map[string]interface{}, error)
GetParameters of this Controller
func (*Controller) GetProviderConfigReference ¶
func (mg *Controller) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Controller.
func (*Controller) GetProviderReference ¶
func (mg *Controller) GetProviderReference() *xpv1.Reference
GetProviderReference of this Controller. Deprecated: Use GetProviderConfigReference.
func (*Controller) GetTerraformResourceType ¶
func (mg *Controller) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Controller
func (*Controller) GetTerraformSchemaVersion ¶
func (tr *Controller) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Controller) GetWriteConnectionSecretToReference ¶
func (mg *Controller) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Controller.
func (*Controller) LateInitialize ¶
func (tr *Controller) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Controller using its observed tfState. returns True if there are any spec changes for the resource.
func (*Controller) ResolveReferences ¶
ResolveReferences of this Controller.
func (*Controller) SetConditions ¶
func (mg *Controller) SetConditions(c ...xpv1.Condition)
SetConditions of this Controller.
func (*Controller) SetDeletionPolicy ¶
func (mg *Controller) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Controller.
func (*Controller) SetObservation ¶
func (tr *Controller) SetObservation(obs map[string]interface{}) error
SetObservation for this Controller
func (*Controller) SetParameters ¶
func (tr *Controller) SetParameters(params map[string]interface{}) error
SetParameters for this Controller
func (*Controller) SetProviderConfigReference ¶
func (mg *Controller) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Controller.
func (*Controller) SetProviderReference ¶
func (mg *Controller) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Controller. Deprecated: Use SetProviderConfigReference.
func (*Controller) SetWriteConnectionSecretToReference ¶
func (mg *Controller) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Controller.
type ControllerList ¶
type ControllerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Controller `json:"items"` }
ControllerList contains a list of Controllers
func (*ControllerList) DeepCopy ¶
func (in *ControllerList) DeepCopy() *ControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerList.
func (*ControllerList) DeepCopyInto ¶
func (in *ControllerList) DeepCopyInto(out *ControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerList) DeepCopyObject ¶
func (in *ControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ControllerList) GetItems ¶
func (l *ControllerList) GetItems() []resource.Managed
GetItems of this ControllerList.
type ControllerObservation ¶
type ControllerObservation struct { DataPlaneFqdn *string `json:"dataPlaneFqdn,omitempty" tf:"data_plane_fqdn,omitempty"` HostSuffix *string `json:"hostSuffix,omitempty" tf:"host_suffix,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` }
func (*ControllerObservation) DeepCopy ¶
func (in *ControllerObservation) DeepCopy() *ControllerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerObservation.
func (*ControllerObservation) DeepCopyInto ¶
func (in *ControllerObservation) DeepCopyInto(out *ControllerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerParameters ¶
type ControllerParameters struct { // +kubebuilder:validation:Required Location *string `json:"location" tf:"location,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-jet-azure/apis/azure/v1alpha2.ResourceGroup // +kubebuilder:validation:Optional ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name,omitempty"` // +kubebuilder:validation:Optional ResourceGroupNameRef *v1.Reference `json:"resourceGroupNameRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional ResourceGroupNameSelector *v1.Selector `json:"resourceGroupNameSelector,omitempty" tf:"-"` // +kubebuilder:validation:Required SkuName *string `json:"skuName" tf:"sku_name,omitempty"` // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // +kubebuilder:validation:Required TargetContainerHostCredentialsBase64SecretRef v1.SecretKeySelector `json:"targetContainerHostCredentialsBase64SecretRef" tf:"-"` // +kubebuilder:validation:Required TargetContainerHostResourceID *string `json:"targetContainerHostResourceId" tf:"target_container_host_resource_id,omitempty"` }
func (*ControllerParameters) DeepCopy ¶
func (in *ControllerParameters) DeepCopy() *ControllerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerParameters.
func (*ControllerParameters) DeepCopyInto ¶
func (in *ControllerParameters) DeepCopyInto(out *ControllerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerSpec ¶
type ControllerSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ControllerParameters `json:"forProvider"` }
ControllerSpec defines the desired state of Controller
func (*ControllerSpec) DeepCopy ¶
func (in *ControllerSpec) DeepCopy() *ControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerSpec.
func (*ControllerSpec) DeepCopyInto ¶
func (in *ControllerSpec) DeepCopyInto(out *ControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerStatus ¶
type ControllerStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ControllerObservation `json:"atProvider,omitempty"` }
ControllerStatus defines the observed state of Controller.
func (*ControllerStatus) DeepCopy ¶
func (in *ControllerStatus) DeepCopy() *ControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatus.
func (*ControllerStatus) DeepCopyInto ¶
func (in *ControllerStatus) DeepCopyInto(out *ControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.