Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=registry.scaleway.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type RegistryNamespace
- func (in *RegistryNamespace) DeepCopy() *RegistryNamespace
- func (in *RegistryNamespace) DeepCopyInto(out *RegistryNamespace)
- func (in *RegistryNamespace) DeepCopyObject() runtime.Object
- func (mg *RegistryNamespace) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *RegistryNamespace) GetConnectionDetailsMapping() map[string]string
- func (mg *RegistryNamespace) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *RegistryNamespace) GetID() string
- func (tr *RegistryNamespace) GetInitParameters() (map[string]any, error)
- func (mg *RegistryNamespace) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *RegistryNamespace) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *RegistryNamespace) GetObservation() (map[string]any, error)
- func (tr *RegistryNamespace) GetParameters() (map[string]any, error)
- func (mg *RegistryNamespace) GetProviderConfigReference() *xpv1.Reference
- func (mg *RegistryNamespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *RegistryNamespace) GetTerraformResourceType() string
- func (tr *RegistryNamespace) GetTerraformSchemaVersion() int
- func (mg *RegistryNamespace) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *RegistryNamespace) Hub()
- func (tr *RegistryNamespace) LateInitialize(attrs []byte) (bool, error)
- func (mg *RegistryNamespace) SetConditions(c ...xpv1.Condition)
- func (mg *RegistryNamespace) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *RegistryNamespace) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *RegistryNamespace) SetObservation(obs map[string]any) error
- func (tr *RegistryNamespace) SetParameters(params map[string]any) error
- func (mg *RegistryNamespace) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *RegistryNamespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *RegistryNamespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RegistryNamespaceInitParameters
- type RegistryNamespaceList
- type RegistryNamespaceObservation
- type RegistryNamespaceParameters
- type RegistryNamespaceSpec
- type RegistryNamespaceStatus
Constants ¶
const ( CRDGroup = "registry.scaleway.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 ( RegistryNamespace_Kind = "RegistryNamespace" RegistryNamespace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RegistryNamespace_Kind}.String() RegistryNamespace_KindAPIVersion = RegistryNamespace_Kind + "." + CRDGroupVersion.String() RegistryNamespace_GroupVersionKind = CRDGroupVersion.WithKind(RegistryNamespace_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type RegistryNamespace ¶
type RegistryNamespace 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 RegistryNamespaceSpec `json:"spec"`
Status RegistryNamespaceStatus `json:"status,omitempty"`
}
RegistryNamespace is the Schema for the RegistryNamespaces 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,scaleway}
func (*RegistryNamespace) DeepCopy ¶
func (in *RegistryNamespace) DeepCopy() *RegistryNamespace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryNamespace.
func (*RegistryNamespace) DeepCopyInto ¶
func (in *RegistryNamespace) DeepCopyInto(out *RegistryNamespace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RegistryNamespace) DeepCopyObject ¶
func (in *RegistryNamespace) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RegistryNamespace) GetCondition ¶
func (mg *RegistryNamespace) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this RegistryNamespace.
func (*RegistryNamespace) GetConnectionDetailsMapping ¶
func (tr *RegistryNamespace) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this RegistryNamespace
func (*RegistryNamespace) GetDeletionPolicy ¶
func (mg *RegistryNamespace) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this RegistryNamespace.
func (*RegistryNamespace) GetID ¶
func (tr *RegistryNamespace) GetID() string
GetID returns ID of underlying Terraform resource of this RegistryNamespace
func (*RegistryNamespace) GetInitParameters ¶
func (tr *RegistryNamespace) GetInitParameters() (map[string]any, error)
GetInitParameters of this RegistryNamespace
func (*RegistryNamespace) GetManagementPolicies ¶
func (mg *RegistryNamespace) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this RegistryNamespace.
func (*RegistryNamespace) GetMergedParameters ¶
func (tr *RegistryNamespace) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this RegistryNamespace
func (*RegistryNamespace) GetObservation ¶
func (tr *RegistryNamespace) GetObservation() (map[string]any, error)
GetObservation of this RegistryNamespace
func (*RegistryNamespace) GetParameters ¶
func (tr *RegistryNamespace) GetParameters() (map[string]any, error)
GetParameters of this RegistryNamespace
func (*RegistryNamespace) GetProviderConfigReference ¶
func (mg *RegistryNamespace) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this RegistryNamespace.
func (*RegistryNamespace) GetPublishConnectionDetailsTo ¶
func (mg *RegistryNamespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this RegistryNamespace.
func (*RegistryNamespace) GetTerraformResourceType ¶
func (mg *RegistryNamespace) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this RegistryNamespace
func (*RegistryNamespace) GetTerraformSchemaVersion ¶
func (tr *RegistryNamespace) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*RegistryNamespace) GetWriteConnectionSecretToReference ¶
func (mg *RegistryNamespace) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this RegistryNamespace.
func (*RegistryNamespace) Hub ¶
func (tr *RegistryNamespace) Hub()
Hub marks this type as a conversion hub.
func (*RegistryNamespace) LateInitialize ¶
func (tr *RegistryNamespace) LateInitialize(attrs []byte) (bool, error)
LateInitialize this RegistryNamespace using its observed tfState. returns True if there are any spec changes for the resource.
func (*RegistryNamespace) SetConditions ¶
func (mg *RegistryNamespace) SetConditions(c ...xpv1.Condition)
SetConditions of this RegistryNamespace.
func (*RegistryNamespace) SetDeletionPolicy ¶
func (mg *RegistryNamespace) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this RegistryNamespace.
func (*RegistryNamespace) SetManagementPolicies ¶
func (mg *RegistryNamespace) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this RegistryNamespace.
func (*RegistryNamespace) SetObservation ¶
func (tr *RegistryNamespace) SetObservation(obs map[string]any) error
SetObservation for this RegistryNamespace
func (*RegistryNamespace) SetParameters ¶
func (tr *RegistryNamespace) SetParameters(params map[string]any) error
SetParameters for this RegistryNamespace
func (*RegistryNamespace) SetProviderConfigReference ¶
func (mg *RegistryNamespace) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this RegistryNamespace.
func (*RegistryNamespace) SetPublishConnectionDetailsTo ¶
func (mg *RegistryNamespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this RegistryNamespace.
func (*RegistryNamespace) SetWriteConnectionSecretToReference ¶
func (mg *RegistryNamespace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this RegistryNamespace.
type RegistryNamespaceInitParameters ¶
type RegistryNamespaceInitParameters struct {
// The description of the namespace.
// The description of the container registry namespace
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// (Defaults to false) Whether the images stored in the namespace should be downloadable publicly (docker pull).
// Define the default visibility policy
IsPublic *bool `json:"isPublic,omitempty" tf:"is_public,omitempty"`
// The unique name of the namespace.
// The name of the container registry namespace
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to provider project_id) The ID of the project the namespace is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// (Defaults to provider region). The region in which the namespace should be created.
// The region you want to attach the resource to
Region *string `json:"region,omitempty" tf:"region,omitempty"`
}
func (*RegistryNamespaceInitParameters) DeepCopy ¶
func (in *RegistryNamespaceInitParameters) DeepCopy() *RegistryNamespaceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryNamespaceInitParameters.
func (*RegistryNamespaceInitParameters) DeepCopyInto ¶
func (in *RegistryNamespaceInitParameters) DeepCopyInto(out *RegistryNamespaceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryNamespaceList ¶
type RegistryNamespaceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []RegistryNamespace `json:"items"`
}
RegistryNamespaceList contains a list of RegistryNamespaces
func (*RegistryNamespaceList) DeepCopy ¶
func (in *RegistryNamespaceList) DeepCopy() *RegistryNamespaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryNamespaceList.
func (*RegistryNamespaceList) DeepCopyInto ¶
func (in *RegistryNamespaceList) DeepCopyInto(out *RegistryNamespaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RegistryNamespaceList) DeepCopyObject ¶
func (in *RegistryNamespaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RegistryNamespaceList) GetItems ¶
func (l *RegistryNamespaceList) GetItems() []resource.Managed
GetItems of this RegistryNamespaceList.
type RegistryNamespaceObservation ¶
type RegistryNamespaceObservation struct {
// The description of the namespace.
// The description of the container registry namespace
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// Endpoint reachable by Docker.
// The endpoint reachable by docker
Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`
// The ID of the namespace
ID *string `json:"id,omitempty" tf:"id,omitempty"`
// (Defaults to false) Whether the images stored in the namespace should be downloadable publicly (docker pull).
// Define the default visibility policy
IsPublic *bool `json:"isPublic,omitempty" tf:"is_public,omitempty"`
// The unique name of the namespace.
// The name of the container registry namespace
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// The Organization ID the namespace is associated with.
// The organization_id you want to attach the resource to
OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"`
// (Defaults to provider project_id) The ID of the project the namespace is associated with.
// The project_id you want to attach the resource to
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// (Defaults to provider region). The region in which the namespace should be created.
// The region you want to attach the resource to
Region *string `json:"region,omitempty" tf:"region,omitempty"`
}
func (*RegistryNamespaceObservation) DeepCopy ¶
func (in *RegistryNamespaceObservation) DeepCopy() *RegistryNamespaceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryNamespaceObservation.
func (*RegistryNamespaceObservation) DeepCopyInto ¶
func (in *RegistryNamespaceObservation) DeepCopyInto(out *RegistryNamespaceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryNamespaceParameters ¶
type RegistryNamespaceParameters struct {
// The description of the namespace.
// The description of the container registry namespace
// +kubebuilder:validation:Optional
Description *string `json:"description,omitempty" tf:"description,omitempty"`
// (Defaults to false) Whether the images stored in the namespace should be downloadable publicly (docker pull).
// Define the default visibility policy
// +kubebuilder:validation:Optional
IsPublic *bool `json:"isPublic,omitempty" tf:"is_public,omitempty"`
// The unique name of the namespace.
// The name of the container registry namespace
// +kubebuilder:validation:Optional
Name *string `json:"name,omitempty" tf:"name,omitempty"`
// (Defaults to provider project_id) The ID of the project the namespace is associated with.
// The project_id you want to attach the resource to
// +kubebuilder:validation:Optional
ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`
// (Defaults to provider region). The region in which the namespace should be created.
// The region you want to attach the resource to
// +kubebuilder:validation:Optional
Region *string `json:"region,omitempty" tf:"region,omitempty"`
}
func (*RegistryNamespaceParameters) DeepCopy ¶
func (in *RegistryNamespaceParameters) DeepCopy() *RegistryNamespaceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryNamespaceParameters.
func (*RegistryNamespaceParameters) DeepCopyInto ¶
func (in *RegistryNamespaceParameters) DeepCopyInto(out *RegistryNamespaceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryNamespaceSpec ¶
type RegistryNamespaceSpec struct {
v1.ResourceSpec `json:",inline"`
ForProvider RegistryNamespaceParameters `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 RegistryNamespaceInitParameters `json:"initProvider,omitempty"`
}
RegistryNamespaceSpec defines the desired state of RegistryNamespace
func (*RegistryNamespaceSpec) DeepCopy ¶
func (in *RegistryNamespaceSpec) DeepCopy() *RegistryNamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryNamespaceSpec.
func (*RegistryNamespaceSpec) DeepCopyInto ¶
func (in *RegistryNamespaceSpec) DeepCopyInto(out *RegistryNamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryNamespaceStatus ¶
type RegistryNamespaceStatus struct {
v1.ResourceStatus `json:",inline"`
AtProvider RegistryNamespaceObservation `json:"atProvider,omitempty"`
}
RegistryNamespaceStatus defines the observed state of RegistryNamespace.
func (*RegistryNamespaceStatus) DeepCopy ¶
func (in *RegistryNamespaceStatus) DeepCopy() *RegistryNamespaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryNamespaceStatus.
func (*RegistryNamespaceStatus) DeepCopyInto ¶
func (in *RegistryNamespaceStatus) DeepCopyInto(out *RegistryNamespaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.