Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ClusterMetadataParentZNode defines the znode to store metadata for the ZookeeperCluster objects
ClusterMetadataParentZNode = "/zookeeper/operator-cluster-metadata"
)
Variables ¶
This section is empty.
Functions ¶
func DeleteMetadata ¶ added in v0.2.0
func DeleteMetadata(cluster *v1alpha1.ZookeeperCluster) error
DeleteMetadata deletes all zNodes created by the zookeeper cluster
func UpdateMetadata ¶ added in v0.2.0
func UpdateMetadata(cluster *v1alpha1.ZookeeperCluster) error
UpdateMetadata update the metadata of the specified cluster
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewZkClient ¶
func NewZkClient(cluster *v1alpha1.ZookeeperCluster) (*Client, error)
NewZkClient creates a new zookeeper client connected to the specified cluster
Click to show internal directories.
Click to hide internal directories.