Documentation ¶
Index ¶
- func CheckInstall(obj statemachine.StateResource) (*statemachine.Event, error)
- func GetDbClusterWfManager() *wfengine.WfManager
- type CreateStep1
- type CreateStep2
- type DbClusterStepBase
- type DbResource
- func (s *DbResource) Fetch() (statemachine.StateResource, error)
- func (s *DbResource) GetDbCluster() *corev1.ConfigMap
- func (s *DbResource) GetScheme() *runtime.Scheme
- func (s *DbResource) GetState() statemachine.State
- func (s *DbResource) IsCancelled() bool
- func (s *DbResource) Update() error
- func (s *DbResource) UpdateState(state statemachine.State) (statemachine.StateResource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckInstall ¶
func CheckInstall(obj statemachine.StateResource) (*statemachine.Event, error)
func GetDbClusterWfManager ¶
Types ¶
type CreateStep1 ¶
type CreateStep1 struct {
DbClusterStepBase
}
type CreateStep2 ¶
type CreateStep2 struct {
DbClusterStepBase
}
type DbClusterStepBase ¶
type DbClusterStepBase struct { wfengine.StepAction Resource *corev1.ConfigMap }
type DbResource ¶
type DbResource struct { implement.KubeResource Logger logr.Logger }
func (*DbResource) Fetch ¶
func (s *DbResource) Fetch() (statemachine.StateResource, error)
Fetch 重新获取资源
func (*DbResource) GetDbCluster ¶
func (s *DbResource) GetDbCluster() *corev1.ConfigMap
func (*DbResource) IsCancelled ¶
func (s *DbResource) IsCancelled() bool
func (*DbResource) UpdateState ¶
func (s *DbResource) UpdateState(state statemachine.State) (statemachine.StateResource, error)
UpdateState 更新资源当前状态(string)
Click to show internal directories.
Click to hide internal directories.