route

package
v3.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const HostGeneratedAnnotationKey = "openshift.io/host.generated"

HostGeneratedAnnotationKey is the key for an annotation set to "true" if the route's host was generated

Variables

View Source
var StatusStrategy = routeStatusStrategy{NewStrategy(nil, nil)}

Functions

func DecorateLegacyRouteWithEmptyDestinationCACertificates

func DecorateLegacyRouteWithEmptyDestinationCACertificates(obj runtime.Object) error

DecorateLegacyRouteWithEmptyDestinationCACertificates is used for /oapi/v1 route endpoints to prevent legacy clients from seeing an empty destination CA certificate for reencrypt routes, which the 'route.openshift.io/v1' endpoint allows. These values are injected in REST responses and stripped in PrepareForCreate and PrepareForUpdate.

func NewStrategy added in v1.0.6

func NewStrategy(allocator route.RouteAllocator, sarClient SubjectAccessReviewInterface) routeStrategy

NewStrategy initializes the default logic that applies when creating and updating Route objects via the REST API.

Types

type SubjectAccessReviewInterface

type SubjectAccessReviewInterface interface {
	Create(sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error)
}

Registry is an interface for performing subject access reviews

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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