Documentation
¶
Index ¶
- func Handler(allowIngressHostnamesCollision bool) capsulewebhook.Handler
- func NewIngressClassForbidden(className string, spec v1alpha1.AllowedListSpec) error
- func NewIngressClassNotValid(spec v1alpha1.AllowedListSpec) error
- func NewIngressHostnameCollision(hostname string) error
- func NewIngressHostnamesNotValid(invalidHostnames []string, notMatchingHostnames []string, ...) error
- func Webhook(handler capsulewebhook.Handler) capsulewebhook.Webhook
- type Extension
- type Ingress
- type NetworkingV1
- type NetworkingV1Beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(allowIngressHostnamesCollision bool) capsulewebhook.Handler
func NewIngressClassForbidden ¶
func NewIngressClassForbidden(className string, spec v1alpha1.AllowedListSpec) error
func NewIngressClassNotValid ¶
func NewIngressClassNotValid(spec v1alpha1.AllowedListSpec) error
func NewIngressHostnameCollision ¶ added in v0.0.5
func NewIngressHostnamesNotValid ¶ added in v0.0.4
func NewIngressHostnamesNotValid(invalidHostnames []string, notMatchingHostnames []string, spec v1alpha1.AllowedListSpec) error
func Webhook ¶
func Webhook(handler capsulewebhook.Handler) capsulewebhook.Webhook
Types ¶
type Extension ¶
type Extension struct {
*extensionsv1beta1.Ingress
}
func (Extension) IngressClass ¶
type NetworkingV1 ¶ added in v0.0.2
type NetworkingV1 struct {
*networkingv1.Ingress
}
func (NetworkingV1) Hostnames ¶ added in v0.0.4
func (n NetworkingV1) Hostnames() []string
func (NetworkingV1) IngressClass ¶ added in v0.0.2
func (n NetworkingV1) IngressClass() (res *string)
func (NetworkingV1) Name ¶ added in v0.0.5
func (n NetworkingV1) Name() string
func (NetworkingV1) Namespace ¶ added in v0.0.2
func (n NetworkingV1) Namespace() string
type NetworkingV1Beta1 ¶ added in v0.0.2
type NetworkingV1Beta1 struct {
*networkingv1beta.Ingress
}
func (NetworkingV1Beta1) Hostnames ¶ added in v0.0.4
func (n NetworkingV1Beta1) Hostnames() []string
func (NetworkingV1Beta1) IngressClass ¶ added in v0.0.2
func (n NetworkingV1Beta1) IngressClass() (res *string)
func (NetworkingV1Beta1) Name ¶ added in v0.0.5
func (n NetworkingV1Beta1) Name() string
func (NetworkingV1Beta1) Namespace ¶ added in v0.0.2
func (n NetworkingV1Beta1) Namespace() string
Click to show internal directories.
Click to hide internal directories.