minio

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package minio to manage a Minio object store.

Package operator to manage Minio object storage.

Index

Constants

This section is empty.

Variables

View Source
var ObjectStoreResource = opkit.CustomResource{
	Name:    customResourceName,
	Plural:  customResourceNamePlural,
	Group:   miniov1alpha1.CustomResourceGroup,
	Version: miniov1alpha1.Version,
	Scope:   apiextensionsv1beta1.NamespaceScoped,
	Kind:    reflect.TypeOf(miniov1alpha1.ObjectStore{}).Name(),
}

ObjectStoreResource represents the object store custom resource

Functions

This section is empty.

Types

type Controller added in v1.0.0

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

Controller represents a controller object for object store custom resources

func NewController added in v1.0.0

func NewController(context *clusterd.Context, rookImage string) *Controller

NewController create controller for watching object store custom resources created

func (*Controller) StartWatch added in v1.0.0

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

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

type Operator

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

Operator type for managing object storage.

func New

func New(context *clusterd.Context, rookImage string) *Operator

New creates an operator instance.

func (*Operator) Run

func (o *Operator) Run() error

Run the operator instance.

Jump to

Keyboard shortcuts

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