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 ¶
View Source
var ClusterResource = k8sutil.CustomResource{ Name: CustomResourceName, Plural: CustomResourceNamePlural, Group: cockroachdbv1alpha1.CustomResourceGroup, Version: cockroachdbv1alpha1.Version, Kind: reflect.TypeOf(cockroachdbv1alpha1.Cluster{}).Name(), }
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{})
Click to show internal directories.
Click to hide internal directories.