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 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 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 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 TiProxyPatches ¶
func TiProxyPatches(o *Options, ps ...data.GroupPatch[*v1alpha1.TiProxyGroup]) []data.GroupPatch[*v1alpha1.TiProxyGroup]
Types ¶
type Option ¶
type Option interface {
With(opts *Options)
}
func Features ¶
func Features(fs ...metav1alpha1.Feature) Option
type Options ¶
type Options struct {
Features []metav1alpha1.Feature
Namespace string
Focus bool
}
func DefaultOptions ¶
func DefaultOptions() *Options
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.