Documentation ¶
Index ¶
- func CreateImageAllowRule(ctx context.Context, c client.Client, image, choice string, ...) error
- func HandleNotAllowed(dangerous bool, image string) (string, error)
- func PromptRun(ctx context.Context, c client.Client, dangerous bool, image string, ...) (*apiv1.App, error)
- func PromptUpdate(ctx context.Context, c client.Client, dangerous bool, name string, ...) (*apiv1.App, error)
- type RuleRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateImageAllowRule ¶
Types ¶
type RuleRequest ¶
type RuleRequest struct { Service string Scope string Verbs string Resource string ResourceName string }
func ToRuleRequests ¶
func ToRuleRequests(perms []v1.Permissions) (result []RuleRequest)
Click to show internal directories.
Click to hide internal directories.