Documentation ¶
Index ¶
- func CreateMeshIfNotExist(ctx context.Context, resManager core_manager.ResourceManager, ...) (*core_mesh.MeshResource, error)
- func EnsureOnlyOneZoneExists(ctx context.Context, resManager manager.ResourceManager, zoneName string, ...) error
- func NewDefaultsComponent(config *dubbo_cp.Defaults, resManager core_manager.ResourceManager, ...) component.Component
- func Setup(runtime runtime.Runtime) error
- type ZoneDefaultComponent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMeshIfNotExist ¶
func CreateMeshIfNotExist( ctx context.Context, resManager core_manager.ResourceManager, extensions context.Context, ) (*core_mesh.MeshResource, error)
func EnsureOnlyOneZoneExists ¶
func NewDefaultsComponent ¶
func NewDefaultsComponent( config *dubbo_cp.Defaults, resManager core_manager.ResourceManager, extensions context.Context, ) component.Component
Types ¶
type ZoneDefaultComponent ¶
type ZoneDefaultComponent struct { ResManager manager.ResourceManager Extensions context.Context ZoneName string }
func (ZoneDefaultComponent) NeedLeaderElection ¶
func (e ZoneDefaultComponent) NeedLeaderElection() bool
func (*ZoneDefaultComponent) Start ¶
func (e *ZoneDefaultComponent) Start(stop <-chan struct{}) error
Click to show internal directories.
Click to hide internal directories.