api

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package api for the operator api manager.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRookClient added in v0.5.0

func GetRookClient(namespace string, client kubernetes.Interface) (rookclient.RookRestClient, error)

GetRookClient gets a reference of the rook client connected to the Rook-API on the given namespace

Types

type Cluster

type Cluster struct {
	Namespace string

	Version  string
	Replicas int32
	// contains filtered or unexported fields
}

Cluster has the api service properties

func New

func New(context *clusterd.Context, namespace, version string, placement k8sutil.Placement) *Cluster

New creates an instance

func (*Cluster) Start

func (c *Cluster) Start() error

Start the api service

Jump to

Keyboard shortcuts

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