v1alpha1

package
v0.0.0-...-cb41746 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=blobstorefile.tuananh.net +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "blobstorefile.tuananh.net"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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.

View Source
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

func (in *File) DeepCopy() *File

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.

func (*File) DeepCopyInto

func (in *File) DeepCopyInto(out *File)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*File) DeepCopyObject

func (in *File) DeepCopyObject() runtime.Object

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

func (tr *File) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this File

func (*File) GetDeletionPolicy

func (mg *File) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this File.

func (*File) GetID

func (tr *File) GetID() string

GetID returns ID of underlying Terraform resource of this File

func (*File) GetInitParameters

func (tr *File) GetInitParameters() (map[string]any, error)

GetInitParameters of this File

func (*File) GetManagementPolicies

func (mg *File) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this File.

func (*File) GetObservation

func (tr *File) GetObservation() (map[string]any, error)

GetObservation of this File

func (*File) GetParameters

func (tr *File) GetParameters() (map[string]any, error)

GetParameters of this File

func (*File) GetProviderConfigReference

func (mg *File) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this File.

func (*File) GetPublishConnectionDetailsTo

func (mg *File) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this File.

func (*File) GetTerraformResourceType

func (mg *File) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this File

func (*File) GetTerraformSchemaVersion

func (tr *File) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*File) GetWriteConnectionSecretToReference

func (mg *File) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this File.

func (*File) LateInitialize

func (tr *File) LateInitialize(attrs []byte) (bool, error)

LateInitialize this File using its observed tfState. returns True if there are any spec changes for the resource.

func (*File) SetConditions

func (mg *File) SetConditions(c ...xpv1.Condition)

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

func (tr *File) SetObservation(obs map[string]any) error

SetObservation for this File

func (*File) SetParameters

func (tr *File) SetParameters(params map[string]any) error

SetParameters for this File

func (*File) SetProviderConfigReference

func (mg *File) SetProviderConfigReference(r *xpv1.Reference)

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

func (in *FileList) DeepCopy() *FileList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileList.

func (*FileList) DeepCopyInto

func (in *FileList) DeepCopyInto(out *FileList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FileList) DeepCopyObject

func (in *FileList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*FileList) GetItems

func (l *FileList) GetItems() []resource.Managed

GetItems of this FileList.

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

func (in *FileSpec) DeepCopy() *FileSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSpec.

func (*FileSpec) DeepCopyInto

func (in *FileSpec) DeepCopyInto(out *FileSpec)

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL