Documentation ¶
Overview ¶
Package mds to manage a rook file system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FilesystemResource = opkit.CustomResource{ Name: "filesystem", Plural: "filesystems", Group: rookalpha.CustomResourceGroup, Version: rookalpha.Version, Scope: apiextensionsv1beta1.NamespaceScoped, Kind: reflect.TypeOf(rookalpha.Filesystem{}).Name(), }
FilesystemResource represents the file system custom resource
Functions ¶
This section is empty.
Types ¶
type FilesystemController ¶
type FilesystemController struct {
// contains filtered or unexported fields
}
FilesystemController represents a controller for file system custom resources
func NewFilesystemController ¶
func NewFilesystemController(context *clusterd.Context, rookImage string, hostNetwork bool, ownerRef metav1.OwnerReference) *FilesystemController
NewFilesystemController create controller for watching file system custom resources created
func (*FilesystemController) StartWatch ¶
func (c *FilesystemController) StartWatch(namespace string, stopCh chan struct{}) error
StartWatch watches for instances of Filesystem custom resources and acts on them
Click to show internal directories.
Click to hide internal directories.