Documentation ¶
Overview ¶
Package rgw to manage a rook object store.
Package rgw for the Ceph object store.
Index ¶
- Variables
- func CreateStore(context *clusterd.Context, store cephv1beta1.ObjectStore, version string, ...) error
- func DeleteStore(context *clusterd.Context, store cephv1beta1.ObjectStore) error
- func InstanceName(name string) string
- func UpdateStore(context *clusterd.Context, store cephv1beta1.ObjectStore, version string, ...) error
- type ObjectStoreController
Constants ¶
This section is empty.
Variables ¶
View Source
var ObjectStoreResource = opkit.CustomResource{ Name: customResourceName, Plural: customResourceNamePlural, Group: cephv1beta1.CustomResourceGroup, Version: cephv1beta1.Version, Scope: apiextensionsv1beta1.NamespaceScoped, Kind: reflect.TypeOf(cephv1beta1.ObjectStore{}).Name(), }
ObjectStoreResource represents the object store custom resource
View Source
var ObjectStoreResourceRookLegacy = opkit.CustomResource{ Name: customResourceName, Plural: customResourceNamePlural, Group: rookv1alpha1.CustomResourceGroup, Version: rookv1alpha1.Version, Scope: apiextensionsv1beta1.NamespaceScoped, Kind: reflect.TypeOf(rookv1alpha1.ObjectStore{}).Name(), }
Functions ¶
func CreateStore ¶
func CreateStore(context *clusterd.Context, store cephv1beta1.ObjectStore, version string, hostNetwork bool, ownerRefs []metav1.OwnerReference) error
Start the rgw manager
func DeleteStore ¶
func DeleteStore(context *clusterd.Context, store cephv1beta1.ObjectStore) error
Delete the object store. WARNING: This is a very destructive action that deletes all metadata and data pools.
func InstanceName ¶
func UpdateStore ¶
func UpdateStore(context *clusterd.Context, store cephv1beta1.ObjectStore, version string, hostNetwork bool, ownerRefs []metav1.OwnerReference) error
Types ¶
type ObjectStoreController ¶
type ObjectStoreController struct {
// contains filtered or unexported fields
}
ObjectStoreController represents a controller object for object store custom resources
func NewObjectStoreController ¶
func NewObjectStoreController(context *clusterd.Context, rookImage string, hostNetwork bool, ownerRef metav1.OwnerReference) *ObjectStoreController
NewObjectStoreController create controller for watching object store custom resources created
func (*ObjectStoreController) StartWatch ¶
func (c *ObjectStoreController) StartWatch(namespace string, stopCh chan struct{}) error
StartWatch watches for instances of ObjectStore custom resources and acts on them
Click to show internal directories.
Click to hide internal directories.