minio

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package 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 MinioController

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

MinioController represents a controller object for object store custom resources

func NewMinioController

func NewMinioController(context *clusterd.Context, rookImage string) *MinioController

NewMinioController create controller for watching object store custom resources created

func (*MinioController) StartWatch

func (c *MinioController) 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