Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceValidator ¶
type ServiceValidator struct {
// contains filtered or unexported fields
}
func NewServiceValidator ¶
func NewServiceValidator(allowedCIDRs []string) (*ServiceValidator, error)
NewServiceValidator validates the input list if any and returns ServiceValidator with list of valid external IPNets
func (*ServiceValidator) InjectDecoder ¶
func (sv *ServiceValidator) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects decoder into ServiceValidator
Click to show internal directories.
Click to hide internal directories.