object

package
v0.7.0 Latest Latest
Warning

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

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

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

Directories

Path Synopsis
Package rgw for the Ceph object store.
Package rgw for the Ceph object store.

Jump to

Keyboard shortcuts

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