Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=ceph.rook.io
Copyright 2018 The Rook Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func GetCleanupAnnotations(a rook.AnnotationsSpec) rook.Annotations
- func GetCleanupLabels(a rook.LabelsSpec) rook.Labels
- func GetCleanupPlacement(p rookv1.PlacementSpec) rookv1.Placement
- func GetCleanupPriorityClassName(p rook.PriorityClassNamesSpec) string
- func GetCleanupResources(p rook.ResourceSpec) v1.ResourceRequirements
- func GetCrashCollectorResources(p rook.ResourceSpec) v1.ResourceRequirements
- func GetMgrAnnotations(a rook.AnnotationsSpec) rook.Annotations
- func GetMgrLabels(a rook.LabelsSpec) rook.Labels
- func GetMgrLivenessProbe(l CephClusterHealthCheckSpec) *corev1.Probe
- func GetMgrPlacement(p rookv1.PlacementSpec) rookv1.Placement
- func GetMgrPriorityClassName(p rook.PriorityClassNamesSpec) string
- func GetMgrResources(p rook.ResourceSpec) v1.ResourceRequirements
- func GetMonAnnotations(a rook.AnnotationsSpec) rook.Annotations
- func GetMonLabels(a rook.LabelsSpec) rook.Labels
- func GetMonLivenessProbe(l CephClusterHealthCheckSpec) *corev1.Probe
- func GetMonPlacement(p rookv1.PlacementSpec) rookv1.Placement
- func GetMonPriorityClassName(p rook.PriorityClassNamesSpec) string
- func GetMonResources(p rook.ResourceSpec) v1.ResourceRequirements
- func GetOSDAnnotations(a rook.AnnotationsSpec) rook.Annotations
- func GetOSDLabels(a rook.LabelsSpec) rook.Labels
- func GetOSDLivenessProbe(l CephClusterHealthCheckSpec) *corev1.Probe
- func GetOSDPlacement(p rookv1.PlacementSpec) rookv1.Placement
- func GetOSDPrepareAnnotations(a rook.AnnotationsSpec) rook.Annotations
- func GetOSDPrepareLabels(a rook.LabelsSpec) rook.Labels
- func GetOSDPriorityClassName(p rook.PriorityClassNamesSpec) string
- func GetOSDResources(p rook.ResourceSpec) v1.ResourceRequirements
- func GetPrepareOSDResources(p rook.ResourceSpec) v1.ResourceRequirements
- func Resource(resource string) schema.GroupResource
- func ValidatePoolSpecs(ps PoolSpec) error
- type BucketHealthCheckSpec
- type BucketStatus
- type CephBlockPool
- func (in *CephBlockPool) DeepCopy() *CephBlockPool
- func (in *CephBlockPool) DeepCopyInto(out *CephBlockPool)
- func (in *CephBlockPool) DeepCopyObject() runtime.Object
- func (p *CephBlockPool) ValidateCreate() error
- func (p *CephBlockPool) ValidateDelete() error
- func (p *CephBlockPool) ValidateUpdate(old runtime.Object) error
- type CephBlockPoolList
- type CephClient
- type CephClientList
- type CephCluster
- func (in *CephCluster) DeepCopy() *CephCluster
- func (in *CephCluster) DeepCopyInto(out *CephCluster)
- func (in *CephCluster) DeepCopyObject() runtime.Object
- func (c *CephCluster) ValidateCreate() error
- func (c *CephCluster) ValidateDelete() error
- func (c *CephCluster) ValidateUpdate(old runtime.Object) error
- type CephClusterHealthCheckSpec
- type CephClusterList
- type CephFilesystem
- type CephFilesystemList
- type CephHealthMessage
- type CephNFS
- type CephNFSList
- type CephObjectRealm
- type CephObjectRealmList
- type CephObjectStore
- type CephObjectStoreList
- type CephObjectStoreUser
- type CephObjectStoreUserList
- type CephObjectZone
- type CephObjectZoneGroup
- type CephObjectZoneGroupList
- type CephObjectZoneList
- type CephRBDMirror
- type CephRBDMirrorList
- type CephStatus
- type CephStorage
- type CephVersionSpec
- type CleanupConfirmationProperty
- type CleanupPolicySpec
- type ClientSpec
- type ClusterSpec
- type ClusterState
- type ClusterStatus
- type ClusterVersion
- type Condition
- type ConditionType
- type CrashCollectorSpec
- type DaemonHealthSpec
- type DashboardSpec
- type DeviceClasses
- type DisruptionManagementSpec
- type DriveGroup
- type DriveGroupSpec
- type DriveGroupsSpec
- type ErasureCodedSpec
- type ExternalSpec
- type FilesystemSpec
- type GaneshaRADOSSpec
- type GaneshaServerSpec
- type GatewaySpec
- type HealthCheckSpec
- type IPFamilyType
- type MetadataServerSpec
- type MgrSpec
- type Module
- type MonSpec
- type MonitoringSpec
- type NFSGaneshaSpec
- type NetworkSpec
- type ObjectRealmSpec
- type ObjectStoreSpec
- type ObjectStoreStatus
- type ObjectStoreUserSpec
- type ObjectStoreUserStatus
- type ObjectZoneGroupSpec
- type ObjectZoneSpec
- type PoolSpec
- type PullSpec
- type RBDMirroringSpec
- type ReplicatedSpec
- type SanitizeDataSourceProperty
- type SanitizeDisksSpec
- type SanitizeMethodProperty
- type Status
- type ZoneSpec
Constants ¶
const ( // SanitizeDataSourceZero uses /dev/zero as sanitize source SanitizeDataSourceZero SanitizeDataSourceProperty = "zero" // SanitizeDataSourceRandom uses `shred's default entropy source SanitizeDataSourceRandom SanitizeDataSourceProperty = "random" // SanitizeMethodComplete will sanitize everything on the disk SanitizeMethodComplete SanitizeMethodProperty = "complete" // SanitizeMethodQuick will sanitize metdata only on the disk SanitizeMethodQuick SanitizeMethodProperty = "quick" // DeleteDataDirOnHostsConfirmation represents the validation to destry dataDirHostPath DeleteDataDirOnHostsConfirmation CleanupConfirmationProperty = "yes-really-destroy-data" )
const ( KeyMon rook.KeyType = "mon" KeyMgr rook.KeyType = "mgr" KeyOSDPrepare rook.KeyType = "prepareosd" KeyOSD rook.KeyType = "osd" KeyCleanup rook.KeyType = "cleanup" )
const ( CustomResourceGroup = "ceph.rook.io" Version = "v1" )
const ( // ResourcesKeyMon represents the name of resource in the CR for a mon ResourcesKeyMon = "mon" // ResourcesKeyMgr represents the name of resource in the CR for a mgr ResourcesKeyMgr = "mgr" // ResourcesKeyOSD represents the name of resource in the CR for an osd ResourcesKeyOSD = "osd" // ResourcesKeyPrepareOSD represents the name of resource in the CR for the osd prepare job ResourcesKeyPrepareOSD = "prepareosd" // ResourcesKeyMDS represents the name of resource in the CR for the mds ResourcesKeyMDS = "mds" // ResourcesKeyCrashCollector represents the name of resource in the CR for the crash ResourcesKeyCrashCollector = "crashcollector" // ResourcesKeyRBDMirror represents the name of resource in the CR for the rbd mirror ResourcesKeyRBDMirror = "rbdmirror" // ResourcesKeyCleanup represents the name of resource in the CR for the cleanup ResourcesKeyCleanup = "cleanup" )
Variables ¶
var ( // SchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: cephrookio.CustomResourceGroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func GetCleanupAnnotations ¶ added in v1.3.5
func GetCleanupAnnotations(a rook.AnnotationsSpec) rook.Annotations
GetCleanupAnnotations returns the Annotations for the cleanup job
func GetCleanupLabels ¶ added in v1.4.2
func GetCleanupLabels(a rook.LabelsSpec) rook.Labels
GetCleanupLabels returns the Labels for the cleanup job
func GetCleanupPlacement ¶ added in v1.3.5
func GetCleanupPlacement(p rookv1.PlacementSpec) rookv1.Placement
GetCleanupPlacement returns the placement the cleanup job
func GetCleanupPriorityClassName ¶ added in v1.3.5
func GetCleanupPriorityClassName(p rook.PriorityClassNamesSpec) string
GetCleanupPriorityClassName returns the priority class name for the cleanup job
func GetCleanupResources ¶ added in v1.3.5
func GetCleanupResources(p rook.ResourceSpec) v1.ResourceRequirements
GetCleanupResources returns the placement for the cleanup job
func GetCrashCollectorResources ¶ added in v1.2.0
func GetCrashCollectorResources(p rook.ResourceSpec) v1.ResourceRequirements
GetCrashCollectorResources returns the placement for the crash daemon
func GetMgrAnnotations ¶ added in v1.0.0
func GetMgrAnnotations(a rook.AnnotationsSpec) rook.Annotations
GetMgrAnnotations returns the Annotations for the MGR service
func GetMgrLabels ¶ added in v1.4.2
func GetMgrLabels(a rook.LabelsSpec) rook.Labels
GetMgrLabels returns the Labels for the MGR service
func GetMgrLivenessProbe ¶ added in v1.4.0
func GetMgrLivenessProbe(l CephClusterHealthCheckSpec) *corev1.Probe
GetMgrLivenessProbe returns the liveness probe for the MGR service
func GetMgrPlacement ¶
func GetMgrPlacement(p rookv1.PlacementSpec) rookv1.Placement
GetMgrPlacement returns the placement for the MGR service
func GetMgrPriorityClassName ¶ added in v1.2.0
func GetMgrPriorityClassName(p rook.PriorityClassNamesSpec) string
GetMgrPriorityClassName returns the priority class name for the MGR service
func GetMgrResources ¶
func GetMgrResources(p rook.ResourceSpec) v1.ResourceRequirements
GetMgrResources returns the placement for the MGR service
func GetMonAnnotations ¶ added in v1.0.0
func GetMonAnnotations(a rook.AnnotationsSpec) rook.Annotations
GetMonAnnotations returns the Annotations for the MON service
func GetMonLabels ¶ added in v1.4.2
func GetMonLabels(a rook.LabelsSpec) rook.Labels
GetMonLabels returns the Labels for the MON service
func GetMonLivenessProbe ¶ added in v1.4.0
func GetMonLivenessProbe(l CephClusterHealthCheckSpec) *corev1.Probe
GetMonLivenessProbe returns the liveness probe for the MON service
func GetMonPlacement ¶
func GetMonPlacement(p rookv1.PlacementSpec) rookv1.Placement
GetMonPlacement returns the placement for the MON service
func GetMonPriorityClassName ¶ added in v1.2.0
func GetMonPriorityClassName(p rook.PriorityClassNamesSpec) string
GetMonPriorityClassName returns the priority class name for the monitors
func GetMonResources ¶
func GetMonResources(p rook.ResourceSpec) v1.ResourceRequirements
GetMonResources returns the placement for the monitors
func GetOSDAnnotations ¶ added in v1.0.0
func GetOSDAnnotations(a rook.AnnotationsSpec) rook.Annotations
GetOSDAnnotations returns the annotations for the OSD service
func GetOSDLabels ¶ added in v1.4.2
func GetOSDLabels(a rook.LabelsSpec) rook.Labels
GetOSDLabels returns the Labels for the OSD service
func GetOSDLivenessProbe ¶ added in v1.4.0
func GetOSDLivenessProbe(l CephClusterHealthCheckSpec) *corev1.Probe
GetOSDLivenessProbe returns the liveness probe for the OSD service
func GetOSDPlacement ¶
func GetOSDPlacement(p rookv1.PlacementSpec) rookv1.Placement
GetOSDPlacement returns the placement for the OSD service
func GetOSDPrepareAnnotations ¶ added in v1.4.2
func GetOSDPrepareAnnotations(a rook.AnnotationsSpec) rook.Annotations
GetOSDPrepareAnnotations returns the annotations for the OSD service
func GetOSDPrepareLabels ¶ added in v1.4.2
func GetOSDPrepareLabels(a rook.LabelsSpec) rook.Labels
GetOSDPrepareLabels returns the Labels for the OSD prepare job
func GetOSDPriorityClassName ¶ added in v1.2.0
func GetOSDPriorityClassName(p rook.PriorityClassNamesSpec) string
GetOSDPriorityClassName returns the priority class name for the OSDs
func GetOSDResources ¶
func GetOSDResources(p rook.ResourceSpec) v1.ResourceRequirements
GetOSDResources returns the placement for the OSDs
func GetPrepareOSDResources ¶ added in v1.1.3
func GetPrepareOSDResources(p rook.ResourceSpec) v1.ResourceRequirements
GetPrepareOSDResources returns the placement for the OSDs prepare job
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
func ValidatePoolSpecs ¶ added in v1.4.0
Types ¶
type BucketHealthCheckSpec ¶ added in v1.4.0
type BucketHealthCheckSpec struct { Bucket HealthCheckSpec `json:"bucket,omitempty"` LivenessProbe *rookv1.ProbeSpec `json:"livenessProbe,omitempty"` }
func (*BucketHealthCheckSpec) DeepCopy ¶ added in v1.4.0
func (in *BucketHealthCheckSpec) DeepCopy() *BucketHealthCheckSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketHealthCheckSpec.
func (*BucketHealthCheckSpec) DeepCopyInto ¶ added in v1.4.0
func (in *BucketHealthCheckSpec) DeepCopyInto(out *BucketHealthCheckSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BucketStatus ¶ added in v1.4.0
type BucketStatus struct { Health ConditionType `json:"health,omitempty"` Details string `json:"details,omitempty"` LastChecked string `json:"lastChecked,omitempty"` LastChanged string `json:"lastChanged,omitempty"` }
func (*BucketStatus) DeepCopy ¶ added in v1.4.0
func (in *BucketStatus) DeepCopy() *BucketStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BucketStatus.
func (*BucketStatus) DeepCopyInto ¶ added in v1.4.0
func (in *BucketStatus) DeepCopyInto(out *BucketStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CephBlockPool ¶
type CephBlockPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec PoolSpec `json:"spec"` Status *Status `json:"status"` }
func (*CephBlockPool) DeepCopy ¶
func (in *CephBlockPool) DeepCopy() *CephBlockPool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephBlockPool.
func (*CephBlockPool) DeepCopyInto ¶
func (in *CephBlockPool) DeepCopyInto(out *CephBlockPool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephBlockPool) DeepCopyObject ¶
func (in *CephBlockPool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CephBlockPool) ValidateCreate ¶ added in v1.4.0
func (p *CephBlockPool) ValidateCreate() error
func (*CephBlockPool) ValidateDelete ¶ added in v1.4.0
func (p *CephBlockPool) ValidateDelete() error
func (*CephBlockPool) ValidateUpdate ¶ added in v1.4.0
func (p *CephBlockPool) ValidateUpdate(old runtime.Object) error
type CephBlockPoolList ¶
type CephBlockPoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephBlockPool `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CephBlockPoolList) DeepCopy ¶
func (in *CephBlockPoolList) DeepCopy() *CephBlockPoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephBlockPoolList.
func (*CephBlockPoolList) DeepCopyInto ¶
func (in *CephBlockPoolList) DeepCopyInto(out *CephBlockPoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephBlockPoolList) DeepCopyObject ¶
func (in *CephBlockPoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephClient ¶ added in v1.2.0
type CephClient struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ClientSpec `json:"spec"` }
func (*CephClient) DeepCopy ¶ added in v1.2.0
func (in *CephClient) DeepCopy() *CephClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephClient.
func (*CephClient) DeepCopyInto ¶ added in v1.2.0
func (in *CephClient) DeepCopyInto(out *CephClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephClient) DeepCopyObject ¶ added in v1.2.0
func (in *CephClient) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephClientList ¶ added in v1.2.0
type CephClientList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephClient `json:"items"` }
func (*CephClientList) DeepCopy ¶ added in v1.2.0
func (in *CephClientList) DeepCopy() *CephClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephClientList.
func (*CephClientList) DeepCopyInto ¶ added in v1.2.0
func (in *CephClientList) DeepCopyInto(out *CephClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephClientList) DeepCopyObject ¶ added in v1.2.0
func (in *CephClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephCluster ¶
type CephCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status,omitempty"` }
func (*CephCluster) DeepCopy ¶
func (in *CephCluster) DeepCopy() *CephCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephCluster.
func (*CephCluster) DeepCopyInto ¶
func (in *CephCluster) DeepCopyInto(out *CephCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephCluster) DeepCopyObject ¶
func (in *CephCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CephCluster) ValidateCreate ¶ added in v1.4.0
func (c *CephCluster) ValidateCreate() error
func (*CephCluster) ValidateDelete ¶ added in v1.4.0
func (c *CephCluster) ValidateDelete() error
func (*CephCluster) ValidateUpdate ¶ added in v1.4.0
func (c *CephCluster) ValidateUpdate(old runtime.Object) error
type CephClusterHealthCheckSpec ¶ added in v1.4.0
type CephClusterHealthCheckSpec struct { DaemonHealth DaemonHealthSpec `json:"daemonHealth,omitempty"` LivenessProbe map[rookv1.KeyType]*rookv1.ProbeSpec `json:"livenessProbe,omitempty"` }
func (*CephClusterHealthCheckSpec) DeepCopy ¶ added in v1.4.0
func (in *CephClusterHealthCheckSpec) DeepCopy() *CephClusterHealthCheckSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephClusterHealthCheckSpec.
func (*CephClusterHealthCheckSpec) DeepCopyInto ¶ added in v1.4.0
func (in *CephClusterHealthCheckSpec) DeepCopyInto(out *CephClusterHealthCheckSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CephClusterList ¶
type CephClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephCluster `json:"items"` }
func (*CephClusterList) DeepCopy ¶
func (in *CephClusterList) DeepCopy() *CephClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephClusterList.
func (*CephClusterList) DeepCopyInto ¶
func (in *CephClusterList) DeepCopyInto(out *CephClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephClusterList) DeepCopyObject ¶
func (in *CephClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephFilesystem ¶
type CephFilesystem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec FilesystemSpec `json:"spec"` Status *Status `json:"status"` }
func (*CephFilesystem) DeepCopy ¶
func (in *CephFilesystem) DeepCopy() *CephFilesystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFilesystem.
func (*CephFilesystem) DeepCopyInto ¶
func (in *CephFilesystem) DeepCopyInto(out *CephFilesystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephFilesystem) DeepCopyObject ¶
func (in *CephFilesystem) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephFilesystemList ¶
type CephFilesystemList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephFilesystem `json:"items"` }
func (*CephFilesystemList) DeepCopy ¶
func (in *CephFilesystemList) DeepCopy() *CephFilesystemList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFilesystemList.
func (*CephFilesystemList) DeepCopyInto ¶
func (in *CephFilesystemList) DeepCopyInto(out *CephFilesystemList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephFilesystemList) DeepCopyObject ¶
func (in *CephFilesystemList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephHealthMessage ¶ added in v1.0.0
func (*CephHealthMessage) DeepCopy ¶ added in v1.0.0
func (in *CephHealthMessage) DeepCopy() *CephHealthMessage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephHealthMessage.
func (*CephHealthMessage) DeepCopyInto ¶ added in v1.0.0
func (in *CephHealthMessage) DeepCopyInto(out *CephHealthMessage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CephNFS ¶ added in v1.0.0
type CephNFS struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec NFSGaneshaSpec `json:"spec"` Status *Status `json:"status"` }
func (*CephNFS) DeepCopy ¶ added in v1.0.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephNFS.
func (*CephNFS) DeepCopyInto ¶ added in v1.0.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephNFS) DeepCopyObject ¶ added in v1.0.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephNFSList ¶ added in v1.0.0
type CephNFSList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephNFS `json:"items"` }
func (*CephNFSList) DeepCopy ¶ added in v1.0.0
func (in *CephNFSList) DeepCopy() *CephNFSList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephNFSList.
func (*CephNFSList) DeepCopyInto ¶ added in v1.0.0
func (in *CephNFSList) DeepCopyInto(out *CephNFSList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephNFSList) DeepCopyObject ¶ added in v1.0.0
func (in *CephNFSList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephObjectRealm ¶ added in v1.4.0
type CephObjectRealm struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ObjectRealmSpec `json:"spec"` Status *Status `json:"status"` }
func (*CephObjectRealm) DeepCopy ¶ added in v1.4.0
func (in *CephObjectRealm) DeepCopy() *CephObjectRealm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephObjectRealm.
func (*CephObjectRealm) DeepCopyInto ¶ added in v1.4.0
func (in *CephObjectRealm) DeepCopyInto(out *CephObjectRealm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephObjectRealm) DeepCopyObject ¶ added in v1.4.0
func (in *CephObjectRealm) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephObjectRealmList ¶ added in v1.4.0
type CephObjectRealmList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephObjectRealm `json:"items"` }
func (*CephObjectRealmList) DeepCopy ¶ added in v1.4.0
func (in *CephObjectRealmList) DeepCopy() *CephObjectRealmList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephObjectRealmList.
func (*CephObjectRealmList) DeepCopyInto ¶ added in v1.4.0
func (in *CephObjectRealmList) DeepCopyInto(out *CephObjectRealmList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephObjectRealmList) DeepCopyObject ¶ added in v1.4.0
func (in *CephObjectRealmList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephObjectStore ¶
type CephObjectStore struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ObjectStoreSpec `json:"spec"` Status *ObjectStoreStatus `json:"status"` }
func (*CephObjectStore) DeepCopy ¶
func (in *CephObjectStore) DeepCopy() *CephObjectStore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephObjectStore.
func (*CephObjectStore) DeepCopyInto ¶
func (in *CephObjectStore) DeepCopyInto(out *CephObjectStore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephObjectStore) DeepCopyObject ¶
func (in *CephObjectStore) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephObjectStoreList ¶
type CephObjectStoreList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephObjectStore `json:"items"` }
func (*CephObjectStoreList) DeepCopy ¶
func (in *CephObjectStoreList) DeepCopy() *CephObjectStoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephObjectStoreList.
func (*CephObjectStoreList) DeepCopyInto ¶
func (in *CephObjectStoreList) DeepCopyInto(out *CephObjectStoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephObjectStoreList) DeepCopyObject ¶
func (in *CephObjectStoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephObjectStoreUser ¶
type CephObjectStoreUser struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ObjectStoreUserSpec `json:"spec"` Status *ObjectStoreUserStatus `json:"status"` }
func (*CephObjectStoreUser) DeepCopy ¶
func (in *CephObjectStoreUser) DeepCopy() *CephObjectStoreUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephObjectStoreUser.
func (*CephObjectStoreUser) DeepCopyInto ¶
func (in *CephObjectStoreUser) DeepCopyInto(out *CephObjectStoreUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephObjectStoreUser) DeepCopyObject ¶
func (in *CephObjectStoreUser) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephObjectStoreUserList ¶
type CephObjectStoreUserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephObjectStoreUser `json:"items"` }
func (*CephObjectStoreUserList) DeepCopy ¶
func (in *CephObjectStoreUserList) DeepCopy() *CephObjectStoreUserList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephObjectStoreUserList.
func (*CephObjectStoreUserList) DeepCopyInto ¶
func (in *CephObjectStoreUserList) DeepCopyInto(out *CephObjectStoreUserList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephObjectStoreUserList) DeepCopyObject ¶
func (in *CephObjectStoreUserList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephObjectZone ¶ added in v1.4.0
type CephObjectZone struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ObjectZoneSpec `json:"spec"` Status *Status `json:"status"` }
func (*CephObjectZone) DeepCopy ¶ added in v1.4.0
func (in *CephObjectZone) DeepCopy() *CephObjectZone
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephObjectZone.
func (*CephObjectZone) DeepCopyInto ¶ added in v1.4.0
func (in *CephObjectZone) DeepCopyInto(out *CephObjectZone)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephObjectZone) DeepCopyObject ¶ added in v1.4.0
func (in *CephObjectZone) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephObjectZoneGroup ¶ added in v1.4.0
type CephObjectZoneGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ObjectZoneGroupSpec `json:"spec"` Status *Status `json:"status"` }
func (*CephObjectZoneGroup) DeepCopy ¶ added in v1.4.0
func (in *CephObjectZoneGroup) DeepCopy() *CephObjectZoneGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephObjectZoneGroup.
func (*CephObjectZoneGroup) DeepCopyInto ¶ added in v1.4.0
func (in *CephObjectZoneGroup) DeepCopyInto(out *CephObjectZoneGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephObjectZoneGroup) DeepCopyObject ¶ added in v1.4.0
func (in *CephObjectZoneGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephObjectZoneGroupList ¶ added in v1.4.0
type CephObjectZoneGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephObjectZoneGroup `json:"items"` }
func (*CephObjectZoneGroupList) DeepCopy ¶ added in v1.4.0
func (in *CephObjectZoneGroupList) DeepCopy() *CephObjectZoneGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephObjectZoneGroupList.
func (*CephObjectZoneGroupList) DeepCopyInto ¶ added in v1.4.0
func (in *CephObjectZoneGroupList) DeepCopyInto(out *CephObjectZoneGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephObjectZoneGroupList) DeepCopyObject ¶ added in v1.4.0
func (in *CephObjectZoneGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephObjectZoneList ¶ added in v1.4.0
type CephObjectZoneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephObjectZone `json:"items"` }
func (*CephObjectZoneList) DeepCopy ¶ added in v1.4.0
func (in *CephObjectZoneList) DeepCopy() *CephObjectZoneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephObjectZoneList.
func (*CephObjectZoneList) DeepCopyInto ¶ added in v1.4.0
func (in *CephObjectZoneList) DeepCopyInto(out *CephObjectZoneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephObjectZoneList) DeepCopyObject ¶ added in v1.4.0
func (in *CephObjectZoneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephRBDMirror ¶ added in v1.4.0
type CephRBDMirror struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec RBDMirroringSpec `json:"spec"` Status *Status `json:"status"` }
func (*CephRBDMirror) DeepCopy ¶ added in v1.4.0
func (in *CephRBDMirror) DeepCopy() *CephRBDMirror
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephRBDMirror.
func (*CephRBDMirror) DeepCopyInto ¶ added in v1.4.0
func (in *CephRBDMirror) DeepCopyInto(out *CephRBDMirror)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephRBDMirror) DeepCopyObject ¶ added in v1.4.0
func (in *CephRBDMirror) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephRBDMirrorList ¶ added in v1.4.0
type CephRBDMirrorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CephRBDMirror `json:"items"` }
func (*CephRBDMirrorList) DeepCopy ¶ added in v1.4.0
func (in *CephRBDMirrorList) DeepCopy() *CephRBDMirrorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephRBDMirrorList.
func (*CephRBDMirrorList) DeepCopyInto ¶ added in v1.4.0
func (in *CephRBDMirrorList) DeepCopyInto(out *CephRBDMirrorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CephRBDMirrorList) DeepCopyObject ¶ added in v1.4.0
func (in *CephRBDMirrorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CephStatus ¶ added in v1.0.0
type CephStatus struct { Health string `json:"health,omitempty"` Details map[string]CephHealthMessage `json:"details,omitempty"` LastChecked string `json:"lastChecked,omitempty"` LastChanged string `json:"lastChanged,omitempty"` PreviousHealth string `json:"previousHealth,omitempty"` }
func (*CephStatus) DeepCopy ¶ added in v1.0.0
func (in *CephStatus) DeepCopy() *CephStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephStatus.
func (*CephStatus) DeepCopyInto ¶ added in v1.0.0
func (in *CephStatus) DeepCopyInto(out *CephStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CephStorage ¶ added in v1.4.0
type CephStorage struct {
DeviceClasses []DeviceClasses `json:"deviceClasses,omitempty"`
}
func (*CephStorage) DeepCopy ¶ added in v1.4.0
func (in *CephStorage) DeepCopy() *CephStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephStorage.
func (*CephStorage) DeepCopyInto ¶ added in v1.4.0
func (in *CephStorage) DeepCopyInto(out *CephStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CephVersionSpec ¶
type CephVersionSpec struct { // Image is the container image used to launch the ceph daemons, such as ceph/ceph:v15.2.4 Image string `json:"image,omitempty"` // Whether to allow unsupported versions (do not set to true in production) AllowUnsupported bool `json:"allowUnsupported,omitempty"` }
VersionSpec represents the settings for the Ceph version that Rook is orchestrating.
func (*CephVersionSpec) DeepCopy ¶
func (in *CephVersionSpec) DeepCopy() *CephVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephVersionSpec.
func (*CephVersionSpec) DeepCopyInto ¶
func (in *CephVersionSpec) DeepCopyInto(out *CephVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CleanupConfirmationProperty ¶ added in v1.3.5
type CleanupConfirmationProperty string
type CleanupPolicySpec ¶ added in v1.3.0
type CleanupPolicySpec struct { Confirmation CleanupConfirmationProperty `json:"confirmation,omitempty"` SanitizeDisks SanitizeDisksSpec `json:"sanitizeDisks"` AllowUninstallWithVolumes bool `json:"allowUninstallWithVolumes,omitempty"` }
func (*CleanupPolicySpec) DeepCopy ¶ added in v1.3.0
func (in *CleanupPolicySpec) DeepCopy() *CleanupPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CleanupPolicySpec.
func (*CleanupPolicySpec) DeepCopyInto ¶ added in v1.3.0
func (in *CleanupPolicySpec) DeepCopyInto(out *CleanupPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CleanupPolicySpec) HasDataDirCleanPolicy ¶ added in v1.3.5
func (c *CleanupPolicySpec) HasDataDirCleanPolicy() bool
HasDataDirCleanPolicy returns whether the cluster has a data dir policy
type ClientSpec ¶ added in v1.2.0
func (*ClientSpec) DeepCopy ¶ added in v1.2.0
func (in *ClientSpec) DeepCopy() *ClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSpec.
func (*ClientSpec) DeepCopyInto ¶ added in v1.2.0
func (in *ClientSpec) DeepCopyInto(out *ClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct { // The version information that instructs Rook to orchestrate a particular version of Ceph. CephVersion CephVersionSpec `json:"cephVersion,omitempty"` // Ceph Drive Groups specification for how storage should be used in the cluster, given // precedent over the Storage spec. DriveGroups DriveGroupsSpec `json:"driveGroups,omitempty"` // A spec for available storage in the cluster and how it should be used Storage rookv1.StorageScopeSpec `json:"storage,omitempty"` // The annotations-related configuration to add/set on each Pod related object. Annotations rookv1.AnnotationsSpec `json:"annotations,omitempty"` // The labels-related configuration to add/set on each Pod related object. Labels rookv1.LabelsSpec `json:"labels,omitempty"` // The placement-related configuration to pass to kubernetes (affinity, node selector, tolerations). Placement rookv1.PlacementSpec `json:"placement,omitempty"` // Network related configuration Network NetworkSpec `json:"network,omitempty"` // Resources set resource requests and limits Resources rookv1.ResourceSpec `json:"resources,omitempty"` // PriorityClassNames sets priority classes on components PriorityClassNames rookv1.PriorityClassNamesSpec `json:"priorityClassNames,omitempty"` // The path on the host where config and data can be persisted. DataDirHostPath string `json:"dataDirHostPath,omitempty"` // SkipUpgradeChecks defines if an upgrade should be forced even if one of the check fails SkipUpgradeChecks bool `json:"skipUpgradeChecks,omitempty"` // ContinueUpgradeAfterChecksEvenIfNotHealthy defines if an upgrade should continue even if PGs are not clean ContinueUpgradeAfterChecksEvenIfNotHealthy bool `json:"continueUpgradeAfterChecksEvenIfNotHealthy,omitempty"` // A spec for configuring disruption management. DisruptionManagement DisruptionManagementSpec `json:"disruptionManagement,omitempty"` // A spec for mon related options Mon MonSpec `json:"mon,omitempty"` // A spec for the crash controller CrashCollector CrashCollectorSpec `json:"crashCollector"` // Dashboard settings Dashboard DashboardSpec `json:"dashboard,omitempty"` // Prometheus based Monitoring settings Monitoring MonitoringSpec `json:"monitoring,omitempty"` // Whether the Ceph Cluster is running external to this Kubernetes cluster // mon, mgr, osd, mds, and discover daemons will not be created for external clusters. External ExternalSpec `json:"external"` // A spec for mgr related options Mgr MgrSpec `json:"mgr,omitempty"` // Remove the OSD that is out and safe to remove only if this option is true RemoveOSDsIfOutAndSafeToRemove bool `json:"removeOSDsIfOutAndSafeToRemove"` // Indicates user intent when deleting a cluster; blocks orchestration and should not be set if cluster // deletion is not imminent. CleanupPolicy CleanupPolicySpec `json:"cleanupPolicy,omitempty"` // Internal daemon healthchecks and liveness probe HealthCheck CephClusterHealthCheckSpec `json:"healthCheck"` }
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterState ¶
type ClusterState string
const ( ClusterStateCreating ClusterState = "Creating" ClusterStateCreated ClusterState = "Created" ClusterStateUpdating ClusterState = "Updating" ClusterStateConnecting ClusterState = "Connecting" ClusterStateConnected ClusterState = "Connected" ClusterStateError ClusterState = "Error" )
type ClusterStatus ¶
type ClusterStatus struct { State ClusterState `json:"state,omitempty"` Phase ConditionType `json:"phase,omitempty"` Message string `json:"message,omitempty"` Conditions []Condition `json:"conditions,omitempty"` CephStatus *CephStatus `json:"ceph,omitempty"` CephStorage *CephStorage `json:"storage,omitempty"` CephVersion *ClusterVersion `json:"version,omitempty"` }
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVersion ¶ added in v1.2.3
type ClusterVersion struct { Image string `json:"image,omitempty"` Version string `json:"version,omitempty"` }
func (*ClusterVersion) DeepCopy ¶ added in v1.2.3
func (in *ClusterVersion) DeepCopy() *ClusterVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVersion.
func (*ClusterVersion) DeepCopyInto ¶ added in v1.2.3
func (in *ClusterVersion) DeepCopyInto(out *ClusterVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶ added in v1.3.0
type Condition struct { Type ConditionType `json:"type,omitempty"` Status v1.ConditionStatus `json:"status,omitempty"` Reason string `json:"reason,omitempty"` Message string `json:"message,omitempty"` LastHeartbeatTime metav1.Time `json:"lastHeartbeatTime,omitempty"` LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` }
func (*Condition) DeepCopy ¶ added in v1.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶ added in v1.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionType ¶ added in v1.3.0
type ConditionType string
const ( ConditionIgnored ConditionType = "Ignored" ConditionConnecting ConditionType = "Connecting" ConditionConnected ConditionType = "Connected" ConditionProgressing ConditionType = "Progressing" ConditionReady ConditionType = "Ready" ConditionUpdating ConditionType = "Updating" ConditionFailure ConditionType = "Failure" ConditionUpgrading ConditionType = "Upgrading" ConditionDeleting ConditionType = "Deleting" // DefaultFailureDomain for PoolSpec DefaultFailureDomain = "host" )
type CrashCollectorSpec ¶ added in v1.2.2
type CrashCollectorSpec struct {
Disable bool `json:"disable"`
}
CrashCollectorSpec represents options to configure the crash controller
func (*CrashCollectorSpec) DeepCopy ¶ added in v1.2.2
func (in *CrashCollectorSpec) DeepCopy() *CrashCollectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrashCollectorSpec.
func (*CrashCollectorSpec) DeepCopyInto ¶ added in v1.2.2
func (in *CrashCollectorSpec) DeepCopyInto(out *CrashCollectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DaemonHealthSpec ¶ added in v1.4.0
type DaemonHealthSpec struct { Status HealthCheckSpec `json:"status,omitempty"` Monitor HealthCheckSpec `json:"mon,omitempty"` ObjectStorageDaemon HealthCheckSpec `json:"osd,omitempty"` }
func (*DaemonHealthSpec) DeepCopy ¶ added in v1.4.0
func (in *DaemonHealthSpec) DeepCopy() *DaemonHealthSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonHealthSpec.
func (*DaemonHealthSpec) DeepCopyInto ¶ added in v1.4.0
func (in *DaemonHealthSpec) DeepCopyInto(out *DaemonHealthSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardSpec ¶
type DashboardSpec struct { // Whether to enable the dashboard Enabled bool `json:"enabled,omitempty"` // A prefix for all URLs to use the dashboard with a reverse proxy UrlPrefix string `json:"urlPrefix,omitempty"` // The dashboard webserver port Port int `json:"port,omitempty"` // Whether SSL should be used SSL bool `json:"ssl,omitempty"` }
DashboardSpec represents the settings for the Ceph dashboard
func (*DashboardSpec) DeepCopy ¶
func (in *DashboardSpec) DeepCopy() *DashboardSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardSpec.
func (*DashboardSpec) DeepCopyInto ¶
func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceClasses ¶ added in v1.4.0
type DeviceClasses struct {
Name string `json:"name,omitempty"`
}
func (*DeviceClasses) DeepCopy ¶ added in v1.4.0
func (in *DeviceClasses) DeepCopy() *DeviceClasses
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceClasses.
func (*DeviceClasses) DeepCopyInto ¶ added in v1.4.0
func (in *DeviceClasses) DeepCopyInto(out *DeviceClasses)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DisruptionManagementSpec ¶ added in v1.1.0
type DisruptionManagementSpec struct { // This enables management of poddisruptionbudgets ManagePodBudgets bool `json:"managePodBudgets,omitempty"` // OSDMaintenanceTimeout sets how many additional minutes the DOWN/OUT interval is for drained failure domains // it only works if managePodBudgetss is true. // the default is 30 minutes OSDMaintenanceTimeout time.Duration `json:"osdMaintenanceTimeout,omitempty"` // This enables management of machinedisruptionbudgets ManageMachineDisruptionBudgets bool `json:"manageMachineDisruptionBudgets,omitempty"` // Namespace to look for MDBs by the machineDisruptionBudgetController MachineDisruptionBudgetNamespace string `json:"machineDisruptionBudgetNamespace,omitempty"` }
DisruptionManagementSpec configures management of daemon disruptions
func (*DisruptionManagementSpec) DeepCopy ¶ added in v1.1.0
func (in *DisruptionManagementSpec) DeepCopy() *DisruptionManagementSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisruptionManagementSpec.
func (*DisruptionManagementSpec) DeepCopyInto ¶ added in v1.1.0
func (in *DisruptionManagementSpec) DeepCopyInto(out *DisruptionManagementSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DriveGroup ¶ added in v1.4.0
type DriveGroup struct { // Name is a unique name used to identify the Drive Group. Name string `json:"name"` // Spec is the JSON or YAML definition of a Ceph Drive Group. Placement information contained // within this spec is ignored, as placement is specified via the Rook placement mechanism below. Spec DriveGroupSpec `json:"spec"` // Placement defines which nodes the Drive Group should be applied to. Placement rookv1.Placement `json:"placement,omitempty"` }
DriveGroup specifies a Ceph Drive Group and where Rook should apply the Drive Group.
func (*DriveGroup) DeepCopy ¶ added in v1.4.0
func (in *DriveGroup) DeepCopy() *DriveGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriveGroup.
func (*DriveGroup) DeepCopyInto ¶ added in v1.4.0
func (in *DriveGroup) DeepCopyInto(out *DriveGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DriveGroupSpec ¶ added in v1.4.0
type DriveGroupSpec map[string]interface{}
DriveGroupSpec is a YAML or JSON definition of a Ceph Drive Group.
func (DriveGroupSpec) DeepCopy ¶ added in v1.4.0
func (d DriveGroupSpec) DeepCopy() DriveGroupSpec
DeepCopy allows the map[string]interface{} type of DriveGroupSpec to have other DeepCopy-related code generated for it. The generator does not know how to copy arbitrary interface{} types without this.
func (DriveGroupSpec) DeepCopyInto ¶ added in v1.4.0
func (in DriveGroupSpec) DeepCopyInto(out *DriveGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DriveGroupsSpec ¶ added in v1.4.0
type DriveGroupsSpec []DriveGroup
DriveGroupsSpec is a list Ceph Drive Group specifications.
func (DriveGroupsSpec) DeepCopy ¶ added in v1.4.0
func (in DriveGroupsSpec) DeepCopy() DriveGroupsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriveGroupsSpec.
func (DriveGroupsSpec) DeepCopyInto ¶ added in v1.4.0
func (in DriveGroupsSpec) DeepCopyInto(out *DriveGroupsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ErasureCodedSpec ¶
type ErasureCodedSpec struct { // Number of coding chunks per object in an erasure coded storage pool (required for erasure-coded pool type) CodingChunks uint `json:"codingChunks"` // Number of data chunks per object in an erasure coded storage pool (required for erasure-coded pool type) DataChunks uint `json:"dataChunks"` // The algorithm for erasure coding Algorithm string `json:"algorithm"` }
ErasureCodeSpec represents the spec for erasure code in a pool
func (*ErasureCodedSpec) DeepCopy ¶
func (in *ErasureCodedSpec) DeepCopy() *ErasureCodedSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErasureCodedSpec.
func (*ErasureCodedSpec) DeepCopyInto ¶
func (in *ErasureCodedSpec) DeepCopyInto(out *ErasureCodedSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalSpec ¶ added in v1.1.0
type ExternalSpec struct {
Enable bool `json:"enable"`
}
ExternalSpec represents the options supported by an external cluster
func (*ExternalSpec) DeepCopy ¶ added in v1.1.0
func (in *ExternalSpec) DeepCopy() *ExternalSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSpec.
func (*ExternalSpec) DeepCopyInto ¶ added in v1.1.0
func (in *ExternalSpec) DeepCopyInto(out *ExternalSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilesystemSpec ¶
type FilesystemSpec struct { // The metadata pool settings MetadataPool PoolSpec `json:"metadataPool,omitempty"` // The data pool settings DataPools []PoolSpec `json:"dataPools,omitempty"` // Preserve pools on filesystem deletion PreservePoolsOnDelete bool `json:"preservePoolsOnDelete"` // The mds pod info MetadataServer MetadataServerSpec `json:"metadataServer"` }
FilesystemSpec represents the spec of a file system
func (*FilesystemSpec) DeepCopy ¶
func (in *FilesystemSpec) DeepCopy() *FilesystemSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemSpec.
func (*FilesystemSpec) DeepCopyInto ¶
func (in *FilesystemSpec) DeepCopyInto(out *FilesystemSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GaneshaRADOSSpec ¶ added in v1.0.0
type GaneshaRADOSSpec struct { // Pool is the RADOS pool where NFS client recovery data is stored. Pool string `json:"pool"` // Namespace is the RADOS namespace where NFS client recovery data is stored. Namespace string `json:"namespace"` }
func (*GaneshaRADOSSpec) DeepCopy ¶ added in v1.0.0
func (in *GaneshaRADOSSpec) DeepCopy() *GaneshaRADOSSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GaneshaRADOSSpec.
func (*GaneshaRADOSSpec) DeepCopyInto ¶ added in v1.0.0
func (in *GaneshaRADOSSpec) DeepCopyInto(out *GaneshaRADOSSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GaneshaServerSpec ¶ added in v1.0.0
type GaneshaServerSpec struct { // The number of active Ganesha servers Active int `json:"active"` // The affinity to place the ganesha pods Placement rookv1.Placement `json:"placement"` // The annotations-related configuration to add/set on each Pod related object. Annotations rookv1.Annotations `json:"annotations,omitempty"` // The labels-related configuration to add/set on each Pod related object. Labels rookv1.Labels `json:"labels,omitempty"` // Resources set resource requests and limits Resources v1.ResourceRequirements `json:"resources,omitempty"` // PriorityClassName sets the priority class on the pods PriorityClassName string `json:"priorityClassName,omitempty"` }
func (*GaneshaServerSpec) DeepCopy ¶ added in v1.0.0
func (in *GaneshaServerSpec) DeepCopy() *GaneshaServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GaneshaServerSpec.
func (*GaneshaServerSpec) DeepCopyInto ¶ added in v1.0.0
func (in *GaneshaServerSpec) DeepCopyInto(out *GaneshaServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewaySpec ¶
type GatewaySpec struct { // The port the rgw service will be listening on (http) Port int32 `json:"port"` // The port the rgw service will be listening on (https) SecurePort int32 `json:"securePort"` // The number of pods in the rgw replicaset. If "allNodes" is specified, a daemonset is created. Instances int32 `json:"instances"` // Whether the rgw pods should be started as a daemonset on all nodes AllNodes bool `json:"allNodes"` // The name of the secret that stores the ssl certificate for secure rgw connections SSLCertificateRef string `json:"sslCertificateRef"` // The affinity to place the rgw pods (default is to place on any available node) Placement rookv1.Placement `json:"placement"` // The annotations-related configuration to add/set on each Pod related object. Annotations rookv1.Annotations `json:"annotations,omitempty"` // The labels-related configuration to add/set on each Pod related object. Labels rookv1.Labels `json:"labels,omitempty"` // The resource requirements for the rgw pods Resources v1.ResourceRequirements `json:"resources"` // PriorityClassName sets priority classes on the rgw pods PriorityClassName string `json:"priorityClassName,omitempty"` // ExternalRgwEndpoints points to external rgw endpoint(s) ExternalRgwEndpoints []v1.EndpointAddress `json:"externalRgwEndpoints,omitempty"` }
func (*GatewaySpec) DeepCopy ¶
func (in *GatewaySpec) DeepCopy() *GatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec.
func (*GatewaySpec) DeepCopyInto ¶
func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthCheckSpec ¶ added in v1.4.0
type HealthCheckSpec struct { Disabled bool `json:"disabled,omitempty"` Interval string `json:"interval,omitempty"` Timeout string `json:"timeout,omitempty"` }
func (*HealthCheckSpec) DeepCopy ¶ added in v1.4.0
func (in *HealthCheckSpec) DeepCopy() *HealthCheckSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheckSpec.
func (*HealthCheckSpec) DeepCopyInto ¶ added in v1.4.0
func (in *HealthCheckSpec) DeepCopyInto(out *HealthCheckSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPFamilyType ¶ added in v1.4.6
type IPFamilyType string
IPFamilyType represents the single stack Ipv4 or Ipv6 protocol.
const ( // IPv6 internet protocol version IPv6 IPFamilyType = "IPv6" // IPv4 internet protocol version IPv4 IPFamilyType = "IPv4" )
type MetadataServerSpec ¶
type MetadataServerSpec struct { // The number of metadata servers that are active. The remaining servers in the cluster will be in standby mode. ActiveCount int32 `json:"activeCount"` // Whether each active MDS instance will have an active standby with a warm metadata cache for faster failover. // If false, standbys will still be available, but will not have a warm metadata cache. ActiveStandby bool `json:"activeStandby"` // The affinity to place the mds pods (default is to place on all available node) with a daemonset Placement rookv1.Placement `json:"placement"` // The annotations-related configuration to add/set on each Pod related object. Annotations rookv1.Annotations `json:"annotations,omitempty"` // The labels-related configuration to add/set on each Pod related object. Labels rookv1.Labels `json:"labels,omitempty"` // The resource requirements for the rgw pods Resources v1.ResourceRequirements `json:"resources"` // PriorityClassName sets priority classes on components PriorityClassName string `json:"priorityClassName,omitempty"` }
func (*MetadataServerSpec) DeepCopy ¶
func (in *MetadataServerSpec) DeepCopy() *MetadataServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataServerSpec.
func (*MetadataServerSpec) DeepCopyInto ¶
func (in *MetadataServerSpec) DeepCopyInto(out *MetadataServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MgrSpec ¶ added in v1.1.0
type MgrSpec struct {
Modules []Module `json:"modules,omitempty"`
}
MgrSpec represents options to configure a ceph mgr
func (*MgrSpec) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MgrSpec.
func (*MgrSpec) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Module ¶ added in v1.1.0
Module represents mgr modules that the user wants to enable or disable
func (*Module) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.
func (*Module) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonSpec ¶
type MonSpec struct { Count int `json:"count,omitempty"` AllowMultiplePerNode bool `json:"allowMultiplePerNode,omitempty"` VolumeClaimTemplate *v1.PersistentVolumeClaim `json:"volumeClaimTemplate,omitempty"` }
func (*MonSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonSpec.
func (*MonSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringSpec ¶ added in v1.1.0
type MonitoringSpec struct { // Whether to create the prometheus rules for the ceph cluster. If true, the prometheus // types must exist or the creation will fail. Enabled bool `json:"enabled,omitempty"` // The namespace where the prometheus rules and alerts should be created. // If empty, the same namespace as the cluster will be used. RulesNamespace string `json:"rulesNamespace,omitempty"` // ExternalMgrEndpoints points to an existing Ceph prometheus exporter endpoint ExternalMgrEndpoints []v1.EndpointAddress `json:"externalMgrEndpoints,omitempty"` }
MonitoringSpec represents the settings for Prometheus based Ceph monitoring
func (*MonitoringSpec) DeepCopy ¶ added in v1.1.0
func (in *MonitoringSpec) DeepCopy() *MonitoringSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringSpec.
func (*MonitoringSpec) DeepCopyInto ¶ added in v1.1.0
func (in *MonitoringSpec) DeepCopyInto(out *MonitoringSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NFSGaneshaSpec ¶ added in v1.0.0
type NFSGaneshaSpec struct { RADOS GaneshaRADOSSpec `json:"rados"` Server GaneshaServerSpec `json:"server"` }
NFSGaneshaSpec represents the spec of an nfs ganesha server
func (*NFSGaneshaSpec) DeepCopy ¶ added in v1.0.0
func (in *NFSGaneshaSpec) DeepCopy() *NFSGaneshaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSGaneshaSpec.
func (*NFSGaneshaSpec) DeepCopyInto ¶ added in v1.0.0
func (in *NFSGaneshaSpec) DeepCopyInto(out *NFSGaneshaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSpec ¶ added in v1.1.0
type NetworkSpec struct { rookv1.NetworkSpec `json:",inline"` // HostNetwork to enable host network HostNetwork bool `json:"hostNetwork"` // IPFamily is the single stack IPv6 or IPv4 protocol IPFamily IPFamilyType `json:"ipFamily,omitempty"` }
NetworkSpec for Ceph includes backward compatibility code
func (*NetworkSpec) DeepCopy ¶ added in v1.1.0
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶ added in v1.1.0
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkSpec) IsHost ¶ added in v1.1.0
func (net *NetworkSpec) IsHost() bool
IsHost get whether to use host network provider. This method also preserve compatibility with the old HostNetwork field.
type ObjectRealmSpec ¶ added in v1.4.0
type ObjectRealmSpec struct {
Pull PullSpec `json:"pull"`
}
ObjectRealmSpec represent the spec of an ObjectRealm
func (*ObjectRealmSpec) DeepCopy ¶ added in v1.4.0
func (in *ObjectRealmSpec) DeepCopy() *ObjectRealmSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectRealmSpec.
func (*ObjectRealmSpec) DeepCopyInto ¶ added in v1.4.0
func (in *ObjectRealmSpec) DeepCopyInto(out *ObjectRealmSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectRealmSpec) IsPullRealm ¶ added in v1.4.0
func (s *ObjectRealmSpec) IsPullRealm() bool
type ObjectStoreSpec ¶
type ObjectStoreSpec struct { // The metadata pool settings MetadataPool PoolSpec `json:"metadataPool"` // The data pool settings DataPool PoolSpec `json:"dataPool"` // Preserve pools on object store deletion PreservePoolsOnDelete bool `json:"preservePoolsOnDelete"` // The rgw pod info Gateway GatewaySpec `json:"gateway"` // The multisite info Zone ZoneSpec `json:"zone,omitempty"` // The rgw Bucket healthchecks and liveness probe HealthCheck BucketHealthCheckSpec `json:"healthCheck"` }
ObjectStoreSpec represent the spec of a pool
func (*ObjectStoreSpec) DeepCopy ¶
func (in *ObjectStoreSpec) DeepCopy() *ObjectStoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectStoreSpec.
func (*ObjectStoreSpec) DeepCopyInto ¶
func (in *ObjectStoreSpec) DeepCopyInto(out *ObjectStoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectStoreSpec) IsMultisite ¶ added in v1.4.0
func (s *ObjectStoreSpec) IsMultisite() bool
type ObjectStoreStatus ¶ added in v1.4.0
type ObjectStoreStatus struct { Phase ConditionType `json:"phase,omitempty"` Message string `json:"message,omitempty"` BucketStatus *BucketStatus `json:"bucketStatus,omitempty"` Info map[string]string `json:"info,omitempty"` }
func (*ObjectStoreStatus) DeepCopy ¶ added in v1.4.0
func (in *ObjectStoreStatus) DeepCopy() *ObjectStoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectStoreStatus.
func (*ObjectStoreStatus) DeepCopyInto ¶ added in v1.4.0
func (in *ObjectStoreStatus) DeepCopyInto(out *ObjectStoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectStoreUserSpec ¶
type ObjectStoreUserSpec struct { //The store the user will be created in Store string `json:"store,omitempty"` //The display name for the ceph users DisplayName string `json:"displayName,omitempty"` }
ObjectStoreUserSpec represent the spec of an Objectstoreuser
func (*ObjectStoreUserSpec) DeepCopy ¶
func (in *ObjectStoreUserSpec) DeepCopy() *ObjectStoreUserSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectStoreUserSpec.
func (*ObjectStoreUserSpec) DeepCopyInto ¶
func (in *ObjectStoreUserSpec) DeepCopyInto(out *ObjectStoreUserSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectStoreUserStatus ¶ added in v1.4.0
type ObjectStoreUserStatus struct { Phase string `json:"phase,omitempty"` Info map[string]string `json:"info"` }
func (*ObjectStoreUserStatus) DeepCopy ¶ added in v1.4.0
func (in *ObjectStoreUserStatus) DeepCopy() *ObjectStoreUserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectStoreUserStatus.
func (*ObjectStoreUserStatus) DeepCopyInto ¶ added in v1.4.0
func (in *ObjectStoreUserStatus) DeepCopyInto(out *ObjectStoreUserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectZoneGroupSpec ¶ added in v1.4.0
type ObjectZoneGroupSpec struct { //The display name for the ceph users Realm string `json:"realm"` }
ObjectZoneGroupSpec represent the spec of an ObjecZoneGroup
func (*ObjectZoneGroupSpec) DeepCopy ¶ added in v1.4.0
func (in *ObjectZoneGroupSpec) DeepCopy() *ObjectZoneGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectZoneGroupSpec.
func (*ObjectZoneGroupSpec) DeepCopyInto ¶ added in v1.4.0
func (in *ObjectZoneGroupSpec) DeepCopyInto(out *ObjectZoneGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectZoneSpec ¶ added in v1.4.0
type ObjectZoneSpec struct { //The display name for the ceph users ZoneGroup string `json:"zoneGroup"` // The metadata pool settings MetadataPool PoolSpec `json:"metadataPool"` // The data pool settings DataPool PoolSpec `json:"dataPool"` }
ObjectZoneSpec represent the spec of an ObjectZone
func (*ObjectZoneSpec) DeepCopy ¶ added in v1.4.0
func (in *ObjectZoneSpec) DeepCopy() *ObjectZoneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectZoneSpec.
func (*ObjectZoneSpec) DeepCopyInto ¶ added in v1.4.0
func (in *ObjectZoneSpec) DeepCopyInto(out *ObjectZoneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PoolSpec ¶
type PoolSpec struct { // The failure domain: osd/host/(region or zone if available) - technically also any type in the crush map FailureDomain string `json:"failureDomain"` // The root of the crush hierarchy utilized by the pool CrushRoot string `json:"crushRoot"` // The device class the OSD should set to (options are: hdd, ssd, or nvme) DeviceClass string `json:"deviceClass"` // The inline compression mode in Bluestore OSD to set to (options are: none, passive, aggressive, force) CompressionMode string `json:"compressionMode"` // The replication settings Replicated ReplicatedSpec `json:"replicated"` // The erasure code settings ErasureCoded ErasureCodedSpec `json:"erasureCoded"` // Parameters is a list of properties to enable on a given pool Parameters map[string]string `json:"parameters,omitempty"` // EnableRBDStats is used to enable gathering of statistics for all RBD images in the pool EnableRBDStats bool `json:"enableRBDStats"` }
PoolSpec represents the spec of ceph pool
func (*PoolSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolSpec.
func (*PoolSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PoolSpec) IsCompressionEnabled ¶ added in v1.3.6
func (*PoolSpec) IsErasureCoded ¶ added in v1.3.0
func (*PoolSpec) IsReplicated ¶ added in v1.3.0
type PullSpec ¶ added in v1.4.0
type PullSpec struct {
Endpoint string `json:"endpoint"`
}
func (*PullSpec) DeepCopy ¶ added in v1.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullSpec.
func (*PullSpec) DeepCopyInto ¶ added in v1.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RBDMirroringSpec ¶
type RBDMirroringSpec struct { // Count represents the number of rbd mirror instance to run Count int `json:"count"` // The affinity to place the rgw pods (default is to place on any available node) Placement rookv1.Placement `json:"placement"` // The annotations-related configuration to add/set on each Pod related object. Annotations rookv1.Annotations `json:"annotations,omitempty"` // The labels-related configuration to add/set on each Pod related object. Labels rookv1.Labels `json:"labels,omitempty"` // The resource requirements for the rbd mirror pods Resources v1.ResourceRequirements `json:"resources"` // PriorityClassName sets priority class on the rbd mirror pods PriorityClassName string `json:"priorityClassName,omitempty"` }
func (*RBDMirroringSpec) DeepCopy ¶
func (in *RBDMirroringSpec) DeepCopy() *RBDMirroringSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDMirroringSpec.
func (*RBDMirroringSpec) DeepCopyInto ¶
func (in *RBDMirroringSpec) DeepCopyInto(out *RBDMirroringSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicatedSpec ¶
type ReplicatedSpec struct { // Size - Number of copies per object in a replicated storage pool, including the object itself (required for replicated pool type) Size uint `json:"size"` // TargetSizeRatio gives a hint (%) to Ceph in terms of expected consumption of the total cluster capacity TargetSizeRatio float64 `json:"targetSizeRatio"` // RequireSafeReplicaSize if false allows you to set replica 1 RequireSafeReplicaSize bool `json:"requireSafeReplicaSize"` }
ReplicatedSpec represents the spec for replication in a pool
func (*ReplicatedSpec) DeepCopy ¶
func (in *ReplicatedSpec) DeepCopy() *ReplicatedSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicatedSpec.
func (*ReplicatedSpec) DeepCopyInto ¶
func (in *ReplicatedSpec) DeepCopyInto(out *ReplicatedSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReplicatedSpec) IsTargetRatioEnabled ¶ added in v1.3.6
func (p *ReplicatedSpec) IsTargetRatioEnabled() bool
type SanitizeDataSourceProperty ¶ added in v1.4.0
type SanitizeDataSourceProperty string
func (*SanitizeDataSourceProperty) String ¶ added in v1.4.0
func (c *SanitizeDataSourceProperty) String() string
type SanitizeDisksSpec ¶ added in v1.4.0
type SanitizeDisksSpec struct { Method SanitizeMethodProperty `json:"method,omitempty"` DataSource SanitizeDataSourceProperty `json:"dataSource,omitempty"` Iteration int32 `json:"iteration,omitempty"` }
func (*SanitizeDisksSpec) DeepCopy ¶ added in v1.4.0
func (in *SanitizeDisksSpec) DeepCopy() *SanitizeDisksSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SanitizeDisksSpec.
func (*SanitizeDisksSpec) DeepCopyInto ¶ added in v1.4.0
func (in *SanitizeDisksSpec) DeepCopyInto(out *SanitizeDisksSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SanitizeMethodProperty ¶ added in v1.4.0
type SanitizeMethodProperty string
func (*SanitizeMethodProperty) String ¶ added in v1.4.0
func (c *SanitizeMethodProperty) String() string
type Status ¶ added in v1.2.1
type Status struct {
Phase string `json:"phase,omitempty"`
}
func (*Status) DeepCopy ¶ added in v1.2.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶ added in v1.2.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZoneSpec ¶ added in v1.4.0
type ZoneSpec struct { // RGW Zone the Object Store is in Name string `json:"name"` }
func (*ZoneSpec) DeepCopy ¶ added in v1.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneSpec.
func (*ZoneSpec) DeepCopyInto ¶ added in v1.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.