mocker

package
v0.0.0-...-33bf93a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

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

	controller.Cell,

	kvstore.Cell(kvstore.EtcdBackendName),
	heartbeat.Cell,
	cell.Provide(func(ss syncstate.SyncState) *kvstore.ExtraOptions {
		return &kvstore.ExtraOptions{
			BootstrapComplete: ss.WaitChannel(),
		}
	}),
	store.Cell,

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

	gops.Cell(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