Documentation
¶
Overview ¶
Package runtime is a generated GoMock package.
Index ¶
- func Component[T ObjectSet, O ObjectT[T]]() string
- func GetOfflineCondition(s Instance) *metav1.Condition
- func NamePrefixAndSuffix(name string) (prefix, suffix string)
- func RemoveOfflineCondition(s Instance) bool
- func SetOfflineCondition(s Instance, condition *metav1.Condition)
- func ToBackup(b *Backup) *brv1alpha1.Backup
- func ToPD(in *PD) *v1alpha1.PD
- func ToPDGroup(g *PDGroup) *v1alpha1.PDGroup
- func ToPDGroupSlice(gs []*PDGroup) []*v1alpha1.PDGroup
- func ToPDSlice(ins []*PD) []*v1alpha1.PD
- func ToRestore(r *Restore) *brv1alpha1.Restore
- func ToScheduler(in *Scheduler) *v1alpha1.Scheduler
- func ToSchedulerGroup(g *SchedulerGroup) *v1alpha1.SchedulerGroup
- func ToSchedulerGroupSlice(gs []*SchedulerGroup) []*v1alpha1.SchedulerGroup
- func ToSchedulerSlice(ins []*Scheduler) []*v1alpha1.Scheduler
- func ToScheduling(in *Scheduling) *v1alpha1.Scheduling
- func ToSchedulingGroup(g *SchedulingGroup) *v1alpha1.SchedulingGroup
- func ToSchedulingGroupSlice(gs []*SchedulingGroup) []*v1alpha1.SchedulingGroup
- func ToSchedulingSlice(ins []*Scheduling) []*v1alpha1.Scheduling
- func ToTSO(in *TSO) *v1alpha1.TSO
- func ToTSOGroup(g *TSOGroup) *v1alpha1.TSOGroup
- func ToTSOGroupSlice(gs []*TSOGroup) []*v1alpha1.TSOGroup
- func ToTSOSlice(ins []*TSO) []*v1alpha1.TSO
- func ToTiCDC(in *TiCDC) *v1alpha1.TiCDC
- func ToTiCDCGroup(g *TiCDCGroup) *v1alpha1.TiCDCGroup
- func ToTiCDCGroupSlice(gs []*TiCDCGroup) []*v1alpha1.TiCDCGroup
- func ToTiCDCSlice(ins []*TiCDC) []*v1alpha1.TiCDC
- func ToTiDB(in *TiDB) *v1alpha1.TiDB
- func ToTiDBGroup(g *TiDBGroup) *v1alpha1.TiDBGroup
- func ToTiDBGroupSlice(gs []*TiDBGroup) []*v1alpha1.TiDBGroup
- func ToTiDBSlice(ins []*TiDB) []*v1alpha1.TiDB
- func ToTiFlash(in *TiFlash) *v1alpha1.TiFlash
- func ToTiFlashGroup(g *TiFlashGroup) *v1alpha1.TiFlashGroup
- func ToTiFlashGroupSlice(gs []*TiFlashGroup) []*v1alpha1.TiFlashGroup
- func ToTiFlashSlice(ins []*TiFlash) []*v1alpha1.TiFlash
- func ToTiKV(in *TiKV) *v1alpha1.TiKV
- func ToTiKVGroup(g *TiKVGroup) *v1alpha1.TiKVGroup
- func ToTiKVGroupSlice(gs []*TiKVGroup) []*v1alpha1.TiKVGroup
- func ToTiKVSlice(ins []*TiKV) []*v1alpha1.TiKV
- func ToTiProxy(in *TiProxy) *v1alpha1.TiProxy
- func ToTiProxyGroup(g *TiProxyGroup) *v1alpha1.TiProxyGroup
- func ToTiProxyGroupSlice(gs []*TiProxyGroup) []*v1alpha1.TiProxyGroup
- func ToTiProxySlice(ins []*TiProxy) []*v1alpha1.TiProxy
- type Backup
- func (b *Backup) ClientCASecretName() string
- func (b *Backup) ClientCertKeyPairSecretName() string
- func (b *Backup) ClientInsecureSkipTLSVerify() bool
- func (b *Backup) Cluster() string
- func (b *Backup) ClusterCASecretName() string
- func (b *Backup) ClusterCertKeyPairSecretName() string
- func (b *Backup) Completed() bool
- func (b *Backup) Component() string
- func (b *Backup) Conditions() []metav1.Condition
- func (b *Backup) Failed() bool
- func (b *Backup) Features() []metav1alpha1.Feature
- func (b *Backup) Invalid() bool
- func (b *Backup) K8sJob() client.ObjectKey
- func (b *Backup) LastRetryRecord() (brv1alpha1.BackoffRetryRecord, bool)
- func (b *Backup) NeedAddFinalizer() bool
- func (b *Backup) NeedRemoveFinalizer() bool
- func (b *Backup) NeedRetry() bool
- func (b *Backup) Object() client.Object
- func (b *Backup) ObservedGeneration() int64
- func (b *Backup) PostRetry(now time.Time) error
- func (b *Backup) Retry(reason, originalReason string, now time.Time) (nextRunAt *time.Duration, _ error)
- func (b *Backup) SetCluster(cluster string)
- func (b *Backup) SetConditions(conds []metav1.Condition)
- func (b *Backup) SetImage(string)
- func (b *Backup) SetObservedGeneration(int64)
- func (b *Backup) SetVersion(string)
- func (b *Backup) Version() string
- type Group
- type GroupSet
- type GroupT
- type GroupTuple
- type Instance
- type InstanceSet
- type InstanceT
- type InstanceTuple
- type Job
- type MockInstance
- func (m *MockInstance) ClientCASecretName() string
- func (m *MockInstance) ClientCertKeyPairSecretName() string
- func (m *MockInstance) ClientInsecureSkipTLSVerify() bool
- func (m *MockInstance) Cluster() string
- func (m *MockInstance) ClusterCASecretName() string
- func (m *MockInstance) ClusterCertKeyPairSecretName() string
- func (m *MockInstance) Component() string
- func (m *MockInstance) Conditions() []v1.Condition
- func (m *MockInstance) CurrentRevision() string
- func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
- func (m *MockInstance) Features() []v1alpha10.Feature
- func (m *MockInstance) GetAnnotations() map[string]string
- func (m *MockInstance) GetCreationTimestamp() v1.Time
- func (m *MockInstance) GetDeletionGracePeriodSeconds() *int64
- func (m *MockInstance) GetDeletionTimestamp() *v1.Time
- func (m *MockInstance) GetFinalizers() []string
- func (m *MockInstance) GetGenerateName() string
- func (m *MockInstance) GetGeneration() int64
- func (m *MockInstance) GetLabels() map[string]string
- func (m *MockInstance) GetManagedFields() []v1.ManagedFieldsEntry
- func (m *MockInstance) GetName() string
- func (m *MockInstance) GetNamespace() string
- func (m *MockInstance) GetOwnerReferences() []v1.OwnerReference
- func (m *MockInstance) GetResourceVersion() string
- func (m *MockInstance) GetSelfLink() string
- func (m *MockInstance) GetTopology() v1alpha1.Topology
- func (m *MockInstance) GetUID() types.UID
- func (m *MockInstance) GetUpdateRevision() string
- func (m *MockInstance) IsAvailable(minReadySeconds int64, now time.Time) bool
- func (m *MockInstance) IsNotRunning() bool
- func (m *MockInstance) IsOffline() bool
- func (m *MockInstance) IsReady() bool
- func (m *MockInstance) IsStore() bool
- func (m *MockInstance) IsUpToDate() bool
- func (m *MockInstance) ObservedGeneration() int64
- func (m *MockInstance) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
- func (m *MockInstance) PodOverlay() *v1alpha1.PodOverlay
- func (m *MockInstance) SetAnnotations(annotations map[string]string)
- func (m *MockInstance) SetCluster(cluster string)
- func (m *MockInstance) SetConditions(arg0 []v1.Condition)
- func (m *MockInstance) SetCreationTimestamp(timestamp v1.Time)
- func (m *MockInstance) SetCurrentRevision(rev string)
- func (m *MockInstance) SetDeletionGracePeriodSeconds(arg0 *int64)
- func (m *MockInstance) SetDeletionTimestamp(timestamp *v1.Time)
- func (m *MockInstance) SetFinalizers(finalizers []string)
- func (m *MockInstance) SetGenerateName(name string)
- func (m *MockInstance) SetGeneration(generation int64)
- func (m *MockInstance) SetImage(image string)
- func (m *MockInstance) SetLabels(labels map[string]string)
- func (m *MockInstance) SetManagedFields(managedFields []v1.ManagedFieldsEntry)
- func (m *MockInstance) SetName(name string)
- func (m *MockInstance) SetNamespace(namespace string)
- func (m *MockInstance) SetObservedGeneration(arg0 int64)
- func (m *MockInstance) SetOwnerReferences(arg0 []v1.OwnerReference)
- func (m *MockInstance) SetResourceVersion(version string)
- func (m *MockInstance) SetSelfLink(selfLink string)
- func (m *MockInstance) SetTopology(topo v1alpha1.Topology)
- func (m *MockInstance) SetUID(uid types.UID)
- func (m *MockInstance) SetVersion(versions string)
- func (m *MockInstance) Subdomain() string
- func (m *MockInstance) Version() string
- func (m *MockInstance) Volumes() []v1alpha1.Volume
- type MockInstanceMockRecorder
- func (mr *MockInstanceMockRecorder) ClientCASecretName() *gomock.Call
- func (mr *MockInstanceMockRecorder) ClientCertKeyPairSecretName() *gomock.Call
- func (mr *MockInstanceMockRecorder) ClientInsecureSkipTLSVerify() *gomock.Call
- func (mr *MockInstanceMockRecorder) Cluster() *gomock.Call
- func (mr *MockInstanceMockRecorder) ClusterCASecretName() *gomock.Call
- func (mr *MockInstanceMockRecorder) ClusterCertKeyPairSecretName() *gomock.Call
- func (mr *MockInstanceMockRecorder) Component() *gomock.Call
- func (mr *MockInstanceMockRecorder) Conditions() *gomock.Call
- func (mr *MockInstanceMockRecorder) CurrentRevision() *gomock.Call
- func (mr *MockInstanceMockRecorder) Features() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetAnnotations() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetCreationTimestamp() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetDeletionGracePeriodSeconds() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetDeletionTimestamp() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetFinalizers() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetGenerateName() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetGeneration() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetLabels() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetManagedFields() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetName() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetNamespace() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetOwnerReferences() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetResourceVersion() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetSelfLink() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetTopology() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetUID() *gomock.Call
- func (mr *MockInstanceMockRecorder) GetUpdateRevision() *gomock.Call
- func (mr *MockInstanceMockRecorder) IsAvailable(minReadySeconds, now any) *gomock.Call
- func (mr *MockInstanceMockRecorder) IsNotRunning() *gomock.Call
- func (mr *MockInstanceMockRecorder) IsOffline() *gomock.Call
- func (mr *MockInstanceMockRecorder) IsReady() *gomock.Call
- func (mr *MockInstanceMockRecorder) IsStore() *gomock.Call
- func (mr *MockInstanceMockRecorder) IsUpToDate() *gomock.Call
- func (mr *MockInstanceMockRecorder) ObservedGeneration() *gomock.Call
- func (mr *MockInstanceMockRecorder) PVCOverlay() *gomock.Call
- func (mr *MockInstanceMockRecorder) PodOverlay() *gomock.Call
- func (mr *MockInstanceMockRecorder) SetAnnotations(annotations any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetCluster(cluster any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetConditions(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetCreationTimestamp(timestamp any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetCurrentRevision(rev any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetDeletionGracePeriodSeconds(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetDeletionTimestamp(timestamp any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetFinalizers(finalizers any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetGenerateName(name any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetGeneration(generation any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetImage(image any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetLabels(labels any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetManagedFields(managedFields any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetName(name any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetNamespace(namespace any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetObservedGeneration(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetOwnerReferences(arg0 any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetResourceVersion(version any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetSelfLink(selfLink any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetTopology(topo any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetUID(uid any) *gomock.Call
- func (mr *MockInstanceMockRecorder) SetVersion(versions any) *gomock.Call
- func (mr *MockInstanceMockRecorder) Subdomain() *gomock.Call
- func (mr *MockInstanceMockRecorder) Version() *gomock.Call
- func (mr *MockInstanceMockRecorder) Volumes() *gomock.Call
- type Object
- type ObjectSet
- type ObjectT
- type ObjectTuple
- type PD
- func (in *PD) ClientCASecretName() string
- func (in *PD) ClientCertKeyPairSecretName() string
- func (in *PD) ClientInsecureSkipTLSVerify() bool
- func (in *PD) Cluster() string
- func (in *PD) ClusterCASecretName() string
- func (in *PD) ClusterCertKeyPairSecretName() string
- func (*PD) Component() string
- func (in *PD) Conditions() []metav1.Condition
- func (in *PD) CurrentRevision() string
- func (in *PD) DeepCopyObject() runtime.Object
- func (in *PD) Features() []metav1alpha1.Feature
- func (in *PD) GetTopology() v1alpha1.Topology
- func (in *PD) GetUpdateRevision() string
- func (in *PD) IsAvailable(minReadySeconds int64, now time.Time) bool
- func (in *PD) IsNotRunning() bool
- func (in *PD) IsOffline() bool
- func (in *PD) IsReady() bool
- func (in *PD) IsStore() bool
- func (in *PD) IsUpToDate() bool
- func (in *PD) ObservedGeneration() int64
- func (in *PD) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
- func (in *PD) PodOverlay() *v1alpha1.PodOverlay
- func (in *PD) SetCluster(cluster string)
- func (in *PD) SetConditions(conds []metav1.Condition)
- func (in *PD) SetCurrentRevision(rev string)
- func (in *PD) SetImage(image string)
- func (in *PD) SetObservedGeneration(gen int64)
- func (in *PD) SetTopology(t v1alpha1.Topology)
- func (in *PD) SetVersion(version string)
- func (in *PD) Subdomain() string
- func (in *PD) To() *v1alpha1.PD
- func (in *PD) Version() string
- func (in *PD) Volumes() []v1alpha1.Volume
- type PDGroup
- func (g *PDGroup) ClientCASecretName() string
- func (g *PDGroup) ClientCertKeyPairSecretName() string
- func (g *PDGroup) ClientInsecureSkipTLSVerify() bool
- func (g *PDGroup) Cluster() string
- func (g *PDGroup) ClusterCASecretName() string
- func (g *PDGroup) ClusterCertKeyPairSecretName() string
- func (*PDGroup) Component() string
- func (g *PDGroup) Conditions() []metav1.Condition
- func (g *PDGroup) DeepCopyObject() runtime.Object
- func (g *PDGroup) Features() []metav1alpha1.Feature
- func (g *PDGroup) MinReadySeconds() int64
- func (g *PDGroup) ObservedGeneration() int64
- func (g *PDGroup) Replicas() int32
- func (g *PDGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
- func (g *PDGroup) SetCluster(cluster string)
- func (g *PDGroup) SetConditions(conds []metav1.Condition)
- func (g *PDGroup) SetImage(image string)
- func (g *PDGroup) SetObservedGeneration(gen int64)
- func (g *PDGroup) SetReplicas(replicas int32)
- func (g *PDGroup) SetStatusReplicas(replicas, ready, update, current int32)
- func (g *PDGroup) SetStatusRevision(update, current string, collisionCount *int32)
- func (g *PDGroup) SetStatusSelector(l string)
- func (g *PDGroup) SetStatusVersion(version string)
- func (g *PDGroup) SetTemplateAnnotations(anno map[string]string)
- func (g *PDGroup) SetTemplateLabels(ls map[string]string)
- func (g *PDGroup) SetVersion(version string)
- func (g *PDGroup) StatusReplicas() (replicas, ready, update, current int32)
- func (g *PDGroup) StatusRevision() (update, current string, collisionCount *int32)
- func (g *PDGroup) StatusSelector() string
- func (g *PDGroup) StatusVersion() string
- func (g *PDGroup) TemplateAnnotations() map[string]string
- func (g *PDGroup) TemplateLabels() map[string]string
- func (g *PDGroup) To() *v1alpha1.PDGroup
- func (g *PDGroup) Version() string
- type PDGroupTuple
- type PDTuple
- type PostRetryData
- type Restore
- func (r *Restore) ClientCASecretName() string
- func (r *Restore) ClientCertKeyPairSecretName() string
- func (r *Restore) ClientInsecureSkipTLSVerify() bool
- func (r *Restore) Cluster() string
- func (r *Restore) ClusterCASecretName() string
- func (r *Restore) ClusterCertKeyPairSecretName() string
- func (r *Restore) Completed() bool
- func (r *Restore) Component() string
- func (r *Restore) Conditions() []metav1.Condition
- func (r *Restore) Failed() bool
- func (r *Restore) Features() []metav1alpha1.Feature
- func (r *Restore) Invalid() bool
- func (r *Restore) K8sJob() client.ObjectKey
- func (r *Restore) NeedAddFinalizer() bool
- func (r *Restore) NeedRemoveFinalizer() bool
- func (r *Restore) Object() client.Object
- func (r *Restore) ObservedGeneration() int64
- func (r *Restore) SetCluster(cluster string)
- func (r *Restore) SetConditions(conds []metav1.Condition)
- func (r *Restore) SetImage(string)
- func (r *Restore) SetObservedGeneration(int64)
- func (r *Restore) SetVersion(string)
- func (r *Restore) Version() string
- type RetriableJob
- type RetryResult
- type Scheduler
- func (in *Scheduler) ClientCASecretName() string
- func (in *Scheduler) ClientCertKeyPairSecretName() string
- func (in *Scheduler) ClientInsecureSkipTLSVerify() bool
- func (in *Scheduler) Cluster() string
- func (in *Scheduler) ClusterCASecretName() string
- func (in *Scheduler) ClusterCertKeyPairSecretName() string
- func (*Scheduler) Component() string
- func (in *Scheduler) Conditions() []metav1.Condition
- func (in *Scheduler) CurrentRevision() string
- func (in *Scheduler) DeepCopyObject() runtime.Object
- func (in *Scheduler) Features() []metav1alpha1.Feature
- func (in *Scheduler) GetTopology() v1alpha1.Topology
- func (in *Scheduler) GetUpdateRevision() string
- func (in *Scheduler) IsAvailable(minReadySeconds int64, now time.Time) bool
- func (in *Scheduler) IsNotRunning() bool
- func (in *Scheduler) IsOffline() bool
- func (in *Scheduler) IsReady() bool
- func (in *Scheduler) IsStore() bool
- func (in *Scheduler) IsUpToDate() bool
- func (in *Scheduler) ObservedGeneration() int64
- func (in *Scheduler) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
- func (in *Scheduler) PodOverlay() *v1alpha1.PodOverlay
- func (in *Scheduler) SetCluster(cluster string)
- func (in *Scheduler) SetConditions(conds []metav1.Condition)
- func (in *Scheduler) SetCurrentRevision(rev string)
- func (in *Scheduler) SetImage(image string)
- func (in *Scheduler) SetObservedGeneration(gen int64)
- func (in *Scheduler) SetTopology(t v1alpha1.Topology)
- func (in *Scheduler) SetVersion(version string)
- func (in *Scheduler) Subdomain() string
- func (in *Scheduler) To() *v1alpha1.Scheduler
- func (in *Scheduler) Version() string
- func (in *Scheduler) Volumes() []v1alpha1.Volume
- type SchedulerGroup
- func (g *SchedulerGroup) ClientCASecretName() string
- func (g *SchedulerGroup) ClientCertKeyPairSecretName() string
- func (g *SchedulerGroup) ClientInsecureSkipTLSVerify() bool
- func (g *SchedulerGroup) Cluster() string
- func (g *SchedulerGroup) ClusterCASecretName() string
- func (g *SchedulerGroup) ClusterCertKeyPairSecretName() string
- func (*SchedulerGroup) Component() string
- func (g *SchedulerGroup) Conditions() []metav1.Condition
- func (g *SchedulerGroup) DeepCopyObject() runtime.Object
- func (g *SchedulerGroup) Features() []metav1alpha1.Feature
- func (g *SchedulerGroup) MinReadySeconds() int64
- func (g *SchedulerGroup) ObservedGeneration() int64
- func (g *SchedulerGroup) Replicas() int32
- func (g *SchedulerGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
- func (g *SchedulerGroup) SetCluster(cluster string)
- func (g *SchedulerGroup) SetConditions(conds []metav1.Condition)
- func (g *SchedulerGroup) SetImage(image string)
- func (g *SchedulerGroup) SetObservedGeneration(gen int64)
- func (g *SchedulerGroup) SetReplicas(replicas int32)
- func (g *SchedulerGroup) SetStatusReplicas(replicas, ready, update, current int32)
- func (g *SchedulerGroup) SetStatusRevision(update, current string, collisionCount *int32)
- func (g *SchedulerGroup) SetStatusSelector(l string)
- func (g *SchedulerGroup) SetStatusVersion(version string)
- func (g *SchedulerGroup) SetTemplateAnnotations(anno map[string]string)
- func (g *SchedulerGroup) SetTemplateLabels(ls map[string]string)
- func (g *SchedulerGroup) SetVersion(version string)
- func (g *SchedulerGroup) StatusReplicas() (replicas, ready, update, current int32)
- func (g *SchedulerGroup) StatusRevision() (update, current string, collisionCount *int32)
- func (g *SchedulerGroup) StatusSelector() string
- func (g *SchedulerGroup) StatusVersion() string
- func (g *SchedulerGroup) TemplateAnnotations() map[string]string
- func (g *SchedulerGroup) TemplateLabels() map[string]string
- func (g *SchedulerGroup) To() *v1alpha1.SchedulerGroup
- func (g *SchedulerGroup) Version() string
- type SchedulerGroupTuple
- func (SchedulerGroupTuple) From(t *v1alpha1.SchedulerGroup) *SchedulerGroup
- func (SchedulerGroupTuple) FromSlice(t []*v1alpha1.SchedulerGroup) []*SchedulerGroup
- func (SchedulerGroupTuple) To(t *SchedulerGroup) *v1alpha1.SchedulerGroup
- func (SchedulerGroupTuple) ToSlice(t []*SchedulerGroup) []*v1alpha1.SchedulerGroup
- type SchedulerTuple
- type Scheduling
- func (in *Scheduling) ClientCASecretName() string
- func (in *Scheduling) ClientCertKeyPairSecretName() string
- func (in *Scheduling) ClientInsecureSkipTLSVerify() bool
- func (in *Scheduling) Cluster() string
- func (in *Scheduling) ClusterCASecretName() string
- func (in *Scheduling) ClusterCertKeyPairSecretName() string
- func (*Scheduling) Component() string
- func (in *Scheduling) Conditions() []metav1.Condition
- func (in *Scheduling) CurrentRevision() string
- func (in *Scheduling) DeepCopyObject() runtime.Object
- func (in *Scheduling) Features() []metav1alpha1.Feature
- func (in *Scheduling) GetTopology() v1alpha1.Topology
- func (in *Scheduling) GetUpdateRevision() string
- func (in *Scheduling) IsAvailable(minReadySeconds int64, now time.Time) bool
- func (in *Scheduling) IsNotRunning() bool
- func (in *Scheduling) IsOffline() bool
- func (in *Scheduling) IsReady() bool
- func (in *Scheduling) IsStore() bool
- func (in *Scheduling) IsUpToDate() bool
- func (in *Scheduling) ObservedGeneration() int64
- func (in *Scheduling) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
- func (in *Scheduling) PodOverlay() *v1alpha1.PodOverlay
- func (in *Scheduling) SetCluster(cluster string)
- func (in *Scheduling) SetConditions(conds []metav1.Condition)
- func (in *Scheduling) SetCurrentRevision(rev string)
- func (in *Scheduling) SetImage(image string)
- func (in *Scheduling) SetObservedGeneration(gen int64)
- func (in *Scheduling) SetTopology(t v1alpha1.Topology)
- func (in *Scheduling) SetVersion(version string)
- func (in *Scheduling) Subdomain() string
- func (in *Scheduling) To() *v1alpha1.Scheduling
- func (in *Scheduling) Version() string
- func (in *Scheduling) Volumes() []v1alpha1.Volume
- type SchedulingGroup
- func (g *SchedulingGroup) ClientCASecretName() string
- func (g *SchedulingGroup) ClientCertKeyPairSecretName() string
- func (g *SchedulingGroup) ClientInsecureSkipTLSVerify() bool
- func (g *SchedulingGroup) Cluster() string
- func (g *SchedulingGroup) ClusterCASecretName() string
- func (g *SchedulingGroup) ClusterCertKeyPairSecretName() string
- func (*SchedulingGroup) Component() string
- func (g *SchedulingGroup) Conditions() []metav1.Condition
- func (g *SchedulingGroup) DeepCopyObject() runtime.Object
- func (g *SchedulingGroup) Features() []metav1alpha1.Feature
- func (g *SchedulingGroup) MinReadySeconds() int64
- func (g *SchedulingGroup) ObservedGeneration() int64
- func (g *SchedulingGroup) Replicas() int32
- func (g *SchedulingGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
- func (g *SchedulingGroup) SetCluster(cluster string)
- func (g *SchedulingGroup) SetConditions(conds []metav1.Condition)
- func (g *SchedulingGroup) SetImage(image string)
- func (g *SchedulingGroup) SetObservedGeneration(gen int64)
- func (g *SchedulingGroup) SetReplicas(replicas int32)
- func (g *SchedulingGroup) SetStatusReplicas(replicas, ready, update, current int32)
- func (g *SchedulingGroup) SetStatusRevision(update, current string, collisionCount *int32)
- func (g *SchedulingGroup) SetStatusSelector(l string)
- func (g *SchedulingGroup) SetStatusVersion(version string)
- func (g *SchedulingGroup) SetTemplateAnnotations(anno map[string]string)
- func (g *SchedulingGroup) SetTemplateLabels(ls map[string]string)
- func (g *SchedulingGroup) SetVersion(version string)
- func (g *SchedulingGroup) StatusReplicas() (replicas, ready, update, current int32)
- func (g *SchedulingGroup) StatusRevision() (update, current string, collisionCount *int32)
- func (g *SchedulingGroup) StatusSelector() string
- func (g *SchedulingGroup) StatusVersion() string
- func (g *SchedulingGroup) TemplateAnnotations() map[string]string
- func (g *SchedulingGroup) TemplateLabels() map[string]string
- func (g *SchedulingGroup) To() *v1alpha1.SchedulingGroup
- func (g *SchedulingGroup) Version() string
- type SchedulingGroupTuple
- func (SchedulingGroupTuple) From(t *v1alpha1.SchedulingGroup) *SchedulingGroup
- func (SchedulingGroupTuple) FromSlice(t []*v1alpha1.SchedulingGroup) []*SchedulingGroup
- func (SchedulingGroupTuple) To(t *SchedulingGroup) *v1alpha1.SchedulingGroup
- func (SchedulingGroupTuple) ToSlice(t []*SchedulingGroup) []*v1alpha1.SchedulingGroup
- type SchedulingTuple
- type TSO
- func (in *TSO) ClientCASecretName() string
- func (in *TSO) ClientCertKeyPairSecretName() string
- func (in *TSO) ClientInsecureSkipTLSVerify() bool
- func (in *TSO) Cluster() string
- func (in *TSO) ClusterCASecretName() string
- func (in *TSO) ClusterCertKeyPairSecretName() string
- func (*TSO) Component() string
- func (in *TSO) Conditions() []metav1.Condition
- func (in *TSO) CurrentRevision() string
- func (in *TSO) DeepCopyObject() runtime.Object
- func (in *TSO) Features() []metav1alpha1.Feature
- func (in *TSO) GetTopology() v1alpha1.Topology
- func (in *TSO) GetUpdateRevision() string
- func (in *TSO) IsAvailable(minReadySeconds int64, now time.Time) bool
- func (in *TSO) IsNotRunning() bool
- func (in *TSO) IsOffline() bool
- func (in *TSO) IsReady() bool
- func (in *TSO) IsStore() bool
- func (in *TSO) IsUpToDate() bool
- func (in *TSO) ObservedGeneration() int64
- func (in *TSO) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
- func (in *TSO) PodOverlay() *v1alpha1.PodOverlay
- func (in *TSO) SetCluster(cluster string)
- func (in *TSO) SetConditions(conds []metav1.Condition)
- func (in *TSO) SetCurrentRevision(rev string)
- func (in *TSO) SetImage(image string)
- func (in *TSO) SetObservedGeneration(gen int64)
- func (in *TSO) SetTopology(t v1alpha1.Topology)
- func (in *TSO) SetVersion(version string)
- func (in *TSO) Subdomain() string
- func (in *TSO) To() *v1alpha1.TSO
- func (in *TSO) Version() string
- func (in *TSO) Volumes() []v1alpha1.Volume
- type TSOGroup
- func (g *TSOGroup) ClientCASecretName() string
- func (g *TSOGroup) ClientCertKeyPairSecretName() string
- func (g *TSOGroup) ClientInsecureSkipTLSVerify() bool
- func (g *TSOGroup) Cluster() string
- func (g *TSOGroup) ClusterCASecretName() string
- func (g *TSOGroup) ClusterCertKeyPairSecretName() string
- func (*TSOGroup) Component() string
- func (g *TSOGroup) Conditions() []metav1.Condition
- func (g *TSOGroup) DeepCopyObject() runtime.Object
- func (g *TSOGroup) Features() []metav1alpha1.Feature
- func (g *TSOGroup) MinReadySeconds() int64
- func (g *TSOGroup) ObservedGeneration() int64
- func (g *TSOGroup) Replicas() int32
- func (g *TSOGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
- func (g *TSOGroup) SetCluster(cluster string)
- func (g *TSOGroup) SetConditions(conds []metav1.Condition)
- func (g *TSOGroup) SetImage(image string)
- func (g *TSOGroup) SetObservedGeneration(gen int64)
- func (g *TSOGroup) SetReplicas(replicas int32)
- func (g *TSOGroup) SetStatusReplicas(replicas, ready, update, current int32)
- func (g *TSOGroup) SetStatusRevision(update, current string, collisionCount *int32)
- func (g *TSOGroup) SetStatusSelector(l string)
- func (g *TSOGroup) SetStatusVersion(version string)
- func (g *TSOGroup) SetTemplateAnnotations(anno map[string]string)
- func (g *TSOGroup) SetTemplateLabels(ls map[string]string)
- func (g *TSOGroup) SetVersion(version string)
- func (g *TSOGroup) StatusReplicas() (replicas, ready, update, current int32)
- func (g *TSOGroup) StatusRevision() (update, current string, collisionCount *int32)
- func (g *TSOGroup) StatusSelector() string
- func (g *TSOGroup) StatusVersion() string
- func (g *TSOGroup) TemplateAnnotations() map[string]string
- func (g *TSOGroup) TemplateLabels() map[string]string
- func (g *TSOGroup) To() *v1alpha1.TSOGroup
- func (g *TSOGroup) Version() string
- type TSOGroupTuple
- type TSOTuple
- type TiCDC
- func (in *TiCDC) ClientCASecretName() string
- func (in *TiCDC) ClientCertKeyPairSecretName() string
- func (in *TiCDC) ClientInsecureSkipTLSVerify() bool
- func (in *TiCDC) Cluster() string
- func (in *TiCDC) ClusterCASecretName() string
- func (in *TiCDC) ClusterCertKeyPairSecretName() string
- func (*TiCDC) Component() string
- func (in *TiCDC) Conditions() []metav1.Condition
- func (in *TiCDC) CurrentRevision() string
- func (in *TiCDC) DeepCopyObject() runtime.Object
- func (in *TiCDC) Features() []metav1alpha1.Feature
- func (in *TiCDC) GetTopology() v1alpha1.Topology
- func (in *TiCDC) GetUpdateRevision() string
- func (in *TiCDC) IsAvailable(minReadySeconds int64, now time.Time) bool
- func (in *TiCDC) IsNotRunning() bool
- func (in *TiCDC) IsOffline() bool
- func (in *TiCDC) IsReady() bool
- func (in *TiCDC) IsStore() bool
- func (in *TiCDC) IsUpToDate() bool
- func (in *TiCDC) ObservedGeneration() int64
- func (in *TiCDC) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
- func (in *TiCDC) PodOverlay() *v1alpha1.PodOverlay
- func (in *TiCDC) SetCluster(cluster string)
- func (in *TiCDC) SetConditions(conds []metav1.Condition)
- func (in *TiCDC) SetCurrentRevision(rev string)
- func (in *TiCDC) SetImage(image string)
- func (in *TiCDC) SetObservedGeneration(gen int64)
- func (in *TiCDC) SetTopology(t v1alpha1.Topology)
- func (in *TiCDC) SetVersion(version string)
- func (in *TiCDC) Subdomain() string
- func (in *TiCDC) To() *v1alpha1.TiCDC
- func (in *TiCDC) Version() string
- func (in *TiCDC) Volumes() []v1alpha1.Volume
- type TiCDCGroup
- func (g *TiCDCGroup) ClientCASecretName() string
- func (g *TiCDCGroup) ClientCertKeyPairSecretName() string
- func (g *TiCDCGroup) ClientInsecureSkipTLSVerify() bool
- func (g *TiCDCGroup) Cluster() string
- func (g *TiCDCGroup) ClusterCASecretName() string
- func (g *TiCDCGroup) ClusterCertKeyPairSecretName() string
- func (*TiCDCGroup) Component() string
- func (g *TiCDCGroup) Conditions() []metav1.Condition
- func (g *TiCDCGroup) DeepCopyObject() runtime.Object
- func (g *TiCDCGroup) Features() []metav1alpha1.Feature
- func (g *TiCDCGroup) MinReadySeconds() int64
- func (g *TiCDCGroup) ObservedGeneration() int64
- func (g *TiCDCGroup) Replicas() int32
- func (g *TiCDCGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
- func (g *TiCDCGroup) SetCluster(cluster string)
- func (g *TiCDCGroup) SetConditions(conds []metav1.Condition)
- func (g *TiCDCGroup) SetImage(image string)
- func (g *TiCDCGroup) SetObservedGeneration(gen int64)
- func (g *TiCDCGroup) SetReplicas(replicas int32)
- func (g *TiCDCGroup) SetStatusReplicas(replicas, ready, update, current int32)
- func (g *TiCDCGroup) SetStatusRevision(update, current string, collisionCount *int32)
- func (g *TiCDCGroup) SetStatusSelector(l string)
- func (g *TiCDCGroup) SetStatusVersion(version string)
- func (g *TiCDCGroup) SetTemplateAnnotations(anno map[string]string)
- func (g *TiCDCGroup) SetTemplateLabels(ls map[string]string)
- func (g *TiCDCGroup) SetVersion(version string)
- func (g *TiCDCGroup) StatusReplicas() (replicas, ready, update, current int32)
- func (g *TiCDCGroup) StatusRevision() (update, current string, collisionCount *int32)
- func (g *TiCDCGroup) StatusSelector() string
- func (g *TiCDCGroup) StatusVersion() string
- func (g *TiCDCGroup) TemplateAnnotations() map[string]string
- func (g *TiCDCGroup) TemplateLabels() map[string]string
- func (g *TiCDCGroup) To() *v1alpha1.TiCDCGroup
- func (g *TiCDCGroup) Version() string
- type TiCDCGroupTuple
- type TiCDCTuple
- type TiDB
- func (in *TiDB) ClientCASecretName() string
- func (in *TiDB) ClientCertKeyPairSecretName() string
- func (in *TiDB) ClientInsecureSkipTLSVerify() bool
- func (in *TiDB) Cluster() string
- func (in *TiDB) ClusterCASecretName() string
- func (in *TiDB) ClusterCertKeyPairSecretName() string
- func (*TiDB) Component() string
- func (in *TiDB) Conditions() []metav1.Condition
- func (in *TiDB) CurrentRevision() string
- func (in *TiDB) DeepCopyObject() runtime.Object
- func (in *TiDB) Features() []metav1alpha1.Feature
- func (in *TiDB) GetTopology() v1alpha1.Topology
- func (in *TiDB) GetUpdateRevision() string
- func (in *TiDB) IsAvailable(minReadySeconds int64, now time.Time) bool
- func (in *TiDB) IsNotRunning() bool
- func (in *TiDB) IsOffline() bool
- func (in *TiDB) IsReady() bool
- func (in *TiDB) IsStore() bool
- func (in *TiDB) IsUpToDate() bool
- func (in *TiDB) ObservedGeneration() int64
- func (in *TiDB) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
- func (in *TiDB) PodOverlay() *v1alpha1.PodOverlay
- func (in *TiDB) SetCluster(cluster string)
- func (in *TiDB) SetConditions(conds []metav1.Condition)
- func (in *TiDB) SetCurrentRevision(rev string)
- func (in *TiDB) SetImage(image string)
- func (in *TiDB) SetObservedGeneration(gen int64)
- func (in *TiDB) SetTopology(t v1alpha1.Topology)
- func (in *TiDB) SetVersion(version string)
- func (in *TiDB) Subdomain() string
- func (in *TiDB) To() *v1alpha1.TiDB
- func (in *TiDB) Version() string
- func (in *TiDB) Volumes() []v1alpha1.Volume
- type TiDBGroup
- func (g *TiDBGroup) ClientCASecretName() string
- func (g *TiDBGroup) ClientCertKeyPairSecretName() string
- func (g *TiDBGroup) ClientInsecureSkipTLSVerify() bool
- func (g *TiDBGroup) Cluster() string
- func (g *TiDBGroup) ClusterCASecretName() string
- func (g *TiDBGroup) ClusterCertKeyPairSecretName() string
- func (*TiDBGroup) Component() string
- func (g *TiDBGroup) Conditions() []metav1.Condition
- func (g *TiDBGroup) DeepCopyObject() runtime.Object
- func (g *TiDBGroup) Features() []metav1alpha1.Feature
- func (g *TiDBGroup) MinReadySeconds() int64
- func (g *TiDBGroup) ObservedGeneration() int64
- func (g *TiDBGroup) Replicas() int32
- func (g *TiDBGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
- func (g *TiDBGroup) SetCluster(cluster string)
- func (g *TiDBGroup) SetConditions(conds []metav1.Condition)
- func (g *TiDBGroup) SetImage(image string)
- func (g *TiDBGroup) SetObservedGeneration(gen int64)
- func (g *TiDBGroup) SetReplicas(replicas int32)
- func (g *TiDBGroup) SetStatusReplicas(replicas, ready, update, current int32)
- func (g *TiDBGroup) SetStatusRevision(update, current string, collisionCount *int32)
- func (g *TiDBGroup) SetStatusSelector(l string)
- func (g *TiDBGroup) SetStatusVersion(version string)
- func (g *TiDBGroup) SetTemplateAnnotations(anno map[string]string)
- func (g *TiDBGroup) SetTemplateLabels(ls map[string]string)
- func (g *TiDBGroup) SetVersion(version string)
- func (g *TiDBGroup) StatusReplicas() (replicas, ready, update, current int32)
- func (g *TiDBGroup) StatusRevision() (update, current string, collisionCount *int32)
- func (g *TiDBGroup) StatusSelector() string
- func (g *TiDBGroup) StatusVersion() string
- func (g *TiDBGroup) TemplateAnnotations() map[string]string
- func (g *TiDBGroup) TemplateLabels() map[string]string
- func (g *TiDBGroup) To() *v1alpha1.TiDBGroup
- func (g *TiDBGroup) Version() string
- type TiDBGroupTuple
- type TiDBTuple
- type TiFlash
- func (in *TiFlash) ClientCASecretName() string
- func (in *TiFlash) ClientCertKeyPairSecretName() string
- func (in *TiFlash) ClientInsecureSkipTLSVerify() bool
- func (in *TiFlash) Cluster() string
- func (in *TiFlash) ClusterCASecretName() string
- func (in *TiFlash) ClusterCertKeyPairSecretName() string
- func (*TiFlash) Component() string
- func (in *TiFlash) Conditions() []metav1.Condition
- func (in *TiFlash) CurrentRevision() string
- func (in *TiFlash) DeepCopyObject() runtime.Object
- func (in *TiFlash) Features() []metav1alpha1.Feature
- func (in *TiFlash) GetTopology() v1alpha1.Topology
- func (in *TiFlash) GetUpdateRevision() string
- func (in *TiFlash) IsAvailable(minReadySeconds int64, now time.Time) bool
- func (in *TiFlash) IsNotRunning() bool
- func (in *TiFlash) IsOffline() bool
- func (in *TiFlash) IsReady() bool
- func (in *TiFlash) IsStore() bool
- func (in *TiFlash) IsUpToDate() bool
- func (in *TiFlash) ObservedGeneration() int64
- func (in *TiFlash) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
- func (in *TiFlash) PodOverlay() *v1alpha1.PodOverlay
- func (in *TiFlash) SetCluster(cluster string)
- func (in *TiFlash) SetConditions(conds []metav1.Condition)
- func (in *TiFlash) SetCurrentRevision(rev string)
- func (in *TiFlash) SetImage(image string)
- func (in *TiFlash) SetObservedGeneration(gen int64)
- func (in *TiFlash) SetTopology(t v1alpha1.Topology)
- func (in *TiFlash) SetVersion(version string)
- func (in *TiFlash) Subdomain() string
- func (in *TiFlash) To() *v1alpha1.TiFlash
- func (in *TiFlash) Version() string
- func (in *TiFlash) Volumes() []v1alpha1.Volume
- type TiFlashGroup
- func (g *TiFlashGroup) ClientCASecretName() string
- func (g *TiFlashGroup) ClientCertKeyPairSecretName() string
- func (g *TiFlashGroup) ClientInsecureSkipTLSVerify() bool
- func (g *TiFlashGroup) Cluster() string
- func (g *TiFlashGroup) ClusterCASecretName() string
- func (g *TiFlashGroup) ClusterCertKeyPairSecretName() string
- func (*TiFlashGroup) Component() string
- func (g *TiFlashGroup) Conditions() []metav1.Condition
- func (g *TiFlashGroup) DeepCopyObject() runtime.Object
- func (g *TiFlashGroup) Features() []metav1alpha1.Feature
- func (g *TiFlashGroup) MinReadySeconds() int64
- func (g *TiFlashGroup) ObservedGeneration() int64
- func (g *TiFlashGroup) Replicas() int32
- func (g *TiFlashGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
- func (g *TiFlashGroup) SetCluster(cluster string)
- func (g *TiFlashGroup) SetConditions(conds []metav1.Condition)
- func (g *TiFlashGroup) SetImage(image string)
- func (g *TiFlashGroup) SetObservedGeneration(gen int64)
- func (g *TiFlashGroup) SetReplicas(replicas int32)
- func (g *TiFlashGroup) SetStatusReplicas(replicas, ready, update, current int32)
- func (g *TiFlashGroup) SetStatusRevision(update, current string, collisionCount *int32)
- func (g *TiFlashGroup) SetStatusSelector(l string)
- func (g *TiFlashGroup) SetStatusVersion(version string)
- func (g *TiFlashGroup) SetTemplateAnnotations(anno map[string]string)
- func (g *TiFlashGroup) SetTemplateLabels(ls map[string]string)
- func (g *TiFlashGroup) SetVersion(version string)
- func (g *TiFlashGroup) StatusReplicas() (replicas, ready, update, current int32)
- func (g *TiFlashGroup) StatusRevision() (update, current string, collisionCount *int32)
- func (g *TiFlashGroup) StatusSelector() string
- func (g *TiFlashGroup) StatusVersion() string
- func (g *TiFlashGroup) TemplateAnnotations() map[string]string
- func (g *TiFlashGroup) TemplateLabels() map[string]string
- func (g *TiFlashGroup) To() *v1alpha1.TiFlashGroup
- func (g *TiFlashGroup) Version() string
- type TiFlashGroupTuple
- type TiFlashTuple
- type TiKV
- func (in *TiKV) ClientCASecretName() string
- func (in *TiKV) ClientCertKeyPairSecretName() string
- func (in *TiKV) ClientInsecureSkipTLSVerify() bool
- func (in *TiKV) Cluster() string
- func (in *TiKV) ClusterCASecretName() string
- func (in *TiKV) ClusterCertKeyPairSecretName() string
- func (*TiKV) Component() string
- func (in *TiKV) Conditions() []metav1.Condition
- func (in *TiKV) CurrentRevision() string
- func (in *TiKV) DeepCopyObject() runtime.Object
- func (in *TiKV) Features() []metav1alpha1.Feature
- func (in *TiKV) GetTopology() v1alpha1.Topology
- func (in *TiKV) GetUpdateRevision() string
- func (in *TiKV) IsAvailable(minReadySeconds int64, now time.Time) bool
- func (in *TiKV) IsNotRunning() bool
- func (in *TiKV) IsOffline() bool
- func (in *TiKV) IsReady() bool
- func (in *TiKV) IsStore() bool
- func (in *TiKV) IsUpToDate() bool
- func (in *TiKV) ObservedGeneration() int64
- func (in *TiKV) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
- func (in *TiKV) PodOverlay() *v1alpha1.PodOverlay
- func (in *TiKV) SetCluster(cluster string)
- func (in *TiKV) SetConditions(conds []metav1.Condition)
- func (in *TiKV) SetCurrentRevision(rev string)
- func (in *TiKV) SetImage(image string)
- func (in *TiKV) SetObservedGeneration(gen int64)
- func (in *TiKV) SetTopology(t v1alpha1.Topology)
- func (in *TiKV) SetVersion(version string)
- func (in *TiKV) Subdomain() string
- func (in *TiKV) To() *v1alpha1.TiKV
- func (in *TiKV) Version() string
- func (in *TiKV) Volumes() []v1alpha1.Volume
- type TiKVGroup
- func (g *TiKVGroup) ClientCASecretName() string
- func (g *TiKVGroup) ClientCertKeyPairSecretName() string
- func (g *TiKVGroup) ClientInsecureSkipTLSVerify() bool
- func (g *TiKVGroup) Cluster() string
- func (g *TiKVGroup) ClusterCASecretName() string
- func (g *TiKVGroup) ClusterCertKeyPairSecretName() string
- func (*TiKVGroup) Component() string
- func (g *TiKVGroup) Conditions() []metav1.Condition
- func (g *TiKVGroup) DeepCopyObject() runtime.Object
- func (g *TiKVGroup) Features() []metav1alpha1.Feature
- func (g *TiKVGroup) MinReadySeconds() int64
- func (g *TiKVGroup) ObservedGeneration() int64
- func (g *TiKVGroup) Replicas() int32
- func (g *TiKVGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
- func (g *TiKVGroup) SetCluster(cluster string)
- func (g *TiKVGroup) SetConditions(conds []metav1.Condition)
- func (g *TiKVGroup) SetImage(image string)
- func (g *TiKVGroup) SetObservedGeneration(gen int64)
- func (g *TiKVGroup) SetReplicas(replicas int32)
- func (g *TiKVGroup) SetStatusReplicas(replicas, ready, update, current int32)
- func (g *TiKVGroup) SetStatusRevision(update, current string, collisionCount *int32)
- func (g *TiKVGroup) SetStatusSelector(l string)
- func (g *TiKVGroup) SetStatusVersion(version string)
- func (g *TiKVGroup) SetTemplateAnnotations(anno map[string]string)
- func (g *TiKVGroup) SetTemplateLabels(ls map[string]string)
- func (g *TiKVGroup) SetVersion(version string)
- func (g *TiKVGroup) StatusReplicas() (replicas, ready, update, current int32)
- func (g *TiKVGroup) StatusRevision() (update, current string, collisionCount *int32)
- func (g *TiKVGroup) StatusSelector() string
- func (g *TiKVGroup) StatusVersion() string
- func (g *TiKVGroup) TemplateAnnotations() map[string]string
- func (g *TiKVGroup) TemplateLabels() map[string]string
- func (g *TiKVGroup) To() *v1alpha1.TiKVGroup
- func (g *TiKVGroup) Version() string
- type TiKVGroupTuple
- type TiKVTuple
- type TiProxy
- func (in *TiProxy) ClientCASecretName() string
- func (in *TiProxy) ClientCertKeyPairSecretName() string
- func (in *TiProxy) ClientInsecureSkipTLSVerify() bool
- func (in *TiProxy) Cluster() string
- func (in *TiProxy) ClusterCASecretName() string
- func (in *TiProxy) ClusterCertKeyPairSecretName() string
- func (*TiProxy) Component() string
- func (in *TiProxy) Conditions() []metav1.Condition
- func (in *TiProxy) CurrentRevision() string
- func (in *TiProxy) DeepCopyObject() runtime.Object
- func (in *TiProxy) Features() []metav1alpha1.Feature
- func (in *TiProxy) GetTopology() v1alpha1.Topology
- func (in *TiProxy) GetUpdateRevision() string
- func (in *TiProxy) IsAvailable(minReadySeconds int64, now time.Time) bool
- func (in *TiProxy) IsNotRunning() bool
- func (in *TiProxy) IsOffline() bool
- func (in *TiProxy) IsReady() bool
- func (in *TiProxy) IsStore() bool
- func (in *TiProxy) IsUpToDate() bool
- func (in *TiProxy) ObservedGeneration() int64
- func (in *TiProxy) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
- func (in *TiProxy) PodOverlay() *v1alpha1.PodOverlay
- func (in *TiProxy) SetCluster(cluster string)
- func (in *TiProxy) SetConditions(conds []metav1.Condition)
- func (in *TiProxy) SetCurrentRevision(rev string)
- func (in *TiProxy) SetImage(image string)
- func (in *TiProxy) SetObservedGeneration(gen int64)
- func (in *TiProxy) SetTopology(t v1alpha1.Topology)
- func (in *TiProxy) SetVersion(version string)
- func (in *TiProxy) Subdomain() string
- func (in *TiProxy) To() *v1alpha1.TiProxy
- func (in *TiProxy) Version() string
- func (in *TiProxy) Volumes() []v1alpha1.Volume
- type TiProxyGroup
- func (g *TiProxyGroup) ClientCASecretName() string
- func (g *TiProxyGroup) ClientCertKeyPairSecretName() string
- func (g *TiProxyGroup) ClientInsecureSkipTLSVerify() bool
- func (g *TiProxyGroup) Cluster() string
- func (g *TiProxyGroup) ClusterCASecretName() string
- func (g *TiProxyGroup) ClusterCertKeyPairSecretName() string
- func (*TiProxyGroup) Component() string
- func (g *TiProxyGroup) Conditions() []metav1.Condition
- func (g *TiProxyGroup) DeepCopyObject() runtime.Object
- func (g *TiProxyGroup) Features() []metav1alpha1.Feature
- func (g *TiProxyGroup) MinReadySeconds() int64
- func (g *TiProxyGroup) ObservedGeneration() int64
- func (g *TiProxyGroup) Replicas() int32
- func (g *TiProxyGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
- func (g *TiProxyGroup) SetCluster(cluster string)
- func (g *TiProxyGroup) SetConditions(conds []metav1.Condition)
- func (g *TiProxyGroup) SetImage(image string)
- func (g *TiProxyGroup) SetObservedGeneration(gen int64)
- func (g *TiProxyGroup) SetReplicas(replicas int32)
- func (g *TiProxyGroup) SetStatusReplicas(replicas, ready, update, current int32)
- func (g *TiProxyGroup) SetStatusRevision(update, current string, collisionCount *int32)
- func (g *TiProxyGroup) SetStatusSelector(l string)
- func (g *TiProxyGroup) SetStatusVersion(version string)
- func (g *TiProxyGroup) SetTemplateAnnotations(anno map[string]string)
- func (g *TiProxyGroup) SetTemplateLabels(ls map[string]string)
- func (g *TiProxyGroup) SetVersion(version string)
- func (g *TiProxyGroup) StatusReplicas() (replicas, ready, update, current int32)
- func (g *TiProxyGroup) StatusRevision() (update, current string, collisionCount *int32)
- func (g *TiProxyGroup) StatusSelector() string
- func (g *TiProxyGroup) StatusVersion() string
- func (g *TiProxyGroup) TemplateAnnotations() map[string]string
- func (g *TiProxyGroup) TemplateLabels() map[string]string
- func (g *TiProxyGroup) To() *v1alpha1.TiProxyGroup
- func (g *TiProxyGroup) Version() string
- type TiProxyGroupTuple
- type TiProxyTuple
- type Tuple
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOfflineCondition ¶
func NamePrefixAndSuffix ¶
func RemoveOfflineCondition ¶
func SetOfflineCondition ¶
func ToBackup ¶
func ToBackup(b *Backup) *brv1alpha1.Backup
func ToPDGroupSlice ¶
func ToRestore ¶
func ToRestore(r *Restore) *brv1alpha1.Restore
func ToScheduler ¶
func ToSchedulerGroup ¶
func ToSchedulerGroup(g *SchedulerGroup) *v1alpha1.SchedulerGroup
func ToSchedulerGroupSlice ¶
func ToSchedulerGroupSlice(gs []*SchedulerGroup) []*v1alpha1.SchedulerGroup
func ToSchedulerSlice ¶
func ToScheduling ¶
func ToScheduling(in *Scheduling) *v1alpha1.Scheduling
func ToSchedulingGroup ¶
func ToSchedulingGroup(g *SchedulingGroup) *v1alpha1.SchedulingGroup
func ToSchedulingGroupSlice ¶
func ToSchedulingGroupSlice(gs []*SchedulingGroup) []*v1alpha1.SchedulingGroup
func ToSchedulingSlice ¶
func ToSchedulingSlice(ins []*Scheduling) []*v1alpha1.Scheduling
func ToTSOGroup ¶
func ToTSOGroupSlice ¶
func ToTSOSlice ¶
func ToTiCDCGroup ¶
func ToTiCDCGroup(g *TiCDCGroup) *v1alpha1.TiCDCGroup
func ToTiCDCGroupSlice ¶
func ToTiCDCGroupSlice(gs []*TiCDCGroup) []*v1alpha1.TiCDCGroup
func ToTiCDCSlice ¶
func ToTiDBGroup ¶
func ToTiDBGroupSlice ¶
func ToTiDBSlice ¶
func ToTiFlashGroup ¶
func ToTiFlashGroup(g *TiFlashGroup) *v1alpha1.TiFlashGroup
func ToTiFlashGroupSlice ¶
func ToTiFlashGroupSlice(gs []*TiFlashGroup) []*v1alpha1.TiFlashGroup
func ToTiFlashSlice ¶
func ToTiKVGroup ¶
func ToTiKVGroupSlice ¶
func ToTiKVSlice ¶
func ToTiProxyGroup ¶
func ToTiProxyGroup(g *TiProxyGroup) *v1alpha1.TiProxyGroup
func ToTiProxyGroupSlice ¶
func ToTiProxyGroupSlice(gs []*TiProxyGroup) []*v1alpha1.TiProxyGroup
func ToTiProxySlice ¶
Types ¶
type Backup ¶
type Backup brv1alpha1.Backup
br
func FromBackup ¶
func FromBackup(b *brv1alpha1.Backup) *Backup
func (*Backup) ClientCASecretName ¶
func (*Backup) ClientCertKeyPairSecretName ¶
func (*Backup) ClientInsecureSkipTLSVerify ¶
func (*Backup) ClusterCASecretName ¶
func (*Backup) ClusterCertKeyPairSecretName ¶
func (*Backup) Conditions ¶
func (*Backup) Features ¶
func (b *Backup) Features() []metav1alpha1.Feature
func (*Backup) LastRetryRecord ¶
func (b *Backup) LastRetryRecord() (brv1alpha1.BackoffRetryRecord, bool)
func (*Backup) NeedAddFinalizer ¶
func (*Backup) NeedRemoveFinalizer ¶
func (*Backup) ObservedGeneration ¶
func (*Backup) SetCluster ¶
func (*Backup) SetConditions ¶
func (*Backup) SetObservedGeneration ¶
func (*Backup) SetVersion ¶
type Group ¶
type Group interface {
Object
SetReplicas(replicas int32)
Replicas() int32
SetStatusVersion(version string)
StatusVersion() string
SetStatusReplicas(replicas, ready, update, current int32)
StatusReplicas() (replicas, ready, update, current int32)
SetStatusRevision(update, current string, collisionCount *int32)
StatusRevision() (update, current string, collisionCount *int32)
SetStatusSelector(l string)
StatusSelector() string
TemplateLabels() map[string]string
TemplateAnnotations() map[string]string
SetTemplateLabels(map[string]string)
SetTemplateAnnotations(map[string]string)
MinReadySeconds() int64
SchedulePolicies() []v1alpha1.SchedulePolicy
}
type GroupSet ¶
type GroupSet interface {
PDGroup | TiDBGroup | TiKVGroup | TiFlashGroup | TiCDCGroup | TiProxyGroup | TSOGroup | SchedulingGroup | SchedulerGroup
}
type Instance ¶
type Instance interface {
Object
GetTopology() v1alpha1.Topology
SetTopology(topo v1alpha1.Topology)
GetUpdateRevision() string
// IsReady means the instance is ready to serve
IsReady() bool
// IsNotRunning means the pod of this instance is not running
IsNotRunning() bool
// IsAvailable means the instance is ready more than minReadySeconds
IsAvailable(minReadySeconds int64, now time.Time) bool
// IsUpToDate means all resources managed by the instance is up to date
// NOTE: It does not mean the instance is updated to the newest revision
// TODO: may be change a more meaningful name?
IsUpToDate() bool
IsOffline() bool
CurrentRevision() string
SetCurrentRevision(rev string)
Volumes() []v1alpha1.Volume
PodOverlay() *v1alpha1.PodOverlay
PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
Subdomain() string
// IsStore indicates whether the instance is a store.
// For TiKV and TiFlash, it returns true, otherwise it returns false.
IsStore() bool
}
type InstanceSet ¶
type InstanceT ¶
type InstanceT[T InstanceSet] interface { Instance *T }
type Job ¶
type Job interface {
Object
// Failed returns true if the job is Failed
Failed() bool
// Completed returns true if the job is Completed
Completed() bool
// Invalid returns true if the job is invalid
Invalid() bool
// NeedAddFinalizer returns true if the job needs a finalizer
NeedAddFinalizer() bool
// NeedRemoveFinalizer returns true if the job needs to remove the finalizer
NeedRemoveFinalizer() bool
// K8sJob returns the k8s job object key
K8sJob() client.ObjectKey
Object() client.Object
}
Job is the interface for a job. for example, backup, restore, etc.
type MockInstance ¶
type MockInstance struct {
// contains filtered or unexported fields
}
MockInstance is a mock of Instance interface.
func NewMockInstance ¶
func NewMockInstance(ctrl *gomock.Controller) *MockInstance
NewMockInstance creates a new mock instance.
func (*MockInstance) ClientCASecretName ¶
func (m *MockInstance) ClientCASecretName() string
ClientCASecretName mocks base method.
func (*MockInstance) ClientCertKeyPairSecretName ¶
func (m *MockInstance) ClientCertKeyPairSecretName() string
ClientCertKeyPairSecretName mocks base method.
func (*MockInstance) ClientInsecureSkipTLSVerify ¶
func (m *MockInstance) ClientInsecureSkipTLSVerify() bool
ClientInsecureSkipTLSVerify mocks base method.
func (*MockInstance) ClusterCASecretName ¶
func (m *MockInstance) ClusterCASecretName() string
ClusterCASecretName mocks base method.
func (*MockInstance) ClusterCertKeyPairSecretName ¶
func (m *MockInstance) ClusterCertKeyPairSecretName() string
ClusterCertKeyPairSecretName mocks base method.
func (*MockInstance) Component ¶
func (m *MockInstance) Component() string
Component mocks base method.
func (*MockInstance) Conditions ¶
func (m *MockInstance) Conditions() []v1.Condition
Conditions mocks base method.
func (*MockInstance) CurrentRevision ¶
func (m *MockInstance) CurrentRevision() string
CurrentRevision mocks base method.
func (*MockInstance) EXPECT ¶
func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstance) Features ¶
func (m *MockInstance) Features() []v1alpha10.Feature
Features mocks base method.
func (*MockInstance) GetAnnotations ¶
func (m *MockInstance) GetAnnotations() map[string]string
GetAnnotations mocks base method.
func (*MockInstance) GetCreationTimestamp ¶
func (m *MockInstance) GetCreationTimestamp() v1.Time
GetCreationTimestamp mocks base method.
func (*MockInstance) GetDeletionGracePeriodSeconds ¶
func (m *MockInstance) GetDeletionGracePeriodSeconds() *int64
GetDeletionGracePeriodSeconds mocks base method.
func (*MockInstance) GetDeletionTimestamp ¶
func (m *MockInstance) GetDeletionTimestamp() *v1.Time
GetDeletionTimestamp mocks base method.
func (*MockInstance) GetFinalizers ¶
func (m *MockInstance) GetFinalizers() []string
GetFinalizers mocks base method.
func (*MockInstance) GetGenerateName ¶
func (m *MockInstance) GetGenerateName() string
GetGenerateName mocks base method.
func (*MockInstance) GetGeneration ¶
func (m *MockInstance) GetGeneration() int64
GetGeneration mocks base method.
func (*MockInstance) GetLabels ¶
func (m *MockInstance) GetLabels() map[string]string
GetLabels mocks base method.
func (*MockInstance) GetManagedFields ¶
func (m *MockInstance) GetManagedFields() []v1.ManagedFieldsEntry
GetManagedFields mocks base method.
func (*MockInstance) GetNamespace ¶
func (m *MockInstance) GetNamespace() string
GetNamespace mocks base method.
func (*MockInstance) GetOwnerReferences ¶
func (m *MockInstance) GetOwnerReferences() []v1.OwnerReference
GetOwnerReferences mocks base method.
func (*MockInstance) GetResourceVersion ¶
func (m *MockInstance) GetResourceVersion() string
GetResourceVersion mocks base method.
func (*MockInstance) GetSelfLink ¶
func (m *MockInstance) GetSelfLink() string
GetSelfLink mocks base method.
func (*MockInstance) GetTopology ¶
func (m *MockInstance) GetTopology() v1alpha1.Topology
GetTopology mocks base method.
func (*MockInstance) GetUpdateRevision ¶
func (m *MockInstance) GetUpdateRevision() string
GetUpdateRevision mocks base method.
func (*MockInstance) IsAvailable ¶
func (m *MockInstance) IsAvailable(minReadySeconds int64, now time.Time) bool
IsAvailable mocks base method.
func (*MockInstance) IsNotRunning ¶
func (m *MockInstance) IsNotRunning() bool
IsNotRunning mocks base method.
func (*MockInstance) IsOffline ¶
func (m *MockInstance) IsOffline() bool
IsOffline mocks base method.
func (*MockInstance) IsUpToDate ¶
func (m *MockInstance) IsUpToDate() bool
IsUpToDate mocks base method.
func (*MockInstance) ObservedGeneration ¶
func (m *MockInstance) ObservedGeneration() int64
ObservedGeneration mocks base method.
func (*MockInstance) PVCOverlay ¶
func (m *MockInstance) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
PVCOverlay mocks base method.
func (*MockInstance) PodOverlay ¶
func (m *MockInstance) PodOverlay() *v1alpha1.PodOverlay
PodOverlay mocks base method.
func (*MockInstance) SetAnnotations ¶
func (m *MockInstance) SetAnnotations(annotations map[string]string)
SetAnnotations mocks base method.
func (*MockInstance) SetCluster ¶
func (m *MockInstance) SetCluster(cluster string)
SetCluster mocks base method.
func (*MockInstance) SetConditions ¶
func (m *MockInstance) SetConditions(arg0 []v1.Condition)
SetConditions mocks base method.
func (*MockInstance) SetCreationTimestamp ¶
func (m *MockInstance) SetCreationTimestamp(timestamp v1.Time)
SetCreationTimestamp mocks base method.
func (*MockInstance) SetCurrentRevision ¶
func (m *MockInstance) SetCurrentRevision(rev string)
SetCurrentRevision mocks base method.
func (*MockInstance) SetDeletionGracePeriodSeconds ¶
func (m *MockInstance) SetDeletionGracePeriodSeconds(arg0 *int64)
SetDeletionGracePeriodSeconds mocks base method.
func (*MockInstance) SetDeletionTimestamp ¶
func (m *MockInstance) SetDeletionTimestamp(timestamp *v1.Time)
SetDeletionTimestamp mocks base method.
func (*MockInstance) SetFinalizers ¶
func (m *MockInstance) SetFinalizers(finalizers []string)
SetFinalizers mocks base method.
func (*MockInstance) SetGenerateName ¶
func (m *MockInstance) SetGenerateName(name string)
SetGenerateName mocks base method.
func (*MockInstance) SetGeneration ¶
func (m *MockInstance) SetGeneration(generation int64)
SetGeneration mocks base method.
func (*MockInstance) SetImage ¶
func (m *MockInstance) SetImage(image string)
SetImage mocks base method.
func (*MockInstance) SetLabels ¶
func (m *MockInstance) SetLabels(labels map[string]string)
SetLabels mocks base method.
func (*MockInstance) SetManagedFields ¶
func (m *MockInstance) SetManagedFields(managedFields []v1.ManagedFieldsEntry)
SetManagedFields mocks base method.
func (*MockInstance) SetName ¶
func (m *MockInstance) SetName(name string)
SetName mocks base method.
func (*MockInstance) SetNamespace ¶
func (m *MockInstance) SetNamespace(namespace string)
SetNamespace mocks base method.
func (*MockInstance) SetObservedGeneration ¶
func (m *MockInstance) SetObservedGeneration(arg0 int64)
SetObservedGeneration mocks base method.
func (*MockInstance) SetOwnerReferences ¶
func (m *MockInstance) SetOwnerReferences(arg0 []v1.OwnerReference)
SetOwnerReferences mocks base method.
func (*MockInstance) SetResourceVersion ¶
func (m *MockInstance) SetResourceVersion(version string)
SetResourceVersion mocks base method.
func (*MockInstance) SetSelfLink ¶
func (m *MockInstance) SetSelfLink(selfLink string)
SetSelfLink mocks base method.
func (*MockInstance) SetTopology ¶
func (m *MockInstance) SetTopology(topo v1alpha1.Topology)
SetTopology mocks base method.
func (*MockInstance) SetUID ¶
func (m *MockInstance) SetUID(uid types.UID)
SetUID mocks base method.
func (*MockInstance) SetVersion ¶
func (m *MockInstance) SetVersion(versions string)
SetVersion mocks base method.
func (*MockInstance) Subdomain ¶
func (m *MockInstance) Subdomain() string
Subdomain mocks base method.
func (*MockInstance) Volumes ¶
func (m *MockInstance) Volumes() []v1alpha1.Volume
Volumes mocks base method.
type MockInstanceMockRecorder ¶
type MockInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceMockRecorder is the mock recorder for MockInstance.
func (*MockInstanceMockRecorder) ClientCASecretName ¶
func (mr *MockInstanceMockRecorder) ClientCASecretName() *gomock.Call
ClientCASecretName indicates an expected call of ClientCASecretName.
func (*MockInstanceMockRecorder) ClientCertKeyPairSecretName ¶
func (mr *MockInstanceMockRecorder) ClientCertKeyPairSecretName() *gomock.Call
ClientCertKeyPairSecretName indicates an expected call of ClientCertKeyPairSecretName.
func (*MockInstanceMockRecorder) ClientInsecureSkipTLSVerify ¶
func (mr *MockInstanceMockRecorder) ClientInsecureSkipTLSVerify() *gomock.Call
ClientInsecureSkipTLSVerify indicates an expected call of ClientInsecureSkipTLSVerify.
func (*MockInstanceMockRecorder) Cluster ¶
func (mr *MockInstanceMockRecorder) Cluster() *gomock.Call
Cluster indicates an expected call of Cluster.
func (*MockInstanceMockRecorder) ClusterCASecretName ¶
func (mr *MockInstanceMockRecorder) ClusterCASecretName() *gomock.Call
ClusterCASecretName indicates an expected call of ClusterCASecretName.
func (*MockInstanceMockRecorder) ClusterCertKeyPairSecretName ¶
func (mr *MockInstanceMockRecorder) ClusterCertKeyPairSecretName() *gomock.Call
ClusterCertKeyPairSecretName indicates an expected call of ClusterCertKeyPairSecretName.
func (*MockInstanceMockRecorder) Component ¶
func (mr *MockInstanceMockRecorder) Component() *gomock.Call
Component indicates an expected call of Component.
func (*MockInstanceMockRecorder) Conditions ¶
func (mr *MockInstanceMockRecorder) Conditions() *gomock.Call
Conditions indicates an expected call of Conditions.
func (*MockInstanceMockRecorder) CurrentRevision ¶
func (mr *MockInstanceMockRecorder) CurrentRevision() *gomock.Call
CurrentRevision indicates an expected call of CurrentRevision.
func (*MockInstanceMockRecorder) Features ¶
func (mr *MockInstanceMockRecorder) Features() *gomock.Call
Features indicates an expected call of Features.
func (*MockInstanceMockRecorder) GetAnnotations ¶
func (mr *MockInstanceMockRecorder) GetAnnotations() *gomock.Call
GetAnnotations indicates an expected call of GetAnnotations.
func (*MockInstanceMockRecorder) GetCreationTimestamp ¶
func (mr *MockInstanceMockRecorder) GetCreationTimestamp() *gomock.Call
GetCreationTimestamp indicates an expected call of GetCreationTimestamp.
func (*MockInstanceMockRecorder) GetDeletionGracePeriodSeconds ¶
func (mr *MockInstanceMockRecorder) GetDeletionGracePeriodSeconds() *gomock.Call
GetDeletionGracePeriodSeconds indicates an expected call of GetDeletionGracePeriodSeconds.
func (*MockInstanceMockRecorder) GetDeletionTimestamp ¶
func (mr *MockInstanceMockRecorder) GetDeletionTimestamp() *gomock.Call
GetDeletionTimestamp indicates an expected call of GetDeletionTimestamp.
func (*MockInstanceMockRecorder) GetFinalizers ¶
func (mr *MockInstanceMockRecorder) GetFinalizers() *gomock.Call
GetFinalizers indicates an expected call of GetFinalizers.
func (*MockInstanceMockRecorder) GetGenerateName ¶
func (mr *MockInstanceMockRecorder) GetGenerateName() *gomock.Call
GetGenerateName indicates an expected call of GetGenerateName.
func (*MockInstanceMockRecorder) GetGeneration ¶
func (mr *MockInstanceMockRecorder) GetGeneration() *gomock.Call
GetGeneration indicates an expected call of GetGeneration.
func (*MockInstanceMockRecorder) GetLabels ¶
func (mr *MockInstanceMockRecorder) GetLabels() *gomock.Call
GetLabels indicates an expected call of GetLabels.
func (*MockInstanceMockRecorder) GetManagedFields ¶
func (mr *MockInstanceMockRecorder) GetManagedFields() *gomock.Call
GetManagedFields indicates an expected call of GetManagedFields.
func (*MockInstanceMockRecorder) GetName ¶
func (mr *MockInstanceMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockInstanceMockRecorder) GetNamespace ¶
func (mr *MockInstanceMockRecorder) GetNamespace() *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockInstanceMockRecorder) GetOwnerReferences ¶
func (mr *MockInstanceMockRecorder) GetOwnerReferences() *gomock.Call
GetOwnerReferences indicates an expected call of GetOwnerReferences.
func (*MockInstanceMockRecorder) GetResourceVersion ¶
func (mr *MockInstanceMockRecorder) GetResourceVersion() *gomock.Call
GetResourceVersion indicates an expected call of GetResourceVersion.
func (*MockInstanceMockRecorder) GetSelfLink ¶
func (mr *MockInstanceMockRecorder) GetSelfLink() *gomock.Call
GetSelfLink indicates an expected call of GetSelfLink.
func (*MockInstanceMockRecorder) GetTopology ¶
func (mr *MockInstanceMockRecorder) GetTopology() *gomock.Call
GetTopology indicates an expected call of GetTopology.
func (*MockInstanceMockRecorder) GetUID ¶
func (mr *MockInstanceMockRecorder) GetUID() *gomock.Call
GetUID indicates an expected call of GetUID.
func (*MockInstanceMockRecorder) GetUpdateRevision ¶
func (mr *MockInstanceMockRecorder) GetUpdateRevision() *gomock.Call
GetUpdateRevision indicates an expected call of GetUpdateRevision.
func (*MockInstanceMockRecorder) IsAvailable ¶
func (mr *MockInstanceMockRecorder) IsAvailable(minReadySeconds, now any) *gomock.Call
IsAvailable indicates an expected call of IsAvailable.
func (*MockInstanceMockRecorder) IsNotRunning ¶
func (mr *MockInstanceMockRecorder) IsNotRunning() *gomock.Call
IsNotRunning indicates an expected call of IsNotRunning.
func (*MockInstanceMockRecorder) IsOffline ¶
func (mr *MockInstanceMockRecorder) IsOffline() *gomock.Call
IsOffline indicates an expected call of IsOffline.
func (*MockInstanceMockRecorder) IsReady ¶
func (mr *MockInstanceMockRecorder) IsReady() *gomock.Call
IsReady indicates an expected call of IsReady.
func (*MockInstanceMockRecorder) IsStore ¶
func (mr *MockInstanceMockRecorder) IsStore() *gomock.Call
IsStore indicates an expected call of IsStore.
func (*MockInstanceMockRecorder) IsUpToDate ¶
func (mr *MockInstanceMockRecorder) IsUpToDate() *gomock.Call
IsUpToDate indicates an expected call of IsUpToDate.
func (*MockInstanceMockRecorder) ObservedGeneration ¶
func (mr *MockInstanceMockRecorder) ObservedGeneration() *gomock.Call
ObservedGeneration indicates an expected call of ObservedGeneration.
func (*MockInstanceMockRecorder) PVCOverlay ¶
func (mr *MockInstanceMockRecorder) PVCOverlay() *gomock.Call
PVCOverlay indicates an expected call of PVCOverlay.
func (*MockInstanceMockRecorder) PodOverlay ¶
func (mr *MockInstanceMockRecorder) PodOverlay() *gomock.Call
PodOverlay indicates an expected call of PodOverlay.
func (*MockInstanceMockRecorder) SetAnnotations ¶
func (mr *MockInstanceMockRecorder) SetAnnotations(annotations any) *gomock.Call
SetAnnotations indicates an expected call of SetAnnotations.
func (*MockInstanceMockRecorder) SetCluster ¶
func (mr *MockInstanceMockRecorder) SetCluster(cluster any) *gomock.Call
SetCluster indicates an expected call of SetCluster.
func (*MockInstanceMockRecorder) SetConditions ¶
func (mr *MockInstanceMockRecorder) SetConditions(arg0 any) *gomock.Call
SetConditions indicates an expected call of SetConditions.
func (*MockInstanceMockRecorder) SetCreationTimestamp ¶
func (mr *MockInstanceMockRecorder) SetCreationTimestamp(timestamp any) *gomock.Call
SetCreationTimestamp indicates an expected call of SetCreationTimestamp.
func (*MockInstanceMockRecorder) SetCurrentRevision ¶
func (mr *MockInstanceMockRecorder) SetCurrentRevision(rev any) *gomock.Call
SetCurrentRevision indicates an expected call of SetCurrentRevision.
func (*MockInstanceMockRecorder) SetDeletionGracePeriodSeconds ¶
func (mr *MockInstanceMockRecorder) SetDeletionGracePeriodSeconds(arg0 any) *gomock.Call
SetDeletionGracePeriodSeconds indicates an expected call of SetDeletionGracePeriodSeconds.
func (*MockInstanceMockRecorder) SetDeletionTimestamp ¶
func (mr *MockInstanceMockRecorder) SetDeletionTimestamp(timestamp any) *gomock.Call
SetDeletionTimestamp indicates an expected call of SetDeletionTimestamp.
func (*MockInstanceMockRecorder) SetFinalizers ¶
func (mr *MockInstanceMockRecorder) SetFinalizers(finalizers any) *gomock.Call
SetFinalizers indicates an expected call of SetFinalizers.
func (*MockInstanceMockRecorder) SetGenerateName ¶
func (mr *MockInstanceMockRecorder) SetGenerateName(name any) *gomock.Call
SetGenerateName indicates an expected call of SetGenerateName.
func (*MockInstanceMockRecorder) SetGeneration ¶
func (mr *MockInstanceMockRecorder) SetGeneration(generation any) *gomock.Call
SetGeneration indicates an expected call of SetGeneration.
func (*MockInstanceMockRecorder) SetImage ¶
func (mr *MockInstanceMockRecorder) SetImage(image any) *gomock.Call
SetImage indicates an expected call of SetImage.
func (*MockInstanceMockRecorder) SetLabels ¶
func (mr *MockInstanceMockRecorder) SetLabels(labels any) *gomock.Call
SetLabels indicates an expected call of SetLabels.
func (*MockInstanceMockRecorder) SetManagedFields ¶
func (mr *MockInstanceMockRecorder) SetManagedFields(managedFields any) *gomock.Call
SetManagedFields indicates an expected call of SetManagedFields.
func (*MockInstanceMockRecorder) SetName ¶
func (mr *MockInstanceMockRecorder) SetName(name any) *gomock.Call
SetName indicates an expected call of SetName.
func (*MockInstanceMockRecorder) SetNamespace ¶
func (mr *MockInstanceMockRecorder) SetNamespace(namespace any) *gomock.Call
SetNamespace indicates an expected call of SetNamespace.
func (*MockInstanceMockRecorder) SetObservedGeneration ¶
func (mr *MockInstanceMockRecorder) SetObservedGeneration(arg0 any) *gomock.Call
SetObservedGeneration indicates an expected call of SetObservedGeneration.
func (*MockInstanceMockRecorder) SetOwnerReferences ¶
func (mr *MockInstanceMockRecorder) SetOwnerReferences(arg0 any) *gomock.Call
SetOwnerReferences indicates an expected call of SetOwnerReferences.
func (*MockInstanceMockRecorder) SetResourceVersion ¶
func (mr *MockInstanceMockRecorder) SetResourceVersion(version any) *gomock.Call
SetResourceVersion indicates an expected call of SetResourceVersion.
func (*MockInstanceMockRecorder) SetSelfLink ¶
func (mr *MockInstanceMockRecorder) SetSelfLink(selfLink any) *gomock.Call
SetSelfLink indicates an expected call of SetSelfLink.
func (*MockInstanceMockRecorder) SetTopology ¶
func (mr *MockInstanceMockRecorder) SetTopology(topo any) *gomock.Call
SetTopology indicates an expected call of SetTopology.
func (*MockInstanceMockRecorder) SetUID ¶
func (mr *MockInstanceMockRecorder) SetUID(uid any) *gomock.Call
SetUID indicates an expected call of SetUID.
func (*MockInstanceMockRecorder) SetVersion ¶
func (mr *MockInstanceMockRecorder) SetVersion(versions any) *gomock.Call
SetVersion indicates an expected call of SetVersion.
func (*MockInstanceMockRecorder) Subdomain ¶
func (mr *MockInstanceMockRecorder) Subdomain() *gomock.Call
Subdomain indicates an expected call of Subdomain.
func (*MockInstanceMockRecorder) Version ¶
func (mr *MockInstanceMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
func (*MockInstanceMockRecorder) Volumes ¶
func (mr *MockInstanceMockRecorder) Volumes() *gomock.Call
Volumes indicates an expected call of Volumes.
type Object ¶
type Object interface {
metav1.Object
Component() string
SetCluster(cluster string)
Cluster() string
SetConditions([]metav1.Condition)
Conditions() []metav1.Condition
SetObservedGeneration(int64)
ObservedGeneration() int64
SetVersion(versions string)
Version() string
SetImage(image string)
Features() []metav1alpha1.Feature
// tls secret name for the tidb operator to visit internal components
ClientCertKeyPairSecretName() string
ClientCASecretName() string
ClientInsecureSkipTLSVerify() bool
// tls secret name for internal communication between components
ClusterCertKeyPairSecretName() string
ClusterCASecretName() string
}
type ObjectSet ¶
type ObjectSet interface {
GroupSet | InstanceSet
}
type PD ¶
func FromPDSlice ¶
func (*PD) ClientCASecretName ¶
func (*PD) ClientCertKeyPairSecretName ¶
func (*PD) ClientInsecureSkipTLSVerify ¶
func (*PD) ClusterCASecretName ¶
func (*PD) ClusterCertKeyPairSecretName ¶
func (*PD) Conditions ¶
func (*PD) CurrentRevision ¶
func (*PD) DeepCopyObject ¶
func (*PD) Features ¶
func (in *PD) Features() []metav1alpha1.Feature
func (*PD) GetTopology ¶
func (*PD) GetUpdateRevision ¶
func (*PD) IsNotRunning ¶
func (*PD) IsUpToDate ¶
func (*PD) ObservedGeneration ¶
func (*PD) PVCOverlay ¶
func (in *PD) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
func (*PD) PodOverlay ¶
func (in *PD) PodOverlay() *v1alpha1.PodOverlay
func (*PD) SetCluster ¶
func (*PD) SetConditions ¶
func (*PD) SetCurrentRevision ¶
func (*PD) SetObservedGeneration ¶
func (*PD) SetTopology ¶
func (*PD) SetVersion ¶
type PDGroup ¶
func FromPDGroup ¶
func FromPDGroupSlice ¶
func (*PDGroup) ClientCASecretName ¶
func (*PDGroup) ClientCertKeyPairSecretName ¶
func (*PDGroup) ClientInsecureSkipTLSVerify ¶
func (*PDGroup) ClusterCASecretName ¶
func (*PDGroup) ClusterCertKeyPairSecretName ¶
func (*PDGroup) Conditions ¶
func (*PDGroup) DeepCopyObject ¶
func (*PDGroup) Features ¶
func (g *PDGroup) Features() []metav1alpha1.Feature
func (*PDGroup) MinReadySeconds ¶
func (*PDGroup) ObservedGeneration ¶
func (*PDGroup) SchedulePolicies ¶
func (g *PDGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
func (*PDGroup) SetCluster ¶
func (*PDGroup) SetConditions ¶
func (*PDGroup) SetObservedGeneration ¶
func (*PDGroup) SetReplicas ¶
func (*PDGroup) SetStatusReplicas ¶
func (*PDGroup) SetStatusRevision ¶
func (*PDGroup) SetStatusSelector ¶
func (*PDGroup) SetStatusVersion ¶
func (*PDGroup) SetTemplateAnnotations ¶
func (*PDGroup) SetTemplateLabels ¶
func (*PDGroup) SetVersion ¶
func (*PDGroup) StatusReplicas ¶
func (*PDGroup) StatusRevision ¶
func (*PDGroup) StatusSelector ¶
func (*PDGroup) StatusVersion ¶
func (*PDGroup) TemplateAnnotations ¶
func (*PDGroup) TemplateLabels ¶
type PDGroupTuple ¶
type PDGroupTuple struct{}
type PostRetryData ¶
type Restore ¶
type Restore brv1alpha1.Restore
func FromRestore ¶
func FromRestore(r *brv1alpha1.Restore) *Restore
func (*Restore) ClientCASecretName ¶
func (*Restore) ClientCertKeyPairSecretName ¶
func (*Restore) ClientInsecureSkipTLSVerify ¶
func (*Restore) ClusterCASecretName ¶
func (*Restore) ClusterCertKeyPairSecretName ¶
func (*Restore) Conditions ¶
func (*Restore) Features ¶
func (r *Restore) Features() []metav1alpha1.Feature
func (*Restore) NeedAddFinalizer ¶
func (*Restore) NeedRemoveFinalizer ¶
func (*Restore) ObservedGeneration ¶
func (*Restore) SetCluster ¶
func (*Restore) SetConditions ¶
func (*Restore) SetObservedGeneration ¶
func (*Restore) SetVersion ¶
type RetriableJob ¶
type RetriableJob interface {
Job
// NeedRetry returns true if the job needs to be retried
NeedRetry() bool
// LastRetryRecord returns the last retry record of the job
LastRetryRecord() (brv1alpha1.BackoffRetryRecord, bool)
// Retry is called when the job is retried
Retry(reason, originalReason string, now time.Time) (nextRunAfter *time.Duration, _ error)
// PostRetry is called when the job is retried
PostRetry(now time.Time) error
}
type RetryResult ¶
type RetryResult string
const ( RetryResultTriggered RetryResult = "Triggered" RetryResultExceedLimit RetryResult = "ExceedLimit" )
type Scheduler ¶
func FromScheduler ¶
func FromSchedulerSlice ¶
func (*Scheduler) ClientCASecretName ¶
func (*Scheduler) ClientCertKeyPairSecretName ¶
func (*Scheduler) ClientInsecureSkipTLSVerify ¶
func (*Scheduler) ClusterCASecretName ¶
func (*Scheduler) ClusterCertKeyPairSecretName ¶
func (*Scheduler) Conditions ¶
func (*Scheduler) CurrentRevision ¶
func (*Scheduler) DeepCopyObject ¶
func (*Scheduler) Features ¶
func (in *Scheduler) Features() []metav1alpha1.Feature
func (*Scheduler) GetTopology ¶
func (*Scheduler) GetUpdateRevision ¶
func (*Scheduler) IsAvailable ¶
func (*Scheduler) IsNotRunning ¶
func (*Scheduler) IsUpToDate ¶
func (*Scheduler) ObservedGeneration ¶
func (*Scheduler) PVCOverlay ¶
func (in *Scheduler) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
func (*Scheduler) PodOverlay ¶
func (in *Scheduler) PodOverlay() *v1alpha1.PodOverlay
func (*Scheduler) SetCluster ¶
func (*Scheduler) SetConditions ¶
func (*Scheduler) SetCurrentRevision ¶
func (*Scheduler) SetObservedGeneration ¶
func (*Scheduler) SetTopology ¶
func (*Scheduler) SetVersion ¶
type SchedulerGroup ¶
type SchedulerGroup v1alpha1.SchedulerGroup
func FromSchedulerGroup ¶
func FromSchedulerGroup(g *v1alpha1.SchedulerGroup) *SchedulerGroup
func FromSchedulerGroupSlice ¶
func FromSchedulerGroupSlice(gs []*v1alpha1.SchedulerGroup) []*SchedulerGroup
func (*SchedulerGroup) ClientCASecretName ¶
func (g *SchedulerGroup) ClientCASecretName() string
func (*SchedulerGroup) ClientCertKeyPairSecretName ¶
func (g *SchedulerGroup) ClientCertKeyPairSecretName() string
func (*SchedulerGroup) ClientInsecureSkipTLSVerify ¶
func (g *SchedulerGroup) ClientInsecureSkipTLSVerify() bool
func (*SchedulerGroup) Cluster ¶
func (g *SchedulerGroup) Cluster() string
func (*SchedulerGroup) ClusterCASecretName ¶
func (g *SchedulerGroup) ClusterCASecretName() string
func (*SchedulerGroup) ClusterCertKeyPairSecretName ¶
func (g *SchedulerGroup) ClusterCertKeyPairSecretName() string
func (*SchedulerGroup) Component ¶
func (*SchedulerGroup) Component() string
func (*SchedulerGroup) Conditions ¶
func (g *SchedulerGroup) Conditions() []metav1.Condition
func (*SchedulerGroup) DeepCopyObject ¶
func (g *SchedulerGroup) DeepCopyObject() runtime.Object
func (*SchedulerGroup) Features ¶
func (g *SchedulerGroup) Features() []metav1alpha1.Feature
func (*SchedulerGroup) MinReadySeconds ¶
func (g *SchedulerGroup) MinReadySeconds() int64
func (*SchedulerGroup) ObservedGeneration ¶
func (g *SchedulerGroup) ObservedGeneration() int64
func (*SchedulerGroup) Replicas ¶
func (g *SchedulerGroup) Replicas() int32
func (*SchedulerGroup) SchedulePolicies ¶
func (g *SchedulerGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
func (*SchedulerGroup) SetCluster ¶
func (g *SchedulerGroup) SetCluster(cluster string)
func (*SchedulerGroup) SetConditions ¶
func (g *SchedulerGroup) SetConditions(conds []metav1.Condition)
func (*SchedulerGroup) SetImage ¶
func (g *SchedulerGroup) SetImage(image string)
func (*SchedulerGroup) SetObservedGeneration ¶
func (g *SchedulerGroup) SetObservedGeneration(gen int64)
func (*SchedulerGroup) SetReplicas ¶
func (g *SchedulerGroup) SetReplicas(replicas int32)
func (*SchedulerGroup) SetStatusReplicas ¶
func (g *SchedulerGroup) SetStatusReplicas(replicas, ready, update, current int32)
func (*SchedulerGroup) SetStatusRevision ¶
func (g *SchedulerGroup) SetStatusRevision(update, current string, collisionCount *int32)
func (*SchedulerGroup) SetStatusSelector ¶
func (g *SchedulerGroup) SetStatusSelector(l string)
func (*SchedulerGroup) SetStatusVersion ¶
func (g *SchedulerGroup) SetStatusVersion(version string)
func (*SchedulerGroup) SetTemplateAnnotations ¶
func (g *SchedulerGroup) SetTemplateAnnotations(anno map[string]string)
func (*SchedulerGroup) SetTemplateLabels ¶
func (g *SchedulerGroup) SetTemplateLabels(ls map[string]string)
func (*SchedulerGroup) SetVersion ¶
func (g *SchedulerGroup) SetVersion(version string)
func (*SchedulerGroup) StatusReplicas ¶
func (g *SchedulerGroup) StatusReplicas() (replicas, ready, update, current int32)
func (*SchedulerGroup) StatusRevision ¶
func (g *SchedulerGroup) StatusRevision() (update, current string, collisionCount *int32)
func (*SchedulerGroup) StatusSelector ¶
func (g *SchedulerGroup) StatusSelector() string
func (*SchedulerGroup) StatusVersion ¶
func (g *SchedulerGroup) StatusVersion() string
func (*SchedulerGroup) TemplateAnnotations ¶
func (g *SchedulerGroup) TemplateAnnotations() map[string]string
func (*SchedulerGroup) TemplateLabels ¶
func (g *SchedulerGroup) TemplateLabels() map[string]string
func (*SchedulerGroup) To ¶
func (g *SchedulerGroup) To() *v1alpha1.SchedulerGroup
func (*SchedulerGroup) Version ¶
func (g *SchedulerGroup) Version() string
type SchedulerGroupTuple ¶
type SchedulerGroupTuple struct{}
func (SchedulerGroupTuple) From ¶
func (SchedulerGroupTuple) From(t *v1alpha1.SchedulerGroup) *SchedulerGroup
func (SchedulerGroupTuple) FromSlice ¶
func (SchedulerGroupTuple) FromSlice(t []*v1alpha1.SchedulerGroup) []*SchedulerGroup
func (SchedulerGroupTuple) To ¶
func (SchedulerGroupTuple) To(t *SchedulerGroup) *v1alpha1.SchedulerGroup
func (SchedulerGroupTuple) ToSlice ¶
func (SchedulerGroupTuple) ToSlice(t []*SchedulerGroup) []*v1alpha1.SchedulerGroup
type SchedulerTuple ¶
type SchedulerTuple struct{}
type Scheduling ¶
type Scheduling v1alpha1.Scheduling
func FromScheduling ¶
func FromScheduling(in *v1alpha1.Scheduling) *Scheduling
func FromSchedulingSlice ¶
func FromSchedulingSlice(ins []*v1alpha1.Scheduling) []*Scheduling
func (*Scheduling) ClientCASecretName ¶
func (in *Scheduling) ClientCASecretName() string
func (*Scheduling) ClientCertKeyPairSecretName ¶
func (in *Scheduling) ClientCertKeyPairSecretName() string
func (*Scheduling) ClientInsecureSkipTLSVerify ¶
func (in *Scheduling) ClientInsecureSkipTLSVerify() bool
func (*Scheduling) Cluster ¶
func (in *Scheduling) Cluster() string
func (*Scheduling) ClusterCASecretName ¶
func (in *Scheduling) ClusterCASecretName() string
func (*Scheduling) ClusterCertKeyPairSecretName ¶
func (in *Scheduling) ClusterCertKeyPairSecretName() string
func (*Scheduling) Component ¶
func (*Scheduling) Component() string
func (*Scheduling) Conditions ¶
func (in *Scheduling) Conditions() []metav1.Condition
func (*Scheduling) CurrentRevision ¶
func (in *Scheduling) CurrentRevision() string
func (*Scheduling) DeepCopyObject ¶
func (in *Scheduling) DeepCopyObject() runtime.Object
func (*Scheduling) Features ¶
func (in *Scheduling) Features() []metav1alpha1.Feature
func (*Scheduling) GetTopology ¶
func (in *Scheduling) GetTopology() v1alpha1.Topology
func (*Scheduling) GetUpdateRevision ¶
func (in *Scheduling) GetUpdateRevision() string
func (*Scheduling) IsAvailable ¶
func (in *Scheduling) IsAvailable(minReadySeconds int64, now time.Time) bool
func (*Scheduling) IsNotRunning ¶
func (in *Scheduling) IsNotRunning() bool
func (*Scheduling) IsOffline ¶
func (in *Scheduling) IsOffline() bool
func (*Scheduling) IsReady ¶
func (in *Scheduling) IsReady() bool
func (*Scheduling) IsStore ¶
func (in *Scheduling) IsStore() bool
func (*Scheduling) IsUpToDate ¶
func (in *Scheduling) IsUpToDate() bool
func (*Scheduling) ObservedGeneration ¶
func (in *Scheduling) ObservedGeneration() int64
func (*Scheduling) PVCOverlay ¶
func (in *Scheduling) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
func (*Scheduling) PodOverlay ¶
func (in *Scheduling) PodOverlay() *v1alpha1.PodOverlay
func (*Scheduling) SetCluster ¶
func (in *Scheduling) SetCluster(cluster string)
func (*Scheduling) SetConditions ¶
func (in *Scheduling) SetConditions(conds []metav1.Condition)
func (*Scheduling) SetCurrentRevision ¶
func (in *Scheduling) SetCurrentRevision(rev string)
func (*Scheduling) SetImage ¶
func (in *Scheduling) SetImage(image string)
func (*Scheduling) SetObservedGeneration ¶
func (in *Scheduling) SetObservedGeneration(gen int64)
func (*Scheduling) SetTopology ¶
func (in *Scheduling) SetTopology(t v1alpha1.Topology)
func (*Scheduling) SetVersion ¶
func (in *Scheduling) SetVersion(version string)
func (*Scheduling) Subdomain ¶
func (in *Scheduling) Subdomain() string
func (*Scheduling) To ¶
func (in *Scheduling) To() *v1alpha1.Scheduling
func (*Scheduling) Version ¶
func (in *Scheduling) Version() string
func (*Scheduling) Volumes ¶
func (in *Scheduling) Volumes() []v1alpha1.Volume
type SchedulingGroup ¶
type SchedulingGroup v1alpha1.SchedulingGroup
func FromSchedulingGroup ¶
func FromSchedulingGroup(g *v1alpha1.SchedulingGroup) *SchedulingGroup
func FromSchedulingGroupSlice ¶
func FromSchedulingGroupSlice(gs []*v1alpha1.SchedulingGroup) []*SchedulingGroup
func (*SchedulingGroup) ClientCASecretName ¶
func (g *SchedulingGroup) ClientCASecretName() string
func (*SchedulingGroup) ClientCertKeyPairSecretName ¶
func (g *SchedulingGroup) ClientCertKeyPairSecretName() string
func (*SchedulingGroup) ClientInsecureSkipTLSVerify ¶
func (g *SchedulingGroup) ClientInsecureSkipTLSVerify() bool
func (*SchedulingGroup) Cluster ¶
func (g *SchedulingGroup) Cluster() string
func (*SchedulingGroup) ClusterCASecretName ¶
func (g *SchedulingGroup) ClusterCASecretName() string
func (*SchedulingGroup) ClusterCertKeyPairSecretName ¶
func (g *SchedulingGroup) ClusterCertKeyPairSecretName() string
func (*SchedulingGroup) Component ¶
func (*SchedulingGroup) Component() string
func (*SchedulingGroup) Conditions ¶
func (g *SchedulingGroup) Conditions() []metav1.Condition
func (*SchedulingGroup) DeepCopyObject ¶
func (g *SchedulingGroup) DeepCopyObject() runtime.Object
func (*SchedulingGroup) Features ¶
func (g *SchedulingGroup) Features() []metav1alpha1.Feature
func (*SchedulingGroup) MinReadySeconds ¶
func (g *SchedulingGroup) MinReadySeconds() int64
func (*SchedulingGroup) ObservedGeneration ¶
func (g *SchedulingGroup) ObservedGeneration() int64
func (*SchedulingGroup) Replicas ¶
func (g *SchedulingGroup) Replicas() int32
func (*SchedulingGroup) SchedulePolicies ¶
func (g *SchedulingGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
func (*SchedulingGroup) SetCluster ¶
func (g *SchedulingGroup) SetCluster(cluster string)
func (*SchedulingGroup) SetConditions ¶
func (g *SchedulingGroup) SetConditions(conds []metav1.Condition)
func (*SchedulingGroup) SetImage ¶
func (g *SchedulingGroup) SetImage(image string)
func (*SchedulingGroup) SetObservedGeneration ¶
func (g *SchedulingGroup) SetObservedGeneration(gen int64)
func (*SchedulingGroup) SetReplicas ¶
func (g *SchedulingGroup) SetReplicas(replicas int32)
func (*SchedulingGroup) SetStatusReplicas ¶
func (g *SchedulingGroup) SetStatusReplicas(replicas, ready, update, current int32)
func (*SchedulingGroup) SetStatusRevision ¶
func (g *SchedulingGroup) SetStatusRevision(update, current string, collisionCount *int32)
func (*SchedulingGroup) SetStatusSelector ¶
func (g *SchedulingGroup) SetStatusSelector(l string)
func (*SchedulingGroup) SetStatusVersion ¶
func (g *SchedulingGroup) SetStatusVersion(version string)
func (*SchedulingGroup) SetTemplateAnnotations ¶
func (g *SchedulingGroup) SetTemplateAnnotations(anno map[string]string)
func (*SchedulingGroup) SetTemplateLabels ¶
func (g *SchedulingGroup) SetTemplateLabels(ls map[string]string)
func (*SchedulingGroup) SetVersion ¶
func (g *SchedulingGroup) SetVersion(version string)
func (*SchedulingGroup) StatusReplicas ¶
func (g *SchedulingGroup) StatusReplicas() (replicas, ready, update, current int32)
func (*SchedulingGroup) StatusRevision ¶
func (g *SchedulingGroup) StatusRevision() (update, current string, collisionCount *int32)
func (*SchedulingGroup) StatusSelector ¶
func (g *SchedulingGroup) StatusSelector() string
func (*SchedulingGroup) StatusVersion ¶
func (g *SchedulingGroup) StatusVersion() string
func (*SchedulingGroup) TemplateAnnotations ¶
func (g *SchedulingGroup) TemplateAnnotations() map[string]string
func (*SchedulingGroup) TemplateLabels ¶
func (g *SchedulingGroup) TemplateLabels() map[string]string
func (*SchedulingGroup) To ¶
func (g *SchedulingGroup) To() *v1alpha1.SchedulingGroup
func (*SchedulingGroup) Version ¶
func (g *SchedulingGroup) Version() string
type SchedulingGroupTuple ¶
type SchedulingGroupTuple struct{}
func (SchedulingGroupTuple) From ¶
func (SchedulingGroupTuple) From(t *v1alpha1.SchedulingGroup) *SchedulingGroup
func (SchedulingGroupTuple) FromSlice ¶
func (SchedulingGroupTuple) FromSlice(t []*v1alpha1.SchedulingGroup) []*SchedulingGroup
func (SchedulingGroupTuple) To ¶
func (SchedulingGroupTuple) To(t *SchedulingGroup) *v1alpha1.SchedulingGroup
func (SchedulingGroupTuple) ToSlice ¶
func (SchedulingGroupTuple) ToSlice(t []*SchedulingGroup) []*v1alpha1.SchedulingGroup
type SchedulingTuple ¶
type SchedulingTuple struct{}
func (SchedulingTuple) From ¶
func (SchedulingTuple) From(t *v1alpha1.Scheduling) *Scheduling
func (SchedulingTuple) FromSlice ¶
func (SchedulingTuple) FromSlice(t []*v1alpha1.Scheduling) []*Scheduling
func (SchedulingTuple) To ¶
func (SchedulingTuple) To(t *Scheduling) *v1alpha1.Scheduling
func (SchedulingTuple) ToSlice ¶
func (SchedulingTuple) ToSlice(t []*Scheduling) []*v1alpha1.Scheduling
type TSO ¶
func FromTSOSlice ¶
func (*TSO) ClientCASecretName ¶
func (*TSO) ClientCertKeyPairSecretName ¶
func (*TSO) ClientInsecureSkipTLSVerify ¶
func (*TSO) ClusterCASecretName ¶
func (*TSO) ClusterCertKeyPairSecretName ¶
func (*TSO) Conditions ¶
func (*TSO) CurrentRevision ¶
func (*TSO) DeepCopyObject ¶
func (*TSO) Features ¶
func (in *TSO) Features() []metav1alpha1.Feature
func (*TSO) GetTopology ¶
func (*TSO) GetUpdateRevision ¶
func (*TSO) IsNotRunning ¶
func (*TSO) IsUpToDate ¶
func (*TSO) ObservedGeneration ¶
func (*TSO) PVCOverlay ¶
func (in *TSO) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
func (*TSO) PodOverlay ¶
func (in *TSO) PodOverlay() *v1alpha1.PodOverlay
func (*TSO) SetCluster ¶
func (*TSO) SetConditions ¶
func (*TSO) SetCurrentRevision ¶
func (*TSO) SetObservedGeneration ¶
func (*TSO) SetTopology ¶
func (*TSO) SetVersion ¶
type TSOGroup ¶
func FromTSOGroup ¶
func FromTSOGroupSlice ¶
func (*TSOGroup) ClientCASecretName ¶
func (*TSOGroup) ClientCertKeyPairSecretName ¶
func (*TSOGroup) ClientInsecureSkipTLSVerify ¶
func (*TSOGroup) ClusterCASecretName ¶
func (*TSOGroup) ClusterCertKeyPairSecretName ¶
func (*TSOGroup) Conditions ¶
func (*TSOGroup) DeepCopyObject ¶
func (*TSOGroup) Features ¶
func (g *TSOGroup) Features() []metav1alpha1.Feature
func (*TSOGroup) MinReadySeconds ¶
func (*TSOGroup) ObservedGeneration ¶
func (*TSOGroup) SchedulePolicies ¶
func (g *TSOGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
func (*TSOGroup) SetCluster ¶
func (*TSOGroup) SetConditions ¶
func (*TSOGroup) SetObservedGeneration ¶
func (*TSOGroup) SetReplicas ¶
func (*TSOGroup) SetStatusReplicas ¶
func (*TSOGroup) SetStatusRevision ¶
func (*TSOGroup) SetStatusSelector ¶
func (*TSOGroup) SetStatusVersion ¶
func (*TSOGroup) SetTemplateAnnotations ¶
func (*TSOGroup) SetTemplateLabels ¶
func (*TSOGroup) SetVersion ¶
func (*TSOGroup) StatusReplicas ¶
func (*TSOGroup) StatusRevision ¶
func (*TSOGroup) StatusSelector ¶
func (*TSOGroup) StatusVersion ¶
func (*TSOGroup) TemplateAnnotations ¶
func (*TSOGroup) TemplateLabels ¶
type TSOGroupTuple ¶
type TSOGroupTuple struct{}
type TiCDC ¶
func FromTiCDCSlice ¶
func (*TiCDC) ClientCASecretName ¶
func (*TiCDC) ClientCertKeyPairSecretName ¶
func (*TiCDC) ClientInsecureSkipTLSVerify ¶
func (*TiCDC) ClusterCASecretName ¶
func (*TiCDC) ClusterCertKeyPairSecretName ¶
func (*TiCDC) Conditions ¶
func (*TiCDC) CurrentRevision ¶
func (*TiCDC) DeepCopyObject ¶
func (*TiCDC) Features ¶
func (in *TiCDC) Features() []metav1alpha1.Feature
func (*TiCDC) GetTopology ¶
func (*TiCDC) GetUpdateRevision ¶
func (*TiCDC) IsNotRunning ¶
func (*TiCDC) IsUpToDate ¶
func (*TiCDC) ObservedGeneration ¶
func (*TiCDC) PVCOverlay ¶
func (in *TiCDC) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
func (*TiCDC) PodOverlay ¶
func (in *TiCDC) PodOverlay() *v1alpha1.PodOverlay
func (*TiCDC) SetCluster ¶
func (*TiCDC) SetConditions ¶
func (*TiCDC) SetCurrentRevision ¶
func (*TiCDC) SetObservedGeneration ¶
func (*TiCDC) SetTopology ¶
func (*TiCDC) SetVersion ¶
type TiCDCGroup ¶
type TiCDCGroup v1alpha1.TiCDCGroup
func FromTiCDCGroup ¶
func FromTiCDCGroup(g *v1alpha1.TiCDCGroup) *TiCDCGroup
func FromTiCDCGroupSlice ¶
func FromTiCDCGroupSlice(gs []*v1alpha1.TiCDCGroup) []*TiCDCGroup
func (*TiCDCGroup) ClientCASecretName ¶
func (g *TiCDCGroup) ClientCASecretName() string
func (*TiCDCGroup) ClientCertKeyPairSecretName ¶
func (g *TiCDCGroup) ClientCertKeyPairSecretName() string
func (*TiCDCGroup) ClientInsecureSkipTLSVerify ¶
func (g *TiCDCGroup) ClientInsecureSkipTLSVerify() bool
func (*TiCDCGroup) Cluster ¶
func (g *TiCDCGroup) Cluster() string
func (*TiCDCGroup) ClusterCASecretName ¶
func (g *TiCDCGroup) ClusterCASecretName() string
func (*TiCDCGroup) ClusterCertKeyPairSecretName ¶
func (g *TiCDCGroup) ClusterCertKeyPairSecretName() string
func (*TiCDCGroup) Component ¶
func (*TiCDCGroup) Component() string
func (*TiCDCGroup) Conditions ¶
func (g *TiCDCGroup) Conditions() []metav1.Condition
func (*TiCDCGroup) DeepCopyObject ¶
func (g *TiCDCGroup) DeepCopyObject() runtime.Object
func (*TiCDCGroup) Features ¶
func (g *TiCDCGroup) Features() []metav1alpha1.Feature
func (*TiCDCGroup) MinReadySeconds ¶
func (g *TiCDCGroup) MinReadySeconds() int64
func (*TiCDCGroup) ObservedGeneration ¶
func (g *TiCDCGroup) ObservedGeneration() int64
func (*TiCDCGroup) Replicas ¶
func (g *TiCDCGroup) Replicas() int32
func (*TiCDCGroup) SchedulePolicies ¶
func (g *TiCDCGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
func (*TiCDCGroup) SetCluster ¶
func (g *TiCDCGroup) SetCluster(cluster string)
func (*TiCDCGroup) SetConditions ¶
func (g *TiCDCGroup) SetConditions(conds []metav1.Condition)
func (*TiCDCGroup) SetImage ¶
func (g *TiCDCGroup) SetImage(image string)
func (*TiCDCGroup) SetObservedGeneration ¶
func (g *TiCDCGroup) SetObservedGeneration(gen int64)
func (*TiCDCGroup) SetReplicas ¶
func (g *TiCDCGroup) SetReplicas(replicas int32)
func (*TiCDCGroup) SetStatusReplicas ¶
func (g *TiCDCGroup) SetStatusReplicas(replicas, ready, update, current int32)
func (*TiCDCGroup) SetStatusRevision ¶
func (g *TiCDCGroup) SetStatusRevision(update, current string, collisionCount *int32)
func (*TiCDCGroup) SetStatusSelector ¶
func (g *TiCDCGroup) SetStatusSelector(l string)
func (*TiCDCGroup) SetStatusVersion ¶
func (g *TiCDCGroup) SetStatusVersion(version string)
func (*TiCDCGroup) SetTemplateAnnotations ¶
func (g *TiCDCGroup) SetTemplateAnnotations(anno map[string]string)
func (*TiCDCGroup) SetTemplateLabels ¶
func (g *TiCDCGroup) SetTemplateLabels(ls map[string]string)
func (*TiCDCGroup) SetVersion ¶
func (g *TiCDCGroup) SetVersion(version string)
func (*TiCDCGroup) StatusReplicas ¶
func (g *TiCDCGroup) StatusReplicas() (replicas, ready, update, current int32)
func (*TiCDCGroup) StatusRevision ¶
func (g *TiCDCGroup) StatusRevision() (update, current string, collisionCount *int32)
func (*TiCDCGroup) StatusSelector ¶
func (g *TiCDCGroup) StatusSelector() string
func (*TiCDCGroup) StatusVersion ¶
func (g *TiCDCGroup) StatusVersion() string
func (*TiCDCGroup) TemplateAnnotations ¶
func (g *TiCDCGroup) TemplateAnnotations() map[string]string
func (*TiCDCGroup) TemplateLabels ¶
func (g *TiCDCGroup) TemplateLabels() map[string]string
func (*TiCDCGroup) To ¶
func (g *TiCDCGroup) To() *v1alpha1.TiCDCGroup
func (*TiCDCGroup) Version ¶
func (g *TiCDCGroup) Version() string
type TiCDCGroupTuple ¶
type TiCDCGroupTuple struct{}
func (TiCDCGroupTuple) From ¶
func (TiCDCGroupTuple) From(t *v1alpha1.TiCDCGroup) *TiCDCGroup
func (TiCDCGroupTuple) FromSlice ¶
func (TiCDCGroupTuple) FromSlice(t []*v1alpha1.TiCDCGroup) []*TiCDCGroup
func (TiCDCGroupTuple) To ¶
func (TiCDCGroupTuple) To(t *TiCDCGroup) *v1alpha1.TiCDCGroup
func (TiCDCGroupTuple) ToSlice ¶
func (TiCDCGroupTuple) ToSlice(t []*TiCDCGroup) []*v1alpha1.TiCDCGroup
type TiCDCTuple ¶
type TiCDCTuple struct{}
type TiDB ¶
func FromTiDBSlice ¶
func (*TiDB) ClientCASecretName ¶
func (*TiDB) ClientCertKeyPairSecretName ¶
func (*TiDB) ClientInsecureSkipTLSVerify ¶
func (*TiDB) ClusterCASecretName ¶
func (*TiDB) ClusterCertKeyPairSecretName ¶
func (*TiDB) Conditions ¶
func (*TiDB) CurrentRevision ¶
func (*TiDB) DeepCopyObject ¶
func (*TiDB) Features ¶
func (in *TiDB) Features() []metav1alpha1.Feature
func (*TiDB) GetTopology ¶
func (*TiDB) GetUpdateRevision ¶
func (*TiDB) IsNotRunning ¶
func (*TiDB) IsUpToDate ¶
func (*TiDB) ObservedGeneration ¶
func (*TiDB) PVCOverlay ¶
func (in *TiDB) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
func (*TiDB) PodOverlay ¶
func (in *TiDB) PodOverlay() *v1alpha1.PodOverlay
func (*TiDB) SetCluster ¶
func (*TiDB) SetConditions ¶
func (*TiDB) SetCurrentRevision ¶
func (*TiDB) SetObservedGeneration ¶
func (*TiDB) SetTopology ¶
func (*TiDB) SetVersion ¶
type TiDBGroup ¶
func FromTiDBGroup ¶
func FromTiDBGroupSlice ¶
func (*TiDBGroup) ClientCASecretName ¶
func (*TiDBGroup) ClientCertKeyPairSecretName ¶
func (*TiDBGroup) ClientInsecureSkipTLSVerify ¶
func (*TiDBGroup) ClusterCASecretName ¶
func (*TiDBGroup) ClusterCertKeyPairSecretName ¶
func (*TiDBGroup) Conditions ¶
func (*TiDBGroup) DeepCopyObject ¶
func (*TiDBGroup) Features ¶
func (g *TiDBGroup) Features() []metav1alpha1.Feature
func (*TiDBGroup) MinReadySeconds ¶
func (*TiDBGroup) ObservedGeneration ¶
func (*TiDBGroup) SchedulePolicies ¶
func (g *TiDBGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
func (*TiDBGroup) SetCluster ¶
func (*TiDBGroup) SetConditions ¶
func (*TiDBGroup) SetObservedGeneration ¶
func (*TiDBGroup) SetReplicas ¶
func (*TiDBGroup) SetStatusReplicas ¶
func (*TiDBGroup) SetStatusRevision ¶
func (*TiDBGroup) SetStatusSelector ¶
func (*TiDBGroup) SetStatusVersion ¶
func (*TiDBGroup) SetTemplateAnnotations ¶
func (*TiDBGroup) SetTemplateLabels ¶
func (*TiDBGroup) SetVersion ¶
func (*TiDBGroup) StatusReplicas ¶
func (*TiDBGroup) StatusRevision ¶
func (*TiDBGroup) StatusSelector ¶
func (*TiDBGroup) StatusVersion ¶
func (*TiDBGroup) TemplateAnnotations ¶
func (*TiDBGroup) TemplateLabels ¶
type TiDBGroupTuple ¶
type TiDBGroupTuple struct{}
type TiFlash ¶
func FromTiFlash ¶
func FromTiFlashSlice ¶
func (*TiFlash) ClientCASecretName ¶
func (*TiFlash) ClientCertKeyPairSecretName ¶
func (*TiFlash) ClientInsecureSkipTLSVerify ¶
func (*TiFlash) ClusterCASecretName ¶
func (*TiFlash) ClusterCertKeyPairSecretName ¶
func (*TiFlash) Conditions ¶
func (*TiFlash) CurrentRevision ¶
func (*TiFlash) DeepCopyObject ¶
func (*TiFlash) Features ¶
func (in *TiFlash) Features() []metav1alpha1.Feature
func (*TiFlash) GetTopology ¶
func (*TiFlash) GetUpdateRevision ¶
func (*TiFlash) IsAvailable ¶
func (*TiFlash) IsNotRunning ¶
func (*TiFlash) IsUpToDate ¶
func (*TiFlash) ObservedGeneration ¶
func (*TiFlash) PVCOverlay ¶
func (in *TiFlash) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
func (*TiFlash) PodOverlay ¶
func (in *TiFlash) PodOverlay() *v1alpha1.PodOverlay
func (*TiFlash) SetCluster ¶
func (*TiFlash) SetConditions ¶
func (*TiFlash) SetCurrentRevision ¶
func (*TiFlash) SetObservedGeneration ¶
func (*TiFlash) SetTopology ¶
func (*TiFlash) SetVersion ¶
type TiFlashGroup ¶
type TiFlashGroup v1alpha1.TiFlashGroup
func FromTiFlashGroup ¶
func FromTiFlashGroup(g *v1alpha1.TiFlashGroup) *TiFlashGroup
func FromTiFlashGroupSlice ¶
func FromTiFlashGroupSlice(gs []*v1alpha1.TiFlashGroup) []*TiFlashGroup
func (*TiFlashGroup) ClientCASecretName ¶
func (g *TiFlashGroup) ClientCASecretName() string
func (*TiFlashGroup) ClientCertKeyPairSecretName ¶
func (g *TiFlashGroup) ClientCertKeyPairSecretName() string
func (*TiFlashGroup) ClientInsecureSkipTLSVerify ¶
func (g *TiFlashGroup) ClientInsecureSkipTLSVerify() bool
func (*TiFlashGroup) Cluster ¶
func (g *TiFlashGroup) Cluster() string
func (*TiFlashGroup) ClusterCASecretName ¶
func (g *TiFlashGroup) ClusterCASecretName() string
func (*TiFlashGroup) ClusterCertKeyPairSecretName ¶
func (g *TiFlashGroup) ClusterCertKeyPairSecretName() string
func (*TiFlashGroup) Component ¶
func (*TiFlashGroup) Component() string
func (*TiFlashGroup) Conditions ¶
func (g *TiFlashGroup) Conditions() []metav1.Condition
func (*TiFlashGroup) DeepCopyObject ¶
func (g *TiFlashGroup) DeepCopyObject() runtime.Object
func (*TiFlashGroup) Features ¶
func (g *TiFlashGroup) Features() []metav1alpha1.Feature
func (*TiFlashGroup) MinReadySeconds ¶
func (g *TiFlashGroup) MinReadySeconds() int64
func (*TiFlashGroup) ObservedGeneration ¶
func (g *TiFlashGroup) ObservedGeneration() int64
func (*TiFlashGroup) Replicas ¶
func (g *TiFlashGroup) Replicas() int32
func (*TiFlashGroup) SchedulePolicies ¶
func (g *TiFlashGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
func (*TiFlashGroup) SetCluster ¶
func (g *TiFlashGroup) SetCluster(cluster string)
func (*TiFlashGroup) SetConditions ¶
func (g *TiFlashGroup) SetConditions(conds []metav1.Condition)
func (*TiFlashGroup) SetImage ¶
func (g *TiFlashGroup) SetImage(image string)
func (*TiFlashGroup) SetObservedGeneration ¶
func (g *TiFlashGroup) SetObservedGeneration(gen int64)
func (*TiFlashGroup) SetReplicas ¶
func (g *TiFlashGroup) SetReplicas(replicas int32)
func (*TiFlashGroup) SetStatusReplicas ¶
func (g *TiFlashGroup) SetStatusReplicas(replicas, ready, update, current int32)
func (*TiFlashGroup) SetStatusRevision ¶
func (g *TiFlashGroup) SetStatusRevision(update, current string, collisionCount *int32)
func (*TiFlashGroup) SetStatusSelector ¶
func (g *TiFlashGroup) SetStatusSelector(l string)
func (*TiFlashGroup) SetStatusVersion ¶
func (g *TiFlashGroup) SetStatusVersion(version string)
func (*TiFlashGroup) SetTemplateAnnotations ¶
func (g *TiFlashGroup) SetTemplateAnnotations(anno map[string]string)
func (*TiFlashGroup) SetTemplateLabels ¶
func (g *TiFlashGroup) SetTemplateLabels(ls map[string]string)
func (*TiFlashGroup) SetVersion ¶
func (g *TiFlashGroup) SetVersion(version string)
func (*TiFlashGroup) StatusReplicas ¶
func (g *TiFlashGroup) StatusReplicas() (replicas, ready, update, current int32)
func (*TiFlashGroup) StatusRevision ¶
func (g *TiFlashGroup) StatusRevision() (update, current string, collisionCount *int32)
func (*TiFlashGroup) StatusSelector ¶
func (g *TiFlashGroup) StatusSelector() string
func (*TiFlashGroup) StatusVersion ¶
func (g *TiFlashGroup) StatusVersion() string
func (*TiFlashGroup) TemplateAnnotations ¶
func (g *TiFlashGroup) TemplateAnnotations() map[string]string
func (*TiFlashGroup) TemplateLabels ¶
func (g *TiFlashGroup) TemplateLabels() map[string]string
func (*TiFlashGroup) To ¶
func (g *TiFlashGroup) To() *v1alpha1.TiFlashGroup
func (*TiFlashGroup) Version ¶
func (g *TiFlashGroup) Version() string
type TiFlashGroupTuple ¶
type TiFlashGroupTuple struct{}
func (TiFlashGroupTuple) From ¶
func (TiFlashGroupTuple) From(t *v1alpha1.TiFlashGroup) *TiFlashGroup
func (TiFlashGroupTuple) FromSlice ¶
func (TiFlashGroupTuple) FromSlice(t []*v1alpha1.TiFlashGroup) []*TiFlashGroup
func (TiFlashGroupTuple) To ¶
func (TiFlashGroupTuple) To(t *TiFlashGroup) *v1alpha1.TiFlashGroup
func (TiFlashGroupTuple) ToSlice ¶
func (TiFlashGroupTuple) ToSlice(t []*TiFlashGroup) []*v1alpha1.TiFlashGroup
type TiFlashTuple ¶
type TiFlashTuple struct{}
type TiKV ¶
func FromTiKVSlice ¶
func (*TiKV) ClientCASecretName ¶
func (*TiKV) ClientCertKeyPairSecretName ¶
func (*TiKV) ClientInsecureSkipTLSVerify ¶
func (*TiKV) ClusterCASecretName ¶
func (*TiKV) ClusterCertKeyPairSecretName ¶
func (*TiKV) Conditions ¶
func (*TiKV) CurrentRevision ¶
func (*TiKV) DeepCopyObject ¶
func (*TiKV) Features ¶
func (in *TiKV) Features() []metav1alpha1.Feature
func (*TiKV) GetTopology ¶
func (*TiKV) GetUpdateRevision ¶
func (*TiKV) IsNotRunning ¶
func (*TiKV) IsUpToDate ¶
func (*TiKV) ObservedGeneration ¶
func (*TiKV) PVCOverlay ¶
func (in *TiKV) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
func (*TiKV) PodOverlay ¶
func (in *TiKV) PodOverlay() *v1alpha1.PodOverlay
func (*TiKV) SetCluster ¶
func (*TiKV) SetConditions ¶
func (*TiKV) SetCurrentRevision ¶
func (*TiKV) SetObservedGeneration ¶
func (*TiKV) SetTopology ¶
func (*TiKV) SetVersion ¶
type TiKVGroup ¶
func FromTiKVGroup ¶
func FromTiKVGroupSlice ¶
func (*TiKVGroup) ClientCASecretName ¶
func (*TiKVGroup) ClientCertKeyPairSecretName ¶
func (*TiKVGroup) ClientInsecureSkipTLSVerify ¶
func (*TiKVGroup) ClusterCASecretName ¶
func (*TiKVGroup) ClusterCertKeyPairSecretName ¶
func (*TiKVGroup) Conditions ¶
func (*TiKVGroup) DeepCopyObject ¶
func (*TiKVGroup) Features ¶
func (g *TiKVGroup) Features() []metav1alpha1.Feature
func (*TiKVGroup) MinReadySeconds ¶
func (*TiKVGroup) ObservedGeneration ¶
func (*TiKVGroup) SchedulePolicies ¶
func (g *TiKVGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
func (*TiKVGroup) SetCluster ¶
func (*TiKVGroup) SetConditions ¶
func (*TiKVGroup) SetObservedGeneration ¶
func (*TiKVGroup) SetReplicas ¶
func (*TiKVGroup) SetStatusReplicas ¶
func (*TiKVGroup) SetStatusRevision ¶
func (*TiKVGroup) SetStatusSelector ¶
func (*TiKVGroup) SetStatusVersion ¶
func (*TiKVGroup) SetTemplateAnnotations ¶
func (*TiKVGroup) SetTemplateLabels ¶
func (*TiKVGroup) SetVersion ¶
func (*TiKVGroup) StatusReplicas ¶
func (*TiKVGroup) StatusRevision ¶
func (*TiKVGroup) StatusSelector ¶
func (*TiKVGroup) StatusVersion ¶
func (*TiKVGroup) TemplateAnnotations ¶
func (*TiKVGroup) TemplateLabels ¶
type TiKVGroupTuple ¶
type TiKVGroupTuple struct{}
type TiProxy ¶
func FromTiProxy ¶
func FromTiProxySlice ¶
func (*TiProxy) ClientCASecretName ¶
func (*TiProxy) ClientCertKeyPairSecretName ¶
func (*TiProxy) ClientInsecureSkipTLSVerify ¶
func (*TiProxy) ClusterCASecretName ¶
func (*TiProxy) ClusterCertKeyPairSecretName ¶
func (*TiProxy) Conditions ¶
func (*TiProxy) CurrentRevision ¶
func (*TiProxy) DeepCopyObject ¶
func (*TiProxy) Features ¶
func (in *TiProxy) Features() []metav1alpha1.Feature
func (*TiProxy) GetTopology ¶
func (*TiProxy) GetUpdateRevision ¶
func (*TiProxy) IsAvailable ¶
func (*TiProxy) IsNotRunning ¶
func (*TiProxy) IsUpToDate ¶
func (*TiProxy) ObservedGeneration ¶
func (*TiProxy) PVCOverlay ¶
func (in *TiProxy) PVCOverlay() []v1alpha1.NamedPersistentVolumeClaimOverlay
func (*TiProxy) PodOverlay ¶
func (in *TiProxy) PodOverlay() *v1alpha1.PodOverlay
func (*TiProxy) SetCluster ¶
func (*TiProxy) SetConditions ¶
func (*TiProxy) SetCurrentRevision ¶
func (*TiProxy) SetObservedGeneration ¶
func (*TiProxy) SetTopology ¶
func (*TiProxy) SetVersion ¶
type TiProxyGroup ¶
type TiProxyGroup v1alpha1.TiProxyGroup
func FromTiProxyGroup ¶
func FromTiProxyGroup(g *v1alpha1.TiProxyGroup) *TiProxyGroup
func FromTiProxyGroupSlice ¶
func FromTiProxyGroupSlice(gs []*v1alpha1.TiProxyGroup) []*TiProxyGroup
func (*TiProxyGroup) ClientCASecretName ¶
func (g *TiProxyGroup) ClientCASecretName() string
func (*TiProxyGroup) ClientCertKeyPairSecretName ¶
func (g *TiProxyGroup) ClientCertKeyPairSecretName() string
func (*TiProxyGroup) ClientInsecureSkipTLSVerify ¶
func (g *TiProxyGroup) ClientInsecureSkipTLSVerify() bool
func (*TiProxyGroup) Cluster ¶
func (g *TiProxyGroup) Cluster() string
func (*TiProxyGroup) ClusterCASecretName ¶
func (g *TiProxyGroup) ClusterCASecretName() string
func (*TiProxyGroup) ClusterCertKeyPairSecretName ¶
func (g *TiProxyGroup) ClusterCertKeyPairSecretName() string
func (*TiProxyGroup) Component ¶
func (*TiProxyGroup) Component() string
func (*TiProxyGroup) Conditions ¶
func (g *TiProxyGroup) Conditions() []metav1.Condition
func (*TiProxyGroup) DeepCopyObject ¶
func (g *TiProxyGroup) DeepCopyObject() runtime.Object
func (*TiProxyGroup) Features ¶
func (g *TiProxyGroup) Features() []metav1alpha1.Feature
func (*TiProxyGroup) MinReadySeconds ¶
func (g *TiProxyGroup) MinReadySeconds() int64
func (*TiProxyGroup) ObservedGeneration ¶
func (g *TiProxyGroup) ObservedGeneration() int64
func (*TiProxyGroup) Replicas ¶
func (g *TiProxyGroup) Replicas() int32
func (*TiProxyGroup) SchedulePolicies ¶
func (g *TiProxyGroup) SchedulePolicies() []v1alpha1.SchedulePolicy
func (*TiProxyGroup) SetCluster ¶
func (g *TiProxyGroup) SetCluster(cluster string)
func (*TiProxyGroup) SetConditions ¶
func (g *TiProxyGroup) SetConditions(conds []metav1.Condition)
func (*TiProxyGroup) SetImage ¶
func (g *TiProxyGroup) SetImage(image string)
func (*TiProxyGroup) SetObservedGeneration ¶
func (g *TiProxyGroup) SetObservedGeneration(gen int64)
func (*TiProxyGroup) SetReplicas ¶
func (g *TiProxyGroup) SetReplicas(replicas int32)
func (*TiProxyGroup) SetStatusReplicas ¶
func (g *TiProxyGroup) SetStatusReplicas(replicas, ready, update, current int32)
func (*TiProxyGroup) SetStatusRevision ¶
func (g *TiProxyGroup) SetStatusRevision(update, current string, collisionCount *int32)
func (*TiProxyGroup) SetStatusSelector ¶
func (g *TiProxyGroup) SetStatusSelector(l string)
func (*TiProxyGroup) SetStatusVersion ¶
func (g *TiProxyGroup) SetStatusVersion(version string)
func (*TiProxyGroup) SetTemplateAnnotations ¶
func (g *TiProxyGroup) SetTemplateAnnotations(anno map[string]string)
func (*TiProxyGroup) SetTemplateLabels ¶
func (g *TiProxyGroup) SetTemplateLabels(ls map[string]string)
func (*TiProxyGroup) SetVersion ¶
func (g *TiProxyGroup) SetVersion(version string)
func (*TiProxyGroup) StatusReplicas ¶
func (g *TiProxyGroup) StatusReplicas() (replicas, ready, update, current int32)
func (*TiProxyGroup) StatusRevision ¶
func (g *TiProxyGroup) StatusRevision() (update, current string, collisionCount *int32)
func (*TiProxyGroup) StatusSelector ¶
func (g *TiProxyGroup) StatusSelector() string
func (*TiProxyGroup) StatusVersion ¶
func (g *TiProxyGroup) StatusVersion() string
func (*TiProxyGroup) TemplateAnnotations ¶
func (g *TiProxyGroup) TemplateAnnotations() map[string]string
func (*TiProxyGroup) TemplateLabels ¶
func (g *TiProxyGroup) TemplateLabels() map[string]string
func (*TiProxyGroup) To ¶
func (g *TiProxyGroup) To() *v1alpha1.TiProxyGroup
func (*TiProxyGroup) Version ¶
func (g *TiProxyGroup) Version() string
type TiProxyGroupTuple ¶
type TiProxyGroupTuple struct{}
func (TiProxyGroupTuple) From ¶
func (TiProxyGroupTuple) From(t *v1alpha1.TiProxyGroup) *TiProxyGroup
func (TiProxyGroupTuple) FromSlice ¶
func (TiProxyGroupTuple) FromSlice(t []*v1alpha1.TiProxyGroup) []*TiProxyGroup
func (TiProxyGroupTuple) To ¶
func (TiProxyGroupTuple) To(t *TiProxyGroup) *v1alpha1.TiProxyGroup
func (TiProxyGroupTuple) ToSlice ¶
func (TiProxyGroupTuple) ToSlice(t []*TiProxyGroup) []*v1alpha1.TiProxyGroup
type TiProxyTuple ¶
type TiProxyTuple struct{}
Source Files
¶
- br.go
- group.go
- instance.go
- instance_mock_generated.go
- object.go
- zz_generated.runtime.pd.go
- zz_generated.runtime.scheduler.go
- zz_generated.runtime.scheduling.go
- zz_generated.runtime.ticdc.go
- zz_generated.runtime.tidb.go
- zz_generated.runtime.tiflash.go
- zz_generated.runtime.tikv.go
- zz_generated.runtime.tiproxy.go
- zz_generated.runtime.tso.go