Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollection ¶ added in v0.2.5
func NewCollection(opts krt.OptionsBuilder, sources ...MeshConfigSource) krt.Singleton[MeshConfigResource]
func PrettyFormatOfMeshConfig ¶ added in v0.2.5
func PrettyFormatOfMeshConfig(meshConfig *meshconfig.MeshConfig) string
Types ¶
type MeshConfigResource ¶
type MeshConfigResource struct {
*meshconfig.MeshConfig
}
MeshConfigResource holds the current MeshConfig state
func (MeshConfigResource) Equals ¶
func (m MeshConfigResource) Equals(other MeshConfigResource) bool
func (MeshConfigResource) ResourceName ¶
func (m MeshConfigResource) ResourceName() string
type MeshConfigSource ¶ added in v0.2.5
func NewFileSource ¶ added in v0.2.5
func NewFileSource(fileWatcher filewatcher.FileWatcher, filename string, opts krt.OptionsBuilder) (MeshConfigSource, error)
type WatcherCollection ¶ added in v0.2.5
type WatcherCollection interface {
mesh.Watcher
krt.Singleton[MeshConfigResource]
}
func ConfigAdapter ¶ added in v0.2.5
func ConfigAdapter(configuration krt.Singleton[MeshConfigResource]) WatcherCollection
Click to show internal directories.
Click to hide internal directories.