Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=containerregistry.ionoscloud.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type CredentialsInitParameters
- type CredentialsObservation
- type CredentialsParameters
- type FeaturesInitParameters
- type FeaturesObservation
- type FeaturesParameters
- type GarbageCollectionScheduleInitParameters
- type GarbageCollectionScheduleObservation
- type GarbageCollectionScheduleParameters
- type Registry
- func (in *Registry) DeepCopy() *Registry
- func (in *Registry) DeepCopyInto(out *Registry)
- func (in *Registry) DeepCopyObject() runtime.Object
- func (mg *Registry) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Registry) GetConnectionDetailsMapping() map[string]string
- func (mg *Registry) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Registry) GetID() string
- func (tr *Registry) GetInitParameters() (map[string]any, error)
- func (mg *Registry) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Registry) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Registry) GetObservation() (map[string]any, error)
- func (tr *Registry) GetParameters() (map[string]any, error)
- func (mg *Registry) GetProviderConfigReference() *xpv1.Reference
- func (mg *Registry) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Registry) GetTerraformResourceType() string
- func (tr *Registry) GetTerraformSchemaVersion() int
- func (mg *Registry) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Registry) Hub()
- func (tr *Registry) LateInitialize(attrs []byte) (bool, error)
- func (mg *Registry) SetConditions(c ...xpv1.Condition)
- func (mg *Registry) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Registry) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Registry) SetObservation(obs map[string]any) error
- func (tr *Registry) SetParameters(params map[string]any) error
- func (mg *Registry) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Registry) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Registry) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RegistryInitParameters
- type RegistryList
- type RegistryObservation
- type RegistryParameters
- type RegistrySpec
- type RegistryStatus
- type RegistryToken
- func (in *RegistryToken) DeepCopy() *RegistryToken
- func (in *RegistryToken) DeepCopyInto(out *RegistryToken)
- func (in *RegistryToken) DeepCopyObject() runtime.Object
- func (mg *RegistryToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *RegistryToken) GetConnectionDetailsMapping() map[string]string
- func (mg *RegistryToken) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *RegistryToken) GetID() string
- func (tr *RegistryToken) GetInitParameters() (map[string]any, error)
- func (mg *RegistryToken) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *RegistryToken) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *RegistryToken) GetObservation() (map[string]any, error)
- func (tr *RegistryToken) GetParameters() (map[string]any, error)
- func (mg *RegistryToken) GetProviderConfigReference() *xpv1.Reference
- func (mg *RegistryToken) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *RegistryToken) GetTerraformResourceType() string
- func (tr *RegistryToken) GetTerraformSchemaVersion() int
- func (mg *RegistryToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *RegistryToken) Hub()
- func (tr *RegistryToken) LateInitialize(attrs []byte) (bool, error)
- func (mg *RegistryToken) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *RegistryToken) SetConditions(c ...xpv1.Condition)
- func (mg *RegistryToken) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *RegistryToken) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *RegistryToken) SetObservation(obs map[string]any) error
- func (tr *RegistryToken) SetParameters(params map[string]any) error
- func (mg *RegistryToken) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *RegistryToken) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *RegistryToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RegistryTokenInitParameters
- type RegistryTokenList
- type RegistryTokenObservation
- type RegistryTokenParameters
- type RegistryTokenSpec
- type RegistryTokenStatus
- type ScopesInitParameters
- type ScopesObservation
- type ScopesParameters
- type StorageUsageInitParameters
- type StorageUsageObservation
- type StorageUsageParameters
Constants ¶
const ( CRDGroup = "containerregistry.ionoscloud.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 ( Registry_Kind = "Registry" Registry_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Registry_Kind}.String() Registry_KindAPIVersion = Registry_Kind + "." + CRDGroupVersion.String() Registry_GroupVersionKind = CRDGroupVersion.WithKind(Registry_Kind) )
Repository type metadata.
var ( RegistryToken_Kind = "RegistryToken" RegistryToken_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RegistryToken_Kind}.String() RegistryToken_KindAPIVersion = RegistryToken_Kind + "." + CRDGroupVersion.String() RegistryToken_GroupVersionKind = CRDGroupVersion.WithKind(RegistryToken_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type CredentialsInitParameters ¶
type CredentialsInitParameters struct { }
func (*CredentialsInitParameters) DeepCopy ¶
func (in *CredentialsInitParameters) DeepCopy() *CredentialsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsInitParameters.
func (*CredentialsInitParameters) DeepCopyInto ¶
func (in *CredentialsInitParameters) DeepCopyInto(out *CredentialsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsObservation ¶
type CredentialsObservation struct { Password *string `json:"password,omitempty" tf:"password,omitempty"` // [string] The name of the container registry token. Immutable, update forces re-creation of the resource. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*CredentialsObservation) DeepCopy ¶
func (in *CredentialsObservation) DeepCopy() *CredentialsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsObservation.
func (*CredentialsObservation) DeepCopyInto ¶
func (in *CredentialsObservation) DeepCopyInto(out *CredentialsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsParameters ¶
type CredentialsParameters struct { }
func (*CredentialsParameters) DeepCopy ¶
func (in *CredentialsParameters) DeepCopy() *CredentialsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsParameters.
func (*CredentialsParameters) DeepCopyInto ¶
func (in *CredentialsParameters) DeepCopyInto(out *CredentialsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeaturesInitParameters ¶
type FeaturesInitParameters struct { // [bool] Enables or disables the Vulnerability Scanning feature for the Container Registry. To disable this feature, set the attribute to false when creating the CR resource. // Enables vulnerability scanning for images in the container registry. Note: this feature can incur additional charges VulnerabilityScanning *bool `json:"vulnerabilityScanning,omitempty" tf:"vulnerability_scanning,omitempty"` }
func (*FeaturesInitParameters) DeepCopy ¶
func (in *FeaturesInitParameters) DeepCopy() *FeaturesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturesInitParameters.
func (*FeaturesInitParameters) DeepCopyInto ¶
func (in *FeaturesInitParameters) DeepCopyInto(out *FeaturesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeaturesObservation ¶
type FeaturesObservation struct { // [bool] Enables or disables the Vulnerability Scanning feature for the Container Registry. To disable this feature, set the attribute to false when creating the CR resource. // Enables vulnerability scanning for images in the container registry. Note: this feature can incur additional charges VulnerabilityScanning *bool `json:"vulnerabilityScanning,omitempty" tf:"vulnerability_scanning,omitempty"` }
func (*FeaturesObservation) DeepCopy ¶
func (in *FeaturesObservation) DeepCopy() *FeaturesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturesObservation.
func (*FeaturesObservation) DeepCopyInto ¶
func (in *FeaturesObservation) DeepCopyInto(out *FeaturesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeaturesParameters ¶
type FeaturesParameters struct { // [bool] Enables or disables the Vulnerability Scanning feature for the Container Registry. To disable this feature, set the attribute to false when creating the CR resource. // Enables vulnerability scanning for images in the container registry. Note: this feature can incur additional charges // +kubebuilder:validation:Optional VulnerabilityScanning *bool `json:"vulnerabilityScanning,omitempty" tf:"vulnerability_scanning,omitempty"` }
func (*FeaturesParameters) DeepCopy ¶
func (in *FeaturesParameters) DeepCopy() *FeaturesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturesParameters.
func (*FeaturesParameters) DeepCopyInto ¶
func (in *FeaturesParameters) DeepCopyInto(out *FeaturesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GarbageCollectionScheduleInitParameters ¶
type GarbageCollectionScheduleInitParameters struct { // [list] Elements of list must have one of the values: Saturday, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday Days []*string `json:"days,omitempty" tf:"days,omitempty"` // [string] // UTC time of day e.g. 01:00:00 - as defined by partial-time - RFC3339 Time *string `json:"time,omitempty" tf:"time,omitempty"` }
func (*GarbageCollectionScheduleInitParameters) DeepCopy ¶
func (in *GarbageCollectionScheduleInitParameters) DeepCopy() *GarbageCollectionScheduleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GarbageCollectionScheduleInitParameters.
func (*GarbageCollectionScheduleInitParameters) DeepCopyInto ¶
func (in *GarbageCollectionScheduleInitParameters) DeepCopyInto(out *GarbageCollectionScheduleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GarbageCollectionScheduleObservation ¶
type GarbageCollectionScheduleObservation struct { // [list] Elements of list must have one of the values: Saturday, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday Days []*string `json:"days,omitempty" tf:"days,omitempty"` // [string] // UTC time of day e.g. 01:00:00 - as defined by partial-time - RFC3339 Time *string `json:"time,omitempty" tf:"time,omitempty"` }
func (*GarbageCollectionScheduleObservation) DeepCopy ¶
func (in *GarbageCollectionScheduleObservation) DeepCopy() *GarbageCollectionScheduleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GarbageCollectionScheduleObservation.
func (*GarbageCollectionScheduleObservation) DeepCopyInto ¶
func (in *GarbageCollectionScheduleObservation) DeepCopyInto(out *GarbageCollectionScheduleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GarbageCollectionScheduleParameters ¶
type GarbageCollectionScheduleParameters struct { // [list] Elements of list must have one of the values: Saturday, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday // +kubebuilder:validation:Optional Days []*string `json:"days" tf:"days,omitempty"` // [string] // UTC time of day e.g. 01:00:00 - as defined by partial-time - RFC3339 // +kubebuilder:validation:Optional Time *string `json:"time" tf:"time,omitempty"` }
func (*GarbageCollectionScheduleParameters) DeepCopy ¶
func (in *GarbageCollectionScheduleParameters) DeepCopy() *GarbageCollectionScheduleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GarbageCollectionScheduleParameters.
func (*GarbageCollectionScheduleParameters) DeepCopyInto ¶
func (in *GarbageCollectionScheduleParameters) DeepCopyInto(out *GarbageCollectionScheduleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Registry ¶
type Registry 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.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter" // +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 RegistrySpec `json:"spec"` Status RegistryStatus `json:"status,omitempty"` }
Registry is the Schema for the Registrys API. Creates and manages IonosCloud Container Registry. +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,ionos}
func (*Registry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry.
func (*Registry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Registry) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Registry) GetCondition ¶
func (mg *Registry) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Registry.
func (*Registry) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Registry
func (*Registry) GetDeletionPolicy ¶
func (mg *Registry) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Registry.
func (*Registry) GetInitParameters ¶
GetInitParameters of this Registry
func (*Registry) GetManagementPolicies ¶
func (mg *Registry) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Registry.
func (*Registry) GetMergedParameters ¶
GetInitParameters of this Registry
func (*Registry) GetObservation ¶
GetObservation of this Registry
func (*Registry) GetParameters ¶
GetParameters of this Registry
func (*Registry) GetProviderConfigReference ¶
GetProviderConfigReference of this Registry.
func (*Registry) GetPublishConnectionDetailsTo ¶
func (mg *Registry) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Registry.
func (*Registry) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Registry
func (*Registry) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Registry) GetWriteConnectionSecretToReference ¶
func (mg *Registry) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Registry.
func (*Registry) LateInitialize ¶
LateInitialize this Registry using its observed tfState. returns True if there are any spec changes for the resource.
func (*Registry) SetConditions ¶
SetConditions of this Registry.
func (*Registry) SetDeletionPolicy ¶
func (mg *Registry) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Registry.
func (*Registry) SetManagementPolicies ¶
func (mg *Registry) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Registry.
func (*Registry) SetObservation ¶
SetObservation for this Registry
func (*Registry) SetParameters ¶
SetParameters for this Registry
func (*Registry) SetProviderConfigReference ¶
SetProviderConfigReference of this Registry.
func (*Registry) SetPublishConnectionDetailsTo ¶
func (mg *Registry) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Registry.
func (*Registry) SetWriteConnectionSecretToReference ¶
func (mg *Registry) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Registry.
type RegistryInitParameters ¶
type RegistryInitParameters struct { // [list] The subnet CIDRs that are allowed to connect to the registry. Specify "a.b.c.d/32" for an individual IP address. Note: If this list is empty or not set, there are no restrictions. // The subnet CIDRs that are allowed to connect to the registry. Specify 'a.b.c.d/32' for an individual IP address. __Note__: If this list is empty or not set, there are no restrictions. APISubnetAllowList []*string `json:"apiSubnetAllowList,omitempty" tf:"api_subnet_allow_list,omitempty"` // [Map] Features *FeaturesInitParameters `json:"features,omitempty" tf:"features,omitempty"` // [Map] GarbageCollectionSchedule *GarbageCollectionScheduleInitParameters `json:"garbageCollectionSchedule,omitempty" tf:"garbage_collection_schedule,omitempty"` // [string] Immutable, update forces re-creation of the resource. Location *string `json:"location,omitempty" tf:"location,omitempty"` // The name of the container registry. Immutable, update forces re-creation of the resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*RegistryInitParameters) DeepCopy ¶
func (in *RegistryInitParameters) DeepCopy() *RegistryInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryInitParameters.
func (*RegistryInitParameters) DeepCopyInto ¶
func (in *RegistryInitParameters) DeepCopyInto(out *RegistryInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryList ¶
type RegistryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Registry `json:"items"` }
RegistryList contains a list of Registrys
func (*RegistryList) DeepCopy ¶
func (in *RegistryList) DeepCopy() *RegistryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryList.
func (*RegistryList) DeepCopyInto ¶
func (in *RegistryList) DeepCopyInto(out *RegistryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RegistryList) DeepCopyObject ¶
func (in *RegistryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RegistryList) GetItems ¶
func (l *RegistryList) GetItems() []resource.Managed
GetItems of this RegistryList.
type RegistryObservation ¶
type RegistryObservation struct { // [list] The subnet CIDRs that are allowed to connect to the registry. Specify "a.b.c.d/32" for an individual IP address. Note: If this list is empty or not set, there are no restrictions. // The subnet CIDRs that are allowed to connect to the registry. Specify 'a.b.c.d/32' for an individual IP address. __Note__: If this list is empty or not set, there are no restrictions. APISubnetAllowList []*string `json:"apiSubnetAllowList,omitempty" tf:"api_subnet_allow_list,omitempty"` // [Map] Features *FeaturesObservation `json:"features,omitempty" tf:"features,omitempty"` // [Map] GarbageCollectionSchedule *GarbageCollectionScheduleObservation `json:"garbageCollectionSchedule,omitempty" tf:"garbage_collection_schedule,omitempty"` // The name of the container registry. Immutable, update forces re-creation of the resource. Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // [string] Immutable, update forces re-creation of the resource. Location *string `json:"location,omitempty" tf:"location,omitempty"` // The name of the container registry. Immutable, update forces re-creation of the resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` StorageUsage []StorageUsageObservation `json:"storageUsage,omitempty" tf:"storage_usage,omitempty"` }
func (*RegistryObservation) DeepCopy ¶
func (in *RegistryObservation) DeepCopy() *RegistryObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryObservation.
func (*RegistryObservation) DeepCopyInto ¶
func (in *RegistryObservation) DeepCopyInto(out *RegistryObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryParameters ¶
type RegistryParameters struct { // [list] The subnet CIDRs that are allowed to connect to the registry. Specify "a.b.c.d/32" for an individual IP address. Note: If this list is empty or not set, there are no restrictions. // The subnet CIDRs that are allowed to connect to the registry. Specify 'a.b.c.d/32' for an individual IP address. __Note__: If this list is empty or not set, there are no restrictions. // +kubebuilder:validation:Optional APISubnetAllowList []*string `json:"apiSubnetAllowList,omitempty" tf:"api_subnet_allow_list,omitempty"` // [Map] // +kubebuilder:validation:Optional Features *FeaturesParameters `json:"features,omitempty" tf:"features,omitempty"` // [Map] // +kubebuilder:validation:Optional GarbageCollectionSchedule *GarbageCollectionScheduleParameters `json:"garbageCollectionSchedule,omitempty" tf:"garbage_collection_schedule,omitempty"` // [string] Immutable, update forces re-creation of the resource. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // The name of the container registry. Immutable, update forces re-creation of the resource. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*RegistryParameters) DeepCopy ¶
func (in *RegistryParameters) DeepCopy() *RegistryParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryParameters.
func (*RegistryParameters) DeepCopyInto ¶
func (in *RegistryParameters) DeepCopyInto(out *RegistryParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistrySpec ¶
type RegistrySpec struct { v1.ResourceSpec `json:",inline"` ForProvider RegistryParameters `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 RegistryInitParameters `json:"initProvider,omitempty"` }
RegistrySpec defines the desired state of Registry
func (*RegistrySpec) DeepCopy ¶
func (in *RegistrySpec) DeepCopy() *RegistrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrySpec.
func (*RegistrySpec) DeepCopyInto ¶
func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryStatus ¶
type RegistryStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RegistryObservation `json:"atProvider,omitempty"` }
RegistryStatus defines the observed state of Registry.
func (*RegistryStatus) DeepCopy ¶
func (in *RegistryStatus) DeepCopy() *RegistryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryStatus.
func (*RegistryStatus) DeepCopyInto ¶
func (in *RegistryStatus) DeepCopyInto(out *RegistryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryToken ¶
type RegistryToken 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 RegistryTokenSpec `json:"spec"` Status RegistryTokenStatus `json:"status,omitempty"` }
RegistryToken is the Schema for the RegistryTokens API. Creates and manages IonosCloud Container Registry Token. +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,ionos}
func (*RegistryToken) DeepCopy ¶
func (in *RegistryToken) DeepCopy() *RegistryToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryToken.
func (*RegistryToken) DeepCopyInto ¶
func (in *RegistryToken) DeepCopyInto(out *RegistryToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RegistryToken) DeepCopyObject ¶
func (in *RegistryToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RegistryToken) GetCondition ¶
func (mg *RegistryToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this RegistryToken.
func (*RegistryToken) GetConnectionDetailsMapping ¶
func (tr *RegistryToken) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this RegistryToken
func (*RegistryToken) GetDeletionPolicy ¶
func (mg *RegistryToken) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this RegistryToken.
func (*RegistryToken) GetID ¶
func (tr *RegistryToken) GetID() string
GetID returns ID of underlying Terraform resource of this RegistryToken
func (*RegistryToken) GetInitParameters ¶
func (tr *RegistryToken) GetInitParameters() (map[string]any, error)
GetInitParameters of this RegistryToken
func (*RegistryToken) GetManagementPolicies ¶
func (mg *RegistryToken) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this RegistryToken.
func (*RegistryToken) GetMergedParameters ¶
func (tr *RegistryToken) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this RegistryToken
func (*RegistryToken) GetObservation ¶
func (tr *RegistryToken) GetObservation() (map[string]any, error)
GetObservation of this RegistryToken
func (*RegistryToken) GetParameters ¶
func (tr *RegistryToken) GetParameters() (map[string]any, error)
GetParameters of this RegistryToken
func (*RegistryToken) GetProviderConfigReference ¶
func (mg *RegistryToken) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this RegistryToken.
func (*RegistryToken) GetPublishConnectionDetailsTo ¶
func (mg *RegistryToken) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this RegistryToken.
func (*RegistryToken) GetTerraformResourceType ¶
func (mg *RegistryToken) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this RegistryToken
func (*RegistryToken) GetTerraformSchemaVersion ¶
func (tr *RegistryToken) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*RegistryToken) GetWriteConnectionSecretToReference ¶
func (mg *RegistryToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this RegistryToken.
func (*RegistryToken) LateInitialize ¶
func (tr *RegistryToken) LateInitialize(attrs []byte) (bool, error)
LateInitialize this RegistryToken using its observed tfState. returns True if there are any spec changes for the resource.
func (*RegistryToken) ResolveReferences ¶
ResolveReferences of this RegistryToken.
func (*RegistryToken) SetConditions ¶
func (mg *RegistryToken) SetConditions(c ...xpv1.Condition)
SetConditions of this RegistryToken.
func (*RegistryToken) SetDeletionPolicy ¶
func (mg *RegistryToken) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this RegistryToken.
func (*RegistryToken) SetManagementPolicies ¶
func (mg *RegistryToken) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this RegistryToken.
func (*RegistryToken) SetObservation ¶
func (tr *RegistryToken) SetObservation(obs map[string]any) error
SetObservation for this RegistryToken
func (*RegistryToken) SetParameters ¶
func (tr *RegistryToken) SetParameters(params map[string]any) error
SetParameters for this RegistryToken
func (*RegistryToken) SetProviderConfigReference ¶
func (mg *RegistryToken) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this RegistryToken.
func (*RegistryToken) SetPublishConnectionDetailsTo ¶
func (mg *RegistryToken) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this RegistryToken.
func (*RegistryToken) SetWriteConnectionSecretToReference ¶
func (mg *RegistryToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this RegistryToken.
type RegistryTokenInitParameters ¶
type RegistryTokenInitParameters struct { ExpiryDate *string `json:"expiryDate,omitempty" tf:"expiry_date,omitempty"` // [string] The name of the container registry token. Immutable, update forces re-creation of the resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/containerregistry/v1alpha1.Registry RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"` // Reference to a Registry in containerregistry to populate registryId. // +kubebuilder:validation:Optional RegistryIDRef *v1.Reference `json:"registryIdRef,omitempty" tf:"-"` // Selector for a Registry in containerregistry to populate registryId. // +kubebuilder:validation:Optional RegistryIDSelector *v1.Selector `json:"registryIdSelector,omitempty" tf:"-"` // [string] Saves token password to file. Only works on create. Takes as argument a file name, or a file path // Saves password to file. Only works on create. Takes as argument a file name, or a file path SavePasswordToFile *string `json:"savePasswordToFile,omitempty" tf:"save_password_to_file,omitempty"` // [map] Scopes []ScopesInitParameters `json:"scopes,omitempty" tf:"scopes,omitempty"` // [string] Must have on of the values: enabled, disabled // Can be one of enabled, disabled Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*RegistryTokenInitParameters) DeepCopy ¶
func (in *RegistryTokenInitParameters) DeepCopy() *RegistryTokenInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenInitParameters.
func (*RegistryTokenInitParameters) DeepCopyInto ¶
func (in *RegistryTokenInitParameters) DeepCopyInto(out *RegistryTokenInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryTokenList ¶
type RegistryTokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RegistryToken `json:"items"` }
RegistryTokenList contains a list of RegistryTokens
func (*RegistryTokenList) DeepCopy ¶
func (in *RegistryTokenList) DeepCopy() *RegistryTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenList.
func (*RegistryTokenList) DeepCopyInto ¶
func (in *RegistryTokenList) DeepCopyInto(out *RegistryTokenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RegistryTokenList) DeepCopyObject ¶
func (in *RegistryTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RegistryTokenList) GetItems ¶
func (l *RegistryTokenList) GetItems() []resource.Managed
GetItems of this RegistryTokenList.
type RegistryTokenObservation ¶
type RegistryTokenObservation struct { Credentials []CredentialsObservation `json:"credentials,omitempty" tf:"credentials,omitempty"` ExpiryDate *string `json:"expiryDate,omitempty" tf:"expiry_date,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // [string] The name of the container registry token. Immutable, update forces re-creation of the resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"` // [string] Saves token password to file. Only works on create. Takes as argument a file name, or a file path // Saves password to file. Only works on create. Takes as argument a file name, or a file path SavePasswordToFile *string `json:"savePasswordToFile,omitempty" tf:"save_password_to_file,omitempty"` // [map] Scopes []ScopesObservation `json:"scopes,omitempty" tf:"scopes,omitempty"` // [string] Must have on of the values: enabled, disabled // Can be one of enabled, disabled Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*RegistryTokenObservation) DeepCopy ¶
func (in *RegistryTokenObservation) DeepCopy() *RegistryTokenObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenObservation.
func (*RegistryTokenObservation) DeepCopyInto ¶
func (in *RegistryTokenObservation) DeepCopyInto(out *RegistryTokenObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryTokenParameters ¶
type RegistryTokenParameters struct { // +kubebuilder:validation:Optional ExpiryDate *string `json:"expiryDate,omitempty" tf:"expiry_date,omitempty"` // [string] The name of the container registry token. Immutable, update forces re-creation of the resource. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // +crossplane:generate:reference:type=github.com/ionos-cloud/provider-upjet-ionoscloud/apis/containerregistry/v1alpha1.Registry // +kubebuilder:validation:Optional RegistryID *string `json:"registryId,omitempty" tf:"registry_id,omitempty"` // Reference to a Registry in containerregistry to populate registryId. // +kubebuilder:validation:Optional RegistryIDRef *v1.Reference `json:"registryIdRef,omitempty" tf:"-"` // Selector for a Registry in containerregistry to populate registryId. // +kubebuilder:validation:Optional RegistryIDSelector *v1.Selector `json:"registryIdSelector,omitempty" tf:"-"` // [string] Saves token password to file. Only works on create. Takes as argument a file name, or a file path // Saves password to file. Only works on create. Takes as argument a file name, or a file path // +kubebuilder:validation:Optional SavePasswordToFile *string `json:"savePasswordToFile,omitempty" tf:"save_password_to_file,omitempty"` // [map] // +kubebuilder:validation:Optional Scopes []ScopesParameters `json:"scopes,omitempty" tf:"scopes,omitempty"` // [string] Must have on of the values: enabled, disabled // Can be one of enabled, disabled // +kubebuilder:validation:Optional Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*RegistryTokenParameters) DeepCopy ¶
func (in *RegistryTokenParameters) DeepCopy() *RegistryTokenParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenParameters.
func (*RegistryTokenParameters) DeepCopyInto ¶
func (in *RegistryTokenParameters) DeepCopyInto(out *RegistryTokenParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryTokenSpec ¶
type RegistryTokenSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RegistryTokenParameters `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 RegistryTokenInitParameters `json:"initProvider,omitempty"` }
RegistryTokenSpec defines the desired state of RegistryToken
func (*RegistryTokenSpec) DeepCopy ¶
func (in *RegistryTokenSpec) DeepCopy() *RegistryTokenSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenSpec.
func (*RegistryTokenSpec) DeepCopyInto ¶
func (in *RegistryTokenSpec) DeepCopyInto(out *RegistryTokenSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryTokenStatus ¶
type RegistryTokenStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RegistryTokenObservation `json:"atProvider,omitempty"` }
RegistryTokenStatus defines the observed state of RegistryToken.
func (*RegistryTokenStatus) DeepCopy ¶
func (in *RegistryTokenStatus) DeepCopy() *RegistryTokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryTokenStatus.
func (*RegistryTokenStatus) DeepCopyInto ¶
func (in *RegistryTokenStatus) DeepCopyInto(out *RegistryTokenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScopesInitParameters ¶
type ScopesInitParameters struct { // [string] Example: ["pull", "push", "delete"] // Example: ["pull", "push", "delete"] Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"` // [string] The name of the container registry token. Immutable, update forces re-creation of the resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` // [string] Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ScopesInitParameters) DeepCopy ¶
func (in *ScopesInitParameters) DeepCopy() *ScopesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopesInitParameters.
func (*ScopesInitParameters) DeepCopyInto ¶
func (in *ScopesInitParameters) DeepCopyInto(out *ScopesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScopesObservation ¶
type ScopesObservation struct { // [string] Example: ["pull", "push", "delete"] // Example: ["pull", "push", "delete"] Actions []*string `json:"actions,omitempty" tf:"actions,omitempty"` // [string] The name of the container registry token. Immutable, update forces re-creation of the resource. Name *string `json:"name,omitempty" tf:"name,omitempty"` // [string] Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ScopesObservation) DeepCopy ¶
func (in *ScopesObservation) DeepCopy() *ScopesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopesObservation.
func (*ScopesObservation) DeepCopyInto ¶
func (in *ScopesObservation) DeepCopyInto(out *ScopesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScopesParameters ¶
type ScopesParameters struct { // [string] Example: ["pull", "push", "delete"] // Example: ["pull", "push", "delete"] // +kubebuilder:validation:Optional Actions []*string `json:"actions" tf:"actions,omitempty"` // [string] The name of the container registry token. Immutable, update forces re-creation of the resource. // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` // [string] // +kubebuilder:validation:Optional Type *string `json:"type" tf:"type,omitempty"` }
func (*ScopesParameters) DeepCopy ¶
func (in *ScopesParameters) DeepCopy() *ScopesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopesParameters.
func (*ScopesParameters) DeepCopyInto ¶
func (in *ScopesParameters) DeepCopyInto(out *ScopesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageUsageInitParameters ¶
type StorageUsageInitParameters struct { }
func (*StorageUsageInitParameters) DeepCopy ¶
func (in *StorageUsageInitParameters) DeepCopy() *StorageUsageInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageUsageInitParameters.
func (*StorageUsageInitParameters) DeepCopyInto ¶
func (in *StorageUsageInitParameters) DeepCopyInto(out *StorageUsageInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageUsageObservation ¶
type StorageUsageObservation struct { Bytes *float64 `json:"bytes,omitempty" tf:"bytes,omitempty"` UpdatedAt *string `json:"updatedAt,omitempty" tf:"updated_at,omitempty"` }
func (*StorageUsageObservation) DeepCopy ¶
func (in *StorageUsageObservation) DeepCopy() *StorageUsageObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageUsageObservation.
func (*StorageUsageObservation) DeepCopyInto ¶
func (in *StorageUsageObservation) DeepCopyInto(out *StorageUsageObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageUsageParameters ¶
type StorageUsageParameters struct { }
func (*StorageUsageParameters) DeepCopy ¶
func (in *StorageUsageParameters) DeepCopy() *StorageUsageParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageUsageParameters.
func (*StorageUsageParameters) DeepCopyInto ¶
func (in *StorageUsageParameters) DeepCopyInto(out *StorageUsageParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.