Documentation ¶
Overview ¶
Package cluster 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 = opkit.CustomResource{ Name: CustomResourceName, Plural: CustomResourceNamePlural, Group: cockroachdbv1alpha1.CustomResourceGroup, Version: cockroachdbv1alpha1.Version, Scope: apiextensionsv1beta1.NamespaceScoped, 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{}) error
Click to show internal directories.
Click to hide internal directories.