mocker

package
v0.0.0-...-f17e736 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"mocker",
	"Cilium Cluster Mesh Mocker",

	cell.Config(option.DefaultLegacyClusterMeshConfig),

	cell.Config(defaultConfig),
	cell.Invoke(config.validate),
	cell.Config(defaultRndcfg),

	controller.Cell,

	kvstore.Cell(kvstore.EtcdBackendName),
	cell.Invoke(func(client kvstore.Client) error {
		if !client.IsEnabled() {
			return errors.New("KVStore client not configured, cannot continue")
		}

		return nil
	}),

	heartbeat.Enabled,
	heartbeat.Cell,
	cell.Provide(func() (syncstate.SyncState, kvstore.ExtraOptions) {
		ss := syncstate.SyncState{StoppableWaitGroup: lock.NewStoppableWaitGroup()}
		return ss, kvstore.ExtraOptions{
			BootstrapComplete: ss.WaitChannel(),
		}
	}),
	store.Cell,

	cmhealth.HealthAPIServerCell,
	cell.Provide(func() types.ClusterInfo { return types.DefaultClusterInfo }),
	cell.Provide((*mocker).HealthEndpoints),

	gops.Cell(defaults.EnableGops, defaults.GopsPortKVStoreMesh),
	cmmetrics.Cell,

	cell.Provide(newRandom),
	cell.Provide(newMocker),
	cell.Invoke(func(_ *mocker) {}),
)
View Source
var IPIdentitiesPath = path.Join(kvstore.BaseKeyPrefix, "state", "ip", "v1")

github.com/cilium/cilium/pkg/ipcache.IPIdentitiesPath

View Source
var IdentitiesPath = path.Join(kvstore.BaseKeyPrefix, "state", "identities", "v1")

github.com/cilium/cilium/pkg/identity/cache.IdentitiesPath

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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