cluster

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: 24 Imported by: 0

Documentation

Overview

Package cluster to manage a edgefs cluster.

Index

Constants

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

Variables

Functions

func ClusterOwnerRef

func ClusterOwnerRef(namespace, clusterID string) metav1.OwnerReference

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

func (*ClusterController) StopWatch

func (c *ClusterController) StopWatch()

Directories

Path Synopsis
Package mgr for the Edgefs manager.
Package mgr for the Edgefs manager.
config
Package config for Edgefs target config managed by the operator
Package config for Edgefs target config managed by the operator

Jump to

Keyboard shortcuts

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