desc

package
v2.1.0-alpha.11 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 GroupPatches[
	S scope.Group[F, T],
	F client.Object,
	T runtime.Group,
](o *Options, ps ...data.GroupPatch[F]) []data.GroupPatch[F]

Types

type Option

type Option interface {
	With(opts *Options)
}

func Feature

func Feature(f metav1alpha1.Feature) Option

func TLS

func TLS() 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) Labels

func (o *Options) Labels() ginkgo.Labels

func (*Options) String

func (o *Options) String() string

func (*Options) TiDBMySQLClientTLS

func (o *Options) TiDBMySQLClientTLS() (string, string)

func (*Options) TiDBMySQLTLS

func (o *Options) TiDBMySQLTLS() (string, string)

type WithOption

type WithOption func(opts *Options)

func (WithOption) With

func (opt WithOption) With(opts *Options)

Jump to

Keyboard shortcuts

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