model

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisabledCache

type DisabledCache struct{}

type Environment

type Environment struct {
	Watcher

	Cache XdsCache
	// contains filtered or unexported fields
}

func NewEnvironment

func NewEnvironment() *Environment

func (*Environment) AddMeshHandler added in v0.2.5

func (e *Environment) AddMeshHandler(h func())

func (*Environment) GetDiscoveryAddress added in v0.2.5

func (e *Environment) GetDiscoveryAddress() (host.Name, string, error)

func (*Environment) Mesh added in v0.2.5

func (e *Environment) Mesh() *meshconfig.MeshConfig

func (*Environment) PushContext added in v0.2.5

func (e *Environment) PushContext() *PushContext

func (*Environment) SetPushContext added in v0.2.5

func (e *Environment) SetPushContext(pc *PushContext)

type Proxy added in v0.2.5

type Proxy struct {
}

type PushContext added in v0.2.5

type PushContext struct {
	Mesh *meshconfig.MeshConfig `json:"-"`
}

func NewPushContext added in v0.2.5

func NewPushContext() *PushContext

type PushRequest added in v0.2.5

type PushRequest struct {
	Reason ReasonStats
}

func (*PushRequest) CopyMerge added in v0.2.5

func (pr *PushRequest) CopyMerge(other *PushRequest) *PushRequest

type ReasonStats added in v0.2.5

type ReasonStats map[TriggerReason]int

type TriggerReason added in v0.2.5

type TriggerReason string

type Watcher added in v0.2.5

type XdsCache

type XdsCache interface{}

func NewXdsCache

func NewXdsCache() XdsCache

type XdsCacheImpl

type XdsCacheImpl struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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