runtime

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuilderFor

func BuilderFor(appCtx context.Context, cfg kuma_cp.Config) (*core_runtime.Builder, error)

Types

type DummyEnvoyAdminClient

type DummyEnvoyAdminClient struct {
	PostQuitCalled   *int
	ConfigDumpCalled int
	StatsCalled      int
	ClustersCalled   int
}

func (*DummyEnvoyAdminClient) Clusters

func (*DummyEnvoyAdminClient) ConfigDump

func (d *DummyEnvoyAdminClient) ConfigDump(ctx context.Context, proxy core_model.ResourceWithAddress, includeEds bool) ([]byte, error)

func (*DummyEnvoyAdminClient) GenerateAPIToken

func (d *DummyEnvoyAdminClient) GenerateAPIToken(dp *core_mesh.DataplaneResource) (string, error)

func (*DummyEnvoyAdminClient) PostQuit

func (*DummyEnvoyAdminClient) Stats

type TestRuntime added in v2.10.9

type TestRuntime struct {
	core_runtime.Runtime
	// contains filtered or unexported fields
}

func NewTestRuntime added in v2.10.9

func NewTestRuntime(
	rm core_manager.ResourceManager,
	config kuma_cp.Config,
	metrics metrics.Metrics,
	apiInstaller customization.APIInstaller,
	access core_runtime.Access,
	tokenIssuers tokens_builtin.TokenIssuers,
	globalInsightService globalinsight.GlobalInsightService,
) *TestRuntime

func (*TestRuntime) APIInstaller added in v2.10.9

func (r *TestRuntime) APIInstaller() customization.APIInstaller

func (*TestRuntime) APIServerAuthenticator added in v2.10.9

func (r *TestRuntime) APIServerAuthenticator() authn.Authenticator

func (*TestRuntime) APIWebServiceCustomize added in v2.10.9

func (r *TestRuntime) APIWebServiceCustomize() func(ws *restful.WebService) error

func (*TestRuntime) Access added in v2.10.9

func (r *TestRuntime) Access() core_runtime.Access

func (*TestRuntime) Config added in v2.10.9

func (r *TestRuntime) Config() kuma_cp.Config

func (*TestRuntime) EnvoyAdminClient added in v2.10.9

func (r *TestRuntime) EnvoyAdminClient() admin.EnvoyAdminClient

func (*TestRuntime) Extensions added in v2.10.9

func (r *TestRuntime) Extensions() context.Context

func (*TestRuntime) GetClusterId added in v2.10.9

func (r *TestRuntime) GetClusterId() string

func (*TestRuntime) GetInstanceId added in v2.10.9

func (r *TestRuntime) GetInstanceId() string

func (*TestRuntime) GlobalInsightService added in v2.10.9

func (r *TestRuntime) GlobalInsightService() globalinsight.GlobalInsightService

func (*TestRuntime) Metrics added in v2.10.9

func (r *TestRuntime) Metrics() metrics.Metrics

func (*TestRuntime) ReadOnlyResourceManager added in v2.10.9

func (r *TestRuntime) ReadOnlyResourceManager() core_manager.ReadOnlyResourceManager

func (*TestRuntime) ResourceManager added in v2.10.9

func (r *TestRuntime) ResourceManager() core_manager.ResourceManager

func (*TestRuntime) TokenIssuers added in v2.10.9

func (r *TestRuntime) TokenIssuers() tokens_builtin.TokenIssuers

Jump to

Keyboard shortcuts

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