route

package
v0.0.0-...-5152f1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRouteCustomHostSAR

func CheckRouteCustomHostSAR(ctx context.Context, fldPath *field.Path, sarc SubjectAccessReviewCreator) field.ErrorList

CheckRouteCustomHostSAR checks if user has permission to create and update routes/custom-host sub-resource

Types

type RouteValidationOptions

type RouteValidationOptions struct {

	// AllowExternalCertificates option is set when the RouteExternalCertificate
	// feature gate is enabled.
	AllowExternalCertificates bool
}

RouteValidationOptions used to tweak how/what fields are validated. These options are propagated by the apiserver.

type SubjectAccessReviewCreator

type SubjectAccessReviewCreator interface {
	Create(ctx context.Context, sar *authorizationv1.SubjectAccessReview, opts metav1.CreateOptions) (*authorizationv1.SubjectAccessReview, error)
}

SubjectAccessReviewCreator is an interface for performing subject access reviews

Directories

Path Synopsis
Package routeapihelpers contains utilities for handling OpenShift route objects.
Package routeapihelpers contains utilities for handling OpenShift route objects.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL