Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultConfigKey = "envoy.json"
)
View Source
const (
LabelXDSKind = "xds.pf9.io/kind"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigClient ¶
type ConfigClient interface { Get(ctx context.Context, ref apitypes.NamespacedName) (*bootstrapv3.Bootstrap, error) Set(ctx context.Context, ref apitypes.NamespacedName, cfg *bootstrapv3.Bootstrap) error }
type ConfigMapClient ¶
func NewConfigMapClient ¶
func NewConfigMapClient(client client.Client) *ConfigMapClient
func (*ConfigMapClient) Get ¶
func (c *ConfigMapClient) Get(ctx context.Context, ref apitypes.NamespacedName) (*bootstrapv3.Bootstrap, error)
func (*ConfigMapClient) Set ¶
func (c *ConfigMapClient) Set(ctx context.Context, ref apitypes.NamespacedName, cfg *bootstrapv3.Bootstrap) error
type ConfigMapReconciler ¶
type ConfigMapReconciler struct { Client client.Client Scheme *runtime.Scheme SnapshotCache cache.SnapshotCache ConfigClient ConfigClient }
func (*ConfigMapReconciler) SetupWithManager ¶
func (r *ConfigMapReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.