Documentation ¶
Index ¶
Constants ¶
View Source
const ( NotValidated ValidationResult = -1 OK = iota FailedWithNotFound FailedWithInvalidPort )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
Validate(name, namespace string, portNameOrNumber intstr.IntOrString) (ValidationResult, error)
}
type PortValidator ¶
type PortValidator func(port *k8sCore.ServicePort) bool
type ValidationResult ¶
type ValidationResult int
Click to show internal directories.
Click to hide internal directories.