file

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package file manages a CephFS filesystem and the required daemons.

Index

Constants

View Source
const (
	// AppName is the name of Rook's Ceph mds (File) sub-app
	AppName = "rook-ceph-mds"
)

Variables

View Source
var FilesystemResource = opkit.CustomResource{
	Name:    "cephfilesystem",
	Plural:  "cephfilesystems",
	Group:   cephv1.CustomResourceGroup,
	Version: cephv1.Version,
	Scope:   apiextensionsv1beta1.NamespaceScoped,
	Kind:    reflect.TypeOf(cephv1.CephFilesystem{}).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,
	rookVersion string,
	cephVersion cephv1.CephVersionSpec,
	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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL