Documentation
¶
Index ¶
- func ClusterPatches(o *Options, ps ...data.ClusterPatch) []data.ClusterPatch
- func GroupPatches[S scope.Group[F, T], F client.Object, T runtime.Group](o *Options, ps ...data.GroupPatch[F]) []data.GroupPatch[F]
- func PDPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.PDGroup]) []data.GroupPatch[*v1alpha1.PDGroup]
- func ResourceManagerPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.ResourceManagerGroup]) []data.GroupPatch[*v1alpha1.ResourceManagerGroup]
- func RouterPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.RouterGroup]) []data.GroupPatch[*v1alpha1.RouterGroup]
- func TiCDCPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiCDCGroup]) []data.GroupPatch[*v1alpha1.TiCDCGroup]
- func TiDBPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiDBGroup]) []data.GroupPatch[*v1alpha1.TiDBGroup]
- func TiFlashPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiFlashGroup]) []data.GroupPatch[*v1alpha1.TiFlashGroup]
- func TiKVPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiKVGroup]) []data.GroupPatch[*v1alpha1.TiKVGroup]
- func TiKVWorkerPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiKVWorkerGroup]) []data.GroupPatch[*v1alpha1.TiKVWorkerGroup]
- func TiProxyPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiProxyGroup]) []data.GroupPatch[*v1alpha1.TiProxyGroup]
- type Option
- type Options
- type WithOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterPatches ¶
func ClusterPatches(o *Options, ps ...data.ClusterPatch) []data.ClusterPatch
func GroupPatches ¶
func PDPatches ¶
func PDPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.PDGroup]) []data.GroupPatch[*v1alpha1.PDGroup]
func ResourceManagerPatches ¶
func ResourceManagerPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.ResourceManagerGroup]) []data.GroupPatch[*v1alpha1.ResourceManagerGroup]
func RouterPatches ¶
func RouterPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.RouterGroup]) []data.GroupPatch[*v1alpha1.RouterGroup]
func TiCDCPatches ¶
func TiCDCPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiCDCGroup]) []data.GroupPatch[*v1alpha1.TiCDCGroup]
func TiDBPatches ¶
func TiDBPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiDBGroup]) []data.GroupPatch[*v1alpha1.TiDBGroup]
func TiFlashPatches ¶
func TiFlashPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiFlashGroup]) []data.GroupPatch[*v1alpha1.TiFlashGroup]
func TiKVPatches ¶
func TiKVPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiKVGroup]) []data.GroupPatch[*v1alpha1.TiKVGroup]
func TiKVWorkerPatches ¶
func TiKVWorkerPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiKVWorkerGroup]) []data.GroupPatch[*v1alpha1.TiKVWorkerGroup]
func TiProxyPatches ¶
func TiProxyPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiProxyGroup]) []data.GroupPatch[*v1alpha1.TiProxyGroup]
Types ¶
type Option ¶
type Option interface {
With(opts *Options)
}
func EnableTiKVWorkers ¶
func EnableTiKVWorkers() Option
func Features ¶
func Features(fs ...metav1alpha1.Feature) Option
type Options ¶
type Options struct {
Features []metav1alpha1.Feature
TLS bool
NextGen bool
EnableTiKVWorkers bool
FQDN bool
Namespace string
// all CA suffix will be added after the ns
ClusterCASuffix string
ClusterCertKeyPairSuffix string
MySQLClientCASuffix string
MySQLCertKeyPairSuffix string
Focus bool
}
func DefaultOptions ¶
func DefaultOptions() *Options
func (*Options) TiDBMySQLClientTLS ¶
func (*Options) TiDBMySQLTLS ¶
type WithOption ¶
type WithOption func(opts *Options)
func (WithOption) With ¶
func (opt WithOption) With(opts *Options)
Click to show internal directories.
Click to hide internal directories.