package
0.0.0-20180802170537-c1e9219ceee1
Repository: https://github.com/scothis/pkg.git
Documentation: pkg.go.dev
# Functions
CreateCerts creates and returns a CA certificate and certificate and key for the server.
SetDefaults simply leverages apis.Defaultable to set defaults.
Validate checks whether "new" and "old" implement HasImmutableFields and checks them, it then delegates validation to apis.Validatable on "new".
# Structs
AdmissionController implements the external admission webhook for validation of pilot configuration.
ControllerOptions contains the configuration for the webhook.
# 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.