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 TiDBPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiDBGroup]) []data.GroupPatch[*v1alpha1.TiDBGroup]
- func TiKVPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiKVGroup]) []data.GroupPatch[*v1alpha1.TiKVGroup]
- 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 TiDBPatches ¶
func TiDBPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiDBGroup]) []data.GroupPatch[*v1alpha1.TiDBGroup]
func TiKVPatches ¶
func TiKVPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiKVGroup]) []data.GroupPatch[*v1alpha1.TiKVGroup]
Types ¶
type Option ¶
type Option interface {
With(opts *Options)
}
func Feature ¶
func Feature(f metav1alpha1.Feature) Option
type Options ¶
type Options struct {
Features []metav1alpha1.Feature
TLS bool
Namespace string
// all CA suffix will be added after the ns
ClusterCASuffix string
ClusterCertKeyPairSuffix string
MySQLClientCASuffix string
MySQLCertKeyPairSuffix string
}
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.