Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvoyDynamicConfigClass ¶
type EnvoyDynamicConfigClass struct { Function func(name string, opts interface{}) (envoy.Resource, error) Produces envoy.Resource }
EnvoyDynamicConfigClass contains properties to generate specific types of Envoy dynamic configurations
func RegisterTemplate ¶
type EnvoyDynamicConfigFactory ¶
type EnvoyDynamicConfigFactory map[string]*EnvoyDynamicConfigClass
EnvoyDynamicConfigFactory has methods to produce different types of Envoy dynamic resources
func Default ¶
func Default() EnvoyDynamicConfigFactory
func (EnvoyDynamicConfigFactory) GetClass ¶
func (factory EnvoyDynamicConfigFactory) GetClass(v descriptor.EnvoyDynamicConfigDescriptor) (*EnvoyDynamicConfigClass, error)
GetClass translates from the external saas-operator API to the internal EnvoyDynamicConfigClass that can generate the envoy dynamic resource described by the external API
func (EnvoyDynamicConfigFactory) NewResource ¶
func (factory EnvoyDynamicConfigFactory) NewResource(desc descriptor.EnvoyDynamicConfigDescriptor) (envoy.Resource, error)
Click to show internal directories.
Click to hide internal directories.