yugabytedb

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Apache-2.0 Imports: 19 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 operator to manage Kubernetes storage.

Index

Constants

This section is empty.

Variables

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

Functions

func NewCluster

func NewCluster(c *yugabytedbv1alpha1.YBCluster, context *clusterd.Context) *cluster

Types

type ClusterController

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

func NewClusterController

func NewClusterController(context *clusterd.Context, containerImage string) *ClusterController

func (*ClusterController) OnAdd

func (c *ClusterController) OnAdd(obj interface{})

func (*ClusterController) OnUpdate

func (c *ClusterController) OnUpdate(oldObj, newObj interface{})

func (*ClusterController) StartWatch

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

type Operator

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

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