Documentation
¶
Index ¶
- func DefaultCluster(ctx context.Context, _ client.Client, obj runtime.Object) error
- func DefaultOrganization(_ context.Context, _ client.Client, o runtime.Object) error
- func DefaultPlugin(ctx context.Context, c client.Client, obj runtime.Object) error
- func DefaultPluginDefinition(_ context.Context, _ client.Client, _ runtime.Object) error
- func DefaultPluginPreset(_ context.Context, _ client.Client, o runtime.Object) error
- func DefaultRole(_ context.Context, _ client.Client, _ runtime.Object) error
- func DefaultRoleBinding(_ context.Context, _ client.Client, _ runtime.Object) error
- func DefaultSecret(_ context.Context, _ client.Client, _ runtime.Object) error
- func DefaultTeam(_ context.Context, _ client.Client, _ runtime.Object) error
- func SetupClusterWebhookWithManager(mgr ctrl.Manager) error
- func SetupOrganizationWebhookWithManager(mgr ctrl.Manager) error
- func SetupPluginDefinitionWebhookWithManager(mgr ctrl.Manager) error
- func SetupPluginPresetWebhookWithManager(mgr ctrl.Manager) error
- func SetupPluginWebhookWithManager(mgr ctrl.Manager) error
- func SetupSecretWebhookWithManager(mgr ctrl.Manager) error
- func SetupTeamRoleBindingWebhookWithManager(mgr ctrl.Manager) error
- func SetupTeamRoleWebhookWithManager(mgr ctrl.Manager) error
- func SetupTeamWebhookWithManager(mgr ctrl.Manager) error
- func ValidateCreateCluster(ctx context.Context, _ client.Client, obj runtime.Object) (admission.Warnings, error)
- func ValidateCreateOrganization(_ context.Context, _ client.Client, obj runtime.Object) (admission.Warnings, error)
- func ValidateCreatePlugin(ctx context.Context, c client.Client, obj runtime.Object) (admission.Warnings, error)
- func ValidateCreatePluginDefinition(_ context.Context, _ client.Client, o runtime.Object) (admission.Warnings, error)
- func ValidateCreatePluginPreset(ctx context.Context, c client.Client, o runtime.Object) (admission.Warnings, error)
- func ValidateCreateRole(_ context.Context, c client.Client, o runtime.Object) (admission.Warnings, error)
- func ValidateCreateRoleBinding(ctx context.Context, c client.Client, o runtime.Object) (admission.Warnings, error)
- func ValidateCreateSecret(ctx context.Context, _ client.Client, o runtime.Object) (admission.Warnings, error)
- func ValidateCreateTeam(ctx context.Context, c client.Client, o runtime.Object) (admission.Warnings, error)
- func ValidateDeleteCluster(ctx context.Context, _ client.Client, obj runtime.Object) (admission.Warnings, error)
- func ValidateDeleteOrganization(_ context.Context, _ client.Client, _ runtime.Object) (admission.Warnings, error)
- func ValidateDeletePlugin(_ context.Context, _ client.Client, _ runtime.Object) (admission.Warnings, error)
- func ValidateDeletePluginDefinition(ctx context.Context, c client.Client, o runtime.Object) (admission.Warnings, error)
- func ValidateDeletePluginPreset(_ context.Context, _ client.Client, obj runtime.Object) (admission.Warnings, error)
- func ValidateDeleteRole(ctx context.Context, c client.Client, o runtime.Object) (admission.Warnings, error)
- func ValidateDeleteRoleBinding(_ context.Context, _ client.Client, _ runtime.Object) (admission.Warnings, error)
- func ValidateDeleteSecret(_ context.Context, _ client.Client, _ runtime.Object) (admission.Warnings, error)
- func ValidateDeleteTeam(_ context.Context, _ client.Client, _ runtime.Object) (admission.Warnings, error)
- func ValidateUpdateCluster(ctx context.Context, _ client.Client, _, currObj runtime.Object) (admission.Warnings, error)
- func ValidateUpdateOrganization(_ context.Context, _ client.Client, _, newObj runtime.Object) (admission.Warnings, error)
- func ValidateUpdatePlugin(ctx context.Context, c client.Client, old, obj runtime.Object) (admission.Warnings, error)
- func ValidateUpdatePluginDefinition(_ context.Context, _ client.Client, _, o runtime.Object) (admission.Warnings, error)
- func ValidateUpdatePluginPreset(ctx context.Context, c client.Client, oldObj, curObj runtime.Object) (admission.Warnings, error)
- func ValidateUpdateRole(_ context.Context, c client.Client, _, o runtime.Object) (admission.Warnings, error)
- func ValidateUpdateRoleBinding(ctx context.Context, c client.Client, old, cur runtime.Object) (admission.Warnings, error)
- func ValidateUpdateSecret(ctx context.Context, _ client.Client, _, o runtime.Object) (admission.Warnings, error)
- func ValidateUpdateTeam(ctx context.Context, c client.Client, _, o runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultCluster ¶
func DefaultOrganization ¶
func DefaultPlugin ¶
func DefaultPluginDefinition ¶
func DefaultPluginPreset ¶
func DefaultRoleBinding ¶
func SetupPluginWebhookWithManager ¶
SetupPluginWebhookWithManager configures the webhook for the Plugin custom resource.
func ValidateCreateCluster ¶
func ValidateCreateCluster(ctx context.Context, _ client.Client, obj runtime.Object) (admission.Warnings, error)
ValidateCreateCluster disallows creating clusters with deletionMarked or deletionSchedule annotations
func ValidateCreatePlugin ¶
func ValidateCreateRole ¶
func ValidateCreateSecret ¶
func ValidateCreateTeam ¶
func ValidateDeleteCluster ¶
func ValidateDeleteCluster(ctx context.Context, _ client.Client, obj runtime.Object) (admission.Warnings, error)
ValidateDeleteCluster only allows deletion requests for clusters with a deletion schedule timestamp past now.
func ValidateDeletePlugin ¶
func ValidateDeleteRole ¶
func ValidateDeleteSecret ¶
func ValidateDeleteTeam ¶
func ValidateUpdateCluster ¶
func ValidateUpdateCluster(ctx context.Context, _ client.Client, _, currObj runtime.Object) (admission.Warnings, error)
ValidateUpdateCluster disallows cluster updates with invalid deletion schedules
func ValidateUpdatePlugin ¶
func ValidateUpdateRole ¶
func ValidateUpdateSecret ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.