file

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

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

Directories

Path Synopsis
Package mds for file systems.
Package mds for file systems.

Jump to

Keyboard shortcuts

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