cdc

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CDC

type CDC struct {
	*appsv1.StatefulSet
	*corev1.Service
	*batchv1.Job
}

CDC defines the configuration for running on Kubernetes

type Kafka

type Kafka struct {
	*appsv1.StatefulSet
	*corev1.Service
	*batchv1.Job
	*Zookeeper
}

Kafka ...

type Ops

type Ops struct {
	// contains filtered or unexported fields
}

Ops knows how to operate CDC cluster

func New

func New(ns, name string) *Ops

New creates cdc ops

func (*Ops) Apply

func (o *Ops) Apply() error

Apply CDC cluster

func (*Ops) Delete

func (o *Ops) Delete() error

Delete CDC cluster

func (*Ops) GetClientNodes

func (o *Ops) GetClientNodes() ([]cluster.ClientNode, error)

GetClientNodes returns the client nodes

func (*Ops) GetNodes

func (o *Ops) GetNodes() ([]cluster.Node, error)

GetNodes returns cdc nodes

type Zookeeper

type Zookeeper struct {
	*appsv1.StatefulSet
	*corev1.Service
}

Zookeeper ...

Jump to

Keyboard shortcuts

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