defaults

package
v0.0.0-...-83c1a15 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 EnsureOnlyOneZoneExists(
	ctx context.Context,
	resManager manager.ResourceManager,
	zoneName string,
	logger logr.Logger,
) error

func NewDefaultsComponent

func NewDefaultsComponent(
	config *dubbo_cp.Defaults,
	resManager core_manager.ResourceManager,
	extensions context.Context,
) component.Component

func Setup

func Setup(runtime runtime.Runtime) error

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

Jump to

Keyboard shortcuts

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