resource_extensions

package
v0.19.8 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 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 EnvoyConfigTemplate

type EnvoyConfigTemplate struct {
	Template  func() (*marin3rv1alpha1.EnvoyConfig, error)
	IsEnabled bool
}

EnvoyConfigTemplate has methods to generate and reconcile a EnvoyConfig

func (EnvoyConfigTemplate) Build

Build returns a EnvoyConfig resource

func (EnvoyConfigTemplate) Enabled

func (ect EnvoyConfigTemplate) Enabled() bool

Enabled indicates if the resource should be present or not

func (EnvoyConfigTemplate) ResourceReconciler

func (ect EnvoyConfigTemplate) ResourceReconciler(ctx context.Context, cl client.Client, obj client.Object) error

ResourceReconciler implements a generic reconciler for EnvoyConfig resources

Jump to

Keyboard shortcuts

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