Documentation
¶
Index ¶
- type Builder
- func (e *Builder) Build() *apiv1alpha3.EnvoyFilter
- func (e *Builder) WithAnnotation(key, val string) *Builder
- func (e *Builder) WithConfigPatch(patch *ConfigPatch) *Builder
- func (e *Builder) WithName(name string) *Builder
- func (e *Builder) WithNamespace(namespace string) *Builder
- func (e *Builder) WithWorkloadSelector(key, val string) *Builder
- type ConfigPatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { ConfigPatches []*ConfigPatch // contains filtered or unexported fields }
func NewEnvoyFilterBuilder ¶
func NewEnvoyFilterBuilder() *Builder
NewEnvoyFilterBuilder returns EnvoyFilterBuilder for building istio EnvoyFilters
func (*Builder) Build ¶
func (e *Builder) Build() *apiv1alpha3.EnvoyFilter
Build returns EnvoyFilter generated from the configuration provided to the builder.
func (*Builder) WithAnnotation ¶
WithAnnotation adds annotation to the EnvoyFilter. Can be used multiple times to add more annotations
func (*Builder) WithConfigPatch ¶
func (e *Builder) WithConfigPatch(patch *ConfigPatch) *Builder
WithConfigPatch adds provided patch to the end of the EnvoyFilter patches chain
func (*Builder) WithNamespace ¶
WithNamespace sets namespace of EnvoyFilter
func (*Builder) WithWorkloadSelector ¶
WithWorkloadSelector adds labels to EnvoyFilter's WorkloadSelector. Can be used multiple times to add more selectors
type ConfigPatch ¶
type ConfigPatch = networkingv1alpha3.EnvoyFilter_EnvoyConfigObjectPatch
Click to show internal directories.
Click to hide internal directories.