Documentation
¶
Index ¶
- func RegisterSecretGeneratingHandler(ctx context.Context, controller SecretController, apply apply.Apply, ...)
- func RegisterSecretStatusHandler(ctx context.Context, controller SecretController, condition condition.Cond, ...)
- type Interface
- type ProfileCache
- type ProfileClient
- type ProfileController
- type SecretCache
- type SecretClient
- type SecretController
- type SecretGeneratingHandler
- type SecretStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSecretGeneratingHandler ¶
func RegisterSecretGeneratingHandler(ctx context.Context, controller SecretController, apply apply.Apply, condition condition.Cond, name string, handler SecretGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterSecretGeneratingHandler configures a SecretController to execute a SecretGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterSecretStatusHandler ¶
func RegisterSecretStatusHandler(ctx context.Context, controller SecretController, condition condition.Cond, name string, handler SecretStatusHandler)
RegisterSecretStatusHandler configures a SecretController to execute a SecretStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
Types ¶
type Interface ¶
type Interface interface { Profile() ProfileController Secret() SecretController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type ProfileCache ¶
type ProfileCache interface { generic.CacheInterface[*v1alpha2.Profile] }
ProfileCache interface for retrieving Profile resources in memory.
type ProfileClient ¶
type ProfileClient interface { generic.ClientInterface[*v1alpha2.Profile, *v1alpha2.ProfileList] }
ProfileClient interface for managing Profile resources in Kubernetes.
type ProfileController ¶
type ProfileController interface { generic.ControllerInterface[*v1alpha2.Profile, *v1alpha2.ProfileList] }
ProfileController interface for managing Profile resources.
type SecretCache ¶
type SecretCache interface { generic.CacheInterface[*v1alpha2.Secret] }
SecretCache interface for retrieving Secret resources in memory.
type SecretClient ¶
type SecretClient interface { generic.ClientInterface[*v1alpha2.Secret, *v1alpha2.SecretList] }
SecretClient interface for managing Secret resources in Kubernetes.
type SecretController ¶
type SecretController interface { generic.ControllerInterface[*v1alpha2.Secret, *v1alpha2.SecretList] }
SecretController interface for managing Secret resources.
type SecretGeneratingHandler ¶
type SecretGeneratingHandler func(obj *v1alpha2.Secret, status v1alpha2.SecretStatus) ([]runtime.Object, v1alpha2.SecretStatus, error)
SecretGeneratingHandler is the top-level handler that is executed for every Secret event. It extends SecretStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type SecretStatusHandler ¶
type SecretStatusHandler func(obj *v1alpha2.Secret, status v1alpha2.SecretStatus) (v1alpha2.SecretStatus, error)
SecretStatusHandler is executed for every added or modified Secret. Should return the new status to be updated