Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=project.digitalocean.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Project
- func (in *Project) DeepCopy() *Project
- func (in *Project) DeepCopyInto(out *Project)
- func (in *Project) DeepCopyObject() runtime.Object
- func (mg *Project) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Project) GetConnectionDetailsMapping() map[string]string
- func (mg *Project) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Project) GetID() string
- func (tr *Project) GetInitParameters() (map[string]any, error)
- func (mg *Project) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Project) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Project) GetObservation() (map[string]any, error)
- func (tr *Project) GetParameters() (map[string]any, error)
- func (mg *Project) GetProviderConfigReference() *xpv1.Reference
- func (mg *Project) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Project) GetTerraformResourceType() string
- func (tr *Project) GetTerraformSchemaVersion() int
- func (mg *Project) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Project) Hub()
- func (tr *Project) LateInitialize(attrs []byte) (bool, error)
- func (mg *Project) SetConditions(c ...xpv1.Condition)
- func (mg *Project) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Project) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Project) SetObservation(obs map[string]any) error
- func (tr *Project) SetParameters(params map[string]any) error
- func (mg *Project) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Project) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Project) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ProjectInitParameters
- type ProjectList
- type ProjectObservation
- type ProjectParameters
- type ProjectSpec
- type ProjectStatus
- type Resources
- func (in *Resources) DeepCopy() *Resources
- func (in *Resources) DeepCopyInto(out *Resources)
- func (in *Resources) DeepCopyObject() runtime.Object
- func (mg *Resources) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Resources) GetConnectionDetailsMapping() map[string]string
- func (mg *Resources) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Resources) GetID() string
- func (tr *Resources) GetInitParameters() (map[string]any, error)
- func (mg *Resources) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Resources) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Resources) GetObservation() (map[string]any, error)
- func (tr *Resources) GetParameters() (map[string]any, error)
- func (mg *Resources) GetProviderConfigReference() *xpv1.Reference
- func (mg *Resources) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Resources) GetTerraformResourceType() string
- func (tr *Resources) GetTerraformSchemaVersion() int
- func (mg *Resources) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Resources) Hub()
- func (tr *Resources) LateInitialize(attrs []byte) (bool, error)
- func (mg *Resources) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Resources) SetConditions(c ...xpv1.Condition)
- func (mg *Resources) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Resources) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Resources) SetObservation(obs map[string]any) error
- func (tr *Resources) SetParameters(params map[string]any) error
- func (mg *Resources) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Resources) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Resources) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ResourcesInitParameters
- type ResourcesList
- type ResourcesObservation
- type ResourcesParameters
- type ResourcesSpec
- type ResourcesStatus
Constants ¶
const ( CRDGroup = "project.digitalocean.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 ( Project_Kind = "Project" Project_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Project_Kind}.String() Project_KindAPIVersion = Project_Kind + "." + CRDGroupVersion.String() Project_GroupVersionKind = CRDGroupVersion.WithKind(Project_Kind) )
Repository type metadata.
var ( Resources_Kind = "Resources" Resources_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Resources_Kind}.String() Resources_KindAPIVersion = Resources_Kind + "." + CRDGroupVersion.String() Resources_GroupVersionKind = CRDGroupVersion.WithKind(Resources_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project 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.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ProjectSpec `json:"spec"` Status ProjectStatus `json:"status,omitempty"` }
Project is the Schema for the Projects 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,do}
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Project) GetCondition ¶
func (mg *Project) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Project.
func (*Project) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Project
func (*Project) GetDeletionPolicy ¶
func (mg *Project) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Project.
func (*Project) GetInitParameters ¶
GetInitParameters of this Project
func (*Project) GetManagementPolicies ¶
func (mg *Project) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Project.
func (*Project) GetMergedParameters ¶ added in v0.2.0
GetInitParameters of this Project
func (*Project) GetObservation ¶
GetObservation of this Project
func (*Project) GetParameters ¶
GetParameters of this Project
func (*Project) GetProviderConfigReference ¶
GetProviderConfigReference of this Project.
func (*Project) GetPublishConnectionDetailsTo ¶
func (mg *Project) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Project.
func (*Project) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Project
func (*Project) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Project) GetWriteConnectionSecretToReference ¶
func (mg *Project) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Project.
func (*Project) Hub ¶ added in v0.2.0
func (tr *Project) Hub()
Hub marks this type as a conversion hub.
func (*Project) LateInitialize ¶
LateInitialize this Project using its observed tfState. returns True if there are any spec changes for the resource.
func (*Project) SetConditions ¶
SetConditions of this Project.
func (*Project) SetDeletionPolicy ¶
func (mg *Project) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Project.
func (*Project) SetManagementPolicies ¶
func (mg *Project) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Project.
func (*Project) SetObservation ¶
SetObservation for this Project
func (*Project) SetParameters ¶
SetParameters for this Project
func (*Project) SetProviderConfigReference ¶
SetProviderConfigReference of this Project.
func (*Project) SetPublishConnectionDetailsTo ¶
func (mg *Project) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Project.
func (*Project) SetWriteConnectionSecretToReference ¶
func (mg *Project) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Project.
type ProjectInitParameters ¶
type ProjectInitParameters struct { // the description of the project // the description of the project Description *string `json:"description,omitempty" tf:"description,omitempty"` // the environment of the project's resources. The possible values are: Development, Staging, Production) // the environment of the project's resources Environment *string `json:"environment,omitempty" tf:"environment,omitempty"` // a boolean indicating whether or not the project is the default project. (Default: "false") // determine if the project is the default or not. IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"` // The name of the Project // the human-readable name for the project Name *string `json:"name,omitempty" tf:"name,omitempty"` // the purpose of the project, (Default: "Web Application") // the purpose of the project Purpose *string `json:"purpose,omitempty" tf:"purpose,omitempty"` // a list of uniform resource names (URNs) for the resources associated with the project // the resources associated with the project // +listType=set Resources []*string `json:"resources,omitempty" tf:"resources,omitempty"` }
func (*ProjectInitParameters) DeepCopy ¶
func (in *ProjectInitParameters) DeepCopy() *ProjectInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectInitParameters.
func (*ProjectInitParameters) DeepCopyInto ¶
func (in *ProjectInitParameters) DeepCopyInto(out *ProjectInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectList ¶
type ProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Project `json:"items"` }
ProjectList contains a list of Projects
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectList) GetItems ¶
func (l *ProjectList) GetItems() []resource.Managed
GetItems of this ProjectList.
type ProjectObservation ¶
type ProjectObservation struct { // the date and time when the project was created, (ISO8601) // the date and time when the project was created, (ISO8601) CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"` // the description of the project // the description of the project Description *string `json:"description,omitempty" tf:"description,omitempty"` // the environment of the project's resources. The possible values are: Development, Staging, Production) // the environment of the project's resources Environment *string `json:"environment,omitempty" tf:"environment,omitempty"` // The id of the project ID *string `json:"id,omitempty" tf:"id,omitempty"` // a boolean indicating whether or not the project is the default project. (Default: "false") // determine if the project is the default or not. IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"` // The name of the Project // the human-readable name for the project Name *string `json:"name,omitempty" tf:"name,omitempty"` // the id of the project owner. // the id of the project owner. OwnerID *float64 `json:"ownerId,omitempty" tf:"owner_id,omitempty"` // the unique universal identifier of the project owner. // the unique universal identifier of the project owner. OwnerUUID *string `json:"ownerUuid,omitempty" tf:"owner_uuid,omitempty"` // the purpose of the project, (Default: "Web Application") // the purpose of the project Purpose *string `json:"purpose,omitempty" tf:"purpose,omitempty"` // a list of uniform resource names (URNs) for the resources associated with the project // the resources associated with the project // +listType=set Resources []*string `json:"resources,omitempty" tf:"resources,omitempty"` // the date and time when the project was last updated, (ISO8601) // the date and time when the project was last updated, (ISO8601) UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"` }
func (*ProjectObservation) DeepCopy ¶
func (in *ProjectObservation) DeepCopy() *ProjectObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectObservation.
func (*ProjectObservation) DeepCopyInto ¶
func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectParameters ¶
type ProjectParameters struct { // the description of the project // the description of the project // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // the environment of the project's resources. The possible values are: Development, Staging, Production) // the environment of the project's resources // +kubebuilder:validation:Optional Environment *string `json:"environment,omitempty" tf:"environment,omitempty"` // a boolean indicating whether or not the project is the default project. (Default: "false") // determine if the project is the default or not. // +kubebuilder:validation:Optional IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"` // The name of the Project // the human-readable name for the project // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // the purpose of the project, (Default: "Web Application") // the purpose of the project // +kubebuilder:validation:Optional Purpose *string `json:"purpose,omitempty" tf:"purpose,omitempty"` // a list of uniform resource names (URNs) for the resources associated with the project // the resources associated with the project // +kubebuilder:validation:Optional // +listType=set Resources []*string `json:"resources,omitempty" tf:"resources,omitempty"` }
func (*ProjectParameters) DeepCopy ¶
func (in *ProjectParameters) DeepCopy() *ProjectParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectParameters.
func (*ProjectParameters) DeepCopyInto ¶
func (in *ProjectParameters) DeepCopyInto(out *ProjectParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectSpec ¶
type ProjectSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ProjectParameters `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 ProjectInitParameters `json:"initProvider,omitempty"` }
ProjectSpec defines the desired state of Project
func (*ProjectSpec) DeepCopy ¶
func (in *ProjectSpec) DeepCopy() *ProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
func (*ProjectSpec) DeepCopyInto ¶
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectStatus ¶
type ProjectStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ProjectObservation `json:"atProvider,omitempty"` }
ProjectStatus defines the observed state of Project.
func (*ProjectStatus) DeepCopy ¶
func (in *ProjectStatus) DeepCopy() *ProjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectStatus.
func (*ProjectStatus) DeepCopyInto ¶
func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
type Resources 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.resources) || (has(self.initProvider) && has(self.initProvider.resources))",message="spec.forProvider.resources is a required parameter" Spec ResourcesSpec `json:"spec"` Status ResourcesStatus `json:"status,omitempty"` }
Resources is the Schema for the Resourcess 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,do}
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Resources) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Resources) GetCondition ¶
func (mg *Resources) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Resources.
func (*Resources) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Resources
func (*Resources) GetDeletionPolicy ¶
func (mg *Resources) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Resources.
func (*Resources) GetInitParameters ¶
GetInitParameters of this Resources
func (*Resources) GetManagementPolicies ¶
func (mg *Resources) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Resources.
func (*Resources) GetMergedParameters ¶ added in v0.2.0
GetInitParameters of this Resources
func (*Resources) GetObservation ¶
GetObservation of this Resources
func (*Resources) GetParameters ¶
GetParameters of this Resources
func (*Resources) GetProviderConfigReference ¶
GetProviderConfigReference of this Resources.
func (*Resources) GetPublishConnectionDetailsTo ¶
func (mg *Resources) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Resources.
func (*Resources) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Resources
func (*Resources) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Resources) GetWriteConnectionSecretToReference ¶
func (mg *Resources) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Resources.
func (*Resources) Hub ¶ added in v0.2.0
func (tr *Resources) Hub()
Hub marks this type as a conversion hub.
func (*Resources) LateInitialize ¶
LateInitialize this Resources using its observed tfState. returns True if there are any spec changes for the resource.
func (*Resources) ResolveReferences ¶
ResolveReferences of this Resources.
func (*Resources) SetConditions ¶
SetConditions of this Resources.
func (*Resources) SetDeletionPolicy ¶
func (mg *Resources) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Resources.
func (*Resources) SetManagementPolicies ¶
func (mg *Resources) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Resources.
func (*Resources) SetObservation ¶
SetObservation for this Resources
func (*Resources) SetParameters ¶
SetParameters for this Resources
func (*Resources) SetProviderConfigReference ¶
SetProviderConfigReference of this Resources.
func (*Resources) SetPublishConnectionDetailsTo ¶
func (mg *Resources) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Resources.
func (*Resources) SetWriteConnectionSecretToReference ¶
func (mg *Resources) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Resources.
type ResourcesInitParameters ¶
type ResourcesInitParameters struct { // the ID of the project // project ID // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/project/v1alpha1.Project Project *string `json:"project,omitempty" tf:"project,omitempty"` // Reference to a Project in project to populate project. // +kubebuilder:validation:Optional ProjectRef *v1.Reference `json:"projectRef,omitempty" tf:"-"` // Selector for a Project in project to populate project. // +kubebuilder:validation:Optional ProjectSelector *v1.Selector `json:"projectSelector,omitempty" tf:"-"` // a list of uniform resource names (URNs) for the resources associated with the project // the resources associated with the project // +listType=set Resources []*string `json:"resources,omitempty" tf:"resources,omitempty"` }
func (*ResourcesInitParameters) DeepCopy ¶
func (in *ResourcesInitParameters) DeepCopy() *ResourcesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesInitParameters.
func (*ResourcesInitParameters) DeepCopyInto ¶
func (in *ResourcesInitParameters) DeepCopyInto(out *ResourcesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesList ¶
type ResourcesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Resources `json:"items"` }
ResourcesList contains a list of Resourcess
func (*ResourcesList) DeepCopy ¶
func (in *ResourcesList) DeepCopy() *ResourcesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesList.
func (*ResourcesList) DeepCopyInto ¶
func (in *ResourcesList) DeepCopyInto(out *ResourcesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourcesList) DeepCopyObject ¶
func (in *ResourcesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ResourcesList) GetItems ¶
func (l *ResourcesList) GetItems() []resource.Managed
GetItems of this ResourcesList.
type ResourcesObservation ¶
type ResourcesObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // the ID of the project // project ID Project *string `json:"project,omitempty" tf:"project,omitempty"` // a list of uniform resource names (URNs) for the resources associated with the project // the resources associated with the project // +listType=set Resources []*string `json:"resources,omitempty" tf:"resources,omitempty"` }
func (*ResourcesObservation) DeepCopy ¶
func (in *ResourcesObservation) DeepCopy() *ResourcesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesObservation.
func (*ResourcesObservation) DeepCopyInto ¶
func (in *ResourcesObservation) DeepCopyInto(out *ResourcesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesParameters ¶
type ResourcesParameters struct { // the ID of the project // project ID // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/project/v1alpha1.Project // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // Reference to a Project in project to populate project. // +kubebuilder:validation:Optional ProjectRef *v1.Reference `json:"projectRef,omitempty" tf:"-"` // Selector for a Project in project to populate project. // +kubebuilder:validation:Optional ProjectSelector *v1.Selector `json:"projectSelector,omitempty" tf:"-"` // a list of uniform resource names (URNs) for the resources associated with the project // the resources associated with the project // +kubebuilder:validation:Optional // +listType=set Resources []*string `json:"resources,omitempty" tf:"resources,omitempty"` }
func (*ResourcesParameters) DeepCopy ¶
func (in *ResourcesParameters) DeepCopy() *ResourcesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesParameters.
func (*ResourcesParameters) DeepCopyInto ¶
func (in *ResourcesParameters) DeepCopyInto(out *ResourcesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesSpec ¶
type ResourcesSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ResourcesParameters `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 ResourcesInitParameters `json:"initProvider,omitempty"` }
ResourcesSpec defines the desired state of Resources
func (*ResourcesSpec) DeepCopy ¶
func (in *ResourcesSpec) DeepCopy() *ResourcesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesSpec.
func (*ResourcesSpec) DeepCopyInto ¶
func (in *ResourcesSpec) DeepCopyInto(out *ResourcesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesStatus ¶
type ResourcesStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ResourcesObservation `json:"atProvider,omitempty"` }
ResourcesStatus defines the observed state of Resources.
func (*ResourcesStatus) DeepCopy ¶
func (in *ResourcesStatus) DeepCopy() *ResourcesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesStatus.
func (*ResourcesStatus) DeepCopyInto ¶
func (in *ResourcesStatus) DeepCopyInto(out *ResourcesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.