controller

package
v0.2.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: Apache-2.0 Imports: 14 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 {
	api.ControllerServiceServer
	// contains filtered or unexported fields
}

Controller an implementation of the Atomix controller API

func (*Controller) GetDatabases

func (c *Controller) GetDatabases(ctx context.Context, request *api.GetDatabasesRequest) (*api.GetDatabasesResponse, error)

GetDatabases get a list of databases managed by the controller

func (*Controller) Start

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

Start starts the controller server

Directories

Path Synopsis
util
v1beta2

Jump to

Keyboard shortcuts

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