Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrafficWebhookHandler ¶
type TrafficWebhookHandler[T runtime.Object] struct { // Creates a new traffic object. Example, an empty *Ingress NewObj func() T // Creates a traffic accessor for the given traffic object NewAccessor func(T) trafficapi.Interface HostService trafficctrl.HostService CertService trafficctrl.CertificateService // contains filtered or unexported fields }
TrafficWebhookHandler implements the admission Handler interface with the generic logic to handle requests for an object that can be wrapped around the traffic interface
func NewTrafficWebhookHandler ¶
func NewTrafficWebhookHandler[T runtime.Object]( addToScheme func(s *runtime.Scheme) error, newObj func() T, newAccessor func(T) trafficapi.Interface, hostService trafficctrl.HostService, certService trafficctrl.CertificateService, ) (*TrafficWebhookHandler[T], error)
Click to show internal directories.
Click to hide internal directories.