Documentation
¶
Index ¶
- func NewFeatureFlagSourceSpec(env types.EnvConfig) *api.FeatureFlagSourceSpec
- func NewInProcessConfigurationSpec(env types.EnvConfig) *api.InProcessConfigurationSpec
- func OpenFeatureEnabledAnnotationIndex(o client.Object) []string
- type FeatureFlagCustomValidator
- func (v *FeatureFlagCustomValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (v *FeatureFlagCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (v *FeatureFlagCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (v *FeatureFlagCustomValidator) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (warnings admission.Warnings, err error)
- type PodMutator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFeatureFlagSourceSpec ¶
func NewFeatureFlagSourceSpec(env types.EnvConfig) *api.FeatureFlagSourceSpec
func NewInProcessConfigurationSpec ¶
func NewInProcessConfigurationSpec(env types.EnvConfig) *api.InProcessConfigurationSpec
Types ¶
type FeatureFlagCustomValidator ¶
type FeatureFlagCustomValidator struct { }
func (*FeatureFlagCustomValidator) SetupWebhookWithManager ¶
func (v *FeatureFlagCustomValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*FeatureFlagCustomValidator) ValidateCreate ¶
func (v *FeatureFlagCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*FeatureFlagCustomValidator) ValidateDelete ¶
func (v *FeatureFlagCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*FeatureFlagCustomValidator) ValidateUpdate ¶
func (v *FeatureFlagCustomValidator) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (warnings admission.Warnings, err error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type PodMutator ¶
type PodMutator struct { Client client.Client Log logr.Logger FlagdProxyConfig *flagdproxy.FlagdProxyConfiguration FlagdInjector flagdinjector.IFlagdContainerInjector Env types.EnvConfig // contains filtered or unexported fields }
PodMutator annotates Pods
func (*PodMutator) BackfillPermissions ¶
func (m *PodMutator) BackfillPermissions(ctx context.Context) error
BackfillPermissions recovers the state of the flagd-kubernetes-sync role binding in the event of upgrade
func (*PodMutator) InjectDecoder ¶
func (m *PodMutator) InjectDecoder(d admission.Decoder) error
InjectDecoder injects the decoder.
Click to show internal directories.
Click to hide internal directories.