Documentation ¶
Overview ¶
Package operator to manage Kubernetes storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClusterResource = k8sutil.CustomResource{ Name: customResourceName, Plural: customResourceNamePlural, Group: yugabytedbv1alpha1.CustomResourceGroup, Version: yugabytedbv1alpha1.Version, Kind: reflect.TypeOf(yugabytedbv1alpha1.YBCluster{}).Name(), }
Functions ¶
func NewCluster ¶
func NewCluster(c *yugabytedbv1alpha1.YBCluster, context *clusterd.Context) *cluster
Types ¶
type ClusterController ¶
type ClusterController struct {
// contains filtered or unexported fields
}
func NewClusterController ¶
func NewClusterController(context *clusterd.Context, containerImage string) *ClusterController
func (*ClusterController) OnAdd ¶
func (c *ClusterController) OnAdd(obj interface{})
func (*ClusterController) OnUpdate ¶
func (c *ClusterController) OnUpdate(oldObj, newObj interface{})
func (*ClusterController) StartWatch ¶
func (c *ClusterController) StartWatch(namespace string, stopCh chan struct{})
Click to show internal directories.
Click to hide internal directories.