controller

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddController

func AddController(mgr manager.Manager) error

AddController adds the Atomix controller to the k8s controller manager

Types

type Controller

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

Controller an implementation of the Atomix controller API

func (*Controller) CreatePrimitive

CreatePrimitive handles a create primitive request

func (*Controller) DeletePrimitive

DeletePrimitive handles a delete primitive request

func (*Controller) GetDatabase

GetDatabase get a database managed by the controller

func (*Controller) GetDatabases

GetDatabases get a list of databases managed by the controller

func (*Controller) GetPrimitive

GetPrimitive handles a get primitive request

func (*Controller) GetPrimitives

GetPrimitives handles a list primitives request

func (*Controller) JoinGroup

JoinGroup handles a group join request

func (*Controller) Start

func (c *Controller) Start(stop <-chan struct{}) error

Start starts the controller server

Directories

Path Synopsis
util
k8s

Jump to

Keyboard shortcuts

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