Documentation ¶
Overview ¶
Package rgw to manage a rook object store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ObjectStoreResource = opkit.CustomResource{ Name: "objectstore", Plural: "objectstores", Group: rookalpha.CustomResourceGroup, Version: rookalpha.Version, Scope: apiextensionsv1beta1.NamespaceScoped, Kind: reflect.TypeOf(rookalpha.ObjectStore{}).Name(), }
ObjectStoreResource represents the object store custom resource
Functions ¶
This section is empty.
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.