Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=blobstorefile.tuananh.net +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type File
- func (in *File) DeepCopy() *File
- func (in *File) DeepCopyInto(out *File)
- func (in *File) DeepCopyObject() runtime.Object
- func (mg *File) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *File) GetConnectionDetailsMapping() map[string]string
- func (mg *File) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *File) GetID() string
- func (tr *File) GetInitParameters() (map[string]any, error)
- func (mg *File) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *File) GetObservation() (map[string]any, error)
- func (tr *File) GetParameters() (map[string]any, error)
- func (mg *File) GetProviderConfigReference() *xpv1.Reference
- func (mg *File) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *File) GetTerraformResourceType() string
- func (tr *File) GetTerraformSchemaVersion() int
- func (mg *File) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *File) LateInitialize(attrs []byte) (bool, error)
- func (mg *File) SetConditions(c ...xpv1.Condition)
- func (mg *File) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *File) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *File) SetObservation(obs map[string]any) error
- func (tr *File) SetParameters(params map[string]any) error
- func (mg *File) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *File) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *File) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FileInitParameters
- type FileList
- type FileObservation
- type FileParameters
- type FileSpec
- type FileStatus
- type SoftQuotaInitParameters
- type SoftQuotaObservation
- type SoftQuotaParameters
Constants ¶
const ( CRDGroup = "blobstorefile.tuananh.net" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( File_Kind = "File" File_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: File_Kind}.String() File_KindAPIVersion = File_Kind + "." + CRDGroupVersion.String() File_GroupVersionKind = CRDGroupVersion.WithKind(File_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 File ¶
type File struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FileSpec `json:"spec"` Status FileStatus `json:"status,omitempty"` }
File is the Schema for the Files API. Use this resource to create a Nexus file blobstore. +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,nexus}
func (*File) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*File) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*File) GetCondition ¶
func (mg *File) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this File.
func (*File) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this File
func (*File) GetDeletionPolicy ¶
func (mg *File) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this File.
func (*File) GetInitParameters ¶
GetInitParameters of this File
func (*File) GetManagementPolicies ¶
func (mg *File) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this File.
func (*File) GetObservation ¶
GetObservation of this File
func (*File) GetParameters ¶
GetParameters of this File
func (*File) GetProviderConfigReference ¶
GetProviderConfigReference of this File.
func (*File) GetPublishConnectionDetailsTo ¶
func (mg *File) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this File.
func (*File) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this File
func (*File) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*File) GetWriteConnectionSecretToReference ¶
func (mg *File) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this File.
func (*File) LateInitialize ¶
LateInitialize this File using its observed tfState. returns True if there are any spec changes for the resource.
func (*File) SetConditions ¶
SetConditions of this File.
func (*File) SetDeletionPolicy ¶
func (mg *File) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this File.
func (*File) SetManagementPolicies ¶
func (mg *File) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this File.
func (*File) SetObservation ¶
SetObservation for this File
func (*File) SetParameters ¶
SetParameters for this File
func (*File) SetProviderConfigReference ¶
SetProviderConfigReference of this File.
func (*File) SetPublishConnectionDetailsTo ¶
func (mg *File) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this File.
func (*File) SetWriteConnectionSecretToReference ¶
func (mg *File) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this File.
type FileInitParameters ¶
type FileInitParameters struct { // work directory // The path to the blobstore contents. This can be an absolute path to anywhere on the system nxrm has access to or it can be a path relative to the sonatype-work directory Path *string `json:"path,omitempty" tf:"path,omitempty"` // (Block List, Max: 1) Soft quota of the blobstore (see below for nested schema) // Soft quota of the blobstore SoftQuota []SoftQuotaInitParameters `json:"softQuota,omitempty" tf:"soft_quota,omitempty"` }
func (*FileInitParameters) DeepCopy ¶
func (in *FileInitParameters) DeepCopy() *FileInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileInitParameters.
func (*FileInitParameters) DeepCopyInto ¶
func (in *FileInitParameters) DeepCopyInto(out *FileInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileList ¶
type FileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []File `json:"items"` }
FileList contains a list of Files
func (*FileList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileList.
func (*FileList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FileList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FileObservation ¶
type FileObservation struct { // (Number) Available space in Bytes // Available space in Bytes AvailableSpaceInBytes *float64 `json:"availableSpaceInBytes,omitempty" tf:"available_space_in_bytes,omitempty"` // (Number) Count of blobs // Count of blobs BlobCount *float64 `json:"blobCount,omitempty" tf:"blob_count,omitempty"` // (String) Used to identify resource at nexus ID *string `json:"id,omitempty" tf:"id,omitempty"` // work directory // The path to the blobstore contents. This can be an absolute path to anywhere on the system nxrm has access to or it can be a path relative to the sonatype-work directory Path *string `json:"path,omitempty" tf:"path,omitempty"` // (Block List, Max: 1) Soft quota of the blobstore (see below for nested schema) // Soft quota of the blobstore SoftQuota []SoftQuotaObservation `json:"softQuota,omitempty" tf:"soft_quota,omitempty"` // (Number) The total size of the blobstore in Bytes // The total size of the blobstore in Bytes TotalSizeInBytes *float64 `json:"totalSizeInBytes,omitempty" tf:"total_size_in_bytes,omitempty"` }
func (*FileObservation) DeepCopy ¶
func (in *FileObservation) DeepCopy() *FileObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileObservation.
func (*FileObservation) DeepCopyInto ¶
func (in *FileObservation) DeepCopyInto(out *FileObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileParameters ¶
type FileParameters struct { // work directory // The path to the blobstore contents. This can be an absolute path to anywhere on the system nxrm has access to or it can be a path relative to the sonatype-work directory // +kubebuilder:validation:Optional Path *string `json:"path,omitempty" tf:"path,omitempty"` // (Block List, Max: 1) Soft quota of the blobstore (see below for nested schema) // Soft quota of the blobstore // +kubebuilder:validation:Optional SoftQuota []SoftQuotaParameters `json:"softQuota,omitempty" tf:"soft_quota,omitempty"` }
func (*FileParameters) DeepCopy ¶
func (in *FileParameters) DeepCopy() *FileParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileParameters.
func (*FileParameters) DeepCopyInto ¶
func (in *FileParameters) DeepCopyInto(out *FileParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileSpec ¶
type FileSpec struct { v1.ResourceSpec `json:",inline"` ForProvider FileParameters `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 FileInitParameters `json:"initProvider,omitempty"` }
FileSpec defines the desired state of File
func (*FileSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSpec.
func (*FileSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileStatus ¶
type FileStatus struct { v1.ResourceStatus `json:",inline"` AtProvider FileObservation `json:"atProvider,omitempty"` }
FileStatus defines the observed state of File.
func (*FileStatus) DeepCopy ¶
func (in *FileStatus) DeepCopy() *FileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileStatus.
func (*FileStatus) DeepCopyInto ¶
func (in *FileStatus) DeepCopyInto(out *FileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SoftQuotaInitParameters ¶
type SoftQuotaInitParameters struct { // (Number) The limit in Bytes. Minimum value is 1000000 // The limit in Bytes. Minimum value is 1000000 Limit *float64 `json:"limit,omitempty" tf:"limit,omitempty"` // (String) The type to use such as spaceRemainingQuota, or spaceUsedQuota // The type to use such as spaceRemainingQuota, or spaceUsedQuota Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*SoftQuotaInitParameters) DeepCopy ¶
func (in *SoftQuotaInitParameters) DeepCopy() *SoftQuotaInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SoftQuotaInitParameters.
func (*SoftQuotaInitParameters) DeepCopyInto ¶
func (in *SoftQuotaInitParameters) DeepCopyInto(out *SoftQuotaInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SoftQuotaObservation ¶
type SoftQuotaObservation struct { // (Number) The limit in Bytes. Minimum value is 1000000 // The limit in Bytes. Minimum value is 1000000 Limit *float64 `json:"limit,omitempty" tf:"limit,omitempty"` // (String) The type to use such as spaceRemainingQuota, or spaceUsedQuota // The type to use such as spaceRemainingQuota, or spaceUsedQuota Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*SoftQuotaObservation) DeepCopy ¶
func (in *SoftQuotaObservation) DeepCopy() *SoftQuotaObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SoftQuotaObservation.
func (*SoftQuotaObservation) DeepCopyInto ¶
func (in *SoftQuotaObservation) DeepCopyInto(out *SoftQuotaObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SoftQuotaParameters ¶
type SoftQuotaParameters struct { // (Number) The limit in Bytes. Minimum value is 1000000 // The limit in Bytes. Minimum value is 1000000 // +kubebuilder:validation:Optional Limit *float64 `json:"limit" tf:"limit,omitempty"` // (String) The type to use such as spaceRemainingQuota, or spaceUsedQuota // The type to use such as spaceRemainingQuota, or spaceUsedQuota // +kubebuilder:validation:Optional Type *string `json:"type" tf:"type,omitempty"` }
func (*SoftQuotaParameters) DeepCopy ¶
func (in *SoftQuotaParameters) DeepCopy() *SoftQuotaParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SoftQuotaParameters.
func (*SoftQuotaParameters) DeepCopyInto ¶
func (in *SoftQuotaParameters) DeepCopyInto(out *SoftQuotaParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.