package
0.1.0
Repository: https://github.com/mattmoor/serving.git
Documentation: pkg.go.dev

# Functions

CreateCerts creates and returns a CA certificate and certificate and key for the server.
NewAdmissionController creates a new instance of the admission webhook controller.
SetDefaults simply leverages v1alpha1.Defaultable to set defaults.
Validate checks whether "new" and "old" implement HasImmutableFields and checks them, it then delegates validation to v1alpha1.Validatable on "new".

# Structs

AdmissionController implements the external admission webhook for validation of pilot configuration.
ControllerOptions contains the configuration for the webhook.
GenericCRDHandler defines the factory object to use for unmarshaling incoming objects.

# Interfaces

GenericCRD is the interface definition that allows us to perform the generic CRD actions like deciding whether to increment generation and so forth.

# Type aliases

ResourceCallback defines a signature for resource specific (Route, Configuration, etc.) handlers that can validate and mutate an object.
ResourceDefaulter defines a signature for resource specific (Route, Configuration, etc.) handlers that can set defaults on an object.