Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EdgeFunctionReconciler ¶
EdgeFunctionReconciler reconciles a Proxy object.
func NewEdgeFuncReconciler ¶
func NewEdgeFuncReconciler( c client.Client, apiserverHost string, wasmStore manifest.Store, goStoreDir string, ) *EdgeFunctionReconciler
NewEdgeFuncReconciler returns a new reconcile.Reconciler.
func (*EdgeFunctionReconciler) Reconcile ¶
func (r *EdgeFunctionReconciler) Reconcile(ctx context.Context, request reconcile.Request) (ctrl.Result, error)
Reconcile implements reconcile.Reconciler.
func (*EdgeFunctionReconciler) SetupWithManager ¶
func (r *EdgeFunctionReconciler) SetupWithManager( ctx context.Context, mgr ctrl.Manager, proxyName string, ) error
SetupWithManager sets up the controller with the Controller Manager.
type Option ¶
type Option func(*options)
Option is a functional option for ProxyReconciler.
func WithAPIServerTLSClientConfig ¶
WithAPIServerTLSClientConfig sets the TLS client configuration for the API server. If not set, the client will use an insecure connection.
func WithClickHouseConn ¶
func WithClickHouseConn(chConn clickhouse.Conn) Option
WithClickHouseConn sets the ClickHouse connection for the ProxyReconciler. If not set, log shipping will be disabled.
func WithEnvoyContrib ¶
func WithEnvoyContrib() Option
WithEnvoyContrib enables the use of Envoy contrib filters.
func WithGoPluginDir ¶
WithGoPluginDir sets the directory for Go plugins.
func WithURLRelease ¶
WithURLRelease enables the use of URL release. (Default is GitHub release).
type ProxyReconciler ¶
type ProxyReconciler struct { client.Client envoy.Runtime // contains filtered or unexported fields }
ProxyReconciler reconciles a Proxy object.
func NewProxyReconciler ¶
func NewProxyReconciler( c client.Client, proxyName string, replicaName string, apiServerAddr string, opts ...Option, ) *ProxyReconciler
NewProxyReconciler returns a new reconcile.Reconciler implementation for the Proxy resource.