objectuser

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2019 License: Apache-2.0 Imports: 12 Imported by: 0 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 objectuser to manage a rook object store user.

Index

Constants

View Source
const (
	AppName = "rook-ceph-rgw"
)

Variables

View Source
var ObjectStoreUserResource = opkit.CustomResource{
	Name:    "cephobjectstoreuser",
	Plural:  "cephobjectstoreusers",
	Group:   cephv1.CustomResourceGroup,
	Version: cephv1.Version,
	Scope:   apiextensionsv1beta1.NamespaceScoped,
	Kind:    reflect.TypeOf(cephv1.CephObjectStoreUser{}).Name(),
}

ObjectStoreResource represents the object store user custom resource

Functions

func ValidateUser

func ValidateUser(context *clusterd.Context, u *cephv1.CephObjectStoreUser) error

Validate the user arguments

Types

type ObjectStoreUserController

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

ObjectStoreUserController represents a controller object for object store user custom resources

func NewObjectStoreUserController

func NewObjectStoreUserController(context *clusterd.Context, ownerRef metav1.OwnerReference) *ObjectStoreUserController

NewObjectStoreUserController create controller for watching object store user custom resources created

func (*ObjectStoreUserController) StartWatch

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

StartWatch watches for instances of ObjectStoreUser custom resources and acts on them

Jump to

Keyboard shortcuts

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