cluster

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: 27 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cluster to manage a rook cluster.

Index

Constants

View Source
const (
	CustomResourceName       = "cluster"
	CustomResourceNamePlural = "clusters"
)
View Source
const (
	// DefaultClusterName states the default name of the rook-cluster if not provided.
	DefaultClusterName = "rook"
)

Variables

Functions

func ClusterOwnerRef added in v0.7.0

func ClusterOwnerRef(namespace, clusterID string) metav1.OwnerReference

Types

type ClusterController added in v0.5.0

type ClusterController struct {
	// contains filtered or unexported fields
}

ClusterController controls an instance of a Rook cluster

func NewClusterController added in v0.5.0

func NewClusterController(context *clusterd.Context, rookImage string, volumeAttachment attachment.Attachment) *ClusterController

NewClusterController create controller for watching cluster custom resources created

func (*ClusterController) StartWatch added in v0.5.0

func (c *ClusterController) StartWatch(namespace string, stopCh chan struct{}) error

Watch watches instances of cluster resources

Directories

Path Synopsis
Package api for the operator api manager.
Package api for the operator api manager.
ceph
mgr
Package mgr for the Ceph manager.
Package mgr for the Ceph manager.
mon
Package mon for the Ceph monitors.
Package mon for the Ceph monitors.
osd
Package osd for the Ceph OSDs.
Package osd for the Ceph OSDs.
osd/config
Package config for OSD config managed by the operator
Package config for OSD config managed by the operator

Jump to

Keyboard shortcuts

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