Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Sample resources of the Ceph provider. +kubebuilder:object:generate=true +groupName=provider-ceph.ceph.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BackendStatus
- type BackendStatuses
- type Bucket
- func (in *Bucket) DeepCopy() *Bucket
- func (in *Bucket) DeepCopyInto(out *Bucket)
- func (in *Bucket) DeepCopyObject() runtime.Object
- func (mg *Bucket) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Bucket) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Bucket) GetManagementPolicy() xpv1.ManagementPolicy
- func (mg *Bucket) GetProviderConfigReference() *xpv1.Reference
- func (mg *Bucket) GetProviderReference() *xpv1.Reference
- func (mg *Bucket) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Bucket) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Bucket) SetConditions(c ...xpv1.Condition)
- func (mg *Bucket) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Bucket) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (mg *Bucket) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Bucket) SetProviderReference(r *xpv1.Reference)
- func (mg *Bucket) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Bucket) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BucketList
- type BucketObservation
- type BucketParameters
- type BucketSpec
- type BucketStatus
Constants ¶
const ( Group = "provider-ceph.ceph.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( BucketKind = reflect.TypeOf(Bucket{}).Name() BucketGroupKind = schema.GroupKind{Group: Group, Kind: BucketKind}.String() BucketKindAPIVersion = BucketKind + "." + SchemeGroupVersion.String() BucketGroupVersionKind = SchemeGroupVersion.WithKind(BucketKind) )
Bucket type metadata.
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type BackendStatus ¶ added in v0.0.2
type BackendStatus string
const ( BackendReadyStatus BackendStatus = "Ready" BackendNotReadyStatus BackendStatus = "NotReady" )
type BackendStatuses ¶ added in v0.0.2
type BackendStatuses map[string]BackendStatus
func (BackendStatuses) DeepCopy ¶ added in v0.0.2
func (in BackendStatuses) DeepCopy() BackendStatuses
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendStatuses.
func (BackendStatuses) DeepCopyInto ¶ added in v0.0.2
func (in BackendStatuses) DeepCopyInto(out *BackendStatuses)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bucket ¶
type Bucket struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BucketSpec `json:"spec"` Status BucketStatus `json:"status,omitempty"` }
A Bucket is an example API type. +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,ceph}
func (*Bucket) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bucket.
func (*Bucket) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bucket) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Bucket) GetCondition ¶
func (mg *Bucket) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Bucket.
func (*Bucket) GetDeletionPolicy ¶
func (mg *Bucket) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Bucket.
func (*Bucket) GetManagementPolicy ¶
func (mg *Bucket) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Bucket.
func (*Bucket) GetProviderConfigReference ¶
GetProviderConfigReference of this Bucket.
func (*Bucket) GetProviderReference ¶
GetProviderReference of this Bucket. Deprecated: Use GetProviderConfigReference.
func (*Bucket) GetPublishConnectionDetailsTo ¶
func (mg *Bucket) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Bucket.
func (*Bucket) GetWriteConnectionSecretToReference ¶
func (mg *Bucket) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Bucket.
func (*Bucket) SetConditions ¶
SetConditions of this Bucket.
func (*Bucket) SetDeletionPolicy ¶
func (mg *Bucket) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Bucket.
func (*Bucket) SetManagementPolicy ¶
func (mg *Bucket) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Bucket.
func (*Bucket) SetProviderConfigReference ¶
SetProviderConfigReference of this Bucket.
func (*Bucket) SetProviderReference ¶
SetProviderReference of this Bucket. Deprecated: Use SetProviderConfigReference.
func (*Bucket) SetPublishConnectionDetailsTo ¶
func (mg *Bucket) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Bucket.
func (*Bucket) SetWriteConnectionSecretToReference ¶
func (mg *Bucket) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Bucket.
type BucketList ¶
type BucketList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Bucket `json:"items"` }
BucketList contains a list of Bucket
func (*BucketList) DeepCopy ¶
func (in *BucketList) DeepCopy() *BucketList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketList.
func (*BucketList) DeepCopyInto ¶
func (in *BucketList) DeepCopyInto(out *BucketList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BucketList) DeepCopyObject ¶
func (in *BucketList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BucketList) GetItems ¶
func (l *BucketList) GetItems() []resource.Managed
GetItems of this BucketList.
type BucketObservation ¶
type BucketObservation struct { ConfigurableField string `json:"configurableField"` ObservableField string `json:"observableField,omitempty"` // BackendStatuses is a map of the s3 backends on which the bucket // has been created and their update status. BackendStatuses BackendStatuses `json:"backendStatuses,omitempty"` }
BucketObservation are the observable fields of a Bucket.
func (*BucketObservation) DeepCopy ¶
func (in *BucketObservation) DeepCopy() *BucketObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketObservation.
func (*BucketObservation) DeepCopyInto ¶
func (in *BucketObservation) DeepCopyInto(out *BucketObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketParameters ¶
type BucketParameters struct { // The canned ACL to apply to the bucket. ACL *string `json:"acl,omitempty"` // Specifies the Region where the bucket will be created. LocationConstraint string `json:"locationConstraint,omitempty"` // Allows grantee the read, write, read ACP, and write ACP permissions on the // bucket. GrantFullControl *string `json:"grantFullControl,omitempty"` // Allows grantee to list the objects in the bucket. GrantRead *string `json:"grantRead,omitempty"` // Allows grantee to read the bucket ACL. GrantReadACP *string `json:"grantReadACP,omitempty"` // Allows grantee to create new objects in the bucket. // // For the bucket and object owners of existing objects, also allows deletions // and overwrites of those objects. GrantWrite *string `json:"grantWrite,omitempty"` // Allows grantee to write the ACL for the applicable bucket. GrantWriteACP *string `json:"grantWriteACP,omitempty"` // Specifies whether you want S3 Object Lock to be enabled for the new bucket. ObjectLockEnabledForBucket *bool `json:"objectLockEnabledForBucket,omitempty"` // The container element for object ownership for a bucket's ownership controls. // // BucketOwnerPreferred - Objects uploaded to the bucket change ownership to // the bucket owner if the objects are uploaded with the bucket-owner-full-control // canned ACL. // // ObjectWriter - The uploading account will own the object if the object is // uploaded with the bucket-owner-full-control canned ACL. // // BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer // affect permissions. The bucket owner automatically owns and has full control // over every object in the bucket. The bucket only accepts PUT requests that // don't specify an ACL or bucket owner full control ACLs, such as the bucket-owner-full-control // canned ACL or an equivalent form of this ACL expressed in the XML format. ObjectOwnership *string `json:"objectOwnership,omitempty"` }
BucketParameters are the configurable fields of a Bucket.
func (*BucketParameters) DeepCopy ¶
func (in *BucketParameters) DeepCopy() *BucketParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketParameters.
func (*BucketParameters) DeepCopyInto ¶
func (in *BucketParameters) DeepCopyInto(out *BucketParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketSpec ¶
type BucketSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider BucketParameters `json:"forProvider"` }
A BucketSpec defines the desired state of a Bucket.
func (*BucketSpec) DeepCopy ¶
func (in *BucketSpec) DeepCopy() *BucketSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketSpec.
func (*BucketSpec) DeepCopyInto ¶
func (in *BucketSpec) DeepCopyInto(out *BucketSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketStatus ¶
type BucketStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider BucketObservation `json:"atProvider,omitempty"` }
A BucketStatus represents the observed state of a Bucket.
func (*BucketStatus) DeepCopy ¶
func (in *BucketStatus) DeepCopy() *BucketStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketStatus.
func (*BucketStatus) DeepCopyInto ¶
func (in *BucketStatus) DeepCopyInto(out *BucketStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.