cockroachdb

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package cockroachdb to manage a cockroachdb cluster.

Package operator to manage Kubernetes storage.

Index

Constants

View Source
const (
	CustomResourceName       = "cluster"
	CustomResourceNamePlural = "clusters"
)

Variables

Functions

This section is empty.

Types

type ClusterController

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

func NewClusterController

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

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